<?php

use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
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;
use Twig\TemplateWrapper;

/* base/profil.html.twig */
class __TwigTemplate_d773a9693d5a091ae7e2bedb20b8ade6 extends Template
{
    private Source $source;
    /**
     * @var array<string, Template>
     */
    private array $macros = [];

    public function __construct(Environment $env)
    {
        parent::__construct($env);

        $this->source = $this->getSourceContext();

        $this->blocks = [
            'title' => [$this, 'block_title'],
            'body' => [$this, 'block_body'],
        ];
    }

    protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
    {
        // line 1
        return "base.html.twig";
    }

    protected function doDisplay(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base/profil.html.twig"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "base/profil.html.twig"));

        $this->parent = $this->loadTemplate("base.html.twig", "base/profil.html.twig", 1);
        yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

    }

    // line 3
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_title(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "title"));

        // line 4
        yield "    ";
        yield from $this->yieldParentBlock("title", $context, $blocks);
        yield " Votre profil
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        yield from [];
    }

    // line 7
    /**
     * @return iterable<null|scalar|\Stringable>
     */
    public function block_body(array $context, array $blocks = []): iterable
    {
        $macros = $this->macros;
        $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));

        // line 8
        yield "<div class=\"container-fluid\">
    <h1 class=\"text-center text-primary mt-4 pt-4 display-1 fw-bold\">
        Page Profil
    </h1>
    <div class=\"row justify-content-center\">
        <div class=\"col-12 col-md-8 bg-white p-4 m-0 text-primary\">
            <table class=\"table\">
                <tr class='primary text-center'>
                    <td>";
        // line 16
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "user", [], "any", false, false, false, 16), "prenom", [], "any", false, false, false, 16), "html", null, true);
        yield " ";
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::upper($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 16, $this->source); })()), "user", [], "any", false, false, false, 16), "name", [], "any", false, false, false, 16)), "html", null, true);
        yield "</td>
                </tr>
                <tr class='primary text-center'>
                    <td>";
        // line 19
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 19, $this->source); })()), "user", [], "any", false, false, false, 19), "email", [], "any", false, false, false, 19), "html", null, true);
        yield "</td>
                </tr>
                <tr class='primary text-center'>
                    <td>Inscription le
                        ";
        // line 23
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 23, $this->source); })()), "user", [], "any", false, false, false, 23), "inscriptionDate", [], "any", false, false, false, 23), "d/m/Y"), "html", null, true);
        yield " à
                        ";
        // line 24
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 24, $this->source); })()), "user", [], "any", false, false, false, 24), "inscriptionDate", [], "any", false, false, false, 24), "H:i"), "html", null, true);
        yield "</td>
                </tr>
                <tr class='primary text-center'>
                    <td>
                        ";
        // line 28
        if (CoreExtension::inFilter("ROLE_ADMIN", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 28, $this->source); })()), "user", [], "any", false, false, false, 28), "roles", [], "any", false, false, false, 28))) {
            // line 29
            yield "                            Administrateur
                        ";
        } elseif (CoreExtension::inFilter("ROLE_MOD", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 30
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 30, $this->source); })()), "user", [], "any", false, false, false, 30), "roles", [], "any", false, false, false, 30))) {
            // line 31
            yield "                            Modérateur
                        ";
        } elseif (CoreExtension::inFilter("ROLE_USER", CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source,         // line 32
(isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 32, $this->source); })()), "user", [], "any", false, false, false, 32), "roles", [], "any", false, false, false, 32))) {
            // line 33
            yield "                            Utilisateur
                        ";
        }
        // line 35
        yield "                    </td>
                </tr>
                <tr class='primary text-center'>
                    <td class=\"text-center text-primary\"><h3>Vous avez ";
        // line 38
        yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 38, $this->source); })()), "user", [], "any", false, false, false, 38), "fichiers", [], "any", false, false, false, 38)), "html", null, true);
        yield " fichier(s)</h3></td>
                </tr>

                ";
        // line 41
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 41, $this->source); })()), "user", [], "any", false, false, false, 41), "fichiers", [], "any", false, false, false, 41)) > 0)) {
            // line 42
            yield "                    ";
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 42, $this->source); })()), "user", [], "any", false, false, false, 42), "fichiers", [], "any", false, false, false, 42));
            foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
                // line 43
                yield "                        <tr>
                            <td>
                                <fieldset>
                                    <legend>
                                        <i class=\"bi bi-filetype-pdf\"></i>
                                        <span class=\"text-primary\">
                                            <a href=\"";
                // line 49
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_telechargement_fichier_user", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["f"], "id", [], "any", false, false, false, 49)]), "html", null, true);
                yield "\" style=\"text-decoration: none\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "nomOriginal", [], "any", false, false, false, 49), "html", null, true);
                yield "</a>
                                        </span>
                                        <span><a href=\"";
                // line 51
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_choix_amis_partage", ["fichierId" => CoreExtension::getAttribute($this->env, $this->source, $context["f"], "id", [], "any", false, false, false, 51)]), "html", null, true);
                yield "\"><i class=\"bx bxs-share\"></i></a></span>
                                    </legend>
                                    <ul style=\"list-style:none\">
                                        ";
                // line 54
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "scategories", [], "any", false, false, false, 54));
                foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
                    // line 55
                    yield "                                            <li>";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "numero", [], "any", false, false, false, 55), "html", null, true);
                    yield ") ";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["s"], "libelle", [], "any", false, false, false, 55)), "html", null, true);
                    yield "</li>
                                        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['s'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 57
                yield "                                    </ul>
                                </fieldset>
                            </td>
                        </tr>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['f'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 62
            yield "                ";
        } else {
            // line 63
            yield "                    <tr>
                        <td class=\"text-center\">Aucun fichier</td>
                    </tr>
                ";
        }
        // line 67
        yield "                ";
        if ((Twig\Extension\CoreExtension::length($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 67, $this->source); })()), "user", [], "any", false, false, false, 67), "fichiersAmis", [], "any", false, false, false, 67)) > 0)) {
            // line 68
            yield "                    <tr>
                        <td colspan=\"2\" class=\"text-center text-primary\"><h3>Fichiers partagés avec vous</h3></td>
                    </tr>
                    ";
            // line 71
            $context['_parent'] = $context;
            $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 71, $this->source); })()), "user", [], "any", false, false, false, 71), "fichiersAmis", [], "any", false, false, false, 71));
            foreach ($context['_seq'] as $context["_key"] => $context["f"]) {
                // line 72
                yield "                        <tr>
                            <td>
                                <fieldset>
                                    <legend>
                                        <i class=\"bi bi-filetype-pdf\"></i>
                                        <span class=\"text-primary\">
                                            <a href=\"";
                // line 78
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_telechargement_fichier_user", ["id" => CoreExtension::getAttribute($this->env, $this->source, $context["f"], "id", [], "any", false, false, false, 78)]), "html", null, true);
                yield "\" style=\"text-decoration: none\">";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "nomOriginal", [], "any", false, false, false, 78), "html", null, true);
                yield "</a>
                                        </span>
                                    </legend>
                                    <ul style=\"list-style:none\">
                                        ";
                // line 82
                $context['_parent'] = $context;
                $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["f"], "scategories", [], "any", false, false, false, 82));
                foreach ($context['_seq'] as $context["_key"] => $context["s"]) {
                    // line 83
                    yield "                                            <li>";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["s"], "numero", [], "any", false, false, false, 83), "html", null, true);
                    yield ") ";
                    yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::capitalize($this->env->getCharset(), CoreExtension::getAttribute($this->env, $this->source, $context["s"], "libelle", [], "any", false, false, false, 83)), "html", null, true);
                    yield "</li>
                                        ";
                }
                $_parent = $context['_parent'];
                unset($context['_seq'], $context['_key'], $context['s'], $context['_parent']);
                $context = array_intersect_key($context, $_parent) + $_parent;
                // line 85
                yield "                                    </ul>
                                </fieldset>
                            </td>
                        </tr>
                    ";
            }
            $_parent = $context['_parent'];
            unset($context['_seq'], $context['_key'], $context['f'], $context['_parent']);
            $context = array_intersect_key($context, $_parent) + $_parent;
            // line 90
            yield "                ";
        } else {
            // line 91
            yield "                    <tr>
                        <td class=\"text-center\">Aucun fichier partagé avec vous</td>
                    </tr>
                ";
        }
        // line 95
        yield "            </table>
        <div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t\t<div class=\"col-12 col-sm-10 col-md-8 text-primary\">
