/*! For license information please see index.js.LICENSE.txt */
!function(){var t={d:function(e,r){for(var n in r)t.o(r,n)&&!t.o(e,n)&&Object.defineProperty(e,n,{enumerable:!0,get:r[n]})},o:function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},r:function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})}},e={};!function(){"use strict";function r(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return n(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?n(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function o(t,e){return"".concat(t,"_").concat(e)}function a(){return"".concat(window.location.origin).concat(window.location.pathname)}function i(t){for(var e=[],n=0,a=Object.entries(t);n<a.length;n++){var i=r(a[n],2),c=(i[0],i[1]);c.variantName&&e.push(o(c.experimentName,c.variantName))}return e.join("+")}function c(){return window.location.search.includes("abpreview=true")}t.r(e),t.d(e,{start:function(){return nt}});var u="getActiveExperiment",s="getVariantToExperiment",l="abtests/api/v1/preview";function f(t){if(c())return function(t){var e=new URLSearchParams(window.location.search).get("experiment"),r=new URL("".concat(t,"/").concat(l,"/experiment/").concat(e));return d(fetch(r.toString(),{method:"GET",mode:"cors"}),u)}(t);var e=new URL("".concat(t,"/").concat("abtests/api/v1/experiments/active"));return d(fetch(e.toString(),{method:"GET",mode:"cors"}),u)}function h(t,e){if(c())return function(t){var e=new URLSearchParams(window.location.search).get("variant"),r=new URL("".concat(t,"/").concat(l,"/variant/").concat(e));return d(fetch(r.toString(),{method:"GET",mode:"cors"}),s)}(t);var r=new URL("".concat(t,"/").concat("abtests/api/v1/variants/select","?experimentId=").concat(e));return d(fetch(r.toString(),{method:"GET",mode:"cors"}),s)}function d(t,e){return t.then((function(t){return 200!=t.status?(console.log("".concat(e,": ошибка получения данных")),null):t.json()})).catch((function(){return console.log("".concat(e,": ошибка получения данных")),null}))}function p(t){return"function"==typeof t}var m=function(t){p(t)&&("loading"===document.readyState?document.addEventListener?document.addEventListener("DOMContentLoaded",t):document.onreadystatechange=function(){"loading"!==document.readyState&&t()}:t())};function v(t,e,r){"undefined"!=typeof Kontur&&void 0!==Kontur.Module&&Kontur.Module(t,e,r)}class g{static wordEndingByNumber(t,e,r,n){return(t=Math.abs(t)%100)>20&&(t%=10),1===t?e:t>1&&t<5?r:n}static separateThousandsInNumber(t,e){return t.toString().replace(/\B(?=(\d{3})+(?!\d))/g,e||"&nbsp;")}static numberWithLeadingZeros(t,e){const r=Array(e+1).join("0"),n=t.toString();if(n.length>=e)return n;const o=r+n,a=o.length-e;return o.slice(a)}static trimSpaces(t){return t?t.replace(/^\s+|\s+$/g,""):t}}v("Kontur.StringHelper",(function(){this.wordEndingByNumber=g.wordEndingByNumber,this.separateThousandsInNumber=g.separateThousandsInNumber,this.numberWithLeadingZeros=g.numberWithLeadingZeros,this.trimSpaces=g.trimSpaces}));class y{static getSiteUrl(){return this.siteUrl}static setSiteUrl(t){this.siteUrl=t}static addParameter(t,e,r){return this.#t(e,r)?this.#e(t,(t=>this.#r(t,e,r))):t}static addParameters(t,e){return e=e||{},this.#e(t,(t=>{let r=t;for(let t in e){const n=e[t];this.#t(t,n)&&(r=this.#r(r,t,n))}return r}))}static#r(t,e,r){let n="",o=t.split("?");const a=o[0],i=o[1];let c="";if(i){o=i.split("&");for(let t=0;t<o.length;t++)o[t].split("=")[0].toLowerCase()!==e.toLowerCase()&&(n+=c+o[t],c="&")}return a+"?"+n+(c+e)+"="+r}static#e(t,e){let r="";const n=t.indexOf("#");return-1!==n&&(r=t.substring(n),t=t.substring(0,n)),e(t)+r}static#t(t,e){return Boolean(t)&&Boolean(e)}static toAbsoluteUrl(t,e){const r=this.removeTrailingSlash(t)+"/"+this.trimSlashes(e);return this.removeTrailingSlash(r)}static removeTrailingSlash(t){return t.replace(/\/+$/g,"")}static trimSlashes(t){return t.replace(/^[\/]+|[\/]+$/g,"")}static removeParameters(t){return t.replace(/\?.*$/g,"")}static getQueryParams(){return this.getParameters(window.location.href)}static isRelative(t){return this.#n(t,"/")&&!this.#n(t,"//")}static getPath(t){return t.replace(/^(?:\/\/|[^\/]+)*\//,"/")}static getParameters(t){if("string"!=typeof t||-1===t.indexOf("?"))return{};const e=t.indexOf("#");-1!==e&&(t=t.substring(0,e));const r={},n=t.slice(t.indexOf("?")+1).split("&");for(let t=0;t<n.length;t++){const e=n[t].split("=");r[e[0]]=void 0===e[1]?"":e[1]}return r}static getUrlParts(t){const e=document.createElement("a");return e.href=t,e.href=e.href,{href:e.href,host:e.host,hostname:e.hostname,port:e.port,pathname:0==e.pathname.indexOf("/")?e.pathname:"/"+e.pathname,protocol:e.protocol,hash:e.hash,search:e.search}}static toRelativeUrl(t){const e=this.getUrlParts(t);return e.pathname+e.search+e.hash}static#n(t,e){return 0===t.lastIndexOf(e,0)}}v("Kontur.UrlHelper",(function(){const t=this;t.getSiteUrl=function(){return y.getSiteUrl()},t.setSiteUrl=function(t){y.setSiteUrl(t)},t.addParameter=function(t,e,r){return y.addParameter(t,e,r)},t.addParameters=function(t,e){return y.addParameters(t,e)},t.toAbsoluteUrl=function(t,e){return y.toAbsoluteUrl(t,e)},t.removeTrailingSlash=function(t){return y.removeTrailingSlash(t)},t.trimSlashes=function(t){return y.trimSlashes(t)},t.removeParameters=function(t){return y.removeParameters(t)},t.getQueryParams=function(){return y.getQueryParams()},t.isRelative=function(t){return y.isRelative(t)},t.getPath=function(t){return y.getPath(t)},t.getParameters=function(t){return y.getParameters(t)},t.getUrlParts=function(t){return y.getUrlParts(t)},t.toRelativeUrl=function(t){return y.toRelativeUrl(t)}}));class w{static setCookie(t,e,r,n,o){let a=t+"="+e;if(void 0!==r){const t=new Date;t.setTime(t.getTime()+24*r*60*60*1e3),a=a+";expires="+t.toUTCString()}void 0===n?a+=";path=/":a=a+";path="+n,void 0!==o&&(a=a+";domain="+o),document.cookie=a}static getCookie(t){const e=document.cookie.match(new RegExp("(?:^|; )"+t.replace(/([\.$?*|{}\(\)\[\]\\\/\+^])/g,"\\$1")+"=([^;]*)"));return e?decodeURIComponent(e[1]):void 0}}function b(...t){const e=S();return null!==e&&(e(...t),!0)}function S(){const t=window.ga;return p(t)?t:null}function x(){return!!S()}v("Kontur.Cookie",(function(){this.setCookie=w.setCookie,this.getCookie=w.getCookie}));const E="events";function P(t,e,r,n){const o={hitType:"event",eventCategory:r||E};return t&&(o.eventAction=t),e&&(o.eventValue=parseInt(e)||0),n&&(o.eventLabel=n),o}const L=function(t,e,r,n){const o=function(t,e,r,n){const o=["_trackEvent",r||E,t];return n&&o.push(n),e&&o.push(e),o}(t,e,r,n);j().push(o),x()&&b("send",P(t,e,r,n))},O=function(t){x()?(b("set","page",t),b("send","pageview")):j().push(["_trackPageview",t])},U=function(t,e){const r=window.Kontur?.GaDimensions?.getDimensions;if(!r||!p(r))return;const n=$.inArray(t,r());if(-1==n)return;const o=S()||function(){window.console&&window.console.log&&window.console.log(arguments)};o("set","dimension"+(n+1),e)};function j(){return window._gaq=window._gaq||[]}const N=function(t,e,r,n){const o=P(null,e,r,n),a=T();a?a.reachGoal(t,o):(window.pageEvents=window.pageEvents||[],window.pageEvents.push(t))},k=function(t){const e=T();e&&e.hit(t)};let I;function T(){return(I=I||function(){for(let t in window)if(window.hasOwnProperty(t)&&0===t.indexOf("yaCounter"))return t;return null}())?window[I]:null}class _{static defaultProjectName="web_sites";static sendEvent(t,e,r,n){const o=function(t,e,r,n){const o=["trackEvent",t,e];return(n||r)&&(o.push(n),o.push(r)),o}(t||"events",e,r,n);(function(t){const e=`${t}Queue`;return window[e]?window[e]:window[e]=[]})(_.defaultProjectName).push(o)}}const C=function(t,e){const r=document.querySelector('[src^="//counter.yadro.ru"]');var n;r&&(n=function(t){return t.src.match(/(\/\/counter.yadro.ru\/hit\?.*?)r/)[1]}(r)+function(t,e){const r=window.location.origin,n=window.screen,o=window.document;return"r"+window.escape(e||o.referrer)+(void 0!==n?";s"+n.width+"*"+n.height+"*"+(n.colorDepth?n.colorDepth:n.pixelDepth):"")+(";u"+window.escape(r+t))+(";"+window.Math.random())}(t,e),window.document.createElement("img").src=n)},A=function(t,e){G().push({...e,event:t})},R=function(){return!(!window.Kontur||!("GoogleTagManagerStrictMode"in window.Kontur))};function G(){return window.dataLayer=window.dataLayer||[]}const M={getCleanEventName:W,getEventNameFromUrl:function(t){return t.replace(/\?.+=.+/,"").replace(/^.*:\/\/[^\/]+/,"")},initialize:function(){D||(window.loadScriptAsync=function(t){const e=document.createElement("script");e.type="text/javascript",e.async=!0,e.src=t;const r=document.getElementsByTagName("script")[0];r.parentNode.insertBefore(e,r)},window.RegisterPageEvent=B,D=!0)},registerPageEvent:B,registerPageView:function(t,e){m((function(){O(t),k(t),C(t,e),window.console?.info(`page view was registered: ${t} (referrer: ${e})`)}))},setCustomParameter:function(t,e){U(t,e)},setEventNameDecorator:function(t){p(t)&&(K=t)}};let K=null;function B(t,e,r,n){m((()=>{const o=W(t);R()?A(o,e):(L(o,e,r,n),N(o,e,r,n),_.sendEvent(r,o,e));const a=window.Kontur?.Counters?.CustomEventHandler;a&&a.sendEvent(o,e,r,n),window.console?.info(`event was registered: ${o}`)}))}let D=!1;function W(t){const e=t.replace(/[&=?#]/g,"").replace(/(\/|-)+/g,"-").replace(/^-+|-+$/g,"");return null!=K?K(e):e}const F="utm";var H="utm_abtest";function Q(t,e,r){var n=function(t,e,r){var n=e.targetUrl,c=window.location.search;if(a()===n){var u=o(t.experimentName,e.variantName);if(c.includes(u))return null}return function(t,e){var r,n=t.split("?"),o=null!==(r=w.getCookie(F))&&void 0!==r?r:"",a=y.addParameter("?"+o,H,e).slice(1);return n.length>1?"".concat(n[0],"?").concat(n[1],"&").concat(a):"".concat(n[0],"?").concat(a)}(n,i(r))}(t,e,r);if(n){if(window.location.href===n)return;window.location.replace(n)}}function q(t){var e=a(),r=t.find((function(t){return t.url===e}));return r&&function(t){switch(t){case"All":return console.log("триггер для всех"),!0;case"Desktop":return console.log("триггер для десктопов"),!0;case"Mobile":return console.log("триггер для мобильных"),!0}return!0}(r.triggers)?r:null}function V(t){var e=JSON.parse(localStorage.getItem("abtest_experiments"))||Object.create({}),r=Object.create({});return t.forEach((function(t){var n=t.experimentId,o=e[n];r[n]=o||{experimentName:t.experimentName}})),r}function Z(t,e,r){var n;n=function(t){var e,r=null!==(e=w.getCookie(F))&&void 0!==e?e:"";if(r.includes(H)){var n="?".concat(r);return y.getParameters(n)[H]!==t?y.addParameter(n,H,t).slice(1):r}return"".concat(r).concat(r?"&":"").concat(H,"=").concat(t)}(i(t)),w.setCookie(F,n,180),function(t,e){var r=document.createElement("script");r.src=function(t,e){if(c()){var r=new URLSearchParams(window.location.search).get("variant");return new URL("".concat(t,"/").concat(l,"/change/").concat(r))}return new URL("".concat(t,"/").concat("abtests/api/v1/changes","?variantId=").concat(e)).toString()}(t,e),r.async=!0,document.body.append(r)}(e,r.variantId),function(t){var e="event-abtest-replace-".concat(o(t.experimentName,t.variantName));M.registerPageEvent(e)}(r)}function J(){return{set:function(){return document.documentElement.setAttribute("style","opacity: 0 !important")},remove:function(){return document.documentElement.setAttribute("style","opacity: 1")}}}function Y(t){return Y="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},Y(t)}function z(){z=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,n=Object.defineProperty||function(t,e,r){t[e]=r.value},o="function"==typeof Symbol?Symbol:{},a=o.iterator||"@@iterator",i=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{u({},"")}catch(t){u=function(t,e,r){return t[e]=r}}function s(t,e,r,o){var a=e&&e.prototype instanceof h?e:h,i=Object.create(a.prototype),c=new L(o||[]);return n(i,"_invoke",{value:S(t,r,c)}),i}function l(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(t){return{type:"throw",arg:t}}}t.wrap=s;var f={};function h(){}function d(){}function p(){}var m={};u(m,a,(function(){return this}));var v=Object.getPrototypeOf,g=v&&v(v(O([])));g&&g!==e&&r.call(g,a)&&(m=g);var y=p.prototype=h.prototype=Object.create(m);function w(t){["next","throw","return"].forEach((function(e){u(t,e,(function(t){return this._invoke(e,t)}))}))}function b(t,e){function o(n,a,i,c){var u=l(t[n],t,a);if("throw"!==u.type){var s=u.arg,f=s.value;return f&&"object"==Y(f)&&r.call(f,"__await")?e.resolve(f.__await).then((function(t){o("next",t,i,c)}),(function(t){o("throw",t,i,c)})):e.resolve(f).then((function(t){s.value=t,i(s)}),(function(t){return o("throw",t,i,c)}))}c(u.arg)}var a;n(this,"_invoke",{value:function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return a=a?a.then(n,n):n()}})}function S(t,e,r){var n="suspendedStart";return function(o,a){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw a;return{value:void 0,done:!0}}for(r.method=o,r.arg=a;;){var i=r.delegate;if(i){var c=x(i,r);if(c){if(c===f)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var u=l(t,e,r);if("normal"===u.type){if(n=r.done?"completed":"suspendedYield",u.arg===f)continue;return{value:u.arg,done:r.done}}"throw"===u.type&&(n="completed",r.method="throw",r.arg=u.arg)}}}function x(t,e){var r=e.method,n=t.iterator[r];if(void 0===n)return e.delegate=null,"throw"===r&&t.iterator.return&&(e.method="return",e.arg=void 0,x(t,e),"throw"===e.method)||"return"!==r&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+r+"' method")),f;var o=l(n,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,f;var a=o.arg;return a?a.done?(e[t.resultName]=a.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,f):a:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,f)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function L(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function O(t){if(t){var e=t[a];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:U}}function U(){return{value:void 0,done:!0}}return d.prototype=p,n(y,"constructor",{value:p,configurable:!0}),n(p,"constructor",{value:d,configurable:!0}),d.displayName=u(p,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===d||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,u(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},w(b.prototype),u(b.prototype,i,(function(){return this})),t.AsyncIterator=b,t.async=function(e,r,n,o,a){void 0===a&&(a=Promise);var i=new b(s(e,r,n,o),a);return t.isGeneratorFunction(r)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},w(y),u(y,c,"Generator"),u(y,a,(function(){return this})),u(y,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=Object(t),r=[];for(var n in e)r.push(n);return r.reverse(),function t(){for(;r.length;){var n=r.pop();if(n in e)return t.value=n,t.done=!1,t}return t.done=!0,t}},t.values=O,L.prototype={constructor:L,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return i.type="throw",i.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var a=this.tryEntries[o],i=a.completion;if("root"===a.tryLoc)return n("end");if(a.tryLoc<=this.prev){var c=r.call(a,"catchLoc"),u=r.call(a,"finallyLoc");if(c&&u){if(this.prev<a.catchLoc)return n(a.catchLoc,!0);if(this.prev<a.finallyLoc)return n(a.finallyLoc)}else if(c){if(this.prev<a.catchLoc)return n(a.catchLoc,!0)}else{if(!u)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return n(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var a=o;break}}a&&("break"===t||"continue"===t)&&a.tryLoc<=e&&e<=a.finallyLoc&&(a=null);var i=a?a.completion:{};return i.type=t,i.arg=e,a?(this.method="next",this.next=a.finallyLoc,f):this.complete(i)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),f},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),P(r),f}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;P(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:O(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),f}},t}function X(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var r=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=r){var n,o,a,i,c=[],u=!0,s=!1;try{if(a=(r=r.call(t)).next,0===e){if(Object(r)!==r)return;u=!1}else for(;!(u=(n=a.call(r)).done)&&(c.push(n.value),c.length!==e);u=!0);}catch(t){s=!0,o=t}finally{try{if(!u&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw o}}return c}}(t,e)||function(t,e){if(t){if("string"==typeof t)return tt(t,e);var r=Object.prototype.toString.call(t).slice(8,-1);return"Object"===r&&t.constructor&&(r=t.constructor.name),"Map"===r||"Set"===r?Array.from(t):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?tt(t,e):void 0}}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function tt(t,e){(null==e||e>t.length)&&(e=t.length);for(var r=0,n=new Array(e);r<e;r++)n[r]=t[r];return n}function et(t,e,r,n,o,a,i){try{var c=t[a](i),u=c.value}catch(t){return void r(t)}c.done?e(u):Promise.resolve(u).then(n,o)}function rt(t){return function(){var e=this,r=arguments;return new Promise((function(n,o){var a=t.apply(e,r);function i(t){et(a,n,o,i,c,"next",t)}function c(t){et(a,n,o,i,c,"throw",t)}i(void 0)}))}}function nt(t){return ot.apply(this,arguments)}function ot(){return(ot=rt(z().mark((function t(e){var r,n,a,i,u,s,l,d;return z().wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return window.WhiteBoxModule=J(),t.next=3,f(e);case 3:if(r=t.sent,!at(n=V(r))){t.next=7;break}return t.abrupt("return");case 7:if(a=q(r)){t.next=11;break}return it(n),t.abrupt("return");case 11:if(i=a.experimentId,u=a.experimentName,(s=n[i]).variantId&&!c()){t.next=28;break}return t.next=17,h(e,i);case 17:if(l=t.sent){t.next=22;break}return it(n),console.error("Не удалось получить вариант для эксперимента: ".concat(a.experimentName)),t.abrupt("return");case 22:s.targetUrl=l.targetUrl,s.variantName=l.variantName,s.variantId=l.variantId,n[i]=s,d="event-abtest-start-".concat(o(u,l.variantName)),M.registerPageEvent(d);case 28:it(n),t.t0=a.experimentType,t.next="Redirect"===t.t0?32:"PageChange"===t.t0?34:36;break;case 32:return Q(a,s,n),t.abrupt("break",36);case 34:return Z(n,e,s),t.abrupt("break",36);case 36:case"end":return t.stop()}}),t)})))).apply(this,arguments)}function at(t){for(var e=a(),r=window.location.search,n=0,i=Object.entries(t);n<i.length;n++){var c=X(i[n],2),u=(c[0],c[1]);if(u.targetUrl&&u.targetUrl.split("?")[0]===e){var s=o(u.experimentName,u.variantName);if(r.includes(s)){var l="event-abtest-jump-".concat(s);return M.registerPageEvent(l),!0}}}return!1}function it(t){localStorage.setItem("abtest_experiments",JSON.stringify(t)),localStorage.setItem("abtest_active",i(t))}}();var r=abTestStarter="undefined"==typeof abTestStarter?{}:abTestStarter;for(var n in e)r[n]=e[n];e.__esModule&&Object.defineProperty(r,"__esModule",{value:!0})}(); 
abTestStarter.start('https://services.kontur.ru')