var/cache/website/dev/twig/f7/f767749875533e554da2fd4b2929c23402d024a11c6c0db6b175df81ea32698d.php line 227

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. /* search_properties/elements/document_head.html.twig */
  14. class __TwigTemplate_a2969242a35fd379faa98d9fad256be3172b3c538c73add2480730a96f2692ac 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""search_properties/elements/document_head.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""search_properties/elements/document_head.html.twig"));
  33.         // line 1
  34.         echo "<!DOCTYPE html>
  35. ";
  36.         // line 3
  37.         ob_start();
  38.         // line 4
  39.         echo "<html lang='";
  40.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["app"] ?? null), "request", [], "any"falsefalsefalse4), "getLocale", [], "method"falsefalsefalse4), "html"nulltrue);
  41.         echo "'
  42.   ";
  43.         // line 5
  44.         if ( !twig_test_empty(($context["documentClasses"] ?? null))) {
  45.             echo " class='";
  46.             echo twig_escape_filter($this->env, ($context["documentClasses"] ?? null), "html"nulltrue);
  47.             echo "'";
  48.         }
  49.         // line 6
  50.         echo ">
  51. ";
  52.         $___internal_parse_0_ = ('' === $tmp ob_get_clean()) ? '' : new Markup($tmp$this->env->getCharset());
  53.         // line 3
  54.         echo twig_spaceless($___internal_parse_0_);
  55.         // line 8
  56.         echo "
  57. <head>
  58.   <meta charset='UTF-8'>
  59.   <meta name='viewport' content='width=device-width, initial-scale=1.0'>
  60.   <meta http-equiv='X-UA-Compatible' content='ie=edge'>
  61. \t";
  62.         // line 14
  63.         $this->loadTemplate("elements2024/favicon.html.twig""search_properties/elements/document_head.html.twig"14)->display($context);
  64.         // line 15
  65.         echo "
  66.   ";
  67.         // line 16
  68.         if (($context["extractCss"] ?? null)) {
  69.             // line 17
  70.             echo "  <link rel='stylesheet' href='";
  71.             if (($context["useWds"] ?? null)) {
  72.                 echo "http://localhost:9000/common.css";
  73.             } else {
  74.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("frontend/search/dist/common.css?v=1"), "html"nulltrue);
  75.             }
  76.             echo "'>
  77.   ";
  78.         }
  79.         // line 19
  80.         echo "
  81.   <script>
  82.     if (!document.fonts.check('16px helvetica neue')) {
  83.       const link = document.createElement('link')
  84.       link.setAttribute('rel', 'stylesheet')
  85.       link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
  86.       document.head.appendChild(link)
  87.     }
  88.   </script>";
  89.         // line 28
  90.         $this->loadTemplate("search_properties/elements/document_head.html.twig""search_properties/elements/document_head.html.twig"28"554542431")->display(twig_array_merge($context, ["seo" => ((twig_get_attribute($this->env$this->source,         // line 29
  91. ($context["extension"] ?? null), "seo", [], "any"truetruefalse29)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["extension"] ?? null), "seo", [], "any"falsefalsefalse29), [])) : ([])), "content" => ((        // line 30
  92. array_key_exists("content"$context)) ? (_twig_default_filter(($context["content"] ?? null), [])) : ([])), "urls" => ((        // line 31
  93. array_key_exists("urls"$context)) ? (_twig_default_filter(($context["urls"] ?? null), [])) : ([])), "shadowBaseLocale" => ((        // line 32
  94. array_key_exists("shadowBaseLocale"$context)) ? (_twig_default_filter(($context["shadowBaseLocale"] ?? null))) : ("")), "defaultLocale" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,         // line 33
  95. ($context["app"] ?? null), "request", [], "any"falsefalsefalse33), "locale", [], "any"falsefalsefalse33)]));
  96.         // line 46
  97.         echo "</head>
  98. <body>
  99.   ";
  100.         // line 50
  101.         $this->loadTemplate("search_properties/elements/sprite.html.twig""search_properties/elements/document_head.html.twig"50)->display($context);
  102.         
  103.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  104.         
  105.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  106.     }
  107.     public function getTemplateName()
  108.     {
  109.         return "search_properties/elements/document_head.html.twig";
  110.     }
  111.     public function isTraitable()
  112.     {
  113.         return false;
  114.     }
  115.     public function getDebugInfo()
  116.     {
  117.         return array (  114 => 50,  108 => 46,  106 => 33,  105 => 32,  104 => 31,  103 => 30,  102 => 29,  101 => 28,  91 => 19,  81 => 17,  79 => 16,  76 => 15,  74 => 14,  66 => 8,  64 => 3,  60 => 6,  54 => 5,  49 => 4,  47 => 3,  43 => 1,);
  118.     }
  119.     public function getSourceContext()
  120.     {
  121.         return new Source("<!DOCTYPE html>
  122. {% apply spaceless %}
  123. <html lang='{{app.request.getLocale()}}'
  124.   {% if documentClasses is not empty %} class='{{documentClasses}}'{% endif %}
  125. >
  126. {% endapply %}
  127. <head>
  128.   <meta charset='UTF-8'>
  129.   <meta name='viewport' content='width=device-width, initial-scale=1.0'>
  130.   <meta http-equiv='X-UA-Compatible' content='ie=edge'>
  131. \t{% include 'elements2024/favicon.html.twig' %}
  132.   {% if extractCss %}
  133.   <link rel='stylesheet' href='{% if useWds %}http://localhost:9000/common.css{% else %}{{ asset('frontend/search/dist/common.css?v=1') }}{% endif %}'>
  134.   {% endif %}
  135.   <script>
  136.     if (!document.fonts.check('16px helvetica neue')) {
  137.       const link = document.createElement('link')
  138.       link.setAttribute('rel', 'stylesheet')
  139.       link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
  140.       document.head.appendChild(link)
  141.     }
  142.   </script>
  143.   {%- embed '@SuluWebsite/Extension/seo.html.twig' with {
  144.     seo: extension.seo|default([]),
  145.     content: content|default([]),
  146.     urls: urls|default([]),
  147.     shadowBaseLocale: shadowBaseLocale|default(),
  148.     defaultLocale: app.request.locale
  149.   } -%}
  150.     {%- block canonical -%}
  151.     {#- Set canonical to itself if a bot clone the page -#}
  152.       <link rel=\"canonical\" href=\"{{ seoCanonical|default(URI) }}\"/>
  153.       <meta property=\"og:type\" content=\"website\" />
  154.       <meta property=\"og:title\" content=\"{{ seo.title|default(content.title|default()) }}\" />
  155.       <meta property=\"og:image\" content=\"{{ urlImgSeo }}\" />
  156.       <meta property=\"og:description\" content=\"{{ seo.description|default() }}\" />
  157.     {%- endblock -%}
  158.   {%- endembed -%}
  159. </head>
  160. <body>
  161.   {% include 'search_properties/elements/sprite.html.twig' %}""search_properties/elements/document_head.html.twig""/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/search_properties/elements/document_head.html.twig");
  162.     }
  163. }
  164. /* search_properties/elements/document_head.html.twig */
  165. class __TwigTemplate_a2969242a35fd379faa98d9fad256be3172b3c538c73add2480730a96f2692ac___554542431 extends Template
  166. {
  167.     private $source;
  168.     private $macros = [];
  169.     public function __construct(Environment $env)
  170.     {
  171.         parent::__construct($env);
  172.         $this->source $this->getSourceContext();
  173.         $this->blocks = [
  174.             'canonical' => [$this'block_canonical'],
  175.         ];
  176.     }
  177.     protected function doGetParent(array $context)
  178.     {
  179.         // line 28
  180.         return "@SuluWebsite/Extension/seo.html.twig";
  181.     }
  182.     protected function doDisplay(array $context, array $blocks = [])
  183.     {
  184.         $macros $this->macros;
  185.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  186.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""search_properties/elements/document_head.html.twig"));
  187.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""search_properties/elements/document_head.html.twig"));
  189.         $this->parent $this->loadTemplate("@SuluWebsite/Extension/seo.html.twig""search_properties/elements/document_head.html.twig"28);
  190.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  191.         
  192.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  193.         
  194.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  195.     }
  196.     // line 35
  197.     public function block_canonical($context, array $blocks = [])
  198.     {
  199.         $macros $this->macros;
  200.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  201.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  202.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  203.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""canonical"));
  204.         // line 37
  205.         echo "<link rel=\"canonical\" href=\"";
  206.         echo twig_escape_filter($this->env, ((array_key_exists("seoCanonical"$context)) ? (_twig_default_filter(($context["seoCanonical"] ?? null), ($context["URI"] ?? null))) : (($context["URI"] ?? null))), "html"nulltrue);
  207.         echo "\"/>
  208.       <meta property=\"og:type\" content=\"website\" />
  209.       <meta property=\"og:title\" content=\"";
  210.         // line 40
  211.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["seo"] ?? null), "title", [], "any"truetruefalse40)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["seo"] ?? null), "title", [], "any"falsefalsefalse40), ((twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse40)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"falsefalsefalse40))) : ("")))) : (((twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse40)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"falsefalsefalse40))) : ("")))), "html"nulltrue);
  212.         echo "\" />
  213.       <meta property=\"og:image\" content=\"";
  214.         // line 41
  215.         echo twig_escape_filter($this->env, ($context["urlImgSeo"] ?? null), "html"nulltrue);
  216.         echo "\" />
  217.       <meta property=\"og:description\" content=\"";
  218.         // line 42
  219.         echo twig_escape_filter($this->env, ((twig_get_attribute($this->env$this->source, ($context["seo"] ?? null), "description", [], "any"truetruefalse42)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["seo"] ?? null), "description", [], "any"falsefalsefalse42))) : ("")), "html"nulltrue);
  220.         echo "\" />";
  221.         
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  223.         
  224.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  225.     }
  226.     public function getTemplateName()
  227.     {
  228.         return "search_properties/elements/document_head.html.twig";
  229.     }
  230.     public function isTraitable()
  231.     {
  232.         return false;
  233.     }
  234.     public function getDebugInfo()
  235.     {
  236.         return array (  262 => 42,  258 => 41,  254 => 40,  247 => 37,  237 => 35,  214 => 28,  114 => 50,  108 => 46,  106 => 33,  105 => 32,  104 => 31,  103 => 30,  102 => 29,  101 => 28,  91 => 19,  81 => 17,  79 => 16,  76 => 15,  74 => 14,  66 => 8,  64 => 3,  60 => 6,  54 => 5,  49 => 4,  47 => 3,  43 => 1,);
  237.     }
  238.     public function getSourceContext()
  239.     {
  240.         return new Source("<!DOCTYPE html>
  241. {% apply spaceless %}
  242. <html lang='{{app.request.getLocale()}}'
  243.   {% if documentClasses is not empty %} class='{{documentClasses}}'{% endif %}
  244. >
  245. {% endapply %}
  246. <head>
  247.   <meta charset='UTF-8'>
  248.   <meta name='viewport' content='width=device-width, initial-scale=1.0'>
  249.   <meta http-equiv='X-UA-Compatible' content='ie=edge'>
  250. \t{% include 'elements2024/favicon.html.twig' %}
  251.   {% if extractCss %}
  252.   <link rel='stylesheet' href='{% if useWds %}http://localhost:9000/common.css{% else %}{{ asset('frontend/search/dist/common.css?v=1') }}{% endif %}'>
  253.   {% endif %}
  254.   <script>
  255.     if (!document.fonts.check('16px helvetica neue')) {
  256.       const link = document.createElement('link')
  257.       link.setAttribute('rel', 'stylesheet')
  258.       link.setAttribute('href', 'https://use.typekit.net/vmf1vfi.css')
  259.       document.head.appendChild(link)
  260.     }
  261.   </script>
  262.   {%- embed '@SuluWebsite/Extension/seo.html.twig' with {
  263.     seo: extension.seo|default([]),
  264.     content: content|default([]),
  265.     urls: urls|default([]),
  266.     shadowBaseLocale: shadowBaseLocale|default(),
  267.     defaultLocale: app.request.locale
  268.   } -%}
  269.     {%- block canonical -%}
  270.     {#- Set canonical to itself if a bot clone the page -#}
  271.       <link rel=\"canonical\" href=\"{{ seoCanonical|default(URI) }}\"/>
  272.       <meta property=\"og:type\" content=\"website\" />
  273.       <meta property=\"og:title\" content=\"{{ seo.title|default(content.title|default()) }}\" />
  274.       <meta property=\"og:image\" content=\"{{ urlImgSeo }}\" />
  275.       <meta property=\"og:description\" content=\"{{ seo.description|default() }}\" />
  276.     {%- endblock -%}
  277.   {%- endembed -%}
  278. </head>
  279. <body>
  280.   {% include 'search_properties/elements/sprite.html.twig' %}""search_properties/elements/document_head.html.twig""/home/clients/6069f7d890ad1893915d376cf7e5b903/var/www/bn-invest-commercial/templates/search_properties/elements/document_head.html.twig");
  281.     }
  282. }