\t\t\t\t\t\t\t<h1 class=\"text-center text-primary mt-4 pt-4 fw-bold\">
\t\t\t\t\t\t\t\tAjouter un fichier</h1>
\t\t\t\t\t\t\t";
        // line 101
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 101, $this->source); })()), 'form_start');
        yield "
\t\t\t\t\t\t\t";
        // line 102
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 102, $this->source); })()), "fichier", [], "any", false, false, false, 102), 'row');
        yield "
\t\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t\t<table class=\"table\">
\t\t\t\t\t\t\t\t\t";
        // line 105
        $context["id"] = null;
        // line 106
        yield "\t\t\t\t\t\t\t\t\t";
        $context['_parent'] = $context;
        $context['_seq'] = CoreExtension::ensureTraversable((isset($context["scategories"]) || array_key_exists("scategories", $context) ? $context["scategories"] : (function () { throw new RuntimeError('Variable "scategories" does not exist.', 106, $this->source); })()));
        foreach ($context['_seq'] as $context["_key"] => $context["scategorie"]) {
            // line 107
            yield "\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t";
            // line 108
            if (((isset($context["id"]) || array_key_exists("id", $context) ? $context["id"] : (function () { throw new RuntimeError('Variable "id" does not exist.', 108, $this->source); })()) != CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "categorie", [], "any", false, false, false, 108), "id", [], "any", false, false, false, 108))) {
                // line 109
                yield "\t\t\t\t\t\t\t\t\t\t\t\t";
                $context["id"] = CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "categorie", [], "any", false, false, false, 109), "id", [], "any", false, false, false, 109);
                // line 110
                yield "\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary fwbold\">";
                // line 111
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "categorie", [], "any", false, false, false, 111), "id", [], "any", false, false, false, 111), "html", null, true);
                yield ")";
                yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "categorie", [], "any", false, false, false, 111), "libelle", [], "any", false, false, false, 111), "html", null, true);
                yield "
