Commit 69b58541c230865691c0d03f50c8c4e2d4fe02e8

Authored by Виталий
1 parent 44938747

new index header and footer

frontend/assets/IndexAsset.php 0 → 100644
  1 +<?php
  2 +
  3 + namespace frontend\assets;
  4 +
  5 + use yii\web\AssetBundle;
  6 +
  7 + /**
  8 + * Class MapAsset
  9 + *
  10 + * @package frontend\assets
  11 + */
  12 + class IndexAsset extends AssetBundle
  13 + {
  14 + public $basePath = '@webroot';
  15 + public $baseUrl = '@web';
  16 + public $css = [];
  17 + public $js = [
  18 + 'js/ion.rangeSlider.min.js',
  19 + 'js/index.js',
  20 + ];
  21 + public $depends = [
  22 + 'frontend\assets\AppAsset',
  23 + ];
  24 + }
0 25 \ No newline at end of file
... ...
frontend/views/site/index.php
... ... @@ -8,10 +8,12 @@
8 8  
9 9 use common\models\Settings;
10 10 use frontend\assets\MapAsset;
  11 + use frontend\assets\IndexAsset;
11 12 use yii\web\View;
12 13 use yii\helpers\Url;
13 14  
14 15 MapAsset::register($this);
  16 + IndexAsset::register($this);
15 17 $settings = Settings::getInstance();
16 18 $this->title = 'KB Energy';
17 19 $currentLang = \artbox\core\models\Language::getCurrent();
... ... @@ -120,7 +122,7 @@ JS;
120 122 <div class="container">
121 123 <div class="row">
122 124 <div class="col-xs-12">
123   - <div class="index-solution__title">Решения для частных лиц</div>
  125 + <div class="index-solution__title index-titles">Решения для частных лиц</div>
124 126 </div>
125 127 </div>
126 128 <div class="row row-flex">
... ... @@ -236,7 +238,7 @@ JS;
236 238 <div class="container">
237 239 <div class="row">
238 240 <div class="col-xs-12">
239   - <div class="index-solution-slider__title">Решения</div>
  241 + <div class="index-solution-slider__title index-titles">Решения</div>
240 242 </div>
241 243 </div>
242 244 <div class="row row-flex index-solution-slider__row">
... ... @@ -307,7 +309,7 @@ JS;
307 309 <div class="container">
308 310 <div class="row">
309 311 <div class="col-xs-12">
310   - <div class="index-solution__title">Решения для компаний</div>
  312 + <div class="index-solution__title index-titles">Решения для компаний</div>
311 313 </div>
312 314 </div>
313 315 <div class="row row-flex">
... ... @@ -423,7 +425,7 @@ JS;
423 425 <div class="container">
424 426 <div class="row">
425 427 <div class="col-xs-12">
426   - <div class="index-solution-slider__title">Решения</div>
  428 + <div class="index-solution-slider__title index-titles">Решения</div>
427 429 </div>
428 430 </div>
429 431 <div class="row row-flex index-solution-slider__row">
... ... @@ -490,6 +492,78 @@ JS;
490 492 </div>
491 493 </div>
492 494 </section>
  495 + <section class="income-calculator" style="margin-bottom: 500px">
  496 + <div class="container">
  497 + <div class="row">
  498 + <div class="col-xs-12">
  499 + <div class="income__calculator index-titles"> РАССЧИТАТЬ ДОХОД ОТ СЭС</div>
  500 + </div>
  501 + </div>
  502 + <div class="row row-flex align-items-center justify-content-center income-calculator__switch">
  503 + <div class="switch-status text active">для частных лиц</div>
  504 + <div class="switch-status switch"></div>
  505 + <div class="switch-status text">для компаний</div>
  506 + </div>
  507 + <div class="row row-flex">
  508 + <div class="income-calculator__left">
  509 + <div class="income-calculator__left_wrapp">
  510 + <div class="col-xs-12">
  511 + <div class="income-calculator__left_title">Необходимая мощность электростанции, кВт</div>
  512 + </div>
  513 + <div class="col-xs-12">
  514 + <div class="calc-range calc-range-1"
  515 + data-min="0"
  516 + data-max="50"
  517 + data-from="45"
  518 + >
  519 + <div class="price_filter first_price_li">
  520 + <div class="price_slider">
  521 + <input type="text" id="price_interval" name="price_interval" value="" style="display: none"/>
  522 + </div>
  523 + </div>
  524 + </div>
  525 + </div>
  526 + </div>
  527 + <div class="income-calculator__left_wrapp">
  528 + <div class="col-xs-12">
  529 + <div class="income-calculator__left_title">Необходимая мощность электростанции, кВт</div>
  530 + </div>
  531 + <div class="col-xs-12">
  532 + <div class="calc-range calc-range-2"
  533 + data-min="0"
  534 + data-max="5000"
  535 + data-from="3500"
  536 + >
  537 + <div class="price_filter first_price_li">
  538 + <div class="price_slider">
  539 + <input type="text" id="price_interval2" name="price_interval" value="" style="display: none"/>
  540 + </div>
  541 + </div>
  542 + </div>
  543 + </div>
  544 + </div>
  545 +
  546 +
  547 + </div>
  548 + <div class="income-calculator__right">
  549 + <div class="col-xs-12">
  550 + <div class="income-calculator__right_item">
  551 + Стоимость станции
  552 + <span class="income-cost">14 000 $</span>
  553 + </div>
  554 + <div class="income-calculator__right_item">
  555 + Доход в год
  556 + <span class="income-year">1450 $</span>
  557 + </div>
  558 + <div class="income-calculator__right_item">
  559 + Окупаемость
  560 + <span class="income-payback">8 лет</span>
  561 + </div>
  562 + </div>
  563 + </div>
  564 + </div>
  565 + </div>
  566 + </section>
