var/cache/dev/twig/16/16be01b096cd3402de509930e29ca29686368e3ff56b303a2dce6f20d1f9f14d.php line 474

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* network/auction/widgets/auction_widget_auctionhouse.html.twig */
  14. class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  33.         // line 2
  34.         $context["title"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auctionhouse");
  35.         // line 3
  36.         $this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"3"1938054104")->display($context);
  37.         // line 18
  38.         echo "
  39. ";
  40.         // line 20
  41.         echo "
  42. ";
  43.         // line 21
  44.         $context["title"] = null;
  45.         // line 22
  46.         $this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"22"115235615")->display($context);
  47.         // line 83
  48.         echo "
  49. ";
  50.         // line 85
  51.         $this->loadTemplate("network/auction/widgets/auction_widget_auctionhouse.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"85"1612102758")->display($context);
  52.         
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  54.         
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  56.     }
  57.     public function getTemplateName()
  58.     {
  59.         return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
  60.     }
  61.     public function isTraitable()
  62.     {
  63.         return false;
  64.     }
  65.     public function getDebugInfo()
  66.     {
  67.         return array (  60 => 85,  57 => 83,  55 => 22,  53 => 21,  50 => 20,  47 => 18,  45 => 3,  43 => 2,);
  68.     }
  69.     public function getSourceContext()
  70.     {
  71.         return new Source("{# Address #}
  72. {% set title = 'auctionhouse'|trans %}
  73. {% embed 'network/widget/widget.html.twig' %}
  74.   {% block content %}
  75.     <div class=\"flex\">
  76.       <div class=\"w-4 mr-4\">
  77.         {% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
  78.       </div>
  79.       <address class=\"flex flex-col not-italic leading-snug\">
  80.         <span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
  81.         <span>{{ auction.auctionhouse.street }}</span>
  82.         <span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
  83.         <span>{{ auction.auctionhouse.country|country_name }}</span>
  84.       </address>
  85.     </div>
  86.   {% endblock %}
  87. {% endembed %}
  88. {# Contact #}
  89. {% set title = null %}
  90. {% embed 'network/widget/widget.html.twig' %}
  91.   {% block content %}
  92.     {% import 'macros/button.macro.twig' as button %}
  93.     <div class=\"grid gap-2\">
  94.       {% if auction.auctionhouse.phone %}
  95.         <div class=\"flex items-center text-neutral-900\">
  96.           <div class=\"w-4 mr-4\">
  97.             {% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
  98.           </div>
  99.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
  100.             {{ auction.auctionhouse.phone|trim }}
  101.           </a>
  102.         </div>
  103.       {% endif %}
  104.       {% if auction.auctionhouse.fax %}
  105.         <div class=\"flex items-center text-neutral-900\">
  106.           <div class=\"w-4 mr-4\">
  107.             {% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
  108.           </div>
  109.           <div class=\"font-bold\">
  110.             {{ auction.auctionhouse.fax|trim }}
  111.           </div>
  112.         </div>
  113.       {% endif %}
  114.       {% if auction.auctionhouse.email %}
  115.         <div class=\"flex items-center text-neutral-900\">
  116.           <div class=\"w-4 mr-4\">
  117.             {% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
  118.           </div>
  119.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
  120.             {{ auction.auctionhouse.email|trim }}
  121.           </a>
  122.         </div>
  123.       {% endif %}
  124.       {% if auction.auctionhouse.website %}
  125.         <div class=\"flex items-center truncate text-neutral-900\">
  126.           <div class=\"w-5 mr-3\">
  127.             {% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
  128.           </div>
  129.           <div class=\"font-bold\">
  130.             <a data-turbo='false'  href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
  131.               {{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
  132.             </a>
  133.           </div>
  134.         </div>
  135.       {% endif %}
  136.       {% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
  137.       {% if auctionhouseLink %}
  138.         {{
  139.           button.link(
  140.             'auctionhouse-link'|trans,
  141.             'primary',
  142.             auctionhouseLink,
  143.             { size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
  144.           )
  145.         }}
  146.       {% endif %}
  147.     </div>
  148.   {% endblock %}
  149. {% endembed %}
  150. {# Map #}
  151. {% embed 'network/widget/widget.html.twig' %}
  152.   {% block content %}
  153.     {% if auction.auctionhouse.geolocation %}
  154.       <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
  155.         data-controller=\"leaflet\"
  156.         data-leaflet-options-value=\"{{ {
  157.           center: [
  158.             auction.auctionhouse.geolocation.latitude,
  159.             auction.auctionhouse.geolocation.longitude
  160.           ],
  161.           zoom: 12
  162.         }|json_encode }}\"
  163.         data-leaflet-marker-value=\"{{ [
  164.           {
  165.             geolocation: [
  166.               auction.auctionhouse.geolocation.latitude,
  167.               auction.auctionhouse.geolocation.longitude
  168.             ],
  169.             color: auction.auctionhouse.color.hex,
  170.             title: auction.auctionhouse.name,
  171.             text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
  172.               ~ auction.auctionhouse.city
  173.               ~ '<br>'
  174.               ~ (auction.auctionhouse.country|country_name)
  175.           }
  176.         ]|json_encode }}\">
  177.         <template data-leaflet-target=\"markerTemplate\">
  178.           <b>%title%</b><br />
  179.           <span>%text%</span><br />
  180.         </template>
  181.         <div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
  182.       </div>
  183.     {% endif %}
  184.   {% endblock %}
  185. {% endembed %}
  186. ""network/auction/widgets/auction_widget_auctionhouse.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
  187.     }
  188. }
  189. /* network/auction/widgets/auction_widget_auctionhouse.html.twig */
  190. class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___1938054104 extends Template
  191. {
  192.     private $source;
  193.     private $macros = [];
  194.     public function __construct(Environment $env)
  195.     {
  196.         parent::__construct($env);
  197.         $this->source $this->getSourceContext();
  198.         $this->blocks = [
  199.             'content' => [$this'block_content'],
  200.         ];
  201.     }
  202.     protected function doGetParent(array $context)
  203.     {
  204.         // line 3
  205.         return "network/widget/widget.html.twig";
  206.     }
  207.     protected function doDisplay(array $context, array $blocks = [])
  208.     {
  209.         $macros $this->macros;
  210.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  211.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  212.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  213.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  214.         $this->parent $this->loadTemplate("network/widget/widget.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"3);
  215.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  216.         
  217.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  218.         
  219.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  220.     }
  221.     // line 4
  222.     public function block_content($context, array $blocks = [])
  223.     {
  224.         $macros $this->macros;
  225.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  226.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  227.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  229.         // line 5
  230.         echo "    <div class=\"flex\">
  231.       <div class=\"w-4 mr-4\">
  232.         ";
  233.         // line 7
  234.         $this->loadTemplate("icons/auction-house.svg.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"7)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
  235.         // line 8
  236.         echo "      </div>
  237.       <address class=\"flex flex-col not-italic leading-snug\">
  238.         <span class=\"font-medium\">";
  239.         // line 10
  240.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'10$this->source); })()), "auctionhouse", [], "any"falsefalsefalse10), "name", [], "any"falsefalsefalse10), "html"nulltrue);
  241.         echo "</span>
  242.         <span>";
  243.         // line 11
  244.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'11$this->source); })()), "auctionhouse", [], "any"falsefalsefalse11), "street", [], "any"falsefalsefalse11), "html"nulltrue);
  245.         echo "</span>
  246.         <span>";
  247.         // line 12
  248.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'12$this->source); })()), "auctionhouse", [], "any"falsefalsefalse12), "postalCode", [], "any"falsefalsefalse12), "html"nulltrue);
  249.         echo " ";
  250.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'12$this->source); })()), "auctionhouse", [], "any"falsefalsefalse12), "city", [], "any"falsefalsefalse12), "html"nulltrue);
  251.         echo "</span>
  252.         <span>";
  253.         // line 13
  254.         echo twig_escape_filter($this->env$this->extensions['Twig\Extra\Intl\IntlExtension']->getCountryName(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'13$this->source); })()), "auctionhouse", [], "any"falsefalsefalse13), "country", [], "any"falsefalsefalse13)), "html"nulltrue);
  255.         echo "</span>
  256.       </address>
  257.     </div>
  258.   ";
  259.         
  260.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  261.         
  262.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  263.     }
  264.     public function getTemplateName()
  265.     {
  266.         return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
  267.     }
  268.     public function isTraitable()
  269.     {
  270.         return false;
  271.     }
  272.     public function getDebugInfo()
  273.     {
  274.         return array (  287 => 13,  281 => 12,  277 => 11,  273 => 10,  269 => 8,  267 => 7,  263 => 5,  253 => 4,  230 => 3,  60 => 85,  57 => 83,  55 => 22,  53 => 21,  50 => 20,  47 => 18,  45 => 3,  43 => 2,);
  275.     }
  276.     public function getSourceContext()
  277.     {
  278.         return new Source("{# Address #}
  279. {% set title = 'auctionhouse'|trans %}
  280. {% embed 'network/widget/widget.html.twig' %}
  281.   {% block content %}
  282.     <div class=\"flex\">
  283.       <div class=\"w-4 mr-4\">
  284.         {% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
  285.       </div>
  286.       <address class=\"flex flex-col not-italic leading-snug\">
  287.         <span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
  288.         <span>{{ auction.auctionhouse.street }}</span>
  289.         <span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
  290.         <span>{{ auction.auctionhouse.country|country_name }}</span>
  291.       </address>
  292.     </div>
  293.   {% endblock %}
  294. {% endembed %}
  295. {# Contact #}
  296. {% set title = null %}
  297. {% embed 'network/widget/widget.html.twig' %}
  298.   {% block content %}
  299.     {% import 'macros/button.macro.twig' as button %}
  300.     <div class=\"grid gap-2\">
  301.       {% if auction.auctionhouse.phone %}
  302.         <div class=\"flex items-center text-neutral-900\">
  303.           <div class=\"w-4 mr-4\">
  304.             {% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
  305.           </div>
  306.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
  307.             {{ auction.auctionhouse.phone|trim }}
  308.           </a>
  309.         </div>
  310.       {% endif %}
  311.       {% if auction.auctionhouse.fax %}
  312.         <div class=\"flex items-center text-neutral-900\">
  313.           <div class=\"w-4 mr-4\">
  314.             {% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
  315.           </div>
  316.           <div class=\"font-bold\">
  317.             {{ auction.auctionhouse.fax|trim }}
  318.           </div>
  319.         </div>
  320.       {% endif %}
  321.       {% if auction.auctionhouse.email %}
  322.         <div class=\"flex items-center text-neutral-900\">
  323.           <div class=\"w-4 mr-4\">
  324.             {% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
  325.           </div>
  326.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
  327.             {{ auction.auctionhouse.email|trim }}
  328.           </a>
  329.         </div>
  330.       {% endif %}
  331.       {% if auction.auctionhouse.website %}
  332.         <div class=\"flex items-center truncate text-neutral-900\">
  333.           <div class=\"w-5 mr-3\">
  334.             {% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
  335.           </div>
  336.           <div class=\"font-bold\">
  337.             <a data-turbo='false'  href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
  338.               {{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
  339.             </a>
  340.           </div>
  341.         </div>
  342.       {% endif %}
  343.       {% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
  344.       {% if auctionhouseLink %}
  345.         {{
  346.           button.link(
  347.             'auctionhouse-link'|trans,
  348.             'primary',
  349.             auctionhouseLink,
  350.             { size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
  351.           )
  352.         }}
  353.       {% endif %}
  354.     </div>
  355.   {% endblock %}
  356. {% endembed %}
  357. {# Map #}
  358. {% embed 'network/widget/widget.html.twig' %}
  359.   {% block content %}
  360.     {% if auction.auctionhouse.geolocation %}
  361.       <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
  362.         data-controller=\"leaflet\"
  363.         data-leaflet-options-value=\"{{ {
  364.           center: [
  365.             auction.auctionhouse.geolocation.latitude,
  366.             auction.auctionhouse.geolocation.longitude
  367.           ],
  368.           zoom: 12
  369.         }|json_encode }}\"
  370.         data-leaflet-marker-value=\"{{ [
  371.           {
  372.             geolocation: [
  373.               auction.auctionhouse.geolocation.latitude,
  374.               auction.auctionhouse.geolocation.longitude
  375.             ],
  376.             color: auction.auctionhouse.color.hex,
  377.             title: auction.auctionhouse.name,
  378.             text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
  379.               ~ auction.auctionhouse.city
  380.               ~ '<br>'
  381.               ~ (auction.auctionhouse.country|country_name)
  382.           }
  383.         ]|json_encode }}\">
  384.         <template data-leaflet-target=\"markerTemplate\">
  385.           <b>%title%</b><br />
  386.           <span>%text%</span><br />
  387.         </template>
  388.         <div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
  389.       </div>
  390.     {% endif %}
  391.   {% endblock %}
  392. {% endembed %}
  393. ""network/auction/widgets/auction_widget_auctionhouse.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
  394.     }
  395. }
  396. /* network/auction/widgets/auction_widget_auctionhouse.html.twig */
  397. class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___115235615 extends Template
  398. {
  399.     private $source;
  400.     private $macros = [];
  401.     public function __construct(Environment $env)
  402.     {
  403.         parent::__construct($env);
  404.         $this->source $this->getSourceContext();
  405.         $this->blocks = [
  406.             'content' => [$this'block_content'],
  407.         ];
  408.     }
  409.     protected function doGetParent(array $context)
  410.     {
  411.         // line 22
  412.         return "network/widget/widget.html.twig";
  413.     }
  414.     protected function doDisplay(array $context, array $blocks = [])
  415.     {
  416.         $macros $this->macros;
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  421.         $this->parent $this->loadTemplate("network/widget/widget.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"22);
  422.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  423.         
  424.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  425.         
  426.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  427.     }
  428.     // line 23
  429.     public function block_content($context, array $blocks = [])
  430.     {
  431.         $macros $this->macros;
  432.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  433.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  434.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  435.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  436.         // line 24
  437.         echo "    ";
  438.         $macros["button"] = $this->loadTemplate("macros/button.macro.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"24)->unwrap();
  439.         // line 25
  440.         echo "    <div class=\"grid gap-2\">
  441.       ";
  442.         // line 26
  443.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'26$this->source); })()), "auctionhouse", [], "any"falsefalsefalse26), "phone", [], "any"falsefalsefalse26)) {
  444.             // line 27
  445.             echo "        <div class=\"flex items-center text-neutral-900\">
  446.           <div class=\"w-4 mr-4\">
  447.             ";
  448.             // line 29
  449.             $this->loadTemplate("icons/phone.svg.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"29)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
  450.             // line 30
  451.             echo "          </div>
  452.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+";
  453.             // line 31
  454.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'31$this->source); })()), "auctionhouse", [], "any"falsefalsefalse31), "phone", [], "any"falsefalsefalse31), "html"nulltrue);
  455.             echo "\">
  456.             ";
  457.             // line 32
  458.             echo twig_escape_filter($this->envtwig_trim_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'32$this->source); })()), "auctionhouse", [], "any"falsefalsefalse32), "phone", [], "any"falsefalsefalse32)), "html"nulltrue);
  459.             echo "
  460.           </a>
  461.         </div>
  462.       ";
  463.         }
  464.         // line 36
  465.         echo "      ";
  466.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'36$this->source); })()), "auctionhouse", [], "any"falsefalsefalse36), "fax", [], "any"falsefalsefalse36)) {
  467.             // line 37
  468.             echo "        <div class=\"flex items-center text-neutral-900\">
  469.           <div class=\"w-4 mr-4\">
  470.             ";
  471.             // line 39
  472.             $this->loadTemplate("icons/fax.svg.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"39)->display(twig_array_merge($context, ["class" => "w-5 h-5 -ml-1px"]));
  473.             // line 40
  474.             echo "          </div>
  475.           <div class=\"font-bold\">
  476.             ";
  477.             // line 42
  478.             echo twig_escape_filter($this->envtwig_trim_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'42$this->source); })()), "auctionhouse", [], "any"falsefalsefalse42), "fax", [], "any"falsefalsefalse42)), "html"nulltrue);
  479.             echo "
  480.           </div>
  481.         </div>
  482.       ";
  483.         }
  484.         // line 46
  485.         echo "      ";
  486.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'46$this->source); })()), "auctionhouse", [], "any"falsefalsefalse46), "email", [], "any"falsefalsefalse46)) {
  487.             // line 47
  488.             echo "        <div class=\"flex items-center text-neutral-900\">
  489.           <div class=\"w-4 mr-4\">
  490.             ";
  491.             // line 49
  492.             $this->loadTemplate("icons/mail.svg.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"49)->display(twig_array_merge($context, ["class" => "w-4 h-4"]));
  493.             // line 50
  494.             echo "          </div>
  495.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:";
  496.             // line 51
  497.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'51$this->source); })()), "auctionhouse", [], "any"falsefalsefalse51), "email", [], "any"falsefalsefalse51), "html"nulltrue);
  498.             echo "\">
  499.             ";
  500.             // line 52
  501.             echo twig_escape_filter($this->envtwig_trim_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'52$this->source); })()), "auctionhouse", [], "any"falsefalsefalse52), "email", [], "any"falsefalsefalse52)), "html"nulltrue);
  502.             echo "
  503.           </a>
  504.         </div>
  505.       ";
  506.         }
  507.         // line 56
  508.         echo "      ";
  509.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'56$this->source); })()), "auctionhouse", [], "any"falsefalsefalse56), "website", [], "any"falsefalsefalse56)) {
  510.             // line 57
  511.             echo "        <div class=\"flex items-center truncate text-neutral-900\">
  512.           <div class=\"w-5 mr-3\">
  513.             ";
  514.             // line 59
  515.             $this->loadTemplate("icons/weblink.svg.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"59)->display(twig_array_merge($context, ["class" => "w-5 h-5"]));
  516.             // line 60
  517.             echo "          </div>
  518.           <div class=\"font-bold\">
  519.             <a data-turbo='false'  href=\"";
  520.             // line 62
  521.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'62$this->source); })()), "auctionhouse", [], "any"falsefalsefalse62), "website", [], "any"falsefalsefalse62), "html"nulltrue);
  522.             echo "\" target=\"_blank\" rel=\"noopener noreferrer\">
  523.               ";
  524.             // line 63
  525.             echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["auction"] ?? null), "auctionhouse", [], "any"falsetruefalse63), "website", [], "any"truetruefalse63)) ? (_twig_default_filter(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["auction"] ?? null), "auctionhouse", [], "any"falsetruefalse63), "website", [], "any"falsefalsefalse63), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'63$this->source); })()), "auctionhouse", [], "any"falsefalsefalse63), "website", [], "any"falsefalsefalse63))) : (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'63$this->source); })()), "auctionhouse", [], "any"falsefalsefalse63), "website", [], "any"falsefalsefalse63))), "html"nulltrue);
  526.             echo "
  527.             </a>
  528.           </div>
  529.         </div>
  530.       ";
  531.         }
  532.         // line 68
  533.         echo "
  534.       ";
  535.         // line 69
  536.         $context["auctionhouseLink"] = $this->env->getFunction('pimcore_url')->getCallable()(["object" => twig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'69$this->source); })()), "auctionhouse", [], "any"falsefalsefalse69)]);
  537.         // line 70
  538.         echo "      ";
  539.         if ((isset($context["auctionhouseLink"]) || array_key_exists("auctionhouseLink"$context) ? $context["auctionhouseLink"] : (function () { throw new RuntimeError('Variable "auctionhouseLink" does not exist.'70$this->source); })())) {
  540.             // line 71
  541.             echo "        ";
  542.             echo twig_call_macro($macros["button"], "macro_link", [$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("auctionhouse-link"), "primary",             // line 75
  543. (isset($context["auctionhouseLink"]) || array_key_exists("auctionhouseLink"$context) ? $context["auctionhouseLink"] : (function () { throw new RuntimeError('Variable "auctionhouseLink" does not exist.'75$this->source); })()), ["size" => "sm""icon_after" => "arrow-right-tail""attr" => ["class" => "mt-2""data-turbo" => "false"]]], 72$context$this->getSourceContext());
  544.             // line 78
  545.             echo "
  546.       ";
  547.         }
  548.         // line 80
  549.         echo "    </div>
  550.   ";
  551.         
  552.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  553.         
  554.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  555.     }
  556.     public function getTemplateName()
  557.     {
  558.         return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
  559.     }
  560.     public function isTraitable()
  561.     {
  562.         return false;
  563.     }
  564.     public function getDebugInfo()
  565.     {
  566.         return array (  606 => 80,  602 => 78,  600 => 75,  598 => 71,  595 => 70,  593 => 69,  590 => 68,  582 => 63,  578 => 62,  574 => 60,  572 => 59,  568 => 57,  565 => 56,  558 => 52,  554 => 51,  551 => 50,  549 => 49,  545 => 47,  542 => 46,  535 => 42,  531 => 40,  529 => 39,  525 => 37,  522 => 36,  515 => 32,  511 => 31,  508 => 30,  506 => 29,  502 => 27,  500 => 26,  497 => 25,  494 => 24,  484 => 23,  461 => 22,  287 => 13,  281 => 12,  277 => 11,  273 => 10,  269 => 8,  267 => 7,  263 => 5,  253 => 4,  230 => 3,  60 => 85,  57 => 83,  55 => 22,  53 => 21,  50 => 20,  47 => 18,  45 => 3,  43 => 2,);
  567.     }
  568.     public function getSourceContext()
  569.     {
  570.         return new Source("{# Address #}
  571. {% set title = 'auctionhouse'|trans %}
  572. {% embed 'network/widget/widget.html.twig' %}
  573.   {% block content %}
  574.     <div class=\"flex\">
  575.       <div class=\"w-4 mr-4\">
  576.         {% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
  577.       </div>
  578.       <address class=\"flex flex-col not-italic leading-snug\">
  579.         <span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
  580.         <span>{{ auction.auctionhouse.street }}</span>
  581.         <span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
  582.         <span>{{ auction.auctionhouse.country|country_name }}</span>
  583.       </address>
  584.     </div>
  585.   {% endblock %}
  586. {% endembed %}
  587. {# Contact #}
  588. {% set title = null %}
  589. {% embed 'network/widget/widget.html.twig' %}
  590.   {% block content %}
  591.     {% import 'macros/button.macro.twig' as button %}
  592.     <div class=\"grid gap-2\">
  593.       {% if auction.auctionhouse.phone %}
  594.         <div class=\"flex items-center text-neutral-900\">
  595.           <div class=\"w-4 mr-4\">
  596.             {% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
  597.           </div>
  598.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
  599.             {{ auction.auctionhouse.phone|trim }}
  600.           </a>
  601.         </div>
  602.       {% endif %}
  603.       {% if auction.auctionhouse.fax %}
  604.         <div class=\"flex items-center text-neutral-900\">
  605.           <div class=\"w-4 mr-4\">
  606.             {% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
  607.           </div>
  608.           <div class=\"font-bold\">
  609.             {{ auction.auctionhouse.fax|trim }}
  610.           </div>
  611.         </div>
  612.       {% endif %}
  613.       {% if auction.auctionhouse.email %}
  614.         <div class=\"flex items-center text-neutral-900\">
  615.           <div class=\"w-4 mr-4\">
  616.             {% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
  617.           </div>
  618.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
  619.             {{ auction.auctionhouse.email|trim }}
  620.           </a>
  621.         </div>
  622.       {% endif %}
  623.       {% if auction.auctionhouse.website %}
  624.         <div class=\"flex items-center truncate text-neutral-900\">
  625.           <div class=\"w-5 mr-3\">
  626.             {% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
  627.           </div>
  628.           <div class=\"font-bold\">
  629.             <a data-turbo='false'  href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
  630.               {{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
  631.             </a>
  632.           </div>
  633.         </div>
  634.       {% endif %}
  635.       {% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
  636.       {% if auctionhouseLink %}
  637.         {{
  638.           button.link(
  639.             'auctionhouse-link'|trans,
  640.             'primary',
  641.             auctionhouseLink,
  642.             { size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
  643.           )
  644.         }}
  645.       {% endif %}
  646.     </div>
  647.   {% endblock %}
  648. {% endembed %}
  649. {# Map #}
  650. {% embed 'network/widget/widget.html.twig' %}
  651.   {% block content %}
  652.     {% if auction.auctionhouse.geolocation %}
  653.       <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
  654.         data-controller=\"leaflet\"
  655.         data-leaflet-options-value=\"{{ {
  656.           center: [
  657.             auction.auctionhouse.geolocation.latitude,
  658.             auction.auctionhouse.geolocation.longitude
  659.           ],
  660.           zoom: 12
  661.         }|json_encode }}\"
  662.         data-leaflet-marker-value=\"{{ [
  663.           {
  664.             geolocation: [
  665.               auction.auctionhouse.geolocation.latitude,
  666.               auction.auctionhouse.geolocation.longitude
  667.             ],
  668.             color: auction.auctionhouse.color.hex,
  669.             title: auction.auctionhouse.name,
  670.             text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
  671.               ~ auction.auctionhouse.city
  672.               ~ '<br>'
  673.               ~ (auction.auctionhouse.country|country_name)
  674.           }
  675.         ]|json_encode }}\">
  676.         <template data-leaflet-target=\"markerTemplate\">
  677.           <b>%title%</b><br />
  678.           <span>%text%</span><br />
  679.         </template>
  680.         <div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
  681.       </div>
  682.     {% endif %}
  683.   {% endblock %}
  684. {% endembed %}
  685. ""network/auction/widgets/auction_widget_auctionhouse.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
  686.     }
  687. }
  688. /* network/auction/widgets/auction_widget_auctionhouse.html.twig */
  689. class __TwigTemplate_21de2d639ae5fef4216ee1796475b075aa38028ebbe0f88c26ae2375c6ce482f___1612102758 extends Template
  690. {
  691.     private $source;
  692.     private $macros = [];
  693.     public function __construct(Environment $env)
  694.     {
  695.         parent::__construct($env);
  696.         $this->source $this->getSourceContext();
  697.         $this->blocks = [
  698.             'content' => [$this'block_content'],
  699.         ];
  700.     }
  701.     protected function doGetParent(array $context)
  702.     {
  703.         // line 85
  704.         return "network/widget/widget.html.twig";
  705.     }
  706.     protected function doDisplay(array $context, array $blocks = [])
  707.     {
  708.         $macros $this->macros;
  709.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  710.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  711.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  712.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""network/auction/widgets/auction_widget_auctionhouse.html.twig"));
  713.         $this->parent $this->loadTemplate("network/widget/widget.html.twig""network/auction/widgets/auction_widget_auctionhouse.html.twig"85);
  714.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  715.         
  716.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  717.         
  718.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  719.     }
  720.     // line 86
  721.     public function block_content($context, array $blocks = [])
  722.     {
  723.         $macros $this->macros;
  724.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  725.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  726.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  727.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  728.         // line 87
  729.         echo "    ";
  730.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'87$this->source); })()), "auctionhouse", [], "any"falsefalsefalse87), "geolocation", [], "any"falsefalsefalse87)) {
  731.             // line 88
  732.             echo "      <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
  733.         data-controller=\"leaflet\"
  734.         data-leaflet-options-value=\"";
  735.             // line 90
  736.             echo twig_escape_filter($this->envjson_encode(["center" => [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 92
  737. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'92$this->source); })()), "auctionhouse", [], "any"falsefalsefalse92), "geolocation", [], "any"falsefalsefalse92), "latitude", [], "any"falsefalsefalse92), => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 93
  738. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'93$this->source); })()), "auctionhouse", [], "any"falsefalsefalse93), "geolocation", [], "any"falsefalsefalse93), "longitude", [], "any"falsefalsefalse93)], "zoom" => 12]), "html"nulltrue);
  739.             // line 96
  740.             echo "\"
  741.         data-leaflet-marker-value=\"";
  742.             // line 97
  743.             echo twig_escape_filter($this->envjson_encode([=> ["geolocation" => [=> twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 100
  744. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'100$this->source); })()), "auctionhouse", [], "any"falsefalsefalse100), "geolocation", [], "any"falsefalsefalse100), "latitude", [], "any"falsefalsefalse100), => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 101
  745. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'101$this->source); })()), "auctionhouse", [], "any"falsefalsefalse101), "geolocation", [], "any"falsefalsefalse101), "longitude", [], "any"falsefalsefalse101)], "color" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 103
  746. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'103$this->source); })()), "auctionhouse", [], "any"falsefalsefalse103), "color", [], "any"falsefalsefalse103), "hex", [], "any"falsefalsefalse103), "title" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 104
  747. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'104$this->source); })()), "auctionhouse", [], "any"falsefalsefalse104), "name", [], "any"falsefalsefalse104), "text" => ((((((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 105
  748. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'105$this->source); })()), "auctionhouse", [], "any"falsefalsefalse105), "street", [], "any"falsefalsefalse105) . "<br>") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'105$this->source); })()), "auctionhouse", [], "any"falsefalsefalse105), "postalCode", [], "any"falsefalsefalse105)) . " ") . twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 106
  749. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'106$this->source); })()), "auctionhouse", [], "any"falsefalsefalse106), "city", [], "any"falsefalsefalse106)) . "<br>") . $this->extensions['Twig\Extra\Intl\IntlExtension']->getCountryName(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 108
  750. (isset($context["auction"]) || array_key_exists("auction"$context) ? $context["auction"] : (function () { throw new RuntimeError('Variable "auction" does not exist.'108$this->source); })()), "auctionhouse", [], "any"falsefalsefalse108), "country", [], "any"falsefalsefalse108)))]]), "html"nulltrue);
  751.             // line 110
  752.             echo "\">
  753.         <template data-leaflet-target=\"markerTemplate\">
  754.           <b>%title%</b><br />
  755.           <span>%text%</span><br />
  756.         </template>
  757.         <div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
  758.       </div>
  759.     ";
  760.         }
  761.         // line 118
  762.         echo "  ";
  763.         
  764.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  765.         
  766.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  767.     }
  768.     public function getTemplateName()
  769.     {
  770.         return "network/auction/widgets/auction_widget_auctionhouse.html.twig";
  771.     }
  772.     public function isTraitable()
  773.     {
  774.         return false;
  775.     }
  776.     public function getDebugInfo()
  777.     {
  778.         return array (  843 => 118,  833 => 110,  831 => 108,  830 => 106,  829 => 105,  828 => 104,  827 => 103,  826 => 101,  825 => 100,  824 => 97,  821 => 96,  819 => 93,  818 => 92,  817 => 90,  813 => 88,  810 => 87,  800 => 86,  777 => 85,  606 => 80,  602 => 78,  600 => 75,  598 => 71,  595 => 70,  593 => 69,  590 => 68,  582 => 63,  578 => 62,  574 => 60,  572 => 59,  568 => 57,  565 => 56,  558 => 52,  554 => 51,  551 => 50,  549 => 49,  545 => 47,  542 => 46,  535 => 42,  531 => 40,  529 => 39,  525 => 37,  522 => 36,  515 => 32,  511 => 31,  508 => 30,  506 => 29,  502 => 27,  500 => 26,  497 => 25,  494 => 24,  484 => 23,  461 => 22,  287 => 13,  281 => 12,  277 => 11,  273 => 10,  269 => 8,  267 => 7,  263 => 5,  253 => 4,  230 => 3,  60 => 85,  57 => 83,  55 => 22,  53 => 21,  50 => 20,  47 => 18,  45 => 3,  43 => 2,);
  779.     }
  780.     public function getSourceContext()
  781.     {
  782.         return new Source("{# Address #}
  783. {% set title = 'auctionhouse'|trans %}
  784. {% embed 'network/widget/widget.html.twig' %}
  785.   {% block content %}
  786.     <div class=\"flex\">
  787.       <div class=\"w-4 mr-4\">
  788.         {% include 'icons/auction-house.svg.twig' with { class: 'w-4 h-4' } %}
  789.       </div>
  790.       <address class=\"flex flex-col not-italic leading-snug\">
  791.         <span class=\"font-medium\">{{ auction.auctionhouse.name }}</span>
  792.         <span>{{ auction.auctionhouse.street }}</span>
  793.         <span>{{ auction.auctionhouse.postalCode }} {{ auction.auctionhouse.city }}</span>
  794.         <span>{{ auction.auctionhouse.country|country_name }}</span>
  795.       </address>
  796.     </div>
  797.   {% endblock %}
  798. {% endembed %}
  799. {# Contact #}
  800. {% set title = null %}
  801. {% embed 'network/widget/widget.html.twig' %}
  802.   {% block content %}
  803.     {% import 'macros/button.macro.twig' as button %}
  804.     <div class=\"grid gap-2\">
  805.       {% if auction.auctionhouse.phone %}
  806.         <div class=\"flex items-center text-neutral-900\">
  807.           <div class=\"w-4 mr-4\">
  808.             {% include 'icons/phone.svg.twig' with { class: 'w-4 h-4' } %}
  809.           </div>
  810.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"tel:+{{ auction.auctionhouse.phone }}\">
  811.             {{ auction.auctionhouse.phone|trim }}
  812.           </a>
  813.         </div>
  814.       {% endif %}
  815.       {% if auction.auctionhouse.fax %}
  816.         <div class=\"flex items-center text-neutral-900\">
  817.           <div class=\"w-4 mr-4\">
  818.             {% include 'icons/fax.svg.twig' with { class: 'w-5 h-5 -ml-1px' } %}
  819.           </div>
  820.           <div class=\"font-bold\">
  821.             {{ auction.auctionhouse.fax|trim }}
  822.           </div>
  823.         </div>
  824.       {% endif %}
  825.       {% if auction.auctionhouse.email %}
  826.         <div class=\"flex items-center text-neutral-900\">
  827.           <div class=\"w-4 mr-4\">
  828.             {% include 'icons/mail.svg.twig' with { class: 'w-4 h-4' } %}
  829.           </div>
  830.           <a data-turbo='false' class=\"font-bold no-underline\" href=\"mailto:{{ auction.auctionhouse.email }}\">
  831.             {{ auction.auctionhouse.email|trim }}
  832.           </a>
  833.         </div>
  834.       {% endif %}
  835.       {% if auction.auctionhouse.website %}
  836.         <div class=\"flex items-center truncate text-neutral-900\">
  837.           <div class=\"w-5 mr-3\">
  838.             {% include 'icons/weblink.svg.twig' with { class: 'w-5 h-5' } %}
  839.           </div>
  840.           <div class=\"font-bold\">
  841.             <a data-turbo='false'  href=\"{{ auction.auctionhouse.website }}\" target=\"_blank\" rel=\"noopener noreferrer\">
  842.               {{ auction.auctionhouse.website|default(auction.auctionhouse.website) }}
  843.             </a>
  844.           </div>
  845.         </div>
  846.       {% endif %}
  847.       {% set auctionhouseLink = pimcore_url({ object: auction.auctionhouse }) %}
  848.       {% if auctionhouseLink %}
  849.         {{
  850.           button.link(
  851.             'auctionhouse-link'|trans,
  852.             'primary',
  853.             auctionhouseLink,
  854.             { size: 'sm', icon_after: 'arrow-right-tail', attr: { class: 'mt-2', 'data-turbo': 'false' } }
  855.           )
  856.         }}
  857.       {% endif %}
  858.     </div>
  859.   {% endblock %}
  860. {% endembed %}
  861. {# Map #}
  862. {% embed 'network/widget/widget.html.twig' %}
  863.   {% block content %}
  864.     {% if auction.auctionhouse.geolocation %}
  865.       <div class=\"hidden xl:block aspect-w-16 aspect-h-9 xl:aspect-w-1 xl:aspect-h-1\"
  866.         data-controller=\"leaflet\"
  867.         data-leaflet-options-value=\"{{ {
  868.           center: [
  869.             auction.auctionhouse.geolocation.latitude,
  870.             auction.auctionhouse.geolocation.longitude
  871.           ],
  872.           zoom: 12
  873.         }|json_encode }}\"
  874.         data-leaflet-marker-value=\"{{ [
  875.           {
  876.             geolocation: [
  877.               auction.auctionhouse.geolocation.latitude,
  878.               auction.auctionhouse.geolocation.longitude
  879.             ],
  880.             color: auction.auctionhouse.color.hex,
  881.             title: auction.auctionhouse.name,
  882.             text: auction.auctionhouse.street ~ '<br>' ~ auction.auctionhouse.postalCode ~ ' '
  883.               ~ auction.auctionhouse.city
  884.               ~ '<br>'
  885.               ~ (auction.auctionhouse.country|country_name)
  886.           }
  887.         ]|json_encode }}\">
  888.         <template data-leaflet-target=\"markerTemplate\">
  889.           <b>%title%</b><br />
  890.           <span>%text%</span><br />
  891.         </template>
  892.         <div class=\"w-full h-full map\" data-leaflet-target=\"map\"></div>
  893.       </div>
  894.     {% endif %}
  895.   {% endblock %}
  896. {% endembed %}
  897. ""network/auction/widgets/auction_widget_auctionhouse.html.twig""/var/www/vhosts/3forone.ch/httpdocs/abowire/templates/network/auction/widgets/auction_widget_auctionhouse.html.twig");
  898.     }
  899. }