var/cache/dev/twig/0e/0ecf0e708b2f89e996f215c56242bb3b4682201c218366086522805636f390de.php line 49

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* default/index.html.twig */
  15. class __TwigTemplate_cc43fe54d082cf1263df4dbf8262416a97934486d1fc890293ce741c91737c51 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'body' => [$this'block_body'],
  25.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 1
  30.         return "base.html.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/index.html.twig"));
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/index.html.twig"));
  39.         $this->parent $this->loadTemplate("base.html.twig""default/index.html.twig"1);
  40.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  43.         
  44.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  45.     }
  46.     // line 2
  47.     public function block_body($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  52.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  54.         // line 3
  55.         yield "
  56.     ";
  57.         // line 4
  58.         if (CoreExtension::getAttribute($this->env$this->source, (isset($context["global_content"]) || array_key_exists("global_content"$context) ? $context["global_content"] : (function () { throw new RuntimeError('Variable "global_content" does not exist.'4$this->source); })()), "isIe", [CoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->sourceCoreExtension::getAttribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'4$this->source); })()), "request", [], "any"falsefalsefalse4), "headers", [], "any"falsefalsefalse4), "get", ["User-Agent"], "method"falsefalsefalse4)], "method"falsefalsefalse4)) {
  59.             // line 5
  60.             yield "        <div style=\"
  61.             background-color: red;
  62.             color: white;
  63.             padding: 10px;
  64.             text-align: center;
  65.             width: 500px;
  66.             margin: auto;
  67.             border: double white;
  68.             margin-top: 150px;
  69.         \">
  70.             <p>
  71.                 ";
  72.             // line 16
  73.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Unfortunately, you'r browser is not support", [], "messages");
  74.             // line 17
  75.             yield "            </p>
  76.             <p>
  77.                 ";
  78.             // line 19
  79.             yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Please, use last versions of", [], "messages");
  80.             yield " Firefox, Opera, Chrome, Safari ";
  81.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("or"), "html"nulltrue);
  82.             yield " Microsoft Edge
  83.             </p>
  84.         </div>
  85.     ";
  86.         } else {
  87.             // line 23
  88.             yield "        <div id=\"root\">
  89.             <style>
  90.                 html, body {
  91.                     height: 100%;
  92.                 }
  93.                 #cube-loader {
  94.                     align-items: center;
  95.                     display: flex;
  96.                     height: 100%;
  97.                     width: 100%;
  98.                     position: fixed;
  99.                 }
  100.                 #cube-loader .caption {
  101.                     margin: 0 auto;
  102.                 }
  103.                 #cube-loader .cube-loader {
  104.                     width: 73px;
  105.                     height: 73px;
  106.                     margin: 0 auto;
  107.                     margin-top: 49px;
  108.                     position: relative;
  109.                     transform: rotateZ(45deg);
  110.                 }
  111.                 #cube-loader .cube-loader .cube {
  112.                     position: relative;
  113.                     transform: rotateZ(45deg);
  114.                     width: 50%;
  115.                     height: 50%;
  116.                     float: left;
  117.                     transform: scale(1.1);
  118.                 }
  119.                 #cube-loader .cube-loader .cube:before {
  120.                     content: \"\";
  121.                     position: absolute;
  122.                     top: 0;
  123.                     left: 0;
  124.                     width: 100%;
  125.                     height: 100%;
  126.                     background-color: #2E3192;
  127.                     animation: cube-loader 2.76s infinite linear both;
  128.                     transform-origin: 100% 100%;
  129.                 }
  130.                 #cube-loader .cube-loader .loader-2 {
  131.                     transform: scale(1.1) rotateZ(90deg);
  132.                 }
  133.                 #cube-loader .cube-loader .loader-3 {
  134.                     transform: scale(1.1) rotateZ(180deg);
  135.                 }
  136.                 #cube-loader .cube-loader .loader-4 {
  137.                     transform: scale(1.1) rotateZ(270deg);
  138.                 }
  139.                 #cube-loader .cube-loader .loader-2:before {
  140.                     animation-delay: 0.35s;
  141.                 }
  142.                 #cube-loader .cube-loader .loader-3:before {
  143.                     animation-delay: 0.69s;
  144.                 }
  145.                 #cube-loader .cube-loader .loader-4:before {
  146.                     animation-delay: 1.04s;
  147.                 }
  148.                 @keyframes cube-loader {
  149.                     0%, 10% {
  150.                         transform: perspective(136px) rotateX(-180deg);
  151.                         opacity: 0;
  152.                     }
  153.                     25%, 75% {
  154.                         transform: perspective(136px) rotateX(0deg);
  155.                         opacity: 1;
  156.                     }
  157.                     90%, 100% {
  158.                         transform: perspective(136px) rotateY(180deg);
  159.                         opacity: 0;
  160.                     }
  161.                 }
  162.             </style>
  163.             <div id=\"cube-loader\">
  164.                 <div class=\"caption\">
  165.                     <div class=\"cube-loader\">
  166.                         <div class=\"cube loader-1\"></div>
  167.                         <div class=\"cube loader-2\"></div>
  168.                         <div class=\"cube loader-4\"></div>
  169.                         <div class=\"cube loader-3\"></div>
  170.                     </div>
  171.                 </div>
  172.             </div>
  173.         </div>
  174.     ";
  175.         }
  176.         // line 123
  177.         yield "
  178. ";
  179.         
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  181.         
  182.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  183.         return; yield '';
  184.     }
  185.     /**
  186.      * @codeCoverageIgnore
  187.      */
  188.     public function getTemplateName()
  189.     {
  190.         return "default/index.html.twig";
  191.     }
  192.     /**
  193.      * @codeCoverageIgnore
  194.      */
  195.     public function isTraitable()
  196.     {
  197.         return false;
  198.     }
  199.     /**
  200.      * @codeCoverageIgnore
  201.      */
  202.     public function getDebugInfo()
  203.     {
  204.         return array (  204 => 123,  102 => 23,  93 => 19,  89 => 17,  87 => 16,  74 => 5,  72 => 4,  69 => 3,  59 => 2,  36 => 1,);
  205.     }
  206.     public function getSourceContext()
  207.     {
  208.         return new Source("{% extends 'base.html.twig' %}
  209. {% block body %}
  210.     {% if(global_content.isIe(app.request.headers.get('User-Agent'))) %}
  211.         <div style=\"
  212.             background-color: red;
  213.             color: white;
  214.             padding: 10px;
  215.             text-align: center;
  216.             width: 500px;
  217.             margin: auto;
  218.             border: double white;
  219.             margin-top: 150px;
  220.         \">
  221.             <p>
  222.                 {% trans %}Unfortunately, you'r browser is not support{% endtrans %}
  223.             </p>
  224.             <p>
  225.                 {% trans %}Please, use last versions of{% endtrans %} Firefox, Opera, Chrome, Safari {{ 'or'|trans }} Microsoft Edge
  226.             </p>
  227.         </div>
  228.     {% else %}
  229.         <div id=\"root\">
  230.             <style>
  231.                 html, body {
  232.                     height: 100%;
  233.                 }
  234.                 #cube-loader {
  235.                     align-items: center;
  236.                     display: flex;
  237.                     height: 100%;
  238.                     width: 100%;
  239.                     position: fixed;
  240.                 }
  241.                 #cube-loader .caption {
  242.                     margin: 0 auto;
  243.                 }
  244.                 #cube-loader .cube-loader {
  245.                     width: 73px;
  246.                     height: 73px;
  247.                     margin: 0 auto;
  248.                     margin-top: 49px;
  249.                     position: relative;
  250.                     transform: rotateZ(45deg);
  251.                 }
  252.                 #cube-loader .cube-loader .cube {
  253.                     position: relative;
  254.                     transform: rotateZ(45deg);
  255.                     width: 50%;
  256.                     height: 50%;
  257.                     float: left;
  258.                     transform: scale(1.1);
  259.                 }
  260.                 #cube-loader .cube-loader .cube:before {
  261.                     content: \"\";
  262.                     position: absolute;
  263.                     top: 0;
  264.                     left: 0;
  265.                     width: 100%;
  266.                     height: 100%;
  267.                     background-color: #2E3192;
  268.                     animation: cube-loader 2.76s infinite linear both;
  269.                     transform-origin: 100% 100%;
  270.                 }
  271.                 #cube-loader .cube-loader .loader-2 {
  272.                     transform: scale(1.1) rotateZ(90deg);
  273.                 }
  274.                 #cube-loader .cube-loader .loader-3 {
  275.                     transform: scale(1.1) rotateZ(180deg);
  276.                 }
  277.                 #cube-loader .cube-loader .loader-4 {
  278.                     transform: scale(1.1) rotateZ(270deg);
  279.                 }
  280.                 #cube-loader .cube-loader .loader-2:before {
  281.                     animation-delay: 0.35s;
  282.                 }
  283.                 #cube-loader .cube-loader .loader-3:before {
  284.                     animation-delay: 0.69s;
  285.                 }
  286.                 #cube-loader .cube-loader .loader-4:before {
  287.                     animation-delay: 1.04s;
  288.                 }
  289.                 @keyframes cube-loader {
  290.                     0%, 10% {
  291.                         transform: perspective(136px) rotateX(-180deg);
  292.                         opacity: 0;
  293.                     }
  294.                     25%, 75% {
  295.                         transform: perspective(136px) rotateX(0deg);
  296.                         opacity: 1;
  297.                     }
  298.                     90%, 100% {
  299.                         transform: perspective(136px) rotateY(180deg);
  300.                         opacity: 0;
  301.                     }
  302.                 }
  303.             </style>
  304.             <div id=\"cube-loader\">
  305.                 <div class=\"caption\">
  306.                     <div class=\"cube-loader\">
  307.                         <div class=\"cube loader-1\"></div>
  308.                         <div class=\"cube loader-2\"></div>
  309.                         <div class=\"cube loader-4\"></div>
  310.                         <div class=\"cube loader-3\"></div>
  311.                     </div>
  312.                 </div>
  313.             </div>
  314.         </div>
  315.     {% endif %}
  316. {% endblock %}
  317. ""default/index.html.twig""/var/www/b2bstore/sexopt.b2bstore.com.ua/templates/default/index.html.twig");
  318.     }
  319. }