493 567  
494 568  
495 569 <section class="links-ses-for-wr">
... ...
frontend/web/css/new-style/new-index.css 0 → 100644
  1 +.new-index {
  2 + color: #000; }
  3 + .new-index section, .new-index div.section {
  4 + margin: 0; }
  5 +
  6 +.index-titles {
  7 + text-align: center;
  8 + font-size: 32px;
  9 + line-height: 36px;
  10 + font-weight: 700;
  11 + text-transform: uppercase; }
  12 +
  13 +.main-about {
  14 + height: 479px;
  15 + background-position: 50% 0;
  16 + background-repeat: no-repeat;
  17 + color: #fff;
  18 + padding-bottom: 17px; }
  19 + .main-about > .container {
  20 + height: 100%; }
  21 + .main-about > .container > .row-flex {
  22 + height: 100%; }
  23 + .main-about > .container > .row-flex .row-flex {
  24 + margin-left: 0;
  25 + margin-right: 0; }
  26 + .main-about__wrapp_title {
  27 + padding-top: 99px; }
  28 + .main-about__title {
  29 + width: 100%;
  30 + flex-basis: 0;
  31 + flex-grow: 1;
  32 + max-width: 100%; }
  33 + .main-about__title span {
  34 + display: block;
  35 + text-transform: uppercase;
  36 + font-size: 50px;
  37 + line-height: 57px;
  38 + font-weight: 700; }
  39 + .main-about__title span:first-child {
  40 + color: #ffd800;
  41 + font-size: 74px;
  42 + line-height: 57px; }
  43 + .main-about__title span:last-child {
  44 + font-size: 24px;
  45 + line-height: 37px;
  46 + letter-spacing: 2.4px;
  47 + font-weight: 500; }
  48 + .main-about__button a {
  49 + margin: 0;
  50 + background-color: #ffd800;
  51 + background-image: none !important;
  52 + width: 255px;
  53 + max-width: 100%;
  54 + padding: 0 10px;
  55 + height: 48px;
  56 + border-radius: 0;
  57 + line-height: 50px;
  58 + box-shadow: none !important;
  59 + transition: 0.2s;
  60 + -webkit-transition: 0.2s;
  61 + -moz-transition: 0.2s;
  62 + -ms-transition: 0.2s;
  63 + -o-transition: 0.2s;
  64 + position: relative; }
  65 + .main-about__button a:hover {
  66 + transform: translateY(-3px);
  67 + background-color: #ffd800;
  68 + box-shadow: 0 10px 20px rgba(255, 255, 255, 0.35) !important; }
  69 + .main-about__button a:hover:after {
  70 + transform: scaleX(1.4) scaleY(1.6);
  71 + opacity: 0; }
  72 + .main-about__button a:active {
  73 + transform: translateY(-1px); }
  74 + .main-about__button a:after {
  75 + content: "";
  76 + display: block;
  77 + height: 100%;
  78 + width: 100%;
  79 + position: absolute;
  80 + top: 0;
  81 + left: 0;
  82 + z-index: -1;
  83 + transition: 0.4s;
  84 + background: #ffd800;
  85 + opacity: 0.7; }
  86 + .main-about__item {
  87 + font-size: 13px;
  88 + line-height: 17px;
  89 + width: 100%;
  90 + flex: 0 0 20%;
  91 + max-width: 20%;
  92 + position: relative;
  93 + padding-left: 13px;
  94 + padding-right: 5px;
  95 + padding-bottom: 15px;
  96 + cursor: default;
  97 + transition: 0.15s;
  98 + -webkit-transition: 0.15s;
  99 + -moz-transition: 0.15s;
  100 + -ms-transition: 0.15s;
  101 + -o-transition: 0.15s; }
  102 + .main-about__item:hover {
  103 + transform: translateY(-15px);
  104 + transition: 0.3s;
  105 + -webkit-transition: 0.3s;
  106 + -moz-transition: 0.3s;
  107 + -ms-transition: 0.3s;
  108 + -o-transition: 0.3s; }
  109 + .main-about__item:before {
  110 + content: '';
  111 + position: absolute;
  112 + left: 0;
  113 + width: 1px;
  114 + background: #ffffff;
  115 + opacity: 0.3;
  116 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=30)";
  117 + filter: alpha(opacity=30);
  118 + top: 4px;
  119 + bottom: 1px; }
  120 + .main-about__item span {
  121 + font-weight: 700;
  122 + color: #ffd800;
  123 + display: block; }
  124 +
  125 +.second-about {
  126 + background: #f6f6f6;
  127 + padding-top: 15px;
  128 + padding-bottom: 30px; }
  129 + .second-about__item {
  130 + padding-top: 15px; }
  131 + .second-about__item a {
  132 + display: block;
  133 + width: 100%;
  134 + position: relative;
  135 + color: #fff; }
  136 + .second-about__item a:hover:before {
  137 + background: #fed800;
  138 + opacity: 1;
  139 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  140 + filter: alpha(opacity=100); }
  141 + .second-about__item a:hover span {
  142 + transform: translateY(-15px); }
  143 + .second-about__item a:before {
  144 + position: absolute;
  145 + content: '';
  146 + background: #000;
  147 + z-index: 2;
  148 + left: 0;
  149 + top: 0;
  150 + width: 100%;
  151 + height: 100%;
  152 + transition: 0.2s;
  153 + -webkit-transition: 0.2s;
  154 + -moz-transition: 0.2s;
  155 + -ms-transition: 0.2s;
  156 + -o-transition: 0.2s;
  157 + opacity: 0.5;
  158 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
  159 + filter: alpha(opacity=50); }
  160 + .second-about__item a img {
  161 + width: 100%;
  162 + position: relative;
  163 + z-index: 1; }
  164 + .second-about__item a span {
  165 + position: absolute;
  166 + z-index: 3;
  167 + left: 25px;
  168 + bottom: 13px;
  169 + font-size: 14px;
  170 + line-height: 21px;
  171 + text-transform: uppercase;
  172 + font-weight: 700;
  173 + padding-right: 25px;
  174 + transition: 0.2s;
  175 + -webkit-transition: 0.2s;
  176 + -moz-transition: 0.2s;
  177 + -ms-transition: 0.2s;
  178 + -o-transition: 0.2s; }
  179 + .second-about__item a span:before, .second-about__item a span:after {
  180 + content: '';
  181 + position: absolute;
  182 + background: #fff;
  183 + height: 2px;
  184 + width: 9px;
  185 + right: 17px; }
  186 + .second-about__item a span:before {
  187 + transform: rotate(45deg);
  188 + bottom: 15px; }
  189 + .second-about__item a span:after {
  190 + transform: rotate(-45deg);
  191 + bottom: 9px; }
  192 +
  193 +.index-solution {
  194 + padding-top: 74px; }
  195 + .index-solution__title {
  196 + margin-bottom: 3px; }
  197 + .index-solution__col {
  198 + margin-top: 30px; }
  199 + .index-solution__item {
  200 + display: inline-block;
  201 + vertical-align: top;
  202 + width: 540px;
  203 + max-width: 100%;
  204 + background: #f6f6f6;
  205 + position: relative;
  206 + height: 100%;
  207 + overflow: hidden;
  208 + transition: 0.2s;
  209 + -webkit-transition: 0.2s;
  210 + -moz-transition: 0.2s;
  211 + -ms-transition: 0.2s;
  212 + -o-transition: 0.2s; }
  213 + .index-solution__item:hover {
  214 + box-shadow: 0px 4px 12px 0px #c4c4c4; }
  215 + .index-solution__item:hover .index-solution__item_img img {
  216 + opacity: 0.7;
  217 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
  218 + filter: alpha(opacity=70);
  219 + transform: scale(1.1); }
  220 + .index-solution__item:before {
  221 + position: absolute;
  222 + content: '';
  223 + left: 0;
  224 + bottom: 0;
  225 + width: 100%;
  226 + height: 2px;
  227 + background: #0096d7;
  228 + background: -moz-linear-gradient(left, #0096d7 0%, #1eb269 100%);
  229 + background: -webkit-linear-gradient(left, #0096d7 0%, #1eb269 100%);
  230 + background: linear-gradient(to right, #0096d7 0%, #1eb269 100%);
  231 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0096d7', endColorstr='#1eb269',GradientType=1 ); }
  232 + .index-solution__item_img {
  233 + display: block;
  234 + background: #fff;
  235 + overflow: hidden; }
  236 + .index-solution__item_img img {
  237 + max-width: 100%;
  238 + transition: 0.2s;
  239 + -webkit-transition: 0.2s;
  240 + -moz-transition: 0.2s;
  241 + -ms-transition: 0.2s;
  242 + -o-transition: 0.2s; }
  243 + .index-solution__item_text {
  244 + padding: 24px 24px 23px 22px; }
  245 + .index-solution__item_text a {
  246 + font-size: 18px;
  247 + line-height: 21px;
  248 + font-weight: 700;
  249 + color: #000;
  250 + min-height: 66px;
  251 + display: block; }
  252 + .index-solution__item_text a:hover {
  253 + text-decoration: underline; }
  254 + .index-solution__item_text table {
  255 + margin-top: 8px;
  256 + width: 100%; }
  257 + .index-solution__item_text table tr td {
  258 + font-size: 15px;
  259 + line-height: 21px; }
  260 + .index-solution__item_text table tr td:first-child {
  261 + font-weight: 700;
  262 + color: #0096d6;
  263 + width: 65px;
  264 + padding-right: 5px;
  265 + white-space: nowrap; }
  266 + .index-solution__more {
  267 + margin-top: 40px; }
  268 +
  269 +.animation-hover {
  270 + text-transform: uppercase;
  271 + margin: 0;
  272 + background-color: #ffd800;
  273 + width: 255px;
  274 + max-width: 100%;
  275 + padding: 0 10px;
  276 + height: 48px;
  277 + border-radius: 0;
  278 + line-height: 50px;
  279 + transition: 0.2s;
  280 + -webkit-transition: 0.2s;
  281 + -moz-transition: 0.2s;
  282 + -ms-transition: 0.2s;
  283 + -o-transition: 0.2s;
  284 + position: relative;
  285 + display: block;
  286 + text-align: center;
  287 + font-weight: bold;
  288 + color: #000;
  289 + box-shadow: 0px 8px 20px 0px rgba(139, 139, 138, 0.2);
  290 + text-decoration: none !important; }
  291 + .animation-hover:hover {
  292 + color: #000;
  293 + transform: translateY(-3px);
  294 + background-color: #ffd800; }
  295 + .animation-hover:hover:after {
  296 + transform: scaleX(1.4) scaleY(1.6);
  297 + opacity: 0; }
  298 + .animation-hover:active {
  299 + transform: translateY(-1px); }
  300 + .animation-hover:after {
  301 + content: "";
  302 + display: block;
  303 + height: 100%;
  304 + width: 100%;
  305 + position: absolute;
  306 + top: 0;
  307 + left: 0;
  308 + z-index: -1;
  309 + transition: 0.4s;
  310 + background: #ffd800;
  311 + opacity: 0.7; }
  312 +
  313 +.index-solution-slider {
  314 + background: #f6f6f6;
  315 + margin-top: 80px !important;
  316 + padding-top: 65px;
  317 + padding-bottom: 56px; }
  318 + .index-solution-slider__title {
  319 + margin-bottom: 3px; }
  320 + .index-solution-slider__col {
  321 + margin-top: 30px; }
  322 + .index-solution-slider__col:hover .index-solution-slider__item {
  323 + transition: 0.3s;
  324 + -webkit-transition: 0.3s;
  325 + -moz-transition: 0.3s;
  326 + -ms-transition: 0.3s;
  327 + -o-transition: 0.3s;
  328 + transform: translateY(-15px);
  329 + box-shadow: 0px 4px 12px 0px #c4c4c4; }
  330 + .index-solution-slider__item {
  331 + background: #fff;
  332 + position: relative;
  333 + height: 100%;
  334 + padding: 15px 15px 13px 15px;
  335 + width: 255px;
  336 + max-width: 100%;
  337 + text-align: center;
  338 + border: 1px solid #ebebeb;
  339 + transition: 0.15s;
  340 + -webkit-transition: 0.15s;
  341 + -moz-transition: 0.15s;
  342 + -ms-transition: 0.15s;
  343 + -o-transition: 0.15s; }
  344 + .index-solution-slider__item:before {
  345 + position: absolute;
  346 + content: '';
  347 + bottom: -1px;
  348 + left: -1px;
  349 + right: -1px;
  350 + height: 2px;
  351 + background: #0096d7;
  352 + background: -moz-linear-gradient(left, #0096d7 0%, #1eb269 100%);
  353 + background: -webkit-linear-gradient(left, #0096d7 0%, #1eb269 100%);
  354 + background: linear-gradient(to right, #0096d7 0%, #1eb269 100%);
  355 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0096d7', endColorstr='#1eb269',GradientType=1 ); }
  356 + .index-solution-slider__item:hover .index-solution-slider__item_img img {
  357 + opacity: 0.85;
  358 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
  359 + filter: alpha(opacity=85); }
  360 + .index-solution-slider__item_img {
  361 + display: block;
  362 + background: #fff;
  363 + height: 211px; }
  364 + .index-solution-slider__item_img img {
  365 + max-width: 100%;
  366 + max-height: 100%; }
  367 + .index-solution-slider__item_link {
  368 + margin-top: 20px;
  369 + font-size: 15px;
  370 + line-height: 21px;
  371 + font-weight: 700;
  372 + color: #000;
  373 + display: block;
  374 + min-height: 60px; }
  375 + .index-solution-slider__item_link:hover {
  376 + text-decoration: underline;
  377 + color: #000; }
  378 + .index-solution-slider__item_price {
  379 + color: #0096d6;
  380 + font-size: 15px;
  381 + line-height: 21px;
  382 + font-weight: 700;
  383 + margin-top: 9px; }
  384 + .index-solution-slider .owl-item .index-solution-slider__col {
  385 + width: 100% !important; }
  386 + .index-solution-slider .owl-pagination {
  387 + margin-bottom: -11px; }
  388 + .index-solution-slider .owl-controls .owl-buttons {
  389 + position: static;
  390 + top: auto;
  391 + right: auto; }
  392 + .index-solution-slider .owl-controls .owl-buttons div {
  393 + display: block;
  394 + position: absolute;
  395 + top: 50%;
  396 + width: 21px;
  397 + height: 37px;
  398 + margin: -20px 0 0 0;
  399 + border-radius: 0;
  400 + background: none !important;
  401 + transition: 0.15s;
  402 + -webkit-transition: 0.15s;
  403 + -moz-transition: 0.15s;
  404 + -ms-transition: 0.15s;
  405 + -o-transition: 0.15s; }
  406 + .index-solution-slider .owl-controls .owl-buttons div:hover {
  407 + transition: 0.3s;
  408 + -webkit-transition: 0.3s;
  409 + -moz-transition: 0.3s;
  410 + -ms-transition: 0.3s;
  411 + -o-transition: 0.3s;
  412 + transform: scale(1.1); }
  413 + .index-solution-slider .owl-controls .owl-buttons div:before, .index-solution-slider .owl-controls .owl-buttons div:after {
  414 + position: absolute;
  415 + width: 26px;
  416 + height: 4px;
  417 + left: -3px;
  418 + content: '';
  419 + background: #8e8f90; }
  420 + .index-solution-slider .owl-controls .owl-buttons div:before {
  421 + transform: rotate(45deg);
  422 + top: 9px; }
  423 + .index-solution-slider .owl-controls .owl-buttons div:after {
  424 + transform: rotate(-45deg);
  425 + bottom: 9px; }
  426 + .index-solution-slider .owl-controls .owl-buttons div.owl-prev {
  427 + left: -21px;
  428 + transform: rotate(180deg); }
  429 + .index-solution-slider .owl-controls .owl-buttons div.owl-next {
  430 + right: -21px; }
  431 + .index-solution-slider .owl-controls .owl-buttons div.disabled:before, .index-solution-slider .owl-controls .owl-buttons div.disabled:after {
  432 + background: #ebebeb; }
  433 + .index-solution-slider .owl-controls .owl-page span {
  434 + display: block;
  435 + width: 8px;
  436 + height: 8px;
  437 + margin: 6px 6px 5px 6px;
  438 + opacity: 1;
  439 + -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=100)";
  440 + filter: alpha(opacity=100);
  441 + border-radius: 100%;
  442 + background: #8e8f90; }
  443 + .index-solution-slider .owl-controls .owl-page.active span {
  444 + background: #0096d6; }
  445 +
  446 +.income-calculator {
  447 + padding-top: 74px; }
  448 + .income-calculator__switch {
  449 + margin-top: 39px; }
  450 + .income-calculator__left {
  451 + width: 75%;
  452 + padding-top: 10px; }
  453 + .income-calculator__left_title {
  454 + font-weight: 700;
  455 + font-size: 18px;
  456 + line-height: 21px; }
  457 + .income-calculator__left_wrapp {
  458 + margin-top: 20px;
  459 + display: flex;
  460 + width: 100%;
  461 + flex-wrap: wrap; }
  462 + .income-calculator__right {
  463 + width: 25%;
  464 + padding-top: 26px;
  465 + position: relative; }
  466 + .income-calculator__right:before {
  467 + content: '';
  468 + top: 26px;
  469 + bottom: 0;
  470 + left: 35%;
  471 + width: 1px;
  472 + background: #ebebeb;
  473 + position: absolute; }
  474 + .income-calculator__right_item {
  475 + text-align: right;
  476 + font-size: 15px;
  477 + line-height: 24px;
  478 + font-weight: 700;
  479 + margin-top: 22px; }
  480 + .income-calculator__right_item:first-child {
  481 + margin-top: 0; }
  482 + .income-calculator__right_item span {
  483 + display: block;
  484 + color: #0096d6;
  485 + font-size: 18px; }
  486 +
  487 +.switch-status {
  488 + cursor: pointer; }
  489 + .switch-status.switch {
  490 + width: 64px;
  491 + height: 34px;
  492 + margin: 0 16px;
  493 + background: #dcdcdc;
  494 + border-radius: 34px;
  495 + position: relative; }
  496 + .switch-status.switch:before {
  497 + position: absolute;
  498 + top: 50%;
  499 + margin-top: -13px;
  500 + width: 26px;
  501 + height: 26px;
  502 + left: 4px;
  503 + background: #fff;
  504 + border-radius: 100%;
  505 + box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
  506 + content: '';
  507 + z-index: 1;
  508 + transition: 0.2s;
  509 + -webkit-transition: 0.2s;
  510 + -moz-transition: 0.2s;
  511 + -ms-transition: 0.2s;
  512 + -o-transition: 0.2s; }
  513 + .switch-status.switch:after {
  514 + position: absolute;
  515 + top: 50%;
  516 + margin-top: -4px;
  517 + width: 8px;
  518 + height: 8px;
  519 + left: 13px;
  520 + background: #0096d6;
  521 + content: '';
  522 + z-index: 2;
  523 + border-radius: 100%;
  524 + transition: 0.2s;
  525 + -webkit-transition: 0.2s;
  526 + -moz-transition: 0.2s;
  527 + -ms-transition: 0.2s;
  528 + -o-transition: 0.2s; }
  529 + .switch-status.switch.right:before, .switch-status.switch.right:after {
  530 + transform: translateX(30px); }
  531 + .switch-status.text {
  532 + text-transform: uppercase;
  533 + font-size: 15px;
  534 + line-height: 23px;
  535 + color: #8e8f90;
  536 + text-decoration: underline;
  537 + cursor: pointer; }
  538 + .switch-status.text.active {
  539 + color: #000;
  540 + cursor: default;
  541 + text-decoration: none; }
  542 +
  543 +.calc-range {
  544 + margin-right: -8px;
  545 + margin-top: 19px; }
  546 +
  547 +.price_slider {
  548 + width: 100%;
  549 + float: left; }
  550 +
  551 +.irs {
  552 + position: relative;
  553 + display: block;
  554 + -webkit-touch-callout: none;
  555 + -webkit-user-select: none;
  556 + -khtml-user-select: none;
  557 + -moz-user-select: none;
  558 + -ms-user-select: none;
  559 + user-select: none; }
  560 + .irs.irs-with-grid {
  561 + padding-bottom: 31px; }
  562 +
  563 +.irs-line {
  564 + display: block;
  565 + background: #8e8f90;
  566 + height: 8px;
  567 + border-radius: 8px;
  568 + width: 100%;
  569 + position: relative;
  570 + outline: none !important; }
  571 +
  572 +.irs-line-left, .irs-line-mid, .irs-line-right {
  573 + position: relative;
  574 + display: block;
  575 + top: 0;
  576 + height: 8px; }
  577 +
  578 +.irs-line-left {
  579 + left: 0;
  580 + width: 11%; }
  581 +
  582 +.irs-line-mid {
  583 + left: 9%;
  584 + width: 82%; }
  585 +
  586 +.irs-line-right {
  587 + right: 0;
  588 + width: 11%; }
  589 +
  590 +.irs-bar {
  591 + position: absolute;
  592 + display: block;
  593 + height: 8px;
  594 + top: 0;
  595 + left: 0 !important;
  596 + background: #367cd4;
  597 + background: -moz-linear-gradient(left, #367cd4 0%, #02d0ff 100%);
  598 + background: -webkit-linear-gradient(left, #367cd4 0%, #02d0ff 100%);
  599 + background: linear-gradient(to right, #367cd4 0%, #02d0ff 100%);
  600 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#367cd4', endColorstr='#02d0ff',GradientType=1 );
  601 + border-top-left-radius: 8px;
  602 + border-bottom-left-radius: 8px; }
  603 +
  604 +.irs-slider {
  605 + position: absolute;
  606 + display: block;
  607 + top: -4px;
  608 + width: 16px;
  609 + height: 16px;
  610 + background: #fff;
  611 + border-radius: 16px;
  612 + box-shadow: 0px 0px 6px 0px rgba(90, 97, 102, 0.5);
  613 + cursor: pointer; }
  614 + .irs-slider:before {
  615 + position: absolute;
  616 + width: 10px;
  617 + height: 10px;
  618 + border-radius: 100%;
  619 + background: #0096d6;
  620 + content: '';
  621 + left: 50%;
  622 + top: 50%;
  623 + margin-top: -5px;
  624 + margin-left: -5px; }
  625 +
  626 +.irs-grid {
  627 + position: absolute;
  628 + bottom: 0;
  629 + left: 0;
  630 + width: 100%;
  631 + height: 16px; }
  632 +
  633 +.irs-grid-pol {
  634 + display: none; }
  635 +
  636 +.irs-grid-text {
  637 + position: absolute;
  638 + bottom: 0;
  639 + left: 0;
  640 + white-space: nowrap;
  641 + text-align: center;
  642 + font-size: 16px;
  643 + line-height: 16px;
  644 + padding: 0 1px;
  645 + color: #000; }
  646 +
  647 +.calc-range-2 .irs-bar {
  648 + background: #149756;
  649 + background: -moz-linear-gradient(left, #149756 0%, #14be6a 100%);
  650 + background: -webkit-linear-gradient(left, #149756 0%, #14be6a 100%);
  651 + background: linear-gradient(to right, #149756 0%, #14be6a 100%);
  652 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#149756', endColorstr='#14be6a',GradientType=1 ); }
  653 +
  654 +/*# sourceMappingURL=new-index.css.map */
... ...
frontend/web/css/new-style/new-index.css.map 0 → 100644
  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I;IACnB,UAAU,EAAE,OAAO;IACnB,OAAO,EAAE,EAAE;IACX,IAAI,EAAE,GAAG;IACT,GAAG,EAAE,GAAG;IACR,UAAU,EAAE,IAAI;IAChB,WAAW,EAAE,IAAI;;AAGrB,SAAU;EACR,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,CAAC;EACT,IAAI,EAAE,CAAC;EACP,KAAK,EAAE,IAAI;EACX,MAAM,EAAE,IAAI;;AAEd,aAAc;EACZ,OAAO,EAAE,IAAI;;AAEf,cAAe;EACb,QAAQ,EAAE,QAAQ;EAClB,MAAM,EAAE,CAAC;EACT,IAAI,EAAE,CAAC;EACP,WAAW,EAAE,MAAM;EACnB,UAAU,EAAE,MAAM;EAClB,SAAS,EAAE,IAAI;EACf,WAAW,EAAE,IAAI;EACjB,OAAO,EAAE,KAAK;EACd,KAAK,EAAE,IAAI;;AAGX,sBAAS;EACP,UAAU,EAAE,OAAc;EAC1B,UAAU,EAAE,oDAA0E;EACtF,UAAU,EAAE,uDAA4E;EACxF,UAAU,EAAE,mDAAwE;EACpF,MAAM,EAAE,2GAA2G",
  4 +"sources": ["new-index.scss","_mixin.scss"],
  5 +"names": [],
  6 +"file": "new-index.css"
  7 +}
0 8 \ No newline at end of file
... ...
frontend/web/css/new-style/new-index.scss
... ... @@ -10,6 +10,14 @@
10 10 }
11 11 }
12 12  
  13 +.index-titles {
  14 + text-align: center;
  15 + font-size: 32px;
  16 + line-height: 36px;
  17 + font-weight: 700;
  18 + text-transform: uppercase;
  19 +}
  20 +
13 21 .main-about {
14 22 height: 479px;
15 23 background-position: 50% 0;
... ... @@ -203,11 +211,6 @@
203 211 .index-solution {
204 212 padding-top: 74px;
205 213 &__title {
206   - text-align: center;
207   - font-size: 32px;
208   - line-height: 36px;
209   - font-weight: 700;
210   - text-transform: uppercase;
211 214 margin-bottom: 3px;
212 215 }
213 216 &__col {
... ... @@ -346,15 +349,17 @@
346 349 padding-top: 65px;
347 350 padding-bottom: 56px;
348 351 &__title {
349   - text-align: center;
350   - font-size: 32px;
351   - line-height: 36px;
352   - font-weight: 700;
353   - text-transform: uppercase;
354 352 margin-bottom: 3px;
355 353 }
356 354 &__col {
357 355 margin-top: 30px;
  356 + &:hover {
  357 + .index-solution-slider__item {
  358 + @include Transition(0.30);
  359 + transform: translateY(-15px);
  360 + box-shadow: 0px 4px 12px 0px rgba(196, 196, 196, 1);
  361 + }
  362 + }
358 363 }
359 364 &__item {
360 365 background: #fff;
... ... @@ -365,10 +370,10 @@
365 370 max-width: 100%;
366 371 text-align: center;
367 372 border: 1px solid #ebebeb;
  373 + @include Transition(0.15);
368 374 &:before {
369 375 position: absolute;
370 376 content: '';
371   - left: 0;
372 377 bottom: -1px;
373 378 left: -1px;
374 379 right: -1px;
... ... @@ -380,7 +385,6 @@
380 385 filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0096d7', endColorstr='#1eb269',GradientType=1 );
381 386 }
382 387 &:hover {
383   - box-shadow: 0px 4px 12px 0px rgba(196, 196, 196, 1);
384 388 .index-solution-slider__item_img {
385 389 img {
386 390 @include Opacity(0.85);
... ... @@ -439,6 +443,11 @@
439 443 margin: -20px 0 0 0;
440 444 border-radius: 0;
441 445 background: none !important;
  446 + @include Transition(0.15);
  447 + &:hover {
  448 + @include Transition(0.3);
  449 + transform: scale(1.1);
  450 + }
442 451 &:before, &:after {
443 452 position: absolute;
444 453 width: 26px;
... ... @@ -489,5 +498,239 @@
489 498 }
490 499 }
491 500  
  501 +.income-calculator {
  502 + padding-top: 74px;
  503 + &__switch {
  504 + margin-top: 39px;
  505 + }
  506 + &__left {
  507 + width: 75%;
  508 + padding-top: 10px;
  509 + &_title {
  510 + font-weight: 700;
  511 + font-size: 18px;
  512 + line-height: 21px;
  513 + }
  514 + &_wrapp {
  515 + margin-top: 20px;
  516 + display: flex;
  517 + width: 100%;
  518 + flex-wrap: wrap;
  519 + }
  520 + }
  521 + &__right {
  522 + width: 25%;
  523 + padding-top: 26px;
  524 + position: relative;
  525 + &:before {
  526 + content: '';
  527 + top: 26px;
  528 + bottom: 0;
  529 + left: 35%;
  530 + width: 1px;
  531 + background: #ebebeb;
  532 + position: absolute;
  533 + }
  534 + &_item {
  535 + text-align: right;
  536 + font-size: 15px;
  537 + line-height: 24px;
  538 + font-weight: 700;
  539 + margin-top: 22px;
  540 + &:first-child {
  541 + margin-top: 0;
  542 + }
  543 + span {
  544 + display: block;
  545 + color: #0096d6;
  546 + font-size: 18px;
  547 + }
  548 + }
  549 + }
  550 +
  551 +}
  552 +.switch-status {
  553 + cursor: pointer;
  554 + &.switch {
  555 + width: 64px;
  556 + height: 34px;
  557 + margin: 0 16px;
  558 + background: #dcdcdc;
  559 + border-radius: 34px;
  560 + position: relative;
  561 + &:before {
  562 + position: absolute;
  563 + top: 50%;
  564 + margin-top: -13px;
  565 + width: 26px;
  566 + height: 26px;
  567 + left: 4px;
  568 + background: #fff;
  569 + border-radius: 100%;
  570 + box-shadow: 0px 8px 20px 0px rgba(0, 0, 0, 0.2);
  571 + content: '';
  572 + z-index: 1;
  573 + @include Transition(0.2);
  574 + }
  575 + &:after {
  576 + position: absolute;
  577 + top: 50%;
  578 + margin-top: -4px;
  579 + width: 8px;
  580 + height: 8px;
  581 + left: 13px;
  582 + background: #0096d6;
  583 + content: '';
  584 + z-index: 2;
  585 + border-radius: 100%;
  586 + @include Transition(0.2);
  587 + }
  588 + &.right {
  589 + &:before, &:after {
  590 + transform: translateX(30px);
  591 + }
  592 + }
  593 + }
  594 +
  595 + &.text {
  596 + text-transform: uppercase;
  597 + font-size: 15px;
  598 + line-height: 23px;
  599 + color: #8e8f90;
  600 + text-decoration: underline;
  601 + cursor: pointer;
  602 + &.active {
  603 + color: #000;
  604 + cursor: default;
  605 + text-decoration: none;
  606 + }
  607 + }
  608 +}
  609 +
  610 +.calc-range {
  611 + margin-right: -8px;
  612 + margin-top: 19px;
  613 +}
  614 +
  615 +//ползунок
  616 +.price_slider {
  617 + width: 100%;
  618 + float: left;
  619 +}
  620 +.irs {
  621 + position: relative;
  622 + display: block;
  623 + -webkit-touch-callout: none;
  624 + -webkit-user-select: none;
  625 + -khtml-user-select: none;
  626 + -moz-user-select: none;
  627 + -ms-user-select: none;
  628 + user-select: none;
  629 + &.irs-with-grid {
  630 + padding-bottom: 31px;
  631 + }
  632 +}
  633 +.irs-line {
  634 + display: block;
  635 + background: #8e8f90;
  636 + height: 8px;
  637 + border-radius: 8px;
  638 + width: 100%;
  639 + position: relative;
  640 + outline: none !important;
  641 +}
  642 +.irs-line-left, .irs-line-mid, .irs-line-right {
  643 + position: relative;
  644 + display: block;
  645 + top: 0;
  646 + height: 8px;
  647 +}
  648 +.irs-line-left {
  649 + left: 0;
  650 + width: 11%;
  651 +}
  652 +.irs-line-mid {
  653 + left: 9%;
  654 + width: 82%;
  655 +}
  656 +.irs-line-right {
  657 + right: 0;
  658 + width: 11%;
  659 +}
  660 +.irs-bar {
  661 + position: absolute;
  662 + display: block;
  663 + height: 8px;
  664 + top: 0;
  665 + left: 0 !important;
  666 + background: rgb(54,124,212);
  667 + background: -moz-linear-gradient(left, rgba(54,124,212,1) 0%, rgba(2,208,255,1) 100%);
  668 + background: -webkit-linear-gradient(left, rgba(54,124,212,1) 0%,rgba(2,208,255,1) 100%);
  669 + background: linear-gradient(to right, rgba(54,124,212,1) 0%,rgba(2,208,255,1) 100%);
  670 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#367cd4', endColorstr='#02d0ff',GradientType=1 );
  671 + border-top-left-radius: 8px;
  672 + border-bottom-left-radius: 8px;
  673 +}
  674 +.irs-slider {
  675 + position: absolute;
  676 + display: block;
  677 + top: -4px;
  678 + width: 16px;
  679 + height: 16px;
  680 + background: #fff;
  681 + border-radius: 16px;
  682 + box-shadow: 0px 0px 6px 0px rgba(90, 97, 102, 0.5);
  683 + cursor: pointer;
  684 + &:before {
  685 + position: absolute;
  686 + width: 10px;
  687 + height: 10px;
  688 + border-radius: 100%;
  689 + background: #0096d6;
  690 + content: '';
  691 + left: 50%;
  692 + top: 50%;
  693 + margin-top: -5px;
  694 + margin-left: -5px;
  695 + }
  696 +}
  697 +.irs-grid {
  698 + position: absolute;
  699 + bottom: 0;
  700 + left: 0;
  701 + width: 100%;
  702 + height: 16px;
  703 +}
  704 +.irs-grid-pol {
  705 + display: none;
  706 +}
  707 +.irs-grid-text {
  708 + position: absolute;
  709 + bottom: 0;
  710 + left: 0;
  711 + white-space: nowrap;
  712 + text-align: center;
  713 + font-size: 16px;
  714 + line-height: 16px;
  715 + padding: 0 1px;
  716 + color: #000;
  717 +}
  718 +.calc-range-2 {
  719 + .irs-bar {
  720 + background: rgb(20,151,86);
  721 + background: -moz-linear-gradient(left, rgba(20,151,86,1) 0%, rgba(20,190,106,1) 100%);
  722 + background: -webkit-linear-gradient(left, rgba(20,151,86,1) 0%,rgba(20,190,106,1) 100%);
  723 + background: linear-gradient(to right, rgba(20,151,86,1) 0%,rgba(20,190,106,1) 100%);
  724 + filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#149756', endColorstr='#14be6a',GradientType=1 );
  725 +
  726 + }
  727 +}
  728 +
  729 +
  730 +
  731 +
  732 +
  733 +
492 734  
493 735  
  736 +///////////////////
... ...
frontend/web/js/index.js 0 → 100644
  1 +income();
  2 +function income() {
  3 + let switchBlock = document.querySelectorAll('.switch-status');
  4 + for(let i = 0; i<switchBlock.length;i++) {
  5 + switchBlock[i].onclick = function () {
  6 + if(this.classList.contains('text')) {
  7 + if(!(this.classList.contains('active'))) {
  8 + switchBlock[0].classList.remove('active')
  9 + switchBlock[2].classList.remove('active')
  10 + this.classList.add('active')
  11 + if(i==0) {
  12 + switchBlock[1].classList.remove('right')
  13 + } else if (i == 2) {
  14 + switchBlock[1].classList.add('right')
  15 + }
  16 +
  17 + }
  18 + }
  19 + if(this.classList.contains('switch')) {
  20 + if(switchBlock[0].classList.contains('active')) {
  21 + this.classList.add('right')
  22 + switchBlock[0].classList.remove('active')
  23 + switchBlock[2].classList.add('active')
  24 + this.parentNode.setAttribute('status',2)
  25 + } else if(switchBlock[2].classList.contains('active')) {
  26 + this.classList.remove('right')
  27 + switchBlock[0].classList.add('active')
  28 + switchBlock[2].classList.remove('active')
  29 + this.parentNode.setAttribute('status',0)
  30 + }
  31 + }
  32 + if(i != 1) {
  33 + this.parentNode.setAttribute('status',i)
  34 + }
  35 +
  36 + }
  37 +
  38 + }
  39 +
  40 +
  41 +
  42 +}
  43 +$(function() {
  44 + sliderSolution();
  45 + function sliderSolution() {
  46 + let sliderBlock = document.querySelectorAll('.index-solution-slider');
  47 + if(sliderBlock.length) {
  48 + $(".index-solution-slider__row").owlCarousel(
  49 + {
  50 + navigation: true,
  51 + navigationText: [],
  52 + autoPlay: false,
  53 + rewindNav:false,
  54 + items: 4,
  55 + // itemsDesktopSmall: [
  56 + // 900,
  57 + // 3
  58 + // ],
  59 + // itemsTablet: [
  60 + // 600,
  61 + // 3
  62 + // ],
  63 + // itemsMobile: [
  64 + // 500,
  65 + // 2
  66 + // ]
  67 + });
  68 + }
  69 + }
  70 +
  71 + priceSlider1()
  72 + function priceSlider1(){
  73 + let $price_interval = $('#price_interval');
  74 + if($price_interval.length){
  75 + let block = $('.calc-range-1');
  76 + let min = block.data('min');
  77 + let max = block.data('max');
  78 + let from = block.data('from');
  79 +
  80 +
  81 + $price_interval.ionRangeSlider({
  82 + grid: true,
  83 + step: 5,
  84 + grid_num: 10,
  85 + min: min,
  86 + max: max,
  87 + from: from,
  88 + hide_min_max: true,
  89 + hide_from_to: true,
  90 + onChange: function (e) {
  91 + // $filter_prices_min.val(e.from);
  92 + // $filter_prices_max.val(e.to);
  93 +
  94 + },
  95 + onFinish: function(e) {
  96 + // var from = $filter_prices_min.val();
  97 + // var to = $filter_prices_max.val();
  98 + }
  99 + });
  100 +
  101 +
  102 +
  103 + // var slider = $price_interval.data("ionRangeSlider");
  104 + //
  105 + // $filter_prices_min.change(function () {
  106 + // var newVal = $(this).val();
  107 + // slider.update({
  108 + // from: newVal
  109 + // });
  110 + //
  111 + //
  112 + // });
  113 + //
  114 + // $filter_prices_max.change(function () {
  115 + // var newVal = $(this).val();
  116 + // slider.update({
  117 + // to: newVal
  118 + // });
  119 + // filterShowInSilder();
  120 + // //сюда
  121 + // })
  122 +
  123 +
  124 + }
  125 + }
  126 + priceSlider2()
  127 + function priceSlider2(){
  128 + let $price_interval = $('#price_interval2');
  129 + if($price_interval.length){
  130 + let block = $('.calc-range-2');
  131 + let min = block.data('min');
  132 + let max = block.data('max');
  133 + let from = block.data('from');
  134 +
  135 +
  136 + $price_interval.ionRangeSlider({
  137 + grid: true,
  138 + step: 100,
  139 + grid_num: 5,
  140 + min: min,
  141 + max: max,
  142 + from: from,
  143 + hide_min_max: true,
  144 + hide_from_to: true,
  145 + onChange: function (e) {
  146 + // $filter_prices_min.val(e.from);
  147 + // $filter_prices_max.val(e.to);
  148 +
  149 + },
  150 + onFinish: function(e) {
  151 + // var from = $filter_prices_min.val();
  152 + // var to = $filter_prices_max.val();
  153 + }
  154 + });
  155 +
  156 +
  157 +
  158 + // var slider = $price_interval.data("ionRangeSlider");
  159 + //
  160 + // $filter_prices_min.change(function () {
  161 + // var newVal = $(this).val();
  162 + // slider.update({
  163 + // from: newVal
  164 + // });
  165 + //
  166 + //
  167 + // });
  168 + //
  169 + // $filter_prices_max.change(function () {
  170 + // var newVal = $(this).val();
  171 + // slider.update({
  172 + // to: newVal
  173 + // });
  174 + // filterShowInSilder();
  175 + // //сюда
  176 + // })
  177 +
  178 +
  179 + }
  180 + }
  181 +
  182 + });
0 183 \ No newline at end of file
... ...
frontend/web/js/ion.rangeSlider.min.js 0 → 100644
  1 +!function(t){"function"==typeof define&&define.amd?define(["jquery"],function(i){t(i,document,window,navigator)}):t(jQuery,document,window,navigator)}(function(t,i,s,o,e){"use strict";var h=0,r=function(){var i,s=o.userAgent,e=/msie\s\d+/i;return s.search(e)>0&&(i=e.exec(s).toString(),(i=i.split(" ")[1])<9)&&(t("html").addClass("lt-ie9"),!0)}();Function.prototype.bind||(Function.prototype.bind=function(t){var i=this,s=[].slice;if("function"!=typeof i)throw new TypeError;var o=s.call(arguments,1),e=function(){if(this instanceof e){var h=function(){};h.prototype=i.prototype;var r=new h,n=i.apply(r,o.concat(s.call(arguments)));return Object(n)===n?n:r}return i.apply(t,o.concat(s.call(arguments)))};return e}),Array.prototype.indexOf||(Array.prototype.indexOf=function(t,i){var s;if(null==this)throw new TypeError('"this" is null or not defined');var o=Object(this),e=o.length>>>0;if(0===e)return-1;var h=+i||0;if(Math.abs(h)===1/0&&(h=0),h>=e)return-1;for(s=Math.max(h>=0?h:e-Math.abs(h),0);s<e;){if(s in o&&o[s]===t)return s;s++}return-1});var n=function(o,e,h){this.VERSION="2.1.4",this.input=o,this.plugin_count=h,this.current_plugin=0,this.calc_count=0,this.update_tm=0,this.old_from=0,this.old_to=0,this.old_min_interval=null,this.raf_id=null,this.dragging=!1,this.force_redraw=!1,this.no_diapason=!1,this.is_key=!1,this.is_update=!1,this.is_start=!0,this.is_finish=!1,this.is_active=!1,this.is_resize=!1,this.is_click=!1,this.$cache={win:t(s),body:t(i.body),input:t(o),cont:null,rs:null,min:null,max:null,from:null,to:null,single:null,bar:null,line:null,s_single:null,s_from:null,s_to:null,shad_single:null,shad_from:null,shad_to:null,edge:null,grid:null,grid_labels:[]},this.coords={x_gap:0,x_pointer:0,w_rs:0,w_rs_old:0,w_handle:0,p_gap:0,p_gap_left:0,p_gap_right:0,p_step:0,p_pointer:0,p_handle:0,p_single_fake:0,p_single_real:0,p_from_fake:0,p_from_real:0,p_to_fake:0,p_to_real:0,p_bar_x:0,p_bar_w:0,grid_gap:0,big_num:0,big:[],big_w:[],big_p:[],big_x:[]},this.labels={w_min:0,w_max:0,w_from:0,w_to:0,w_single:0,p_min:0,p_max:0,p_from_fake:0,p_from_left:0,p_to_fake:0,p_to_left:0,p_single_fake:0,p_single_left:0};var r,n,a,c=this.$cache.input,l=c.prop("value");r={type:"single",min:10,max:100,from:null,to:null,step:1,min_interval:0,max_interval:0,drag_interval:!1,values:[],p_values:[],from_fixed:!1,from_min:null,from_max:null,from_shadow:!1,to_fixed:!1,to_min:null,to_max:null,to_shadow:!1,prettify_enabled:!0,prettify_separator:" ",prettify:null,force_edges:!1,keyboard:!1,keyboard_step:5,grid:!1,grid_margin:!0,grid_num:4,grid_snap:!1,hide_min_max:!1,hide_from_to:!1,prefix:"",postfix:"",max_postfix:"",decorate_both:!0,values_separator:" — ",input_values_separator:";",disable:!1,onStart:null,onChange:null,onFinish:null,onUpdate:null},(n={type:c.data("type"),min:c.data("min"),max:c.data("max"),from:c.data("from"),to:c.data("to"),step:c.data("step"),min_interval:c.data("minInterval"),max_interval:c.data("maxInterval"),drag_interval:c.data("dragInterval"),values:c.data("values"),from_fixed:c.data("fromFixed"),from_min:c.data("fromMin"),from_max:c.data("fromMax"),from_shadow:c.data("fromShadow"),to_fixed:c.data("toFixed"),to_min:c.data("toMin"),to_max:c.data("toMax"),to_shadow:c.data("toShadow"),prettify_enabled:c.data("prettifyEnabled"),prettify_separator:c.data("prettifySeparator"),force_edges:c.data("forceEdges"),keyboard:c.data("keyboard"),keyboard_step:c.data("keyboardStep"),grid:c.data("grid"),grid_margin:c.data("gridMargin"),grid_num:c.data("gridNum"),grid_snap:c.data("gridSnap"),hide_min_max:c.data("hideMinMax"),hide_from_to:c.data("hideFromTo"),prefix:c.data("prefix"),postfix:c.data("postfix"),max_postfix:c.data("maxPostfix"),decorate_both:c.data("decorateBoth"),values_separator:c.data("valuesSeparator"),input_values_separator:c.data("inputValuesSeparator"),disable:c.data("disable")}).values=n.values&&n.values.split(",");for(a in n)n.hasOwnProperty(a)&&(n[a]||0===n[a]||delete n[a]);l&&((l=l.split(n.input_values_separator||e.input_values_separator||";"))[0]&&l[0]==+l[0]&&(l[0]=+l[0]),l[1]&&l[1]==+l[1]&&(l[1]=+l[1]),e&&e.values&&e.values.length?(r.from=l[0]&&e.values.indexOf(l[0]),r.to=l[1]&&e.values.indexOf(l[1])):(r.from=l[0]&&+l[0],r.to=l[1]&&+l[1])),t.extend(r,e),t.extend(r,n),this.options=r,this.validate(),this.result={input:this.$cache.input,slider:null,min:this.options.min,max:this.options.max,from:this.options.from,from_percent:0,from_value:null,to:this.options.to,to_percent:0,to_value:null},this.init()};n.prototype={init:function(t){this.no_diapason=!1,this.coords.p_step=this.convertToPercent(this.options.step,!0),this.target="base",this.toggleInput(),this.append(),this.setMinMax(),t?(this.force_redraw=!0,this.calc(!0),this.callOnUpdate()):(this.force_redraw=!0,this.calc(!0),this.callOnStart()),this.updateScene()},append:function(){var t='<span class="irs js-irs-'+this.plugin_count+'"></span>';this.$cache.input.before(t),this.$cache.input.prop("readonly",!0),this.$cache.cont=this.$cache.input.prev(),this.result.slider=this.$cache.cont,this.$cache.cont.html('<span class="irs"><span class="irs-line" tabindex="-1"><span class="irs-line-left"></span><span class="irs-line-mid"></span><span class="irs-line-right"></span></span><span class="irs-min">0</span><span class="irs-max">1</span><span class="irs-from">0</span><span class="irs-to">0</span><span class="irs-single">0</span></span><span class="irs-grid"></span><span class="irs-bar"></span>'),this.$cache.rs=this.$cache.cont.find(".irs"),this.$cache.min=this.$cache.cont.find(".irs-min"),this.$cache.max=this.$cache.cont.find(".irs-max"),this.$cache.from=this.$cache.cont.find(".irs-from"),this.$cache.to=this.$cache.cont.find(".irs-to"),this.$cache.single=this.$cache.cont.find(".irs-single"),this.$cache.bar=this.$cache.cont.find(".irs-bar"),this.$cache.line=this.$cache.cont.find(".irs-line"),this.$cache.grid=this.$cache.cont.find(".irs-grid"),"single"===this.options.type?(this.$cache.cont.append('<span class="irs-bar-edge"></span><span class="irs-shadow shadow-single"></span><span class="irs-slider single"></span>'),this.$cache.edge=this.$cache.cont.find(".irs-bar-edge"),this.$cache.s_single=this.$cache.cont.find(".single"),this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.shad_single=this.$cache.cont.find(".shadow-single")):(this.$cache.cont.append('<span class="irs-shadow shadow-from"></span><span class="irs-shadow shadow-to"></span><span class="irs-slider from"></span><span class="irs-slider to"></span>'),this.$cache.s_from=this.$cache.cont.find(".from"),this.$cache.s_to=this.$cache.cont.find(".to"),this.$cache.shad_from=this.$cache.cont.find(".shadow-from"),this.$cache.shad_to=this.$cache.cont.find(".shadow-to"),this.setTopHandler()),this.options.hide_from_to&&(this.$cache.from[0].style.display="none",this.$cache.to[0].style.display="none",this.$cache.single[0].style.display="none"),this.appendGrid(),this.options.disable?(this.appendDisableMask(),this.$cache.input[0].disabled=!0):(this.$cache.cont.removeClass("irs-disabled"),this.$cache.input[0].disabled=!1,this.bindEvents()),this.options.drag_interval&&(this.$cache.bar[0].style.cursor="ew-resize")},setTopHandler:function(){var t=this.options.min,i=this.options.max,s=this.options.from,o=this.options.to;s>t&&o===i?this.$cache.s_from.addClass("type_last"):o<i&&this.$cache.s_to.addClass("type_last")},changeLevel:function(t){switch(t){case"single":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_single_fake);break;case"from":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.$cache.s_from.addClass("state_hover"),this.$cache.s_from.addClass("type_last"),this.$cache.s_to.removeClass("type_last");break;case"to":this.coords.p_gap=this.toFixed(this.coords.p_pointer-this.coords.p_to_fake),this.$cache.s_to.addClass("state_hover"),this.$cache.s_to.addClass("type_last"),this.$cache.s_from.removeClass("type_last");break;case"both":this.coords.p_gap_left=this.toFixed(this.coords.p_pointer-this.coords.p_from_fake),this.coords.p_gap_right=this.toFixed(this.coords.p_to_fake-this.coords.p_pointer),this.$cache.s_to.removeClass("type_last"),this.$cache.s_from.removeClass("type_last")}},appendDisableMask:function(){this.$cache.cont.append('<span class="irs-disable-mask"></span>'),this.$cache.cont.addClass("irs-disabled")},remove:function(){this.$cache.cont.remove(),this.$cache.cont=null,this.$cache.line.off("keydown.irs_"+this.plugin_count),this.$cache.body.off("touchmove.irs_"+this.plugin_count),this.$cache.body.off("mousemove.irs_"+this.plugin_count),this.$cache.win.off("touchend.irs_"+this.plugin_count),this.$cache.win.off("mouseup.irs_"+this.plugin_count),r&&(this.$cache.body.off("mouseup.irs_"+this.plugin_count),this.$cache.body.off("mouseleave.irs_"+this.plugin_count)),this.$cache.grid_labels=[],this.coords.big=[],this.coords.big_w=[],this.coords.big_p=[],this.coords.big_x=[],cancelAnimationFrame(this.raf_id)},bindEvents:function(){this.no_diapason||(this.$cache.body.on("touchmove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.body.on("mousemove.irs_"+this.plugin_count,this.pointerMove.bind(this)),this.$cache.win.on("touchend.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.win.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.line.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.line.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.options.drag_interval&&"double"===this.options.type?(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"both")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"both"))):(this.$cache.bar.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.bar.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),"single"===this.options.type?(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.shad_single.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.s_single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"single")),this.$cache.edge.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_single.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))):(this.$cache.single.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.single.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,null)),this.$cache.from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("touchstart.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("touchstart.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.s_from.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"from")),this.$cache.to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.s_to.on("mousedown.irs_"+this.plugin_count,this.pointerDown.bind(this,"to")),this.$cache.shad_from.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click")),this.$cache.shad_to.on("mousedown.irs_"+this.plugin_count,this.pointerClick.bind(this,"click"))),this.options.keyboard&&this.$cache.line.on("keydown.irs_"+this.plugin_count,this.key.bind(this,"keyboard")),r&&(this.$cache.body.on("mouseup.irs_"+this.plugin_count,this.pointerUp.bind(this)),this.$cache.body.on("mouseleave.irs_"+this.plugin_count,this.pointerUp.bind(this))))},pointerMove:function(t){if(this.dragging){var i=t.pageX||t.originalEvent.touches&&t.originalEvent.touches[0].pageX;this.coords.x_pointer=i-this.coords.x_gap,this.calc()}},pointerUp:function(i){this.current_plugin===this.plugin_count&&this.is_active&&(this.is_active=!1,this.$cache.cont.find(".state_hover").removeClass("state_hover"),this.force_redraw=!0,r&&t("*").prop("unselectable",!1),this.updateScene(),this.restoreOriginalMinInterval(),(t.contains(this.$cache.cont[0],i.target)||this.dragging)&&(this.is_finish=!0,this.callOnFinish()),this.dragging=!1)},pointerDown:function(i,s){s.preventDefault();var o=s.pageX||s.originalEvent.touches&&s.originalEvent.touches[0].pageX;2!==s.button&&("both"===i&&this.setTempMinInterval(),i||(i=this.target),this.current_plugin=this.plugin_count,this.target=i,this.is_active=!0,this.dragging=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=o-this.coords.x_gap,this.calcPointerPercent(),this.changeLevel(i),r&&t("*").prop("unselectable",!0),this.$cache.line.trigger("focus"),this.updateScene())},pointerClick:function(t,i){i.preventDefault();var s=i.pageX||i.originalEvent.touches&&i.originalEvent.touches[0].pageX;2!==i.button&&(this.current_plugin=this.plugin_count,this.target=t,this.is_click=!0,this.coords.x_gap=this.$cache.rs.offset().left,this.coords.x_pointer=+(s-this.coords.x_gap).toFixed(),this.force_redraw=!0,this.calc(),this.$cache.line.trigger("focus"))},key:function(t,i){if(!(this.current_plugin!==this.plugin_count||i.altKey||i.ctrlKey||i.shiftKey||i.metaKey)){switch(i.which){case 83:case 65:case 40:case 37:i.preventDefault(),this.moveByKey(!1);break;case 87:case 68:case 38:case 39:i.preventDefault(),this.moveByKey(!0)}return!0}},moveByKey:function(t){var i=this.coords.p_pointer;t?i+=this.options.keyboard_step:i-=this.options.keyboard_step,this.coords.x_pointer=this.toFixed(this.coords.w_rs/100*i),this.is_key=!0,this.calc()},setMinMax:function(){if(this.options){if(this.options.hide_min_max)return this.$cache.min[0].style.display="none",void(this.$cache.max[0].style.display="none");this.options.values.length?(this.$cache.min.html(this.decorate(this.options.p_values[this.options.min])),this.$cache.max.html(this.decorate(this.options.p_values[this.options.max]))):(this.$cache.min.html(this.decorate(this._prettify(this.options.min),this.options.min)),this.$cache.max.html(this.decorate(this._prettify(this.options.max),this.options.max))),this.labels.w_min=this.$cache.min.outerWidth(!1),this.labels.w_max=this.$cache.max.outerWidth(!1)}},setTempMinInterval:function(){var t=this.result.to-this.result.from;null===this.old_min_interval&&(this.old_min_interval=this.options.min_interval),this.options.min_interval=t},restoreOriginalMinInterval:function(){null!==this.old_min_interval&&(this.options.min_interval=this.old_min_interval,this.old_min_interval=null)},calc:function(t){if(this.options&&((10===++this.calc_count||t)&&(this.calc_count=0,this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.calcHandlePercent()),this.coords.w_rs)){this.calcPointerPercent();var i=this.getHandleX();switch("click"===this.target&&(this.coords.p_gap=this.coords.p_handle/2,i=this.getHandleX(),this.options.drag_interval?this.target="both_one":this.target=this.chooseHandle(i)),this.target){case"base":var s=(this.options.max-this.options.min)/100,o=(this.result.from-this.options.min)/s,e=(this.result.to-this.options.min)/s;this.coords.p_single_real=this.toFixed(o),this.coords.p_from_real=this.toFixed(o),this.coords.p_to_real=this.toFixed(e),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real),this.target=null;break;case"single":if(this.options.from_fixed)break;this.coords.p_single_real=this.convertToRealPercent(i),this.coords.p_single_real=this.calcWithStep(this.coords.p_single_real),this.coords.p_single_real=this.checkDiapason(this.coords.p_single_real,this.options.from_min,this.options.from_max),this.coords.p_single_fake=this.convertToFakePercent(this.coords.p_single_real);break;case"from":if(this.options.from_fixed)break;this.coords.p_from_real=this.convertToRealPercent(i),this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real>this.coords.p_to_real&&(this.coords.p_from_real=this.coords.p_to_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_real=this.checkMaxInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real);break;case"to":if(this.options.to_fixed)break;this.coords.p_to_real=this.convertToRealPercent(i),this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real<this.coords.p_from_real&&(this.coords.p_to_real=this.coords.p_from_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_real=this.checkMaxInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both":if(this.options.from_fixed||this.options.to_fixed)break;i=this.toFixed(i+.1*this.coords.p_handle),this.coords.p_from_real=this.convertToRealPercent(i)-this.coords.p_gap_left,this.coords.p_from_real=this.calcWithStep(this.coords.p_from_real),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_real=this.checkMinInterval(this.coords.p_from_real,this.coords.p_to_real,"from"),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.convertToRealPercent(i)+this.coords.p_gap_right,this.coords.p_to_real=this.calcWithStep(this.coords.p_to_real),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_real=this.checkMinInterval(this.coords.p_to_real,this.coords.p_from_real,"to"),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real);break;case"both_one":if(this.options.from_fixed||this.options.to_fixed)break;var h=this.convertToRealPercent(i),r=this.result.from_percent,n=this.result.to_percent-r,a=n/2,c=h-a,l=h+a;c<0&&(l=(c=0)+n),l>100&&(c=(l=100)-n),this.coords.p_from_real=this.calcWithStep(c),this.coords.p_from_real=this.checkDiapason(this.coords.p_from_real,this.options.from_min,this.options.from_max),this.coords.p_from_fake=this.convertToFakePercent(this.coords.p_from_real),this.coords.p_to_real=this.calcWithStep(l),this.coords.p_to_real=this.checkDiapason(this.coords.p_to_real,this.options.to_min,this.options.to_max),this.coords.p_to_fake=this.convertToFakePercent(this.coords.p_to_real)}"single"===this.options.type?(this.coords.p_bar_x=this.coords.p_handle/2,this.coords.p_bar_w=this.coords.p_single_fake,this.result.from_percent=this.coords.p_single_real,this.result.from=this.convertToValue(this.coords.p_single_real),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from])):(this.coords.p_bar_x=this.toFixed(this.coords.p_from_fake+this.coords.p_handle/2),this.coords.p_bar_w=this.toFixed(this.coords.p_to_fake-this.coords.p_from_fake),this.result.from_percent=this.coords.p_from_real,this.result.from=this.convertToValue(this.coords.p_from_real),this.result.to_percent=this.coords.p_to_real,this.result.to=this.convertToValue(this.coords.p_to_real),this.options.values.length&&(this.result.from_value=this.options.values[this.result.from],this.result.to_value=this.options.values[this.result.to])),this.calcMinMax(),this.calcLabels()}},calcPointerPercent:function(){this.coords.w_rs?(this.coords.x_pointer<0||isNaN(this.coords.x_pointer)?this.coords.x_pointer=0:this.coords.x_pointer>this.coords.w_rs&&(this.coords.x_pointer=this.coords.w_rs),this.coords.p_pointer=this.toFixed(this.coords.x_pointer/this.coords.w_rs*100)):this.coords.p_pointer=0},convertToRealPercent:function(t){return t/(100-this.coords.p_handle)*100},convertToFakePercent:function(t){return t/100*(100-this.coords.p_handle)},getHandleX:function(){var t=100-this.coords.p_handle,i=this.toFixed(this.coords.p_pointer-this.coords.p_gap);return i<0?i=0:i>t&&(i=t),i},calcHandlePercent:function(){"single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100)},chooseHandle:function(t){return"single"===this.options.type?"single":t>=this.coords.p_from_real+(this.coords.p_to_real-this.coords.p_from_real)/2?this.options.to_fixed?"from":"to":this.options.from_fixed?"to":"from"},calcMinMax:function(){this.coords.w_rs&&(this.labels.p_min=this.labels.w_min/this.coords.w_rs*100,this.labels.p_max=this.labels.w_max/this.coords.w_rs*100)},calcLabels:function(){this.coords.w_rs&&!this.options.hide_from_to&&("single"===this.options.type?(this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=this.coords.p_single_fake+this.coords.p_handle/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)):(this.labels.w_from=this.$cache.from.outerWidth(!1),this.labels.p_from_fake=this.labels.w_from/this.coords.w_rs*100,this.labels.p_from_left=this.coords.p_from_fake+this.coords.p_handle/2-this.labels.p_from_fake/2,this.labels.p_from_left=this.toFixed(this.labels.p_from_left),this.labels.p_from_left=this.checkEdges(this.labels.p_from_left,this.labels.p_from_fake),this.labels.w_to=this.$cache.to.outerWidth(!1),this.labels.p_to_fake=this.labels.w_to/this.coords.w_rs*100,this.labels.p_to_left=this.coords.p_to_fake+this.coords.p_handle/2-this.labels.p_to_fake/2,this.labels.p_to_left=this.toFixed(this.labels.p_to_left),this.labels.p_to_left=this.checkEdges(this.labels.p_to_left,this.labels.p_to_fake),this.labels.w_single=this.$cache.single.outerWidth(!1),this.labels.p_single_fake=this.labels.w_single/this.coords.w_rs*100,this.labels.p_single_left=(this.labels.p_from_left+this.labels.p_to_left+this.labels.p_to_fake)/2-this.labels.p_single_fake/2,this.labels.p_single_left=this.toFixed(this.labels.p_single_left),this.labels.p_single_left=this.checkEdges(this.labels.p_single_left,this.labels.p_single_fake)))},updateScene:function(){this.raf_id&&(cancelAnimationFrame(this.raf_id),this.raf_id=null),clearTimeout(this.update_tm),this.update_tm=null,this.options&&(this.drawHandles(),this.is_active?this.raf_id=requestAnimationFrame(this.updateScene.bind(this)):this.update_tm=setTimeout(this.updateScene.bind(this),300))},drawHandles:function(){this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&(this.coords.w_rs!==this.coords.w_rs_old&&(this.target="base",this.is_resize=!0),(this.coords.w_rs!==this.coords.w_rs_old||this.force_redraw)&&(this.setMinMax(),this.calc(!0),this.drawLabels(),this.options.grid&&(this.calcGridMargin(),this.calcGridLabels()),this.force_redraw=!0,this.coords.w_rs_old=this.coords.w_rs,this.drawShadow()),this.coords.w_rs&&(this.dragging||this.force_redraw||this.is_key)&&((this.old_from!==this.result.from||this.old_to!==this.result.to||this.force_redraw||this.is_key)&&(this.drawLabels(),this.$cache.bar[0].style.left=this.coords.p_bar_x+"%",this.$cache.bar[0].style.width=this.coords.p_bar_w+"%","single"===this.options.type?(this.$cache.s_single[0].style.left=this.coords.p_single_fake+"%",this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.options.values.length?this.$cache.input.prop("value",this.result.from_value):this.$cache.input.prop("value",this.result.from),this.$cache.input.data("from",this.result.from)):(this.$cache.s_from[0].style.left=this.coords.p_from_fake+"%",this.$cache.s_to[0].style.left=this.coords.p_to_fake+"%",(this.old_from!==this.result.from||this.force_redraw)&&(this.$cache.from[0].style.left=this.labels.p_from_left+"%"),(this.old_to!==this.result.to||this.force_redraw)&&(this.$cache.to[0].style.left=this.labels.p_to_left+"%"),this.$cache.single[0].style.left=this.labels.p_single_left+"%",this.options.values.length?this.$cache.input.prop("value",this.result.from_value+this.options.input_values_separator+this.result.to_value):this.$cache.input.prop("value",this.result.from+this.options.input_values_separator+this.result.to),this.$cache.input.data("from",this.result.from),this.$cache.input.data("to",this.result.to)),this.old_from===this.result.from&&this.old_to===this.result.to||this.is_start||this.$cache.input.trigger("change"),this.old_from=this.result.from,this.old_to=this.result.to,this.is_resize||this.is_update||this.is_start||this.is_finish||this.callOnChange(),(this.is_key||this.is_click)&&(this.is_key=!1,this.is_click=!1,this.callOnFinish()),this.is_update=!1,this.is_resize=!1,this.is_finish=!1),this.is_start=!1,this.is_key=!1,this.is_click=!1,this.force_redraw=!1))},drawLabels:function(){if(this.options){var t,i,s,o=this.options.values.length,e=this.options.p_values;if(!this.options.hide_from_to)if("single"===this.options.type)o?(t=this.decorate(e[this.result.from]),this.$cache.single.html(t)):(t=this.decorate(this._prettify(this.result.from),this.result.from),this.$cache.single.html(t)),this.calcLabels(),this.labels.p_single_left<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",this.labels.p_single_left+this.labels.p_single_fake>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible";else{o?(this.options.decorate_both?(t=this.decorate(e[this.result.from]),t+=this.options.values_separator,t+=this.decorate(e[this.result.to])):t=this.decorate(e[this.result.from]+this.options.values_separator+e[this.result.to]),i=this.decorate(e[this.result.from]),s=this.decorate(e[this.result.to]),this.$cache.single.html(t),this.$cache.from.html(i),this.$cache.to.html(s)):(this.options.decorate_both?(t=this.decorate(this._prettify(this.result.from),this.result.from),t+=this.options.values_separator,t+=this.decorate(this._prettify(this.result.to),this.result.to)):t=this.decorate(this._prettify(this.result.from)+this.options.values_separator+this._prettify(this.result.to),this.result.to),i=this.decorate(this._prettify(this.result.from),this.result.from),s=this.decorate(this._prettify(this.result.to),this.result.to),this.$cache.single.html(t),this.$cache.from.html(i),this.$cache.to.html(s)),this.calcLabels();var h=Math.min(this.labels.p_single_left,this.labels.p_from_left),r=this.labels.p_single_left+this.labels.p_single_fake,n=this.labels.p_to_left+this.labels.p_to_fake,a=Math.max(r,n);this.labels.p_from_left+this.labels.p_from_fake>=this.labels.p_to_left?(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",this.result.from===this.result.to?("from"===this.target?this.$cache.from[0].style.visibility="visible":"to"===this.target?this.$cache.to[0].style.visibility="visible":this.target||(this.$cache.from[0].style.visibility="visible"),this.$cache.single[0].style.visibility="hidden",a=n):(this.$cache.from[0].style.visibility="hidden",this.$cache.to[0].style.visibility="hidden",this.$cache.single[0].style.visibility="visible",a=Math.max(r,n))):(this.$cache.from[0].style.visibility="visible",this.$cache.to[0].style.visibility="visible",this.$cache.single[0].style.visibility="hidden"),h<this.labels.p_min+1?this.$cache.min[0].style.visibility="hidden":this.$cache.min[0].style.visibility="visible",a>100-this.labels.p_max-1?this.$cache.max[0].style.visibility="hidden":this.$cache.max[0].style.visibility="visible"}}},drawShadow:function(){var t,i,s,o,e=this.options,h=this.$cache,r="number"==typeof e.from_min&&!isNaN(e.from_min),n="number"==typeof e.from_max&&!isNaN(e.from_max),a="number"==typeof e.to_min&&!isNaN(e.to_min),c="number"==typeof e.to_max&&!isNaN(e.to_max);"single"===e.type?e.from_shadow&&(r||n)?(t=this.convertToPercent(r?e.from_min:e.min),i=this.convertToPercent(n?e.from_max:e.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),i=this.toFixed(i-this.coords.p_handle/100*i),t+=this.coords.p_handle/2,h.shad_single[0].style.display="block",h.shad_single[0].style.left=t+"%",h.shad_single[0].style.width=i+"%"):h.shad_single[0].style.display="none":(e.from_shadow&&(r||n)?(t=this.convertToPercent(r?e.from_min:e.min),i=this.convertToPercent(n?e.from_max:e.max)-t,t=this.toFixed(t-this.coords.p_handle/100*t),i=this.toFixed(i-this.coords.p_handle/100*i),t+=this.coords.p_handle/2,h.shad_from[0].style.display="block",h.shad_from[0].style.left=t+"%",h.shad_from[0].style.width=i+"%"):h.shad_from[0].style.display="none",e.to_shadow&&(a||c)?(s=this.convertToPercent(a?e.to_min:e.min),o=this.convertToPercent(c?e.to_max:e.max)-s,s=this.toFixed(s-this.coords.p_handle/100*s),o=this.toFixed(o-this.coords.p_handle/100*o),s+=this.coords.p_handle/2,h.shad_to[0].style.display="block",h.shad_to[0].style.left=s+"%",h.shad_to[0].style.width=o+"%"):h.shad_to[0].style.display="none")},callOnStart:function(){this.options.onStart&&"function"==typeof this.options.onStart&&this.options.onStart(this.result)},callOnChange:function(){this.options.onChange&&"function"==typeof this.options.onChange&&this.options.onChange(this.result)},callOnFinish:function(){this.options.onFinish&&"function"==typeof this.options.onFinish&&this.options.onFinish(this.result)},callOnUpdate:function(){this.options.onUpdate&&"function"==typeof this.options.onUpdate&&this.options.onUpdate(this.result)},toggleInput:function(){this.$cache.input.toggleClass("irs-hidden-input")},convertToPercent:function(t,i){var s,o,e=this.options.max-this.options.min,h=e/100;return e?(s=i?t:t-this.options.min,o=s/h,this.toFixed(o)):(this.no_diapason=!0,0)},convertToValue:function(t){var i,s,o=this.options.min,e=this.options.max,h=o.toString().split(".")[1],r=e.toString().split(".")[1],n=0,a=0;if(0===t)return this.options.min;if(100===t)return this.options.max;h&&(n=i=h.length),r&&(n=s=r.length),i&&s&&(n=i>=s?i:s),o<0&&(o=+(o+(a=Math.abs(o))).toFixed(n),e=+(e+a).toFixed(n));var c,l=(e-o)/100*t+o,_=this.options.step.toString().split(".")[1];return _?l=+l.toFixed(_.length):(l/=this.options.step,l=+(l*=this.options.step).toFixed(0)),a&&(l-=a),c=_?+l.toFixed(_.length):this.toFixed(l),c<this.options.min?c=this.options.min:c>this.options.max&&(c=this.options.max),c},calcWithStep:function(t){var i=Math.round(t/this.coords.p_step)*this.coords.p_step;return i>100&&(i=100),100===t&&(i=100),this.toFixed(i)},checkMinInterval:function(t,i,s){var o,e,h=this.options;return h.min_interval?(o=this.convertToValue(t),e=this.convertToValue(i),"from"===s?e-o<h.min_interval&&(o=e-h.min_interval):o-e<h.min_interval&&(o=e+h.min_interval),this.convertToPercent(o)):t},checkMaxInterval:function(t,i,s){var o,e,h=this.options;return h.max_interval?(o=this.convertToValue(t),e=this.convertToValue(i),"from"===s?e-o>h.max_interval&&(o=e-h.max_interval):o-e>h.max_interval&&(o=e+h.max_interval),this.convertToPercent(o)):t},checkDiapason:function(t,i,s){var o=this.convertToValue(t),e=this.options;return"number"!=typeof i&&(i=e.min),"number"!=typeof s&&(s=e.max),o<i&&(o=i),o>s&&(o=s),this.convertToPercent(o)},toFixed:function(t){return+(t=t.toFixed(9))},_prettify:function(t){return this.options.prettify_enabled?this.options.prettify&&"function"==typeof this.options.prettify?this.options.prettify(t):this.prettify(t):t},prettify:function(t){return t.toString().replace(/(\d{1,3}(?=(?:\d\d\d)+(?!\d)))/g,"$1"+this.options.prettify_separator)},checkEdges:function(t,i){return this.options.force_edges?(t<0?t=0:t>100-i&&(t=100-i),this.toFixed(t)):this.toFixed(t)},validate:function(){var t,i,s=this.options,o=this.result,e=s.values,h=e.length;if("string"==typeof s.min&&(s.min=+s.min),"string"==typeof s.max&&(s.max=+s.max),"string"==typeof s.from&&(s.from=+s.from),"string"==typeof s.to&&(s.to=+s.to),"string"==typeof s.step&&(s.step=+s.step),"string"==typeof s.from_min&&(s.from_min=+s.from_min),"string"==typeof s.from_max&&(s.from_max=+s.from_max),"string"==typeof s.to_min&&(s.to_min=+s.to_min),"string"==typeof s.to_max&&(s.to_max=+s.to_max),"string"==typeof s.keyboard_step&&(s.keyboard_step=+s.keyboard_step),"string"==typeof s.grid_num&&(s.grid_num=+s.grid_num),s.max<s.min&&(s.max=s.min),h)for(s.p_values=[],s.min=0,s.max=h-1,s.step=1,s.grid_num=s.max,s.grid_snap=!0,i=0;i<h;i++)t=+e[i],isNaN(t)?t=e[i]:(e[i]=t,t=this._prettify(t)),s.p_values.push(t);("number"!=typeof s.from||isNaN(s.from))&&(s.from=s.min),("number"!=typeof s.to||isNaN(s.from))&&(s.to=s.max),"single"===s.type?(s.from<s.min&&(s.from=s.min),s.from>s.max&&(s.from=s.max)):((s.from<s.min||s.from>s.max)&&(s.from=s.min),(s.to>s.max||s.to<s.min)&&(s.to=s.max),s.from>s.to&&(s.from=s.to)),("number"!=typeof s.step||isNaN(s.step)||!s.step||s.step<0)&&(s.step=1),("number"!=typeof s.keyboard_step||isNaN(s.keyboard_step)||!s.keyboard_step||s.keyboard_step<0)&&(s.keyboard_step=5),"number"==typeof s.from_min&&s.from<s.from_min&&(s.from=s.from_min),"number"==typeof s.from_max&&s.from>s.from_max&&(s.from=s.from_max),"number"==typeof s.to_min&&s.to<s.to_min&&(s.to=s.to_min),"number"==typeof s.to_max&&s.from>s.to_max&&(s.to=s.to_max),o&&(o.min!==s.min&&(o.min=s.min),o.max!==s.max&&(o.max=s.max),(o.from<o.min||o.from>o.max)&&(o.from=s.from),(o.to<o.min||o.to>o.max)&&(o.to=s.to)),("number"!=typeof s.min_interval||isNaN(s.min_interval)||!s.min_interval||s.min_interval<0)&&(s.min_interval=0),("number"!=typeof s.max_interval||isNaN(s.max_interval)||!s.max_interval||s.max_interval<0)&&(s.max_interval=0),s.min_interval&&s.min_interval>s.max-s.min&&(s.min_interval=s.max-s.min),s.max_interval&&s.max_interval>s.max-s.min&&(s.max_interval=s.max-s.min)},decorate:function(t,i){var s="",o=this.options;return o.prefix&&(s+=o.prefix),s+=t,o.max_postfix&&(o.values.length&&t===o.p_values[o.max]?(s+=o.max_postfix,o.postfix&&(s+=" ")):i===o.max&&(s+=o.max_postfix,o.postfix&&(s+=" "))),o.postfix&&(s+=o.postfix),s},updateFrom:function(){this.result.from=this.options.from,this.result.from_percent=this.convertToPercent(this.result.from),this.options.values&&(this.result.from_value=this.options.values[this.result.from])},updateTo:function(){this.result.to=this.options.to,this.result.to_percent=this.convertToPercent(this.result.to),this.options.values&&(this.result.to_value=this.options.values[this.result.to])},updateResult:function(){this.result.min=this.options.min,this.result.max=this.options.max,this.updateFrom(),this.updateTo()},appendGrid:function(){if(this.options.grid){var t,i,s,o,e,h=this.options,r=h.max-h.min,n=h.grid_num,a=0,c=0,l=4,_="";for(this.calcGridMargin(),h.grid_snap?(n=r/h.step,a=this.toFixed(h.step/(r/100))):a=this.toFixed(100/n),n>4&&(l=3),n>7&&(l=2),n>14&&(l=1),n>28&&(l=0),t=0;t<n+1;t++){for(s=l,(c=this.toFixed(a*t))>100&&(c=100,(s-=2)<0&&(s=0)),this.coords.big[t]=c,o=(c-a*(t-1))/(s+1),i=1;i<=s&&0!==c;i++)_+='<span class="irs-grid-pol small" style="left: '+this.toFixed(c-o*i)+'%"></span>';_+='<span class="irs-grid-pol" style="left: '+c+'%"></span>',e=this.convertToValue(c),_+='<span class="irs-grid-text js-grid-text-'+t+'" style="left: '+c+'%">'+(e=h.values.length?h.p_values[e]:this._prettify(e))+"</span>"}this.coords.big_num=Math.ceil(n+1),this.$cache.cont.addClass("irs-with-grid"),this.$cache.grid.html(_),this.cacheGridLabels()}},cacheGridLabels:function(){var t,i,s=this.coords.big_num;for(i=0;i<s;i++)t=this.$cache.grid.find(".js-grid-text-"+i),this.$cache.grid_labels.push(t);this.calcGridLabels()},calcGridLabels:function(){var t,i=[],s=[],o=this.coords.big_num;for(t=0;t<o;t++)this.coords.big_w[t]=this.$cache.grid_labels[t].outerWidth(!1),this.coords.big_p[t]=this.toFixed(this.coords.big_w[t]/this.coords.w_rs*100),this.coords.big_x[t]=this.toFixed(this.coords.big_p[t]/2),i[t]=this.toFixed(this.coords.big[t]-this.coords.big_x[t]),s[t]=this.toFixed(i[t]+this.coords.big_p[t]);for(this.options.force_edges&&(i[0]<-this.coords.grid_gap&&(i[0]=-this.coords.grid_gap,s[0]=this.toFixed(i[0]+this.coords.big_p[0]),this.coords.big_x[0]=this.coords.grid_gap),s[o-1]>100+this.coords.grid_gap&&(s[o-1]=100+this.coords.grid_gap,i[o-1]=this.toFixed(s[o-1]-this.coords.big_p[o-1]),this.coords.big_x[o-1]=this.toFixed(this.coords.big_p[o-1]-this.coords.grid_gap))),this.calcGridCollision(2,i,s),this.calcGridCollision(4,i,s),t=0;t<o;t++)this.$cache.grid_labels[t][0].style.marginLeft=-this.coords.big_x[t]+"%"},calcGridCollision:function(t,i,s){var o,e,h,r=this.coords.big_num;for(o=0;o<r&&!((e=o+t/2)>=r);o+=t)h=this.$cache.grid_labels[e][0],s[o]<=i[e]?h.style.visibility="visible":h.style.visibility="hidden"},calcGridMargin:function(){this.options.grid_margin&&(this.coords.w_rs=this.$cache.rs.outerWidth(!1),this.coords.w_rs&&("single"===this.options.type?this.coords.w_handle=this.$cache.s_single.outerWidth(!1):this.coords.w_handle=this.$cache.s_from.outerWidth(!1),this.coords.p_handle=this.toFixed(this.coords.w_handle/this.coords.w_rs*100),this.coords.grid_gap=this.toFixed(this.coords.p_handle/2-.1),this.$cache.grid[0].style.width=this.toFixed(100-this.coords.p_handle)+"%",this.$cache.grid[0].style.left=this.coords.grid_gap+"%"))},update:function(i){this.input&&(this.is_update=!0,this.options.from=this.result.from,this.options.to=this.result.to,this.options=t.extend(this.options,i),this.validate(),this.updateResult(i),this.toggleInput(),this.remove(),this.init(!0))},reset:function(){this.input&&(this.updateResult(),this.update())},destroy:function(){this.input&&(this.toggleInput(),this.$cache.input.prop("readonly",!1),t.data(this.input,"ionRangeSlider",null),this.remove(),this.input=null,this.options=null)}},t.fn.ionRangeSlider=function(i){return this.each(function(){t.data(this,"ionRangeSlider")||t.data(this,"ionRangeSlider",new n(this,i,h++))})},function(){for(var t=0,i=["ms","moz","webkit","o"],o=0;o<i.length&&!s.requestAnimationFrame;++o)s.requestAnimationFrame=s[i[o]+"RequestAnimationFrame"],s.cancelAnimationFrame=s[i[o]+"CancelAnimationFrame"]||s[i[o]+"CancelRequestAnimationFrame"];s.requestAnimationFrame||(s.requestAnimationFrame=function(i,o){var e=(new Date).getTime(),h=Math.max(0,16-(e-t)),r=s.setTimeout(function(){i(e+h)},h);return t=e+h,r}),s.cancelAnimationFrame||(s.cancelAnimationFrame=function(t){clearTimeout(t)})}()});
0 2 \ No newline at end of file
... ...
frontend/web/js/script.js
1 1 $(function() {
2 2  
3   - sliderSolution();
4   - function sliderSolution() {
5   - let sliderBlock = document.querySelectorAll('.index-solution-slider');
6   - if(sliderBlock.length) {
7   - $(".index-solution-slider__row").owlCarousel(
8   - {
9   - navigation: true,
10   - navigationText: [],
11   - autoPlay: false,
12   - rewindNav:false,
13   - items: 4,
14   - // itemsDesktopSmall: [
15   - // 900,
16   - // 3
17   - // ],
18   - // itemsTablet: [
19   - // 600,
20   - // 3
21   - // ],
22   - // itemsMobile: [
23   - // 500,
24   - // 2
25   - // ]
26   - });
27   - }
28   - }
29   -
30 3 phoneMask('input[name="Feedback[phone]"]');
31 4  
32 5  
... ...