var/cache/dev/twig/71/714bddffb8d2c6538985f667eb022412.php line 193

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. use Twig\TemplateWrapper;
  15. /* @Portal/base.html.twig */
  16. class __TwigTemplate_9a874dba8395e99130faff04341b835d extends Template
  17. {
  18.     private Source $source;
  19.     /**
  20.      * @var array<string, Template>
  21.      */
  22.     private array $macros = [];
  23.     public function __construct(Environment $env)
  24.     {
  25.         parent::__construct($env);
  26.         $this->source $this->getSourceContext();
  27.         $this->blocks = [
  28.             'head' => [$this'block_head'],
  29.             'seo' => [$this'block_seo'],
  30.             'body' => [$this'block_body'],
  31.             'content' => [$this'block_content'],
  32.             'css' => [$this'block_css'],
  33.             'coreBottomJs' => [$this'block_coreBottomJs'],
  34.             'pageJS' => [$this'block_pageJS'],
  35.             'suChatJS' => [$this'block_suChatJS'],
  36.         ];
  37.     }
  38.     protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  39.     {
  40.         // line 1
  41.         return "@Core/DCSite/core-dc-template.html.twig";
  42.     }
  43.     protected function doDisplay(array $context, array $blocks = []): iterable
  44.     {
  45.         $macros $this->macros;
  46.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  47.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Portal/base.html.twig"));
  48.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  49.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Portal/base.html.twig"));
  50.         $this->parent $this->load("@Core/DCSite/core-dc-template.html.twig"1);
  51.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  52.         
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  54.         
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  56.     }
  57.     // line 3
  58.     /**
  59.      * @return iterable<null|scalar|\Stringable>
  60.      */
  61.     public function block_head(array $context, array $blocks = []): iterable
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""head"));
  68.         // line 4
  69.         yield "    <meta name=\"google-site-verification\" content=\"VQNmMzLlDoUUKSHDh_Bno6EG39hJYE9s0beA96Dk_vM\"/>
  70.     <meta name=\"facebook-domain-verification\" content=\"zepah08oy5mc696rqnli2tv1jvovt1\"/>
  71.     ";
  72.         // line 6
  73.         yield from $this->unwrap()->yieldBlock('seo'$context$blocks);
  74.         // line 10
  75.         yield "    ";
  76.         yield from $this->load("@Core/Core/preloader_style.html.twig"10)->unwrap()->yield($context);
  77.         // line 11
  78.         yield "    <meta charset=\"utf-8\">
  79.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
  80.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
  81.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
  82.     <link rel=\"manifest\" href=\"/manifest.json\">
  83.     <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#5bbad5\">
  84.     <meta name=\"theme-color\" content=\"#ffffff\">
  85.     <meta name=\"google-site-verification\" content=\"ZnHsXhGdFYfiT15Ky8MUnybMBxinpxLLyl1YX0gInAs\"/>
  86.     <script type=\"text/javascript\" src=\"";
  87.         // line 21
  88.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/insurance/js/jquery.min.js"), "html"nulltrue);
  89.         yield "\"></script>
  90.     ";
  91.         // line 22
  92.         yield from $this->load("@Core/Core/preloader.html.twig"22)->unwrap()->yield($context);
  93.         // line 23
  94.         yield "
  95.     ";
  96.         // line 24
  97.         yield from $this->load("@DcSite/Modules/google-tag-manager.html.twig"24)->unwrap()->yield(CoreExtension::merge($context, ["domain" => "vidi.ua""gtmIdCode" => "GTM-TK6DGWW"]));
  98.         // line 25
  99.         yield "
  100. ";
  101.         
  102.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  103.         
  104.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  105.         yield from [];
  106.     }
  107.     // line 6
  108.     /**
  109.      * @return iterable<null|scalar|\Stringable>
  110.      */
  111.     public function block_seo(array $context, array $blocks = []): iterable
  112.     {
  113.         $macros $this->macros;
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  115.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  117.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""seo"));
  118.         // line 7
  119.         yield "        <title>";
  120.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.main.title", [], "portal_base"), "html"nulltrue);
  121.         yield "</title>
  122.         <meta name=\"description\" content=\"";
  123.         // line 8
  124.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("seo.main.description", [], "portal_base"), "html"nulltrue);
  125.         yield "\"/>
  126.     ";
  127.         
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  129.         
  130.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  131.         yield from [];
  132.     }
  133.     // line 28
  134.     /**
  135.      * @return iterable<null|scalar|\Stringable>
  136.      */
  137.     public function block_body(array $context, array $blocks = []): iterable
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  144.         // line 29
  145.         yield "    ";
  146.         if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS"$context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.'29$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  147.             // line 30
  148.             yield "    <!-- Google Tag Manager (noscript) -->
  149.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  150.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  151.     <!-- End Google Tag Manager (noscript) -->
  152.     ";
  153.         }
  154.         // line 35
  155.         yield "    ";
  156.         // line 36
  157.         yield "    ";
  158.         yield from $this->load("@Portal/header-top-bar.html.twig"36)->unwrap()->yield(CoreExtension::merge($context, ["announcementBar" => (isset($context["announcementBar"]) || array_key_exists("announcementBar"$context) ? $context["announcementBar"] : (function () { throw new RuntimeError('Variable "announcementBar" does not exist.'36$this->source); })())]));
  159.         // line 37
  160.         yield "
  161.     ";
  162.         // line 39
  163.         yield from $this->load("@Portal/new-header.html.twig"39)->unwrap()->yield($context);
  164.         // line 40
  165.         yield "    ";
  166.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  167.         // line 42
  168.         yield "    <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  169.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/portal/css/modules/contacts-call.css"), "html"nulltrue);
  170.         yield "\">
  171.     ";
  172.         // line 43
  173.         yield from $this->load("@Portal/Modules/callback-vidi.html.twig"43)->unwrap()->yield($context);
  174.         // line 44
  175.         yield "    ";
  176.         yield from $this->load("@DcSite/Modules/callback/widget.html.twig"44)->unwrap()->yield($context);
  177.         // line 46
  178.         yield "    ";
  179.         yield from $this->load("@Portal/footer.html.twig"46)->unwrap()->yield($context);
  180.         // line 47
  181.         yield "    ";
  182.         yield from $this->load("@Portal/Modules/sps-popup-portal.html.twig"47)->unwrap()->yield($context);
  183.         // line 48
  184.         yield "    ";
  185.         yield from $this->load("@Portal/header-canvas-left.html.twig"48)->unwrap()->yield($context);
  186.         // line 49
  187.         yield "    ";
  188.         yield from $this->load("@Portal/arrow-top.html.twig"49)->unwrap()->yield($context);
  189.         // line 50
  190.         yield "    ";
  191.         yield from $this->load("@My/Modules/cookies-warning.html.twig"50)->unwrap()->yield(CoreExtension::merge($context, ["usePortalCookiesCss" => true]));
  192.         // line 51
  193.         yield "
  194.     ";
  195.         // line 53
  196.         yield from $this->unwrap()->yieldBlock('css'$context$blocks);
  197.         // line 56
  198.         yield "    ";
  199.         if ((($tmp = (isset($context["INCLUDE_ANALYTICS"]) || array_key_exists("INCLUDE_ANALYTICS"$context) ? $context["INCLUDE_ANALYTICS"] : (function () { throw new RuntimeError('Variable "INCLUDE_ANALYTICS" does not exist.'56$this->source); })())) && $tmp instanceof Markup ? (string) $tmp $tmp)) {
  200.             // line 57
  201.             yield "    <!-- Google Tag Manager (noscript) -->
  202.     <noscript>
  203.         <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  204.                 height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  205.     </noscript>
  206.     <!-- Facebook Pixel Code -->
  207.     <script>
  208.         !function (f, b, e, v, n, t, s) {
  209.             if (f.fbq) return;
  210.             n = f.fbq = function () {
  211.                 n.callMethod ?
  212.                     n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  213.             };
  214.             if (!f._fbq) f._fbq = n;
  215.             n.push = n;
  216.             n.loaded = !0;
  217.             n.version = '2.0';
  218.             n.queue = [];
  219.             t = b.createElement(e);
  220.             t.async = !0;
  221.             t.src = v;
  222.             s = b.getElementsByTagName(e)[0];
  223.             s.parentNode.insertBefore(t, s)
  224.         }(window, document, 'script',
  225.             'https://connect.facebook.net/en_US/fbevents.js');
  226.         fbq('init', '2565496603726688');
  227.         fbq('track', 'PageView');
  228.     </script>
  229.     ";
  230.         }
  231.         
  232.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  233.         
  234.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  235.         yield from [];
  236.     }
  237.     // line 40
  238.     /**
  239.      * @return iterable<null|scalar|\Stringable>
  240.      */
  241.     public function block_content(array $context, array $blocks = []): iterable
  242.     {
  243.         $macros $this->macros;
  244.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  245.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  246.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  247.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  248.         // line 41
  249.         yield "    ";
  250.         
  251.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  252.         
  253.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  254.         yield from [];
  255.     }
  256.     // line 53
  257.     /**
  258.      * @return iterable<null|scalar|\Stringable>
  259.      */
  260.     public function block_css(array $context, array $blocks = []): iterable
  261.     {
  262.         $macros $this->macros;
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  264.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  266.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""css"));
  267.         // line 54
  268.         yield "
  269.     ";
  270.         
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  272.         
  273.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  274.         yield from [];
  275.     }
  276.     // line 88
  277.     /**
  278.      * @return iterable<null|scalar|\Stringable>
  279.      */
  280.     public function block_coreBottomJs(array $context, array $blocks = []): iterable
  281.     {
  282.         $macros $this->macros;
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  284.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""coreBottomJs"));
  285.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  286.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""coreBottomJs"));
  287.         // line 89
  288.         yield "    <script>
  289.         app.onCustomEvent('appInit', function () {
  290.             app.loadCss('";
  291.         // line 91
  292.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/style.css"), "html"nulltrue);
  293.         yield "');
  294.             app.loadCss('";
  295.         // line 92
  296.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/new/style.css"), "html"nulltrue);
  297.         yield "');
  298.             app.loadCss('";
  299.         // line 93
  300.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/new/base.css"), "html"nulltrue);
  301.         yield "');
  302.             app.loadCss('";
  303.         // line 94
  304.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/modules/btn.css"), "html"nulltrue);
  305.         yield "');
  306.             app.loadCss('";
  307.         // line 95
  308.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/new-header.css"), "html"nulltrue);
  309.         yield "');
  310.             app.loadCss('";
  311.         // line 96
  312.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/menu.css"), "html"nulltrue);
  313.         yield "');
  314.             app.loadCss('";
  315.         // line 97
  316.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/portal/css/lead-magnets.css"), "html"nulltrue);
  317.         yield "');
  318.             app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
  319.             app.loadCss('";
  320.         // line 99
  321.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/bundles/dcsite/css/modules/callback/timer-call.css"), "html"nulltrue);
  322.         yield "');
  323.             app.loadJs('/bundles/portal/js/callback-vidi.js', function () {
  324.                 callbackVIDI({
  325.                     createCallbackUrl: '";
  326.         // line 103
  327.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_create_request");
  328.         yield "',
  329.                     getDepartmentUrl: '";
  330.         // line 104
  331.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_department_vidi");
  332.         yield "',
  333.                     getCallbackStateUrl: '";
  334.         // line 105
  335.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("callback_widget_get_state");
  336.         yield "',
  337.                     privacyUrl: '";
  338.         // line 106
  339.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_privacy_policy");
  340.         yield "',
  341.                     callBackMinute: '";
  342.         // line 107
  343.         yield $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.title", [], "dc_base");
  344.         yield "',
  345.                     callBackWorkingHours: '";
  346.         // line 108
  347.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("callback_widget.working_hours", [], "dc_base"), "html"nulltrue);
  348.         yield "',
  349.                 });
  350.             });
  351.             app.loadJs('";
  352.         // line 112
  353.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("bundles/my/js/cookies-warning.js"), "html"nulltrue);
  354.         yield "', function () {
  355.                 initCookiesWarning({
  356.                     policyUrl: \"";
  357.         // line 114
  358.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("portal_privacy_policy");
  359.         yield "\",
  360.                     site: 'VIDI.UA',
  361.                 });
  362.             });
  363.             if (\$.fn.mask) {
  364.                 \$('.phone.form-control').mask('+38(999)999-99-99');
  365.             }
  366.             \$(\".open-canvas-menu\").click(function () {
  367.                 \$('.dealer').addClass(\"over-f-none\")
  368.             })
  369.             \$(\".open-canvas-menu\").click(function () {
  370.                 \$('.canvas-menu').addClass(\"canvas-menu-active\")
  371.             })
  372.             \$(\".close-canvas-menu\").click(function () {
  373.                 \$('.canvas-menu').removeClass(\"canvas-menu-active\")
  374.             })
  375.             \$(\".canvas-overlay\").click(function () {
  376.                 \$('.canvas-menu').removeClass(\"canvas-menu-active\")
  377.             });
  378.             \$(\".canvas-overlay\").click(function () {
  379.                 \$('.dealer').removeClass(\"over-f-none\")
  380.             });
  381.             \$(\".close-canvas-menu\").click(function () {
  382.                 \$('.dealer').removeClass(\"over-f-none\")
  383.             });
  384.             \$('#vidiCorePreload').hide();
  385.             setTimeout(function () {
  386.                 \$('#vidiCorePreload').hide();
  387.             }, 2000);
  388.             \$(\".search-icon-mobile\").click(function () {
  389.                 \$(\".search-mobile\").toggleClass(\"active\");
  390.             });
  391.             \$('.dropdown-menu').on('click', function (e) {
  392.                 if (\$(this).hasClass('dropdown-menu-open')) {
  393.                     e.stopPropagation();
  394.                 }
  395.             });
  396.             \$('.navbar-toggler').on('click', function () {
  397.                 \$(this).toggleClass('collapsed');
  398.                 \$('#mainNav').toggleClass('collapse');
  399.                 \$('body').toggleClass('lock');
  400.             });
  401.             /*PAGES FIXED MENU SCROLL*/
  402.             jQuery(window).scroll(function () {
  403.                 var \$sections = \$('section');
  404.                 \$sections.each(function (i, el) {
  405.                     var top = \$(el).offset().top - 100;
  406.                     var bottom = top + \$(el).height();
  407.                     var scroll = \$(window).scrollTop();
  408.                     var id = \$(el).attr('id');
  409.                     if (scroll > top && scroll < bottom) {
  410.                         \$('.pages-menu-fixed a.active').removeClass('active');
  411.                         \$('.pages-menu-fixed a[href=\"#' + id + '\"]').addClass('active');
  412.                     }
  413.                 })
  414.             });
  415.             \$(\".pages-menu-fixed\").on(\"click\", \"a\", function (event) {
  416.                 event.preventDefault();
  417.                 var id = \$(this).attr('href');
  418.                 if (\$(id).length == 0) {
  419.                     return false;
  420.                 }
  421.                 var top = \$(id).offset().top - 30;
  422.                 \$('body,html').animate({scrollTop: top}, 800);
  423.             });
  424.             \$(\"#showLeadsBtn\").on(\"click\", function () {
  425.                 \$(\"#lead-magnets\").css(\"position\", \"inherit\"), \$(\"#lead-magnets-wr\").removeClass(\"d-none\")
  426.             }), \$(\"#lead-magnets-wr .close\").on(\"click\", function () {
  427.                 \$(\"#lead-magnets\").css(\"position\", \"fixed\"), \$(\"#lead-magnets-wr\").addClass(\"d-none\")
  428.             }), \$(\".lead-magnets-group a.lead-magnet-static\").on(\"click\", function () {
  429.                 \$(\"#lead-magnets\").css(\"position\", \"fixed\"), \$(\"#lead-magnets-wr\").addClass(\"d-none\")
  430.             });
  431.             (function () {
  432.                 \"use strict\";
  433.                 var toggles = document.querySelectorAll(\".c-hamburger\");
  434.                 for (var i = toggles.length - 1; i >= 0; i--) {
  435.                     var toggle = toggles[i];
  436.                     toggleHandler(toggle);
  437.                 }
  438.                 ;
  439.                 function toggleHandler(toggle) {
  440.                     toggle.addEventListener(\"click\", function (e) {
  441.                         e.preventDefault();
  442.                         (this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
  443.                     });
  444.                 }
  445.             })();
  446.             \$('.js-scroll-link').click(function (e) {
  447.                 e.preventDefault();
  448.                 var blockId = \$(this).attr('href');
  449.                 \$('html, body').stop().animate({
  450.                     scrollTop: \$(blockId).offset().top - 50
  451.                 }, 750);
  452.             });
  453.         });
  454.         window.hj = window.hj || function () {
  455.             (hj.q = hj.q || []).push(arguments)
  456.         };
  457.         \$('#loginBtn').click(function () {
  458.             hj('tagRecording', ['tag1', 'tag2']);
  459.         });
  460.         // burger menu
  461.         let mobileMenu = document.querySelector(\".nav-mobile-menu\");
  462.         let mainMenu = document.querySelector(\".header__nav\");
  463.         mobileMenu.addEventListener('click', function () {
  464.             mobileMenu.classList.toggle(\"active-menu\");
  465.             if (mobileMenu.classList.contains(\"active-menu\")) {
  466.                 mainMenu.classList.add(\"active-menu\")
  467.             } else {
  468.                 mainMenu.classList.remove(\"active-menu\")
  469.             }
  470.         });
  471.         \$(\".dropbtn\").on(\"click\", function (e) {
  472.             e.preventDefault();
  473.             let \$this = \$(this);
  474.             if (!\$this.hasClass(\"active\")) {
  475.                 \$(\".dropbtn\").removeClass(\"active\");
  476.             }
  477.             \$this.toggleClass(\"active\");
  478.         });
  479.         \$(\".nav-mobile-menu\").click(function () {
  480.             \$('body').toggleClass(\"overflow-hidden\");
  481.         });
  482.         \$(\"#closePopup\").click(function () {
  483.             \$('#modalSuccessMessagePopup').modal('hide');
  484.         });
  485.     // Плашка Анонс бар
  486.     document.addEventListener(\"DOMContentLoaded\", function() {
  487.         const charityBar = document.querySelector('.charity_die');
  488.         const closeBtn = document.querySelector('.charity_btn_close');
  489.         const sessionKey = 'charityBarHidden';
  490.         if (sessionStorage.getItem(sessionKey)) {
  491.             charityBar.classList.add('charity_die_hiden');
  492.         } else {
  493.             charityBar.classList.remove('charity_die_hiden');
  494.         }
  495.         closeBtn.addEventListener('click', function() {
  496.             charityBar.classList.add('charity_die_hiden');
  497.             sessionStorage.setItem(sessionKey, 'charity_die_hiden');
  498.         });
  499.     });
  500.     </script>
  501.     ";
  502.         // line 283
  503.         yield from $this->unwrap()->yieldBlock('pageJS'$context$blocks);
  504.         // line 285
  505.         yield "    ";
  506.         yield from $this->unwrap()->yieldBlock('suChatJS'$context$blocks);
  507.         // line 287
  508.         yield "
  509. ";
  510.         
  511.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  512.         
  513.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  514.         yield from [];
  515.     }
  516.     // line 283
  517.     /**
  518.      * @return iterable<null|scalar|\Stringable>
  519.      */
  520.     public function block_pageJS(array $context, array $blocks = []): iterable
  521.     {
  522.         $macros $this->macros;
  523.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  524.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  525.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  526.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  527.         // line 284
  528.         yield "    ";
  529.         
  530.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  531.         
  532.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  533.         yield from [];
  534.     }
  535.     // line 285
  536.     /**
  537.      * @return iterable<null|scalar|\Stringable>
  538.      */
  539.     public function block_suChatJS(array $context, array $blocks = []): iterable
  540.     {
  541.         $macros $this->macros;
  542.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  543.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""suChatJS"));
  544.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  545.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""suChatJS"));
  546.         // line 286
  547.         yield "    ";
  548.         
  549.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  550.         
  551.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  552.         yield from [];
  553.     }
  554.     /**
  555.      * @codeCoverageIgnore
  556.      */
  557.     public function getTemplateName(): string
  558.     {
  559.         return "@Portal/base.html.twig";
  560.     }
  561.     /**
  562.      * @codeCoverageIgnore
  563.      */
  564.     public function isTraitable(): bool
  565.     {
  566.         return false;
  567.     }
  568.     /**
  569.      * @codeCoverageIgnore
  570.      */
  571.     public function getDebugInfo(): array
  572.     {
  573.         return array (  629 => 286,  616 => 285,  605 => 284,  592 => 283,  580 => 287,  577 => 285,  575 => 283,  403 => 114,  398 => 112,  391 => 108,  387 => 107,  383 => 106,  379 => 105,  375 => 104,  371 => 103,  364 => 99,  359 => 97,  355 => 96,  351 => 95,  347 => 94,  343 => 93,  339 => 92,  335 => 91,  331 => 89,  318 => 88,  306 => 54,  293 => 53,  282 => 41,  269 => 40,  229 => 57,  226 => 56,  224 => 53,  220 => 51,  217 => 50,  214 => 49,  211 => 48,  208 => 47,  205 => 46,  202 => 44,  200 => 43,  195 => 42,  192 => 40,  190 => 39,  186 => 37,  183 => 36,  181 => 35,  174 => 30,  171 => 29,  158 => 28,  145 => 8,  140 => 7,  127 => 6,  115 => 25,  113 => 24,  110 => 23,  108 => 22,  104 => 21,  92 => 11,  89 => 10,  87 => 6,  83 => 4,  70 => 3,  47 => 1,);
  574.     }
  575.     public function getSourceContext(): Source
  576.     {
  577.         return new Source("{% extends '@Core/DCSite/core-dc-template.html.twig' %}
  578. {% block head %}
  579.     <meta name=\"google-site-verification\" content=\"VQNmMzLlDoUUKSHDh_Bno6EG39hJYE9s0beA96Dk_vM\"/>
  580.     <meta name=\"facebook-domain-verification\" content=\"zepah08oy5mc696rqnli2tv1jvovt1\"/>
  581.     {% block seo %}
  582.         <title>{{ 'seo.main.title'|trans({},'portal_base') }}</title>
  583.         <meta name=\"description\" content=\"{{ 'seo.main.description'|trans({},'portal_base') }}\"/>
  584.     {% endblock seo %}
  585.     {% include '@Core/Core/preloader_style.html.twig' %}
  586.     <meta charset=\"utf-8\">
  587.     <link rel=\"apple-touch-icon\" sizes=\"180x180\" href=\"/apple-touch-icon.ico\">
  588.     <link rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/icon-32x32.png\">
  589.     <link rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/icon-16x16.png\">
  590.     <link rel=\"manifest\" href=\"/manifest.json\">
  591.     <link rel=\"mask-icon\" href=\"/safari-pinned-tab.svg\" color=\"#5bbad5\">
  592.     <meta name=\"theme-color\" content=\"#ffffff\">
  593.     <meta name=\"google-site-verification\" content=\"ZnHsXhGdFYfiT15Ky8MUnybMBxinpxLLyl1YX0gInAs\"/>
  594.     <script type=\"text/javascript\" src=\"{{ asset('bundles/insurance/js/jquery.min.js') }}\"></script>
  595.     {% include '@Core/Core/preloader.html.twig' %}
  596.     {% include '@DcSite/Modules/google-tag-manager.html.twig' with { 'domain': 'vidi.ua', 'gtmIdCode': 'GTM-TK6DGWW' } %}
  597. {% endblock head %}
  598. {% block body %}
  599.     {% if INCLUDE_ANALYTICS %}
  600.     <!-- Google Tag Manager (noscript) -->
  601.     <noscript><iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  602.                       height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe></noscript>
  603.     <!-- End Google Tag Manager (noscript) -->
  604.     {% endif %}
  605.     {# Плашка Анонс бар #}
  606.     {% include '@Portal/header-top-bar.html.twig' with {'announcementBar' : announcementBar} %}
  607.     {% include '@Portal/new-header.html.twig' %}
  608.     {% block content %}
  609.     {% endblock content %}
  610.     <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('bundles/portal/css/modules/contacts-call.css') }}\">
  611.     {% include '@Portal/Modules/callback-vidi.html.twig' %}
  612.     {% include '@DcSite/Modules/callback/widget.html.twig' %}
  613. {#    {% include '@Portal/Modules/help-crunch.html.twig' %}#}
  614.     {% include '@Portal/footer.html.twig' %}
  615.     {% include '@Portal/Modules/sps-popup-portal.html.twig' %}
  616.     {% include '@Portal/header-canvas-left.html.twig' %}
  617.     {% include '@Portal/arrow-top.html.twig' %}
  618.     {% include '@My/Modules/cookies-warning.html.twig' with { 'usePortalCookiesCss': true } %}
  619.     {% block css %}
  620.     {% endblock %}
  621.     {% if INCLUDE_ANALYTICS %}
  622.     <!-- Google Tag Manager (noscript) -->
  623.     <noscript>
  624.         <iframe src=\"https://www.googletagmanager.com/ns.html?id=GTM-TK6DGWW\"
  625.                 height=\"0\" width=\"0\" style=\"display:none;visibility:hidden\"></iframe>
  626.     </noscript>
  627.     <!-- Facebook Pixel Code -->
  628.     <script>
  629.         !function (f, b, e, v, n, t, s) {
  630.             if (f.fbq) return;
  631.             n = f.fbq = function () {
  632.                 n.callMethod ?
  633.                     n.callMethod.apply(n, arguments) : n.queue.push(arguments)
  634.             };
  635.             if (!f._fbq) f._fbq = n;
  636.             n.push = n;
  637.             n.loaded = !0;
  638.             n.version = '2.0';
  639.             n.queue = [];
  640.             t = b.createElement(e);
  641.             t.async = !0;
  642.             t.src = v;
  643.             s = b.getElementsByTagName(e)[0];
  644.             s.parentNode.insertBefore(t, s)
  645.         }(window, document, 'script',
  646.             'https://connect.facebook.net/en_US/fbevents.js');
  647.         fbq('init', '2565496603726688');
  648.         fbq('track', 'PageView');
  649.     </script>
  650.     {% endif %}
  651. {% endblock body %}
  652. {% block coreBottomJs %}
  653.     <script>
  654.         app.onCustomEvent('appInit', function () {
  655.             app.loadCss('{{ asset('/bundles/portal/css/style.css') }}');
  656.             app.loadCss('{{ asset('/bundles/portal/css/new/style.css') }}');
  657.             app.loadCss('{{ asset('/bundles/portal/css/new/base.css') }}');
  658.             app.loadCss('{{ asset('/bundles/portal/css/modules/btn.css') }}');
  659.             app.loadCss('{{ asset('/bundles/portal/css/new-header.css') }}');
  660.             app.loadCss('{{ asset('/bundles/portal/css/menu.css') }}');
  661.             app.loadCss('{{ asset('/bundles/portal/css/lead-magnets.css') }}');
  662.             app.loadCss('https://use.fontawesome.com/releases/v5.2.0/css/all.css');
  663.             app.loadCss('{{ asset('/bundles/dcsite/css/modules/callback/timer-call.css') }}');
  664.             app.loadJs('/bundles/portal/js/callback-vidi.js', function () {
  665.                 callbackVIDI({
  666.                     createCallbackUrl: '{{ path('callback_widget_create_request') }}',
  667.                     getDepartmentUrl: '{{ path('callback_widget_department_vidi') }}',
  668.                     getCallbackStateUrl: '{{ path('callback_widget_get_state') }}',
  669.                     privacyUrl: '{{ path('portal_privacy_policy') }}',
  670.                     callBackMinute: '{{ 'callback_widget.title'|trans({}, 'dc_base')|raw }}',
  671.                     callBackWorkingHours: '{{ 'callback_widget.working_hours'|trans({}, 'dc_base') }}',
  672.                 });
  673.             });
  674.             app.loadJs('{{ asset('bundles/my/js/cookies-warning.js') }}', function () {
  675.                 initCookiesWarning({
  676.                     policyUrl: \"{{ path('portal_privacy_policy') }}\",
  677.                     site: 'VIDI.UA',
  678.                 });
  679.             });
  680.             if (\$.fn.mask) {
  681.                 \$('.phone.form-control').mask('+38(999)999-99-99');
  682.             }
  683.             \$(\".open-canvas-menu\").click(function () {
  684.                 \$('.dealer').addClass(\"over-f-none\")
  685.             })
  686.             \$(\".open-canvas-menu\").click(function () {
  687.                 \$('.canvas-menu').addClass(\"canvas-menu-active\")
  688.             })
  689.             \$(\".close-canvas-menu\").click(function () {
  690.                 \$('.canvas-menu').removeClass(\"canvas-menu-active\")
  691.             })
  692.             \$(\".canvas-overlay\").click(function () {
  693.                 \$('.canvas-menu').removeClass(\"canvas-menu-active\")
  694.             });
  695.             \$(\".canvas-overlay\").click(function () {
  696.                 \$('.dealer').removeClass(\"over-f-none\")
  697.             });
  698.             \$(\".close-canvas-menu\").click(function () {
  699.                 \$('.dealer').removeClass(\"over-f-none\")
  700.             });
  701.             \$('#vidiCorePreload').hide();
  702.             setTimeout(function () {
  703.                 \$('#vidiCorePreload').hide();
  704.             }, 2000);
  705.             \$(\".search-icon-mobile\").click(function () {
  706.                 \$(\".search-mobile\").toggleClass(\"active\");
  707.             });
  708.             \$('.dropdown-menu').on('click', function (e) {
  709.                 if (\$(this).hasClass('dropdown-menu-open')) {
  710.                     e.stopPropagation();
  711.                 }
  712.             });
  713.             \$('.navbar-toggler').on('click', function () {
  714.                 \$(this).toggleClass('collapsed');
  715.                 \$('#mainNav').toggleClass('collapse');
  716.                 \$('body').toggleClass('lock');
  717.             });
  718.             /*PAGES FIXED MENU SCROLL*/
  719.             jQuery(window).scroll(function () {
  720.                 var \$sections = \$('section');
  721.                 \$sections.each(function (i, el) {
  722.                     var top = \$(el).offset().top - 100;
  723.                     var bottom = top + \$(el).height();
  724.                     var scroll = \$(window).scrollTop();
  725.                     var id = \$(el).attr('id');
  726.                     if (scroll > top && scroll < bottom) {
  727.                         \$('.pages-menu-fixed a.active').removeClass('active');
  728.                         \$('.pages-menu-fixed a[href=\"#' + id + '\"]').addClass('active');
  729.                     }
  730.                 })
  731.             });
  732.             \$(\".pages-menu-fixed\").on(\"click\", \"a\", function (event) {
  733.                 event.preventDefault();
  734.                 var id = \$(this).attr('href');
  735.                 if (\$(id).length == 0) {
  736.                     return false;
  737.                 }
  738.                 var top = \$(id).offset().top - 30;
  739.                 \$('body,html').animate({scrollTop: top}, 800);
  740.             });
  741.             \$(\"#showLeadsBtn\").on(\"click\", function () {
  742.                 \$(\"#lead-magnets\").css(\"position\", \"inherit\"), \$(\"#lead-magnets-wr\").removeClass(\"d-none\")
  743.             }), \$(\"#lead-magnets-wr .close\").on(\"click\", function () {
  744.                 \$(\"#lead-magnets\").css(\"position\", \"fixed\"), \$(\"#lead-magnets-wr\").addClass(\"d-none\")
  745.             }), \$(\".lead-magnets-group a.lead-magnet-static\").on(\"click\", function () {
  746.                 \$(\"#lead-magnets\").css(\"position\", \"fixed\"), \$(\"#lead-magnets-wr\").addClass(\"d-none\")
  747.             });
  748.             (function () {
  749.                 \"use strict\";
  750.                 var toggles = document.querySelectorAll(\".c-hamburger\");
  751.                 for (var i = toggles.length - 1; i >= 0; i--) {
  752.                     var toggle = toggles[i];
  753.                     toggleHandler(toggle);
  754.                 }
  755.                 ;
  756.                 function toggleHandler(toggle) {
  757.                     toggle.addEventListener(\"click\", function (e) {
  758.                         e.preventDefault();
  759.                         (this.classList.contains(\"is-active\") === true) ? this.classList.remove(\"is-active\") : this.classList.add(\"is-active\");
  760.                     });
  761.                 }
  762.             })();
  763.             \$('.js-scroll-link').click(function (e) {
  764.                 e.preventDefault();
  765.                 var blockId = \$(this).attr('href');
  766.                 \$('html, body').stop().animate({
  767.                     scrollTop: \$(blockId).offset().top - 50
  768.                 }, 750);
  769.             });
  770.         });
  771.         window.hj = window.hj || function () {
  772.             (hj.q = hj.q || []).push(arguments)
  773.         };
  774.         \$('#loginBtn').click(function () {
  775.             hj('tagRecording', ['tag1', 'tag2']);
  776.         });
  777.         // burger menu
  778.         let mobileMenu = document.querySelector(\".nav-mobile-menu\");
  779.         let mainMenu = document.querySelector(\".header__nav\");
  780.         mobileMenu.addEventListener('click', function () {
  781.             mobileMenu.classList.toggle(\"active-menu\");
  782.             if (mobileMenu.classList.contains(\"active-menu\")) {
  783.                 mainMenu.classList.add(\"active-menu\")
  784.             } else {
  785.                 mainMenu.classList.remove(\"active-menu\")
  786.             }
  787.         });
  788.         \$(\".dropbtn\").on(\"click\", function (e) {
  789.             e.preventDefault();
  790.             let \$this = \$(this);
  791.             if (!\$this.hasClass(\"active\")) {
  792.                 \$(\".dropbtn\").removeClass(\"active\");
  793.             }
  794.             \$this.toggleClass(\"active\");
  795.         });
  796.         \$(\".nav-mobile-menu\").click(function () {
  797.             \$('body').toggleClass(\"overflow-hidden\");
  798.         });
  799.         \$(\"#closePopup\").click(function () {
  800.             \$('#modalSuccessMessagePopup').modal('hide');
  801.         });
  802.     // Плашка Анонс бар
  803.     document.addEventListener(\"DOMContentLoaded\", function() {
  804.         const charityBar = document.querySelector('.charity_die');
  805.         const closeBtn = document.querySelector('.charity_btn_close');
  806.         const sessionKey = 'charityBarHidden';
  807.         if (sessionStorage.getItem(sessionKey)) {
  808.             charityBar.classList.add('charity_die_hiden');
  809.         } else {
  810.             charityBar.classList.remove('charity_die_hiden');
  811.         }
  812.         closeBtn.addEventListener('click', function() {
  813.             charityBar.classList.add('charity_die_hiden');
  814.             sessionStorage.setItem(sessionKey, 'charity_die_hiden');
  815.         });
  816.     });
  817.     </script>
  818.     {% block pageJS %}
  819.     {% endblock pageJS %}
  820.     {% block suChatJS %}
  821.     {% endblock %}
  822. {% endblock coreBottomJs %}
  823. ""@Portal/base.html.twig""/var/www/vidi.ua/releases/251031-da518f26/src/PortalBundle/Resources/views/base.html.twig");
  824.     }
  825. }