1 2; /* Start:"a:4:{s:4:"full";s:100:"/bitrix/templates/bitrix24_2017/js/include/bitrix24/main/header.main.banner.v1.min.js?16354095135242";s:6:"source";s:81:"/bitrix/templates/bitrix24_2017/js/include/bitrix24/main/header.main.banner.v1.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 3!function(){"use strict";let t=function(t){this.attributes={initialized:"data-slider-initialized",loaded:"data-slider-loaded",content:"data-main-section-content",media:"data-main-section-media",dots:"data-main-section-slider-dots",dot:"data-main-section-slider-dot",currentDot:"data-main-section-slider-dot-current",progressBar:"data-main-section-slider-dot-progress",animate:"data-animate"},this.nodes={section:null,content:null,media:null,dots:null,dotsList:{},progressBar:null},this.slider={object:null},this.dotsContainer={dynamic:"",static:""},this.$timeoutId=null,this.$currentIndex="0",this.$savedLastWidth=0,this.$skipDotsChangeEvent=!1,this.$isSliderStoped=!1,this.$defaultPlayTimeout=5e3,this.$defaultPlaySpeed=5e3,this.nodes.section=$(t),this.nodes.section.is("["+this.attributes.initialized+"]")||(this.nodes.section.attr(this.attributes.initialized,!0),this.init())};t.prototype={destroyScrollDotsSlider:function(){this.slider.object instanceof jQuery&&this.slider.object.removeClass("owl-carousel").removeAttr(this.attributes.loaded).trigger("destroy.owl.carousel")},makeScrollDotsSlider:function(){let t={autoHeight:!1,autoWidth:!1,autoplay:!1,items:1,loop:!1,rewind:!0,lazyLoad:!0,dots:!1,nav:!0,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)};this.slider.object||(this.slider.object=this.nodes.dots,this.slider.object.on("translate.owl.carousel",BX.delegate((function(t){let e=t.item.index;this.$skipDotsChangeEvent||this.nodes.media.trigger("to.owl.carousel",e),this.$skipDotsChangeEvent=!1}),this))),this.slider.object instanceof jQuery&&(this.slider.object.addClass("owl-carousel").owlCarousel(t),this.$skipDotsChangeEvent=!0,this.slider.object.trigger("to.owl.carousel",this.$currentIndex))},checkScrollDots:function(){let t=parseInt(this.$savedLastWidth);if(t<=0){let e=this.nodes.dots.children();$(e).each((function(e,i){t+=i.offsetWidth}))}this.nodes.dots.innerWidth()<t&&window.outerWidth<=1080||window.outerWidth<992?(this.$savedLastWidth=t,this.makeScrollDotsSlider()):(this.$savedLastWidth=0,this.destroyScrollDotsSlider())},scrollDotsHandler:function(){this.$timeoutId&&clearTimeout(this.$timeoutId),this.$timeoutId=setTimeout(this.checkScrollDots.bind(this),400)},setActiveDot:function(){for(let t in this.nodes.dotsList)if(this.nodes.dotsList.hasOwnProperty(t)){let e=this.nodes.dotsList[t];e.removeClass("active"),this.resetProgressBarAnimation(e),parseInt(this.$currentIndex)===parseInt(t)&&(e.addClass("active"),this.startProgressBarAnimation(e),this.$isSliderStoped&&this.resetProgressBarAnimation(e))}},startProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").animate({width:"100%"},this.$defaultPlayTimeout,"linear")},pauseProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").stop(!1,!1)},resetProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").stop(!0,!1).css({width:0})},init:function(){let t=this.nodes.section.find("["+this.attributes.content+"]")[0]||null;if(!t)return;this.nodes.content=$(t),this.nodes.content.owlCarousel({autoHeight:!1,autoWidth:!1,autoplay:!1,autoplayTimeout:this.$defaultPlayTimeout,autoPlaySpeed:0,responsiveRefreshRate:100,smartSpeed:0,items:1,loop:!1,rewind:!0,lazyLoad:!1,mouseDrag:!1,touchDrag:!1,dots:!1,nav:!1,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)});let e=this.nodes.section.find("["+this.attributes.media+"]");if(!e)return;this.nodes.media=$(e),this.nodes.media.on("translate.owl.carousel",BX.delegate((function(t){this.$currentIndex=t.item.index;try{this.nodes.dots&&(this.setActiveDot(),this.slider.object instanceof jQuery&&(this.$skipDotsChangeEvent=!0,this.slider.object.trigger("to.owl.carousel",this.$currentIndex))),this.nodes.content.trigger("to.owl.carousel",this.$currentIndex)}catch(t){console.log(t)}}),this)),this.nodes.media.owlCarousel({animateIn:"headerMainAnimateHeaderSlideInRight",animateOut:"headerMainAnimateHeaderSlideOutRight",autoHeight:!1,autoWidth:!1,autoplay:!0,autoplayTimeout:this.$defaultPlayTimeout,autoPlaySpeed:this.$defaultPlaySpeed,responsiveRefreshRate:100,items:1,loop:!1,rewind:!0,lazyLoad:!0,mouseDrag:!1,touchDrag:!1,dots:!1,nav:!1,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)});let i=this.nodes.section.find("["+this.attributes.dots+"]")[0]||null;if(!i)return;this.nodes.dots=$(i),i=this.nodes.dots.find("["+this.attributes.dot+"]")||[];let s=this;i.each((function(t,e){s.nodes.dotsList[t]=$(e),$(e).on("click",(function(){s.nodes.media.trigger("to.owl.carousel",t)})),$(e).mouseover((function(){s.$isSliderStoped=!0,s.resetProgressBarAnimation(e),s.nodes.media.trigger("stop.owl.autoplay"),s.nodes.media.trigger("to.owl.carousel",t)})),$(e).mouseleave((function(){s.$isSliderStoped=!1,s.nodes.media.trigger("play.owl.autoplay",[s.$defaultPlayTimeout,s.$defaultPlaySpeed]),s.startProgressBarAnimation(e)}))})),this.setActiveDot(),$(window).on("resize",this.scrollDotsHandler.bind(this)),this.scrollDotsHandler()}};
3let e=document.querySelectorAll("[data-main-section-slider]")||[];e=Array.prototype.slice.call(e),e.forEach((function(e){new t(e)}))}(); 4/* End */ 5; 6; /* Start:"a:4:{s:4:"full";s:98:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_price_calculator.js?17797178377622";s:6:"source";s:83:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_price_calculator.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 7const initPriceCalculator = () => { 8 const icons = document.querySelectorAll('.bxw-block-price-calculator__app'); 9 const userSlider = document.getElementById('userSlider'); 10 const userCountDisplay = document.getElementById('userCount'); 11 const userCountMobileInput = document.getElementById('userCountMobile'); 12 const userCountDisplay_2 = document.getElementById('userCount_2'); 13 const totalSumDisplay = document.getElementById('totalSum'); 14 const bitrixPriseDisplay = document.getElementById('bitrix_prise'); 15 const yourBenefitDisplaYear = document.getElementById('your_benefit_year'); 16 const calculator = document.getElementById('calculator'); 17 18 if (!calculator) return; 19 if (calculator.dataset.priceCalculatorInitialized === '1') return; 20 if (!userSlider || !userCountDisplay || !totalSumDisplay || !bitrixPriseDisplay || !yourBenefitDisplaYear) return; 21 22 calculator.dataset.priceCalculatorInitialized = '1'; 23 24 const tariffs = JSON.parse(calculator.dataset.tariffs); 25 26 const decimalSeparator = calculator.dataset.decimalSeparator || '.'; 27 const thousandsSeparator = calculator.dataset.thousandsSeparator || ','; 28 const pricePattern = calculator.dataset.pricePattern || '#PRICE#'; 29 30 const minValue = 1; 31 const centerValue = 50; 32 const maxValue = 250; 33 34 function positionToValue(pos) { 35 if (pos < 50) { 36 return Math.round(minValue + (pos / 50) * (centerValue - minValue)); 37 } else { 38 return Math.round(centerValue + ((pos - 50) / 50) * (maxValue - centerValue)); 39 } 40 } 41 42 function formatNumber(value) { 43 const parts = value.toFixed(0).toString().split('.'); 44 parts[0] = parts[0].replace(/\B(?=(\d{3})+(?!\d))/g, thousandsSeparator); 45 return parts.join(decimalSeparator); 46 } 47 48 function formatPrice(value) { 49 const formatted = formatNumber(value); 50 return pricePattern.replace('#PRICE#', formatted); 51 } 52 53 function clampUsersCount(value) { 54 return Math.min(Math.max(value, minValue), maxValue); 55 } 56 57 const monthPriceBasic = parseInt(tariffs.BASIC, 10); 58 const monthPriceStandard = parseInt(tariffs.STANDART, 10); 59 const monthPriceProfessional = parseInt(tariffs.PROFESSIONAL, 10); 60 const monthPriceEnterprise250 = parseInt(tariffs.ENTERPRISE_250, 10); 61 62 let numberOfUsers = positionToValue(50); 63 let userPrice = 0; 64 let planPrice = 0; 65 let totalSumApps; 66 67 userSlider.value = 50; 68 69 function activateSpecificIcons() { 70 const indicesToActivate = [1, 3, 4, 6, 8, 16]; 71 72 indicesToActivate.forEach(index => { 73 if (icons[index]) { 74 icons[index].classList.add('active'); 75 userPrice += parseInt(icons[index].getAttribute('data-price'), 10); 76 } 77 }); 78 } 79 80 icons.forEach(icon => { 81 icon.addEventListener('click', () => { 82 const price = parseInt(icon.getAttribute('data-price'), 10); 83 84 if (icon.classList.contains('active')) { 85 icon.classList.remove('active'); 86 userPrice -= price; 87 } else { 88 icon.classList.add('active'); 89 userPrice += price; 90 } 91 92 updateTotalSum(); 93 }); 94 }); 95 96 function updateThumbPosition() { 97 const min = Number(userSlider.min) || 0; 98 const max = Number(userSlider.max) || 100; 99 const value = Number(userSlider.value); 100 const range = max - min; 101 const percentage = range === 0 ? 0 : (value - min) / range; 102 103 userCountDisplay.style.left = (percentage * 100) + '%'; 104 userSlider.style.setProperty('--slider-value', (percentage * 100) + '%'); 105 } 106 107 function updatePlanPrice() { 108 if (numberOfUsers > 0 && numberOfUsers <= 5) { 109 planPrice = monthPriceBasic; 110 } else if (numberOfUsers > 5 && numberOfUsers <= 50) { 111 planPrice = monthPriceStandard; 112 } else if (numberOfUsers > 50 && numberOfUsers <= 100) { 113 planPrice = monthPriceProfessional; 114 } else if (numberOfUsers > 100 && numberOfUsers <= 250) { 115 planPrice = monthPriceEnterprise250; 116 } 117
118 bitrixPriseDisplay.textContent = formatPrice(planPrice); 119 updateUsersCount(numberOfUsers); 120 updateYourBenefit(planPrice); 121 } 122 123 function updateTotalSum() { 124 totalSumApps = userPrice * numberOfUsers; 125 totalSumDisplay.textContent = formatPrice(totalSumApps); 126 updateYourBenefit(planPrice); 127 } 128 129 function updateCalculatorByUsersCount(usersCount) { 130 numberOfUsers = clampUsersCount(usersCount); 131 userSlider.value = valueToPosition(numberOfUsers); 132 updateUsersCount(numberOfUsers); 133 updateThumbPosition(); 134 updateTotalSum(); 135 updatePlanPrice(); 136 } 137 138 userSlider.addEventListener('input', () => { 139 numberOfUsers = positionToValue(parseFloat(userSlider.value)); 140 updateUsersCount(numberOfUsers); 141 updateThumbPosition(); 142 updateTotalSum(); 143 updatePlanPrice(); 144 }); 145 146 function updateUsersCount(number) { 147 const formatted = formatNumber(number); 148 userCountDisplay.textContent = formatted; 149 if (userCountMobileInput) { 150 userCountMobileInput.value = formatted; 151 } 152 userCountDisplay_2.textContent = formatted; 153 } 154 155 function updateYourBenefit(planPrice) { 156 const benefitMonth = totalSumApps - planPrice; 157 const benefitYear = benefitMonth * 12; 158 159 const safeBenefit = benefitYear > 0 ? benefitYear : 0; 160 yourBenefitDisplaYear.textContent = formatPrice(safeBenefit); 161 } 162 163 activateSpecificIcons(); 164 updateThumbPosition(); 165 updateTotalSum(); 166 updatePlanPrice(); 167 updateUsersCount(numberOfUsers); 168 169 //mobile 170 const mobileSteps = [1, 5, 50, 100, 250]; 171 const counterMobileMinus = calculator.querySelector('.bxw-block-price-calculator__counter-mobile-minus'); 172 const counterMobilePlus = calculator.querySelector('.bxw-block-price-calculator__counter-mobile-plus'); 173 const mobileBreakpoint = window.matchMedia('(max-width: 991.98px)'); 174 175 function valueToPosition(value) { 176 if (value <= centerValue) { 177 return Math.round(((value - minValue) / (centerValue - minValue)) * 50); 178 } else { 179 return Math.round(50 + ((value - centerValue) / (maxValue - centerValue)) * 50); 180 } 181 } 182 183 function getCurrentMobileStepIndex() { 184 var idx = mobileSteps.findIndex(function(step) { return step >= numberOfUsers; }); 185 if (idx < 0) idx = mobileSteps.length - 1; 186 if (idx > 0 && mobileSteps[idx] !== numberOfUsers && (numberOfUsers - mobileSteps[idx - 1]) < (mobileSteps[idx] - numberOfUsers)) { 187 idx--; 188 } 189 return idx; 190 } 191 192 function applyMobileStep(stepValue) { 193 updateCalculatorByUsersCount(stepValue); 194 } 195 196 if (userCountMobileInput) { 197 userCountMobileInput.addEventListener('focus', function() { 198 this.select(); 199 }); 200 201 userCountMobileInput.addEventListener('input', function() { 202 const numericValue = this.value.replace(/\D/g, ''); 203 this.value = numericValue; 204 205 if (numericValue === '') return; 206 207 updateCalculatorByUsersCount(parseInt(numericValue, 10)); 208 }); 209 210 userCountMobileInput.addEventListener('blur', function() { 211 const numericValue = parseInt(this.value.replace(/\D/g, ''), 10); 212 updateCalculatorByUsersCount(Number.isNaN(numericValue) ? minValue : numericValue); 213 }); 214 } 215 216 if (counterMobileMinus) { 217 counterMobileMinus.addEventListener('click', function() { 218 if (!mobileBreakpoint.matches) return; 219 var idx = getCurrentMobileStepIndex(); 220 if (idx > 0) { 221 applyMobileStep(mobileSteps[idx - 1]); 222 } 223 }); 224 } 225 226 if (counterMobilePlus) { 227 counterMobilePlus.addEventListener('click', function() { 228 if (!mobileBreakpoint.matches) return; 229 var idx = getCurrentMobileStepIndex(); 230 if (idx < mobileSteps.length - 1) { 231 applyMobileStep(mobileSteps[idx + 1]); 232 } 233 }); 234 } 235}; 236 237BX.ready(initPriceCalculator); 238 239if (window.BX && typeof BX.addCustomEvent === 'function') { 240 BX.addCustomEvent('onFrameDataReceived', initPriceCalculator); 241} 242 243/* End */ 244; 245; /* Start:"a:4:{s:4:"full";s:91:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_trust.min.js?17849101594031";s:6:"source";s:72:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_trust.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 246!function(){var e,t="__bxwTrustMarqueeInstance";(window.BXWTrustMarquee=window.BXWTrustMarquee||{},window.BXWTrustMarquee.initialized)?window.BXWTrustMarquee.initAll(document):(window.BXWTrustMarquee.initialized=!0,window.BXWTrustMarquee.initAll=a,e=function(){a(document),window.BX&&"function"==typeof window.BX.addCustomEvent&&(window.BX.addCustomEvent("onFrameDataReceived",(function(){a(document)})),window.BX.addCustomEvent("onFrameDataProcessed",(function(){a(document)}))),"MutationObserver"in window&&new MutationObserver((function(e){e.forEach((function(e){Array.prototype.slice.call(e.addedNodes).forEac
246h((function(e){1===e.nodeType&&(e.matches&&e.matches(".bxw-block-trust__imgs-box")?i(e):e.querySelectorAll&&a(e))}))})),Array.prototype.slice.call(document.querySelectorAll('[data-bxw-trust-inited="true"]')).forEach((function(e){!document.documentElement.contains(e)&&e[t]&&e[t].destroy()}))})).observe(document.documentElement,{childList:!0,subtree:!0})},window.BX&&"function"==typeof window.BX.ready?window.BX.ready(e):"loading"!==document.readyState?e():document.addEventListener("DOMContentLoaded",e));function n(e){return"function"==typeof window.matchMedia?window.matchMedia(e):{matches:!1,addEventListener:null,removeEventListener:null,addListener:null,removeListener:null}}function r(e,t){"function"!=typeof e.addEventListener?"function"==typeof e.addListener&&e.addListener(t):e.addEventListener("change",t)}function o(e,t){"function"!=typeof e.removeEventListener?"function"==typeof e.removeListener&&e.removeListener(t):e.removeEventListener("change",t)}function i(e){var i=e.querySelector(".bxw-block-trust__img-track"),a=n("(prefers-reduced-motion: reduce)"),d=n("(max-width: 767.98px)"),u=[],c=0,s=0,l=0,m=0,f=0,w=-1,v=!1,h=!0,y=0,b=null,p=[];if(e[t])return e[t];if(!i)return null;if((u=Array.prototype.slice.call(i.querySelectorAll(".bxw-block-trust__img"))).length<2)return null;function E(){return Number(e.getAttribute("data-marquee-speed"))||(d.matches?70:40)}function A(){Array.prototype.slice.call(i.querySelectorAll('[data-bxw-trust-clone="true"]')).forEach((function(e){e.parentNode&&e.parentNode.removeChild(e)}))}function L(){var e=document.createDocumentFragment();u.forEach((function(t){var n=t.cloneNode(!0);n.setAttribute("aria-hidden","true"),n.setAttribute("data-bxw-trust-clone","true"),e.appendChild(n)})),i.appendChild(e)}function q(){var t,n,r,o=0;if(M(),A(),i.style.transform="translate3d(0, 0, 0)",m=0,f=0,y=E(),L(),(t=i.querySelector('[data-bxw-trust-clone="true"]'))&&(n=t.offsetLeft-u[0].offsetLeft,w=n<0?1:-1,!((f=Math.abs(n))<=0))){for(r=f+e.clientWidth;i.scrollWidth<r&&o<10;)L(),o+=1;g()}}function x(e){var t;v&&(l||(l=e),t=Math.min(e-l,64),l=e,m=(m+y*t/1e3)%f,i.style.transform="translate3d("+m*w+"px, 0, 0)",c=window.requestAnimationFrame(x))}function g(){v||document.hidden||a.matches||!h||f<=0||(v=!0,l=0,c=window.requestAnimationFrame(x))}function M(){v=!1,c&&(window.cancelAnimationFrame(c),c=0)}function B(){y=E(),s&&window.cancelAnimationFrame(s),s=window.requestAnimationFrame((function(){s=0,q()}))}function X(){document.hidden?M():g()}return e.setAttribute("data-bxw-trust-inited","true"),u.forEach((function(e){var t;"complete"in e&&!e.complete&&(t=B,e.addEventListener("load",t,{once:!0}),p.push({image:e,handler:t}))})),"IntersectionObserver"in window&&(b=new IntersectionObserver((function(e){(h=!e[0]||e[0].isIntersecting)?g():M()}))).observe(e),document.addEventListener("visibilitychange",X),window.addEventListener("resize",B),r(a,B),r(d,B),e[t]={destroy:function(){M(),s&&(window.cancelAnimationFrame(s),s=0),b&&(b.disconnect(),b=null),p.forEach((function(e){e.image.removeEventListener("load",e.handler)})),p=[],document.removeEventListener("visibilitychange",X),window.removeEventListener("resize",B),o(a,B),o(d,B),A(),i.style.transform="",e.removeAttribute("data-bxw-trust-inited"),e[t]=null},rebuild:B},q(),e[t]}function a(e){e=e||document,Array.prototype.slice.call(e.querySelectorAll(".bxw-block-trust__imgs-box")).forEach((function(e){i(e)}))}}(); 247/* End */ 248; 249; /* Start:"a:4:{s:4:"full";s:66:"/bitrix/content_vendors/glide/dist/js/glide.min.js?170903814227559";s:6:"source";s:50:"/bitrix/content_vendors/glide/dist/js/glide.min.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 250/*! 251 * Glide.js v3.6.0 252 * (c) 2013-2022 JÄdrzej ChaÅubek (https://github.com/jedrzejchalubek/) 253 * Released under the MIT License. 254 */ 255!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?module.exports=e():"function"==typeof define&&define.amd?define(e):(t="undefined"!=typeof globalThis?globalThis:t||self).Glide=e()}(this,(function(){"use strict";function t(e){return(t="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t})(e)}function e(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function n(t,e){for(var n=0;n<e.length;n++){var i=e[n];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}function i(t,e,i){return e&&n(t.prototype,e),i&&n(t,i),t}function r(t){return(r=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)})(t)}
vendor: 21,819 bytes, line 255
255function o(t,e){return(o=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t})(t,e)}function s(t,e){if(e&&("object"==typeof e||"function"==typeof e))return e;if(void 0!==e)throw new TypeError("Derived constructors may only return object or undefined");return function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}(t)}function a(t){var e=function(){if("undefined"==typeof Reflect||!Reflect.construct)return!1;if(Reflect.construct.sham)return!1;if("function"==typeof Proxy)return!0;try{return Boolean.prototype.valueOf.call(Reflect.construct(Boolean,[],(function(){}))),!0}catch(t){return!1}}();return function(){var n,i=r(t);if(e){var o=r(this).constructor;n=Reflect.construct(i,arguments,o)}else n=i.apply(this,arguments);return s(this,n)}}function u(t,e){for(;!Object.prototype.hasOwnProperty.call(t,e)&&null!==(t=r(t)););return t}function c(){return(c="undefined"!=typeof Reflect&&Reflect.get?Reflect.get:function(t,e,n){var i=u(t,e);if(i){var r=Object.getOwnPropertyDescriptor(i,e);return r.get?r.get.call(arguments.length<3?t:n):r.value}}).apply(this,arguments)}var l={type:"slider",startAt:0,perView:1,focusAt:0,gap:10,autoplay:!1,hoverpause:!0,keyboard:!0,bound:!1,swipeThreshold:80,dragThreshold:120,perSwipe:"",touchRatio:.5,touchAngle:45,animationDuration:400,rewind:!0,rewindDuration:800,animationTimingFunc:"cubic-bezier(.165, .840, .440, 1)",waitForTransition:!0,throttle:10,direction:"ltr",peek:0,cloningRatio:1,breakpoints:{},classes:{swipeable:"glide--swipeable",dragging:"glide--dragging",direction:{ltr:"glide--ltr",rtl:"glide--rtl"},type:{slider:"glide--slider",carousel:"glide--carousel"},slide:{clone:"glide__slide--clone",active:"glide__slide--active"},arrow:{disabled:"glide__arrow--disabled"},nav:{active:"glide__bullet--active"}}};function f(t){console.error("[Glide warn]: ".concat(t))}function d(t){return parseInt(t)}function h(t){return"string"==typeof t}function v(e){var n=t(e);return"function"===n||"object"===n&&!!e}function p(t){return"function"==typeof t}function m(t){return void 0===t}function g(t){return t.constructor===Array}function y(t,e,n){var i={};for(var r in e)p(e[r])?i[r]=e[r](t,i,n):f("Extension must be a function");for(var o in i)p(i[o].mount)&&i[o].mount();return i}function b(t,e,n){Object.defineProperty(t,e,n)}function w(t,e){var n=Object.assign({},t,e);return e.hasOwnProperty("classes")&&(n.classes=Object.assign({},t.classes,e.classes),e.classes.hasOwnProperty("direction")&&(n.classes.direction=Object.assign({},t.classes.direction,e.classes.direction)),e.classes.hasOwnProperty("type")&&(n.classes.type=Object.assign({},t.classes.type,e.classes.type)),e.classes.hasOwnProperty("slide")&&(n.classes.slide=Object.assign({},t.classes.slide,e.classes.slide)),e.classes.hasOwnProperty("arrow")&&(n.classes.arrow=Object.assign({},t.classes.arrow,e.classes.arrow)),e.classes.hasOwnProperty("nav")&&(n.classes.nav=Object.assign({},t.classes.nav,e.classes.nav))),e.hasOwnProperty("breakpoints")&&(n.breakpoints=Object.assign({},t.breakpoints,e.breakpoints)),n}var _=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.events=n,this.hop=n.hasOwnProperty}return i(t,[{key:"on",value:function(t,e){if(!g(t)){this.hop.call(this.events,t)||(this.events[t]=[]);var n=this.events[t].push(e)-1;return{remove:function(){delete this.events[t][n]}}}for(var i=0;i<t.length;i++)this.on(t[i],e)}},{key:"emit",value:function(t,e){if(g(t))for(var n=0;n<t.length;n++)this.emit(t[n],e);else this.hop.call(this.events,t)&&this.events[t].forEach((function(t){t(e||{})}))}}]),t}(),k=function(){function t(n){var i=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{};e(this,t),this._c={},this._t=[],this._e=new _,this.disabled=!1,this.selector=n,this.settings=w(l,i),this.index=this.settings.startAt}return i(t,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this._e.emit("mount.before"),v(t)?this._c=y(this,t,this._e):f("You need to provide a object on `mount()`"),this._e.emit("mount.after"),this}},{key:"mutate",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[];return g(t)?this._t=t:f("You need to provide a array on `mutate()`"),this}},{key:"update",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return this.settings=w(this.settings,t),t.hasOwnProperty("startAt")&&(this.index=t.startAt),this._e.emit("update"),this}},{key:"go",value:function(t){return this._c.Run.make(t),this}},{key:"move",value:function(t){return this._c.Transition.disable(),this._c.Move.make(t),this}},{key:"destroy",value:function(){return this._e.emit("destroy"),this}},{key:"play",value:function(){var t=arguments.length>0&&void 0!==arguments[0]&&arguments[0];return t&&(this.settings.autoplay=t),this._e.emit("play"),this}},{key:"pause",value:function(){return this._e.emit("pause"),this}},{key:"disable",value:function(){return this.disabled=!0,this}},{key:"enable",value:function(){return this.disabled=!1,this}},{key:"on",value:function(t,e){return this._e.on(t,e),this}},{key:"isType",value:function(t){return this.settings.type===t}},{key:"settings",get:function(){return this._o},set:function(t){v(t)?this._o=t:f("Options must be an `object` instance.")}},{key:"index",get:function(){return this._i},set:function(t){this._i=d(t)}},{key:"type",get:function(){return this.settings.type}},{key:"disabled",get:function(){return this._d},set:function(t){this._d=!!t}}]),t}();function S(){return(new Date).getTime()}function H(t,e,n){var i,r,o,s,a=0;n||(n={});var u=function(){a=!1===n.leading?0:S(),i=null,s=t.apply(r,o),i||(r=o=null)},c=function(){var c=S();a||!1!==n.leading||(a=c);var l=e-(c-a);return r=this,o=arguments,l<=0||l>e?(i&&(clearTimeout(i),i=null),a=c,s=t.apply(r,o),i||(r=o=null)):i||!1===n.trailing||(i=setTimeout(u,l)),s};return c.cancel=function(){clearTimeout(i),a=0,i=r=o=null},c}var O={ltr:["marginLeft","marginRight"],rtl:["marginRight","marginLeft"]};function T(t){if(t&&t.parentNode){for(var e=t.parentNode.firstChild,n=[];e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}return[]}function x(t){return!!(t&&t instanceof window.HTMLElement)}function A(t){return Array.prototype.slice.call(t)}var j='[data-glide-el="track"]';var R=function(){function t(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};e(this,t),this.listeners=n}return i(t,[{key:"on",value:function(t,e,n){var i=arguments.length>3&&void 0!==arguments[3]&&arguments[3];h(t)&&(t=[t]);for(var r=0;r<t.length;r++)this.listeners[t[r]]=n,e.addEventListener(t[r],this.listeners[t[r]],i)}},{key:"off",value:function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];h(t)&&(t=[t]);for(var i=0;i<t.length;i++)e.removeEventListener(t[i],this.listeners[t[i]],n)}},{key:"destroy",value:function(){delete this.listeners}}]),t}();var P=["ltr","rtl"],C={">":"<","<":">","=":"="};function L(t,e){return{modify:function(t){return e.Direction.is("rtl")?-t:t}}}function M(t,e){return{modify:function(t){var n=Math.floor(t/e.Sizes.slideWidth);return t+e.Gaps.value*n}}}function z(t,e){return{modify:function(t){return t+e.Clones.grow/2}}}function E(t,e){return{modify:function(n){if(t.settings.focusAt>=0){var i=e.Peek.value;return v(i)?n-i.before:n-i}return n}}}function D(t,e){return{modify:function(n){var i=e.Gaps.value,r=e.Sizes.width,o=t.settings.focusAt,s=e.Sizes.slideWidth;return"center"===o?n-(r/2-s/2):n-s*o-i*o}}}var B=!1;try{var W=Object.defineProperty({},"passive",{get:function(){B=!0}});window.addEventListener("testPassive",null,W),window.removeEventListener("testPassive",null,W)}catch(t){}var q=B,I=["touchstart","mousedown"],V=["touchmove","mousemove"],G=["touchend","touchcancel","mouseup","mouseleave"],F=["mousedown","mousemove","mouseup","mouseleave"];var N='[data-glide-el^="controls"]',Y="".concat(N,' [data-glide-dir*="<"]'),X="".concat(N,' [data-glide-dir*=">"]');function K(t){return v(t)?(e=t,Object.keys(e).sort().reduce((function(t,n){return t[n]=e[n],t[n],t}),{})):(f("Breakpoints option must be an object"),{});var e}var J={Html:function(t,e,n){var i={mount:function(){this.root=t.selector,this.track=this.root.querySelector(j),this.collectSlides()},collectSlides:function(){this.slides=A(this.wrapper.children).filter((function(e){return!e.classList.contains(t.settings.classes.slide.clone)}))}};return b(i,"root",{get:function(){return i._r},set:function(t){h(t)&&(t=document.querySelector(t)),x(t)?i._r=t:f("Root element must be a existing Html node")}}),b(i,"track",{get:function(){return i._t},set:function(t){x(t)?i._t=t:f("Could not find track element. Please use ".concat(j," attribute."))}}),b(i,"wrapper",{get:function(){return i.track.children[0]}}),n.on("update",(function(){i.collectSlides()})),i},Translate:function(t,e,n){var i={set:function(n){var i=function(t,e,n){var i=[M,z,E,D].concat(t._t,[L]);return{mutate:function(r){for(var o=0;o<i.length;o++){var s=i[o];p(s)&&p(s().modify)?r=s(t,e,n).modify(r):f("Transformer should be a function that returns an object with `modify()` method")}return r}}}(t,e).mutate(n),r="translate3d(".concat(-1*i,"px, 0px, 0px)");e.Html.wrapper.style.mozTransform=r,e.Html.wrapper.style.webkitTransform=r,e.Html.wrapper.style.transform=r},remove:function(){e.Html.wrapper.style.transform=""},getStartIndex:function(){var n=e.Sizes.length,i=t.index,r=t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?n+(i-r):(i+r)%n},getTravelDistance:function(){var n=e.Sizes.slideWidth*t.settings.perView;return e.Run.isOffset(">")||e.Run.isOffset("|>")?-1*n:n}};return n.on("move",(function(r){if(!t.isType("carousel")||!e.Run.isOffset())return i.set(r.movement);e.Transition.after((function(){n.emit("translate.jump"),i.set(e.Sizes.slideWidth*t.index)}));var o=e.Sizes.slideWidth*e.Translate.getStartIndex();return i.set(o-e.Translate.getTravelDistance())})),n.on("destroy",(function(){i.remove()})),i},Transition:function(t,e,n){var i=!1,r={compose:function(e){var n=t.settings;return i?"".concat(e," 0ms ").concat(n.animationTimingFunc):"".concat(e," ").concat(this.duration,"ms ").concat(n.animationTimingFunc)},set:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:"transform";e.Html.wrapper.style.transition=this.compose(t)},remove:function(){e.Html.wrapper.style.transition=""},after:function(t){setTimeout((function(){t()}),this.duration)},enable:function(){i=!1,this.set()},disable:function(){i=!0,this.set()}};return b(r,"duration",{get:function(){var n=t.settings;return t.isType("slider")&&e.Run.offset?n.rewindDuration:n.animationDuration}}),n.on("move",(function(){r.set()})),n.on(["build.before","resize","translate.jump"],(function(){r.disable()})),n.on("run",(function(){r.enable()})),n.on("destroy",(function(){r.remove()})),r},Direction:function(t,e,n){var i={mount:function(){this.value=t.settings.direction},resolve:function(t){var e=t.slice(0,1);return this.is("rtl")?t.split(e).join(C[e]):t},is:function(t){return this.value===t},addClass:function(){e.Html.root.classList.add(t.settings.classes.direction[this.value])},removeClass:function(){e.Html.root.classList.remove(t.settings.classes.direction[this.value])}};return b(i,"value",{get:function(){return i._v},set:function(t){P.indexOf(t)>-1?i._v=t:f("Direction value must be `ltr` or `rtl`")}}),n.on(["destroy","update"],(function(){i.removeClass()})),n.on("update",(function(){i.mount()})),n.on(["build.before","update"],(function(){i.addClass()})),i},Peek:function(t,e,n){var i={mount:function(){this.value=t.settings.peek}};return b(i,"value",{get:function(){return i._v},set:function(t){v(t)?(t.before=d(t.before),t.after=d(t.after)):t=d(t),i._v=t}}),b(i,"reductor",{get:function(){var e=i.value,n=t.settings.perView;return v(e)?e.before/n+e.after/n:2*e/n}}),n.on(["resize","update"],(function(){i.mount()})),i},Sizes:function(t,e,n){var i={setupSlides:function(){for(var t="".concat(this.slideWidth,"px"),n=e.Html.slides,i=0;i<n.length;i++)n[i].style.width=t},setupWrapper:function(){e.Html.wrapper.style.width="".concat(this.wrapperSize,"px")},remove:function(){for(var t=e.Html.slides,n=0;n<t.length;n++)t[n].style.width="";e.Html.wrapper.style.width=""}};return b(i,"length",{get:function(){return e.Html.slides.length}}),b(i,"width",{get:function(){return e.Html.track.offsetWidth}}),b(i,"wrapperSize",{get:function(){return i.slideWidth*i.length+e.Gaps.grow+e.Clones.grow}}),b(i,"slideWidth",{get:function(){return i.width/t.settings.perView-e.Peek.reductor-e.Gaps.reductor}}),n.on(["build.before","resize","update"],(function(){i.setupSlides(),i.setupWrapper()})),n.on("destroy",(function(){i.remove()})),i},Gaps:function(t,e,n){var i={apply:function(t){for(var n=0,i=t.length;n<i;n++){var r=t[n].style,o=e.Direction.value;r[O[o][0]]=0!==n?"".concat(this.value/2,"px"):"",n!==t.length-1?r[O[o][1]]="".concat(this.value/2,"px"):r[O[o][1]]=""}},remove:function(t){for(var e=0,n=t.length;e<n;e++){var i=t[e].style;i.marginLeft="",i.marginRight=""}}};return b(i,"value",{get:function(){return d(t.settings.gap)}}),b(i,"grow",{get:function(){return i.value*e.Sizes.length}}),b(i,"reductor",{get:function(){var e=t.settings.perView;return i.value*(e-1)/e}}),n.on(["build.after","update"],H((function(){i.apply(e.Html.wrapper.children)}),30)),n.on("destroy",(function(){i.remove(e.Html.wrapper.children)})),i},Move:function(t,e,n){var i={mount:function(){this._o=0},make:function(){var t=this,i=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0;this.offset=i,n.emit("move",{movement:this.value}),e.Transition.after((function(){n.emit("move.after",{movement:t.value})}))}};return b(i,"offset",{get:function(){return i._o},set:function(t){i._o=m(t)?0:d(t)}}),b(i,"translate",{get:function(){return e.Sizes.slideWidth*t.index}}),b(i,"value",{get:function(){var t=this.offset,n=this.translate;return e.Direction.is("rtl")?n+t:n-t}}),n.on(["build.before","run"],(function(){i.make()})),i},Clones:function(t,e,n){var i={mount:function(){this.items=[],t.isType("carousel")&&(this.items=this.collect())},collect:function(){var n=arguments.length>0&&void 0!==arguments[0]?arguments[0]:[],i=e.Html.slides,r=t.settings,o=r.perView,s=r.classes,a=r.cloningRatio;if(0!==i.length)for(var u=+!!t.settings.peek,c=o+u+Math.round(o/2),l=i.slice(0,c).reverse(),f=i.slice(-1*c),d=0;d<Math.max(a,Math.floor(o/i.length));d++){for(var h=0;h<l.length;h++){var v=l[h].cloneNode(!0);v.classList.add(s.slide.clone),n.push(v)}for(var p=0;p<f.length;p++){var m=f[p].cloneNode(!0);m.classList.add(s.slide.clone),n.unshift(m)}}return n},append:function(){for(var t=this.items,n=e.Html,i=n.wrapper,r=n.slides,o=Math.floor(t.length/2),s=t.slice(0,o).reverse(),a=t.slice(-1*o).reverse(),u="".concat(e.Sizes.slideWidth,"px"),c=0;c<a.length;c++)i.appendChild(a[c]);for(var l=0;l<s.length;l++)i.insertBefore(s[l],r[0]);for(var f=0;f<t.length;f++)t[f].style.width=u},remove:function(){for(var t=this.items,n=0;n<t.length;n++)e.Html.wrapper.removeChild(t[n])}};return b(i,"grow",{get:function(){return(e.Sizes.slideWidth+e.Gaps.value)*i.items.length}}),n.on("update",(function(){i.remove(),i.mount(),i.append()})),n.on("build.before",(function(){t.isType("carousel")&&i.append()})),n.on("destroy",(function(){i.remove()})),i},Resize:function(t,e,n){var i=new R,r={mount:function(){this.bind()},bind:function(){i.on("resize",window,H((function(){n.emit("resize")}),t.settings.throttle))},unbind:function(){i.off("resize",window)}};return n.on("destroy",(function(){r.unbind(),i.destroy()})),r},Build:function(t,e,n){var i={mount:function(){n.emit("build.before"),this.typeClass(),this.activeClass(),n.emit("build.after")},typeClass:function(){e.Html.root.classList.add(t.settings.classes.type[t.settings.type])},activeClass:function(){var n=t.settings.classes,i=e.Html.slides[t.index];i&&(i.classList.add(n.slide.active),T(i).forEach((function(t){t.classList.remove(n.slide.active)})))},removeClasses:function(){var n=t.settings.classes,i=n.type,r=n.slide;e.Html.root.classList.remove(i[t.settings.type]),e.Html.slides.forEach((function(t){t.classList.remove(r.active)}))}};return n.on(["destroy","update"],(function(){i.removeClasses()})),n.on(["resize","update"],(function(){i.mount()})),n.on("move.after",(function(){i.activeClass()})),i},Run:function(t,e,n){var i={mount:function(){this._o=!1},make:function(i){var r=this;t.disabled||(!t.settings.waitForTransition||t.disable(),this.move=i,n.emit("run.before",this.move),this.calculate(),n.emit("run",this.move),e.Transition.after((function(){r.isStart()&&n.emit("run.start",r.move),r.isEnd()&&n.emit("run.end",r.move),r.isOffset()&&(r._o=!1,n.emit("run.offset",r.move)),n.emit("run.after",r.move),t.enable()})))},calculate:function(){var e=this.move,n=this.length,r=e.steps,o=e.direction,s=1;if("="===o)return t.settings.bound&&d(r)>n?void(t.index=n):void(t.index=r);if(">"!==o||">"!==r)if("<"!==o||"<"!==r){if("|"===o&&(s=t.settings.perView||1),">"===o||"|"===o&&">"===r){var a=function(e){var n=t.index;if(t.isType("carousel"))return n+e;return n+(e-n%e)}(s);return a>n&&(this._o=!0),void(t.index=function(e,n){var r=i.length;if(e<=r)return e;if(t.isType("carousel"))return e-(r+1);if(t.settings.rewind)return i.isBound()&&!i.isEnd()?r:0;if(i.isBound())return r;return Math.floor(r/n)*n}(a,s))}if("<"===o||"|"===o&&"<"===r){var u=function(e){var n=t.index;if(t.isType("carousel"))return n-e;return(Math.ceil(n/e)-1)*e}(s);return u<0&&(this._o=!0),void(t.index=function(e,n){var r=i.length;if(e>=0)return e;if(t.isType("carousel"))return e+(r+1);if(t.settings.rewind)return i.isBound()&&i.isStart()?r:Math.floor(r/n)*n;return 0}(u,s))}f("Invalid direction pattern [".concat(o).concat(r,"] has been used"))}else t.index=0;else t.index=n},isStart:function(){return t.index<=0},isEnd:function(){return t.index>=this.length},isOffset:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:void 0;return t?!!this._o&&("|>"===t?"|"===this.move.direction&&">"===this.move.steps:"|<"===t?"|"===this.move.direction&&"<"===this.move.steps:this.move.direction===t):this._o},isBound:function(){return t.isType("slider")&&"center"!==t.settings.focusAt&&t.settings.bound}};return b(i,"move",{get:function(){return this._m},set:function(t){var e=t.substr(1);this._m={direction:t.substr(0,1),steps:e?d(e)?d(e):e:0}}}),b(i,"length",{get:function(){var n=t.settings,i=e.Html.slides.length;return this.isBound()?i-1-(d(n.perView)-1)+d(n.focusAt):i-1}}),b(i,"offset",{get:function(){return this._o}}),i},Swipe:function(t,e,n){var i=new R,r=0,o=0,s=0,a=!1,u=!!q&&{passive:!0},c={mount:function(){this.bindSwipeStart()},start:function(e){if(!a&&!t.disabled){this.disable();var i=this.touches(e);r=null,o=d(i.pageX),s=d(i.pageY),this.bindSwipeMove(),this.bindSwipeEnd(),n.emit("swipe.start")}},move:function(i){if(!t.disabled){var a=t.settings,u=a.touchAngle,c=a.touchRatio,l=a.classes,f=this.touches(i),h=d(f.pageX)-o,v=d(f.pageY)-s,p=Math.abs(h<<2),m=Math.abs(v<<2),g=Math.sqrt(p+m),y=Math.sqrt(m);if(!(180*(r=Math.asin(y/g))/Math.PI<u))return!1;i.stopPropagation(),e.Move.make(h*parseFloat(c)),e.Html.root.classList.add(l.dragging),n.emit("swipe.move")}},end:function(i){if(!t.disabled){var s=t.settings,a=s.perSwipe,u=s.touchAngle,c=s.classes,l=this.touches(i),f=this.threshold(i),d=l.pageX-o,h=180*r/Math.PI;this.enable(),d>f&&h<u?e.Run.make(e.Direction.resolve("".concat(a,"<"))):d<-f&&h<u?e.Run.make(e.Direction.resolve("".concat(a,">"))):e.Move.make(),e.Html.root.classList.remove(c.dragging),this.unbindSwipeMove(),this.unbindSwipeEnd(),n.emit("swipe.end")}},bindSwipeStart:function(){var n=this,r=t.settings,o=r.swipeThreshold,s=r.dragThreshold;o&&i.on(I[0],e.Html.wrapper,(function(t){n.start(t)}),u),s&&i.on(I[1],e.Html.wrapper,(function(t){n.start(t)}),u)},unbindSwipeStart:function(){i.off(I[0],e.Html.wrapper,u),i.off(I[1],e.Html.wrapper,u)},bindSwipeMove:function(){var n=this;i.on(V,e.Html.wrapper,H((function(t){n.move(t)}),t.settings.throttle),u)},unbindSwipeMove:function(){i.off(V,e.Html.wrapper,u)},bindSwipeEnd:function(){var t=this;i.on(G,e.Html.wrapper,(function(e){t.end(e)}))},unbindSwipeEnd:function(){i.off(G,e.Html.wrapper)},touches:function(t){return F.indexOf(t.type)>-1?t:t.touches[0]||t.changedTouches[0]},threshold:function(e){var n=t.settings;return F.indexOf(e.type)>-1?n.dragThreshold:n.swipeThreshold},enable:function(){return a=!1,e.Transition.enable(),this},disable:function(){return a=!0,e.Transition.disable(),this}};return n.on("build.after",(function(){e.Html.root.classList.add(t.settings.classes.swipeable)})),n.on("destroy",(function(){c.unbindSwipeStart(),c.unbindSwipeMove(),c.unbindSwipeEnd(),i.destroy()})),c},Images:function(t,e,n){var i=new R,r={mount:function(){this.bind()},bind:function(){i.on("dragstart",e.Html.wrapper,this.dragstart)},unbind:function(){i.off("dragstart",e.Html.wrapper)},dragstart:function(t){t.preventDefault()}};return n.on("destroy",(function(){r.unbind(),i.destroy()})),r},Anchors:function(t,e,n){var i=new R,r=!1,o=!1,s={mount:function(){this._a=e.Html.wrapper.querySelectorAll("a"),this.bind()},bind:function(){i.on("click",e.Html.wrapper,this.click)},unbind:function(){i.off("click",e.Html.wrapper)},click:function(t){o&&(t.stopPropagation(),t.preventDefault())},detach:function(){if(o=!0,!r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!1;r=!0}return this},attach:function(){if(o=!1,r){for(var t=0;t<this.items.length;t++)this.items[t].draggable=!0;r=!1}return this}};return b(s,"items",{get:function(){return s._a}}),n.on("swipe.move",(function(){s.detach()})),n.on("swipe.end",(function(){e.Transition.after((function(){s.attach()}))})),n.on("destroy",(function(){s.attach(),s.unbind(),i.destroy()})),s},Controls:function(t,e,n){var i=new R,r=!!q&&{passive:!0},o={mount:function(){this._n=e.Html.root.querySelectorAll('[data-glide-el="
255controls[nav]"]'),this._c=e.Html.root.querySelectorAll(N),this._arrowControls={previous:e.Html.root.querySelectorAll(Y),next:e.Html.root.querySelectorAll(X)},this.addBindings()},setActive:function(){for(var t=0;t<this._n.length;t++)this.addClass(this._n[t].children)},removeActive:function(){for(var t=0;t<this._n.length;t++)this.removeClass(this._n[t].children)},addClass:function(e){var n=t.settings,i=e[t.index];i&&i&&(i.classList.add(n.classes.nav.active),T(i).forEach((function(t){t.classList.remove(n.classes.nav.active)})))},removeClass:function(e){var n=e[t.index];n&&n.classList.remove(t.settings.classes.nav.active)},setArrowState:function(){if(!t.settings.rewind){var n=o._arrowControls.next,i=o._arrowControls.previous;this.resetArrowState(n,i),0===t.index&&this.disableArrow(i),t.index===e.Run.length&&this.disableArrow(n)}},resetArrowState:function(){for(var e=t.settings,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];i.forEach((function(t){A(t).forEach((function(t){t.classList.remove(e.classes.arrow.disabled)}))}))},disableArrow:function(){for(var e=t.settings,n=arguments.length,i=new Array(n),r=0;r<n;r++)i[r]=arguments[r];i.forEach((function(t){A(t).forEach((function(t){t.classList.add(e.classes.arrow.disabled)}))}))},addBindings:function(){for(var t=0;t<this._c.length;t++)this.bind(this._c[t].children)},removeBindings:function(){for(var t=0;t<this._c.length;t++)this.unbind(this._c[t].children)},bind:function(t){for(var e=0;e<t.length;e++)i.on("click",t[e],this.click),i.on("touchstart",t[e],this.click,r)},unbind:function(t){for(var e=0;e<t.length;e++)i.off(["click","touchstart"],t[e])},click:function(t){q||"touchstart"!==t.type||t.preventDefault();var n=t.currentTarget.getAttribute("data-glide-dir");e.Run.make(e.Direction.resolve(n))}};return b(o,"items",{get:function(){return o._c}}),n.on(["mount.after","move.after"],(function(){o.setActive()})),n.on(["mount.after","run"],(function(){o.setArrowState()})),n.on("destroy",(function(){o.removeBindings(),o.removeActive(),i.destroy()})),o},Keyboard:function(t,e,n){var i=new R,r={mount:function(){t.settings.keyboard&&this.bind()},bind:function(){i.on("keyup",document,this.press)},unbind:function(){i.off("keyup",document)},press:function(n){var i=t.settings.perSwipe;"ArrowRight"===n.code&&e.Run.make(e.Direction.resolve("".concat(i,">"))),"ArrowLeft"===n.code&&e.Run.make(e.Direction.resolve("".concat(i,"<")))}};return n.on(["destroy","update"],(function(){r.unbind()})),n.on("update",(function(){r.mount()})),n.on("destroy",(function(){i.destroy()})),r},Autoplay:function(t,e,n){var i=new R,r={mount:function(){this.enable(),this.start(),t.settings.hoverpause&&this.bind()},enable:function(){this._e=!0},disable:function(){this._e=!1},start:function(){var i=this;this._e&&(this.enable(),t.settings.autoplay&&m(this._i)&&(this._i=setInterval((function(){i.stop(),e.Run.make(">"),i.start(),n.emit("autoplay")}),this.time)))},stop:function(){this._i=clearInterval(this._i)},bind:function(){var t=this;i.on("mouseover",e.Html.root,(function(){t._e&&t.stop()})),i.on("mouseout",e.Html.root,(function(){t._e&&t.start()}))},unbind:function(){i.off(["mouseover","mouseout"],e.Html.root)}};return b(r,"time",{get:function(){var n=e.Html.slides[t.index].getAttribute("data-glide-autoplay");return d(n||t.settings.autoplay)}}),n.on(["destroy","update"],(function(){r.unbind()})),n.on(["run.before","swipe.start","update"],(function(){r.stop()})),n.on(["pause","destroy"],(function(){r.disable(),r.stop()})),n.on(["run.after","swipe.end"],(function(){r.start()})),n.on(["play"],(function(){r.enable(),r.start()})),n.on("update",(function(){r.mount()})),n.on("destroy",(function(){i.destroy()})),r},Breakpoints:function(t,e,n){var i=new R,r=t.settings,o=K(r.breakpoints),s=Object.assign({},r),a={match:function(t){if(void 0!==window.matchMedia)for(var e in t)if(t.hasOwnProperty(e)&&window.matchMedia("(max-width: ".concat(e,"px)")).matches)return t[e];return s}};return Object.assign(r,a.match(o)),i.on("resize",window,H((function(){t.settings=w(r,a.match(o))}),t.settings.throttle)),n.on("update",(function(){o=K(o),s=Object.assign({},r)})),n.on("destroy",(function(){i.off("resize",window)})),a}};return function(t){!function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&o(t,e)}(s,t);var n=a(s);function s(){return e(this,s),n.apply(this,arguments)}return i(s,[{key:"mount",value:function(){var t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{};return c(r(s.prototype),"mount",this).call(this,Object.assign({},J,t))}}]),s}(k)})); 256/* End */ 257; 258; /* Start:"a:4:{s:4:"full";s:77:"/bitrix/templates/landing/js/include_areas/solutions_slider.js?17556879773592";s:6:"source";s:62:"/bitrix/templates/landing/js/include_areas/solutions_slider.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 259;(function() { 260 'use strict'; 261 262 function InfinitySliderInitialization() 263 { 264 let sliders = document.querySelectorAll('[data-role="infinity-slider"]:not([data-initialized="true"])'); 265 for (let i = 0; i < sliders.length; i++) 266 { 267 new InfinitySlider({node: sliders[i]}); 268 } 269 } 270 271 function InfinitySlider(object) 272 { 273 this.falbackTimeoutId = null; 274 275 this.attributes = { 276 id: 'data-glide-id', 277 initialized: 'data-initialized', 278 }; 279 280 this.classes = { 281 slider: 'glide', 282 track: 'glide__track', 283 slides: 'glide__slides', 284 slide: 'glide__slide', 285 }; 286 287 this.slider = { 288 object: null 289 }; 290 291 this.nodes = { 292 slider: null, 293 track: null, 294 slides: null, 295 slide: [], 296 }; 297 298 if (!BX.type.isElementNode(object.node)) 299 { 300 return; 301 } 302 303 this.nodes.slider = object.node; 304 305 this.nodes.track = this.nodes.slider.querySelector('[data-glide-el="track"]'); 306 this.nodes.slides = this.nodes.slider.querySelector('[data-glide-el="slides"]'); 307 308 let slide = this.nodes.slider.querySelectorAll('[data-glide-el="slide"]'); 309 this.nodes.slide = Array.prototype.slice.call(slide); 310 311 this.id = BX.util.getRandomString(5); 312 this.nodes.slider.setAttribute(this.attributes.id, this.id); 313 this.nodes.slider.setAttribute('data-initialized', 'true'); 314 315 BX.bind(window, 'resize', BX.delegate(this.onResize, this)); 316 this.onResize(); 317 } 318 319 InfinitySlider.prototype = { 320 onResize: function(event) { 321 clearTimeout(this.falbackTimeoutId); 322 this.falbackTimeoutId = setTimeout(function() { 323 if (window.innerWidth > 768) 324 { 325 this.makeSlider(); 326 } 327 else 328 { 329 this.destroySlider(); 330 } 331 }.bind(this), 250); 332 }, 333 makeSlider: function() { 334 if (!this.slider.object) { 335 BX.addClass(this.nodes.slider, this.classes.slider); 336 BX.addClass(this.nodes.track, this.classes.track); 337 BX.addClass(this.nodes.slides, this.classes.slides); 338 339 this.slider.object = new Glide(`[data-glide-id="${this.id}"]`, { 340 type: 'carousel', 341 startAt: 0, 342 perView: 7, 343 gap: 15, 344 hoverpause: false, 345 keyboard: false, 346 animationDuration: 10000, 347 animationTimingFunc: 'linear', 348 swipeThreshold: false, 349 dragThreshold: false, 350 }).mount(); 351 } 352 }, 353 destroySlider: function() { 354 if (this.slider.object) 355 { 356 BX.removeClass(this.nodes.slider, this.classes.slider); 357 BX.removeClass(this.nodes.track, this.classes.track); 358 BX.removeClass(this.nodes.slides, this.classes.slides); 359 360 this.slider.object.settings.autoplay = 0; 361 this.slider.object.settings.animationDuration = 0; 362 this.slider.object.pause(); 363 this.slider.object.destroy(); 364 this.slider.object = null; 365 } 366 }, 367 }; 368 369 BX.ready(function() { 370 InfinitySliderInitialization(); 371 372 function initializeGlide(selector, options) { 373 const glide = new Glide(selector, options); 374 glide.mount(); 375 } 376 377 const sliderOptions = { 378 type: 'carousel', 379 animationDuration: 500, 380 animationTimingFunc: "ease-in-out", 381 duration: 10, 382 animationTime: 2, 383 perView: 1, 384 gap: 10, 385 autoplay: false, 386 }; 387 388 $(window).on('load', () => { 389 const sliders = ['.solutions-slider__glide']; 390
391 sliders.forEach((selector) => { 392 initializeGlide(selector, sliderOptions); 393 }); 394 }); 395 }); 396})(); 397/* End */ 398; 399; /* Start:"a:4:{s:4:"full";s:88:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_impact.js?17791015142531";s:6:"source";s:73:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_impact.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 400document.addEventListener('DOMContentLoaded', () => { 401 const mobileQuery = window.matchMedia('(max-width: 991.98px)'); 402 403 document.querySelectorAll('.bxw-block-impact').forEach((block) => { 404 const slider = block.querySelector('[data-impact-slider]'); 405 const slides = Array.from(block.querySelectorAll('[data-impact-slide]')); 406 const dots = Array.from(block.querySelectorAll('[data-impact-slider-dot]')); 407 const prevButton = block.querySelector('[data-impact-slider-prev]'); 408 const nextButton = block.querySelector('[data-impact-slider-next]'); 409 410 if (!slider || slides.length < 1) { 411 return; 412 } 413 414 let activeIndex = 0; 415 let scrollFrame = null; 416 417 const setActiveDot = (index) => { 418 dots.forEach((dot, dotIndex) => { 419 dot.classList.toggle('is-active', dotIndex === index); 420 }); 421 }; 422 423 const getSlideLeft = (index) => { 424 return slides[index].offsetLeft - slider.offsetLeft; 425 }; 426 427 const goToSlide = (index) => { 428 if (!mobileQuery.matches) { 429 return; 430 } 431 432 activeIndex = (index + slides.length) % slides.length; 433 434 slider.scrollTo({ 435 left: getSlideLeft(activeIndex), 436 behavior: 'smooth', 437 }); 438 439 setActiveDot(activeIndex); 440 }; 441 442 const updateActiveSlide = () => { 443 if (!mobileQuery.matches) { 444 return; 445 } 446 447 const currentLeft = slider.scrollLeft; 448 let closestIndex = 0; 449 let closestDistance = Infinity; 450 451 slides.forEach((slide, index) => { 452 const distance = Math.abs(currentLeft - (slide.offsetLeft - slider.offsetLeft)); 453 454 if (distance < closestDistance) { 455 closestDistance = distance; 456 closestIndex = index; 457 } 458 }); 459 460 activeIndex = closestIndex; 461 setActiveDot(activeIndex); 462 }; 463 464 dots.forEach((dot) => { 465 dot.addEventListener('click', () => { 466 goToSlide(Number(dot.dataset.impactSlideIndex)); 467 }); 468 }); 469 470 prevButton?.addEventListener('click', () => { 471 goToSlide(activeIndex - 1); 472 }); 473 474 nextButton?.addEventListener('click', () => { 475 goToSlide(activeIndex + 1); 476 }); 477 478 479 slider.addEventListener('scroll', () => { 480 if (scrollFrame) { 481 window.cancelAnimationFrame(scrollFrame); 482 } 483 scrollFrame = window.requestAnimationFrame(() => { 484 updateActiveSlide(); 485 scrollFrame = null; 486 }); 487 }); 488 489 mobileQuery.addEventListener('change', () => { 490 if (!mobileQuery.matches) { 491 slider.scrollTo({ left: 0, behavior: 'auto' }); 492 activeIndex = 0; 493 setActiveDot(activeIndex); 494 } 495 }); 496 497 setActiveDot(activeIndex); 498 }); 499}); 500/* End */ 501; 502; /* Start:"a:4:{s:4:"full";s:88:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_unlock.js?17821417861350";s:6:"source";s:73:"/bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_unlock.js";s:3:"min";s:0:"";s:3:"map";s:0:"";}"*/ 503document.addEventListener('DOMContentLoaded', () => { 504 const UNLOCK_CARDS_DELAY = 4000; 505 506 document.querySelectorAll('.unlock').forEach((unlock) => { 507 const items = [...unlock.querySelectorAll('.unlock__box-item[data-type]')]; 508 509 if (!items.length) { 510 return; 511 } 512 513 let activeIndex = 0; 514 515 const isVisible = (item) => { 516 return item.getClientRects().length > 0 && getComputedStyle(item).visibility !== 'hidden'; 517 }; 518 519 const getVisibleItems = () => { 520 return items.filter(isVisible); 521 }; 522 523 const getVisibleTypes = (visibleItems) => { 524 return [...new Set( 525 visibleItems 526 .map((item) => item.dataset.type) 527 .filter(Boolean) 528 )]; 529 }; 530 531 const setActiveType = () => { 532 const visibleItems = getVisibleItems(); 533 const visibleTypes = getVisibleTypes(visibleItems); 534 535 items.forEach((item) => { 536 item.classList.remove('is-active'); 537 }); 538 539 if (!visibleTypes.length) { 540 return; 541 } 542
543 if (activeIndex >= visibleTypes.length) { 544 activeIndex = 0; 545 } 546 547 const activeType = visibleTypes[activeIndex]; 548 549 visibleItems.forEach((item) => { 550 item.classList.toggle('is-active', item.dataset.type === activeType); 551 }); 552 553 activeIndex = (activeIndex + 1) % visibleTypes.length; 554 }; 555 556 setActiveType(); 557 setInterval(setActiveType, UNLOCK_CARDS_DELAY); 558 559 window.addEventListener('resize', setActiveType); 560 }); 561}); 562 563/* End */ 564;; /* /bitrix/templates/bitrix24_2017/js/include/bitrix24/main/header.main.banner.v1.min.js?16354095135242*/ 565; /* /bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_price_calculator.js?17797178377622*/ 566; /* /bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_trust.min.js?17849101594031*/ 567; /* /bitrix/content_vendors/glide/dist/js/glide.min.js?170903814227559*/ 568; /* /bitrix/templates/landing/js/include_areas/solutions_slider.js?17556879773592*/ 569; /* /bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_impact.js?17791015142531*/ 570; /* /bitrix/templates/landing/js/include_areas/bxw_blocks/bxw_block_unlock.js?17821417861350*/
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.