src/PortalBundle/Resources/views/Service/service.html.twig line 1

Open in your IDE?
  1. {% extends '@Portal/template.html.twig' %}
  2. {% block head %}
  3.     <title>{{ 'seo.service_page.title'|trans({}, 'portal_base') }}</title>
  4.     <meta name="description" content="{{ 'seo.service_page.description'|trans({}, 'portal_base') }}">
  5.     {% if isModalForm %}
  6.         <meta name="robots" content="noindex, follow" />
  7.     {% endif %}
  8.     <link rel="stylesheet" type="text/css" href="/dist/{{ MODE }}/portal/css/portalService.css?{{ VERSION }}">
  9.     <link rel="stylesheet" href="{{ asset('bundles/dcsite/css/modules/service/widget-order-to.css') }}">
  10. {% endblock head %}
  11. {% block ogtagDynamic %}
  12.     <meta property="og:title" content="{{ 'seo.service_page.title'|trans({}, 'portal_base') }}">
  13.     <meta property="og:description" content="{{ 'seo.service_page.description'|trans({}, 'portal_base') }}"/>
  14. {% endblock ogtagDynamic %}
  15. {% block content %}
  16.     <section class="breadcrumbs__new">
  17.         <div class="container">
  18.             <ol class="vidi_breadcrumbs__new" itemscope itemtype="https://schema.org/BreadcrumbList">
  19.                 <li class="marker__none" itemprop="itemListElement" itemscope itemtype="https://schema.org/ListItem">
  20.                     <a itemprop="item" href="{{ path('portal_homepage') }}">
  21.                         <span class="breadcrumbs__link" itemprop="name">VIDI.UA</span>
  22.                     </a>
  23.                     <meta itemprop="position" content="1"/>
  24.                 </li>
  25.                 <div class="arrow-bc"></div>
  26.                 <li itemprop="item" class="marker__none" itemprop="itemListElement" itemscope
  27.                     itemtype="https://schema.org/ListItem">
  28.                     <span style="color: #ABABAB" class="breadcrumbs__link"
  29.                           itemprop="name">{{ 'base.service'|trans({}, 'portal_base') }}</span>
  30.                     <meta itemprop="position" content="2"/>
  31.                 </li>
  32.             </ol>
  33.         </div>
  34.     </section>
  35.     {% if app.request.locale == 'ru' %}
  36.         {% include '@Portal/Service/translations/service_ru.html.twig' %}
  37.     {% else %}
  38.         {% include '@Portal/Service/translations/service_ua.html.twig' %}
  39.     {% endif %}
  40.     {# =====================MODAL========================= #}
  41.     <div id="serviceModule" class="modal_online_registration {{ isModalForm ? 'active' : '' }}">
  42.         <div class="modal_online_reg_header_wrapper">
  43.             <div class="container">
  44.                 <div class="modal_online_reg_header">
  45.                 <div class="modal_online_reg_header_logo"></div>
  46.                     {# <img class="modal_online_reg_header_logo" src="{{ asset('bundles/portal/img/service/modal-logo-vidi.svg') }}" alt=""> #}
  47.                     <button class="modal_online_reg_header_close" @click="closeService">
  48.                         <svg width="13" height="13" viewbox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
  49.                             <path d="M11.53 11.255L1.53003 1.255M11.53 1.255L1.53003 11.255" stroke="white"
  50.                                   stroke-width="2" stroke-linecap="round"/>
  51.                         </svg>
  52.                     </button>
  53.                 </div>
  54.             </div>
  55.         </div>
  56.         <div id="scroll-container" class="modal_online_reg_main">
  57.             <div class="container">
  58.                 <p class="modal_online_reg_title">{{ 'modal_online_service.online_registration_service'|trans({}, 'portal_base') }} VIDI</p>
  59.                 <p class="modal_online_reg_sub_title">{{ 'modal_online_service.estimate_service_steps'|trans({}, 'portal_base') }}</p>
  60.                 <div id="preloader-service">
  61.                     <div class="modal_online_cover">
  62.                         <div class="modal_online_cover_head">
  63.                             <button v-if="step > 1" class="step_back" @click="prevStep">
  64.                                 <svg width="8" height="14" viewbox="0 0 8 14" fill="none"
  65.                                      xmlns="http://www.w3.org/2000/svg">
  66.                                     <path
  67.                                         d="M6.08321 0.933347L0.466547 6.53335C0.39988 6.60001 0.352547 6.67224 0.324547 6.75001C0.296547 6.82779 0.282769 6.91112 0.283214 7.00001C0.283214 7.0889 0.296991 7.17224 0.324547 7.25001C0.352102 7.32779 0.399436 7.40001 0.466547 7.46668L6.08321 13.0833C6.23877 13.2389 6.43321 13.3167 6.66655 13.3167C6.89988 13.3167 7.09988 13.2333 7.26655 13.0667C7.43321 12.9 7.51655 12.7056 7.51655 12.4833C7.51655 12.2611 7.43321 12.0667 7.26655 11.9L2.36655 7.00001L7.26655 2.10001C7.4221 1.94446 7.49988 1.75268 7.49988 1.52468C7.49988 1.29668 7.41655 1.09957 7.24988 0.933347C7.08321 0.76668 6.88877 0.683347 6.66655 0.683347C6.44432 0.683347 6.24988 0.76668 6.08321 0.933347Z"
  68.                                         fill="inherit"/>
  69.                                 </svg>
  70.                                 <span>Назад</span>
  71.                             </button>
  72.                             <div class="step_count">
  73.                                 <span>{{ 'modal_online_service.step'|trans({}, 'portal_base') }} <span v-html="step"></span> {{ 'modal_online_service.step_letter'|trans({}, 'portal_base') }} 4</span>
  74.                             </div>
  75.                         </div>
  76.                         <div class="modal_online_cover_main">
  77.                             <template v-if="step == 1">
  78.                                 <div v-if="!status.stepChangeDealer" id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  79.                                     <div class="modal_online_cover_head">
  80.                                         <p class="modal_online_cover_head_title">{{ 'modal_online_service.general_your_car'|trans({}, 'portal_base') }}</p>
  81.                                     </div>
  82.                                     <div class="searc_number_wrapper">
  83.                                         <p class="searc_number_text">{{ 'modal_online_service.successful_registration'|trans({}, 'portal_base') }}</p>
  84.                                         <div class="search__number_container">
  85.                                             <div class="search__number__form__wrapper"
  86.                                                  @keyup.enter="findVehicleByNumber"
  87.                                                  :class="[error.formCarNumber && !status.stepChangeVariation ? 'error' : '', !status.stepSearchNumber ? 'disabled' : '']">
  88.                                                 <svg class="search__number-icon" width="35" height="58"
  89.                                                      viewbox="0 0 35 58" fill="none" xmlns="http://www.w3.org/2000/svg">
  90.                                                     <path
  91.                                                         d="M0 6C0 2.68629 2.68629 0 6 0H35V58H6C2.68629 58 0 55.3137 0 52V6Z"
  92.                                                         fill="#0057B8"/>
  93.                                                     <path
  94.                                                         d="M16.6357 36.6V41.496C16.6357 44.064 15.0997 45.108 13.3837 45.108C11.3677 45.108 9.90367 43.872 9.90367 41.412V36.6H10.9237V41.22C10.9237 43.044 11.8117 44.148 13.3837 44.148C14.7637 44.148 15.6157 43.2 15.6157 41.292V36.6H16.6357ZM17.9554 45L21.5674 36.552H22.4434L26.0554 45H24.9634L23.8834 42.456H20.0554L18.9874 45H17.9554ZM21.9754 37.908L20.4634 41.496H23.4874L21.9754 37.908Z"
  95.                                                         fill="white"/>
  96.                                                     <rect x="8" y="10" width="19" height="7" fill="#42ADDE"/>
  97.                                                     <rect x="8" y="17" width="19" height="7" fill="#FFD800"/>
  98.                                                 </svg>
  99.                                                 {% include '@Portal/Modules/search-number-form.twig' %}
  100.                                             </div>
  101.                                             <button class="search__number_change_btn" v-if="carNumber && !status.stepSearchNumber" @click="backToSearchNumber">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  102.                                             <button class="search__number_change_btn desktop_number_search" v-else-if="status.stepSearchNumber" @click="findVehicleByNumber">{{ 'modal_online_service.search'|trans({}, 'portal_base') }}
  103.                                             </button>
  104.                                             <button class="search__number_change_btn"
  105.                                                     v-else-if="!status.stepSearchNumber" @click="backToSearchNumber">
  106.                                                {{ 'modal_online_service.search_number'|trans({}, 'portal_base') }}
  107.                                             </button>
  108.                                             <div v-if="error.formCarNumber && !status.stepChangeVariation"
  109.                                                  class="search_number_info_box">
  110.                                                 <svg xmlns="http://www.w3.org/2000/svg" width="12" height="12"
  111.                                                      viewbox="0 0 12 12" fill="none">
  112.                                                     <path fill-rule="evenodd" clip-rule="evenodd"
  113.                                                           d="M5.99943 0C7.65664 0 9.1565 0.671257 10.2421 1.75682C11.3276 2.84351 12 4.34336 12 5.99943C12 7.65664 11.3276 9.1565 10.2421 10.2421C9.1565 11.3276 7.65664 12 5.99943 12C4.34336 12 2.84351 11.3276 1.75682 10.2421C0.671257 9.1565 0 7.65664 0 5.99943C0 4.34336 0.671257 2.84237 1.75682 1.75682C2.84237 0.671257 4.34336 0 5.99943 0ZM9.57985 2.41902C8.66409 1.50325 7.39742 0.936138 5.99943 0.936138C4.60145 0.936138 3.33591 1.50325 2.41902 2.41902C1.50325 3.33591 0.936138 4.60145 0.936138 5.99943C0.936138 7.39742 1.50325 8.66409 2.41902 9.57985C3.33591 10.4956 4.60145 11.0627 5.99943 11.0627C7.39742 11.0627 8.66409 10.4956 9.57985 9.57985C10.4956 8.66409 11.0627 7.39742 11.0627 5.99943C11.0627 4.60145 10.4956 3.33591 9.57985 2.41902ZM5.94736 3.80568C5.68927 3.80568 5.47986 3.59626 5.47986 3.33818C5.47986 3.07895 5.68927 2.86954 5.94736 2.86954H6.0515C6.31073 2.86954 6.52014 3.07895 6.52014 3.33818C6.52014 3.59626 6.31073 3.80568 6.0515 3.80568H5.94736ZM5.5274 4.88784C5.5274 4.62975 5.73682 4.42034 5.99604 4.42034C6.25413 4.42034 6.46354 4.62975 6.46354 4.88784V8.66182C6.46354 8.91991 6.25413 9.13046 5.99604 9.13046C5.73682 9.13046 5.5274 8.91991 5.5274 8.66182V4.88784Z"
  114.                                                           fill="#E40C25"/>
  115.                                                 </svg>
  116.                                                 <p>{{ 'modal_online_service.first_registration_number'|trans({}, 'portal_base') }}</p>
  117.                                             </div>
  118.                                         </div>
  119.                                         <template v-if="status.notFindVehicleNumber">
  120.                                             <p class="search__number_no_search">{{ 'modal_online_service.unfortunately_your_car'|trans({}, 'portal_base') }}
  121.                                                 {{ 'modal_online_service.please_yourself'|trans({}, 'portal_base') }}</p>
  122.                                             <button class="search__number_btn" @click="enterDataVehicle">{{ 'modal_online_service.enter_car_data'|trans({}, 'portal_base') }}</button>
  123.                                         </template>
  124.                                         <button v-if="!status.stepChangeVariation && !status.notFindVehicleNumber"
  125.                                                 class="remember_number_btn" @click="noHaveVehicleNumber">{{ 'modal_online_service.remember_registration_number'|trans({}, 'portal_base') }}
  126.                                         </button>
  127.                                     </div>
  128.                                     <div class="save_car_container"
  129.                                          v-if="user.cars.length > 0 && status.stepSearchNumber">
  130.                                         <p class="save_car_else_titel">{{ 'modal_online_service.or'|trans({}, 'portal_base') }}</p>
  131.                                         <p class="save_car_sub_name ">{{ 'modal_online_service.your_saved_cars'|trans({}, 'portal_base') }}:</p>
  132.                                         <div class="save_car_wrapper">
  133.                                             <div class="save_car_box" v-for="car in user.cars"
  134.                                                  @click="setUserVehicle(car)">
  135.                                                 <span class="save_car_box_name" v-html="car.title"></span>
  136.                                                 <div class="save_car_number_box">
  137.                                                     <span class="save_car_year" v-html="car.MakeYear"></span>
  138.                                                     <div class="save_car_number_wrap">
  139.                                                         <svg width="28" height="28" viewbox="0 0 28 28" fill="none"
  140.                                                              xmlns="http://www.w3.org/2000/svg">
  141.                                                             <path
  142.                                                                 d="M0 6C0 2.68629 2.68629 0 6 0H28V28H6C2.68629 28 0 25.3137 0 22V6Z"
  143.                                                                 fill="#0057B8"/>
  144.                                                             <path
  145.                                                                 d="M13.9238 16.4V19.664C13.9238 21.376 12.8998 22.072 11.7558 22.072C10.4118 22.072 9.43578 21.248 9.43578 19.608V16.4H10.1158V19.48C10.1158 20.696 10.7078 21.432 11.7558 21.432C12.6758 21.432 13.2438 20.8 13.2438 19.528V16.4H13.9238ZM14.8036 22L17.2116 16.368H17.7956L20.2036 22H19.4756L18.7556 20.304H16.2036L15.4916 22H14.8036ZM17.4836 17.272L16.4756 19.664H18.4916L17.4836 17.272Z"
  146.                                                                 fill="white"/>
  147.                                                             <rect x="8" y="4" width="12" height="4" fill="#42ADDE"/>
  148.                                                             <rect x="8" y="8" width="12" height="4" fill="#FFD800"/>
  149.                                                         </svg>
  150.                                                         <span class="save_car_number" v-html="car.Number"></span>
  151.                                                     </div>
  152.                                                 </div>
  153.                                             </div>
  154.                                         </div>
  155.                                     </div>
  156.                                     <div class="save_car_container" v-else-if="status.stepNoBrandDealer">
  157.                                         <p class="save_car_sub_name save_car_sub_name_yor_auto">{{ 'modal_online_service.confirm_your_car'|trans({}, 'portal_base') }}</p>
  158.                                         <div class="confirm_your_car_wrapper">
  159.                                             <div class="confirm_your_car_box">
  160.                                                 <p class="confirm_your_car_title"><span
  161.                                                         v-html="vehicleInfo.brand"></span> <span
  162.                                                         v-html="vehicleInfo.model"></span></p>
  163.                                                 <div class="confirm_your_car_head">
  164.                                                     <div class="confirm_your_car_head_box">
  165.                                                         <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  166.                                                              xmlns="http://www.w3.org/2000/svg">
  167.                                                             <path
  168.                                                                 d="M2.72296 3.09641H6.63093C6.66823 3.09641 6.70399 3.08159 6.73037 3.05522C6.75674 3.02885 6.77156 2.99308 6.77156 2.95578V1.83523C6.77139 1.71577 6.72385 1.60125 6.63936 1.5168C6.55486 1.43235 6.44032 1.38486 6.32085 1.38477H3.03304C2.91358 1.38487 2.79904 1.43236 2.71454 1.51681C2.63005 1.60126 2.5825 1.71577 2.58234 1.83523V2.95578C2.58234 2.99308 2.59715 3.02885 2.62352 3.05522C2.6499 3.08159 2.68567 3.09641 2.72296 3.09641ZM2.86359 1.83523C2.86367 1.79034 2.88155 1.74731 2.91332 1.71558C2.94509 1.68386 2.98814 1.66603 3.03304 1.66602H6.32085C6.36575 1.66603 6.4088 1.68386 6.44057 1.71558C6.47234 1.74731 6.49023 1.79034 6.49031 1.83523V2.81516H2.86359V1.83523Z"
  169.                                                                 fill="#E40C25"/>
  170.                                                             <path
  171.                                                                 d="M2.65924 4.49927C2.62194 4.49927 2.58618 4.51408 2.5598 4.54046C2.53343 4.56683 2.51862 4.6026 2.51862 4.63989V4.82341C2.51862 4.8607 2.53343 4.89647 2.5598 4.92285C2.58618 4.94922 2.62194 4.96403 2.65924 4.96403C2.69654 4.96403 2.73231 4.94922 2.75868 4.92285C2.78505 4.89647 2.79987 4.8607 2.79987 4.82341V4.63989C2.79987 4.6026 2.78505 4.56683 2.75868 4.54046C2.73231 4.51408 2.69654 4.49927 2.65924 4.49927Z"
  172.                                                                 fill="#E40C25"/>
  173.                                                             <path
  174.                                                                 d="M2.65924 5.10254C2.62194 5.10254 2.58618 5.11735 2.5598 5.14373C2.53343 5.1701 2.51862 5.20587 2.51862 5.24316V7.99777C2.51862 8.03507 2.53343 8.07084 2.5598 8.09721C2.58618 8.12358 2.62194 8.1384 2.65924 8.1384C2.69654 8.1384 2.73231 8.12358 2.75868 8.09721C2.78505 8.07084 2.79987 8.03507 2.79987 7.99777V5.24316C2.79987 5.20587 2.78505 5.1701 2.75868 5.14373C2.73231 5.11735 2.69654 5.10254 2.65924 5.10254Z"
  175.                                                                 fill="#E40C25"/>
  176.                                                             <path
  177.                                                                 d="M10.3997 2.45365L8.38927 1.47748C8.37244 1.46931 8.35415 1.46458 8.33547 1.46356C8.31679 1.46255 8.2981 1.46527 8.28048 1.47158C8.26287 1.47788 8.24669 1.48763 8.23289 1.50026C8.21909 1.51289 8.20795 1.52815 8.20013 1.54514L7.91956 2.15414L7.80504 2.09508V1.55267C7.80466 1.24151 7.68086 0.943207 7.46082 0.723207C7.24077 0.503207 6.94245 0.379473 6.63129 0.37915H2.69487C2.38371 0.379473 2.08538 0.503207 1.86534 0.723207C1.6453 0.943207 1.5215 1.24151 1.52112 1.55267V10.4472C1.5215 10.7584 1.6453 11.0567 1.86534 11.2767C2.08538 11.4967 2.38371 11.6204 2.69487 11.6207H9.25268C9.56381 11.6204 9.86209 11.4966 10.0821 11.2766C10.3021 11.0566 10.4258 10.7583 10.4262 10.4472V3.53313C10.4262 3.50732 10.4191 3.48201 10.4057 3.45996C10.3922 3.43792 10.373 3.42 10.35 3.40817L10.1675 3.31402L10.4669 2.63703C10.4816 2.60371 10.4829 2.56598 10.4703 2.53178C10.4578 2.49757 10.4325 2.46956 10.3997 2.45365ZM10.1449 10.4472C10.1447 10.6838 10.0506 10.9106 9.88331 11.0778C9.71603 11.2451 9.48924 11.3392 9.25268 11.3395H2.69487C2.45828 11.3392 2.23144 11.2452 2.06412 11.0779C1.8968 10.9106 1.80267 10.6838 1.80237 10.4472V1.55267C1.80267 1.31607 1.8968 1.08926 2.06412 0.921985C2.23144 0.754711 2.45828 0.660636 2.69487 0.6604H6.6312C6.86779 0.660636 7.09463 0.754711 7.26195 0.921985C7.42926 1.08926 7.5234 1.31607 7.5237 1.55267V2.18079C7.5237 2.20661 7.53081 2.23192 7.54424 2.25397C7.55768 2.27601 7.57692 2.29393 7.59987 2.30576L10.1449 3.61882V10.4472ZM9.91718 3.18483L8.16963 2.28319L8.3955 1.79316L10.1548 2.64738L9.91718 3.18483Z"
  178.                                                                 fill="#E40C25"/>
  179.                                                         </svg>
  180.                                                         <span v-html="vehicleInfo.variationInfo"></span>
  181.                                                     </div>
  182.                                                     <div class="confirm_your_car_head_box">
  183.                                                         <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  184.                                                              xmlns="http://www.w3.org/2000/svg">
  185.                                                             <g clip-path="url(#clip0_1195_8209)">
  186.                                                                 <path
  187.                                                                     d="M11.0268 1.67849C10.0217 0.733797 7.95368 0.462344 5.49554 0.952539C4.05929 1.23876 1.55375 2.24723 0.537661 3.85232C-0.203175 5.02265 -0.0434253 5.85037 0.220926 6.33864C0.700036 7.22338 1.964 7.78642 3.51957 7.80805C3.80347 7.81197 3.9915 7.86761 4.09432 7.97802C4.25354 8.14916 4.2338 8.4888 4.211 8.88208C4.17615 9.48145 4.13288 10.2274 4.67691 10.8809C4.90252 11.1518 5.22432 11.2872 5.6235 11.2872C6.02766 11.2872 6.5112 11.1482 7.05397 10.8704C9.14007 9.8027 11.6082 7.00302 11.9575 4.53695C12.122 3.3752 11.8088 2.4134 11.0268 1.67849ZM11.6364 4.49146C11.3063 6.82291 8.87855 9.57234 6.90617 10.5818C6.36783 10.8573 5.39452 11.2358 4.92607 10.6733C4.46407 10.1184 4.50165 9.47151 4.53481 8.90088C4.56195 8.43339 4.58539 8.02966 4.33179 7.75717C4.16541 7.57844 3.90125 7.489 3.52402 7.48373C2.08585 7.46378 0.929465 6.96587 0.506114 6.18419C0.186215 5.59337 0.291895 4.84696 0.811762 4.02578C1.76647 2.5176 4.23022 1.53543 5.55889 1.27054C7.37778 0.908195 9.71091 0.886984 10.8047 1.91477C11.5054 2.57336 11.7853 3.44024 11.6364 4.49146ZM2.90426 3.66259C2.30321 3.66259 1.81428 4.15162 1.81428 4.75267C1.81428 5.35373 2.30321 5.84275 2.90426 5.84275C3.50532 5.84275 3.99434 5.35373 3.99434 4.75267C3.99434 4.15162 3.50532 3.66259 2.90426 3.66259ZM2.90426 5.51842C2.48206 5.51842 2.13863 5.17487 2.13863 4.75267C2.13863 4.33047 2.48206 3.98692 2.90426 3.98692C3.32647 3.98692 3.67001 4.33047 3.67001 4.75267C3.67001 5.17487 3.32647 5.51842 2.90426 5.51842ZM6.45999 3.26805C6.45999 2.66699 5.97096 2.17797 5.36979 2.17797C4.76874 2.17797 4.27981 2.66699 4.27981 3.26805C4.27981 3.8691 4.76874 4.35812 5.36979 4.35812C5.97096 4.35812 6.45999 3.8691 6.45999 3.26805ZM5.36982 4.0338C4.94761 4.0338 4.60418 3.69025 4.60418 3.26805C4.60418 2.84584 4.94761 2.5023 5.36982 2.5023C5.79211 2.5023 6.13566 2.84584 6.13566 3.26805C6.13566 3.69025 5.79211 4.0338 5.36982 4.0338ZM8.52476 3.93393C9.12582 3.93393 9.61484 3.44491 9.61484 2.84385C9.61484 2.2428 9.12582 1.75387 8.52476 1.75387C7.92371 1.75387 7.43468 2.2428 7.43468 2.84385C7.43468 3.44491 7.92371 3.93393 8.52476 3.93393ZM8.52476 2.0782C8.94697 2.0782 9.29051 2.42162 9.29051 2.84383C9.29051 3.26603 8.94697 3.60958 8.52476 3.60958C8.10256 3.60958 7.75901 3.26603 7.75901 2.84383C7.75901 2.42162 8.10256 2.0782 8.52476 2.0782ZM8.97547 4.9352C8.37441 4.9352 7.88539 5.42423 7.88539 6.02528C7.88539 6.62634 8.37441 7.11527 8.97547 7.11527C9.57652 7.11527 10.0655 6.62634 10.0655 6.02528C10.0655 5.42423 9.57652 4.9352 8.97547 4.9352ZM8.97547 6.79094C8.55326 6.79094 8.20971 6.44751 8.20971 6.0253C8.20971 5.6031 8.55326 5.25955 8.97547 5.25955C9.39767 5.25955 9.74121 5.6031 9.74121 6.0253C9.74121 6.44751 9.39767 6.79094 8.97547 6.79094ZM6.82803 7.34774C6.22697 7.34774 5.73795 7.83677 5.73795 8.43782C5.73795 9.03887 6.22697 9.5278 6.82803 9.5278C7.42908 9.5278 7.91811 9.03887 7.91811 8.43782C7.91811 7.83677 7.42908 7.34774 6.82803 7.34774ZM6.82803 9.20348C6.40582 9.20348 6.06228 8.86005 6.06228 8.43784C6.06228 8.01564 6.40582 7.67209 6.82803 7.67209C7.25023 7.67209 7.59378 8.01564 7.59378 8.43784C7.59378 8.86005 7.25023 9.20348 6.82803 9.20348Z"
  188.                                                                     fill="#E40C25"/>
  189.                                                             </g>
  190.                                                             <defs>
  191.                                                                 <clipPath id="clip0_1195_8209">
  192.                                                                     <rect width="12" height="12" fill="white"/>
  193.                                                                 </clipPath>
  194.                                                             </defs>
  195.                                                         </svg>
  196.                                                         <span v-html="vehicleInfo.color"></span>
  197.                                                     </div>
  198.                                                 </div>
  199.                                                 <div class="save_car_number_box">
  200.                                                     <span class="save_car_year" v-html="vehicleInfo.makeYear"></span>
  201.                                                     <div class="save_car_number_wrap">
  202.                                                         <svg width="28" height="28" viewbox="0 0 28 28" fill="none"
  203.                                                              xmlns="http://www.w3.org/2000/svg">
  204.                                                             <path
  205.                                                                 d="M0 6C0 2.68629 2.68629 0 6 0H28V28H6C2.68629 28 0 25.3137 0 22V6Z"
  206.                                                                 fill="#0057B8"/>
  207.                                                             <path
  208.                                                                 d="M13.9238 16.4V19.664C13.9238 21.376 12.8998 22.072 11.7558 22.072C10.4118 22.072 9.43578 21.248 9.43578 19.608V16.4H10.1158V19.48C10.1158 20.696 10.7078 21.432 11.7558 21.432C12.6758 21.432 13.2438 20.8 13.2438 19.528V16.4H13.9238ZM14.8036 22L17.2116 16.368H17.7956L20.2036 22H19.4756L18.7556 20.304H16.2036L15.4916 22H14.8036ZM17.4836 17.272L16.4756 19.664H18.4916L17.4836 17.272Z"
  209.                                                                 fill="white"/>
  210.                                                             <rect x="8" y="4" width="12" height="4" fill="#42ADDE"/>
  211.                                                             <rect x="8" y="8" width="12" height="4" fill="#FFD800"/>
  212.                                                         </svg>
  213.                                                         <span class="save_car_number" v-html="vehicleInfo.number"></span>
  214.                                                     </div>
  215.                                                 </div>
  216.                                             </div>
  217.                                         </div>
  218.                                     </div>
  219.                                     <div class="save_car_container" id="changeVariation"
  220.                                          v-else-if="status.stepChangeVariation && !status.notFindVehicleNumber">
  221.                                         <p class="save_car_sub_name save_car_sub_name_select">{{ 'modal_online_service.enter_your_car'|trans({}, 'portal_base') }}</p>
  222.                                         <div class="search_car_wrapper">
  223.                                             <select class="search_car_select" v-model="carData.brandId" @change="setBrand">
  224.                                                 <option class="search_car_option" value="null" :checked="carData.brandId === null">{{ 'modal_online_service.brand'|trans({}, 'portal_base') }}</option>
  225.                                                 <option v-for="brand in formData.brands" class="search_car_option" :value="brand.id" v-html="brand.title"></option>
  226.                                             </select>
  227.                                             <select class="search_car_select" v-model="carData.modelId" :disabled="carData.brandId === null" @change="setModel">
  228.                                                 <option class="search_car_option" value="null" :checked="carData.modelId === null">{{ 'modal_online_service.model'|trans({}, 'portal_base') }}</option>
  229.                                                 <option v-for="model in formData.models" class="search_car_option" :value="model.id" v-html="model.title"></option>
  230.                                             </select>
  231.                                             <select class="search_car_select" v-model="carData.makeYear" :disabled="carData.modelId === null || !hasWorkByVariation" @change="setMakeYear">
  232.                                                 <option class="search_car_option" value="null" :checked="carData.makeYear === null">{{ 'modal_online_service.year_release'|trans({}, 'portal_base') }}*</option>
  233.                                                 <option v-for="makeYear in formData.makeYears" class="search_car_option" :value="makeYear.id" v-html="makeYear.title"></option>
  234.                                             </select>
  235.                                             <select class="search_car_select" v-model="carData.variationId" :disabled="carData.makeYear === null || !hasWorkByVariation">
  236.                                                 <option class="search_car_option" value="null" :checked="carData.variationId === null">{{ 'modal_online_service.modification'|trans({}, 'portal_base') }}*</option>
  237.                                                 <option v-for="variation in formData.variations" class="search_car_option" :value="variation.id" v-html="variation.title">{{ 'modal_online_service.modification'|trans({}, 'portal_base') }}*</option>
  238.                                             </select>
  239.                                         </div>
  240.                                     </div>
  241.                                 </div>
  242.                                 <div v-else-if="status.stepChangeDealer" id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  243.                                     <div class="modal_online_cover_head">
  244.                                         <p class="modal_online_cover_head_title">{{ 'modal_online_service.select_sto_recording'|trans({}, 'portal_base') }}</p>
  245.                                     </div>
  246.                                     <div class="select_service_station_wrapper">
  247.                                         <div class="select_service_station_box" v-for="dealer in formData.dealers"
  248.                                              @click="setDealer(dealer.id)">
  249.                                             <img class="select_service_station_logo" :src="dealer.image" alt="">
  250.                                             <p class="select_service_station_title" :title="`${dealer.title} - ${dealer.address}`"><span v-html="dealer.title"></span>
  251.                                                 <span v-html="dealer.address"></span></p>
  252.                                         </div>
  253.                                     </div>
  254.                                 </div>
  255.                             </template>
  256.                             <template v-if="step == 2">
  257.                                 <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  258.                                     <div class="modal_online_cover_head modal_online_cover_head-work">
  259.                                         <p class="modal_online_cover_head_title">{{ 'modal_online_service.select_required_jobs'|trans({}, 'portal_base') }}</p>
  260.                                         <div class="modal_online_search_dropdown">
  261.                                             <div class="modal_online_search">
  262.                                                 <input type="text" placeholder="{{ 'new_catalog.searchs'|trans({}, 'portal_base') }}" v-model="searchWorks" required
  263.                                                        @keyup="searchWorksByTitle">
  264.                                                 <button v-if="!isActiveSearchWork">
  265.                                                     <svg width="12" height="12" viewbox="0 0 12 12" fill="none"
  266.                                                          xmlns="http://www.w3.org/2000/svg">
  267.                                                         <path
  268.                                                             d="M11.8989 11.4243L8.55514 8.06183C9.38249 7.11929 9.81089 5.89196 9.74978 4.6393C9.68867 3.38664 9.14284 2.20684 8.22768 1.34931C7.31252 0.491771 6.09975 0.0237186 4.84577 0.0440955C3.59179 0.0644725 2.39487 0.571682 1.50806 1.4585C0.621243 2.34531 0.114033 3.54223 0.0936561 4.79621C0.0732791 6.05019 0.541332 7.26296 1.39887 8.17812C2.2564 9.09328 3.4362 9.63911 4.68886 9.70022C5.94152 9.76133 7.16885 9.33293 8.11139 8.50558L11.4739 11.8618C11.5019 11.8917 11.5358 11.9156 11.5735 11.9318C11.6111 11.9481 11.6516 11.9565 11.6926 11.9565C11.7336 11.9565 11.7742 11.9481 11.8118 11.9318C11.8494 11.9156 11.8833 11.8917 11.9114 11.8618C11.9405 11.8329 11.9634 11.7984 11.9786 11.7603C11.9938 11.7222 12.0011 11.6814 11.9999 11.6404C11.9987 11.5994 11.9892 11.559 11.9718 11.5219C11.9544 11.4847 11.9296 11.4515 11.8989 11.4243ZM4.93014 9.08058C4.10193 9.08058 3.29232 8.83499 2.60369 8.37486C1.91506 7.91473 1.37834 7.26073 1.06139 6.49557C0.744452 5.7304 0.661526 4.88843 0.823102 4.07614C0.984677 3.26384 1.3835 2.5177 1.96913 1.93207C2.55476 1.34644 3.3009 0.947617 4.1132 0.786041C4.92549 0.624465 5.76746 0.707392 6.53263 1.02433C7.29779 1.34128 7.95179 1.878 8.41192 2.56663C8.87205 3.25526 9.11764 4.06487 9.11764 4.89308C9.11599 6.00317 8.67427 7.06731 7.88932 7.85226C7.10437 8.63721 6.04023 9.07893 4.93014 9.08058Z"
  269.                                                             fill="#333333"/>
  270.                                                     </svg>
  271.                                                 </button>
  272.                                                 {#close#}
  273.                                                 <button v-else @click="closeSearch()">
  274.                                                     <svg width="13" height="13" viewbox="0 0 13 13" fill="none" xmlns="http://www.w3.org/2000/svg">
  275.                                                         <path d="M11.53 11.255L1.53003 1.255M11.53 1.255L1.53003 11.255" stroke="#333333"
  276.                                                               stroke-width="2" stroke-linecap="round"/>
  277.                                                     </svg>
  278.                                                 </button>
  279.                                             </div>
  280.                                         </div>
  281.                                     </div>
  282.                                     {# DESCTOP #}
  283.                                     <div class="modal_step_two_wrapper modal_step_two-desctop">
  284.                                         <div class="modal_step_two_position">
  285.                                             <div class="modal_step_two_container">
  286.                                                 <div v-for="group in groups" v-if="workParentGroupAvailable(group.id)" class="modal_step_two_select_box" :class="{'active': activeParentWorkGroup === group.id || isActiveSearchWork}" @click="setActiveParentWorkGroup(group.id)">
  287.                                                     <p class="step_two_select_name" v-html="group.title"></p>
  288.                                                     <svg class="step_two_select_arrow" width="16" height="16"
  289.                                                          viewbox="0 0 16 16" fill="none"
  290.                                                          xmlns="http://www.w3.org/2000/svg">
  291.                                                         <path
  292.                                                             d="M5.91679 1.93333L11.5335 7.53333C11.6001 7.6 11.6475 7.67222 11.6755 7.75C11.7035 7.82778 11.7172 7.91111 11.7168 8C11.7168 8.08889 11.703 8.17222 11.6755 8.25C11.6479 8.32778 11.6006 8.4 11.5335 8.46667L5.91679 14.0833C5.76123 14.2389 5.56679 14.3167 5.33345 14.3167C5.10012 14.3167 4.90012 14.2333 4.73345 14.0667C4.56679 13.9 4.48345 13.7056 4.48345 13.4833C4.48345 13.2611 4.56679 13.0667 4.73345 12.9L9.63345 8L4.73345 3.1C4.5779 2.94444 4.50012 2.75267 4.50012 2.52467C4.50012 2.29667 4.58345 2.09955 4.75012 1.93333C4.91679 1.76667 5.11123 1.68333 5.33345 1.68333C5.55567 1.68333 5.75012 1.76667 5.91679 1.93333Z"
  293.                                                             fill="inherit"/>
  294.                                                     </svg>
  295.                                                 </div>
  296.                                             </div>
  297.                                             <div class="modal_step_two_nosearch">
  298.                                                 <div class="modal_step_step_two_nosearch" @click="addServiceComment">
  299.                                                     <p class="step_step_two_nosearch_name">{{ 'modal_online_service.find_right_job'|trans({}, 'portal_base') }}</p>
  300.                                                     <svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"
  301.                                                          viewbox="0 0 16 16" fill="none">
  302.                                                         <path
  303.                                                             d="M5.91679 1.93333L11.5335 7.53333C11.6001 7.6 11.6475 7.67222 11.6755 7.75C11.7035 7.82778 11.7172 7.91111 11.7168 8C11.7168 8.08889 11.703 8.17222 11.6755 8.25C11.6479 8.32778 11.6006 8.4 11.5335 8.46667L5.91679 14.0833C5.76123 14.2389 5.56679 14.3167 5.33345 14.3167C5.10012 14.3167 4.90012 14.2333 4.73345 14.0667C4.56679 13.9 4.48345 13.7056 4.48345 13.4833C4.48345 13.2611 4.56679 13.0667 4.73345 12.9L9.63345 8L4.73345 3.1C4.5779 2.94444 4.50012 2.75267 4.50012 2.52467C4.50012 2.29667 4.58345 2.09955 4.75012 1.93333C4.91679 1.76667 5.11123 1.68333 5.33345 1.68333C5.55567 1.68333 5.75012 1.76667 5.91679 1.93333Z"
  304.                                                             fill="white"/>
  305.                                                     </svg>
  306.                                                 </div>
  307.                                             </div>
  308.                                         </div>
  309.                                         <div class="modal_step_two_service_wrapper" v-if="!status.stepServiceComment && Object.keys(groups).length > 0">
  310.                                             <div v-if="isActiveSearchWork">{{ 'modal_online_service.search_results'|trans({}, 'portal_base') }} “<span v-html="searchWorks"></span>”</div>
  311.                                             <template v-for="mainGroup in groups" v-if="activeParentWorkGroup === mainGroup.id || isActiveSearchWork">
  312.                                                 <div v-for="group in mainGroup.groups" v-if="workGroupAvailable(group.id)" class="step_two_service_box">
  313.                                                     <p class="step_two_service_name" v-html="group.title"></p>
  314.                                                     <template v-for="work in formData.works" v-if="group.id === work.groupId">
  315.                                                         <p class="step_two_service_name" v-if="work.millage"><span v-html="work.millage.toLocaleString()"></span> км</p>
  316.                                                         <button class="service_touch_btn" :class="{'active': hasAddWork(work.id)}" @click="toggleWork(work.id)">
  317.                                                             <div class="service_touch"></div>
  318.                                                             <p class="service_touch_text" v-html="work.title"></p>
  319.                                                             <span class="service_touch_price"><span v-html="work.totalCost.toLocaleString()"></span> грн</span>
  320.                                                         </button>
  321.                                                     </template>
  322.                                                 </div>
  323.                                             </template>
  324.                                         </div>
  325.                                         <div class="modal_step_two_service_wrapper" v-else="status.stepServiceComment">
  326.                                             <div class="not_found_work">
  327.                                                 <textarea class="not_found_work_textarea" name="text" v-model="carData.comment" placeholder="{{ 'modal_online_service.find_job_describe'|trans({}, 'portal_base') }}"></textarea>
  328.                                             </div>
  329.                                         </div>
  330.                                     </div>
  331.                                     {# MOBILE #}
  332.                                     <div class="modal_step_two-mobile">
  333.                                         <div class="accord_mob_wrapper">
  334.                                             <div v-if="isActiveSearchWork">{{ 'modal_online_service.search_results'|trans({}, 'portal_base') }} “<span v-html="searchWorks"></span>”</div>
  335.                                             <div v-for="mainGroup in groups" v-if="workParentGroupAvailable(mainGroup.id) || isActiveSearchWork" :id="'scrollTo-'+mainGroup.id" class="accord_mob_item" @click="setActiveParentWorkGroup(mainGroup.id, true)">
  336.                                                 <div v-if="!isActiveSearchWork" class="accord_mob_head" :class="{'active': activeParentWorkGroup === mainGroup.id}">
  337.                                                     <p class="accord_mob_head_name" v-html="mainGroup.title"></p>
  338.                                                     <svg width="14" height="8" viewbox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg">
  339.                                                         <path d="M13.0667 1.91666L7.46668 7.53333C7.40002 7.6 7.32779 7.64733 7.25002 7.67533C7.17224 7.70333 7.08891 7.71711 7.00002 7.71666C6.91113 7.71666 6.82779 7.70289 6.75002 7.67533C6.67224 7.64778 6.60002 7.60044 6.53335 7.53333L0.916683 1.91666C0.761127 1.76111 0.68335 1.56666 0.68335 1.33333C0.68335 1.1 0.766683 0.899998 0.93335 0.733332C1.10002 0.566665 1.29446 0.483332 1.51668 0.483332C1.73891 0.483332 1.93335 0.566665 2.10002 0.733332L7.00002 5.63333L11.9 0.733332C12.0556 0.577776 12.2473 0.499998 12.4753 0.499998C12.7034 0.499998 12.9005 0.583331 13.0667 0.749998C13.2334 0.916665 13.3167 1.11111 13.3167 1.33333C13.3167 1.55555 13.2334 1.75 13.0667 1.91666Z" fill="inherit"/>
  340.                                                     </svg>
  341.                                                 </div>
  342.                                                 <div v-for="group in mainGroup.groups" v-if="workGroupAvailable(group.id)" :class="{'accord_mob_content': !isActiveSearchWork}">
  343.                                                     <p class="accord_mob_content_name_works" v-html="group.title"></p>
  344.                                                     <div class="accord_mob_content_wrapper">
  345.                                                         <template v-for="work in formData.works" v-if="group.id === work.groupId">
  346.                                                             <p class="step_two_service_name" v-if="work.millage"><span v-html="work.millage.toLocaleString()"></span> км</p>
  347.                                                             <button class="service_touch_btn service_touch_btn-mob" :class="{'active': hasAddWork(work.id)}" @click="toggleWork(work.id)">
  348.                                                                 <div class="service_touch"></div>
  349.                                                                 <p class="service_touch_text" v-html="work.title"></p>
  350.                                                                 <span class="service_touch_price">
  351.                                                                     <span v-html="work.totalCost.toLocaleString()"></span>
  352.                                                                     грн</span>
  353.                                                             </button>
  354.                                                         </template>
  355.                                                     </div>
  356.                                                 </div>
  357.                                             </div>
  358.                                             <div>
  359.                                                 <div class="accord_mob_head accord_mob_head_not_search" @click="addServiceComment">
  360.                                                     <p class="accord_mob_head_name accord_mob_head_name_not_search">{{ 'modal_online_service.find_right_job'|trans({}, 'portal_base') }}</p>
  361.                                                     <svg width="14" height="8" viewbox="0 0 14 8" fill="none" xmlns="http://www.w3.org/2000/svg">
  362.                                                         <path d="M13.0667 1.91666L7.46668 7.53333C7.40002 7.6 7.32779 7.64733 7.25002 7.67533C7.17224 7.70333 7.08891 7.71711 7.00002 7.71666C6.91113 7.71666 6.82779 7.70289 6.75002 7.67533C6.67224 7.64778 6.60002 7.60044 6.53335 7.53333L0.916683 1.91666C0.761127 1.76111 0.68335 1.56666 0.68335 1.33333C0.68335 1.1 0.766683 0.899998 0.93335 0.733332C1.10002 0.566665 1.29446 0.483332 1.51668 0.483332C1.73891 0.483332 1.93335 0.566665 2.10002 0.733332L7.00002 5.63333L11.9 0.733332C12.0556 0.577776 12.2473 0.499998 12.4753 0.499998C12.7034 0.499998 12.9005 0.583331 13.0667 0.749998C13.2334 0.916665 13.3167 1.11111 13.3167 1.33333C13.3167 1.55555 13.2334 1.75 13.0667 1.91666Z" fill="inherit"/>
  363.                                                     </svg>
  364.                                                 </div>
  365.                                                 <div class="accord_mob_content_not_search" v-if="status.stepServiceComment || Object.keys(groups).length === 0">
  366.                                                     <textarea class="not_found_work_textarea" name="text" v-model="carData.comment" placeholder="{{ 'modal_online_service.find_job_describe'|trans({}, 'portal_base') }}"></textarea>
  367.                                                 </div>
  368.                                             </div>
  369.                                         </div>
  370.                                     </div>
  371.                                     {# ====== #}
  372.                                 </div>
  373.                             </template>
  374.                             <template v-if="step == 3">
  375.                                 <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box">
  376.                                     <div class="modal_online_cover_head">
  377.                                         <p class="modal_online_cover_head_title">{{ 'modal_online_service.enter_data_record'|trans({}, 'portal_base') }}</p>
  378.                                     </div>
  379.                                     <form class="modal_online_form_wrapper">
  380.                                         <div class="modal_online_form_input_row">
  381.                                             <input id="service-name" class="modal_online_form_input modal_input" v-model="user.name" type="text" placeholder="{{ 'reglament_to.to_name'|trans({}, 'portal_base') }}*">
  382.                                             <input id="service-phone" class="modal_online_form_input modal_input" v-model="user.phone" v-mask="'+38(###)###-##-##'" type="text" placeholder="Телефон*">
  383.                                         </div>
  384.                                         <div class="modal_online_form_input_row">
  385.                                         {# =====1====  #}
  386.                                         <div class="modal_online_form_cover_pos">
  387.                                             <div class="form_input-calendar" @click="calendarActive()">
  388.                                                 <input id="service-date" class="modal_online_form_input modal_input" readonly type="text" placeholder="Дата" v-model="userDate">
  389.                                             </div>
  390.                                             <template v-if="calendarIsActive">
  391.                                                 {% include '@DcSite/Modules/service-calendar.html.twig' %}
  392.                                                 <div class="calendar_prev_btn step_back" @click="closeBackActive()">
  393.                                                     <svg width="8" height="14" viewbox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg">
  394.                                                         <path d="M6.08321 0.933347L0.466547 6.53335C0.39988 6.60001 0.352547 6.67224 0.324547 6.75001C0.296547 6.82779 0.282769 6.91112 0.283214 7.00001C0.283214 7.0889 0.296991 7.17224 0.324547 7.25001C0.352102 7.32779 0.399436 7.40001 0.466547 7.46668L6.08321 13.0833C6.23877 13.2389 6.43321 13.3167 6.66655 13.3167C6.89988 13.3167 7.09988 13.2333 7.26655 13.0667C7.43321 12.9 7.51655 12.7056 7.51655 12.4833C7.51655 12.2611 7.43321 12.0667 7.26655 11.9L2.36655 7.00001L7.26655 2.10001C7.4221 1.94446 7.49988 1.75268 7.49988 1.52468C7.49988 1.29668 7.41655 1.09957 7.24988 0.933347C7.08321 0.76668 6.88877 0.683347 6.66655 0.683347C6.44432 0.683347 6.24988 0.76668 6.08321 0.933347Z" fill="inherit"/>
  395.                                                     </svg>
  396.                                                     <span>Назад</span>
  397.                                                 </div>
  398.                                             </template>
  399.                                         </div>
  400.                                         {# ====1=====  #}
  401.                                         {# ====2=====  #}
  402.                                         <div class="modal_online_form_cover_pos">
  403.                                             <div class="form_input-time" @click="timeActive()">
  404.                                                 <input v-if="isNight" id="service-time" class="modal_online_form_input modal_input" type="text" placeholder="{{ 'reglament_to.to_time'|trans({}, 'portal_base') }}" v-model="nightTimeInput" readonly/>
  405.                                                 <input v-else id="service-time" class="modal_online_form_input modal_input" type="text" placeholder="{{ 'reglament_to.to_time'|trans({}, 'portal_base') }}" v-model="userTimeInput" readonly/>
  406.                                             </div>
  407.                                             <template v-if="timeIsActive">
  408.                                                 {% include '@DcSite/Modules/service-time.html.twig' %}
  409.                                                 <div class="calendar_prev_btn calendar_prev_btn-2 step_back" @click="calendarActive()">
  410.                                                     <svg width="8" height="14" viewbox="0 0 8 14" fill="none" xmlns="http://www.w3.org/2000/svg">
  411.                                                         <path d="M6.08321 0.933347L0.466547 6.53335C0.39988 6.60001 0.352547 6.67224 0.324547 6.75001C0.296547 6.82779 0.282769 6.91112 0.283214 7.00001C0.283214 7.0889 0.296991 7.17224 0.324547 7.25001C0.352102 7.32779 0.399436 7.40001 0.466547 7.46668L6.08321 13.0833C6.23877 13.2389 6.43321 13.3167 6.66655 13.3167C6.89988 13.3167 7.09988 13.2333 7.26655 13.0667C7.43321 12.9 7.51655 12.7056 7.51655 12.4833C7.51655 12.2611 7.43321 12.0667 7.26655 11.9L2.36655 7.00001L7.26655 2.10001C7.4221 1.94446 7.49988 1.75268 7.49988 1.52468C7.49988 1.29668 7.41655 1.09957 7.24988 0.933347C7.08321 0.76668 6.88877 0.683347 6.66655 0.683347C6.44432 0.683347 6.24988 0.76668 6.08321 0.933347Z" fill="inherit"/>
  412.                                                     </svg>
  413.                                                     <span>Назад</span>
  414.                                                 </div>
  415.                                             </template>
  416.                                         </div>
  417.                                         {# ====2=====  #}</div>
  418.                                         <p class="modal_online_form_info_text">{{ 'modal_online_service.you_service_yourself'|trans({}, 'portal_base') }} 24/7.
  419.                                             <a target="_blank" :href="options.serviceNightBookingUrl">{{ 'modal_online_service.learn_more_service'|trans({}, 'portal_base') }}</a>
  420.                                         </p>
  421.                                         <input v-if="isNight" id="service-vehicleNumber" class="modal_online_form_input modal_online_form_input-evak modal_input" type="text" v-model="carNumber" v-mask="'ССDDDDСС'" placeholder="{{ 'modal_online_service.enter_number_car'|trans({}, 'portal_base') }}">
  422.                                         <template v-if="isNight">
  423.                                             <div class="checkbox_evakes_item_evak">
  424.                                                 <label class="checkbox_evak style_evak">
  425.                                                     <input type="checkbox" v-model="isTruck">
  426.                                                     <div class="checkbox_evak__checkmark checkbox_evak__checkmark-red"></div>
  427.                                                     <div class="checkbox_evak__body checkbox_evak__body-lih">{{ 'modal_online_service.tow_truck'|trans({}, 'portal_base') }}
  428.                                                     </div>
  429.                                                 </label>
  430.                                             </div>
  431.                                             <input v-if="isTruck" id="service-truckNumber" class="modal_online_form_input modal_online_form_input-evak modal_input" type="text" v-model="truckNumber" v-mask="'ССDDDDСС'" placeholder="{{ 'modal_online_service.enter_number_truck'|trans({}, 'portal_base') }}">
  432.                                         </template>
  433.                                         <div class="checkbox_evakes_item_evak">
  434.                                             <label class="checkbox_evak style_evak">
  435.                                                 <input type="checkbox" v-model="confirm">
  436.                                                 <div id="service-confirmLabel" class="checkbox_evak__checkmark modal_input"></div>
  437.                                                 <div class="checkbox_evak__body">{{ 'modal_online_service.consent_personal_data'|trans({}, 'portal_base') }}
  438.                                                     <a class="checkbox_evak_link" target="_blank" :href="privacyUrl">{{ 'modal_online_service.learn_about_deal'|trans({}, 'portal_base') }}</a>
  439.                                                 </div>
  440.                                                 <div class="checkbox_evak__body" v-if="isNight">{{ 'modal_online_service.more_about_service'|trans({}, 'portal_base') }}
  441.                                                     <a class="checkbox_evak_link" target="_blank" :href="privacyNightUrl">{{ 'modal_online_service.reception_nonworking_hours'|trans({}, 'portal_base') }}</a>
  442.                                                 </div>
  443.                                             </label>
  444.                                         </div>
  445.                                     </form>
  446.                                 </div>
  447.                             </template>
  448.                             <template v-if="step === 4">
  449.                                 <div id="scrollTo-modal_online_cover_box" class="modal_online_cover_box registration_confirmation_box">
  450.                                     <p>{{ 'modal_online_service.your_phone_number'|trans({}, 'portal_base') }} <span v-html="user.phone"></span>
  451.                                         <button @click="prevStep">({{ 'modal_online_service.change_phone'|trans({}, 'portal_base') }})</button>
  452.                                        {{ 'modal_online_service.sent_sms_code'|trans({}, 'portal_base') }}
  453.                                     </p>
  454.                                     <p>{{ 'modal_online_service.enter_received_entry'|trans({}, 'portal_base') }}</p>
  455.                                     <input class="modal_online_form_input modal_online_form_input-evak" type="text" id="confirmCode"
  456.                                            v-model="confirmCode" placeholder="{{ 'modal_online_service.verification_code'|trans({}, 'portal_base') }}">
  457.                                 </div>
  458.                             </template>
  459.                             {# ===================box-right=================== #}
  460.                             <div class="modal_online_cover_box modal_online_cover_box_right ">
  461.                                 <p class="cover_box_right_title">{{ 'modal_online_service.order_details'|trans({}, 'portal_base') }}</p>
  462.                                 <template v-if="(status.stepSearchNumber || (!vehicleInfo.brand)) && step === 1">
  463.                                     <p class="cover_box_right_sub_title">{{ 'modal_online_service.detailed_information'|trans({}, 'portal_base') }}</p>
  464.                                     <div class="cover_box_right_info_box_wrapper">
  465.                                         <div class="cover_box_right_info_box">
  466.                                             <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  467.                                                  xmlns="http://www.w3.org/2000/svg">
  468.                                                 <g clip-path="url(#clip0_1195_3435)">
  469.                                                     <path
  470.                                                         d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  471.                                                         fill="#E40C25"/>
  472.                                                 </g>
  473.                                                 <defs>
  474.                                                     <clipPath id="clip0_1195_3435">
  475.                                                         <rect width="10" height="10" fill="white"/>
  476.                                                     </clipPath>
  477.                                                 </defs>
  478.                                             </svg>
  479.                                             <p class="cover_box_right_info_text">{{ 'modal_online_service.tech_characteristics_car'|trans({}, 'portal_base') }}</p>
  480.                                         </div>
  481.                                         <div class="cover_box_right_info_box">
  482.                                             <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  483.                                                  xmlns="http://www.w3.org/2000/svg">
  484.                                                 <g clip-path="url(#clip0_1195_3435)">
  485.                                                     <path
  486.                                                         d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  487.                                                         fill="#E40C25"/>
  488.                                                 </g>
  489.                                                 <defs>
  490.                                                     <clipPath id="clip0_1195_3435">
  491.                                                         <rect width="10" height="10" fill="white"/>
  492.                                                     </clipPath>
  493.                                                 </defs>
  494.                                             </svg>
  495.                                             <p class="cover_box_right_info_text">{{ 'modal_online_service.cost_service_repair'|trans({}, 'portal_base') }}</p>
  496.                                         </div>
  497.                                         <div class="cover_box_right_info_box">
  498.                                             <svg width="10" height="10" viewbox="0 0 10 10" fill="none"
  499.                                                  xmlns="http://www.w3.org/2000/svg">
  500.                                                 <g clip-path="url(#clip0_1195_3435)">
  501.                                                     <path
  502.                                                         d="M9.76764 1.63439C9.45824 1.32457 8.95582 1.32477 8.64601 1.63439L3.59787 6.68272L1.35419 4.43906C1.04438 4.12924 0.542174 4.12924 0.23236 4.43906C-0.0774534 4.74887 -0.0774534 5.25107 0.23236 5.56089L3.03684 8.36537C3.19165 8.52017 3.39464 8.59777 3.59765 8.59777C3.80067 8.59777 4.00386 8.52037 4.15867 8.36537L9.76764 2.7562C10.0775 2.4466 10.0775 1.94418 9.76764 1.63439Z"
  503.                                                         fill="#E40C25"/>
  504.                                                 </g>
  505.                                                 <defs>
  506.                                                     <clipPath id="clip0_1195_3435">
  507.                                                         <rect width="10" height="10" fill="white"/>
  508.                                                     </clipPath>
  509.                                                 </defs>
  510.                                             </svg>
  511.                                             <p class="cover_box_right_info_text">{{ 'modal_online_service.date_time_event'|trans({}, 'portal_base') }}</p>
  512.                                         </div>
  513.                                     </div>
  514.                                 </template>
  515.                                 <div class="cover_box_right_select_marka_wrapper-step-2">
  516.                                     <div v-if="!status.stepSearchNumber && vehicleInfo.brand"
  517.                                          class="cover_box_right_select_marka_box">
  518.                                         <div class="select_marka_box_head">
  519.                                             <p class="marka_box_head">{{ 'modal_online_service.brand'|trans({}, 'portal_base') }}</p>
  520.                                             <button v-if="step > 1 || status.stepChangeDealer" class="marka_box_head_change" @click="editModel">
  521.                                                 {{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  522.                                             </button>
  523.                                         </div>
  524.                                         <p class="select_marka_box_head_name">
  525.                                             <span v-html="vehicleInfo.brand"></span>
  526.                                             <span v-html="vehicleInfo.model"></span>
  527.                                             <span v-html="vehicleInfo.variationInfo"></span>
  528.                                             <span v-html="vehicleInfo.makeYear"></span>
  529.                                         </p>
  530.                                     </div>
  531.                                     <div v-if="carData.dealerId" class="cover_box_right_select_marka_box">
  532.                                         <div class="select_marka_box_head">
  533.                                             <p class="marka_box_head">{{ 'modal_online_service.service_station'|trans({}, 'portal_base') }}</p>
  534.                                             <button v-if="!status.stepChangeDealer" class="marka_box_head_change" @click="editDealer">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  535.                                             </button>
  536.                                         </div>
  537.                                         <p class="select_marka_box_head_name"
  538.                                            v-html="dealers[carData.dealerId].title"></p>
  539.                                     </div>
  540.                                     <template v-if="step === 2">
  541.                                         <div class="works_cover_wrapper">
  542.                                             <p class="works_name">{{ 'modal_online_service.works'|trans({}, 'portal_base') }}</p>
  543.                                             <div class="works_cover_box_wrapper">
  544.                                                 <div class="works_cover_box">
  545.                                                     <template>
  546.                                                         <button class="circle_touch_btn active" v-for="work in vehicleInfo.addWorks" v-if="addWorkAvailable(work.id)" @click="toggleWork(work.id)">
  547.                                                             <div class="circle_touch"></div>
  548.                                                             <p class="circle_touch_text" v-html="work.title">{{ 'modal_online_service.computer_diagnostics'|trans({}, 'portal_base') }}</p>
  549.                                                             <span class="circle_touch_price"><span v-html="work.totalCost.toLocaleString()"></span> грн</span>
  550.                                                         </button>
  551.                                                     </template>
  552.                                                     <template>
  553.                                                         <button class="circle_touch_btn wait" v-for="work in formData.works" v-if="addWaitWorkAvailable(work.id)" @click="toggleWork(work.id)">
  554.                                                             <div class="circle_touch"></div>
  555.                                                             <p class="circle_touch_text" v-html="work.title">{{ 'modal_online_service.computer_diagnostics'|trans({}, 'portal_base') }}</p>
  556.                                                             <span class="circle_touch_price"><span v-html="work.totalCost.toLocaleString()"></span> грн</span>
  557.                                                         </button>
  558.                                                     </template>
  559.                                                 </div>
  560.                                             </div>
  561.                                         </div>
  562.                                     </template>
  563.                                     <template v-if="step === 3 || step === 4">
  564.                                         <div class="cover_box_right_select_marka_box">
  565.                                             <div class="select_marka_box_head">
  566.                                                 <p class="marka_box_head">{{ 'modal_online_service.works'|trans({}, 'portal_base') }}</p>
  567.                                                 <button class="marka_box_head_change" @click="setStep(2)">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}
  568.                                                 </button>
  569.                                             </div>
  570.                                             <p class="select_marka_box_head_name" v-html="Object.values(vehicleInfo.addWorks).map(item => item.title).join(', ')"></p>
  571.                                         </div>
  572.                                         <div v-if="userDate" class="cover_box_right_select_marka_box">
  573.                                             <div style="position: relative;" class="select_marka_box_head">
  574.                                                 <div class="total_price_title_box">
  575.                                                    <p class="marka_box_head">{{ 'modal_online_service.date_time'|trans({}, 'portal_base') }}</p>
  576.                                                     <svg onclick="openTooltip('#openTooltip-3')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none" xmlns="http://www.w3.org/2000/svg">
  577.                                                     <path fill-rule="evenodd" clip-rule="evenodd" d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z" fill="#E40C25"/>
  578.                                                     </svg>
  579.                                                 </div>
  580.                                                 <button v-if="step > 3" class="marka_box_head_change" @click="setStep(3)">{{ 'modal_online_service.change'|trans({}, 'portal_base') }}</button>
  581.                                                 <div class="show_tooltip" id="openTooltip-3">
  582.                                                     <span onclick="openTooltip('#openTooltip-3')" class="price_tooltip_close">x</span>
  583.                                                     <p>{{ 'modal_online_service.pay_attention'|trans({}, 'portal_base') }} <br>
  584.                                                         {{ 'modal_online_service.choose_performed_works'|trans({}, 'portal_base') }}</p>
  585.                                                 </div>
  586.                                             </div>
  587.                                             <p class="select_marka_box_head_name">
  588.                                                 <span v-html="formatDate(userDate)"></span> на <span v-if="isNight" v-html="nightTimeInput"></span><span v-else v-html="userTimeInput"></span>
  589.                                             </p>
  590.                                         </div>
  591.                                     </template>
  592.                                 </div>
  593.                                 <div v-if="step === 2" class="total_price_wrapper">
  594.                                     <div class="total_price_title_box">
  595.                                         <p class="total_price_tite">{{ 'modal_online_service.estimated_works'|trans({}, 'portal_base') }}
  596.                                         </p>
  597.                                         <svg onclick="openTooltip('#openTooltip-1')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none"
  598.                                              xmlns="http://www.w3.org/2000/svg">
  599.                                             <path fill-rule="evenodd" clip-rule="evenodd"
  600.                                                   d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z"
  601.                                                   fill="#E40C25"/>
  602.                                         </svg>
  603.                                         <p class="modal_footer_price_tite">:</p>
  604.                                     </div>
  605.                                     <div class="show_tooltip" id="openTooltip-1">
  606.                                         <span onclick="openTooltip('#openTooltip-1')" class="price_tooltip_close">x</span>
  607.                                         <p>* {{ 'modal_online_service.prices_valid'|trans({}, 'portal_base') }} {{ "now"|date("d.") }}{{ "now"|date("m.") }}{{ "now"|date("Y") }}. {{ 'modal_online_service.specified_price_maintenance'|trans({}, 'portal_base') }}</p>
  608.                                     </div>
  609.                                     <span class="total_price"><span
  610.                                             v-html="vehicleInfo.totalCostWork.toLocaleString()"></span> грн</span>
  611.                                 </div>
  612.                             </div>
  613.                         </div>
  614.                         <template v-if="successService">
  615.                             <div class="thank_modal">
  616.                                 <div class="thank_modal_wapper">
  617.                                     <div class="thank_modal_close" @click="closeServiceSuccess">
  618.                                         <svg width="13" height="12" viewbox="0 0 13 12" fill="none" xmlns="http://www.w3.org/2000/svg">
  619.                                             <path d="M11.5 11L1.5 1M11.5 1L1.5 11" stroke="#333333" stroke-width="2" stroke-linecap="round"/>
  620.                                         </svg>
  621.                                     </div>
  622.                                     <p class="thank_modal_title">{{ 'modal_online_service.application_created'|trans({}, 'portal_base') }}</p>
  623.                                     <p class="thank_modal_text">{{ 'modal_online_service.manager_details_future'|trans({}, 'portal_base') }}</p>
  624.                                     <p class="thank_modal_text">{{ 'modal_online_service.thank_choosing_us'|trans({}, 'portal_base') }}</p>
  625.                                     <a :href="options.catalogUrl" class="thank_modal_btn">{{ 'modal_online_service.go_catalog_cars'|trans({}, 'portal_base') }}</a>
  626.                                 </div>
  627.                             </div>
  628.                         </template>
  629.                     </div>
  630.                 </div>
  631.             </div>
  632.         </div>
  633.         <div class="modal_online_reg_footer">
  634.             <div class="container">
  635.                 <div class="modal_online_reg_footer_wrapper">
  636.                     <div class="modal_footer_price_wrapper">
  637.                         <template v-if="step > 1">
  638.                             <div class="modal_footer_price_title_box">
  639.                                 <p class="modal_footer_price_tite">{{ 'modal_online_service.estimated_cost'|trans({}, 'portal_base') }}
  640.                                 </p>
  641.                                 <svg onclick="openTooltip('#openTooltip-2')" class="modal_show_tooltip" width="10" height="10" viewbox="0 0 10 10" fill="none"
  642.                                      xmlns="http://www.w3.org/2000/svg">
  643.                                     <path fill-rule="evenodd" clip-rule="evenodd"
  644.                                           d="M4.99953 0C6.38053 0 7.63041 0.559381 8.53504 1.46401C9.43968 2.36959 10 3.61947 10 4.99953C10 6.38053 9.43968 7.63041 8.53504 8.53504C7.63041 9.43968 6.38053 10 4.99953 10C3.61947 10 2.36959 9.43968 1.46401 8.53504C0.559381 7.63041 0 6.38053 0 4.99953C0 3.61947 0.559381 2.36864 1.46401 1.46401C2.36864 0.559381 3.61947 0 4.99953 0ZM7.98321 2.01585C7.22007 1.25271 6.16451 0.780115 4.99953 0.780115C3.83454 0.780115 2.77993 1.25271 2.01585 2.01585C1.25271 2.77993 0.780115 3.83454 0.780115 4.99953C0.780115 6.16451 1.25271 7.22007 2.01585 7.98321C2.77993 8.74634 3.83454 9.21894 4.99953 9.21894C6.16451 9.21894 7.22007 8.74634 7.98321 7.98321C8.74634 7.22007 9.21894 6.16451 9.21894 4.99953C9.21894 3.83454 8.74634 2.77993 7.98321 2.01585ZM4.95614 3.1714C4.74106 3.1714 4.56655 2.99689 4.56655 2.78181C4.56655 2.5658 4.74106 2.39128 4.95614 2.39128H5.04292C5.25894 2.39128 5.43345 2.5658 5.43345 2.78181C5.43345 2.99689 5.25894 3.1714 5.04292 3.1714H4.95614ZM4.60617 4.0732C4.60617 3.85813 4.78068 3.68361 4.9967 3.68361C5.21177 3.68361 5.38628 3.85813 5.38628 4.0732V7.21819C5.38628 7.43326 5.21177 7.60872 4.9967 7.60872C4.78068 7.60872 4.60617 7.43326 4.60617 7.21819V4.0732Z"
  645.                                           fill="#E40C25"/>
  646.                                 </svg>
  647.                                 <p class="modal_footer_price_tite">:</p>
  648.                                 <div class="show_tooltip" id="openTooltip-2">
  649.                                     <span onclick="openTooltip('#openTooltip-2')" class="price_tooltip_close">x</span>
  650.                                     <p>* {{ 'modal_online_service.prices_valid'|trans({}, 'portal_base') }} {{ "now"|date("d.") }}{{ "now"|date("m.") }}{{ "now"|date("Y") }}. {{ 'modal_online_service.specified_price_maintenance'|trans({}, 'portal_base') }}</p>
  651.                                 </div>
  652.                             </div>
  653.                             <span class="modal_footer_price"><span
  654.                                     v-html="vehicleInfo.totalCostWork.toLocaleString()"></span> грн</span>
  655.                         </template>
  656.                     </div>
  657.                     <div class="modal_online_reg_footer_box">
  658.                         <div class="modal_online_reg_footer_info">
  659.                             <p class="reg_footer_info_title">
  660.                             </p>
  661.                             <div class="reg_footer_info_box">
  662.                             </div>
  663.                         </div>
  664.                     </div>
  665.                     <button v-if="status.stepSearchNumber" class="modal_online_reg_footer_btn" @click="findVehicleByNumber">{{ 'modal_online_service.search'|trans({}, 'portal_base') }}</button>
  666.                     <button v-else-if="status.stepChangeDealer && step === 1" class="modal_online_reg_footer_btn" @click="findServiceWork" disabled>{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  667.                     <button v-else-if="status.stepChangeVariation && step === 1" class="modal_online_reg_footer_btn" @click="findServiceWork" :disabled="!carData.modelId || (carData.modelId && hasWorkByVariation && !carData.variationId)">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  668.                     <button v-else-if="step === 2" class="modal_online_reg_footer_btn" @click="nextStep" :disabled="!carData.workIds.length && !carData.comment.length ">{{ 'modal_online_service.further'|trans({}, 'portal_base') }}</button>
  669.                     <button v-else-if="step === 3" class="modal_online_reg_footer_btn" @click="booking" >{{ 'modal_online_service.sign_up'|trans({}, 'portal_base') }}</button>
  670.                     <button v-else-if="step === 4" class="modal_online_reg_footer_btn" @click="confirmBooking" :disabled="!bookingId && !confirmCode">{{ 'modal_online_service.confirm_entry'|trans({}, 'portal_base') }}</button>
  671.                     <button v-else-if="status.stepNoBrandDealer" class="modal_online_reg_footer_btn" @click="noBrandDealer">{{ 'modal_online_service.to_confirm'|trans({}, 'portal_base') }}</button>
  672.                 </div>
  673.             </div>
  674.         </div>
  675.     </div>
  676. {% endblock %}
  677. {% block script %}
  678.     <script src="/dist/{{ MODE }}/portal/js/portalService.js?{{ VERSION }}"></script>
  679.     <script>
  680.      // openTooltip
  681.          function openTooltip(targetSelector) {
  682.         $(targetSelector).toggleClass("active");
  683.      }
  684.     </script>
  685.     <script>
  686.         $(() => {
  687.             const obj = new portal.portalService.Service();
  688.             obj.init({
  689.                 prevArrow: '<div class="slick-prev"><img src="{{ asset('bundles/portal/img/service/sl-l.svg') }}"></div>',
  690.                 nextArrow: '<div class="slick-next"><img src="{{ asset('bundles/portal/img/service/sl-r.svg') }}"></div>'
  691.             });
  692.             obj.initService({
  693.                 initServiceUrl: '{{ path('online-init-service') }}',
  694.                 findVehicleUrl: '{{ path('online-service-find') }}',
  695.                 findModelDealerUrl: '{{ path('online-service-find-model-dealer') }}',
  696.                 findServiceVariationUrl: '{{ path('online-find-service-variation') }}',
  697.                 getWorkByVariation: '{{ path('online-service-find-work') }}',
  698.                 getTimesUrl: '{{ path('online-service-get-time') }}',
  699.                 byModelUrl: '{{ path('online-service-load-by-model') }}',
  700.                 bookingUrl: '{{ path('online-service-booking') }}',
  701.                 confirmBookingUrl: '{{ path('online-service-booking-confirm') }}',
  702.                 findServiceUrl: '{{ path('online-service-find') }}',
  703.                 serviceNightBookingUrl: '{{ path('portal_service_night_booking') }}',
  704.                 privacyUrl: '{{ privacyUrl }}',
  705.                 privacyNightUrl: '{{ path('my_profile_night_service_agreement') }}',
  706.                 catalogUrl: '{{ path('portal_new_catalog', {state: 'new', type: 'car'} ) }}',
  707.                 carNumberLength: 8,
  708.                 locale: '{{ app.request.locale }}',
  709.                 dealerId: '{{ dealerId|default('') }}',
  710.             }),
  711.                 obj.initServiceDealer({
  712.                     regulationsDealers: {{ regulationDealers|json_encode|raw }},
  713.                 });
  714.         });
  715.     </script>
  716. {% endblock script %}