\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t";
            }
            // line 116
            yield "\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary\">
\t\t\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t\t\t\t";
            // line 118
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "numero", [], "any", false, false, false, 118), "html", null, true);
            yield ")
\t\t\t\t\t\t\t\t\t\t\t\t";
            // line 119
            yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "libelle", [], "any", false, false, false, 119), "html", null, true);
            yield "</td>
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary\">
\t\t\t\t\t\t\t\t\t\t\t\t";
            // line 121
            yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 121, $this->source); })()), "scategories", [], "any", false, false, false, 121), CoreExtension::getAttribute($this->env, $this->source, $context["scategorie"], "id", [], "any", false, false, false, 121), [], "array", false, false, false, 121), 'widget');
            yield "</td>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t";
        }
        $_parent = $context['_parent'];
        unset($context['_seq'], $context['_key'], $context['scategorie'], $context['_parent']);
        $context = array_intersect_key($context, $_parent) + $_parent;
        // line 124
        yield "\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t";
        // line 126
        yield $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(CoreExtension::getAttribute($this->env, $this->source, (isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 126, $this->source); })()), "ajouter", [], "any", false, false, false, 126), 'row');
        yield "
\t\t\t\t\t\t\t";
        // line 127
        yield         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form", $context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.', 127, $this->source); })()), 'form_end');
        yield "
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
";
        
        $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);

        
        $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);

        yield from [];
    }

    /**
     * @codeCoverageIgnore
     */
    public function getTemplateName(): string
    {
        return "base/profil.html.twig";
    }

    /**
     * @codeCoverageIgnore
     */
    public function isTraitable(): bool
    {
        return false;
    }

    /**
     * @codeCoverageIgnore
     */
    public function getDebugInfo(): array
    {
        return array (  368 => 127,  364 => 126,  360 => 124,  351 => 121,  346 => 119,  342 => 118,  338 => 116,  328 => 111,  325 => 110,  322 => 109,  320 => 108,  317 => 107,  312 => 106,  310 => 105,  304 => 102,  300 => 101,  292 => 95,  286 => 91,  283 => 90,  273 => 85,  262 => 83,  258 => 82,  249 => 78,  241 => 72,  237 => 71,  232 => 68,  229 => 67,  223 => 63,  220 => 62,  210 => 57,  199 => 55,  195 => 54,  189 => 51,  182 => 49,  174 => 43,  169 => 42,  167 => 41,  161 => 38,  156 => 35,  152 => 33,  150 => 32,  147 => 31,  145 => 30,  142 => 29,  140 => 28,  133 => 24,  129 => 23,  122 => 19,  114 => 16,  104 => 8,  91 => 7,  77 => 4,  64 => 3,  41 => 1,);
    }

    public function getSourceContext(): Source
    {
        return new Source("{% extends 'base.html.twig' %}

{% block title %}
    {{ parent() }} Votre profil
{% endblock %}

{% block body %}
<div class=\"container-fluid\">
    <h1 class=\"text-center text-primary mt-4 pt-4 display-1 fw-bold\">
        Page Profil
    </h1>
    <div class=\"row justify-content-center\">
        <div class=\"col-12 col-md-8 bg-white p-4 m-0 text-primary\">
            <table class=\"table\">
                <tr class='primary text-center'>
                    <td>{{ app.user.prenom }} {{ app.user.name | upper }}</td>
                </tr>
                <tr class='primary text-center'>
                    <td>{{ app.user.email }}</td>
                </tr>
                <tr class='primary text-center'>
                    <td>Inscription le
                        {{ app.user.inscriptionDate | date('d/m/Y') }} à
                        {{ app.user.inscriptionDate | date('H:i') }}</td>
                </tr>
                <tr class='primary text-center'>
                    <td>
                        {% if \"ROLE_ADMIN\" in app.user.roles %}
                            Administrateur
                        {% elseif \"ROLE_MOD\" in app.user.roles %}
                            Modérateur
                        {% elseif \"ROLE_USER\" in app.user.roles %}
                            Utilisateur
                        {% endif %}
                    </td>
                </tr>
                <tr class='primary text-center'>
                    <td class=\"text-center text-primary\"><h3>Vous avez {{ app.user.fichiers | length }} fichier(s)</h3></td>
                </tr>

                {% if app.user.fichiers | length > 0 %}
                    {% for f in app.user.fichiers %}
                        <tr>
                            <td>
                                <fieldset>
                                    <legend>
                                        <i class=\"bi bi-filetype-pdf\"></i>
                                        <span class=\"text-primary\">
                                            <a href=\"{{ path('app_telechargement_fichier_user', {'id': f.id}) }}\" style=\"text-decoration: none\">{{ f.nomOriginal }}</a>
                                        </span>
                                        <span><a href=\"{{ path('app_choix_amis_partage', {'fichierId': f.id}) }}\"><i class=\"bx bxs-share\"></i></a></span>
                                    </legend>
                                    <ul style=\"list-style:none\">
                                        {% for s in f.scategories %}
                                            <li>{{ s.numero }}) {{ s.libelle | capitalize }}</li>
                                        {% endfor %}
                                    </ul>
                                </fieldset>
                            </td>
                        </tr>
                    {% endfor %}
                {% else %}
                    <tr>
                        <td class=\"text-center\">Aucun fichier</td>
                    </tr>
                {% endif %}
                {% if app.user.fichiersAmis | length > 0 %}
                    <tr>
                        <td colspan=\"2\" class=\"text-center text-primary\"><h3>Fichiers partagés avec vous</h3></td>
                    </tr>
                    {% for f in app.user.fichiersAmis %}
                        <tr>
                            <td>
                                <fieldset>
                                    <legend>
                                        <i class=\"bi bi-filetype-pdf\"></i>
                                        <span class=\"text-primary\">
                                            <a href=\"{{ path('app_telechargement_fichier_user', {'id': f.id}) }}\" style=\"text-decoration: none\">{{ f.nomOriginal }}</a>
                                        </span>
                                    </legend>
                                    <ul style=\"list-style:none\">
                                        {% for s in f.scategories %}
                                            <li>{{ s.numero }}) {{ s.libelle | capitalize }}</li>
                                        {% endfor %}
                                    </ul>
                                </fieldset>
                            </td>
                        </tr>
                    {% endfor %}
                {% else %}
                    <tr>
                        <td class=\"text-center\">Aucun fichier partagé avec vous</td>
                    </tr>
                {% endif %}
            </table>
        <div class=\"container-fluid\">
\t\t\t\t\t<div class=\"row justify-content-center\">
\t\t\t\t\t\t<div class=\"col-12 col-sm-10 col-md-8 text-primary\">
\t\t\t\t\t\t\t<h1 class=\"text-center text-primary mt-4 pt-4 fw-bold\">
\t\t\t\t\t\t\t\tAjouter un fichier</h1>
\t\t\t\t\t\t\t{{ form_start(form) }}
\t\t\t\t\t\t\t{{ form_row(form.fichier) }}
\t\t\t\t\t\t\t<div class=\"table-responsive\">
\t\t\t\t\t\t\t\t<table class=\"table\">
\t\t\t\t\t\t\t\t\t{% set id = null %}
\t\t\t\t\t\t\t\t\t{% for scategorie in scategories %}
\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t{% if id != scategorie.categorie.id %}
\t\t\t\t\t\t\t\t\t\t\t\t{% set id = scategorie.categorie.id %}
\t\t\t\t\t\t\t\t\t\t\t\t<tr>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary fwbold\">{{scategorie.categorie.id}}){{scategorie.categorie.libelle}}
\t\t\t\t\t\t\t\t\t\t\t\t\t</td>
\t\t\t\t\t\t\t\t\t\t\t\t\t<td></td>
\t\t\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t\t\t{% endif %}
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary\">
\t\t\t\t\t\t\t\t\t\t\t\t-
\t\t\t\t\t\t\t\t\t\t\t\t{{scategorie.numero}})
\t\t\t\t\t\t\t\t\t\t\t\t{{scategorie.libelle}}</td>
\t\t\t\t\t\t\t\t\t\t\t<td class=\"text-primary\">
\t\t\t\t\t\t\t\t\t\t\t\t{{ form_widget(form.scategories[scategorie.id]) }}</td>
\t\t\t\t\t\t\t\t\t\t</tr>
\t\t\t\t\t\t\t\t\t{% endfor %}
\t\t\t\t\t\t\t\t</table>
\t\t\t\t\t\t\t</div>
\t\t\t\t\t\t\t{{ form_row(form.ajouter) }}
\t\t\t\t\t\t\t{{ form_end(form) }}
\t\t\t\t\t\t</div>
\t\t\t\t\t</div>
\t\t\t\t</div>
\t\t\t</div>
\t\t</div>
\t</div>
{% endblock %}
", "base/profil.html.twig", "/var/www/html/equipe/share/templates/base/profil.html.twig");
    }
}
