<?php

/* @ui/type.twig */
class __TwigTemplate_e9a79e2032655f9f40555a5442a401d89c9e8c545b655f17377acb5cfd55f9b9 extends 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 39
        echo "
";
        // line 52
        echo "
";
        // line 82
        echo "
";
        // line 115
        echo "
";
        // line 158
        echo "
";
    }

    // line 1
    public function getlist_view($_entities = null, $_sliderSettings = null, $_galleryId = null)
    {
        $context = $this->env->mergeGlobals(array(
            "entities" => $_entities,
            "sliderSettings" => $_sliderSettings,
            "galleryId" => $_galleryId,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 2
            echo "    ";
            $context["view"] = $this;
            // line 3
            echo "    ";
            ob_start();
            // line 4
            echo "    <tr class=\"ui-jqgrid-labels-custom\" role=\"rowheader\">
        <th scope=\"col\" id=\"check-all\" class=\"ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id\">
            <input type=\"checkbox\" id=\"checkAll\" class=\"gg-checkbox\">
        </th>
        <th scope=\"col\" id=\"icon\" class=\"ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id\">
            ";
            // line 9
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Image")), "html", null, true);
            echo "
        </th>
        <th scope=\"col\" id=\"title\" class=\"ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id\">
            ";
            // line 12
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Properties")), "html", null, true);
            echo "
        </th>
        <th scope=\"col\" id=\"date\" class=\"ui-state-default ui-th-column ui-th-ltr jqgh_ui-jqgrid-htable_id\">
            ";
            // line 15
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Date")), "html", null, true);
            echo "
        </th>
    </tr>
    ";
            $context["head"] = ('' === $tmp = ob_get_clean()) ? '' : new Twig_Markup($tmp, $this->env->getCharset());
            // line 19
            echo "
    <table id=\"ui-jqgrid-htable-img\" class=\"ui-jqgrid-htable\" style=\"margin: 7px 0 7px -5px; width: 100%;\">
        <thead class=\"jqgrid-head-nav\">
        ";
            // line 22
            echo twig_escape_filter($this->env, (isset($context["head"]) ? $context["head"] : null), "html", null, true);
            echo "
        </thead>
        <tfoot>
        ";
            // line 25
            echo twig_escape_filter($this->env, (isset($context["head"]) ? $context["head"] : null), "html", null, true);
            echo "
        </tfoot>
        <tbody id=\"the-list\" data-sortable data-container=\"list\">
        ";
            // line 28
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(twig_template_get_attributes($this, (isset($context["entities"]) ? $context["entities"] : null), "folders"));
            foreach ($context['_seq'] as $context["_key"] => $context["folder"]) {
                // line 29
                echo "            ";
                echo $context["view"]->getlist_folder((isset($context["folder"]) ? $context["folder"] : null));
                echo "
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['folder'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 31
            echo "        ";
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(twig_template_get_attributes($this, (isset($context["entities"]) ? $context["entities"] : null), "images"));
            $context['_iterated'] = false;
            foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
                // line 32
                echo "            ";
                echo $context["view"]->getlist_image((isset($context["image"]) ? $context["image"] : null), (isset($context["sliderSettings"]) ? $context["sliderSettings"] : null), (isset($context["galleryId"]) ? $context["galleryId"] : null));
                echo "
        ";
                $context['_iterated'] = true;
            }
            if (!$context['_iterated']) {
                // line 34
                echo "            ";
                // line 35
                echo "        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 36
            echo "        </tbody>
    </table>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    // line 40
    public function getblock_view($_entities = null)
    {
        $context = $this->env->mergeGlobals(array(
            "entities" => $_entities,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 41
            echo "    ";
            $context["view"] = $this;
            // line 42
            echo "    <ul class=\"sg-photos\" data-sortable data-container=\"block\">
        ";
            // line 43
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(twig_template_get_attributes($this, (isset($context["entities"]) ? $context["entities"] : null), "folders"));
            foreach ($context['_seq'] as $context["_key"] => $context["folder"]) {
                // line 44
                echo "            ";
                echo $context["view"]->getblock_folder((isset($context["folder"]) ? $context["folder"] : null));
                echo "
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['folder'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 46
            echo "
        ";
            // line 47
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable(twig_template_get_attributes($this, (isset($context["entities"]) ? $context["entities"] : null), "images"));
            foreach ($context['_seq'] as $context["_key"] => $context["image"]) {
                // line 48
                echo "            ";
                echo $context["view"]->getblock_image((isset($context["image"]) ? $context["image"] : null));
                echo "
        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['_key'], $context['image'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 50
            echo "    </ul>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    // line 53
    public function getblock_folder($_folder = null)
    {
        $context = $this->env->mergeGlobals(array(
            "folder" => $_folder,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 54
            echo "    <li data-droppable class=\"gg-list-item\" data-entity data-entity-id=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "html", null, true);
            echo "\" data-entity-type=\"folder\"
        data-entity-info=\"";
            // line 55
            echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["folder"]) ? $context["folder"] : null)), "html", null, true);
            echo "\">
        <div class=\"gg-item\" style=\"z-index: 0;\">
            <div class=\"gg-check\">
                <input type=\"checkbox\" class=\"gg-checkbox\" data-observable>
            </div>
            <a href=\"";
            // line 60
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "generateUrl", array(0 => "photos", 1 => "view", 2 => array("folder_id" => twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "view" => "block")), "method"), "html", null, true);
            echo "\">
                <img src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAADIAQMAAAAwS4omAAAAA1BMVEXk5+pYcSvrAAAAG0lEQVRIie3BMQEAAADCoPVPbQwfoAAAAIC3AQ+gAAEq5xQCAAAAAElFTkSuQmCC\"
                     alt=\"\" width=\"150\" height=\"150\"/>

                <div style=\"position: absolute; top: 55px; left: 55px; color: #bdc3c7;\">
                    <i class=\"fa fa-folder-open-o\" style=\"font-size: 5em;\"></i>
                </div>

                <div class=\"gg-folder-photos\">
                    <i class=\"fa fa-picture-o\"></i> <span class=\"gg-folder-photos-num\">";
            // line 69
            echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "photos")), "html", null, true);
            echo "</span>
                </div>
            </a>

            <p>
                <span class=\"folder-title\">";
            // line 74
            echo twig_escape_filter($this->env, twig_title_string_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "title")), "html", null, true);
            echo "</span>
                <small>
                    ";
            // line 76
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "date"), "html", null, true);
            echo "
                </small>
            </p>
        </div>
    </li>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    // line 83
    public function getblock_image($_image = null)
    {
        $context = $this->env->mergeGlobals(array(
            "image" => $_image,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 84
            echo "    <li class=\"gg-list-item\" data-entity data-entity-id=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" data-entity-type=\"photo\"
        data-entity-info=\"";
            // line 85
            echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["image"]) ? $context["image"] : null)), "html", null, true);
            echo "\">
        <div class=\"gg-item\" style=\"z-index: 10;\">
            <div class=\"gg-check\">
                <input type=\"checkbox\" class=\"gg-checkbox\" data-observable>
            </div>
            <a data-colorbox href=\"";
            // line 90
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "full"), "url"), "html", null, true);
            echo "\">
                ";
            // line 91
            if (twig_test_empty(twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "thumbnail"))) {
                // line 92
                echo "                    ";
                $context["src"] = twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "full"), "url");
                // line 93
                echo "                    ";
                if ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "orientation") == "landscape")) {
                    // line 94
                    echo "                        ";
                    $context["sizes"] = array("width" => 80, "height" => 60);
                    // line 95
                    echo "                    ";
                } else {
                    // line 96
                    echo "                        ";
                    $context["sizes"] = array("width" => 60, "height" => 80);
                    // line 97
                    echo "                    ";
                }
                // line 98
                echo "                ";
            } else {
                // line 99
                echo "                    ";
                $context["src"] = twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "thumbnail"), "url");
                // line 100
                echo "                    ";
                $context["sizes"] = array("width" => 60, "height" => 60);
                // line 101
                echo "                ";
            }
            // line 102
            echo "                <img class=\"supsystic-lazy\" data-original=\"";
            echo twig_escape_filter($this->env, (isset($context["src"]) ? $context["src"] : null), "html", null, true);
            echo "\" alt=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title"), "html", null, true);
            echo "\" width=\"150\"
                     style=\"min-height:150px;max-height:150px;\"/>
            </a>

            <p title=\"";
            // line 106
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title"), "html", null, true);
            echo "\">
                ";
            // line 107
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title"), "html", null, true);
            echo "
                <small>
                    ";
            // line 109
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "dateFormatted"), "html", null, true);
            echo "
                </small>
            </p>
        </div>
    </li>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    // line 116
    public function getlist_folder($_folder = null)
    {
        $context = $this->env->mergeGlobals(array(
            "folder" => $_folder,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 117
            echo "    <tr data-droppable data-entity data-entity-id=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "html", null, true);
            echo "\" data-entity-type=\"folder\"
        data-entity-info=\"";
            // line 118
            echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["folder"]) ? $context["folder"] : null)), "html", null, true);
            echo "\">
        <th scope=\"row\" class=\"check-column\">
            <label class=\"screen-reader-text\"
                   for=\"cb-select-";
            // line 121
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, sprintf(call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Select %s")), twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "title")), "html", null, true);
            echo "</label>
            <input type=\"checkbox\" name=\"folder[]\" id=\"cb-select-";
            // line 122
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "html", null, true);
            echo "\" value=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "html", null, true);
            echo "\"
                   data-observable>
        </th>
        <td class=\"column-icon media-icon\" style=\"position: relative;\">
            <a href=\"";
            // line 126
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "generateUrl", array(0 => "photos", 1 => "view", 2 => array("folder_id" => twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "view" => "list")), "method"), "html", null, true);
            echo "\"
               data-colorbox>
                <img width=\"60\" height=\"60\"
                     src=\"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAJYAAADIAQMAAAAwS4omAAAAA1BMVEXk5+pYcSvrAAAAG0lEQVRIie3BMQEAAADCoPVPbQwfoAAAAIC3AQ+gAAEq5xQCAAAAAElFTkSuQmCC\"
                     class=\"attachment-80x60 supsystic-lazy\" alt=\"";
            // line 130
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "title"), "html", null, true);
            echo "\">
            </a>

            <div style=\"position: absolute; top: 20px; left: 31px; color: #bdc3c7; z-index: 100;\">
                <i class=\"fa fa-folder-open-o\" style=\"font-size: 3em;\"></i>
            </div>
        </td>
        <td class=\"title column-title\">
            <strong>
                <a href=\"";
            // line 139
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "generateUrl", array(0 => "photos", 1 => "view", 2 => array("folder_id" => twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "id"), "view" => "list")), "method"), "html", null, true);
            echo "\">
                    <span class=\"folder-title\">";
            // line 140
            echo twig_title_string_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "title"));
            echo "</span>
                </a>
            </strong>

            <p>
                <span class=\"gg-folder-photos-num\">
                    ";
            // line 146
            echo twig_escape_filter($this->env, twig_length_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "photos")), "html", null, true);
            echo "
                </span>
                ";
            // line 148
            if ((twig_length_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "photos")) == 1)) {
                // line 149
                echo "                    ";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("photo")), "html", null, true);
                echo "
                ";
            } else {
                // line 151
                echo "                    ";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("photos")), "html", null, true);
                echo "
                ";
            }
            // line 153
            echo "            </p>
        </td>
        <td class=\"date column-date\">";
            // line 155
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["folder"]) ? $context["folder"] : null), "date"), "html", null, true);
            echo "</td>
    </tr>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    // line 159
    public function getlist_image($_image = null, $_sliderSettings = null, $_galleryId = null)
    {
        $context = $this->env->mergeGlobals(array(
            "image" => $_image,
            "sliderSettings" => $_sliderSettings,
            "galleryId" => $_galleryId,
        ));

        $blocks = array();

        ob_start();
        try {
            // line 160
            echo "    ";
            $context["nonProMsg"] = "Available in PRO";
            // line 161
            echo "    <tr data-entity data-entity-id=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" data-settings=\"";
            echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["sliderSettings"]) ? $context["sliderSettings"] : null)), "html", null, true);
            echo "\" data-entity-type=\"photo\" data-entity-info=\"";
            echo twig_escape_filter($this->env, twig_jsonencode_filter((isset($context["image"]) ? $context["image"] : null)), "html", null, true);
            echo "\">
        <th scope=\"row\" class=\"check-column\">
            <label class=\"screen-reader-text\"
                   for=\"cb-select-";
            // line 164
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, sprintf(call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Select %s")), twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title")), "html", null, true);
            echo "</label>
            <input type=\"checkbox\" name=\"image[]\" id=\"cb-select-";
            // line 165
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" value=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" data-observable>
        </th>
        <td class=\"column-icon media-icon\">
            <a href=\"";
            // line 168
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "full"), "url"), "html", null, true);
            echo "\" data-colorbox>
                ";
            // line 169
            if (twig_test_empty(twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "thumbnail"))) {
                // line 170
                echo "                    ";
                $context["src"] = twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "full"), "url");
                // line 171
                echo "                    ";
                if ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "orientation") == "landscape")) {
                    // line 172
                    echo "                        ";
                    $context["sizes"] = array("width" => 80, "height" => 60);
                    // line 173
                    echo "                    ";
                } else {
                    // line 174
                    echo "                        ";
                    $context["sizes"] = array("width" => 60, "height" => 80);
                    // line 175
                    echo "                    ";
                }
                // line 176
                echo "                ";
            } else {
                // line 177
                echo "                    ";
                $context["src"] = twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "sizes"), "thumbnail"), "url");
                // line 178
                echo "                    ";
                $context["sizes"] = array("width" => 60, "height" => 60);
                // line 179
                echo "                ";
            }
            // line 180
            echo "                <img width=\"75\" height=\"75\" data-original=\"";
            echo twig_escape_filter($this->env, (isset($context["src"]) ? $context["src"] : null), "html", null, true);
            echo "\"
                     class=\"attachment-thumbnail supsystic-lazy\" alt=\"";
            // line 181
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title"), "html", null, true);
            echo "\">
            </a>
        </td>
        <td class=\"title column-title\">
            <form id=\"photo-editor-";
            // line 185
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"photo-editor attachment-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "id"), "html", null, true);
            echo "\">
                <strong data-tabcontent=\".tabcontent-";
            // line 186
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\">
                    <a href=\"#photo-caption-";
            // line 187
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button active\">
                        ";
            // line 188
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Caption")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-captionEffect-";
            // line 190
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 191
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Caption effect")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-seo-";
            // line 193
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 194
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("SEO")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-link-";
            // line 196
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 197
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Link")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-video-";
            // line 199
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 200
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Video")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-tags-";
            // line 202
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 203
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Categories")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-linked-images-";
            // line 205
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 206
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Linked images")), "html", null, true);
            echo "
                    </a>
                    <a href=\"#photo-crop-";
            // line 208
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"add-new-h2 button\">
                        ";
            // line 209
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Crop")), "html", null, true);
            echo "
                    </a>
                    <a data-image-id=\"";
            // line 211
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" data-attachment-id=\"";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "id"), "html", null, true);
            echo "\"
                       class=\"add-new-h2 button replace-image\">
                        ";
            // line 213
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Replace image")), "html", null, true);
            echo "
                    </a>
                </strong>

                <p id=\"photo-caption-";
            // line 217
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\">
                    <input type=\"text\" name=\"caption\" value=\"";
            // line 218
            echo twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "caption");
            echo "\"
                           placeholder=\"";
            // line 219
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Caption")), "html", null, true);
            echo "\"/>
                </p>

                <p id=\"photo-captionEffect-";
            // line 222
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display:none;\">
                    <button class=\"button selectCaptionEffectBtn\" data-id=\"";
            // line 223
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "id"), "html", null, true);
            echo "\" title=\"";
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose effect")), "html", null, true);
            echo "\">";
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose effect")), "html", null, true);
            echo "</button>
                    <input type=\"text\" class=\"captionEffectVal\" name=\"captionEffect\" data-id=\"";
            // line 224
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "id"), "html", null, true);
            echo "\" value=\"";
            echo twig_escape_filter($this->env, ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "captionEffect", array(), "any", true, true)) ? (_twig_default_filter(twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "captionEffect"), twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["sliderSettings"]) ? $context["sliderSettings"] : null), "thumbnail"), "overlay"), "effect"))) : (twig_template_get_attributes($this, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["sliderSettings"]) ? $context["sliderSettings"] : null), "thumbnail"), "overlay"), "effect"))), "html", null, true);
            echo "\" style=\"display: none;\" />
                </p>

                <p id=\"photo-seo-";
            // line 227
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display: none\">
                    <input type=\"text\" name=\"description\" value=\"";
            // line 228
            echo twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "description");
            echo "\"
                           style=\"width: 40%;\"
                           placeholder=\"";
            // line 230
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Description")), "html", null, true);
            echo "\"/>
                    <input type=\"text\" name=\"alt\" value=\"";
            // line 231
            if ((!twig_test_empty(twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "alt")))) {
                if ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "alt") == " ")) {
                    echo "";
                } else {
                    echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "alt"), "html", null, true);
                }
            } else {
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "title"), "html", null, true);
            }
            echo "\"
                           style=\"width: 40%;\"
                           placeholder=\"";
            // line 233
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Alternative text")), "html", null, true);
            echo "\"/>
                </p>

                <p id=\"photo-link-";
            // line 236
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display: none\">
                    <input
                            type=\"text\"
                            name=\"link\"
                            value=\"";
            // line 240
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "external_link"), "html", null, true);
            echo "\"
                            style=\"width: 50%;\"
                            placeholder=\"";
            // line 242
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("http://example.com/")), "html", null, true);
            echo "\"
                            />
                    <label style=\"border: 1px solid #9D9D9D;padding: 5px;\">
                        <input
                                type=\"checkbox\"
                                name=\"target\"
                                value=\"_blank\"
                                ";
            // line 249
            if ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "target") == "_blank")) {
                // line 250
                echo "                                    checked=\"checked\"
                                ";
            }
            // line 252
            echo "                                />
                        ";
            // line 253
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Open in new window")), "html", null, true);
            echo "
                    </label>
                    <label style=\"border: 1px solid #9D9D9D;padding: 5px; margin-left: 5px;\">
                        <input
                                type=\"checkbox\"
                                name=\"rel\"
                                value=\"nofollow\"
                                ";
            // line 260
            if ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "rel") == "nofollow")) {
                // line 261
                echo "                                    checked=\"checked\"
                                ";
            }
            // line 263
            echo "                                />
                        ";
            // line 264
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Add nofollow attribute")), "html", null, true);
            echo "
                    </label>
                </p>

                <p id=\"photo-video-";
            // line 268
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display: none; width: 350px;\">
                    <input
                            type=\"text\"
                            ";
            // line 271
            if (twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "isPro", array(), "method")) {
                // line 272
                echo "                                name=\"video\"
                                value=\"";
                // line 273
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "video"), "html", null, true);
                echo "\"
                            ";
            } else {
                // line 275
                echo "                                disabled=\"disabled\"
                                style=\"width: 200px;\"
                            ";
            }
            // line 278
            echo "                            placeholder=\"";
            echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Video URL")), "html", null, true);
            echo "\"
                            >
                    ";
            // line 280
            if ((twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "isPro", array(), "method") == false)) {
                // line 281
                echo "                        <span style=\"color:red\" class=\"description\">
                            <a href=\"http://supsystic.com/plugins/photo-gallery?utm_source=plugin&utm_medium=video&utm_campaign=gallery\" target=\"_blank\">
                                ";
                // line 283
                echo (isset($context["nonProMsg"]) ? $context["nonProMsg"] : null);
                echo "
                            </a>
                        </span>
                    ";
            }
            // line 287
            echo "                </p>

                <p id=\"photo-tags-";
            // line 289
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display:none;\">
                    ";
            // line 290
            if ((twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "isPro", array(), "method") == false)) {
                // line 291
                echo "                        <input type=\"text\" style=\"width: 60%; margin-left:4px;\" disabled placeholder=\"Categories\">
                        <span style=\"color:red\" class=\"description\">
                            <a href=\"http://supsystic.com/plugins/photo-gallery?utm_source=plugin&utm_medium=imagescategories&utm_campaign=gallery\" target=\"_blank\">
                                ";
                // line 294
                echo (isset($context["nonProMsg"]) ? $context["nonProMsg"] : null);
                echo "
                            </a>
                        </span>
                    ";
            } else {
                // line 298
                echo "                        <input type=\"text\" class=\"gg-tags\" id=\"tags-";
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
                echo "\" data-id=\"";
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
                echo "\"
                               value=\"";
                // line 299
                echo twig_join_filter(twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "tags"), ",");
                echo "\">
                    ";
            }
            // line 301
            echo "                </p>

                <p id=\"photo-linked-images-";
            // line 303
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display:none;\">
                    ";
            // line 304
            if ((twig_template_get_attributes($this, (isset($context["environment"]) ? $context["environment"] : null), "isPro", array(), "method") == false)) {
                // line 305
                echo "                        <button class=\"button disabled\" disabled>";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose images")), "html", null, true);
                echo "</button>
                        <span style=\"color:red\" class=\"description\">
                            <a href=\"http://supsystic.com/plugins/photo-gallery?utm_source=plugin&utm_medium=linked_images&utm_campaign=gallery\" target=\"_blank\">
                                ";
                // line 308
                echo (isset($context["nonProMsg"]) ? $context["nonProMsg"] : null);
                echo "
                            </a>
                        </span>
                    ";
            } else {
                // line 312
                echo "                        <button class=\"button selectLinkedImages\" data-id=\"";
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
                echo "\" title=\"";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose images")), "html", null, true);
                echo "\">";
                echo twig_escape_filter($this->env, call_user_func_array($this->env->getFunction('translate')->getCallable(), array("Choose images")), "html", null, true);
                echo "</button>
                        <input type=\"text\" name=\"linkedImages\" data-id=\"";
                // line 313
                echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
                echo "\" value=\"";
                echo twig_escape_filter($this->env, ((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "linkedImages", array(), "any", true, true)) ? (_twig_default_filter(twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "linkedImages"), "")) : ("")), "html", null, true);
                echo "\" style=\"display: none;\" />
                    ";
            }
            // line 315
            echo "                </p>

                <p id=\"photo-crop-";
            // line 317
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" class=\"tabcontent-";
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" style=\"display:none; margin: 0;\">
                    <label style=\"margin-left: 5px;\">Image crop position: </label>
                    ";
            // line 319
            $context["cropPositionList"] = array("left-top" => "Top Left", "center-top" => "Top Center", "right-top" => "Top Right", "left-center" => "Center Left", "center-center" => "Center Center", "right-center" => "Center Right", "left-bottom" => "Bottom Left", "center-bottom" => "Bottom Center", "right-bottom" => "Bottom Right");
            // line 330
            echo "                    <select name=\"cropPosition\">
                        ";
            // line 331
            $context['_parent'] = (array) $context;
            $context['_seq'] = twig_ensure_traversable((isset($context["cropPositionList"]) ? $context["cropPositionList"] : null));
            foreach ($context['_seq'] as $context["value"] => $context["title"]) {
                // line 332
                echo "                            <option value=\"";
                echo twig_escape_filter($this->env, (isset($context["value"]) ? $context["value"] : null), "html", null, true);
                echo "\" ";
                if ((((twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "cropPosition", array(), "any", true, true)) ? (_twig_default_filter(twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment", array(), "any", false, true), "cropPosition"), "center-center")) : ("center-center")) == (isset($context["value"]) ? $context["value"] : null))) {
                    echo " selected=\"selected\" ";
                }
                echo ">";
                echo twig_escape_filter($this->env, (isset($context["title"]) ? $context["title"] : null), "html", null, true);
                echo "</option>
                        ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_iterated'], $context['value'], $context['title'], $context['_parent'], $context['loop']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 334
            echo "                    </select>
                </p>

                <input name=\"replace_attachment_id\" id=\"replace_attachment_id_";
            // line 337
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" type=\"hidden\"/>
                <input name=\"image_id\" value=\"";
            // line 338
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "id"), "html", null, true);
            echo "\" type=\"hidden\"/>
                <input name=\"attachment_id\" value=\"";
            // line 339
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "id"), "html", null, true);
            echo "\" type=\"hidden\"/>
                <input name=\"gallery_id\" value=\"";
            // line 340
            echo twig_escape_filter($this->env, (isset($context["galleryId"]) ? $context["galleryId"] : null), "html", null, true);
            echo "\" type=\"hidden\"/>
                <input name=\"action\" value=\"grid-gallery\" type=\"hidden\"/>
                <input name=\"route[module]\" value=\"photos\" type=\"hidden\"/>
                <input name=\"route[action]\" value=\"updateAttachment\" type=\"hidden\"/>
            </form>
        </td>
        <td class=\"date column-date\" style=\"text-align: center;\">";
            // line 346
            echo twig_escape_filter($this->env, twig_template_get_attributes($this, twig_template_get_attributes($this, (isset($context["image"]) ? $context["image"] : null), "attachment"), "dateFormatted"), "html", null, true);
            echo "</td>
    </tr>
