var/cache/review/twig/9c/9cc4af3163cddc83180b84e7cd3f8040.php line 140

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. /* account/profiles/profile_form.html.twig */
  14. class __TwigTemplate_8a7f208f226f82f07dc3b7d3c3e2ca2a 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->blocks = [
  23.             'name_page' => [$this'block_name_page'],
  24.             'title' => [$this'block_title'],
  25.             'specialPageClass' => [$this'block_specialPageClass'],
  26.             'mainContainer' => [$this'block_mainContainer'],
  27.             'javascripts' => [$this'block_javascripts'],
  28.             'javascriptss' => [$this'block_javascriptss'],
  29.         ];
  30.         $macros["_self"] = $this->macros["_self"] = $this;
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 1
  35.         return "account/grid.html.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  41.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/profiles/profile_form.html.twig"));
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  43.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/profiles/profile_form.html.twig"));
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  45.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""account/profiles/profile_form.html.twig"));
  46.         // line 21
  47.         $context["photo_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_photo");
  48.         // line 22
  49.         $context["selfie_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_selfie");
  50.         // line 23
  51.         $context["approval_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint(((($this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("approval_by_video") && $this->extensions['Flagception\Bundle\FlagceptionBundle\Twig\ToggleExtension']->isActive("postprocess_video"))) ? ("tmp_media") : ("profile_media_approval")));
  52.         // line 24
  53.         $context["video_media_upload_url"] = $this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("process_queue");
  54.         // line 26
  55.         if ((isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain"$context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.'26$this->source); })())) {
  56.             // line 27
  57.             $context["photo_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain"$context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.'27$this->source); })())) . (isset($context["photo_media_upload_url"]) || array_key_exists("photo_media_upload_url"$context) ? $context["photo_media_upload_url"] : (function () { throw new RuntimeError('Variable "photo_media_upload_url" does not exist.'27$this->source); })()));
  58.             // line 28
  59.             $context["selfie_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain"$context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.'28$this->source); })())) . (isset($context["selfie_media_upload_url"]) || array_key_exists("selfie_media_upload_url"$context) ? $context["selfie_media_upload_url"] : (function () { throw new RuntimeError('Variable "selfie_media_upload_url" does not exist.'28$this->source); })()));
  60.             // line 29
  61.             $context["approval_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain"$context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.'29$this->source); })())) . (isset($context["approval_media_upload_url"]) || array_key_exists("approval_media_upload_url"$context) ? $context["approval_media_upload_url"] : (function () { throw new RuntimeError('Variable "approval_media_upload_url" does not exist.'29$this->source); })()));
  62.             // line 30
  63.             $context["video_media_upload_url"] = (("https://" . (isset($context["approval_media_upload_domain"]) || array_key_exists("approval_media_upload_domain"$context) ? $context["approval_media_upload_domain"] : (function () { throw new RuntimeError('Variable "approval_media_upload_domain" does not exist.'30$this->source); })())) . (isset($context["video_media_upload_url"]) || array_key_exists("video_media_upload_url"$context) ? $context["video_media_upload_url"] : (function () { throw new RuntimeError('Variable "video_media_upload_url" does not exist.'30$this->source); })()));
  64.         }
  65.         // line 33
  66.         $context["services_array"] = [];
  67.         // line 34
  68.         $context["count_in_group"] = 0;
  69.         // line 35
  70.         $context["current_group"] = 0;
  71.         // line 36
  72.         $context["title_group"] = 0;
  73.         // line 37
  74.         $context["services"] = $this->extensions['App\Twig\ServicesExtension']->servicesList();
  75.         // line 39
  76.         $context['_parent'] = $context;
  77.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'39$this->source); })()), "provided_services", [], "any"falsefalsefalse39));
  78.         $context['loop'] = [
  79.           'parent' => $context['_parent'],
  80.           'index0' => 0,
  81.           'index'  => 1,
  82.           'first'  => true,
  83.         ];
  84.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  85.             $length count($context['_seq']);
  86.             $context['loop']['revindex0'] = $length 1;
  87.             $context['loop']['revindex'] = $length;
  88.             $context['loop']['length'] = $length;
  89.             $context['loop']['last'] = === $length;
  90.         }
  91.         foreach ($context['_seq'] as $context["_key"] => $context["provided_service"]) {
  92.             // line 40
  93.             $context["service"] = twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'40$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["provided_service"], "service", [], "any"falsefalsefalse40), "vars", [], "any"falsefalsefalse40), "value", [], "any"falsefalsefalse40), [], "array"falsefalsefalse40);
  94.             // line 41
  95.             if (((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'41$this->source); })()) != twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'41$this->source); })()), "group", [], "any"falsefalsefalse41))) {
  96.                 // line 42
  97.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse42)) {
  98.                     // line 43
  99.                     $context["services_array"] = twig_array_merge((isset($context["services_array"]) || array_key_exists("services_array"$context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.'43$this->source); })()), [[                    // line 44
  100. (isset($context["title_group"]) || array_key_exists("title_group"$context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.'44$this->source); })()), (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'44$this->source); })())]]);
  101.                 }
  102.                 // line 47
  103.                 $context["current_group"] = twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'47$this->source); })()), "group", [], "any"falsefalsefalse47);
  104.                 // line 48
  105.                 $context["title_group"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'48$this->source); })())), [], "service_groups");
  106.                 // line 50
  107.                 $context["count_in_group"] = 0;
  108.             }
  109.             // line 52
  110.             $context["count_in_group"] = ((isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'52$this->source); })()) + 1);
  111.             ++$context['loop']['index0'];
  112.             ++$context['loop']['index'];
  113.             $context['loop']['first'] = false;
  114.             if (isset($context['loop']['length'])) {
  115.                 --$context['loop']['revindex0'];
  116.                 --$context['loop']['revindex'];
  117.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  118.             }
  119.         }
  120.         $_parent $context['_parent'];
  121.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provided_service'], $context['_parent'], $context['loop']);
  122.         $context array_intersect_key($context$_parent) + $_parent;
  123.         // line 54
  124.         $context["services_array"] = twig_array_merge((isset($context["services_array"]) || array_key_exists("services_array"$context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.'54$this->source); })()), [[        // line 55
  125. (isset($context["title_group"]) || array_key_exists("title_group"$context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.'55$this->source); })()), (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'55$this->source); })())]]);
  126.         // line 123
  127.         $context["editCheck"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'123$this->source); })()), "vars", [], "any"falsefalsefalse123), "value", [], "any"falsefalsefalse123)) ? (true) : (false));
  128.         // line 1
  129.         $this->parent $this->loadTemplate("account/grid.html.twig""account/profiles/profile_form.html.twig"1);
  130.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  131.         
  132.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  133.         
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  135.         
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  137.     }
  138.     // line 3
  139.     public function block_name_page($context, array $blocks = [])
  140.     {
  141.         $macros $this->macros;
  142.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  143.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  144.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  145.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  146.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""name_page"));
  148.         echo "account-profile-form";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.         
  154.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  155.     }
  156.     // line 5
  157.     public function block_title($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  161.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  162.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  164.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  166.         echo "Добавление анкеты - Личный Кабинет";
  167.         
  168.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  169.         
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  171.         
  172.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  173.     }
  174.     // line 125
  175.     public function block_specialPageClass($context, array $blocks = [])
  176.     {
  177.         $macros $this->macros;
  178.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  179.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""specialPageClass"));
  180.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  181.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""specialPageClass"));
  182.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  183.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""specialPageClass"));
  184.         echo " girl-form";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.         
  190.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  191.     }
  192.     // line 127
  193.     public function block_mainContainer($context, array $blocks = [])
  194.     {
  195.         $macros $this->macros;
  196.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  197.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  198.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  199.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  200.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  201.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""mainContainer"));
  202.         // line 128
  203.         echo "
  204.     <ul class=\"breadcrumbs\" vocab=\"http://schema.org/\" typeof=\"BreadcrumbList\">
  205.         <li class=\"\" property=\"itemListElement\" typeof=\"ListItem\">
  206.             <a href=\"";
  207.         // line 131
  208.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("account");
  209.         echo "\" property=\"item\" typeof=\"WebPage\">Личный кабинет</a>
  210.             <meta property=\"position\" content=\"1\">
  211.         </li>
  212.         <li class=\"last-crumb\"><span>";
  213.         // line 134
  214.         if ((isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'134$this->source); })())) {
  215.             echo "Редактирование анкеты";
  216.         } else {
  217.             echo "Добавить новую анкету";
  218.         }
  219.         echo "</span></li>
  220.     </ul>
  221.     <h1 class=\"border-line\" role=\"heading\">";
  222.         // line 136
  223.         if ((isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'136$this->source); })())) {
  224.             echo "Редактирование анкеты";
  225.         } else {
  226.             echo "Новая анкета";
  227.         }
  228.         echo "</h1>
  229.     <div class=\"girl-form\"
  230.         ";
  231.         // line 140
  232.         echo "         ";
  233.         echo ">
  234.         ";
  235.         // line 141
  236.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'141$this->source); })()), 'form_start', ["attr" => ["novalidate" => "novalidate""class" => "profile-form""data-edit" => ((        // line 144
  237. (isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'144$this->source); })())) ? ("true") : ("false"))]]);
  238.         // line 145
  239.         echo "
  240.         ";
  241.         // line 146
  242.         if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'146$this->source); })()), 'errors')) {
  243.             // line 147
  244.             echo "            <div class=\"field-error form-error is-flex level\">
  245.                 <i><img src=\"";
  246.             // line 148
  247.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/images/icons/alert.svg""basicConfig"), "html"nulltrue);
  248.             echo "\"></i>
  249.                 <p>";
  250.             // line 149
  251.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'149$this->source); })()), 'errors');
  252.             echo "</p>
  253.             </div>
  254.         ";
  255.         }
  256.         // line 152
  257.         echo "        ";
  258.         $this->loadTemplate("account/flashes.html.twig""account/profiles/profile_form.html.twig"152)->display($context);
  259.         // line 153
  260.         echo "
  261.         ";
  262.         // line 155
  263.         echo "        <div class=\"main-block\">
  264.             <div class=\"block avatar\">
  265.                 <h2 class=\"border-line\">Главное фото анкеты</h2>
  266.                 ";
  267.         // line 158
  268.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'158$this->source); })()), "avatar", [], "any"falsefalsefalse158), 'errors');
  269.         // line 159
  270.         echo "                <p class=\"field-error";
  271.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'159$this->source); })())) > 0)) {
  272.             echo " show";
  273.         }
  274.         echo "\" id=\"";
  275.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'159$this->source); })()), "avatar", [], "any"falsefalsefalse159), "vars", [], "any"falsefalsefalse159), "id", [], "any"falsefalsefalse159), "html"nulltrue);
  276.         echo "_error\">";
  277.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'159$this->source); })()), "html"nulltrue);
  278.         echo "</p>
  279.                 <div class=\"photo-data\" style=\"display:none\"></div>
  280.                 <div class=\"photo\">
  281.                     ";
  282.         // line 162
  283.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'162$this->source); })()), "avatar", [], "any"falsefalsefalse162), "vars", [], "any"falsefalsefalse162), "value", [], "any"falsefalsefalse162)) {
  284.             // line 163
  285.             echo "                        <div class=\"preview\">
  286.                             <img src=\"";
  287.             // line 164
  288.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'164$this->source); })()), "avatar", [], "any"falsefalsefalse164), "vars", [], "any"falsefalsefalse164), "value", [], "any"falsefalsefalse164), "profile_media_avatar""357x500""jpg"), "html"nulltrue);
  289.             echo "\" id=\"avatar_preview\">
  290.                         </div>
  291.                     ";
  292.         } else {
  293.             // line 167
  294.             echo "                        <div class=\"empty-image\">
  295.                             <svg class=\"icon mr-1\">
  296.                                 <use xlink:href=\"";
  297.             // line 169
  298.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  299.             echo "#icon-empty-girl\"></use>
  300.                             </svg>
  301.                         </div>
  302.                         <div class=\"preview invisible\">
  303.                             <img data-src=\"";
  304.             // line 173
  305.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'173$this->source); })()), "avatar", [], "any"falsefalsefalse173), "vars", [], "any"falsefalsefalse173), "value", [], "any"falsefalsefalse173), "profile_media_avatar""357x500""jpg"), "html"nulltrue);
  306.             echo "\" id=\"avatar_preview\">
  307.                         </div>
  308.                     ";
  309.         }
  310.         // line 176
  311.         echo "                </div>
  312.                 <div class=\"upload-photo\">
  313.                     <p>Рекомендованный размер: 500х700px.</p>
  314.                     <div class=\"button\">
  315.                         ";
  316.         // line 180
  317.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'180$this->source); })()), "avatar", [], "any"falsefalsefalse180), 'widget');
  318.         echo "
  319.                         <input type=\"file\"
  320.                             id=\"set_avatar\"
  321.                             style=\"position:absolute;left:-999999px\"
  322.                             accept=\"image/jpg,image/jpeg\"
  323.                             data-url=\"";
  324.         // line 185
  325.         echo twig_escape_filter($this->env$this->extensions['Oneup\UploaderBundle\Twig\Extension\UploaderExtension']->endpoint("profile_media_avatar"), "html"nulltrue);
  326.         echo "\"
  327.                             data-id=\"";
  328.         // line 186
  329.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'186$this->source); })()), "avatar", [], "any"falsefalsefalse186), "vars", [], "any"falsefalsefalse186), "id", [], "any"falsefalsefalse186), "html"nulltrue);
  330.         echo "\"
  331.                             data-original-path=\"";
  332.         // line 187
  333.         echo twig_escape_filter($this->env, (isset($context["responsive_media_base_url"]) || array_key_exists("responsive_media_base_url"$context) ? $context["responsive_media_base_url"] : (function () { throw new RuntimeError('Variable "responsive_media_base_url" does not exist.'187$this->source); })()), "html"nulltrue);
  334.         echo "\"
  335.                             data-type=\"avatar\">
  336.                         <label class=\"btn btn-secondary d-flex\" for=\"set_avatar\">
  337.                             <svg class=\"icon mr-2\">
  338.                                 <use xlink:href=\"";
  339.         // line 191
  340.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  341.         echo "#icon-profile\"></use>
  342.                             </svg>
  343.                             <span>Загрузить аватар</span>
  344.                         </label>
  345.                     </div>
  346.                 </div>
  347.             </div>
  348.             <div class=\"block main-information\">
  349.                 <h2 class=\"border-line\">Основная информация</h2>
  350.                 <div class=\"field\">
  351.                     <div class=\"wrap d-flex\">
  352.                         <label class=\"name\" for=\"";
  353.         // line 202
  354.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'202$this->source); })()), "name", [], "any"falsefalsefalse202), "vars", [], "any"falsefalsefalse202), "id", [], "any"falsefalsefalse202), "html"nulltrue);
  355.         echo "\">Имя:</label>
  356.                         ";
  357.         // line 203
  358.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'203$this->source); })()), "name", [], "any"falsefalsefalse203), 'widget', ["attr" => ["class" => "basic-view""maxlength" => "30""placeholder" => "Введите имя"]]);
  359.         // line 207
  360.         echo "
  361.                     </div>
  362.                     ";
  363.         // line 209
  364.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'209$this->source); })()), "name", [], "any"falsefalsefalse209), 'errors');
  365.         // line 210
  366.         echo "                    <p class=\"field-error";
  367.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'210$this->source); })())) > 0)) {
  368.             echo " show";
  369.         }
  370.         echo "\" id=\"";
  371.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'210$this->source); })()), "name", [], "any"falsefalsefalse210), "vars", [], "any"falsefalsefalse210), "id", [], "any"falsefalsefalse210), "html"nulltrue);
  372.         echo "_error\">";
  373.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'210$this->source); })()), "html"nulltrue);
  374.         echo "</p>
  375.                 </div>
  376.                 ";
  377.         // line 212
  378.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "city", [], "any"truetruefalse212)) {
  379.             // line 213
  380.             echo "                    <div class=\"field\">
  381.                         <div class=\"wrap d-flex\">
  382.                             <label class=\"name\" for=\"";
  383.             // line 215
  384.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'215$this->source); })()), "name", [], "any"falsefalsefalse215), "vars", [], "any"falsefalsefalse215), "id", [], "any"falsefalsefalse215), "html"nulltrue);
  385.             echo "\">Город:</label>
  386.                             ";
  387.             // line 216
  388.             if ((isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'216$this->source); })())) {
  389.                 // line 217
  390.                 echo "                                ";
  391.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'217$this->source); })()), "city", [], "any"falsefalsefalse217), 'widget', ["attr" => ["class" => "basic-view disabled""disabled" => "disabled"]]);
  392.                 // line 220
  393.                 echo "
  394.                                 <input type=\"hidden\" name=\"";
  395.                 // line 221
  396.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'221$this->source); })()), "city", [], "any"falsefalsefalse221), "vars", [], "any"falsefalsefalse221), "name", [], "any"falsefalsefalse221), "html"nulltrue);
  397.                 echo "\" value=\"";
  398.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'221$this->source); })()), "city", [], "any"falsefalsefalse221), "vars", [], "any"falsefalsefalse221), "value", [], "any"falsefalsefalse221), "html"nulltrue);
  399.                 echo "\">
  400.                             ";
  401.             } else {
  402.                 // line 223
  403.                 echo "                                <div class=\"info selector\">
  404.                                     <div class=\"selector-block\">
  405.                                         <button class=\"\"
  406.                                                 type=\"button\"
  407.                                                 data-toggle=\"selector\" data-noempty=\"true\"></button>
  408.                                         <div class=\"tags\"></div>
  409.                                     </div>
  410.                                     <div class=\"form-data\">
  411.                                         ";
  412.                 // line 231
  413.                 echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'231$this->source); })()), "city", [], "any"falsefalsefalse231), 'widget');
  414.                 echo "
  415.                                     </div>
  416.                                 </div>
  417.                             ";
  418.             }
  419.             // line 235
  420.             echo "                        </div>
  421.                         ";
  422.             // line 236
  423.             $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'236$this->source); })()), "city", [], "any"falsefalsefalse236), 'errors');
  424.             // line 237
  425.             echo "                        <p class=\"field-error";
  426.             if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'237$this->source); })())) > 0)) {
  427.                 echo " show";
  428.             }
  429.             echo "\" id=\"";
  430.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'237$this->source); })()), "city", [], "any"falsefalsefalse237), "vars", [], "any"falsefalsefalse237), "id", [], "any"falsefalsefalse237), "html"nulltrue);
  431.             echo "_error\">";
  432.             echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'237$this->source); })()), "html"nulltrue);
  433.             echo "</p>
  434.                     </div>
  435.                 ";
  436.         }
  437.         // line 240
  438.         echo "                <div class=\"field\">
  439.                     <div class=\"wrap d-flex phone-block\">
  440.                         <label class=\"name\" for=\"phone_number\">Телефон:</label>
  441.                         ";
  442.         // line 243
  443.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'243$this->source); })()), "phone_number", [], "any"falsefalsefalse243), 'widget', ["attr" => ["class" => "basic-view""maxlength" => "20""minlength" => "11""placeholder" => "+7 (___) ___ __ __"]]);
  444.         // line 248
  445.         echo "
  446.                         <div class=\"additional d-flex\">
  447.                             <div class=\"checkbox-form\">
  448.                                 ";
  449.         // line 251
  450.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'251$this->source); })()), "messengers", [], "any"falsefalsefalse251), "telegram", [], "any"falsefalsefalse251), 'widget');
  451.         echo "
  452.                                 <label for=\"messengers_telegram\" class=\"level\">Telegram</label>
  453.                             </div>
  454.                             <div class=\"checkbox-form\">
  455.                                 ";
  456.         // line 255
  457.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'255$this->source); })()), "messengers", [], "any"falsefalsefalse255), "whatsapp", [], "any"falsefalsefalse255), 'widget');
  458.         echo "
  459.                                 <label for=\"messengers_whatsapp\" class=\"level\">WhatsApp</label>
  460.                             </div>
  461.                         </div>
  462.                         <div class=\"messengers__tg";
  463.         // line 259
  464.         echo ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'259$this->source); })()), "messengers", [], "any"falsefalsefalse259), "telegram", [], "any"falsefalsefalse259), "vars", [], "any"falsefalsefalse259), "checked", [], "any"falsefalsefalse259)) ? (" show") : (""));
  465.         echo "\" id=\"messengers-telegram-root\">
  466.                             <label for=\"messengers_telegram_username\">Юзернейм Телеграм:</label>
  467.                             <div class=\"messengers__tg-wrap\">
  468.                                 <span class=\"messengers__tg-pre\">@</span>
  469.                                 ";
  470.         // line 263
  471.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'263$this->source); })()), "messengers", [], "any"falsefalsefalse263), "telegram_username", [], "any"falsefalsefalse263), 'widget', ["attr" => ["class" => "messengers__tg-input basic-view""minlength" => "5""maxlength" => "32""placeholder" => """pattern" => "[A-Za-z0-9_]{5,32}"]]);
  472.         // line 269
  473.         echo "
  474.                             </div>
  475.                             ";
  476.         // line 271
  477.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'271$this->source); })()), "messengers", [], "any"falsefalsefalse271), "telegram_username", [], "any"falsefalsefalse271), 'errors');
  478.         // line 272
  479.         echo "                            <p class=\"field-error for-messengers";
  480.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'272$this->source); })())) > 0)) {
  481.             echo " show";
  482.         }
  483.         echo "\" id=\"messengers_error\">";
  484.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'272$this->source); })()), "html"nulltrue);
  485.         echo "</p>
  486.                         </div>
  487.                     </div>
  488.                     ";
  489.         // line 275
  490.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'275$this->source); })()), "phone_number", [], "any"falsefalsefalse275), 'errors');
  491.         // line 276
  492.         echo "                    <p class=\"field-error";
  493.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'276$this->source); })())) > 0)) {
  494.             echo " show";
  495.         }
  496.         echo "\" id=\"";
  497.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'276$this->source); })()), "phone_number", [], "any"falsefalsefalse276), "vars", [], "any"falsefalsefalse276), "id", [], "any"falsefalsefalse276), "html"nulltrue);
  498.         echo "_error\">";
  499.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'276$this->source); })()), "html"nulltrue);
  500.         echo "</p>
  501.                 </div>
  502.                 <div class=\"field time-to-call\">
  503.                     <label class=\"name\">Время для звонка:</label>
  504.                     <div class=\"wrap d-flex\">
  505.                         <div class=\"invisible\">
  506.                             <input type=\"radio\" name=\"time-to-call\" id=\"time-all\">
  507.                             <label for=\"time-all\" class=\"level\">Круглосуточно</label>
  508.                         </div>
  509.                         <div class=\"wrap ";
  510.         // line 285
  511.         if ($this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'285$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse285), "time_from", [], "any"falsefalsefalse285), 'errors')) {
  512.             echo " have-error";
  513.         }
  514.         echo "\">
  515.                             <div class=\"radiobox-form invisible\">
  516.                                 <input type=\"radio\" name=\"time-to-call\" id=\"time-sep\">
  517.                                 <label for=\"time-sep\" class=\"\">В указанный  промежуток времени:</label>
  518.                                 ";
  519.         // line 289
  520.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'289$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse289), "time_from", [], "any"falsefalsefalse289), 'errors');
  521.         // line 290
  522.         echo "                                <p class=\"field-error for-time";
  523.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'290$this->source); })())) > 0)) {
  524.             echo " show";
  525.         }
  526.         echo "\" id=\"time-sep_error\">";
  527.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'290$this->source); })()), "html"nulltrue);
  528.         echo "</p>
  529.                             </div>
  530.                             <div class=\"time-to-call-cell d-flex\">
  531.                                 <span>с</span>
  532.                                 <input type=\"number\" class=\"basic-view\"
  533.                                        id=\"";
  534.         // line 295
  535.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'295$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse295), "time_from", [], "any"falsefalsefalse295), "vars", [], "any"falsefalsefalse295), "id", [], "any"falsefalsefalse295), "html"nulltrue);
  536.         echo "\"
  537.                                        name=\"";
  538.         // line 296
  539.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'296$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse296), "time_from", [], "any"falsefalsefalse296), "vars", [], "any"falsefalsefalse296), "full_name", [], "any"falsefalsefalse296), "html"nulltrue);
  540.         echo "\"
  541.                                        placeholder=\"0\"
  542.                                        min=\"0\"
  543.                                        max=\"24\"
  544.                                        ";
  545.         // line 300
  546.         if ((isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'300$this->source); })())) {
  547.             echo "value=\"";
  548.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'300$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse300), "time_from", [], "any"falsefalsefalse300), "vars", [], "any"falsefalsefalse300), "value", [], "any"falsefalsefalse300), "html"nulltrue);
  549.             echo "\"";
  550.         }
  551.         echo ">
  552.                                 <span>до</span>
  553.                                 <input type=\"number\"
  554.                                        class=\"basic-view\"
  555.                                        id=\"";
  556.         // line 304
  557.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'304$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse304), "time_to", [], "any"falsefalsefalse304), "vars", [], "any"falsefalsefalse304), "id", [], "any"falsefalsefalse304), "html"nulltrue);
  558.         echo "\"
  559.                                        name=\"";
  560.         // line 305
  561.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'305$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse305), "time_to", [], "any"falsefalsefalse305), "vars", [], "any"falsefalsefalse305), "full_name", [], "any"falsefalsefalse305), "html"nulltrue);
  562.         echo "\"
  563.                                        placeholder=\"24\"
  564.                                        min=\"0\"
  565.                                        max=\"24\"
  566.                                        ";
  567.         // line 309
  568.         if ((isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'309$this->source); })())) {
  569.             echo "value=\"";
  570.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'309$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse309), "time_to", [], "any"falsefalsefalse309), "vars", [], "any"falsefalsefalse309), "value", [], "any"falsefalsefalse309), "html"nulltrue);
  571.             echo "\"";
  572.         }
  573.         echo ">
  574.                             </div>
  575.                             <div class=\"time-to-call-cell-hide invisible\">
  576.                                 ";
  577.         // line 312
  578.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'312$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse312), "time_from", [], "any"falsefalsefalse312), 'widget');
  579.         echo "
  580.                                 ";
  581.         // line 313
  582.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'313$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse313), "time_to", [], "any"falsefalsefalse313), 'widget');
  583.         echo "
  584.                             </div>
  585.                         </div>
  586.                     </div>
  587.                 </div>
  588.                 <div class=\"field answer-only\">
  589.                     <div class=\"wrap d-flex\">
  590.                         <label class=\"name\">Отвечаю на:</label>
  591.                         <div class=\"additional d-flex\">
  592.                             ";
  593.         // line 322
  594.         $context['_parent'] = $context;
  595.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'322$this->source); })()), "phone_call_restrictions", [], "any"falsefalsefalse322), "answering_to", [], "any"falsefalsefalse322));
  596.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  597.             // line 323
  598.             echo "                                <div class=\"checkbox-form\">
  599.                                     ";
  600.             // line 324
  601.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["i"], 'widget');
  602.             echo "
  603.                                     <label for=\"";
  604.             // line 325
  605.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["i"], "vars", [], "any"falsefalsefalse325), "id", [], "any"falsefalsefalse325), "html"nulltrue);
  606.             echo "\" class=\"\">";
  607.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["i"], "vars", [], "any"falsefalsefalse325), "label", [], "any"falsefalsefalse325), [], "phone_call_restrictions"), "html"nulltrue);
  608.             echo "</label>
  609.                                 </div>
  610.                             ";
  611.         }
  612.         $_parent $context['_parent'];
  613.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  614.         $context array_intersect_key($context$_parent) + $_parent;
  615.         // line 328
  616.         echo "                        </div>
  617.                     </div>
  618.                 </div>
  619.             </div>
  620.             <div class=\"block main-parameters\">
  621.                 <h2 class=\"border-line\">Основные параметры</h2>
  622.                 <div class=\"input-group\">
  623.                     <div class=\"field\">
  624.                         <label>Возраст:</label>
  625.                         ";
  626.         // line 337
  627.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'337$this->source); })()), "person_parameters", [], "any"falsefalsefalse337), "age", [], "any"falsefalsefalse337), 'widget', ["attr" => ["class" => "basic-view""min" => "18""max" => "100""placeholder" => "лет"]]);
  628.         // line 342
  629.         echo "
  630.                         ";
  631.         // line 343
  632.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'343$this->source); })()), "person_parameters", [], "any"falsefalsefalse343), "age", [], "any"falsefalsefalse343), 'errors');
  633.         // line 344
  634.         echo "                        <p class=\"field-error";
  635.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'344$this->source); })())) > 0)) {
  636.             echo " show";
  637.         }
  638.         echo "\" id=\"";
  639.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'344$this->source); })()), "person_parameters", [], "any"falsefalsefalse344), "age", [], "any"falsefalsefalse344), "vars", [], "any"falsefalsefalse344), "id", [], "any"falsefalsefalse344), "html"nulltrue);
  640.         echo "_error\">";
  641.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'344$this->source); })()), "html"nulltrue);
  642.         echo "</p>
  643.                     </div>
  644.                     <div class=\"field\">
  645.                         <label>Вес:</label>
  646.                         ";
  647.         // line 348
  648.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'348$this->source); })()), "person_parameters", [], "any"falsefalsefalse348), "weight", [], "any"falsefalsefalse348), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "кг""min" => "25""max" => "250"]]);
  649.         // line 353
  650.         echo "
  651.                         ";
  652.         // line 354
  653.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'354$this->source); })()), "person_parameters", [], "any"falsefalsefalse354), "weight", [], "any"falsefalsefalse354), 'errors');
  654.         // line 355
  655.         echo "                        <p class=\"field-error";
  656.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'355$this->source); })())) > 0)) {
  657.             echo " show";
  658.         }
  659.         echo "\" id=\"";
  660.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'355$this->source); })()), "person_parameters", [], "any"falsefalsefalse355), "weight", [], "any"falsefalsefalse355), "vars", [], "any"falsefalsefalse355), "id", [], "any"falsefalsefalse355), "html"nulltrue);
  661.         echo "_error\">";
  662.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'355$this->source); })()), "person_parameters", [], "any"falsefalsefalse355), "weight", [], "any"falsefalsefalse355), 'errors');
  663.         echo "</p>
  664.                     </div>
  665.                     <div class=\"field\">
  666.                         <label>Одежда:</label>
  667.                         ";
  668.         // line 359
  669.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'359$this->source); })()), "person_parameters", [], "any"falsefalsefalse359), "cloth_size", [], "any"falsefalsefalse359), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "Размер""min" => "38""max" => "80"]]);
  670.         // line 364
  671.         echo "
  672.                         ";
  673.         // line 365
  674.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'365$this->source); })()), "person_parameters", [], "any"falsefalsefalse365), "cloth_size", [], "any"falsefalsefalse365), 'errors');
  675.         // line 366
  676.         echo "                        <p class=\"field-error";
  677.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'366$this->source); })())) > 0)) {
  678.             echo " show";
  679.         }
  680.         echo "\" id=\"";
  681.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'366$this->source); })()), "person_parameters", [], "any"falsefalsefalse366), "cloth_size", [], "any"falsefalsefalse366), "vars", [], "any"falsefalsefalse366), "id", [], "any"falsefalsefalse366), "html"nulltrue);
  682.         echo "_error\">";
  683.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'366$this->source); })()), "html"nulltrue);
  684.         echo "</p>
  685.                     </div>
  686.                     <div class=\"field\">
  687.                         <label>Рост:</label>
  688.                         ";
  689.         // line 370
  690.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'370$this->source); })()), "person_parameters", [], "any"falsefalsefalse370), "height", [], "any"falsefalsefalse370), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "см""min" => "120""max" => "220"]]);
  691.         // line 375
  692.         echo "
  693.                         ";
  694.         // line 376
  695.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'376$this->source); })()), "person_parameters", [], "any"falsefalsefalse376), "height", [], "any"falsefalsefalse376), 'errors');
  696.         // line 377
  697.         echo "                        <p class=\"field-error";
  698.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'377$this->source); })())) > 0)) {
  699.             echo " show";
  700.         }
  701.         echo "\" id=\"";
  702.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'377$this->source); })()), "person_parameters", [], "any"falsefalsefalse377), "height", [], "any"falsefalsefalse377), "vars", [], "any"falsefalsefalse377), "id", [], "any"falsefalsefalse377), "html"nulltrue);
  703.         echo "_error\">";
  704.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'377$this->source); })()), "html"nulltrue);
  705.         echo "</p>
  706.                     </div>
  707.                     <div class=\"field\">
  708.                         <label>Грудь:</label>
  709.                         ";
  710.         // line 381
  711.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'381$this->source); })()), "person_parameters", [], "any"falsefalsefalse381), "breast_size", [], "any"falsefalsefalse381), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "Размер""min" => "1""max" => "12"]]);
  712.         // line 386
  713.         echo "
  714.                         ";
  715.         // line 387
  716.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'387$this->source); })()), "person_parameters", [], "any"falsefalsefalse387), "breast_size", [], "any"falsefalsefalse387), 'errors');
  717.         // line 388
  718.         echo "                        <p class=\"field-error";
  719.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'388$this->source); })())) > 0)) {
  720.             echo " show";
  721.         }
  722.         echo "\" id=\"";
  723.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'388$this->source); })()), "person_parameters", [], "any"falsefalsefalse388), "breast_size", [], "any"falsefalsefalse388), "vars", [], "any"falsefalsefalse388), "id", [], "any"falsefalsefalse388), "html"nulltrue);
  724.         echo "_error\">";
  725.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'388$this->source); })()), "html"nulltrue);
  726.         echo "</p>
  727.                     </div>
  728.                     <div class=\"field\">
  729.                         <label>Обувь:</label>
  730.                         ";
  731.         // line 392
  732.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'392$this->source); })()), "person_parameters", [], "any"falsefalsefalse392), "shoes_size", [], "any"falsefalsefalse392), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "Размер""min" => "33""max" => "48"]]);
  733.         // line 397
  734.         echo "
  735.                         ";
  736.         // line 398
  737.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'398$this->source); })()), "person_parameters", [], "any"falsefalsefalse398), "shoes_size", [], "any"falsefalsefalse398), 'errors');
  738.         // line 399
  739.         echo "                        <p class=\"field-error";
  740.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'399$this->source); })())) > 0)) {
  741.             echo " show";
  742.         }
  743.         echo "\" id=\"";
  744.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'399$this->source); })()), "person_parameters", [], "any"falsefalsefalse399), "shoes_size", [], "any"falsefalsefalse399), "vars", [], "any"falsefalsefalse399), "id", [], "any"falsefalsefalse399), "html"nulltrue);
  745.         echo "_error\">";
  746.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'399$this->source); })()), "html"nulltrue);
  747.         echo "</p>
  748.                     </div>
  749.                 </div>
  750.                 <div class=\"checkboxes\">
  751.                     <div class=\"field d-flex\">
  752.                         <div class=\"additional d-flex\">
  753.                             <div class=\"checkbox-form\">
  754.                                 ";
  755.         // line 406
  756.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'406$this->source); })()), "person_parameters", [], "any"falsefalsefalse406), "has_tattoo", [], "any"falsefalsefalse406), 'widget', ["attr" => []]);
  757.         echo "
  758.                                 <label for=\"person_parameters_has_tattoo\" class=\"\">Тату</label>
  759.                             </div>
  760.                             <div class=\"checkbox-form\">
  761.                                 ";
  762.         // line 410
  763.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'410$this->source); })()), "person_parameters", [], "any"falsefalsefalse410), "has_piercing", [], "any"falsefalsefalse410), 'widget', ["attr" => []]);
  764.         echo "
  765.                                 <label for=\"person_parameters_has_piercing\" class=\"\">Пирсинг</label>
  766.                             </div>
  767.                         </div>
  768.                     </div>
  769.                 </div>
  770.                 <div class=\"dropdown-elements\">
  771.                     <div class=\"field\">
  772.                         <div class=\"wrap is-flex level\">
  773.                             <label class=\"name\">Национальность:</label>
  774.                             <div class=\"info selector\">
  775.                                 <div class=\"selector-block\">
  776.                                     <button class=\"\"
  777.                                             type=\"button\"
  778.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  779.                                     <div class=\"tags\"></div>
  780.                                 </div>
  781.                                 <div class=\"form-data\">
  782.                                     ";
  783.         // line 428
  784.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'428$this->source); })()), "person_parameters", [], "any"falsefalsefalse428), "nationality", [], "any"falsefalsefalse428), 'widget', ["attr" => ["class" => "basic-view"]]);
  785.         // line 430
  786.         echo "
  787.                                 </div>
  788.                             </div>
  789.                         </div>
  790.                         ";
  791.         // line 434
  792.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'434$this->source); })()), "person_parameters", [], "any"falsefalsefalse434), "nationality", [], "any"falsefalsefalse434), 'errors');
  793.         // line 435
  794.         echo "                        <p class=\"field-error";
  795.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'435$this->source); })())) > 0)) {
  796.             echo " show";
  797.         }
  798.         echo "\">";
  799.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'435$this->source); })()), "html"nulltrue);
  800.         echo "</p>
  801.                     </div>
  802.                     <div class=\"field\">
  803.                         <div class=\"wrap is-flex level\">
  804.                             <label class=\"name\">Телосложение:</label>
  805.                             <div class=\"info selector\">
  806.                                 <div class=\"selector-block\">
  807.                                     <button class=\"\"
  808.                                             type=\"button\"
  809.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  810.                                     <div class=\"tags\"></div>
  811.                                 </div>
  812.                                 <div class=\"form-data\">
  813.                                     ";
  814.         // line 448
  815.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'448$this->source); })()), "person_parameters", [], "any"falsefalsefalse448), "body_type", [], "any"falsefalsefalse448), 'widget', ["attr" => ["class" => "basic-view"]]);
  816.         // line 450
  817.         echo "
  818.                                 </div>
  819.                             </div>
  820.                         </div>
  821.                         ";
  822.         // line 454
  823.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'454$this->source); })()), "person_parameters", [], "any"falsefalsefalse454), "body_type", [], "any"falsefalsefalse454), 'errors');
  824.         // line 455
  825.         echo "                        <p class=\"field-error";
  826.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'455$this->source); })())) > 0)) {
  827.             echo " show";
  828.         }
  829.         echo "\">";
  830.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'455$this->source); })()), "html"nulltrue);
  831.         echo "</p>
  832.                     </div>
  833.                     <div class=\"field\">
  834.                         <div class=\"wrap is-flex level\">
  835.                             <label class=\"name\">Цвет волос:</label>
  836.                             <div class=\"info selector\">
  837.                                 <div class=\"selector-block\">
  838.                                     <button class=\"\"
  839.                                             type=\"button\"
  840.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  841.                                     <div class=\"tags\"></div>
  842.                                 </div>
  843.                                 <div class=\"form-data\">
  844.                                     ";
  845.         // line 468
  846.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'468$this->source); })()), "person_parameters", [], "any"falsefalsefalse468), "hair_color", [], "any"falsefalsefalse468), 'widget', ["attr" => ["class" => "basic-view"]]);
  847.         // line 470
  848.         echo "
  849.                                 </div>
  850.                             </div>
  851.                         </div>
  852.                         ";
  853.         // line 474
  854.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'474$this->source); })()), "person_parameters", [], "any"falsefalsefalse474), "hair_color", [], "any"falsefalsefalse474), 'errors');
  855.         // line 475
  856.         echo "                        <p class=\"field-error";
  857.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'475$this->source); })())) > 0)) {
  858.             echo " show";
  859.         }
  860.         echo "\">";
  861.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'475$this->source); })()), "html"nulltrue);
  862.         echo "</p>
  863.                     </div>
  864.                     <div class=\"field\">
  865.                         <div class=\"wrap is-flex level\">
  866.                             <label class=\"name\">Интимная стрижка:</label>
  867.                             <div class=\"info selector\">
  868.                                 <div class=\"selector-block\">
  869.                                     <button class=\"\"
  870.                                             type=\"button\"
  871.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  872.                                     <div class=\"tags\"></div>
  873.                                 </div>
  874.                                 <div class=\"form-data\">
  875.                                     ";
  876.         // line 488
  877.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'488$this->source); })()), "person_parameters", [], "any"falsefalsefalse488), "private_haircut", [], "any"falsefalsefalse488), 'widget', ["attr" => ["class" => "basic-view"]]);
  878.         // line 490
  879.         echo "
  880.                                 </div>
  881.                             </div>
  882.                         </div>
  883.                         ";
  884.         // line 494
  885.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'494$this->source); })()), "person_parameters", [], "any"falsefalsefalse494), "private_haircut", [], "any"falsefalsefalse494), 'errors');
  886.         // line 495
  887.         echo "                        <p class=\"field-error";
  888.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'495$this->source); })())) > 0)) {
  889.             echo " show";
  890.         }
  891.         echo "\">";
  892.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'495$this->source); })()), "html"nulltrue);
  893.         echo "</p>
  894.                     </div>
  895.                 </div>
  896.             </div>
  897.             <div class=\"block prices\">
  898.                 <h2 class=\"border-line\">Расценки</h2>
  899.                 <div class=\"wrap d-flex\">
  900.                     <div class=\"apartments\">
  901.                         <h3>
  902.                             <svg class=\"icon mr-1\">
  903.                                 <use xlink:href=\"";
  904.         // line 505
  905.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  906.         echo "#icon-house\"></use>
  907.                             </svg>
  908.                             <span>Апартаменты</span>
  909.                         </h3>
  910.                         <div class=\"input-group d-flex\">
  911.                             <div class=\"field\">
  912.                                 <label>1 час:</label>
  913.                                 ";
  914.         // line 512
  915.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'512$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse512), "one_hour_price", [], "any"falsefalsefalse512), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  916.         // line 516
  917.         echo "
  918.                                 ";
  919.         // line 517
  920.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'517$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse517), "one_hour_price", [], "any"falsefalsefalse517), 'errors');
  921.         // line 518
  922.         echo "                                <p class=\"field-error";
  923.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'518$this->source); })())) > 0)) {
  924.             echo " show";
  925.         }
  926.         echo "\" id=\"";
  927.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'518$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse518), "one_hour_price", [], "any"falsefalsefalse518), "vars", [], "any"falsefalsefalse518), "id", [], "any"falsefalsefalse518), "html"nulltrue);
  928.         echo "_error\">";
  929.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'518$this->source); })()), "html"nulltrue);
  930.         echo "</p>
  931.                             </div>
  932.                             <div class=\"field\">
  933.                                 <label>2 часа:</label>
  934.                                 ";
  935.         // line 522
  936.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'522$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse522), "two_hours_price", [], "any"falsefalsefalse522), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  937.         // line 526
  938.         echo "
  939.                                 ";
  940.         // line 527
  941.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'527$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse527), "two_hours_price", [], "any"falsefalsefalse527), 'errors');
  942.         // line 528
  943.         echo "                                <p class=\"field-error";
  944.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'528$this->source); })())) > 0)) {
  945.             echo " show";
  946.         }
  947.         echo "\" id=\"";
  948.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'528$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse528), "two_hours_price", [], "any"falsefalsefalse528), "vars", [], "any"falsefalsefalse528), "id", [], "any"falsefalsefalse528), "html"nulltrue);
  949.         echo "_error\">";
  950.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'528$this->source); })()), "html"nulltrue);
  951.         echo "</p>
  952.                             </div>
  953.                             <div class=\"field\">
  954.                                 <label>Ночь:</label>
  955.                                 ";
  956.         // line 532
  957.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'532$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse532), "night_price", [], "any"falsefalsefalse532), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  958.         // line 536
  959.         echo "
  960.                                 ";
  961.         // line 537
  962.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'537$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse537), "night_price", [], "any"falsefalsefalse537), 'errors');
  963.         // line 538
  964.         echo "                                <p class=\"field-error";
  965.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'538$this->source); })())) > 0)) {
  966.             echo " show";
  967.         }
  968.         echo "\" id=\"";
  969.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'538$this->source); })()), "apartments_pricing", [], "any"falsefalsefalse538), "night_price", [], "any"falsefalsefalse538), "vars", [], "any"falsefalsefalse538), "id", [], "any"falsefalsefalse538), "html"nulltrue);
  970.         echo "_error\">";
  971.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'538$this->source); })()), "html"nulltrue);
  972.         echo "</p>
  973.                             </div>
  974.                         </div>
  975.                     </div>
  976.                     <div class=\"takeout\">
  977.                         <h3>
  978.                             <svg class=\"icon mr-1\">
  979.                                 <use xlink:href=\"";
  980.         // line 545
  981.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  982.         echo "#icon-car\"></use>
  983.                             </svg>
  984.                             <span>Выезд</span>
  985.                         </h3>
  986.                         <div class=\"input-group d-flex\">
  987.                             <div class=\"field\">
  988.                                 <label>1 час:</label>
  989.                                 ";
  990.         // line 552
  991.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'552$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse552), "one_hour_price", [], "any"falsefalsefalse552), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  992.         // line 556
  993.         echo "
  994.                                 ";
  995.         // line 557
  996.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'557$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse557), "one_hour_price", [], "any"falsefalsefalse557), 'errors');
  997.         // line 558
  998.         echo "                                <p class=\"field-error";
  999.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'558$this->source); })())) > 0)) {
  1000.             echo " show";
  1001.         }
  1002.         echo "\" id=\"";
  1003.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'558$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse558), "one_hour_price", [], "any"falsefalsefalse558), "vars", [], "any"falsefalsefalse558), "id", [], "any"falsefalsefalse558), "html"nulltrue);
  1004.         echo "_error\">";
  1005.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'558$this->source); })()), "html"nulltrue);
  1006.         echo "</p>
  1007.                             </div>
  1008.                             <div class=\"field\">
  1009.                                 <label>2 часа:</label>
  1010.                                 ";
  1011.         // line 562
  1012.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'562$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse562), "two_hours_price", [], "any"falsefalsefalse562), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  1013.         // line 566
  1014.         echo "
  1015.                                 ";
  1016.         // line 567
  1017.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'567$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse567), "two_hours_price", [], "any"falsefalsefalse567), 'errors');
  1018.         // line 568
  1019.         echo "                                <p class=\"field-error";
  1020.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'568$this->source); })())) > 0)) {
  1021.             echo " show";
  1022.         }
  1023.         echo "\" id=\"";
  1024.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'568$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse568), "two_hours_price", [], "any"falsefalsefalse568), "vars", [], "any"falsefalsefalse568), "id", [], "any"falsefalsefalse568), "html"nulltrue);
  1025.         echo "_error\">";
  1026.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'568$this->source); })()), "html"nulltrue);
  1027.         echo "</p>
  1028.                             </div>
  1029.                             <div class=\"field\">
  1030.                                 <label>Ночь:</label>
  1031.                                 ";
  1032.         // line 572
  1033.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'572$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse572), "night_price", [], "any"falsefalsefalse572), 'widget', ["attr" => ["class" => "basic-view""min" => "1""maxlength" => "6"]]);
  1034.         // line 576
  1035.         echo "
  1036.                                 ";
  1037.         // line 577
  1038.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'577$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse577), "night_price", [], "any"falsefalsefalse577), 'errors');
  1039.         // line 578
  1040.         echo "                                <p class=\"field-error";
  1041.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'578$this->source); })())) > 0)) {
  1042.             echo " show";
  1043.         }
  1044.         echo "\" id=\"";
  1045.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'578$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse578), "night_price", [], "any"falsefalsefalse578), "vars", [], "any"falsefalsefalse578), "id", [], "any"falsefalsefalse578), "html"nulltrue);
  1046.         echo "_error\">";
  1047.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'578$this->source); })()), "html"nulltrue);
  1048.         echo "</p>
  1049.                             </div>
  1050.                         </div>
  1051.                     </div>
  1052.                 </div>
  1053.                 <div class=\"express";
  1054.         // line 583
  1055.         if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'583$this->source); })()), "express_pricing", [], "any"falsefalsefalse583), "provided", [], "any"falsefalsefalse583), "vars", [], "any"falsefalsefalse583), "checked", [], "any"falsefalsefalse583)) {
  1056.             echo " no-ex1press";
  1057.         }
  1058.         echo "\">
  1059.                     <div class=\"wrap\">
  1060.                         <div class=\"field\">
  1061.                             ";
  1062.         // line 586
  1063.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'586$this->source); })()), "express_pricing", [], "any"falsefalsefalse586), "provided", [], "any"falsefalsefalse586), 'widget');
  1064.         echo "
  1065.                             <label for=\"express_pricing_provided\" class=\"level\">Есть экспресс</label>
  1066.                         </div>
  1067.                         ";
  1068.         // line 589
  1069.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'589$this->source); })()), "express_pricing", [], "any"falsefalsefalse589), "price", [], "any"falsefalsefalse589), 'widget', ["attr" => ["class" => "express-price basic-view""min" => "1""maxlength" => "6"]]);
  1070.         // line 593
  1071.         echo "
  1072.                     </div>
  1073.                     ";
  1074.         // line 595
  1075.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'595$this->source); })()), "express_pricing", [], "any"falsefalsefalse595), "price", [], "any"falsefalsefalse595), 'errors');
  1076.         // line 596
  1077.         echo "                    <p class=\"field-error";
  1078.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'596$this->source); })())) > 0)) {
  1079.             echo " show";
  1080.         }
  1081.         echo "\" id=\"";
  1082.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'596$this->source); })()), "express_pricing", [], "any"falsefalsefalse596), "price", [], "any"falsefalsefalse596), "vars", [], "any"falsefalsefalse596), "id", [], "any"falsefalsefalse596), "html"nulltrue);
  1083.         echo "_error\">";
  1084.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'596$this->source); })()), "html"nulltrue);
  1085.         echo "</p>
  1086.                 </div>
  1087.                 <div class=\"services-special\">
  1088.                     <h3>Выезд:</h3>
  1089.                     <div class=\"services-list\">
  1090.                         ";
  1091.         // line 601
  1092.         $context['_parent'] = $context;
  1093.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'601$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse601), "locations", [], "any"falsefalsefalse601));
  1094.         foreach ($context['_seq'] as $context["_key"] => $context["take_out_location"]) {
  1095.             // line 602
  1096.             echo "                            <div class=\"checkbox-form\">
  1097.                                 ";
  1098.             // line 603
  1099.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["take_out_location"], 'widget');
  1100.             echo "
  1101.                                 <label for=\"";
  1102.             // line 604
  1103.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["take_out_location"], "vars", [], "any"falsefalsefalse604), "id", [], "any"falsefalsefalse604), "html"nulltrue);
  1104.             echo "\" class=\"\">";
  1105.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["take_out_location"], "vars", [], "any"falsefalsefalse604), "label", [], "any"falsefalsefalse604), [], "take_out_location"), "html"nulltrue);
  1106.             echo "</label>
  1107.                             </div>
  1108.                         ";
  1109.         }
  1110.         $_parent $context['_parent'];
  1111.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['take_out_location'], $context['_parent'], $context['loop']);
  1112.         $context array_intersect_key($context$_parent) + $_parent;
  1113.         // line 607
  1114.         echo "                        <div class=\"checkbox-form\">
  1115.                             ";
  1116.         // line 608
  1117.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'608$this->source); })()), "car_pricing", [], "any"falsefalsefalse608), "provided", [], "any"falsefalsefalse608), 'widget');
  1118.         echo "
  1119.                             <label for=\"";
  1120.         // line 609
  1121.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'609$this->source); })()), "car_pricing", [], "any"falsefalsefalse609), "provided", [], "any"falsefalsefalse609), "vars", [], "any"falsefalsefalse609), "id", [], "any"falsefalsefalse609), "html"nulltrue);
  1122.         echo "\" class=\"\">В машине</label>
  1123.                         </div>
  1124.                     </div>
  1125.                     ";
  1126.         // line 612
  1127.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'612$this->source); })()), "take_out_pricing", [], "any"falsefalsefalse612), "locations", [], "any"falsefalsefalse612), 'errors');
  1128.         // line 613
  1129.         echo "                    <p class=\"field-error";
  1130.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'613$this->source); })())) > 0)) {
  1131.             echo " show";
  1132.         }
  1133.         echo "\">";
  1134.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'613$this->source); })()), "html"nulltrue);
  1135.         echo "</p>
  1136.                 </div>
  1137.             </div>
  1138.             <div class=\"block about\">
  1139.                 <h2 class=\"border-line\">О себе</h2>
  1140.                 <div class=\"textarea\">
  1141.                     ";
  1142.         // line 619
  1143.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'619$this->source); })()), "about", [], "any"falsefalsefalse619), 'widget', ["attr" => ["class" => "basic-view""placeholder" => "Напишите о себе""maxlength" => "3000""minlength" => "100"]]);
  1144.         // line 624
  1145.         echo "
  1146.                 </div>
  1147.                 <p class=\"info\">Напишите о себе (минимум 100 символов):</p>
  1148.                 ";
  1149.         // line 627
  1150.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'627$this->source); })()), "about", [], "any"falsefalsefalse627), 'errors');
  1151.         // line 628
  1152.         echo "                <p class=\"field-error";
  1153.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'628$this->source); })())) > 0)) {
  1154.             echo " show";
  1155.         }
  1156.         echo "\" id=\"";
  1157.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'628$this->source); })()), "about", [], "any"falsefalsefalse628), "vars", [], "any"falsefalsefalse628), "id", [], "any"falsefalsefalse628), "html"nulltrue);
  1158.         echo "_error\">";
  1159.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'628$this->source); })()), "html"nulltrue);
  1160.         echo "</p>
  1161.             </div>
  1162.         </div>
  1163.         ";
  1164.         // line 644
  1165.         echo "
  1166.         <div class=\"block map-block\">
  1167.             <h2 class=\"border-line\">Расположение</h2>
  1168.             <div class=\"metro d-flex\" id=\"metro-choice\">
  1169.                 <div class=\"info selector\">
  1170.                     <p>Выберите станции метро (максимум 3 станции):</p>
  1171.                     <div class=\"selector-block\">
  1172.                         <button class=\"\"
  1173.                                 type=\"button\"
  1174.                                 data-toggle=\"selector\"
  1175.                                 data-limit=\"3\"
  1176.                                 data-empty-text=\"Выберите станции метро\"></button>
  1177.                         <div class=\"tags\"></div>
  1178.                     </div>
  1179.                     <div class=\"form-data\">
  1180.                         ";
  1181.         // line 659
  1182.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'659$this->source); })()), "stations", [], "any"falsefalsefalse659), 'widget');
  1183.         echo "
  1184.                     </div>
  1185.                     ";
  1186.         // line 661
  1187.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'661$this->source); })()), "stations", [], "any"falsefalsefalse661), 'errors');
  1188.         // line 662
  1189.         echo "                    <p class=\"field-error";
  1190.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'662$this->source); })())) > 0)) {
  1191.             echo " show";
  1192.         }
  1193.         echo "\">";
  1194.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'662$this->source); })()), "html"nulltrue);
  1195.         echo "</p>
  1196.                 </div>
  1197.             </div>
  1198.             <div class=\"metro-selected-list\" id=\"metro-selected\">
  1199.             </div>
  1200.             ";
  1201.         // line 669
  1202.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'669$this->source); })()), "primary_station", [], "any"falsefalsefalse669), 'widget');
  1203.         echo "
  1204.             <div class=\"map\">
  1205.                 <div style=\"display:none\">
  1206.                     ";
  1207.         // line 673
  1208.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'673$this->source); })()), "map_coordinate", [], "any"falsefalsefalse673), "latitude", [], "any"falsefalsefalse673), 'widget');
  1209.         echo "
  1210.                     ";
  1211.         // line 674
  1212.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'674$this->source); })()), "map_coordinate", [], "any"falsefalsefalse674), "longitude", [], "any"falsefalsefalse674), 'widget');
  1213.         echo "
  1214.                 </div>
  1215.                 <div class=\"info\">
  1216.                     <div class=\"map-wrap\"
  1217.                          id=\"ya-map\"
  1218.                          data-lat=\"";
  1219.         // line 679
  1220.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'679$this->source); })()), "mapCoordinate", [], "any"falsefalsefalse679), "latitude", [], "any"falsefalsefalse679)) {
  1221.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'679$this->source); })()), "mapCoordinate", [], "any"falsefalsefalse679), "latitude", [], "any"falsefalsefalse679), "html"nulltrue);
  1222.         } else {
  1223.             echo "55.752";
  1224.         }
  1225.         echo "\"
  1226.                          data-lon=\"";
  1227.         // line 680
  1228.         if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'680$this->source); })()), "mapCoordinate", [], "any"falsefalsefalse680), "longitude", [], "any"falsefalsefalse680)) {
  1229.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["city"]) || array_key_exists("city"$context) ? $context["city"] : (function () { throw new RuntimeError('Variable "city" does not exist.'680$this->source); })()), "mapCoordinate", [], "any"falsefalsefalse680), "longitude", [], "any"falsefalsefalse680), "html"nulltrue);
  1230.         } else {
  1231.             echo "37.61";
  1232.         }
  1233.         echo "\"></div>
  1234.                 </div>
  1235.             </div>
  1236.         </div>
  1237.         <div class=\"block services-block\">
  1238.             <h2 class=\"border-line\">Предоставляемые услуги</h2>
  1239.             <ul class=\"about-services d-flex\">
  1240.                 <li class=\"d-flex include\">
  1241.                     <svg class=\"icon\">
  1242.                         <use xlink:href=\"";
  1243.         // line 690
  1244.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1245.         echo "#icon-condition-include\"></use>
  1246.                     </svg>
  1247.                     <span>- включено в стоимость</span>
  1248.                 </li>
  1249.                 <li class=\"d-flex sympathy\">
  1250.                     <svg class=\"icon\">
  1251.                         <use xlink:href=\"";
  1252.         // line 696
  1253.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1254.         echo "#icon-condition-sympathy\"></use>
  1255.                     </svg>
  1256.                     <span>- по настроению</span>
  1257.                 </li>
  1258.                 <li class=\"d-flex price\">
  1259.                     <svg class=\"icon\">
  1260.                         <use xlink:href=\"";
  1261.         // line 702
  1262.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1263.         echo "#icon-condition-with-price\"></use>
  1264.                     </svg>
  1265.                     <span>- за дополнительную плату</span>
  1266.                 </li>
  1267.                 <li class=\"d-flex not-include\">
  1268.                     <svg class=\"icon\">
  1269.                         <use xlink:href=\"";
  1270.         // line 708
  1271.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1272.         echo "#icon-condition-with-price\"></use>
  1273.                     </svg>
  1274.                     <span>- услуга не предоставляется</span>
  1275.                 </li>
  1276.             </ul>
  1277.             <div class=\"services\">
  1278.                 ";
  1279.         // line 736
  1280.         echo "
  1281.                 ";
  1282.         // line 737
  1283.         $context["current_group"] = 0;
  1284.         // line 738
  1285.         echo "                ";
  1286.         $context["count_in_group"] = 0;
  1287.         // line 739
  1288.         echo "                ";
  1289.         $context["title_group"] = 0;
  1290.         // line 740
  1291.         echo "
  1292.                 ";
  1293.         // line 741
  1294.         $context["initional_group_2"] = 0;
  1295.         // line 742
  1296.         echo "                ";
  1297.         $context["group_2_minet"] = [];
  1298.         // line 743
  1299.         echo "                ";
  1300.         $context["group_2_okon"] = [];
  1301.         // line 744
  1302.         echo "                ";
  1303.         $context["group_2_okon_trigger"] = ["Окончание на грудь""Окончание на лицо""Окончание в рот"];
  1304.         echo " ";
  1305.         // line 745
  1306.         echo "
  1307.                 ";
  1308.         // line 746
  1309.         $context['_parent'] = $context;
  1310.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'746$this->source); })()), "provided_services", [], "any"falsefalsefalse746));
  1311.         $context['loop'] = [
  1312.           'parent' => $context['_parent'],
  1313.           'index0' => 0,
  1314.           'index'  => 1,
  1315.           'first'  => true,
  1316.         ];
  1317.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  1318.             $length count($context['_seq']);
  1319.             $context['loop']['revindex0'] = $length 1;
  1320.             $context['loop']['revindex'] = $length;
  1321.             $context['loop']['length'] = $length;
  1322.             $context['loop']['last'] = === $length;
  1323.         }
  1324.         foreach ($context['_seq'] as $context["_key"] => $context["provided_service"]) {
  1325.             // line 747
  1326.             echo "                    ";
  1327.             $context["service"] = twig_get_attribute($this->env$this->source, (isset($context["services"]) || array_key_exists("services"$context) ? $context["services"] : (function () { throw new RuntimeError('Variable "services" does not exist.'747$this->source); })()), twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["provided_service"], "service", [], "any"falsefalsefalse747), "vars", [], "any"falsefalsefalse747), "value", [], "any"falsefalsefalse747), [], "array"falsefalsefalse747);
  1328.             // line 748
  1329.             echo "                    ";
  1330.             if (((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'748$this->source); })()) != twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'748$this->source); })()), "group", [], "any"falsefalsefalse748))) {
  1331.                 // line 749
  1332.                 echo "
  1333.                         ";
  1334.                 // line 751
  1335.                 echo "                        ";
  1336.                 if (( !twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse751) && ((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'751$this->source); })()) != 2))) {
  1337.                     echo "</div></div>";
  1338.                 }
  1339.                 // line 752
  1340.                 echo "                        ";
  1341.                 $context["current_group"] = twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'752$this->source); })()), "group", [], "any"falsefalsefalse752);
  1342.                 // line 753
  1343.                 echo "
  1344.                         ";
  1345.                 // line 755
  1346.                 echo "                        ";
  1347.                 $context["title_group"] = $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans($this->extensions['App\Twig\ServicesExtension']->serviceGroupLabel((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'755$this->source); })())), [], "service_groups");
  1348.                 echo " ";
  1349.                 // line 756
  1350.                 echo "                        ";
  1351.                 $context["count_in_group"] = twig_round((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["services_array"]) || array_key_exists("services_array"$context) ? $context["services_array"] : (function () { throw new RuntimeError('Variable "services_array" does not exist.'756$this->source); })()), ((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'756$this->source); })()) - 1), [], "array"falsefalsefalse756), 1, [], "array"falsefalsefalse756) / 2));
  1352.                 echo " ";
  1353.                 // line 757
  1354.                 echo "
  1355.                         ";
  1356.                 // line 758
  1357.                 if (((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'758$this->source); })()) == 2)) {
  1358.                     // line 759
  1359.                     echo "
  1360.                         ";
  1361.                 } elseif ((                // line 760
  1362. (isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'760$this->source); })()) == 3)) {
  1363.                     // line 761
  1364.                     echo "                            <div class=\"group-2-1\" data-group=\"2-1\">
  1365.                                 <h3>Минет</h3>
  1366.                                 <div class=\"checkbox-group count-";
  1367.                     // line 763
  1368.                     echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'763$this->source); })()), "html"nulltrue);
  1369.                     echo "\">
  1370.                                     ";
  1371.                     // line 764
  1372.                     $context['_parent'] = $context;
  1373.                     $context['_seq'] = twig_ensure_traversable((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'764$this->source); })()));
  1374.                     foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  1375.                         // line 765
  1376.                         echo "                                        ";
  1377.                         $context["_form"] = twig_get_attribute($this->env$this->source$context["data"], "form", [], "any"falsefalsefalse765);
  1378.                         // line 766
  1379.                         echo "                                        ";
  1380.                         $context["_service"] = twig_get_attribute($this->env$this->source$context["data"], "service", [], "any"falsefalsefalse766);
  1381.                         // line 767
  1382.                         echo "                                        ";
  1383.                         echo twig_call_macro($macros["_self"], "macro__service_block", [(isset($context["_form"]) || array_key_exists("_form"$context) ? $context["_form"] : (function () { throw new RuntimeError('Variable "_form" does not exist.'767$this->source); })()), (isset($context["_service"]) || array_key_exists("_service"$context) ? $context["_service"] : (function () { throw new RuntimeError('Variable "_service" does not exist.'767$this->source); })())], 767$context$this->getSourceContext());
  1384.                         echo "
  1385.                                     ";
  1386.                     }
  1387.                     $_parent $context['_parent'];
  1388.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  1389.                     $context array_intersect_key($context$_parent) + $_parent;
  1390.                     // line 769
  1391.                     echo "                                </div>
  1392.                             </div>
  1393.                             <div class=\"group-2-2\" data-group=\"2-2\">
  1394.                                 <h3>Окончание</h3>
  1395.                                 <div class=\"checkbox-group count-";
  1396.                     // line 773
  1397.                     echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'773$this->source); })()), "html"nulltrue);
  1398.                     echo "\">
  1399.                                     ";
  1400.                     // line 774
  1401.                     $context['_parent'] = $context;
  1402.                     $context['_seq'] = twig_ensure_traversable((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'774$this->source); })()));
  1403.                     foreach ($context['_seq'] as $context["_key"] => $context["data"]) {
  1404.                         // line 775
  1405.                         echo "                                        ";
  1406.                         $context["_form"] = twig_get_attribute($this->env$this->source$context["data"], "form", [], "any"falsefalsefalse775);
  1407.                         // line 776
  1408.                         echo "                                        ";
  1409.                         $context["_service"] = twig_get_attribute($this->env$this->source$context["data"], "service", [], "any"falsefalsefalse776);
  1410.                         // line 777
  1411.                         echo "                                        ";
  1412.                         echo twig_call_macro($macros["_self"], "macro__service_block", [(isset($context["_form"]) || array_key_exists("_form"$context) ? $context["_form"] : (function () { throw new RuntimeError('Variable "_form" does not exist.'777$this->source); })()), (isset($context["_service"]) || array_key_exists("_service"$context) ? $context["_service"] : (function () { throw new RuntimeError('Variable "_service" does not exist.'777$this->source); })())], 777$context$this->getSourceContext());
  1413.                         echo "
  1414.                                     ";
  1415.                     }
  1416.                     $_parent $context['_parent'];
  1417.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['data'], $context['_parent'], $context['loop']);
  1418.                     $context array_intersect_key($context$_parent) + $_parent;
  1419.                     // line 779
  1420.                     echo "                                </div>
  1421.                             </div>
  1422.                             ";
  1423.                     // line 783
  1424.                     echo "                            <div class=\"group-";
  1425.                     echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'783$this->source); })()), "html"nulltrue);
  1426.                     echo "\" data-group=\"";
  1427.                     echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'783$this->source); })()), "html"nulltrue);
  1428.                     echo "\">
  1429.                                 <h3>";
  1430.                     // line 784
  1431.                     echo twig_escape_filter($this->env, (isset($context["title_group"]) || array_key_exists("title_group"$context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.'784$this->source); })()), "html"nulltrue);
  1432.                     echo "</h3>
  1433.                                 <div class=\"checkbox-group count-";
  1434.                     // line 785
  1435.                     echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'785$this->source); })()), "html"nulltrue);
  1436.                     echo "\">
  1437.                         ";
  1438.                 } else {
  1439.                     // line 788
  1440.                     echo "                            <div class=\"group-";
  1441.                     echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'788$this->source); })()), "html"nulltrue);
  1442.                     echo "\" data-group=\"";
  1443.                     echo twig_escape_filter($this->env, (isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'788$this->source); })()), "html"nulltrue);
  1444.                     echo "\">
  1445.                                 <h3>";
  1446.                     // line 789
  1447.                     echo twig_escape_filter($this->env, (isset($context["title_group"]) || array_key_exists("title_group"$context) ? $context["title_group"] : (function () { throw new RuntimeError('Variable "title_group" does not exist.'789$this->source); })()), "html"nulltrue);
  1448.                     echo "</h3>
  1449.                                 <div class=\"checkbox-group count-";
  1450.                     // line 790
  1451.                     echo twig_escape_filter($this->env, (isset($context["count_in_group"]) || array_key_exists("count_in_group"$context) ? $context["count_in_group"] : (function () { throw new RuntimeError('Variable "count_in_group" does not exist.'790$this->source); })()), "html"nulltrue);
  1452.                     echo "\">
  1453.                         ";
  1454.                 }
  1455.                 // line 792
  1456.                 echo "                    ";
  1457.             }
  1458.             // line 793
  1459.             echo "                            ";
  1460.             if (((isset($context["current_group"]) || array_key_exists("current_group"$context) ? $context["current_group"] : (function () { throw new RuntimeError('Variable "current_group" does not exist.'793$this->source); })()) == 2)) {
  1461.                 // line 794
  1462.                 echo "                                ";
  1463.                 if (twig_in_filter($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'794$this->source); })()), "name", [], "any"falsefalsefalse794), [], "left_menu"), (isset($context["group_2_okon_trigger"]) || array_key_exists("group_2_okon_trigger"$context) ? $context["group_2_okon_trigger"] : (function () { throw new RuntimeError('Variable "group_2_okon_trigger" does not exist.'794$this->source); })()))) {
  1464.                     // line 795
  1465.                     echo "                                    ";
  1466.                     $context["group_2_okon"] = twig_array_merge((isset($context["group_2_okon"]) || array_key_exists("group_2_okon"$context) ? $context["group_2_okon"] : (function () { throw new RuntimeError('Variable "group_2_okon" does not exist.'795$this->source); })()), [["form" => $context["provided_service"], "service" => (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'795$this->source); })())]]);
  1467.                     // line 796
  1468.                     echo "                                ";
  1469.                 } else {
  1470.                     // line 797
  1471.                     echo "                                    ";
  1472.                     $context["group_2_minet"] = twig_array_merge((isset($context["group_2_minet"]) || array_key_exists("group_2_minet"$context) ? $context["group_2_minet"] : (function () { throw new RuntimeError('Variable "group_2_minet" does not exist.'797$this->source); })()), [["form" => $context["provided_service"], "service" => (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'797$this->source); })())]]);
  1473.                     // line 798
  1474.                     echo "                                ";
  1475.                 }
  1476.                 // line 799
  1477.                 echo "                            ";
  1478.             } else {
  1479.                 // line 800
  1480.                 echo "                                ";
  1481.                 echo twig_call_macro($macros["_self"], "macro__service_block", [$context["provided_service"], (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'800$this->source); })())], 800$context$this->getSourceContext());
  1482.                 echo "
  1483.                             ";
  1484.             }
  1485.             // line 802
  1486.             echo "                        ";
  1487.             ++$context['loop']['index0'];
  1488.             ++$context['loop']['index'];
  1489.             $context['loop']['first'] = false;
  1490.             if (isset($context['loop']['length'])) {
  1491.                 --$context['loop']['revindex0'];
  1492.                 --$context['loop']['revindex'];
  1493.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  1494.             }
  1495.         }
  1496.         $_parent $context['_parent'];
  1497.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['provided_service'], $context['_parent'], $context['loop']);
  1498.         $context array_intersect_key($context$_parent) + $_parent;
  1499.         // line 803
  1500.         echo "                    </div>
  1501.                 </div>
  1502.             </div>
  1503.             <div class=\"services-special\">
  1504.                 <h3>Услуги для:</h3>
  1505.                 <div class=\"services-list d-flex\">
  1506.                     ";
  1507.         // line 810
  1508.         $context['_parent'] = $context;
  1509.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'810$this->source); })()), "client_types", [], "any"falsefalsefalse810));
  1510.         foreach ($context['_seq'] as $context["_key"] => $context["client_type"]) {
  1511.             // line 811
  1512.             echo "                        <div class=\"checkbox-form";
  1513.             echo (((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["client_type"], "vars", [], "any"falsefalsefalse811), "label", [], "any"falsefalsefalse811) == "TRANS")) ? (" d-none") : (""));
  1514.             echo "\">
  1515.                             ";
  1516.             // line 812
  1517.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock($context["client_type"], 'widget');
  1518.             echo "
  1519.                             <label for=\"";
  1520.             // line 813
  1521.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["client_type"], "vars", [], "any"falsefalsefalse813), "id", [], "any"falsefalsefalse813), "html"nulltrue);
  1522.             echo "\" class=\"\">";
  1523.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["client_type"], "vars", [], "any"falsefalsefalse813), "label", [], "any"falsefalsefalse813), [], "client_types"), "html"nulltrue);
  1524.             echo "</label>
  1525.                         </div>
  1526.                     ";
  1527.         }
  1528.         $_parent $context['_parent'];
  1529.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['client_type'], $context['_parent'], $context['loop']);
  1530.         $context array_intersect_key($context$_parent) + $_parent;
  1531.         // line 816
  1532.         echo "                </div>
  1533.             </div>
  1534.             </div>
  1535.             <div class=\"block additional-info\">
  1536.                 <h2 class=\"border-line\">Дополнительная информация</h2>
  1537.                 <div class=\"age-prevent\">
  1538.                     <div class=\"field d-flex\">
  1539.                         <div class=\"text d-flex\">
  1540.                             <input type=\"checkbox\" id=\"age-prevent\">
  1541.                             <label for=\"age-prevent\">Ограничение по возрасту партнёра:</label>
  1542.                         </div>
  1543.                         <div class=\"age-prevent-cell d-flex\">
  1544.                             <span>от</span>
  1545.                             ";
  1546.         // line 829
  1547.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'829$this->source); })()), "client_restrictions", [], "any"falsefalsefalse829), "min_age", [], "any"falsefalsefalse829), 'widget', ["attr" => ["class" => "basic-view""min" => "18""max" => "100""placeholder" => "18"]]);
  1548.         // line 834
  1549.         echo "
  1550.                             <span>до</span>
  1551.                             ";
  1552.         // line 836
  1553.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'836$this->source); })()), "client_restrictions", [], "any"falsefalsefalse836), "max_age", [], "any"falsefalsefalse836), 'widget', ["attr" => ["class" => "basic-view""min" => "18""max" => "100""placeholder" => "100"]]);
  1554.         // line 841
  1555.         echo "
  1556.                         </div>
  1557.                     </div>
  1558.                     ";
  1559.         // line 844
  1560.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'844$this->source); })()), "client_restrictions", [], "any"falsefalsefalse844), "min_age", [], "any"falsefalsefalse844), 'errors');
  1561.         // line 845
  1562.         echo "                    <p class=\"field-error field-error-min";
  1563.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'845$this->source); })())) > 0)) {
  1564.             echo " show";
  1565.         }
  1566.         echo "\" id=\"";
  1567.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'845$this->source); })()), "client_restrictions", [], "any"falsefalsefalse845), "min_age", [], "any"falsefalsefalse845), "vars", [], "any"falsefalsefalse845), "id", [], "any"falsefalsefalse845), "html"nulltrue);
  1568.         echo "_error\">
  1569.                         Ошибка ввода минимального значения: ";
  1570.         // line 846
  1571.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'846$this->source); })()), "html"nulltrue);
  1572.         echo "
  1573.                     </p>
  1574.                     ";
  1575.         // line 848
  1576.         $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'848$this->source); })()), "client_restrictions", [], "any"falsefalsefalse848), "max_age", [], "any"falsefalsefalse848), 'errors');
  1577.         // line 849
  1578.         echo "                    <p class=\"field-error field-error-max";
  1579.         if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'849$this->source); })())) > 0)) {
  1580.             echo " show";
  1581.         }
  1582.         echo "\" id=\"";
  1583.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'849$this->source); })()), "client_restrictions", [], "any"falsefalsefalse849), "max_age", [], "any"falsefalsefalse849), "vars", [], "any"falsefalsefalse849), "id", [], "any"falsefalsefalse849), "html"nulltrue);
  1584.         echo "_error\">
  1585.                         Ошибка ввода максимального значения: ";
  1586.         // line 850
  1587.         echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'850$this->source); })()), "html"nulltrue);
  1588.         echo "</p>
  1589.                 </div>
  1590.                 ";
  1591.         // line 867
  1592.         echo "            </div>
  1593.             <div class=\"block media-block\">
  1594.                 <div class=\"tabs-block d-flex\" id=\"media-tabs\">
  1595.                     <div class=\"tab-header d-flex\">
  1596.                         <button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\">
  1597.                             <svg class=\"icon\">
  1598.                                 <use xlink:href=\"";
  1599.         // line 873
  1600.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1601.         echo "#icon-photo\"></use>
  1602.                             </svg>
  1603.                             <span>Фото</span>
  1604.                         </button>
  1605.                         ";
  1606.         // line 877
  1607.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "selfies", [], "any"truetruefalse877)) {
  1608.             // line 878
  1609.             echo "                            <button type=\"button\" class=\"btn d-flex selfie\" data-toggle=\"selfie\">
  1610.                             <svg class=\"icon\">
  1611.                                 <use xlink:href=\"";
  1612.             // line 880
  1613.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1614.             echo "#icon-selfie\"></use>
  1615.                             </svg>
  1616.                                 <span>Селфи</span>
  1617.                             </button>
  1618.                         ";
  1619.         }
  1620.         // line 885
  1621.         echo "                        <button type=\"button\" class=\"btn d-flex video\" data-toggle=\"video\">
  1622.                             <svg class=\"icon\">
  1623.                                 <use xlink:href=\"";
  1624.         // line 887
  1625.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1626.         echo "#icon-video\"></use>
  1627.                             </svg>
  1628.                             <span>Видео</span>
  1629.                         </button>
  1630.                         <button type=\"button\" class=\"btn d-flex verify-photo\" data-toggle=\"verify-photo\">
  1631.                             <svg class=\"icon\">
  1632.                                 <use xlink:href=\"";
  1633.         // line 893
  1634.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1635.         echo "#icon-approved\"></use>
  1636.                             </svg>
  1637.                             <span>Проверочное фото</span>
  1638.                         </button>
  1639.                     </div>
  1640.                     <div class=\"tab-content\">
  1641.                         <div class=\"tab photo active\" data-id=\"photo\">
  1642.                             <div class=\"photos-block\" id=\"photo-block\">
  1643.                                 <div style=\"display:none\" id=\"photo_widget\">";
  1644.         // line 901
  1645.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'901$this->source); })()), "photos", [], "any"falsefalsefalse901), 'widget');
  1646.         echo "</div>
  1647.                                 <template id=\"template_photo_element\">
  1648.                                     <div class=\"attach__element attach__element--loading\" data-media-rotater-element>
  1649.                                         <img class=\"attach__element__photo\" data-image data-media-rotater-target/>
  1650.                                         <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
  1651.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M8.39 6.6a1.02 1.02 0 0 1 0-1.45l2.81-2.82a1.12 1.12 0 0 1 1.6 0l2.81 2.82a1.02 1.02 0 1 1-1.44 1.44l-1.15-1.14v5.53h5.53l-1.14-1.15a1.02 1.02 0 1 1 1.44-1.44l2.82 2.82a1.12 1.12 0 0 1 0 1.58l-2.82 2.82a1.02 1.02 0 0 1-1.44-1.44l1.14-1.15h-5.53v5.53l1.15-1.14a1.02 1.02 0 0 1 1.44 1.44l-2.82 2.82a1.12 1.12 0 0 1-1.59 0L8.4 18.85a1.02 1.02 0 1 1 1.44-1.44l1.15 1.14v-5.53H5.45l1.14 1.15a1.02 1.02 0 1 1-1.44 1.44L2.33 12.8a1.12 1.12 0 0 1 0-1.58l2.82-2.82a1.02 1.02 0 0 1 1.44 1.44l-1.14 1.15h5.53V5.45L9.83 6.59a1.02 1.02 0 0 1-1.44 0Z\" /></svg>
  1652.                                         </button>
  1653.                                         <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  1654.                                            <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7.33 8h-.77v10.4c0 .42.16.83.45 1.13.3.3.69.47 1.1.47h7.78c.41 0 .8-.17 1.1-.47.3-.3.45-.7.45-1.13V8H7.34Zm3.11 9.6H8.9v-7.2h1.55v7.2Zm4.67 0h-1.55v-7.2h1.55v7.2Zm.48-12L14.33 4H9.67L8.4 5.6H5v1.6h14V5.6h-3.4Z\"/></svg>
  1655.                                         </button>
  1656.                                         <button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
  1657.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M3.86 18.46a8.98 8.98 0 0 0 10.74 2.8c.61-.28.74-1.1.27-1.57l-.05-.05a1 1 0 0 0-1.1-.19A7 7 0 0 1 5.19 9.1 6.95 6.95 0 0 1 11 6.03V7.8c0 .45.54.67.86.36l2.79-2.79a.5.5 0 0 0 0-.7l-2.8-2.8a.5.5 0 0 0-.85.35v1.8a8.98 8.98 0 0 0-7.14 14.45Z\"/><path d=\"M17.7 7.71a1 1 0 0 0-1.41 0L11.7 12.3a1 1 0 0 0 0 1.41l4.59 4.6a1 1 0 0 0 1.41 0l4.59-4.6a1 1 0 0 0 0-1.4L17.7 7.7Z\" /></svg>
  1658.                                         </button>
  1659.                                         <svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1660.                                             <circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
  1661.                                             <circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\"  stroke=\"#F7901D\" stroke-width=\"6\" />
  1662.                                             <circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
  1663.                                             <text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
  1664.                                         </svg>
  1665.                                     </div>
  1666.                                 </template>
  1667.                                 <div class=\"attach attach--empty\" id=\"photo_list\"></div>
  1668.                                 <div class=\"attach__add\">
  1669.                                     <input
  1670.                                         type=\"file\"
  1671.                                         class=\"visually_hidden\"
  1672.                                         id=\"profile-photo-input\"
  1673.                                         multiple=\"\"
  1674.                                         style=\"position:absolute;left:-999999px\"
  1675.                                         accept=\"image/jpg,image/jpeg\"
  1676.                                         data-url=\"";
  1677.         // line 934
  1678.         echo twig_escape_filter($this->env, (isset($context["photo_media_upload_url"]) || array_key_exists("photo_media_upload_url"$context) ? $context["photo_media_upload_url"] : (function () { throw new RuntimeError('Variable "photo_media_upload_url" does not exist.'934$this->source); })()), "html"nulltrue);
  1679.         echo "\"
  1680.                                         data-type=\"photo\"
  1681.                                     />
  1682.                                     <label class=\"attach__add__label\" for=\"profile-photo-input\">
  1683.                                         <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  1684.                                         <span>Загрузить фото</span>
  1685.                                     </label>
  1686.                                 </div>
  1687.                             </div>
  1688.                             <p class=\"info\">Загрузите фотографии. Не больше 2500px по большей из сторон и не менее 500px по меньшей. <br>Формат: JPG или PNG</p>
  1689.                         </div>
  1690.                         ";
  1691.         // line 945
  1692.         if (twig_get_attribute($this->env$this->source, ($context["form"] ?? null), "selfies", [], "any"truetruefalse945)) {
  1693.             // line 946
  1694.             echo "                            <div class=\"tab selfie\" data-id=\"selfie\">
  1695.                                 <div class=\"photos-block\" id=\"selfie-block\">
  1696.                                     <div style=\"display:none\" id=\"selfie_widget\">";
  1697.             // line 948
  1698.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'948$this->source); })()), "selfies", [], "any"falsefalsefalse948), 'widget');
  1699.             echo "</div>
  1700.                                     <template id=\"template_selfie_element\">
  1701.                                         <div class=\"attach__element attach__element--loading\" data-media-rotater-element>
  1702.                                             <img class=\"attach__element__photo\" data-image data-media-rotater-target/>
  1703.                                             <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
  1704.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
  1705.                                             </button>
  1706.                                             <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  1707.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
  1708.                                             </button>
  1709.                                             <button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
  1710.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 11h3l-4 4-4-4h3a6 6 0 0 0-6-6l-1 .08V3.06L11 3a8 8 0 0 1 8 8ZM8 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-7L8 7Zm2 11H4V9h3v3h3v6Z\" /></svg>
  1711.                                             </button>
  1712.                                             <svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  1713.                                                 <circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
  1714.                                                 <circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\"  stroke=\"#F7901D\" stroke-width=\"6\" />
  1715.                                                 <circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
  1716.                                                 <text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
  1717.                                             </svg>
  1718.                                         </div>
  1719.                                     </template>
  1720.                                     <div class=\"attach attach--empty\" id=\"selfie_list\"></div>
  1721.                                     <div class=\"attach__add\">
  1722.                                         <input
  1723.                                             type=\"file\"
  1724.                                             class=\"visually_hidden\"
  1725.                                             id=\"profile-selfie-input\"
  1726.                                             multiple=\"\"
  1727.                                             style=\"position:absolute;left:-999999px\"
  1728.                                             accept=\"image/jpg,image/jpeg\"
  1729.                                             data-url=\"";
  1730.             // line 981
  1731.             echo twig_escape_filter($this->env, (isset($context["selfie_media_upload_url"]) || array_key_exists("selfie_media_upload_url"$context) ? $context["selfie_media_upload_url"] : (function () { throw new RuntimeError('Variable "selfie_media_upload_url" does not exist.'981$this->source); })()), "html"nulltrue);
  1732.             echo "\"
  1733.                                             data-type=\"selfie\"
  1734.                                         />
  1735.                                         <label class=\"attach__add__label\" for=\"profile-selfie-input\">
  1736.                                             <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  1737.                                             <span>Загрузить селфи</span>
  1738.                                         </label>
  1739.                                     </div>
  1740.                                 </div>
  1741.                                 <p class=\"info\">Загрузите фотографии. Для удобства просмотра желательно что бы размер фотографии был не более 2500рх по большей стороне и не менее 1000рх по больше стороне.<br>Формат изображения: JPG или PNG</p>
  1742.                             </div>
  1743.                         ";
  1744.         }
  1745.         // line 993
  1746.         echo "                        <div class=\"tab video\" data-id=\"video\">
  1747.                             <div class=\"photos-block videos-block\" id=\"video-block\">
  1748.                                 <div style=\"display:none\" id=\"video_widget\" data-video-on-progress=\"";
  1749.         // line 995
  1750.         echo twig_escape_filter($this->env, (isset($context["videos_in_process"]) || array_key_exists("videos_in_process"$context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.'995$this->source); })()), "html"nulltrue);
  1751.         echo "\">";
  1752.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'995$this->source); })()), "videos", [], "any"falsefalsefalse995), 'widget');
  1753.         echo "</div>
  1754.                                 <template id=\"template_video_element\">
  1755.                                     <div class=\"attach__element attach__element--loading attach__element-video\" data-media-rotater-element>
  1756.                                         <video class=\"attach__element__video\" data-video data-media-rotater-target  ></video>
  1757.                                         ";
  1758.         // line 1002
  1759.         echo "                                        <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  1760.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
  1761.                                         </button>
  1762.                                         <button class=\"attach__element__video__button\" type=\"button\" data-button-play>
  1763.                                             <svg class=\"attach__element__video__play\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\"><g fill=\"#fff\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" opacity=\".6\"><path d=\"M32 7.332c-13.623 0-24.667 11.044-24.667 24.667 0 13.623 11.044 24.666 24.667 24.666 13.623 0 24.666-11.043 24.666-24.666C56.666 18.376 45.623 7.332 32 7.332ZM3.333 31.999C3.333 16.167 16.168 3.332 32 3.332s28.666 12.834 28.666 28.667c0 15.832-12.834 28.666-28.666 28.666S3.333 47.831 3.333 32Z\"/><path d=\"M25.723 19.569a2 2 0 0 1 2.053.099l16 10.667a2 2 0 0 1 0 3.328l-16 10.667a2 2 0 0 1-3.109-1.665V21.332a2 2 0 0 1 1.056-1.763Zm2.944 5.5v13.86l10.394-6.93-10.394-6.93Z\"/></g></svg>
  1764.                                         </button>
  1765.                                         <svg class=\"attach__element__progress\" data-progress xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\">
  1766.                                             <circle cx=\"32\" cy=\"32\" r=\"29\" fill=\"#fff\" opacity=\".5\"/>
  1767.                                             <circle data-progress-animate cx=\"32\" cy=\"32\" r=\"27\" stroke=\"#383838\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" stroke-dasharray=\"169.65\" stroke-dashoffset=\"169.65\"/>
  1768.                                             <text data-progress-value x=\"22\" y=\"38\" font-size=\"16\" fill=\"#252525\">0%</text>
  1769.                                         </svg>
  1770.                                     </div>
  1771.                                 </template>
  1772.                                 <div class=\"attach attach--empty\" id=\"video_list\">
  1773.                                     ";
  1774.         // line 1019
  1775.         if (((isset($context["videos_in_process"]) || array_key_exists("videos_in_process"$context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.'1019$this->source); })()) > 0)) {
  1776.             // line 1020
  1777.             $context['_parent'] = $context;
  1778.             $context['_seq'] = twig_ensure_traversable(range(1, (isset($context["videos_in_process"]) || array_key_exists("videos_in_process"$context) ? $context["videos_in_process"] : (function () { throw new RuntimeError('Variable "videos_in_process" does not exist.'1020$this->source); })())));
  1779.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  1780.                 // line 1021
  1781.                 echo "                                        <div class=\"attach__element__container\">
  1782.                                             <div class=\"attach__element attach__element-video\">
  1783.                                                 <div class=\"item item-processing\">
  1784.                                                     <svg viewBox=\"0 0 100 100\" width=\"100\" width=\"100\" height=\"100\" fill=\"none\"><path fill=\"#000\" fill-opacity=\".3\" fill-rule=\"evenodd\" d=\"M25 10c-8.284 0-15 6.716-15 15v50c0 8.284 6.716 15 15 15h50c8.284 0 15-6.716 15-15V25c0-8.284-6.716-15-15-15H25Zm33 26c2.206 0 4 1.794 4 4v6.666L70 40v20l-8-6.666V60c0 2.206-1.794 4-4 4H34c-2.206 0-4-1.794-4-4V40c0-2.206 1.794-4 4-4h24Z\" clip-rule=\"evenodd\"/></svg>
  1785.                                                 </div>
  1786.                                             </div>
  1787.                                         </div>
  1788.                                         ";
  1789.             }
  1790.             $_parent $context['_parent'];
  1791.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  1792.             $context array_intersect_key($context$_parent) + $_parent;
  1793.             // line 1029
  1794.             echo "                                    ";
  1795.         }
  1796.         // line 1030
  1797.         echo "                                </div>
  1798.                                 <div class=\"attach__add\">
  1799.                                     <input
  1800.                                         type=\"file\"
  1801.                                         class=\"visually_hidden\"
  1802.                                         id=\"profile-video-input\"
  1803.                                         multiple=\"\"
  1804.                                         style=\"position:absolute;left:-999999px\"
  1805.                                         accept=\".mp4, .mov\"
  1806.                                         data-url=\"";
  1807.         // line 1040
  1808.         echo twig_escape_filter($this->env, (isset($context["video_media_upload_url"]) || array_key_exists("video_media_upload_url"$context) ? $context["video_media_upload_url"] : (function () { throw new RuntimeError('Variable "video_media_upload_url" does not exist.'1040$this->source); })()), "html"nulltrue);
  1809.         echo "\"
  1810.                                         data-type=\"video\"
  1811.                                     />
  1812.                                     <label class=\"attach__add__label\" for=\"profile-video-input\">
  1813.                                         <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  1814.                                         <span>Загрузить видео</span>
  1815.                                     </label>
  1816.                                 </div>
  1817.                             </div>
  1818.                             <p class=\"info\">Загрузите видео. До 400 МБ. Mp4, Mov, HEVC</p>
  1819.                         </div>
  1820.                         <div class=\"tab verify-photo\" data-id=\"verify-photo\" id=\"approval_block\">
  1821.                             <div style=\"display:none\" id=\"approval_widget\" data-status=\"";
  1822.         // line 1054
  1823.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1054$this->source); })()), "approval_status", [], "any"falsefalsefalse1054), "vars", [], "any"falsefalsefalse1054), "value", [], "any"falsefalsefalse1054), "html"nulltrue);
  1824.         echo "\">
  1825.                                 ";
  1826.         // line 1055
  1827.         if ( !(null === twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1055$this->source); })()), "uploaded_approval_photo", [], "any"falsefalsefalse1055), "vars", [], "any"falsefalsefalse1055), "data", [], "any"falsefalsefalse1055))) {
  1828.             // line 1056
  1829.             echo "                                    <img id=\"uploaded_approval_photo\" src=\"";
  1830.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1056$this->source); })()), "uploaded_approval_photo", [], "any"falsefalsefalse1056), "vars", [], "any"falsefalsefalse1056), "data", [], "any"falsefalsefalse1056), "profile_media_approval""357x500""jpg"), "html"nulltrue);
  1831.             echo "\" width=\"100\" height=\"100\"/><video id=\"uploaded_approval_photo\" src=\"";
  1832.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1056$this->source); })()), "uploaded_approval_photo", [], "any"falsefalsefalse1056), "vars", [], "any"falsefalsefalse1056), "data", [], "any"falsefalsefalse1056), "profile_media_approval"), "html"nulltrue);
  1833.             echo "\" width=\"100\" height=\"100\"></video>
  1834.                                 ";
  1835.         }
  1836.         // line 1058
  1837.         echo "                                <div class=\"form-error\">";
  1838.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1058$this->source); })()), "approval_photo", [], "any"falsefalsefalse1058), 'errors');
  1839.         echo "</div>
  1840.                                 ";
  1841.         // line 1059
  1842.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1059$this->source); })()), "approval_photo", [], "any"falsefalsefalse1059), 'widget', ["attr" => ["class" => "custom-file-input""data-type" => "verify""accept" => "image/jpg,image/jpeg""data-url" => "{{ approval_media_upload_url }}""style" => "position:absolute;left:-999999px"]]);
  1843.         // line 1065
  1844.         echo "
  1845.                             </div>
  1846.                             ";
  1847.         // line 1068
  1848.         $context["classVerify"] = ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1068$this->source); })()), "approval_status", [], "any"falsefalsefalse1068), "vars", [], "any"falsefalsefalse1068), "value", [], "any"falsefalsefalse1068)) ? (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1068$this->source); })()), "approval_status", [], "any"falsefalsefalse1068), "vars", [], "any"falsefalsefalse1068), "value", [], "any"falsefalsefalse1068)) : ("NO_ADD"));
  1849.         // line 1069
  1850.         echo "
  1851.                             <div class=\"photos-verify-block d-flex\" id=\"approval_list\">
  1852.                                 <div class=\"status-block\">
  1853.                                     <div class=\"photo\">
  1854.                                         <div class=\"empty-image\" id=\"approval_empty\">
  1855.                                             <svg class=\"icon\">
  1856.                                                 <use xlink:href=\"";
  1857.         // line 1076
  1858.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1859.         echo "#icon-empty-girl\"></use>
  1860.                                             </svg>
  1861.                                         </div>
  1862.                                         <div class=\"current-image d-none status_image_";
  1863.         // line 1079
  1864.         echo twig_escape_filter($this->env, (isset($context["classVerify"]) || array_key_exists("classVerify"$context) ? $context["classVerify"] : (function () { throw new RuntimeError('Variable "classVerify" does not exist.'1079$this->source); })()), "html"nulltrue);
  1865.         echo "\" id=\"approval_image\">
  1866.                                             <img class=\"main\" src=\"\" >
  1867.                                             ";
  1868.         // line 1083
  1869.         echo "                                        </div>
  1870.                                     </div>
  1871.                                     <div class=\"status attach__approval__";
  1872.         // line 1085
  1873.         echo twig_escape_filter($this->env, (isset($context["classVerify"]) || array_key_exists("classVerify"$context) ? $context["classVerify"] : (function () { throw new RuntimeError('Variable "classVerify" does not exist.'1085$this->source); })()), "html"nulltrue);
  1874.         echo "\" data-t=\"";
  1875.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1085$this->source); })()), "approval_status", [], "any"falsefalsefalse1085), "vars", [], "any"falsefalsefalse1085), "value", [], "any"falsefalsefalse1085), "html"nulltrue);
  1876.         echo "\" id=\"approval_photo_text\">
  1877.                                         <div class=\"status-info status-info-empty\" id=\"status-info-empty\">
  1878.                                             <p class=\"colored\">Ваша анкета ещё НЕ подтверждена.</p>
  1879.                                             <p class=\"sub\">Рекомендуем загрузить проверочное фото.</p>
  1880.                                         </div>
  1881.                                         <div class=\"status-info status-info-wait\" id=\"status-info-wait\">
  1882.                                             <p class=\"colored\">Ожидает модерации</p>
  1883.                                             <p class=\"sub\">Ваша проверочная фотография ожидает подтверждения от администрации сайта.</p>
  1884.                                             <p class=\"sub-2\">Проверка может занять до двух дней.<br>Пожалуйста, подождите.</p>
  1885.                                         </div>
  1886.                                         <div class=\"status-info status-info-rejected\" id=\"status-info-rejected\">
  1887.                                             <p class=\"colored\">Фото отклонено</p>
  1888.                                             <p class=\"sub\">К сожалению, <strong>Ваша анкета НЕ подтверждена</strong>.</p>
  1889.                                             <p class=\"sub-2\">Попробуйте отправить новое фото</p>
  1890.                                         </div>
  1891.                                         <div class=\"status-info status-info-approved\" id=\"status-info-approved\">
  1892.                                             <p class=\"colored d-flex\">
  1893.                                                 <svg class=\"icon\">
  1894.                                                     <use xlink:href=\"";
  1895.         // line 1103
  1896.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1897.         echo "#icon-approved\"></use>
  1898.                                                 </svg>
  1899.                                                 <span>Подтверждено</span>
  1900.                                             </p>
  1901.                                             <p class=\"sub\">Поздравляем, Ваша анкета подтверждена.</p>
  1902.                                         </div>
  1903.                                         <div class=\"status-info status-info-wait-second-attempt\" id=\"status-info-wait-second-attempt\">
  1904.                                             <p class=\"colored\">Проверяется</p>
  1905.                                             <p class=\"sub\">Вы обновили свои фотографии. Знак верификации временно снят до проверки модератором.</p>
  1906.                                             <p class=\"sub-2\">Если Вы хотите изменить проверочное фото - загрузите его заново.</p>
  1907.                                         </div>
  1908.                                         <div class=\"add-block\" id=\"status-info-add\">
  1909.                                             <div class=\"add\">
  1910.                                                 <input class=\"custom-file-input d-none\"
  1911.                                                     type=\"file\"
  1912.                                                     id=\"profile-verify-input\"
  1913.                                                     data-type=\"verify\"
  1914.                                                     accept=\"image/jpg,image/jpeg\"
  1915.                                                     data-url=\"";
  1916.         // line 1122
  1917.         echo twig_escape_filter($this->env, (isset($context["approval_media_upload_url"]) || array_key_exists("approval_media_upload_url"$context) ? $context["approval_media_upload_url"] : (function () { throw new RuntimeError('Variable "approval_media_upload_url" does not exist.'1122$this->source); })()), "html"nulltrue);
  1918.         echo "\"
  1919.                                                 />
  1920.                                                 <label class=\"add-photo btn btn-secondary d-flex\" for=\"profile-verify-input\">
  1921.                                                     <svg class=\"icon\">
  1922.                                                         <use xlink:href=\"";
  1923.         // line 1126
  1924.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1925.         echo "#icon-upload\"></use>
  1926.                                                     </svg>
  1927.                                                     <span>Загрузить фото</span>
  1928.                                                 </label>
  1929.                                             </div>
  1930.                                         </div>
  1931.                                     </div>
  1932.                                 </div>
  1933.                                 <div class=\"description\">
  1934.                                     <p class=\"heading\">Что такое проверочное фото?</p>
  1935.                                     <p>Чтобы анкета была с отметкой \"<span class=\"colored-green\">фото проверено</span>\" и показывалась выше непроверенных анкет, <strong>Вам необходимо добавить проверочную фотографию</strong>.</p>
  1936.                                     <p>Проверочная фотография - это фотография девушки из анкеты с листком бумаги, на котором от руки написана свежая дата.</p>
  1937.                                     <p class=\"colored-red\">Фотошоп, плохое качество фотографии запрещены на проверочной фотографии.</p>
  1938.                                     <p>Если Вы добавите новые фотографии к уже проверенной анкете - отметка \"фото проверено\" пропадёт, и Вам нужно будет снова присылать проверочную фотографию.</p>
  1939.                                     <p>Если Вы удалите одну или несколько фотографий из уже проверенной анкеты - отметка \"фото проверено\" останется</p>
  1940.                                     <div class=\"sale\">
  1941.                                         <div class=\"info-box d-flex justify-content-center\">
  1942.                                             <svg class=\"icon icon-verify\">
  1943.                                                 <use xlink:href=\"";
  1944.         // line 1145
  1945.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  1946.         echo "#icon-approval-check\"></use>
  1947.                                             </svg>
  1948.                                             <span class=\"info-box-center d-flex\">
  1949.                                                 <span class=\"sale\">10%</span>
  1950.                                                 <span class=\"text\">скидка за <span class=\"marked\">Проверенные анкеты</span></span>
  1951.                                             </span>
  1952.                                         </div>
  1953.                                     </div>
  1954.                                 </div>
  1955.                             </div>
  1956.                         </div>
  1957.                     </div>
  1958.                 </div>
  1959.             </div>
  1960.             <div class=\"submit-block\">
  1961.                 ";
  1962.         // line 1160
  1963.         echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1160$this->source); })()), "submit", [], "any"falsefalsefalse1160), 'widget', ["label" => ((        // line 1161
  1964. (isset($context["editCheck"]) || array_key_exists("editCheck"$context) ? $context["editCheck"] : (function () { throw new RuntimeError('Variable "editCheck" does not exist.'1161$this->source); })())) ? ("Сохранить изменения") : ("Сохранить")), "attr" => ["class" => "btn btn-danger"]]);
  1965.         // line 1164
  1966.         echo "
  1967.             </div>
  1968.             <div>
  1969.         ";
  1970.         // line 1167
  1971.         echo         $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderBlock((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'1167$this->source); })()), 'form_end');
  1972.         echo "
  1973.     </div>
  1974.      <div
  1975.         class=\"dialog-container\"
  1976.         id=\"upload-dialog-id\"
  1977.         aria-labelledby=\"upload-dialog-title-id\"
  1978.         aria-hidden=\"true\"
  1979.         >
  1980.         <!-- 2. The dialog overlay -->
  1981.         <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  1982.         <!-- 3. The actual dialog -->
  1983.         <div class=\"dialog-content\" role=\"document\">
  1984.             <!-- 4. The close button -->
  1985.             <button class=\"dialog-button\" type=\"button\" data-a11y-dialog-hide aria-label=\"Close dialog\">
  1986.             &times;
  1987.             </button>
  1988.             <!-- 5. The dialog title -->
  1989.             <div class=\"dialog-title\" id=\"upload_dialog-title\">upload title</div>
  1990.             <div class=\"dialog-body\" id=\"upload_dialog-content\">upload content</div>
  1991.             <!-- 6. Dialog content -->
  1992.         </div>
  1993.     </div>
  1994. ";
  1995.         
  1996.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  1997.         
  1998.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  1999.         
  2000.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2001.     }
  2002.     // line 1193
  2003.     public function block_javascripts($context, array $blocks = [])
  2004.     {
  2005.         $macros $this->macros;
  2006.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2007.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2008.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2009.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2010.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2011.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  2012.         // line 1194
  2013.         echo "    ";
  2014.         $this->displayParentBlock("javascripts"$context$blocks);
  2015.         echo "
  2016.     ";
  2017.         // line 1196
  2018.         echo $this->extensions['Symfony\WebpackEncoreBundle\Twig\EntryFilesTwigExtension']->renderWebpackScriptTags("scripts/uploader"null"basicConfig");
  2019.         echo "
  2020.     <script>
  2021.     //     function is_click_masseur(load = false) {
  2022.     //         const checkBox = document.getElementById(\"is_masseur\");
  2023.     //         let group1 = document.querySelector('.group-1');
  2024.     //         let group2 = document.querySelector('.group-5');
  2025.     //         let group3 = document.querySelector('.group-6');
  2026.     //         let group4 = document.querySelector('.group-7');
  2027.     //         if (!load) {
  2028.     //             if (checkBox.checked == true){
  2029.     //                 group1.style.display = \"block\";
  2030.     //                 group2.style.display = \"block\";
  2031.     //                 group3.style.display = \"block\";
  2032.     //                 group4.style.display = \"block\";
  2033.     //             } else {
  2034.     //                 group1.style.display = \"none\";
  2035.     //                 group2.style.display = \"none\";
  2036.     //                 group3.style.display = \"none\";
  2037.     //                 group4.style.display = \"none\";
  2038.     //             }
  2039.     //         } else {
  2040.     //             if (checkBox.checked == true) {
  2041.     //                 group1.style.display = \"none\";
  2042.     //                 group2.style.display = \"none\";
  2043.     //                 group3.style.display = \"none\";
  2044.     //                 group4.style.display = \"none\";
  2045.     //             }
  2046.     //         }
  2047.     //     }
  2048.     //     is_click_masseur(true);
  2049.     </script>
  2050. ";
  2051.         
  2052.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2053.         
  2054.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2055.         
  2056.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2057.     }
  2058.     // line 1230
  2059.     public function block_javascriptss($context, array $blocks = [])
  2060.     {
  2061.         $macros $this->macros;
  2062.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2063.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptss"));
  2064.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2065.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptss"));
  2066.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2067.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascriptss"));
  2068.         // line 1231
  2069.         echo "    ";
  2070.         $this->displayParentBlock("javascriptss"$context$blocks);
  2071.         echo "
  2072.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/intlTelInput.min.js\"
  2073.             integrity=\"sha256-Gf8PGNhkyd/4AuPWG7theaqc8hAvHzocloCkDN9pXFw=\"
  2074.             crossorigin=\"anonymous\"></script>
  2075.     <script>
  2076. \t\tvar input = document.querySelector(\"#phone\"),
  2077. \t\t\terrorMsg = document.querySelector(\"#error-msg\"),
  2078. \t\t\tvalidMsg = document.querySelector(\"#valid-msg\");
  2079. \t\t// here, the index maps to the error code returned from getValidationError - see readme
  2080. \t\tvar errorMap = [\"Invalid number\", \"Invalid country code\", \"Too short\", \"Too long\", \"Invalid number\"];
  2081. \t\tvar input = document.querySelector(\"#phone\");
  2082. \t\tvar iti = window.intlTelInput(input, {
  2083. \t\t\tonlyCountries: [\"al\", \"ad\", \"at\", \"by\", \"be\", \"ba\", \"bg\", \"hr\", \"cz\", \"dk\",
  2084. \t\t\t\t\"ee\", \"fo\", \"fi\", \"fr\", \"de\", \"gi\", \"gr\", \"va\", \"hu\", \"is\", \"ie\", \"it\", \"lv\",
  2085. \t\t\t\t\"li\", \"lt\", \"lu\", \"mk\", \"mt\", \"md\", \"mc\", \"me\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\",
  2086. \t\t\t\t\"ru\", \"sm\", \"rs\", \"sk\", \"si\", \"es\", \"se\", \"ch\", \"ua\", \"gb\"],
  2087. \t\t\tgeoIpLookup: function(callback) {
  2088. \t\t\t\t\$.get('https://ipinfo.io', function() {}, \"jsonp\").always(function(resp) {
  2089. \t\t\t\t\tvar countryCode = (resp && resp.country) ? resp.country : \"\";
  2090. \t\t\t\t\tcallback(countryCode);
  2091. \t\t\t\t});
  2092. \t\t\t},
  2093. \t\t\tutilsScript: \"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/utils.js\" // just for formatting/placeholders etc
  2094. \t\t});
  2095. \t\tvar reset = function() {
  2096. \t\t\tinput.classList.remove(\"error\");
  2097. \t\t\terrorMsg.innerHTML = \"\";
  2098. \t\t\terrorMsg.classList.add(\"hide\");
  2099. \t\t\tvalidMsg.classList.add(\"hide\");
  2100. \t\t};
  2101. \t\t// on blur: validate
  2102. \t\tinput.addEventListener('blur', function() {
  2103. \t\t\treset();
  2104. \t\t\tif (input.value.trim()) {
  2105. \t\t\t\tif (iti.isValidNumber()) {
  2106. \t\t\t\t\tvalidMsg.classList.remove(\"hide\");
  2107. \t\t\t\t} else {
  2108. \t\t\t\t\tinput.classList.add(\"error\");
  2109. \t\t\t\t\tvar errorCode = iti.getValidationError();
  2110. \t\t\t\t\terrorMsg.innerHTML = errorMap[errorCode];
  2111. \t\t\t\t\terrorMsg.classList.remove(\"hide\");
  2112. \t\t\t\t}
  2113. \t\t\t}
  2114. \t\t});
  2115. \t\t// on keyup / change flag: reset
  2116. \t\tinput.addEventListener('change', reset);
  2117. \t\tinput.addEventListener('keyup', reset);
  2118. \t\t//-----------
  2119. \t\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {
  2120. \t\t\tdocument.querySelector('.selector-menu .menu').fakeScroll();
  2121. \t\t});
  2122.     </script>
  2123. ";
  2124.         
  2125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2126.         
  2127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2128.         
  2129.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2130.     }
  2131.     // line 58
  2132.     public function macro__service_block($__provided_service__ null$__service__ null, ...$__varargs__)
  2133.     {
  2134.         $macros $this->macros;
  2135.         $context $this->env->mergeGlobals([
  2136.             "provided_service" => $__provided_service__,
  2137.             "service" => $__service__,
  2138.             "varargs" => $__varargs__,
  2139.         ]);
  2140.         $blocks = [];
  2141.         ob_start();
  2142.         try {
  2143.             $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  2144.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_service_block"));
  2145.             $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  2146.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_service_block"));
  2147.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  2148.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""_service_block"));
  2149.             // line 59
  2150.             echo "<div class=\"checkbox-form d-flex\" data-id=\"";
  2151.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'59$this->source); })()), "vars", [], "any"falsefalsefalse59), "name", [], "any"falsefalsefalse59), "html"nulltrue);
  2152.             echo "\">
  2153.         <div class=\"checkbox-block d-flex";
  2154.             // line 60
  2155.             if ( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'60$this->source); })()), "enabled", [], "any"falsefalsefalse60), "vars", [], "any"falsefalsefalse60), "checked", [], "any"falsefalsefalse60)) {
  2156.                 echo " not-selected";
  2157.             }
  2158.             echo "\">
  2159.             <div class=\"conditions d-flex\">
  2160.                 ";
  2161.             // line 62
  2162.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'62$this->source); })()), "condition", [], "any"falsefalsefalse62), 0, [], "array"falsefalsefalse62), 'widget');
  2163.             echo "
  2164.                 <label for=\"";
  2165.             // line 63
  2166.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'63$this->source); })()), "condition", [], "any"falsefalsefalse63), 0, [], "array"falsefalsefalse63), "vars", [], "any"falsefalsefalse63), "id", [], "any"falsefalsefalse63), "html"nulltrue);
  2167.             echo "\" title=\"Включено\" class=\"d-flex include\">
  2168.                     <svg class=\"icon\">
  2169.                         <use xlink:href=\"";
  2170.             // line 65
  2171.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2172.             echo "#icon-condition-include\"></use>
  2173.                     </svg>
  2174.                 </label>
  2175.                 ";
  2176.             // line 68
  2177.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'68$this->source); })()), "condition", [], "any"falsefalsefalse68), 1, [], "array"falsefalsefalse68), 'widget');
  2178.             echo "
  2179.                 <label for=\"";
  2180.             // line 69
  2181.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'69$this->source); })()), "condition", [], "any"falsefalsefalse69), 1, [], "array"falsefalsefalse69), "vars", [], "any"falsefalsefalse69), "id", [], "any"falsefalsefalse69), "html"nulltrue);
  2182.             echo "\" title=\"По симпатии\" class=\"d-flex sympathy\">
  2183.                     <svg class=\"icon\">
  2184.                         <use xlink:href=\"";
  2185.             // line 71
  2186.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2187.             echo "#icon-condition-sympathy\"></use>
  2188.                     </svg>
  2189.                 </label>
  2190.                 ";
  2191.             // line 74
  2192.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'74$this->source); })()), "condition", [], "any"falsefalsefalse74), 2, [], "array"falsefalsefalse74), 'widget');
  2193.             echo "
  2194.                 <label for=\"";
  2195.             // line 75
  2196.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'75$this->source); })()), "condition", [], "any"falsefalsefalse75), 2, [], "array"falsefalsefalse75), "vars", [], "any"falsefalsefalse75), "id", [], "any"falsefalsefalse75), "html"nulltrue);
  2197.             echo "\" title=\"За дополнительную плату\" class=\"d-flex extra\">
  2198.                     <svg class=\"icon\">
  2199.                         <use xlink:href=\"";
  2200.             // line 77
  2201.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets_domain/images/icons/account/svg-library.svg""nodomainConfig"), "html"nulltrue);
  2202.             echo "#icon-condition-with-price\"></use>
  2203.                     </svg>
  2204.                 </label>
  2205.             </div>
  2206.             <div class=\"main-checkbox d-flex\">
  2207.                 ";
  2208.             // line 82
  2209.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'82$this->source); })()), "enabled", [], "any"falsefalsefalse82), 'widget');
  2210.             echo "
  2211.                 <label for=\"";
  2212.             // line 83
  2213.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'83$this->source); })()), "vars", [], "any"falsefalsefalse83), "id", [], "any"falsefalsefalse83), "html"nulltrue);
  2214.             echo "_enabled\" class=\"\">";
  2215.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source, (isset($context["service"]) || array_key_exists("service"$context) ? $context["service"] : (function () { throw new RuntimeError('Variable "service" does not exist.'83$this->source); })()), "name", [], "any"falsefalsefalse83), [], "left_menu"), "html"nulltrue);
  2216.             echo "</label>
  2217.             </div>
  2218.             <div class=\"price d-flex\">
  2219.                 <div class=\"input__sub\">
  2220.                     ";
  2221.             // line 87
  2222.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'87$this->source); })()), "extra_charge", [], "any"falsefalsefalse87), 'widget', ["attr" => ["class" => "basic-view extra-price input__sub__input""maxlength" => "6"]]);
  2223.             // line 90
  2224.             echo "
  2225.                     <span class=\"input__sub__text\">₽</span>
  2226.                 </div>
  2227.             </div>
  2228.         </div>
  2229.         <div class=\"services__comment services__comment--empty d-none\" data-services-comment>
  2230.             ";
  2231.             // line 96
  2232.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'96$this->source); })()), "comment", [], "any"falsefalsefalse96), 'widget', ["attr" => ["class" => "services__comment__textarea""placeholder" => "Дополнительная информация по услуге (необязательно)""data-services-comment-textarea" => """maxlength" => "80"]]);
  2233.             // line 101
  2234.             echo "
  2235.             <div class=\"services__comment__count\" data-services-comment-count>80</div>
  2236.         </div>
  2237.         ";
  2238.             // line 104
  2239.             $context["error_message"] = $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'104$this->source); })()), "extra_charge", [], "any"falsefalsefalse104), 'errors');
  2240.             // line 105
  2241.             echo "        <p class=\"field-error services-error";
  2242.             if ((twig_length_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'105$this->source); })())) > 0)) {
  2243.                 echo " show";
  2244.             }
  2245.             echo "\" id=\"";
  2246.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'105$this->source); })()), "extra_charge", [], "any"falsefalsefalse105), "vars", [], "any"falsefalsefalse105), "id", [], "any"falsefalsefalse105), "html"nulltrue);
  2247.             echo "_error\">";
  2248.             echo twig_escape_filter($this->env, (isset($context["error_message"]) || array_key_exists("error_message"$context) ? $context["error_message"] : (function () { throw new RuntimeError('Variable "error_message" does not exist.'105$this->source); })()), "html"nulltrue);
  2249.             echo "</p>
  2250.         <div>";
  2251.             // line 107
  2252.             echo $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->searchAndRenderBlock(twig_get_attribute($this->env$this->source, (isset($context["provided_service"]) || array_key_exists("provided_service"$context) ? $context["provided_service"] : (function () { throw new RuntimeError('Variable "provided_service" does not exist.'107$this->source); })()), "service", [], "any"falsefalsefalse107), 'widget');
  2253.             echo "</div>
  2254.     </div>";
  2255.             
  2256.             $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  2257.             
  2258.             $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  2259.             
  2260.             $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  2261.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  2262.         } finally {
  2263.             ob_end_clean();
  2264.         }
  2265.     }
  2266.     /**
  2267.      * @codeCoverageIgnore
  2268.      */
  2269.     public function getTemplateName()
  2270.     {
  2271.         return "account/profiles/profile_form.html.twig";
  2272.     }
  2273.     /**
  2274.      * @codeCoverageIgnore
  2275.      */
  2276.     public function isTraitable()
  2277.     {
  2278.         return false;
  2279.     }
  2280.     /**
  2281.      * @codeCoverageIgnore
  2282.      */
  2283.     public function getDebugInfo()
  2284.     {
  2285.         return array (  2356 => 107,  2344 => 105,  2342 => 104,  2337 => 101,  2335 => 96,  2327 => 90,  2325 => 87,  2316 => 83,  2312 => 82,  2304 => 77,  2299 => 75,  2295 => 74,  2289 => 71,  2284 => 69,  2280 => 68,  2274 => 65,  2269 => 63,  2265 => 62,  2258 => 60,  2253 => 59,  2230 => 58,  2152 => 1231,  2139 => 1230,  2093 => 1196,  2087 => 1194,  2074 => 1193,  2036 => 1167,  2031 => 1164,  2029 => 1161,  2028 => 1160,  2010 => 1145,  1988 => 1126,  1981 => 1122,  1959 => 1103,  1936 => 1085,  1932 => 1083,  1927 => 1079,  1921 => 1076,  1912 => 1069,  1910 => 1068,  1905 => 1065,  1903 => 1059,  1898 => 1058,  1890 => 1056,  1888 => 1055,  1884 => 1054,  1867 => 1040,  1855 => 1030,  1852 => 1029,  1839 => 1021,  1835 => 1020,  1833 => 1019,  1814 => 1002,  1805 => 995,  1801 => 993,  1786 => 981,  1750 => 948,  1746 => 946,  1744 => 945,  1730 => 934,  1694 => 901,  1683 => 893,  1674 => 887,  1670 => 885,  1662 => 880,  1658 => 878,  1656 => 877,  1649 => 873,  1641 => 867,  1635 => 850,  1626 => 849,  1624 => 848,  1619 => 846,  1610 => 845,  1608 => 844,  1603 => 841,  1601 => 836,  1597 => 834,  1595 => 829,  1580 => 816,  1569 => 813,  1565 => 812,  1560 => 811,  1556 => 810,  1547 => 803,  1533 => 802,  1527 => 800,  1524 => 799,  1521 => 798,  1518 => 797,  1515 => 796,  1512 => 795,  1509 => 794,  1506 => 793,  1503 => 792,  1498 => 790,  1494 => 789,  1487 => 788,  1481 => 785,  1477 => 784,  1470 => 783,  1465 => 779,  1456 => 777,  1453 => 776,  1450 => 775,  1446 => 774,  1442 => 773,  1436 => 769,  1427 => 767,  1424 => 766,  1421 => 765,  1417 => 764,  1413 => 763,  1409 => 761,  1407 => 760,  1404 => 759,  1402 => 758,  1399 => 757,  1395 => 756,  1391 => 755,  1388 => 753,  1385 => 752,  1380 => 751,  1377 => 749,  1374 => 748,  1371 => 747,  1354 => 746,  1351 => 745,  1347 => 744,  1344 => 743,  1341 => 742,  1339 => 741,  1336 => 740,  1333 => 739,  1330 => 738,  1328 => 737,  1325 => 736,  1316 => 708,  1307 => 702,  1298 => 696,  1289 => 690,  1272 => 680,  1264 => 679,  1256 => 674,  1252 => 673,  1245 => 669,  1230 => 662,  1228 => 661,  1223 => 659,  1206 => 644,  1191 => 628,  1189 => 627,  1184 => 624,  1182 => 619,  1168 => 613,  1166 => 612,  1160 => 609,  1156 => 608,  1153 => 607,  1142 => 604,  1138 => 603,  1135 => 602,  1131 => 601,  1116 => 596,  1114 => 595,  1110 => 593,  1108 => 589,  1102 => 586,  1094 => 583,  1079 => 578,  1077 => 577,  1074 => 576,  1072 => 572,  1058 => 568,  1056 => 567,  1053 => 566,  1051 => 562,  1037 => 558,  1035 => 557,  1032 => 556,  1030 => 552,  1020 => 545,  1003 => 538,  1001 => 537,  998 => 536,  996 => 532,  982 => 528,  980 => 527,  977 => 526,  975 => 522,  961 => 518,  959 => 517,  956 => 516,  954 => 512,  944 => 505,  926 => 495,  924 => 494,  918 => 490,  916 => 488,  895 => 475,  893 => 474,  887 => 470,  885 => 468,  864 => 455,  862 => 454,  856 => 450,  854 => 448,  833 => 435,  831 => 434,  825 => 430,  823 => 428,  802 => 410,  795 => 406,  778 => 399,  776 => 398,  773 => 397,  771 => 392,  757 => 388,  755 => 387,  752 => 386,  750 => 381,  736 => 377,  734 => 376,  731 => 375,  729 => 370,  715 => 366,  713 => 365,  710 => 364,  708 => 359,  694 => 355,  692 => 354,  689 => 353,  687 => 348,  673 => 344,  671 => 343,  668 => 342,  666 => 337,  655 => 328,  644 => 325,  640 => 324,  637 => 323,  633 => 322,  621 => 313,  617 => 312,  607 => 309,  600 => 305,  596 => 304,  585 => 300,  578 => 296,  574 => 295,  561 => 290,  559 => 289,  550 => 285,  531 => 276,  529 => 275,  518 => 272,  516 => 271,  512 => 269,  510 => 263,  503 => 259,  496 => 255,  489 => 251,  484 => 248,  482 => 243,  477 => 240,  464 => 237,  462 => 236,  459 => 235,  452 => 231,  442 => 223,  435 => 221,  432 => 220,  429 => 217,  427 => 216,  423 => 215,  419 => 213,  417 => 212,  405 => 210,  403 => 209,  399 => 207,  397 => 203,  393 => 202,  379 => 191,  372 => 187,  368 => 186,  364 => 185,  356 => 180,  350 => 176,  344 => 173,  337 => 169,  333 => 167,  327 => 164,  324 => 163,  322 => 162,  309 => 159,  307 => 158,  302 => 155,  299 => 153,  296 => 152,  290 => 149,  286 => 148,  283 => 147,  281 => 146,  278 => 145,  276 => 144,  275 => 141,  271 => 140,  261 => 136,  252 => 134,  246 => 131,  241 => 128,  228 => 127,  203 => 125,  178 => 5,  153 => 3,  139 => 1,  137 => 123,  135 => 55,  134 => 54,  120 => 52,  117 => 50,  115 => 48,  113 => 47,  110 => 44,  109 => 43,  107 => 42,  105 => 41,  103 => 40,  86 => 39,  84 => 37,  82 => 36,  80 => 35,  78 => 34,  76 => 33,  73 => 30,  71 => 29,  69 => 28,  67 => 27,  65 => 26,  63 => 24,  61 => 23,  59 => 22,  57 => 21,  41 => 1,);
  2286.     }
  2287.     public function getSourceContext()
  2288.     {
  2289.         return new Source("{% extends 'account/grid.html.twig' %}
  2290. {% block name_page %}account-profile-form{% endblock %}
  2291. {% block title %}Добавление анкеты - Личный Кабинет{% endblock %}
  2292. {# Обработка списка услуг. Получаем список переменных. Название группы и кол-во элементов внутри
  2293. array:6 [▼
  2294.   0 => array:2 [▼
  2295.     0 => \"Секс\"
  2296.     1 => 14
  2297.   ]
  2298.   1 => array:2 [▶]
  2299.   2 => array:2 [▶]
  2300.   3 => array:2 [▶]
  2301.   4 => array:2 [▶]
  2302.   5 => array:2 [▶]
  2303. ]
  2304. #}
  2305. {% set photo_media_upload_url = oneup_uploader_endpoint('profile_photo') %}
  2306. {% set selfie_media_upload_url = oneup_uploader_endpoint('profile_selfie') %}
  2307. {% set approval_media_upload_url = oneup_uploader_endpoint(feature('approval_by_video') and feature('postprocess_video') ? 'tmp_media' : 'profile_media_approval') %}
  2308. {% set video_media_upload_url = oneup_uploader_endpoint('process_queue') %}
  2309. {% if approval_media_upload_domain %}
  2310.     {% set photo_media_upload_url = 'https://' ~ approval_media_upload_domain ~ photo_media_upload_url %}
  2311.     {% set selfie_media_upload_url = 'https://' ~ approval_media_upload_domain ~ selfie_media_upload_url %}
  2312.     {% set approval_media_upload_url = 'https://' ~ approval_media_upload_domain ~ approval_media_upload_url %}
  2313.     {% set video_media_upload_url = 'https://' ~ approval_media_upload_domain ~ video_media_upload_url %}
  2314. {% endif %}
  2315. {% set services_array = [] %}
  2316. {% set count_in_group = 0 %}
  2317. {% set current_group = 0 %}
  2318. {% set title_group = 0 %}
  2319. {% set services = services_list() %}
  2320. {% for provided_service in form.provided_services %}
  2321.     {% set service = services[provided_service.service.vars.value] %}
  2322.     {% if current_group != service.group %}
  2323.         {% if not loop.first %}
  2324.             {% set services_array = services_array|merge([
  2325.                 [title_group,count_in_group]
  2326.             ]) %}
  2327.         {% endif %}
  2328.         {% set current_group = service.group %}
  2329.         {% set title_group = current_group|service_group|trans({}, 'service_groups')  %} {#Заголовок группы#}
  2330.         {% set count_in_group = 0 %}
  2331.     {% endif %}
  2332.     {% set count_in_group = count_in_group + 1 %}
  2333. {% endfor %}
  2334.  {% set services_array = services_array|merge([
  2335.      [title_group,count_in_group]
  2336.  ]) %}
  2337.  {%- macro _service_block(provided_service, service) -%}
  2338.     <div class=\"checkbox-form d-flex\" data-id=\"{{ provided_service.vars.name }}\">
  2339.         <div class=\"checkbox-block d-flex{% if not provided_service.enabled.vars.checked %} not-selected{% endif %}\">
  2340.             <div class=\"conditions d-flex\">
  2341.                 {{ form_widget(provided_service.condition[0]) }}
  2342.                 <label for=\"{{provided_service.condition[0].vars.id}}\" title=\"Включено\" class=\"d-flex include\">
  2343.                     <svg class=\"icon\">
  2344.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-include\"></use>
  2345.                     </svg>
  2346.                 </label>
  2347.                 {{ form_widget(provided_service.condition[1]) }}
  2348.                 <label for=\"{{provided_service.condition[1].vars.id}}\" title=\"По симпатии\" class=\"d-flex sympathy\">
  2349.                     <svg class=\"icon\">
  2350.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-sympathy\"></use>
  2351.                     </svg>
  2352.                 </label>
  2353.                 {{ form_widget(provided_service.condition[2]) }}
  2354.                 <label for=\"{{provided_service.condition[2].vars.id}}\" title=\"За дополнительную плату\" class=\"d-flex extra\">
  2355.                     <svg class=\"icon\">
  2356.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
  2357.                     </svg>
  2358.                 </label>
  2359.             </div>
  2360.             <div class=\"main-checkbox d-flex\">
  2361.                 {{ form_widget(provided_service.enabled) }}
  2362.                 <label for=\"{{ provided_service.vars.id }}_enabled\" class=\"\">{{ service.name|trans({}, 'left_menu') }}</label>
  2363.             </div>
  2364.             <div class=\"price d-flex\">
  2365.                 <div class=\"input__sub\">
  2366.                     {{ form_widget(provided_service.extra_charge, {'attr': {
  2367.                         'class': 'basic-view extra-price input__sub__input',
  2368.                         maxlength: '6'
  2369.                     }}) }}
  2370.                     <span class=\"input__sub__text\">₽</span>
  2371.                 </div>
  2372.             </div>
  2373.         </div>
  2374.         <div class=\"services__comment services__comment--empty d-none\" data-services-comment>
  2375.             {{ form_widget(provided_service.comment, {'attr': {
  2376.                 'class': 'services__comment__textarea',
  2377.                 'placeholder': 'Дополнительная информация по услуге (необязательно)',
  2378.                 'data-services-comment-textarea':'',
  2379.                 'maxlength': '80'
  2380.             }}) }}
  2381.             <div class=\"services__comment__count\" data-services-comment-count>80</div>
  2382.         </div>
  2383.         {% set error_message = form_errors(provided_service.extra_charge) %}
  2384.         <p class=\"field-error services-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{ provided_service.extra_charge.vars.id }}_error\">{{ error_message }}</p>
  2385.         <div>{{ form_widget(provided_service.service) }}</div>
  2386.     </div>
  2387. {%- endmacro -%}
  2388. {# {% form_theme form _self %}
  2389. {% set city = app.request.attributes.get('city', default_city()) %}
  2390. {% block _stations_widget %}
  2391.     {% for choice in form.vars.choices %}
  2392.         <div class=\"fake-checkbox-label\" data-city-id=\"{{ choice.data.city.id }}\">
  2393.             <label class=\"checkbox\" for=\"check{{ loop.index }}\"></label>
  2394.             <input class=\"input-for-valid\" name=\"{{ form.vars.full_name }}\" type=\"checkbox\" id=\"check{{ loop.index }}\" value=\"{{ choice.value }}\" {% if choice is selectedchoice(value) %}checked{% endif %}>
  2395.             <label for=\"check{{ loop.index }}\">{{ choice.label }}</label>
  2396.         </div>
  2397.     {% endfor %}
  2398. {% endblock %} #}
  2399. {# переменная отвечает за отметку редактирование это или добавление #}
  2400. {% set editCheck = form.vars.value ? true : false %}
  2401. {% block specialPageClass %} girl-form{% endblock %}
  2402. {% block mainContainer %}
  2403.     <ul class=\"breadcrumbs\" vocab=\"http://schema.org/\" typeof=\"BreadcrumbList\">
  2404.         <li class=\"\" property=\"itemListElement\" typeof=\"ListItem\">
  2405.             <a href=\"{{ path('account') }}\" property=\"item\" typeof=\"WebPage\">Личный кабинет</a>
  2406.             <meta property=\"position\" content=\"1\">
  2407.         </li>
  2408.         <li class=\"last-crumb\"><span>{% if editCheck %}Редактирование анкеты{% else %}Добавить новую анкету{% endif %}</span></li>
  2409.     </ul>
  2410.     <h1 class=\"border-line\" role=\"heading\">{% if editCheck %}Редактирование анкеты{% else %}Новая анкета{% endif %}</h1>
  2411.     <div class=\"girl-form\"
  2412.         {# data-masseur-id=\"{{ form.is_masseur.vars.id }}\"#}
  2413.          {#data-masseur-exclude-service-groups=\"{{ form.masseur_exclude_service_groups.vars.value }}\"#}>
  2414.         {{ form_start(form, {'attr': {
  2415.             'novalidate': 'novalidate',
  2416.             'class': 'profile-form',
  2417.             'data-edit': editCheck ? 'true' : 'false'
  2418.         }}) }}
  2419.         {% if form_errors(form) %}
  2420.             <div class=\"field-error form-error is-flex level\">
  2421.                 <i><img src=\"{{ asset('assets/images/icons/alert.svg','basicConfig') }}\"></i>
  2422.                 <p>{{ form_errors(form) }}</p>
  2423.             </div>
  2424.         {% endif %}
  2425.         {% include 'account/flashes.html.twig' %}
  2426.         {# Главное фото анкеты + Основная информация + Основные параметры + Расценки + О себе #}
  2427.         <div class=\"main-block\">
  2428.             <div class=\"block avatar\">
  2429.                 <h2 class=\"border-line\">Главное фото анкеты</h2>
  2430.                 {% set error_message = form_errors(form.avatar) %}
  2431.                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.avatar.vars.id }}_error\">{{ error_message }}</p>
  2432.                 <div class=\"photo-data\" style=\"display:none\"></div>
  2433.                 <div class=\"photo\">
  2434.                     {% if form.avatar.vars.value %}
  2435.                         <div class=\"preview\">
  2436.                             <img src=\"{{ responsive_asset(form.avatar.vars.value, 'profile_media_avatar', \"357x500\", \"jpg\") }}\" id=\"avatar_preview\">
  2437.                         </div>
  2438.                     {% else %}
  2439.                         <div class=\"empty-image\">
  2440.                             <svg class=\"icon mr-1\">
  2441.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-empty-girl\"></use>
  2442.                             </svg>
  2443.                         </div>
  2444.                         <div class=\"preview invisible\">
  2445.                             <img data-src=\"{{ responsive_asset(form.avatar.vars.value, 'profile_media_avatar', \"357x500\", \"jpg\") }}\" id=\"avatar_preview\">
  2446.                         </div>
  2447.                     {% endif %}
  2448.                 </div>
  2449.                 <div class=\"upload-photo\">
  2450.                     <p>Рекомендованный размер: 500х700px.</p>
  2451.                     <div class=\"button\">
  2452.                         {{ form_widget(form.avatar) }}
  2453.                         <input type=\"file\"
  2454.                             id=\"set_avatar\"
  2455.                             style=\"position:absolute;left:-999999px\"
  2456.                             accept=\"image/jpg,image/jpeg\"
  2457.                             data-url=\"{{ oneup_uploader_endpoint('profile_media_avatar') }}\"
  2458.                             data-id=\"{{ form.avatar.vars.id }}\"
  2459.                             data-original-path=\"{{ responsive_media_base_url }}\"
  2460.                             data-type=\"avatar\">
  2461.                         <label class=\"btn btn-secondary d-flex\" for=\"set_avatar\">
  2462.                             <svg class=\"icon mr-2\">
  2463.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-profile\"></use>
  2464.                             </svg>
  2465.                             <span>Загрузить аватар</span>
  2466.                         </label>
  2467.                     </div>
  2468.                 </div>
  2469.             </div>
  2470.             <div class=\"block main-information\">
  2471.                 <h2 class=\"border-line\">Основная информация</h2>
  2472.                 <div class=\"field\">
  2473.                     <div class=\"wrap d-flex\">
  2474.                         <label class=\"name\" for=\"{{ form.name.vars.id }}\">Имя:</label>
  2475.                         {{ form_widget(form.name, {'attr': {
  2476.                             'class': 'basic-view',
  2477.                             'maxlength': '30',
  2478.                             'placeholder': 'Введите имя'
  2479.                         }}) }}
  2480.                     </div>
  2481.                     {% set error_message = form_errors(form.name) %}
  2482.                     <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.name.vars.id }}_error\">{{ error_message }}</p>
  2483.                 </div>
  2484.                 {% if form.city is defined %}
  2485.                     <div class=\"field\">
  2486.                         <div class=\"wrap d-flex\">
  2487.                             <label class=\"name\" for=\"{{ form.name.vars.id }}\">Город:</label>
  2488.                             {% if editCheck %}
  2489.                                 {{ form_widget(form.city, {'attr': {
  2490.                                     'class': 'basic-view disabled',
  2491.                                     \"disabled\": \"disabled\"
  2492.                                 }}) }}
  2493.                                 <input type=\"hidden\" name=\"{{form.city.vars.name}}\" value=\"{{form.city.vars.value}}\">
  2494.                             {% else %}
  2495.                                 <div class=\"info selector\">
  2496.                                     <div class=\"selector-block\">
  2497.                                         <button class=\"\"
  2498.                                                 type=\"button\"
  2499.                                                 data-toggle=\"selector\" data-noempty=\"true\"></button>
  2500.                                         <div class=\"tags\"></div>
  2501.                                     </div>
  2502.                                     <div class=\"form-data\">
  2503.                                         {{ form_widget(form.city) }}
  2504.                                     </div>
  2505.                                 </div>
  2506.                             {% endif %}
  2507.                         </div>
  2508.                         {% set error_message = form_errors(form.city) %}
  2509.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.city.vars.id }}_error\">{{ error_message }}</p>
  2510.                     </div>
  2511.                 {% endif %}
  2512.                 <div class=\"field\">
  2513.                     <div class=\"wrap d-flex phone-block\">
  2514.                         <label class=\"name\" for=\"phone_number\">Телефон:</label>
  2515.                         {{ form_widget(form.phone_number, {'attr': {
  2516.                             'class': 'basic-view',
  2517.                             'maxlength': '20',
  2518.                             'minlength': '11',
  2519.                             'placeholder': '+7 (___) ___ __ __'
  2520.                         }}) }}
  2521.                         <div class=\"additional d-flex\">
  2522.                             <div class=\"checkbox-form\">
  2523.                                 {{ form_widget(form.messengers.telegram) }}
  2524.                                 <label for=\"messengers_telegram\" class=\"level\">Telegram</label>
  2525.                             </div>
  2526.                             <div class=\"checkbox-form\">
  2527.                                 {{ form_widget(form.messengers.whatsapp) }}
  2528.                                 <label for=\"messengers_whatsapp\" class=\"level\">WhatsApp</label>
  2529.                             </div>
  2530.                         </div>
  2531.                         <div class=\"messengers__tg{{ form.messengers.telegram.vars.checked ? ' show' : '' }}\" id=\"messengers-telegram-root\">
  2532.                             <label for=\"messengers_telegram_username\">Юзернейм Телеграм:</label>
  2533.                             <div class=\"messengers__tg-wrap\">
  2534.                                 <span class=\"messengers__tg-pre\">@</span>
  2535.                                 {{ form_widget(form.messengers.telegram_username, {'attr': {
  2536.                                     'class': 'messengers__tg-input basic-view',
  2537.                                     'minlength': '5',
  2538.                                     'maxlength': '32',
  2539.                                     'placeholder': '',
  2540.                                     'pattern': '[A-Za-z0-9_]{5,32}'
  2541.                                 }}) }}
  2542.                             </div>
  2543.                             {% set error_message = form_errors(form.messengers.telegram_username) %}
  2544.                             <p class=\"field-error for-messengers{% if error_message|length > 0 %} show{% endif %}\" id=\"messengers_error\">{{ error_message }}</p>
  2545.                         </div>
  2546.                     </div>
  2547.                     {% set error_message = form_errors(form.phone_number) %}
  2548.                     <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.phone_number.vars.id }}_error\">{{ error_message }}</p>
  2549.                 </div>
  2550.                 <div class=\"field time-to-call\">
  2551.                     <label class=\"name\">Время для звонка:</label>
  2552.                     <div class=\"wrap d-flex\">
  2553.                         <div class=\"invisible\">
  2554.                             <input type=\"radio\" name=\"time-to-call\" id=\"time-all\">
  2555.                             <label for=\"time-all\" class=\"level\">Круглосуточно</label>
  2556.                         </div>
  2557.                         <div class=\"wrap {% if form_errors(form.phone_call_restrictions.time_from) %} have-error{% endif %}\">
  2558.                             <div class=\"radiobox-form invisible\">
  2559.                                 <input type=\"radio\" name=\"time-to-call\" id=\"time-sep\">
  2560.                                 <label for=\"time-sep\" class=\"\">В указанный  промежуток времени:</label>
  2561.                                 {% set error_message = form_errors(form.phone_call_restrictions.time_from) %}
  2562.                                 <p class=\"field-error for-time{% if error_message|length > 0 %} show{% endif %}\" id=\"time-sep_error\">{{ error_message }}</p>
  2563.                             </div>
  2564.                             <div class=\"time-to-call-cell d-flex\">
  2565.                                 <span>с</span>
  2566.                                 <input type=\"number\" class=\"basic-view\"
  2567.                                        id=\"{{form.phone_call_restrictions.time_from.vars.id}}\"
  2568.                                        name=\"{{form.phone_call_restrictions.time_from.vars.full_name}}\"
  2569.                                        placeholder=\"0\"
  2570.                                        min=\"0\"
  2571.                                        max=\"24\"
  2572.                                        {% if editCheck %}value=\"{{form.phone_call_restrictions.time_from.vars.value}}\"{% endif %}>
  2573.                                 <span>до</span>
  2574.                                 <input type=\"number\"
  2575.                                        class=\"basic-view\"
  2576.                                        id=\"{{form.phone_call_restrictions.time_to.vars.id}}\"
  2577.                                        name=\"{{form.phone_call_restrictions.time_to.vars.full_name}}\"
  2578.                                        placeholder=\"24\"
  2579.                                        min=\"0\"
  2580.                                        max=\"24\"
  2581.                                        {% if editCheck %}value=\"{{form.phone_call_restrictions.time_to.vars.value}}\"{% endif %}>
  2582.                             </div>
  2583.                             <div class=\"time-to-call-cell-hide invisible\">
  2584.                                 {{ form_widget(form.phone_call_restrictions.time_from) }}
  2585.                                 {{ form_widget(form.phone_call_restrictions.time_to) }}
  2586.                             </div>
  2587.                         </div>
  2588.                     </div>
  2589.                 </div>
  2590.                 <div class=\"field answer-only\">
  2591.                     <div class=\"wrap d-flex\">
  2592.                         <label class=\"name\">Отвечаю на:</label>
  2593.                         <div class=\"additional d-flex\">
  2594.                             {% for i in form.phone_call_restrictions.answering_to %}
  2595.                                 <div class=\"checkbox-form\">
  2596.                                     {{ form_widget(i) }}
  2597.                                     <label for=\"{{ i.vars.id }}\" class=\"\">{{ i.vars.label|trans({}, 'phone_call_restrictions') }}</label>
  2598.                                 </div>
  2599.                             {% endfor %}
  2600.                         </div>
  2601.                     </div>
  2602.                 </div>
  2603.             </div>
  2604.             <div class=\"block main-parameters\">
  2605.                 <h2 class=\"border-line\">Основные параметры</h2>
  2606.                 <div class=\"input-group\">
  2607.                     <div class=\"field\">
  2608.                         <label>Возраст:</label>
  2609.                         {{ form_widget(form.person_parameters.age, {'attr': {
  2610.                             'class': 'basic-view',
  2611.                             'min': '18',
  2612.                             'max': '100',
  2613.                             'placeholder': 'лет'
  2614.                         }}) }}
  2615.                         {% set error_message = form_errors(form.person_parameters.age) %}
  2616.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.age.vars.id }}_error\">{{ error_message }}</p>
  2617.                     </div>
  2618.                     <div class=\"field\">
  2619.                         <label>Вес:</label>
  2620.                         {{ form_widget(form.person_parameters.weight, {'attr': {
  2621.                             'class': 'basic-view',
  2622.                             'placeholder': 'кг',
  2623.                             'min': '25',
  2624.                             'max': '250'
  2625.                         }}) }}
  2626.                         {% set error_message = form_errors(form.person_parameters.weight) %}
  2627.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.weight.vars.id }}_error\">{{ form_errors(form.person_parameters.weight) }}</p>
  2628.                     </div>
  2629.                     <div class=\"field\">
  2630.                         <label>Одежда:</label>
  2631.                         {{ form_widget(form.person_parameters.cloth_size, {'attr': {
  2632.                             'class': 'basic-view',
  2633.                             'placeholder': 'Размер',
  2634.                             'min': '38',
  2635.                             'max': '80'
  2636.                         }}) }}
  2637.                         {% set error_message = form_errors(form.person_parameters.cloth_size) %}
  2638.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.cloth_size.vars.id }}_error\">{{ error_message }}</p>
  2639.                     </div>
  2640.                     <div class=\"field\">
  2641.                         <label>Рост:</label>
  2642.                         {{ form_widget(form.person_parameters.height, {'attr': {
  2643.                             'class': 'basic-view',
  2644.                             'placeholder': 'см',
  2645.                             'min': '120',
  2646.                             'max': '220'
  2647.                         }}) }}
  2648.                         {% set error_message = form_errors(form.person_parameters.height) %}
  2649.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.height.vars.id }}_error\">{{ error_message }}</p>
  2650.                     </div>
  2651.                     <div class=\"field\">
  2652.                         <label>Грудь:</label>
  2653.                         {{ form_widget(form.person_parameters.breast_size, {'attr': {
  2654.                             'class': 'basic-view',
  2655.                             'placeholder': 'Размер',
  2656.                             'min': '1',
  2657.                             'max': '12'
  2658.                         }}) }}
  2659.                         {% set error_message = form_errors(form.person_parameters.breast_size) %}
  2660.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.breast_size.vars.id }}_error\">{{ error_message }}</p>
  2661.                     </div>
  2662.                     <div class=\"field\">
  2663.                         <label>Обувь:</label>
  2664.                         {{ form_widget(form.person_parameters.shoes_size, {'attr': {
  2665.                             'class': 'basic-view',
  2666.                             'placeholder': 'Размер',
  2667.                             'min': '33',
  2668.                             'max': '48'
  2669.                         }}) }}
  2670.                         {% set error_message = form_errors(form.person_parameters.shoes_size) %}
  2671.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.person_parameters.shoes_size.vars.id }}_error\">{{ error_message }}</p>
  2672.                     </div>
  2673.                 </div>
  2674.                 <div class=\"checkboxes\">
  2675.                     <div class=\"field d-flex\">
  2676.                         <div class=\"additional d-flex\">
  2677.                             <div class=\"checkbox-form\">
  2678.                                 {{ form_widget(form.person_parameters.has_tattoo, {'attr': {}}) }}
  2679.                                 <label for=\"person_parameters_has_tattoo\" class=\"\">Тату</label>
  2680.                             </div>
  2681.                             <div class=\"checkbox-form\">
  2682.                                 {{ form_widget(form.person_parameters.has_piercing, {'attr': {}}) }}
  2683.                                 <label for=\"person_parameters_has_piercing\" class=\"\">Пирсинг</label>
  2684.                             </div>
  2685.                         </div>
  2686.                     </div>
  2687.                 </div>
  2688.                 <div class=\"dropdown-elements\">
  2689.                     <div class=\"field\">
  2690.                         <div class=\"wrap is-flex level\">
  2691.                             <label class=\"name\">Национальность:</label>
  2692.                             <div class=\"info selector\">
  2693.                                 <div class=\"selector-block\">
  2694.                                     <button class=\"\"
  2695.                                             type=\"button\"
  2696.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  2697.                                     <div class=\"tags\"></div>
  2698.                                 </div>
  2699.                                 <div class=\"form-data\">
  2700.                                     {{ form_widget(form.person_parameters.nationality, {'attr': {
  2701.                                         'class': 'basic-view',
  2702.                                     }}) }}
  2703.                                 </div>
  2704.                             </div>
  2705.                         </div>
  2706.                         {% set error_message = form_errors(form.person_parameters.nationality) %}
  2707.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2708.                     </div>
  2709.                     <div class=\"field\">
  2710.                         <div class=\"wrap is-flex level\">
  2711.                             <label class=\"name\">Телосложение:</label>
  2712.                             <div class=\"info selector\">
  2713.                                 <div class=\"selector-block\">
  2714.                                     <button class=\"\"
  2715.                                             type=\"button\"
  2716.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  2717.                                     <div class=\"tags\"></div>
  2718.                                 </div>
  2719.                                 <div class=\"form-data\">
  2720.                                     {{ form_widget(form.person_parameters.body_type, {'attr': {
  2721.                                         'class': 'basic-view',
  2722.                                     }}) }}
  2723.                                 </div>
  2724.                             </div>
  2725.                         </div>
  2726.                         {% set error_message = form_errors(form.person_parameters.body_type) %}
  2727.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2728.                     </div>
  2729.                     <div class=\"field\">
  2730.                         <div class=\"wrap is-flex level\">
  2731.                             <label class=\"name\">Цвет волос:</label>
  2732.                             <div class=\"info selector\">
  2733.                                 <div class=\"selector-block\">
  2734.                                     <button class=\"\"
  2735.                                             type=\"button\"
  2736.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  2737.                                     <div class=\"tags\"></div>
  2738.                                 </div>
  2739.                                 <div class=\"form-data\">
  2740.                                     {{ form_widget(form.person_parameters.hair_color, {'attr': {
  2741.                                         'class': 'basic-view',
  2742.                                     }}) }}
  2743.                                 </div>
  2744.                             </div>
  2745.                         </div>
  2746.                         {% set error_message = form_errors(form.person_parameters.hair_color) %}
  2747.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2748.                     </div>
  2749.                     <div class=\"field\">
  2750.                         <div class=\"wrap is-flex level\">
  2751.                             <label class=\"name\">Интимная стрижка:</label>
  2752.                             <div class=\"info selector\">
  2753.                                 <div class=\"selector-block\">
  2754.                                     <button class=\"\"
  2755.                                             type=\"button\"
  2756.                                             data-toggle=\"selector\" data-noempty=\"true\"></button>
  2757.                                     <div class=\"tags\"></div>
  2758.                                 </div>
  2759.                                 <div class=\"form-data\">
  2760.                                     {{ form_widget(form.person_parameters.private_haircut, {'attr': {
  2761.                                         'class': 'basic-view',
  2762.                                     }}) }}
  2763.                                 </div>
  2764.                             </div>
  2765.                         </div>
  2766.                         {% set error_message = form_errors(form.person_parameters.private_haircut) %}
  2767.                         <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2768.                     </div>
  2769.                 </div>
  2770.             </div>
  2771.             <div class=\"block prices\">
  2772.                 <h2 class=\"border-line\">Расценки</h2>
  2773.                 <div class=\"wrap d-flex\">
  2774.                     <div class=\"apartments\">
  2775.                         <h3>
  2776.                             <svg class=\"icon mr-1\">
  2777.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-house\"></use>
  2778.                             </svg>
  2779.                             <span>Апартаменты</span>
  2780.                         </h3>
  2781.                         <div class=\"input-group d-flex\">
  2782.                             <div class=\"field\">
  2783.                                 <label>1 час:</label>
  2784.                                 {{ form_widget(form.apartments_pricing.one_hour_price, {'attr': {
  2785.                                     'class': 'basic-view',
  2786.                                     'min': '1',
  2787.                                     maxlength: '6'
  2788.                                 }}) }}
  2789.                                 {% set error_message = form_errors(form.apartments_pricing.one_hour_price) %}
  2790.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.one_hour_price.vars.id }}_error\">{{ error_message }}</p>
  2791.                             </div>
  2792.                             <div class=\"field\">
  2793.                                 <label>2 часа:</label>
  2794.                                 {{ form_widget(form.apartments_pricing.two_hours_price, {'attr': {
  2795.                                     'class': 'basic-view',
  2796.                                     'min': '1',
  2797.                                     maxlength: '6'
  2798.                                 }}) }}
  2799.                                 {% set error_message = form_errors(form.apartments_pricing.two_hours_price) %}
  2800.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.two_hours_price.vars.id }}_error\">{{ error_message }}</p>
  2801.                             </div>
  2802.                             <div class=\"field\">
  2803.                                 <label>Ночь:</label>
  2804.                                 {{ form_widget(form.apartments_pricing.night_price, {'attr': {
  2805.                                     'class': 'basic-view',
  2806.                                     'min': '1',
  2807.                                     maxlength: '6'
  2808.                                 }}) }}
  2809.                                 {% set error_message = form_errors(form.apartments_pricing.night_price) %}
  2810.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.apartments_pricing.night_price.vars.id }}_error\">{{ error_message }}</p>
  2811.                             </div>
  2812.                         </div>
  2813.                     </div>
  2814.                     <div class=\"takeout\">
  2815.                         <h3>
  2816.                             <svg class=\"icon mr-1\">
  2817.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-car\"></use>
  2818.                             </svg>
  2819.                             <span>Выезд</span>
  2820.                         </h3>
  2821.                         <div class=\"input-group d-flex\">
  2822.                             <div class=\"field\">
  2823.                                 <label>1 час:</label>
  2824.                                 {{ form_widget(form.take_out_pricing.one_hour_price, {'attr': {
  2825.                                     'class': 'basic-view',
  2826.                                     'min': '1',
  2827.                                     maxlength: '6'
  2828.                                 }}) }}
  2829.                                 {% set error_message = form_errors(form.take_out_pricing.one_hour_price) %}
  2830.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.one_hour_price.vars.id }}_error\">{{ error_message }}</p>
  2831.                             </div>
  2832.                             <div class=\"field\">
  2833.                                 <label>2 часа:</label>
  2834.                                 {{ form_widget(form.take_out_pricing.two_hours_price, {'attr': {
  2835.                                     'class': 'basic-view',
  2836.                                     'min': '1',
  2837.                                     maxlength: '6'
  2838.                                 }}) }}
  2839.                                 {% set error_message = form_errors(form.take_out_pricing.two_hours_price) %}
  2840.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.two_hours_price.vars.id }}_error\">{{ error_message }}</p>
  2841.                             </div>
  2842.                             <div class=\"field\">
  2843.                                 <label>Ночь:</label>
  2844.                                 {{ form_widget(form.take_out_pricing.night_price, {'attr': {
  2845.                                     'class': 'basic-view',
  2846.                                     'min': '1',
  2847.                                     maxlength: '6'
  2848.                                 }}) }}
  2849.                                 {% set error_message = form_errors(form.take_out_pricing.night_price) %}
  2850.                                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.take_out_pricing.night_price.vars.id }}_error\">{{ error_message }}</p>
  2851.                             </div>
  2852.                         </div>
  2853.                     </div>
  2854.                 </div>
  2855.                 <div class=\"express{% if not form.express_pricing.provided.vars.checked %} no-ex1press{% endif %}\">
  2856.                     <div class=\"wrap\">
  2857.                         <div class=\"field\">
  2858.                             {{ form_widget(form.express_pricing.provided) }}
  2859.                             <label for=\"express_pricing_provided\" class=\"level\">Есть экспресс</label>
  2860.                         </div>
  2861.                         {{ form_widget(form.express_pricing.price, {'attr': {
  2862.                             'class': 'express-price basic-view',
  2863.                             'min': '1',
  2864.                             maxlength: '6'
  2865.                         }}) }}
  2866.                     </div>
  2867.                     {% set error_message = form_errors(form.express_pricing.price) %}
  2868.                     <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.express_pricing.price.vars.id }}_error\">{{ error_message }}</p>
  2869.                 </div>
  2870.                 <div class=\"services-special\">
  2871.                     <h3>Выезд:</h3>
  2872.                     <div class=\"services-list\">
  2873.                         {% for take_out_location in form.take_out_pricing.locations %}
  2874.                             <div class=\"checkbox-form\">
  2875.                                 {{ form_widget(take_out_location) }}
  2876.                                 <label for=\"{{ take_out_location.vars.id }}\" class=\"\">{{ take_out_location.vars.label|trans({}, 'take_out_location') }}</label>
  2877.                             </div>
  2878.                         {% endfor %}
  2879.                         <div class=\"checkbox-form\">
  2880.                             {{ form_widget(form.car_pricing.provided) }}
  2881.                             <label for=\"{{ form.car_pricing.provided.vars.id }}\" class=\"\">В машине</label>
  2882.                         </div>
  2883.                     </div>
  2884.                     {% set error_message = form_errors(form.take_out_pricing.locations) %}
  2885.                     <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2886.                 </div>
  2887.             </div>
  2888.             <div class=\"block about\">
  2889.                 <h2 class=\"border-line\">О себе</h2>
  2890.                 <div class=\"textarea\">
  2891.                     {{ form_widget(form.about, {'attr': {
  2892.                         'class': 'basic-view',
  2893.                         'placeholder': 'Напишите о себе',
  2894.                         'maxlength': '3000',
  2895.                         'minlength': '100'
  2896.                     }}) }}
  2897.                 </div>
  2898.                 <p class=\"info\">Напишите о себе (минимум 100 символов):</p>
  2899.                 {% set error_message = form_errors(form.about) %}
  2900.                 <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.about.vars.id }}_error\">{{ error_message }}</p>
  2901.             </div>
  2902.         </div>
  2903.         {#<div class=\"additional-info masseur\">
  2904.             <div class=\"field is-flex level\">
  2905.                 <div class=\"additional\">
  2906.                     <div class=\"checkbox-form level\">
  2907.                         {{ form_widget(form.is_masseur, {'attr': {}}) }}
  2908.                         <label for=\"is_masseur\" class=\"level\">Массажистка</label>
  2909.                     </div>
  2910.                     <p>Анкета будет показываться только в разделе \"Массажистки\"</p>
  2911.                 </div>
  2912.             </div>
  2913.         </div>#}
  2914.         <div class=\"block map-block\">
  2915.             <h2 class=\"border-line\">Расположение</h2>
  2916.             <div class=\"metro d-flex\" id=\"metro-choice\">
  2917.                 <div class=\"info selector\">
  2918.                     <p>Выберите станции метро (максимум 3 станции):</p>
  2919.                     <div class=\"selector-block\">
  2920.                         <button class=\"\"
  2921.                                 type=\"button\"
  2922.                                 data-toggle=\"selector\"
  2923.                                 data-limit=\"3\"
  2924.                                 data-empty-text=\"Выберите станции метро\"></button>
  2925.                         <div class=\"tags\"></div>
  2926.                     </div>
  2927.                     <div class=\"form-data\">
  2928.                         {{ form_widget(form.stations) }}
  2929.                     </div>
  2930.                     {% set error_message = form_errors(form.stations) %}
  2931.                     <p class=\"field-error{% if error_message|length > 0 %} show{% endif %}\">{{ error_message }}</p>
  2932.                 </div>
  2933.             </div>
  2934.             <div class=\"metro-selected-list\" id=\"metro-selected\">
  2935.             </div>
  2936.             {{ form_widget(form.primary_station) }}
  2937.             <div class=\"map\">
  2938.                 <div style=\"display:none\">
  2939.                     {{ form_widget(form.map_coordinate.latitude) }}
  2940.                     {{ form_widget(form.map_coordinate.longitude) }}
  2941.                 </div>
  2942.                 <div class=\"info\">
  2943.                     <div class=\"map-wrap\"
  2944.                          id=\"ya-map\"
  2945.                          data-lat=\"{% if city.mapCoordinate.latitude %}{{city.mapCoordinate.latitude}}{% else %}55.752{% endif %}\"
  2946.                          data-lon=\"{% if city.mapCoordinate.longitude %}{{city.mapCoordinate.longitude}}{% else %}37.61{% endif %}\"></div>
  2947.                 </div>
  2948.             </div>
  2949.         </div>
  2950.         <div class=\"block services-block\">
  2951.             <h2 class=\"border-line\">Предоставляемые услуги</h2>
  2952.             <ul class=\"about-services d-flex\">
  2953.                 <li class=\"d-flex include\">
  2954.                     <svg class=\"icon\">
  2955.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-include\"></use>
  2956.                     </svg>
  2957.                     <span>- включено в стоимость</span>
  2958.                 </li>
  2959.                 <li class=\"d-flex sympathy\">
  2960.                     <svg class=\"icon\">
  2961.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-sympathy\"></use>
  2962.                     </svg>
  2963.                     <span>- по настроению</span>
  2964.                 </li>
  2965.                 <li class=\"d-flex price\">
  2966.                     <svg class=\"icon\">
  2967.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
  2968.                     </svg>
  2969.                     <span>- за дополнительную плату</span>
  2970.                 </li>
  2971.                 <li class=\"d-flex not-include\">
  2972.                     <svg class=\"icon\">
  2973.                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-condition-with-price\"></use>
  2974.                     </svg>
  2975.                     <span>- услуга не предоставляется</span>
  2976.                 </li>
  2977.             </ul>
  2978.             <div class=\"services\">
  2979.                 {# Пояснения
  2980.                 Эти открывающие дивы создаются вначале итерации. Но чтобы их закрыть, проще всего пихать закрывающий див при создании нового блока.
  2981.                 Так запутанней, но так легче работать.
  2982.                 <div class=\"group-6\">   <------- этот див открывает группу. Он создается при первой проверке. Там же он закрывается.
  2983.                     <p>Разное</p>
  2984.                     <div class=\"is-flex level\"> <------ этот див открывает блок чекбоксов. Тоже создается при первой проверке в цикле. закрывается тоже вначале цикла.
  2985.                         <div class=\"checkbox-form level\">
  2986.                             <input type=\"checkbox\" id=\"services_42\" name=\"services[]\" service-group=\"6\" class=\"input-for-valid\" value=\"42\">
  2987.                             <label class=\"b-checkbox__text\" for=\"services_42\">Ролевые игры</label>
  2988.                         </div>
  2989.                         <div class=\"checkbox-form level\">
  2990.                             <input type=\"checkbox\" id=\"services_43\" name=\"services[]\" service-group=\"6\" class=\"input-for-valid\" value=\"43\">
  2991.                             <label class=\"b-checkbox__text\" for=\"services_43\">Фото/видео съемка</label>
  2992.                         </div>
  2993.                         ---------------------------------------------
  2994.                     </div>
  2995.                 </div>
  2996.                 #}
  2997.                 {% set current_group = 0 %}
  2998.                 {% set count_in_group = 0 %}
  2999.                 {% set title_group = 0 %}
  3000.                 {% set initional_group_2 = 0 %}
  3001.                 {% set group_2_minet = [] %}
  3002.                 {% set group_2_okon = [] %}
  3003.                 {% set group_2_okon_trigger = ['Окончание на грудь','Окончание на лицо','Окончание в рот'] %} {# Слова триггеры в 2 категории для блока Окончание. Все остальные уйдут в минет #}
  3004.                 {% for provided_service in form.provided_services %}
  3005.                     {% set service = services[provided_service.service.vars.value] %}
  3006.                     {% if current_group != service.group %}
  3007.                         {# Первый див это окончание блока checkbox-group предыдущего. Второй - тоже самое но для обёртки группы #}
  3008.                         {% if not loop.first and current_group != 2 %}</div></div>{% endif %}
  3009.                         {% set current_group = service.group %}
  3010.                         {# Нужно обернуть блок Заголовок+его чекбоксы в див #}
  3011.                         {% set title_group = current_group|service_group|trans({}, 'service_groups')  %} {#Заголовок группы#}
  3012.                         {% set count_in_group = (services_array[current_group-1][1]/2)|round %} {#Кол-во элементов в группе#}
  3013.                         {% if current_group == 2 %}
  3014.                         {% elseif current_group == 3 %}
  3015.                             <div class=\"group-2-1\" data-group=\"2-1\">
  3016.                                 <h3>Минет</h3>
  3017.                                 <div class=\"checkbox-group count-{{ count_in_group }}\">
  3018.                                     {% for data in group_2_minet %}
  3019.                                         {% set _form = data.form %}
  3020.                                         {% set _service = data.service %}
  3021.                                         {{ _self._service_block(_form, _service) }}
  3022.                                     {% endfor %}
  3023.                                 </div>
  3024.                             </div>
  3025.                             <div class=\"group-2-2\" data-group=\"2-2\">
  3026.                                 <h3>Окончание</h3>
  3027.                                 <div class=\"checkbox-group count-{{ count_in_group }}\">
  3028.                                     {% for data in group_2_okon %}
  3029.                                         {% set _form = data.form %}
  3030.                                         {% set _service = data.service %}
  3031.                                         {{ _self._service_block(_form, _service) }}
  3032.                                     {% endfor %}
  3033.                                 </div>
  3034.                             </div>
  3035.                             {# Тут выводится третья категория #}
  3036.                             <div class=\"group-{{ current_group }}\" data-group=\"{{ current_group }}\">
  3037.                                 <h3>{{ title_group }}</h3>
  3038.                                 <div class=\"checkbox-group count-{{ count_in_group }}\">
  3039.                         {% else %}
  3040.                             <div class=\"group-{{ current_group }}\" data-group=\"{{ current_group }}\">
  3041.                                 <h3>{{ title_group }}</h3>
  3042.                                 <div class=\"checkbox-group count-{{ count_in_group }}\">
  3043.                         {% endif %}
  3044.                     {% endif %}
  3045.                             {% if current_group == 2 %}
  3046.                                 {% if service.name|trans({}, 'left_menu') in group_2_okon_trigger %}
  3047.                                     {% set group_2_okon = group_2_okon|merge([{form:provided_service, service: service}]) %}
  3048.                                 {% else %}
  3049.                                     {% set group_2_minet = group_2_minet|merge([{form:provided_service, service: service}]) %}
  3050.                                 {% endif %}
  3051.                             {% else %}
  3052.                                 {{ _self._service_block(provided_service, service) }}
  3053.                             {% endif %}
  3054.                         {% endfor %}
  3055.                     </div>
  3056.                 </div>
  3057.             </div>
  3058.             <div class=\"services-special\">
  3059.                 <h3>Услуги для:</h3>
  3060.                 <div class=\"services-list d-flex\">
  3061.                     {% for client_type in form.client_types %}
  3062.                         <div class=\"checkbox-form{{ client_type.vars.label == 'TRANS' ? ' d-none': '' }}\">
  3063.                             {{ form_widget(client_type) }}
  3064.                             <label for=\"{{ client_type.vars.id }}\" class=\"\">{{ client_type.vars.label|trans({}, 'client_types') }}</label>
  3065.                         </div>
  3066.                     {% endfor %}
  3067.                 </div>
  3068.             </div>
  3069.             </div>
  3070.             <div class=\"block additional-info\">
  3071.                 <h2 class=\"border-line\">Дополнительная информация</h2>
  3072.                 <div class=\"age-prevent\">
  3073.                     <div class=\"field d-flex\">
  3074.                         <div class=\"text d-flex\">
  3075.                             <input type=\"checkbox\" id=\"age-prevent\">
  3076.                             <label for=\"age-prevent\">Ограничение по возрасту партнёра:</label>
  3077.                         </div>
  3078.                         <div class=\"age-prevent-cell d-flex\">
  3079.                             <span>от</span>
  3080.                             {{ form_widget(form.client_restrictions.min_age, {'attr': {
  3081.                                 'class': 'basic-view',
  3082.                                 'min': '18',
  3083.                                 'max': '100',
  3084.                                 'placeholder': '18'
  3085.                             }}) }}
  3086.                             <span>до</span>
  3087.                             {{ form_widget(form.client_restrictions.max_age, {'attr': {
  3088.                                 'class': 'basic-view',
  3089.                                 'min': '18',
  3090.                                 'max': '100',
  3091.                                 'placeholder': '100'
  3092.                             }}) }}
  3093.                         </div>
  3094.                     </div>
  3095.                     {% set error_message = form_errors(form.client_restrictions.min_age) %}
  3096.                     <p class=\"field-error field-error-min{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.client_restrictions.min_age.vars.id }}_error\">
  3097.                         Ошибка ввода минимального значения: {{ error_message }}
  3098.                     </p>
  3099.                     {% set error_message = form_errors(form.client_restrictions.max_age) %}
  3100.                     <p class=\"field-error field-error-max{% if error_message|length > 0 %} show{% endif %}\" id=\"{{form.client_restrictions.max_age.vars.id }}_error\">
  3101.                         Ошибка ввода максимального значения: {{ error_message }}</p>
  3102.                 </div>
  3103.                 {# <div class=\"has-friend\">
  3104.                     <div class=\"checkbox-form level\">
  3105.                         <input type=\"checkbox\" id=\"has-friend\">
  3106.                         <label for=\"has-friend\" class=\"level\">Есть подруга</label>
  3107.                     </div>
  3108.                     <a href=\"\">Пригласить подругу</a>
  3109.                 </div>
  3110.                 <div class=\"work-in-saloon\">
  3111.                     <div class=\"checkbox-form level\">
  3112.                         <input type=\"checkbox\" id=\"work-in-saloon\">
  3113.                         <label for=\"work-in-saloon\" class=\"level\">Работаю в салоне</label>
  3114.                     </div>
  3115.                 </div> #}
  3116.             </div>
  3117.             <div class=\"block media-block\">
  3118.                 <div class=\"tabs-block d-flex\" id=\"media-tabs\">
  3119.                     <div class=\"tab-header d-flex\">
  3120.                         <button type=\"button\" class=\"btn d-flex photo active\" data-toggle=\"photo\">
  3121.                             <svg class=\"icon\">
  3122.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-photo\"></use>
  3123.                             </svg>
  3124.                             <span>Фото</span>
  3125.                         </button>
  3126.                         {% if form.selfies is defined %}
  3127.                             <button type=\"button\" class=\"btn d-flex selfie\" data-toggle=\"selfie\">
  3128.                             <svg class=\"icon\">
  3129.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-selfie\"></use>
  3130.                             </svg>
  3131.                                 <span>Селфи</span>
  3132.                             </button>
  3133.                         {% endif %}
  3134.                         <button type=\"button\" class=\"btn d-flex video\" data-toggle=\"video\">
  3135.                             <svg class=\"icon\">
  3136.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-video\"></use>
  3137.                             </svg>
  3138.                             <span>Видео</span>
  3139.                         </button>
  3140.                         <button type=\"button\" class=\"btn d-flex verify-photo\" data-toggle=\"verify-photo\">
  3141.                             <svg class=\"icon\">
  3142.                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approved\"></use>
  3143.                             </svg>
  3144.                             <span>Проверочное фото</span>
  3145.                         </button>
  3146.                     </div>
  3147.                     <div class=\"tab-content\">
  3148.                         <div class=\"tab photo active\" data-id=\"photo\">
  3149.                             <div class=\"photos-block\" id=\"photo-block\">
  3150.                                 <div style=\"display:none\" id=\"photo_widget\">{{ form_widget(form.photos) }}</div>
  3151.                                 <template id=\"template_photo_element\">
  3152.                                     <div class=\"attach__element attach__element--loading\" data-media-rotater-element>
  3153.                                         <img class=\"attach__element__photo\" data-image data-media-rotater-target/>
  3154.                                         <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
  3155.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M8.39 6.6a1.02 1.02 0 0 1 0-1.45l2.81-2.82a1.12 1.12 0 0 1 1.6 0l2.81 2.82a1.02 1.02 0 1 1-1.44 1.44l-1.15-1.14v5.53h5.53l-1.14-1.15a1.02 1.02 0 1 1 1.44-1.44l2.82 2.82a1.12 1.12 0 0 1 0 1.58l-2.82 2.82a1.02 1.02 0 0 1-1.44-1.44l1.14-1.15h-5.53v5.53l1.15-1.14a1.02 1.02 0 0 1 1.44 1.44l-2.82 2.82a1.12 1.12 0 0 1-1.59 0L8.4 18.85a1.02 1.02 0 1 1 1.44-1.44l1.15 1.14v-5.53H5.45l1.14 1.15a1.02 1.02 0 1 1-1.44 1.44L2.33 12.8a1.12 1.12 0 0 1 0-1.58l2.82-2.82a1.02 1.02 0 0 1 1.44 1.44l-1.14 1.15h5.53V5.45L9.83 6.59a1.02 1.02 0 0 1-1.44 0Z\" /></svg>
  3156.                                         </button>
  3157.                                         <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  3158.                                            <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M7.33 8h-.77v10.4c0 .42.16.83.45 1.13.3.3.69.47 1.1.47h7.78c.41 0 .8-.17 1.1-.47.3-.3.45-.7.45-1.13V8H7.34Zm3.11 9.6H8.9v-7.2h1.55v7.2Zm4.67 0h-1.55v-7.2h1.55v7.2Zm.48-12L14.33 4H9.67L8.4 5.6H5v1.6h14V5.6h-3.4Z\"/></svg>
  3159.                                         </button>
  3160.                                         <button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
  3161.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M3.86 18.46a8.98 8.98 0 0 0 10.74 2.8c.61-.28.74-1.1.27-1.57l-.05-.05a1 1 0 0 0-1.1-.19A7 7 0 0 1 5.19 9.1 6.95 6.95 0 0 1 11 6.03V7.8c0 .45.54.67.86.36l2.79-2.79a.5.5 0 0 0 0-.7l-2.8-2.8a.5.5 0 0 0-.85.35v1.8a8.98 8.98 0 0 0-7.14 14.45Z\"/><path d=\"M17.7 7.71a1 1 0 0 0-1.41 0L11.7 12.3a1 1 0 0 0 0 1.41l4.59 4.6a1 1 0 0 0 1.41 0l4.59-4.6a1 1 0 0 0 0-1.4L17.7 7.7Z\" /></svg>
  3162.                                         </button>
  3163.                                         <svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3164.                                             <circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
  3165.                                             <circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\"  stroke=\"#F7901D\" stroke-width=\"6\" />
  3166.                                             <circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
  3167.                                             <text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
  3168.                                         </svg>
  3169.                                     </div>
  3170.                                 </template>
  3171.                                 <div class=\"attach attach--empty\" id=\"photo_list\"></div>
  3172.                                 <div class=\"attach__add\">
  3173.                                     <input
  3174.                                         type=\"file\"
  3175.                                         class=\"visually_hidden\"
  3176.                                         id=\"profile-photo-input\"
  3177.                                         multiple=\"\"
  3178.                                         style=\"position:absolute;left:-999999px\"
  3179.                                         accept=\"image/jpg,image/jpeg\"
  3180.                                         data-url=\"{{ photo_media_upload_url }}\"
  3181.                                         data-type=\"photo\"
  3182.                                     />
  3183.                                     <label class=\"attach__add__label\" for=\"profile-photo-input\">
  3184.                                         <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  3185.                                         <span>Загрузить фото</span>
  3186.                                     </label>
  3187.                                 </div>
  3188.                             </div>
  3189.                             <p class=\"info\">Загрузите фотографии. Не больше 2500px по большей из сторон и не менее 500px по меньшей. <br>Формат: JPG или PNG</p>
  3190.                         </div>
  3191.                         {% if form.selfies is defined %}
  3192.                             <div class=\"tab selfie\" data-id=\"selfie\">
  3193.                                 <div class=\"photos-block\" id=\"selfie-block\">
  3194.                                     <div style=\"display:none\" id=\"selfie_widget\">{{ form_widget(form.selfies) }}</div>
  3195.                                     <template id=\"template_selfie_element\">
  3196.                                         <div class=\"attach__element attach__element--loading\" data-media-rotater-element>
  3197.                                             <img class=\"attach__element__photo\" data-image data-media-rotater-target/>
  3198.                                             <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
  3199.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
  3200.                                             </button>
  3201.                                             <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  3202.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
  3203.                                             </button>
  3204.                                             <button class=\"btn attach__element__button attach__element__rotate\" type=\"button\" data-button-rotate data-media-rotater-button>
  3205.                                                 <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M19 11h3l-4 4-4-4h3a6 6 0 0 0-6-6l-1 .08V3.06L11 3a8 8 0 0 1 8 8ZM8 7H4a2 2 0 0 0-2 2v9a2 2 0 0 0 2 2h6a2 2 0 0 0 2-2v-7L8 7Zm2 11H4V9h3v3h3v6Z\" /></svg>
  3206.                                             </button>
  3207.                                             <svg class=\"attach__element__progress\" data-progress width=\"100\" height=\"101\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">
  3208.                                                 <circle cx=\"50\" cy=\"50\" r=\"50\" fill=\"#F7901D\"/>
  3209.                                                 <circle data-progress-animate cx=\"50\" cy=\"50\" r=\"47\" transform=\"rotate(0 0 0)\" fill=\"none\" stroke-dashoffset=\"314\" stroke-dasharray=\"314\"  stroke=\"#F7901D\" stroke-width=\"6\" />
  3210.                                                 <circle cx=\"50\" cy=\"50\" r=\"45\" fill=\"#ffffff\"/>
  3211.                                                 <text data-progress-value x=\"33\" y=\"55\" font-family=\"Verdana\" font-size=\"20\" fill=\"#F7901D\">0%</text>
  3212.                                             </svg>
  3213.                                         </div>
  3214.                                     </template>
  3215.                                     <div class=\"attach attach--empty\" id=\"selfie_list\"></div>
  3216.                                     <div class=\"attach__add\">
  3217.                                         <input
  3218.                                             type=\"file\"
  3219.                                             class=\"visually_hidden\"
  3220.                                             id=\"profile-selfie-input\"
  3221.                                             multiple=\"\"
  3222.                                             style=\"position:absolute;left:-999999px\"
  3223.                                             accept=\"image/jpg,image/jpeg\"
  3224.                                             data-url=\"{{ selfie_media_upload_url }}\"
  3225.                                             data-type=\"selfie\"
  3226.                                         />
  3227.                                         <label class=\"attach__add__label\" for=\"profile-selfie-input\">
  3228.                                             <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  3229.                                             <span>Загрузить селфи</span>
  3230.                                         </label>
  3231.                                     </div>
  3232.                                 </div>
  3233.                                 <p class=\"info\">Загрузите фотографии. Для удобства просмотра желательно что бы размер фотографии был не более 2500рх по большей стороне и не менее 1000рх по больше стороне.<br>Формат изображения: JPG или PNG</p>
  3234.                             </div>
  3235.                         {% endif %}
  3236.                         <div class=\"tab video\" data-id=\"video\">
  3237.                             <div class=\"photos-block videos-block\" id=\"video-block\">
  3238.                                 <div style=\"display:none\" id=\"video_widget\" data-video-on-progress=\"{{videos_in_process}}\">{{ form_widget(form.videos) }}</div>
  3239.                                 <template id=\"template_video_element\">
  3240.                                     <div class=\"attach__element attach__element--loading attach__element-video\" data-media-rotater-element>
  3241.                                         <video class=\"attach__element__video\" data-video data-media-rotater-target  ></video>
  3242.                                         {# <button class=\"btn attach__element__button attach__element__move\" type=\"button\" data-button-move>
  3243.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m12 22-4-4h8l-4 4Zm0-20 4 4H8l4-4Zm0 12a2 2 0 1 1 0-4 2 2 0 0 1 0 4ZM2 12l4-4v8l-4-4Zm20 0-4 4V8l4 4Z\" /></svg>
  3244.                                         </button> #}
  3245.                                         <button class=\"btn attach__element__button attach__element__remove\" type=\"button\" data-button-remove>
  3246.                                             <svg class=\"icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"m19.37 9-1 1.73-12.13-7 1-1.73 3.04 1.75 1.36-.37 4.33 2.5.37 1.37L19.37 9ZM5 19.09v-12h5.07l6.93 4v8a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2Zm2 0h8v-6.8l-5.54-3.2H7v10Z\"/></svg>
  3247.                                         </button>
  3248.                                         <button class=\"attach__element__video__button\" type=\"button\" data-button-play>
  3249.                                             <svg class=\"attach__element__video__play\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\"><g fill=\"#fff\" fill-rule=\"evenodd\" clip-rule=\"evenodd\" opacity=\".6\"><path d=\"M32 7.332c-13.623 0-24.667 11.044-24.667 24.667 0 13.623 11.044 24.666 24.667 24.666 13.623 0 24.666-11.043 24.666-24.666C56.666 18.376 45.623 7.332 32 7.332ZM3.333 31.999C3.333 16.167 16.168 3.332 32 3.332s28.666 12.834 28.666 28.667c0 15.832-12.834 28.666-28.666 28.666S3.333 47.831 3.333 32Z\"/><path d=\"M25.723 19.569a2 2 0 0 1 2.053.099l16 10.667a2 2 0 0 1 0 3.328l-16 10.667a2 2 0 0 1-3.109-1.665V21.332a2 2 0 0 1 1.056-1.763Zm2.944 5.5v13.86l10.394-6.93-10.394-6.93Z\"/></g></svg>
  3250.                                         </button>
  3251.                                         <svg class=\"attach__element__progress\" data-progress xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 64 64\" width=\"64\" height=\"64\" fill=\"none\">
  3252.                                             <circle cx=\"32\" cy=\"32\" r=\"29\" fill=\"#fff\" opacity=\".5\"/>
  3253.                                             <circle data-progress-animate cx=\"32\" cy=\"32\" r=\"27\" stroke=\"#383838\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"4\" stroke-dasharray=\"169.65\" stroke-dashoffset=\"169.65\"/>
  3254.                                             <text data-progress-value x=\"22\" y=\"38\" font-size=\"16\" fill=\"#252525\">0%</text>
  3255.                                         </svg>
  3256.                                     </div>
  3257.                                 </template>
  3258.                                 <div class=\"attach attach--empty\" id=\"video_list\">
  3259.                                     {% if videos_in_process > 0 -%}
  3260.                                         {% for i in 1..videos_in_process %}
  3261.                                         <div class=\"attach__element__container\">
  3262.                                             <div class=\"attach__element attach__element-video\">
  3263.                                                 <div class=\"item item-processing\">
  3264.                                                     <svg viewBox=\"0 0 100 100\" width=\"100\" width=\"100\" height=\"100\" fill=\"none\"><path fill=\"#000\" fill-opacity=\".3\" fill-rule=\"evenodd\" d=\"M25 10c-8.284 0-15 6.716-15 15v50c0 8.284 6.716 15 15 15h50c8.284 0 15-6.716 15-15V25c0-8.284-6.716-15-15-15H25Zm33 26c2.206 0 4 1.794 4 4v6.666L70 40v20l-8-6.666V60c0 2.206-1.794 4-4 4H34c-2.206 0-4-1.794-4-4V40c0-2.206 1.794-4 4-4h24Z\" clip-rule=\"evenodd\"/></svg>
  3265.                                                 </div>
  3266.                                             </div>
  3267.                                         </div>
  3268.                                         {% endfor %}
  3269.                                     {% endif %}
  3270.                                 </div>
  3271.                                 <div class=\"attach__add\">
  3272.                                     <input
  3273.                                         type=\"file\"
  3274.                                         class=\"visually_hidden\"
  3275.                                         id=\"profile-video-input\"
  3276.                                         multiple=\"\"
  3277.                                         style=\"position:absolute;left:-999999px\"
  3278.                                         accept=\".mp4, .mov\"
  3279.                                         data-url=\"{{ video_media_upload_url }}\"
  3280.                                         data-type=\"video\"
  3281.                                     />
  3282.                                     <label class=\"attach__add__label\" for=\"profile-video-input\">
  3283.                                         <svg class=\"attach__add__icon\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\" viewBox=\"0 0 24 24\"><path d=\"M18.94 11.11A7 7 0 0 0 12 5a6.74 6.74 0 0 0-6.24 4.15A5.25 5.25 0 0 0 2 14a5 5 0 0 0 5 5h11a4 4 0 0 0 .94-7.89ZM13 14v3h-2v-3H8l4-5 4 5h-3Z\"/></svg>
  3284.                                         <span>Загрузить видео</span>
  3285.                                     </label>
  3286.                                 </div>
  3287.                             </div>
  3288.                             <p class=\"info\">Загрузите видео. До 400 МБ. Mp4, Mov, HEVC</p>
  3289.                         </div>
  3290.                         <div class=\"tab verify-photo\" data-id=\"verify-photo\" id=\"approval_block\">
  3291.                             <div style=\"display:none\" id=\"approval_widget\" data-status=\"{{ form.approval_status.vars.value }}\">
  3292.                                 {% if form.uploaded_approval_photo.vars.data is not null %}
  3293.                                     <img id=\"uploaded_approval_photo\" src=\"{{ responsive_asset(form.uploaded_approval_photo.vars.data, \"profile_media_approval\", \"357x500\", \"jpg\") }}\" width=\"100\" height=\"100\"/><video id=\"uploaded_approval_photo\" src=\"{{ asset(form.uploaded_approval_photo.vars.data, \"profile_media_approval\") }}\" width=\"100\" height=\"100\"></video>
  3294.                                 {% endif %}
  3295.                                 <div class=\"form-error\">{{ form_errors(form.approval_photo) }}</div>
  3296.                                 {{ form_widget(form.approval_photo, {'attr': {
  3297.                                     'class': 'custom-file-input',
  3298.                                     'data-type': \"verify\",
  3299.                                     'accept':\"image/jpg,image/jpeg\",
  3300.                                     'data-url':\"{{ approval_media_upload_url }}\",
  3301.                                     'style': \"position:absolute;left:-999999px\"
  3302.                                 }}) }}
  3303.                             </div>
  3304.                             {% set classVerify = form.approval_status.vars.value ? form.approval_status.vars.value : 'NO_ADD' %}
  3305.                             <div class=\"photos-verify-block d-flex\" id=\"approval_list\">
  3306.                                 <div class=\"status-block\">
  3307.                                     <div class=\"photo\">
  3308.                                         <div class=\"empty-image\" id=\"approval_empty\">
  3309.                                             <svg class=\"icon\">
  3310.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-empty-girl\"></use>
  3311.                                             </svg>
  3312.                                         </div>
  3313.                                         <div class=\"current-image d-none status_image_{{ classVerify }}\" id=\"approval_image\">
  3314.                                             <img class=\"main\" src=\"\" >
  3315.                                             {# <img class=\"icon rejected\" src=\"{{ asset('assets/images/icons/alert.svg') }}\">
  3316.                                             <img class=\"icon\" src=\"{{ asset('assets/images/icons/alert-grey.svg') }}\"> #}
  3317.                                         </div>
  3318.                                     </div>
  3319.                                     <div class=\"status attach__approval__{{ classVerify }}\" data-t=\"{{form.approval_status.vars.value}}\" id=\"approval_photo_text\">
  3320.                                         <div class=\"status-info status-info-empty\" id=\"status-info-empty\">
  3321.                                             <p class=\"colored\">Ваша анкета ещё НЕ подтверждена.</p>
  3322.                                             <p class=\"sub\">Рекомендуем загрузить проверочное фото.</p>
  3323.                                         </div>
  3324.                                         <div class=\"status-info status-info-wait\" id=\"status-info-wait\">
  3325.                                             <p class=\"colored\">Ожидает модерации</p>
  3326.                                             <p class=\"sub\">Ваша проверочная фотография ожидает подтверждения от администрации сайта.</p>
  3327.                                             <p class=\"sub-2\">Проверка может занять до двух дней.<br>Пожалуйста, подождите.</p>
  3328.                                         </div>
  3329.                                         <div class=\"status-info status-info-rejected\" id=\"status-info-rejected\">
  3330.                                             <p class=\"colored\">Фото отклонено</p>
  3331.                                             <p class=\"sub\">К сожалению, <strong>Ваша анкета НЕ подтверждена</strong>.</p>
  3332.                                             <p class=\"sub-2\">Попробуйте отправить новое фото</p>
  3333.                                         </div>
  3334.                                         <div class=\"status-info status-info-approved\" id=\"status-info-approved\">
  3335.                                             <p class=\"colored d-flex\">
  3336.                                                 <svg class=\"icon\">
  3337.                                                     <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approved\"></use>
  3338.                                                 </svg>
  3339.                                                 <span>Подтверждено</span>
  3340.                                             </p>
  3341.                                             <p class=\"sub\">Поздравляем, Ваша анкета подтверждена.</p>
  3342.                                         </div>
  3343.                                         <div class=\"status-info status-info-wait-second-attempt\" id=\"status-info-wait-second-attempt\">
  3344.                                             <p class=\"colored\">Проверяется</p>
  3345.                                             <p class=\"sub\">Вы обновили свои фотографии. Знак верификации временно снят до проверки модератором.</p>
  3346.                                             <p class=\"sub-2\">Если Вы хотите изменить проверочное фото - загрузите его заново.</p>
  3347.                                         </div>
  3348.                                         <div class=\"add-block\" id=\"status-info-add\">
  3349.                                             <div class=\"add\">
  3350.                                                 <input class=\"custom-file-input d-none\"
  3351.                                                     type=\"file\"
  3352.                                                     id=\"profile-verify-input\"
  3353.                                                     data-type=\"verify\"
  3354.                                                     accept=\"image/jpg,image/jpeg\"
  3355.                                                     data-url=\"{{ approval_media_upload_url }}\"
  3356.                                                 />
  3357.                                                 <label class=\"add-photo btn btn-secondary d-flex\" for=\"profile-verify-input\">
  3358.                                                     <svg class=\"icon\">
  3359.                                                         <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-upload\"></use>
  3360.                                                     </svg>
  3361.                                                     <span>Загрузить фото</span>
  3362.                                                 </label>
  3363.                                             </div>
  3364.                                         </div>
  3365.                                     </div>
  3366.                                 </div>
  3367.                                 <div class=\"description\">
  3368.                                     <p class=\"heading\">Что такое проверочное фото?</p>
  3369.                                     <p>Чтобы анкета была с отметкой \"<span class=\"colored-green\">фото проверено</span>\" и показывалась выше непроверенных анкет, <strong>Вам необходимо добавить проверочную фотографию</strong>.</p>
  3370.                                     <p>Проверочная фотография - это фотография девушки из анкеты с листком бумаги, на котором от руки написана свежая дата.</p>
  3371.                                     <p class=\"colored-red\">Фотошоп, плохое качество фотографии запрещены на проверочной фотографии.</p>
  3372.                                     <p>Если Вы добавите новые фотографии к уже проверенной анкете - отметка \"фото проверено\" пропадёт, и Вам нужно будет снова присылать проверочную фотографию.</p>
  3373.                                     <p>Если Вы удалите одну или несколько фотографий из уже проверенной анкеты - отметка \"фото проверено\" останется</p>
  3374.                                     <div class=\"sale\">
  3375.                                         <div class=\"info-box d-flex justify-content-center\">
  3376.                                             <svg class=\"icon icon-verify\">
  3377.                                                 <use xlink:href=\"{{ asset('assets_domain/images/icons/account/svg-library.svg', 'nodomainConfig') }}#icon-approval-check\"></use>
  3378.                                             </svg>
  3379.                                             <span class=\"info-box-center d-flex\">
  3380.                                                 <span class=\"sale\">10%</span>
  3381.                                                 <span class=\"text\">скидка за <span class=\"marked\">Проверенные анкеты</span></span>
  3382.                                             </span>
  3383.                                         </div>
  3384.                                     </div>
  3385.                                 </div>
  3386.                             </div>
  3387.                         </div>
  3388.                     </div>
  3389.                 </div>
  3390.             </div>
  3391.             <div class=\"submit-block\">
  3392.                 {{ form_widget(form.submit, {
  3393.                     'label': editCheck ? 'Сохранить изменения' : 'Сохранить',
  3394.                     'attr': {
  3395.                         'class': 'btn btn-danger'
  3396.                     }}) }}
  3397.             </div>
  3398.             <div>
  3399.         {{ form_end(form) }}
  3400.     </div>
  3401.      <div
  3402.         class=\"dialog-container\"
  3403.         id=\"upload-dialog-id\"
  3404.         aria-labelledby=\"upload-dialog-title-id\"
  3405.         aria-hidden=\"true\"
  3406.         >
  3407.         <!-- 2. The dialog overlay -->
  3408.         <div class=\"dialog-overlay\" data-a11y-dialog-hide></div>
  3409.         <!-- 3. The actual dialog -->
  3410.         <div class=\"dialog-content\" role=\"document\">
  3411.             <!-- 4. The close button -->
  3412.             <button class=\"dialog-button\" type=\"button\" data-a11y-dialog-hide aria-label=\"Close dialog\">
  3413.             &times;
  3414.             </button>
  3415.             <!-- 5. The dialog title -->
  3416.             <div class=\"dialog-title\" id=\"upload_dialog-title\">upload title</div>
  3417.             <div class=\"dialog-body\" id=\"upload_dialog-content\">upload content</div>
  3418.             <!-- 6. Dialog content -->
  3419.         </div>
  3420.     </div>
  3421. {% endblock %}
  3422. {% block javascripts %}
  3423.     {{ parent() }}
  3424.     {{ encore_entry_script_tags('scripts/uploader', null, 'basicConfig') }}
  3425.     <script>
  3426.     //     function is_click_masseur(load = false) {
  3427.     //         const checkBox = document.getElementById(\"is_masseur\");
  3428.     //         let group1 = document.querySelector('.group-1');
  3429.     //         let group2 = document.querySelector('.group-5');
  3430.     //         let group3 = document.querySelector('.group-6');
  3431.     //         let group4 = document.querySelector('.group-7');
  3432.     //         if (!load) {
  3433.     //             if (checkBox.checked == true){
  3434.     //                 group1.style.display = \"block\";
  3435.     //                 group2.style.display = \"block\";
  3436.     //                 group3.style.display = \"block\";
  3437.     //                 group4.style.display = \"block\";
  3438.     //             } else {
  3439.     //                 group1.style.display = \"none\";
  3440.     //                 group2.style.display = \"none\";
  3441.     //                 group3.style.display = \"none\";
  3442.     //                 group4.style.display = \"none\";
  3443.     //             }
  3444.     //         } else {
  3445.     //             if (checkBox.checked == true) {
  3446.     //                 group1.style.display = \"none\";
  3447.     //                 group2.style.display = \"none\";
  3448.     //                 group3.style.display = \"none\";
  3449.     //                 group4.style.display = \"none\";
  3450.     //             }
  3451.     //         }
  3452.     //     }
  3453.     //     is_click_masseur(true);
  3454.     </script>
  3455. {% endblock %}
  3456. {% block javascriptss %}
  3457.     {{ parent() }}
  3458.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/intlTelInput.min.js\"
  3459.             integrity=\"sha256-Gf8PGNhkyd/4AuPWG7theaqc8hAvHzocloCkDN9pXFw=\"
  3460.             crossorigin=\"anonymous\"></script>
  3461.     <script>
  3462. \t\tvar input = document.querySelector(\"#phone\"),
  3463. \t\t\terrorMsg = document.querySelector(\"#error-msg\"),
  3464. \t\t\tvalidMsg = document.querySelector(\"#valid-msg\");
  3465. \t\t// here, the index maps to the error code returned from getValidationError - see readme
  3466. \t\tvar errorMap = [\"Invalid number\", \"Invalid country code\", \"Too short\", \"Too long\", \"Invalid number\"];
  3467. \t\tvar input = document.querySelector(\"#phone\");
  3468. \t\tvar iti = window.intlTelInput(input, {
  3469. \t\t\tonlyCountries: [\"al\", \"ad\", \"at\", \"by\", \"be\", \"ba\", \"bg\", \"hr\", \"cz\", \"dk\",
  3470. \t\t\t\t\"ee\", \"fo\", \"fi\", \"fr\", \"de\", \"gi\", \"gr\", \"va\", \"hu\", \"is\", \"ie\", \"it\", \"lv\",
  3471. \t\t\t\t\"li\", \"lt\", \"lu\", \"mk\", \"mt\", \"md\", \"mc\", \"me\", \"nl\", \"no\", \"pl\", \"pt\", \"ro\",
  3472. \t\t\t\t\"ru\", \"sm\", \"rs\", \"sk\", \"si\", \"es\", \"se\", \"ch\", \"ua\", \"gb\"],
  3473. \t\t\tgeoIpLookup: function(callback) {
  3474. \t\t\t\t\$.get('https://ipinfo.io', function() {}, \"jsonp\").always(function(resp) {
  3475. \t\t\t\t\tvar countryCode = (resp && resp.country) ? resp.country : \"\";
  3476. \t\t\t\t\tcallback(countryCode);
  3477. \t\t\t\t});
  3478. \t\t\t},
  3479. \t\t\tutilsScript: \"https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/16.0.4/js/utils.js\" // just for formatting/placeholders etc
  3480. \t\t});
  3481. \t\tvar reset = function() {
  3482. \t\t\tinput.classList.remove(\"error\");
  3483. \t\t\terrorMsg.innerHTML = \"\";
  3484. \t\t\terrorMsg.classList.add(\"hide\");
  3485. \t\t\tvalidMsg.classList.add(\"hide\");
  3486. \t\t};
  3487. \t\t// on blur: validate
  3488. \t\tinput.addEventListener('blur', function() {
  3489. \t\t\treset();
  3490. \t\t\tif (input.value.trim()) {
  3491. \t\t\t\tif (iti.isValidNumber()) {
  3492. \t\t\t\t\tvalidMsg.classList.remove(\"hide\");
  3493. \t\t\t\t} else {
  3494. \t\t\t\t\tinput.classList.add(\"error\");
  3495. \t\t\t\t\tvar errorCode = iti.getValidationError();
  3496. \t\t\t\t\terrorMsg.innerHTML = errorMap[errorCode];
  3497. \t\t\t\t\terrorMsg.classList.remove(\"hide\");
  3498. \t\t\t\t}
  3499. \t\t\t}
  3500. \t\t});
  3501. \t\t// on keyup / change flag: reset
  3502. \t\tinput.addEventListener('change', reset);
  3503. \t\tinput.addEventListener('keyup', reset);
  3504. \t\t//-----------
  3505. \t\tdocument.addEventListener(\"DOMContentLoaded\", function(event) {
  3506. \t\t\tdocument.querySelector('.selector-menu .menu').fakeScroll();
  3507. \t\t});
  3508.     </script>
  3509. {% endblock %}
  3510. ""account/profiles/profile_form.html.twig""/app/templates/account/profiles/profile_form.html.twig");
  3511.     }
  3512. }