<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
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;
/* network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig */
class __TwigTemplate_279551aab6f1fec953ba1015a1073fd3567230b10fd0fcf2d221efcb0271e352 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig"));
// line 1
echo " <aside class=\"relative grid gap-5 col-span-full auto-rows-min xl:col-span-5\">
<div class=\"sticky top-32\">
";
// line 3
$this->loadTemplate("network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 3, "1825219978")->display($context);
// line 60
echo "
";
// line 61
$this->loadTemplate("network/profile/widgets/profile_widget_partner.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 61)->display(twig_to_array(["profile" => // line 62
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 62, $this->source); })()), "user" => // line 63
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 63, $this->source); })())]));
// line 65
echo " </aside>";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 56 => 65, 54 => 63, 53 => 62, 52 => 61, 49 => 60, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source(" <aside class=\"relative grid gap-5 col-span-full auto-rows-min xl:col-span-5\">
<div class=\"sticky top-32\">
{% embed 'network/widget/widget_sidebar.html.twig' %}
{% block widgets %}
{% if auctionEvents is not empty or raceEvents is not empty %}
{% include 'network/profile/widgets/profile_widget_attendence.html.twig' with {
auctionEvents: auctionEvents,
raceEvents: raceEvents
} %}
{% include 'network/widget/widget_separator.html.twig' %}
{% endif %}
{% if marketplacePosts is not empty %}
{% include 'network/profile/widgets/profile_widget_marketplace.html.twig' with {
marketplacePosts: marketplacePosts,
profile: profile,
user: user
} only %}
{% include 'network/widget/widget_separator.html.twig' %}
{% endif %}
{% if user and user.id != profile.id %}
<div class=\"hidden md:block\">
{% include 'network/profile/widgets/profile_widget_network.html.twig' with {
profile: profile,
user: user
} only %}
</div>
{% endif %}
{% if profile.street or (profile.city and profile.postalCode) %}
{% include 'network/profile/widgets/profile_widget_address.html.twig' with {
profile: profile,
user: user
} only %}
{% endif %}
{% include 'network/profile/widgets/profile_widget_contact.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_socialmedia.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_map.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/widget/widget_separator.html.twig' %}
{% include 'network/profile/widgets/profile_widget_links.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_downloads.html.twig' with {
profile: profile,
user: user
} only %}
{% endblock %}
{% endembed %}
{% include 'network/profile/widgets/profile_widget_partner.html.twig' with {
profile: profile,
user: user
} only %}
</aside>", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig");
}
}
/* network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig */
class __TwigTemplate_279551aab6f1fec953ba1015a1073fd3567230b10fd0fcf2d221efcb0271e352___1825219978 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'widgets' => [$this, 'block_widgets'],
];
}
protected function doGetParent(array $context)
{
// line 3
return "network/widget/widget_sidebar.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig"));
$this->parent = $this->loadTemplate("network/widget/widget_sidebar.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 3);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 4
public function block_widgets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widgets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "widgets"));
// line 5
echo " ";
if (( !twig_test_empty((isset($context["auctionEvents"]) || array_key_exists("auctionEvents", $context) ? $context["auctionEvents"] : (function () { throw new RuntimeError('Variable "auctionEvents" does not exist.', 5, $this->source); })())) || !twig_test_empty((isset($context["raceEvents"]) || array_key_exists("raceEvents", $context) ? $context["raceEvents"] : (function () { throw new RuntimeError('Variable "raceEvents" does not exist.', 5, $this->source); })())))) {
// line 6
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_attendence.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 6)->display(twig_array_merge($context, ["auctionEvents" => // line 7
(isset($context["auctionEvents"]) || array_key_exists("auctionEvents", $context) ? $context["auctionEvents"] : (function () { throw new RuntimeError('Variable "auctionEvents" does not exist.', 7, $this->source); })()), "raceEvents" => // line 8
(isset($context["raceEvents"]) || array_key_exists("raceEvents", $context) ? $context["raceEvents"] : (function () { throw new RuntimeError('Variable "raceEvents" does not exist.', 8, $this->source); })())]));
// line 10
echo " ";
$this->loadTemplate("network/widget/widget_separator.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 10)->display($context);
// line 11
echo " ";
}
// line 12
echo "
";
// line 14
if ( !twig_test_empty((isset($context["marketplacePosts"]) || array_key_exists("marketplacePosts", $context) ? $context["marketplacePosts"] : (function () { throw new RuntimeError('Variable "marketplacePosts" does not exist.', 14, $this->source); })()))) {
// line 15
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_marketplace.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 15)->display(twig_to_array(["marketplacePosts" => // line 16
(isset($context["marketplacePosts"]) || array_key_exists("marketplacePosts", $context) ? $context["marketplacePosts"] : (function () { throw new RuntimeError('Variable "marketplacePosts" does not exist.', 16, $this->source); })()), "profile" => // line 17
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 17, $this->source); })()), "user" => // line 18
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 18, $this->source); })())]));
// line 20
echo " ";
$this->loadTemplate("network/widget/widget_separator.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 20)->display($context);
// line 21
echo " ";
}
// line 22
echo "
";
// line 23
if (((isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 23, $this->source); })()) && (twig_get_attribute($this->env, $this->source, (isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 23, $this->source); })()), "id", [], "any", false, false, false, 23) != twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 23, $this->source); })()), "id", [], "any", false, false, false, 23)))) {
// line 24
echo " <div class=\"hidden md:block\">
";
// line 25
$this->loadTemplate("network/profile/widgets/profile_widget_network.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 25)->display(twig_to_array(["profile" => // line 26
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 26, $this->source); })()), "user" => // line 27
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 27, $this->source); })())]));
// line 29
echo " </div>
";
}
// line 31
echo " ";
if ((twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 31, $this->source); })()), "street", [], "any", false, false, false, 31) || (twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 31, $this->source); })()), "city", [], "any", false, false, false, 31) && twig_get_attribute($this->env, $this->source, (isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 31, $this->source); })()), "postalCode", [], "any", false, false, false, 31)))) {
// line 32
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_address.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 32)->display(twig_to_array(["profile" => // line 33
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 33, $this->source); })()), "user" => // line 34
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 34, $this->source); })())]));
// line 36
echo " ";
}
// line 37
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_contact.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 37)->display(twig_to_array(["profile" => // line 38
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 38, $this->source); })()), "user" => // line 39
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 39, $this->source); })())]));
// line 41
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_socialmedia.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 41)->display(twig_to_array(["profile" => // line 42
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 42, $this->source); })()), "user" => // line 43
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 43, $this->source); })())]));
// line 45
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_map.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 45)->display(twig_to_array(["profile" => // line 46
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 46, $this->source); })()), "user" => // line 47
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 47, $this->source); })())]));
// line 49
echo " ";
$this->loadTemplate("network/widget/widget_separator.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 49)->display($context);
// line 50
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_links.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 50)->display(twig_to_array(["profile" => // line 51
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 51, $this->source); })()), "user" => // line 52
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 52, $this->source); })())]));
// line 54
echo " ";
$this->loadTemplate("network/profile/widgets/profile_widget_downloads.html.twig", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", 54)->display(twig_to_array(["profile" => // line 55
(isset($context["profile"]) || array_key_exists("profile", $context) ? $context["profile"] : (function () { throw new RuntimeError('Variable "profile" does not exist.', 55, $this->source); })()), "user" => // line 56
(isset($context["user"]) || array_key_exists("user", $context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.', 56, $this->source); })())]));
// line 58
echo " ";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 291 => 58, 289 => 56, 288 => 55, 286 => 54, 284 => 52, 283 => 51, 281 => 50, 278 => 49, 276 => 47, 275 => 46, 273 => 45, 271 => 43, 270 => 42, 268 => 41, 266 => 39, 265 => 38, 263 => 37, 260 => 36, 258 => 34, 257 => 33, 255 => 32, 252 => 31, 248 => 29, 246 => 27, 245 => 26, 244 => 25, 241 => 24, 239 => 23, 236 => 22, 233 => 21, 230 => 20, 228 => 18, 227 => 17, 226 => 16, 224 => 15, 222 => 14, 218 => 12, 215 => 11, 212 => 10, 210 => 8, 209 => 7, 207 => 6, 204 => 5, 194 => 4, 171 => 3, 56 => 65, 54 => 63, 53 => 62, 52 => 61, 49 => 60, 47 => 3, 43 => 1,);
}
public function getSourceContext()
{
return new Source(" <aside class=\"relative grid gap-5 col-span-full auto-rows-min xl:col-span-5\">
<div class=\"sticky top-32\">
{% embed 'network/widget/widget_sidebar.html.twig' %}
{% block widgets %}
{% if auctionEvents is not empty or raceEvents is not empty %}
{% include 'network/profile/widgets/profile_widget_attendence.html.twig' with {
auctionEvents: auctionEvents,
raceEvents: raceEvents
} %}
{% include 'network/widget/widget_separator.html.twig' %}
{% endif %}
{% if marketplacePosts is not empty %}
{% include 'network/profile/widgets/profile_widget_marketplace.html.twig' with {
marketplacePosts: marketplacePosts,
profile: profile,
user: user
} only %}
{% include 'network/widget/widget_separator.html.twig' %}
{% endif %}
{% if user and user.id != profile.id %}
<div class=\"hidden md:block\">
{% include 'network/profile/widgets/profile_widget_network.html.twig' with {
profile: profile,
user: user
} only %}
</div>
{% endif %}
{% if profile.street or (profile.city and profile.postalCode) %}
{% include 'network/profile/widgets/profile_widget_address.html.twig' with {
profile: profile,
user: user
} only %}
{% endif %}
{% include 'network/profile/widgets/profile_widget_contact.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_socialmedia.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_map.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/widget/widget_separator.html.twig' %}
{% include 'network/profile/widgets/profile_widget_links.html.twig' with {
profile: profile,
user: user
} only %}
{% include 'network/profile/widgets/profile_widget_downloads.html.twig' with {
profile: profile,
user: user
} only %}
{% endblock %}
{% endembed %}
{% include 'network/profile/widgets/profile_widget_partner.html.twig' with {
profile: profile,
user: user
} only %}
</aside>", "network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig", "/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/profile/sections/timeline/profile_section_timeline_sidebar.html.twig");
}
}