";
        } catch (Exception $e) {
            ob_end_clean();

            throw $e;
        }

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

    public function getTemplateName()
    {
        return "@ui/type.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  969 => 346,  960 => 340,  956 => 339,  952 => 338,  948 => 337,  943 => 334,  928 => 332,  924 => 331,  921 => 330,  919 => 319,  912 => 317,  908 => 315,  901 => 313,  892 => 312,  885 => 308,  878 => 305,  876 => 304,  870 => 303,  866 => 301,  861 => 299,  854 => 298,  847 => 294,  842 => 291,  840 => 290,  834 => 289,  830 => 287,  823 => 283,  819 => 281,  817 => 280,  811 => 278,  806 => 275,  801 => 273,  798 => 272,  796 => 271,  788 => 268,  781 => 264,  778 => 263,  774 => 261,  772 => 260,  762 => 253,  759 => 252,  755 => 250,  753 => 249,  743 => 242,  738 => 240,  729 => 236,  723 => 233,  706 => 230,  701 => 228,  695 => 227,  679 => 223,  667 => 219,  663 => 218,  657 => 217,  650 => 213,  638 => 209,  634 => 208,  629 => 206,  625 => 205,  620 => 203,  616 => 202,  611 => 200,  607 => 199,  598 => 196,  593 => 194,  589 => 193,  584 => 191,  580 => 190,  575 => 188,  571 => 187,  561 => 185,  554 => 181,  549 => 180,  546 => 179,  543 => 178,  540 => 177,  534 => 175,  531 => 174,  528 => 173,  525 => 172,  522 => 171,  519 => 170,  513 => 168,  505 => 165,  499 => 164,  488 => 161,  485 => 160,  472 => 159,  454 => 153,  448 => 151,  440 => 148,  435 => 146,  426 => 140,  422 => 139,  403 => 126,  394 => 122,  377 => 117,  366 => 116,  349 => 109,  340 => 106,  330 => 102,  324 => 100,  321 => 99,  318 => 98,  315 => 97,  300 => 92,  298 => 91,  294 => 90,  286 => 85,  270 => 83,  253 => 76,  248 => 74,  240 => 69,  228 => 60,  220 => 55,  204 => 53,  192 => 50,  183 => 48,  179 => 47,  167 => 44,  163 => 43,  160 => 42,  157 => 41,  133 => 36,  127 => 35,  125 => 34,  117 => 32,  111 => 31,  102 => 29,  98 => 28,  92 => 25,  86 => 22,  81 => 19,  74 => 15,  68 => 12,  55 => 4,  52 => 3,  49 => 2,  31 => 158,  28 => 115,  25 => 82,  22 => 52,  19 => 39,  710 => 231,  700 => 344,  691 => 338,  687 => 224,  682 => 335,  673 => 222,  669 => 328,  664 => 327,  659 => 326,  656 => 325,  647 => 367,  643 => 211,  637 => 363,  633 => 362,  627 => 359,  623 => 358,  617 => 355,  613 => 354,  608 => 351,  604 => 349,  602 => 197,  596 => 323,  592 => 321,  586 => 320,  579 => 316,  572 => 312,  567 => 186,  563 => 309,  558 => 308,  551 => 304,  542 => 298,  537 => 176,  532 => 294,  517 => 169,  510 => 279,  504 => 276,  492 => 268,  489 => 267,  484 => 266,  482 => 265,  479 => 264,  476 => 263,  473 => 262,  469 => 260,  467 => 259,  464 => 258,  458 => 155,  456 => 255,  451 => 254,  447 => 253,  442 => 149,  439 => 251,  433 => 249,  430 => 248,  428 => 247,  423 => 246,  420 => 245,  417 => 238,  415 => 209,  410 => 130,  397 => 197,  393 => 196,  388 => 121,  382 => 118,  378 => 190,  375 => 189,  372 => 188,  369 => 187,  363 => 185,  361 => 184,  358 => 183,  352 => 181,  350 => 180,  347 => 179,  344 => 107,  341 => 177,  338 => 176,  332 => 173,  327 => 101,  323 => 169,  320 => 168,  314 => 166,  312 => 96,  309 => 95,  306 => 94,  303 => 93,  292 => 154,  289 => 153,  281 => 84,  267 => 142,  262 => 139,  251 => 137,  247 => 136,  244 => 135,  242 => 134,  236 => 130,  232 => 128,  230 => 127,  227 => 126,  223 => 124,  221 => 123,  217 => 121,  215 => 54,  207 => 114,  202 => 94,  194 => 93,  188 => 92,  182 => 91,  176 => 46,  170 => 89,  164 => 88,  159 => 86,  155 => 85,  146 => 40,  140 => 80,  135 => 78,  131 => 77,  115 => 64,  109 => 60,  100 => 49,  94 => 46,  85 => 40,  79 => 37,  71 => 32,  65 => 29,  62 => 9,  60 => 15,  50 => 9,  43 => 7,  36 => 1,  33 => 4,  30 => 3,);
    }
}
