<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;

/* PimDashboardBundle:Dashboard:index.html.twig */
class __TwigTemplate_808ac3289cb0ca64ab4c28ab19cb978f8ad02d4073675469a1c8675082dcf037 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->parent = false;

        $this->blocks = [
            'content' => [$this, 'block_content'],
        ];
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 1
        $context["elements"] = $this->loadTemplate("PimUIBundle:Default:page_elements.html.twig", "PimDashboardBundle:Dashboard:index.html.twig", 1)->unwrap();
        // line 2
        echo "
";
        // line 3
        $this->displayBlock('content', $context, $blocks);
    }

    public function block_content($context, array $blocks = [])
    {
        // line 4
        echo "
    <div class=\"AknDefault-mainContent\">
        ";
        // line 6
        echo $context["elements"]->getpage_header(["title" => $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_dashboard.title"), "image" => ((        // line 9
(isset($context["image"]) || array_key_exists("image", $context))) ? (($context["image"] ?? null)) : (""))]);
        // line 11
        echo "

        ";
        // line 13
        echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("pim_dashboard.controller.widget:listAction"));
        echo "

        <div class=\"AknFooter\">
            ";
        // line 16
        $this->loadTemplate("PimDashboardBundle:Dashboard:index.html.twig", "PimDashboardBundle:Dashboard:index.html.twig", 16, "641256701")->display($context);
        // line 17
        echo "            ";
        $this->loadTemplate("PimDashboardBundle:Dashboard:index.html.twig", "PimDashboardBundle:Dashboard:index.html.twig", 17, "1543061349")->display($context);
        // line 18
        echo "        </div>
    </div>
    <script nonce=\"";
        // line 20
        echo twig_escape_filter($this->env, $this->env->getExtension('Akeneo\Platform\Bundle\UIBundle\Twig\ContentSecurityPolicyExtension')->getScriptNonce(), "html", null, true);
        echo "\">
        require(
            [
                'pim/common/breadcrumbs',
                'pim/fetcher-registry',
                'pim/form-builder',
                'pim/form/common/user-main-image'
            ],
            function(
                Breadcrumbs,
                FetcherRegistry,
                FormBuilder,
                UserMainImage
            ) {
                \$(function() {
                    var breadcrumbs = new Breadcrumbs({
                        config: {
                            tab: 'pim-menu-activity',
                            item: 'pim-menu-activity-dashboard'
                        }
                    });
                    breadcrumbs.configure().then(function () {
                        breadcrumbs.render();
                        \$('*[data-drop-zone=\"breadcrumbs\"]').append(breadcrumbs.\$el);
                    });

                    FetcherRegistry.initialize().done(function () {
                        FormBuilder.build('pim-menu-user-navigation').then(function (form) {
                            \$('.user-menu').append(form.el);
                            form.render();
                        }.bind(this));
                    });

                    const userMainImage = new UserMainImage({ config: {} });
                    \$('*[data-drop-zone=\"main-image\"]').append(userMainImage.el);
                    userMainImage.render();
                });
            }
        );
    </script>
";
    }

    public function getTemplateName()
    {
        return "PimDashboardBundle:Dashboard:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  68 => 20,  64 => 18,  61 => 17,  59 => 16,  53 => 13,  49 => 11,  47 => 9,  46 => 6,  42 => 4,  36 => 3,  33 => 2,  31 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "PimDashboardBundle:Dashboard:index.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Resources/views/Dashboard/index.html.twig");
    }
}


/* PimDashboardBundle:Dashboard:index.html.twig */
class __TwigTemplate_808ac3289cb0ca64ab4c28ab19cb978f8ad02d4073675469a1c8675082dcf037___641256701 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 16
        return "PimDashboardBundle:Dashboard:version.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("PimDashboardBundle:Dashboard:version.html.twig", "PimDashboardBundle:Dashboard:index.html.twig", 16);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    public function getTemplateName()
    {
        return "PimDashboardBundle:Dashboard:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  156 => 16,  68 => 20,  64 => 18,  61 => 17,  59 => 16,  53 => 13,  49 => 11,  47 => 9,  46 => 6,  42 => 4,  36 => 3,  33 => 2,  31 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "PimDashboardBundle:Dashboard:index.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Resources/views/Dashboard/index.html.twig");
    }
}


/* PimDashboardBundle:Dashboard:index.html.twig */
class __TwigTemplate_808ac3289cb0ca64ab4c28ab19cb978f8ad02d4073675469a1c8675082dcf037___1543061349 extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 17
        return "PimAnalyticsBundle:Update:last_patch.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        $this->parent = $this->loadTemplate("PimAnalyticsBundle:Update:last_patch.html.twig", "PimDashboardBundle:Dashboard:index.html.twig", 17);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    public function getTemplateName()
    {
        return "PimDashboardBundle:Dashboard:index.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  209 => 17,  156 => 16,  68 => 20,  64 => 18,  61 => 17,  59 => 16,  53 => 13,  49 => 11,  47 => 9,  46 => 6,  42 => 4,  36 => 3,  33 => 2,  31 => 1,);
    }

    /** @deprecated since 1.27 (to be removed in 2.0). Use getSourceContext() instead */
    public function getSource()
    {
        @trigger_error('The '.__METHOD__.' method is deprecated since version 1.27 and will be removed in 2.0. Use getSourceContext() instead.', E_USER_DEPRECATED);

        return $this->getSourceContext()->getCode();
    }

    public function getSourceContext()
    {
        return new Source("", "PimDashboardBundle:Dashboard:index.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Platform/Bundle/DashboardBundle/Resources/views/Dashboard/index.html.twig");
    }
}
