<?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;

/* AkeneoPimEnrichmentBundle:Widget:completeness.html.twig */
class __TwigTemplate_25948a461ea923219eee0691d0c1767e665f475df844d66cf2d3c6f722120efd extends \Twig\Template
{
    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->blocks = [
        ];
    }

    protected function doGetParent(array $context)
    {
        // line 1
        return "PimDashboardBundle:Widget:base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = [])
    {
        // line 3
        $context["widgetTitle"] = $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("pim_dashboard.widget.completeness.title");
        // line 5
        ob_start(function () { return ''; });
        // line 6
        echo "    <div id=\"completeness-widget\" class=\"completeness-widget\"></div>

    <script type=\"text/javascript\" nonce=\"";
        // line 8
        echo twig_escape_filter($this->env, $this->env->getExtension('Akeneo\Platform\Bundle\UIBundle\Twig\ContentSecurityPolicyExtension')->getScriptNonce(), "html", null, true);
        echo "\">
        require(
            ['jquery', 'pim/dashboard/widget-container', 'pim/dashboard/completeness-widget'],
            function (\$, widgetContainer, CompletenessWidget) {
                'use strict';
                \$(function () {
                    var options = {el: '#completeness-widget', alias: 'completeness'};
                    var widget = widgetContainer.getWidget(options, CompletenessWidget);
                    widget.render().delayedLoad();
                });
            }
        );
    </script>
";
        $context["widgetContent"] = ('' === $tmp = ob_get_clean()) ? '' : new Markup($tmp, $this->env->getCharset());
        // line 1
        $this->parent = $this->loadTemplate("PimDashboardBundle:Widget:base.html.twig", "AkeneoPimEnrichmentBundle:Widget:completeness.html.twig", 1);
        $this->parent->display($context, array_merge($this->blocks, $blocks));
    }

    public function getTemplateName()
    {
        return "AkeneoPimEnrichmentBundle:Widget:completeness.html.twig";
    }

    public function isTraitable()
    {
        return false;
    }

    public function getDebugInfo()
    {
        return array (  59 => 1,  42 => 8,  38 => 6,  36 => 5,  34 => 3,  28 => 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("", "AkeneoPimEnrichmentBundle:Widget:completeness.html.twig", "/var/www/html/vendor/akeneo/pim-community-dev/src/Akeneo/Pim/Enrichment/Bundle/Resources/views/Widget/completeness.html.twig");
    }
}
