(function(m,u,A){function F(a,b,c){return function(){try{return a.apply(this,arguments)}catch(d){c||ua(d,b)}}}function ua(a,b){var c;if(.01>Math.random())try{var d=a&&a.message||"";(c=-1<d.indexOf("network error occurred")||-1<d.indexOf("send beacon")&&-1<d.indexOf("Content Security Policy"))||(new Ja).log("jserrs",za,a.message,b,M.href,"","string"===typeof a.stack&&a.stack.replace(/\n/g,"\\n"))}catch(f){}}function G(a,b,c,d){return m.setTimeout(F(a,c||"setTimeout",d),b)}function Ob(a,b,c,d,f){function l(a,
e){e=Math.max(0,Math.min(e,65535));h.mergeArrays(a,[e>>8,e&255])}function g(a,e){h.mergeArrays(a,[e&255])}function n(a,e){if(-1==ja.indexOf(e))return!0;g(a,e)}function r(a,e){for(e=Math.max(0,e|0);127<e;)h.mergeArrays(a,[e&127|128]),e>>=7;h.mergeArrays(a,[e])}function t(a,e){255<e.length&&(e=e.substr(0,255));h.mergeArrays(a,[e.length]);for(var b=0;b<e.length;b++)l(a,e.charCodeAt(b))}function p(a,e){r(a,e.length);for(var b=0;b<e.length;b++)r(a,e.charCodeAt(b))}function B(a){if(!a.nodeName)return a[V]=
-1,null;var e=+a[V];if(!isFinite(e)||0>=e)return null;if(a.attributes)for(var b=a;b;){if(b.attributes.__ym_wv_ign)return null;b=b.parentElement}b=64;var c=0,k=w.getElementParent(a),d=k&&k[V]?k[V]:0;0>d&&(d=0);var f=a.nodeName.toUpperCase(),q=Fa[f];q||(b|=2);var D=w.getElementNeighborPosition(a);D||(b|=4);var p=w.getElementRegion(a);(k=k?w.getElementRegion(k):null)&&p[0]==k[0]&&p[1]==k[1]&&p[2]==k[2]&&p[3]==k[3]&&(b|=8);Ka[e].pos=p[0]+"x"+p[1];Ka[e].size=p[2]+"x"+p[3];a.id&&"string"==typeof a.id&&
(b|=32);(k=w.calcTextChecksum(a))&&(b|=16);var B=w.calcAttribChecksum(a);B&&(c|=2);a:{var z=w.getElementChildren(w.getElementParent(a),a.tagName);for(var H=0;H<z.length;H++)if((!z[H].id||"string"!=typeof z[H].id)&&w.calcAttribChecksum(z[H])==B&&w.calcTextChecksum(z[H])==k){z=!0;break a}z=!1}if(z){b|=1;var h=w.calcChildrenChecksum(a)}z=[];if(n(z,1))return null;r(z,e);g(z,b);r(z,d);q?g(z,q):t(z,f);D&&r(z,D);b&8||(r(z,p[0]),r(z,p[1]),r(z,p[2]),r(z,p[3]));b&32&&t(z,a.id);k&&l(z,k);b&1&&l(z,h);g(z,c);
B&&l(z,B);return z}function q(a,e,b,c,k,d){for(var f;b&&(f=w.getElementSize(b))&&(!f[0]||!f[1]);)b=w.getElementParent(b);if(!b)return null;f=b[V];if(!f||0>f)return null;var q={mousemove:2,click:32,dblclick:33,mousedown:4,mouseup:30,touch:12}[e];if(!q)return null;var p=w.getElementXY(b);b=[];if(n(b,q))return null;r(b,a);r(b,f);r(b,Math.max(0,c[0]-p[0]));r(b,Math.max(0,c[1]-p[1]));/^mouse(up|down)|click$/.test(e)&&(a=k||d,g(b,2>a?1:a==(k?2:4)?4:2));return b}function k(a,e,b,c,k){var d=[];if(n(d,38))return null;
r(d,a);l(d,e);g(d,b);a=c[V];if(!a||0>a)a=0;r(d,a);g(d,k?1:0);return d}function e(a,e){var b;if(0==e.length)var c=b="";else 100>=e.length?(b=e,c=""):200>=e.length?(b=e.substr(0,100),c=e.substr(100)):(b=e.substr(0,97),c=e.substr(e.length-97));var k=[];if(n(k,29))return null;r(k,a);p(k,b);p(k,c);return k}function D(a){var e=[];if(n(e,27))return null;r(e,a);return e}function H(a){var e=[];g(e,14);r(e,a);return e}function z(a){var e=[];if(n(e,15))return null;r(e,a);return e}function ca(a,e){var b=[];if(n(b,
17))return null;r(b,a);r(b,e[V]);return b}function Ta(a,e){var b=[];if(n(b,18))return null;r(b,a);r(b,e[V]);return b}function La(a,e,b,c){var k=[];if(n(k,39))return null;r(k,a);r(k,e[V]);t(k,String(b));g(k,c?1:0);return k}function Ma(a,e){var b=e[V];if(0<b){var c=[],k=w.getElementRegion(e),d=Ka[b],g=k[0]+"x"+k[1],f=k[2]+"x"+k[3];if(g!=d.pos){d.pos=g;if(n(c,9))return null;r(c,a);r(c,b);r(c,k[0]);r(c,k[1])}if(f!=d.size){d.size=f;if(n(c,10))return null;r(c,a);r(c,b);r(c,k[2]);r(c,k[3])}if(c.length)return c}return null}
function N(a){var e=a[V];if(!e||0>e||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||A(a.form))return null;var b=w.getFormNumber(a.form);if(0>b)return null;var c="INPUT"==a.nodeName?{text:0,color:0,date:0,datetime:0,"datetime-local":0,email:0,number:0,range:0,search:0,tel:0,time:0,url:0,month:0,week:0,password:2,radio:3,checkbox:4,file:6,image:7}[a.type]:{SELECT:1,TEXTAREA:5}[a.nodeName];if("number"!=typeof c)return null;for(var k=-1,d=a.form.elements,g=d.length,f=0,q=0;f<g;f++)if(d[f].name==
a.name){if(d[f]==a){k=q;break}q++}if(0>k)return null;d=[];if(n(d,7))return null;r(d,e);r(d,b);r(d,c);p(d,a.name||"");r(d,k);return d}function fb(a,e){var b=w.getFormNumber(e);if(0>b)return null;for(var c=e.elements,k=c.length,d=[],g=0;g<k;g++)if(!w.isEmptyField(c[g])){var f=c[g][V];f&&0<f&&h.mergeArrays(d,[f])}c=[];if(n(c,11))return null;r(c,a);r(c,b);r(c,d.length);for(b=0;b<d.length;b++)r(c,d[b]);return c}function da(a,e,b){a=a.apply(m,e);Q.append(a,b)}function x(a){if(a[V])a=Ma(v.nowEventTime(),
a);else{var e=w.getElementParent(a);e&&x(e);a[V]=aa;Ka[aa]={};aa++;e=B(a);Q.append(e,void 0);a=N(a)}Q.append(a,void 0)}function ma(a,e){var b=a&&w.classNameExists(a,"(ym-disable-keys|-metrika-nokeys)");e&&a&&(b=b||!!w.getElementsByClassName("(ym-disable-keys|-metrika-nokeys)",a).length);return b}function A(a){return a&&w.classNameExists(a,"(ym-disable-submit|-metrika-noform)")}function va(a){var e=X.getTarget(a);if(e&&"SCROLLBAR"!=e.nodeName){if(/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(e.tagName))if(e[V])x(e);
else{var b=e.form;if(b){b=b.elements;for(var c=b.length,k=0;k<c;k++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(b[k].tagName)&&!b[k][V]&&x(b[k])}else x(e)}else x(e);da(q,[v.nowEventTime(),a.type,e,X.getPos(a),a.which,a.button])}}function Ga(a){va(a);W()}function rb(a){return(a.shiftKey?2:0)|(a.ctrlKey?4:0)|(a.altKey?1:0)|(a.metaKey?8:0)|(a.ctrlKey||a.altKey?16:0)}function ba(a){if(!a)return{ignore:!0,forceRecord:!1,isPrivate:!1,privateFlag:!1,recordData:!0};var e="password"===a.type||ka.test(a.name)||ka.test(a.id),
b=h.reduce(function(e,b){return e||la.generalRegex.test(a[b])},!1,["className","id","name"])||la.placeholderRegex.test(a.placeholder),c=la.forceRecordRegex.test(a.className);return{forceRecord:c,ignore:e,isPrivate:b,privateFlag:!c&&(b||e),recordData:c||!(b&&f.get("isEU")||e)}}function ra(a){return"INPUT"==a.tagName?"password"==a.type||a.name&&ka.test(a.name)||a.id&&ka.test(a.id):!1}function O(a,e,b){a=X.getTarget(a);var c=ba(a);c.ignore||!c.forceRecord&&(c.isPrivate&&f.get("isEU")||ma(a))||(x(a),
da(k,[v.nowEventTime(),e,b,a,c.privateFlag]))}function Y(a){var e=a.keyCode,b=rb(a);if({3:1,8:1,9:1,13:1,16:1,17:1,18:1,19:1,20:1,27:1,33:1,34:1,35:1,36:1,37:1,38:1,39:1,40:1,45:1,46:1,91:1,92:1,93:1,106:1,110:1,111:1,144:1,145:1}[e]||112<=e&&123>=e||96<=e&&105>=e||b&16)19==e&&4==(b&-17)&&(e=144),O(a,e,b|16),Ha=!1,h.setTimeout(function(){Ha=!0},1,"fvl.keyDown"),!(67==e&&b&4)||b&1||b&2||Z()}function fa(a){Ha&&!Aa&&0!==a.which&&(O(a,a.charCode||a.keyCode,rb(a)),Aa=!0,h.setTimeout(function(){Aa=!1},
1,"fvl.keyPress"))}function W(){if(m.getSelection){try{var a=m.getSelection()}catch(Pb){return}var b=a.toString();var c=a.anchorNode}else u.selection&&u.selection.createRange&&(a=u.selection.createRange(),b=a.text,c=a.parentElement());if("string"==typeof b){try{for(;c&&1!=c.nodeType;)c=c.parentNode}catch(Pb){return}if(c){a=ba(c).privateFlag||ma(c,!0);c=c.getElementsByTagName("*");for(var k=0;k<c.length&&!a;)a=ba(c[k]).privateFlag||ma(c[k],!0),k++;b!=Na&&(Na=b,b=a?h.map(function(){return la.obfuscatedSymbol},
b.split("")).join(""):b,da(e,[v.nowEventTime(),b]))}}}function Z(){Oa||(Oa=!0,Na&&da(D,[v.nowEventTime()]),h.setTimeout(function(){Oa=!1},1,"fvl.copy"))}function P(){sa||(sa=!0,da(H,[v.nowEventTime()]))}function C(){sa&&(sa=!1,da(z,[v.nowEventTime()]))}function E(a){(!sa||a&&!a.fromElement)&&P()}function K(a){a&&!a.toElement&&C()}function F(a){if((a=X.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[V])x(a);else{var e=a.form;if(e){e=e.elements;for(var b=e.length,c=0;c<b;c++)/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(e[c].tagName)&&
!e[c][V]&&x(e[c])}else x(a)}da(ca,[v.nowEventTime(),a])}}function G(a){(a=X.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)&&(x(a),da(Ta,[v.nowEventTime(),a]))}function J(a){if((a=X.getTarget(a))&&!ra(a)&&!ma(a)&&/^INPUT|SELECT|TEXTAREA$/.test(a.tagName)){var e=ba(a),b=/^(checkbox|radio)$/.test(a.type)?a.checked:a.value;b=e.recordData?b:h.map(function(){return la.obfuscatedSymbol},b.split("")).join("");x(a);da(La,[v.nowEventTime(),a,b,e.privateFlag])}}function M(a){if((a=X.getTarget(a))&&
!A(a)&&"FORM"==a.nodeName){for(var e=a.elements,b=0;b<e.length;b++)w.isEmptyField(e[b])||x(e[b]);da(fb,[v.nowEventTime(),a],!0)}}function I(a){(a=X.getTarget(a))&&"BODY"==a.tagName&&Q.append([],!0)}var Q=new sb({protocol:a,counterId:b,globalConfig:f,counterType:c,meta:{url:L().href,hitId:d,timezone:gb,timestamp:hb}}),Fa={A:1,ABBR:2,ACRONYM:3,ADDRESS:4,APPLET:5,AREA:6,B:7,BASE:8,BASEFONT:9,BDO:10,BIG:11,BLOCKQUOTE:12,BODY:13,BR:14,BUTTON:15,CAPTION:16,CENTER:17,CITE:18,CODE:19,COL:20,COLGROUP:21,DD:22,
DEL:23,DFN:24,DIR:25,DIV:26,DL:27,DT:28,EM:29,FIELDSET:30,FONT:31,FORM:32,FRAME:33,FRAMESET:34,H1:35,H2:36,H3:37,H4:38,H5:39,H6:40,HEAD:41,HR:42,HTML:43,I:44,IFRAME:45,IMG:46,INPUT:47,INS:48,ISINDEX:49,KBD:50,LABEL:51,LEGEND:52,LI:53,LINK:54,MAP:55,MENU:56,META:57,NOFRAMES:58,NOSCRIPT:59,OBJECT:60,OL:61,OPTGROUP:62,OPTION:63,P:64,PARAM:65,PRE:66,Q:67,S:68,SAMP:69,SCRIPT:70,SELECT:71,SMALL:72,SPAN:73,STRIKE:74,STRONG:75,STYLE:76,SUB:77,SUP:78,TABLE:79,TBODY:80,TD:81,TEXTAREA:82,TFOOT:83,TH:84,THEAD:85,
TITLE:86,TR:87,TT:88,U:89,UL:90,VAR:91,NOINDEX:100},ja=[17,18,38,32,39,15,11,7,1],la=function(){var a="first(-|\\.|_|\\s){0,2}name last(-|\\.|_|\\s){0,2}name zip postal phone address passport (bank|credit)(-|\\.|_|\\s){0,2}card card(-|\\.|_|\\s){0,2}number card(-|\\.|_|\\s){0,2}holder cvv card(-|\\.|_|\\s){0,2}exp card(-|\\.|_|\\s){0,2}name card.*month card.*year card.*month card.*year password email birth(-|\\.|_|\\s){0,2}(day|date) second(-|\\.|_|\\s){0,2}name third(-|\\.|_|\\s){0,2}name patronymic middle(-|\\.|_|\\s){0,2}name birth(-|\\.|_|\\s){0,2}place house street city flat state".split(" ");
return{generalRegex:new RegExp("("+a.join("|")+")","i"),placeholderRegex:new RegExp("("+a.concat("\u0438\u043c\u044f;\u0444\u0430\u043c\u0438\u043b\u0438\u044f;\u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e;\u0438\u043d\u0434\u0435\u043a\u0441;\u0442\u0435\u043b\u0435\u0444\u043e\u043d;\u0430\u0434\u0440\u0435\u0441;\u043f\u0430\u0441\u043f\u043e\u0440\u0442;\u041d\u043e\u043c\u0435\u0440(-|\\.|_|\\s){0,2}\u043a\u0430\u0440\u0442\u044b;\u0434\u0430\u0442\u0430(-|\\.|_|\\s){0,2} \u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f;\u0434\u043e\u043c;\u0443\u043b\u0438\u0446\u0430;\u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430;\u0433\u043e\u0440\u043e\u0434;\u043e\u0431\u043b\u0430\u0441\u0442\u044c".split(";")).join("|")+
")","i"),forceRecordRegex:/ym-record-keys/i,obfuscatedSymbol:String.fromCharCode(8226),obfuscatedKeyCode:88}}(),aa=1,ka=/^(password|passwd|pswd)$/,Ha=!0,Aa=!1,Na="",Oa=!1,sa=!0;v.initCorrector();v.nowTime();var V="metrikaId_"+Math.random(),Ka={},Ua=":submit"+Math.random();if(!h.isMetrikaPlayer()){y.on(u,"click,dblclick,mousedown",va);y.on(u,"mouseup",Ga);y.on(u,"keydown",Y);y.on(u,"keypress",fa);y.on(u,"copy",Z);if(w.getBody())y.on(u,"mouseleave",I);u.attachEvent&&!m.opera?(y.on(u,"focusin",E),y.on(u,
"focusout",K)):(y.on(m,"focus",P),y.on(m,"blur",C),y.on(u,"blur",C));u.addEventListener?(y.on(u,"focus",F),y.on(u,"blur",G),y.on(u,"change",J),y.on(u,"submit",M)):u.attachEvent&&(y.on(u,"focusin",F),y.on(u,"focusout",G),function(){for(var a=u.getElementsByTagName("form"),e=0;e<a.length;e++){for(var b=a[e].getElementsByTagName("*"),c=0;c<b.length;c++)if(/^INPUT|SELECT|TEXTAREA$/.test(b[c].tagName))y.on(b[c],"change",J);y.on(a[e],"submit",M)}}());(function(){var a=u.getElementsByTagName("form");if(a.length)for(var e=
0;e<a.length;e++){var b=a[e].submit;if("function"==typeof b||"object"==typeof b&&/^\s*function submit\(\)/.test(String(b)))a[e][Ua]=b,a[e].submit=function(){M({target:this});return this[Ua]()}}})()}return{start:function(){Q.activate()},stop:function(){Q.clear();y.un(u,"click",va);y.un(u,"dblclick",va);y.un(u,"mousedown",va);y.un(u,"mouseup",Ga);y.un(u,"keydown",Y);y.un(u,"keypress",fa);y.un(u,"copy",Z);y.un(u,"focusin",E);y.un(u,"focusout",K);y.un(m,"focus",P);y.un(m,"blur",C);y.un(u,"blur",C);u.removeEventListener?
(y.un(u,"focus",F),y.un(u,"blur",G),y.un(u,"change",J),y.un(u,"submit",M)):u.detachEvent&&(y.un(u,"focusin",F),y.un(u,"focusout",G),function(){for(var a=u.getElementsByTagName("form"),e=0;e<a.length;e++){for(var b=a[e].getElementsByTagName("*"),c=0;c<b.length;c++)/^INPUT|SELECT|TEXTAREA$/.test(b[c].tagName)&&y.un(b[c],"change",J);y.un(a[e],"submit",M)}}());(function(){for(var a=u.getElementsByTagName("form"),e=0;e<a.length;e++)a[e][Ua]&&(a[e].submit=a[e][Ua])})()}}}function L(){for(var a={},b="hash host hostname href pathname port protocol search".split(" "),
c=b.length,d=c,f,l;d--;)a[b[d]]="";try{for(f=m.location,d=c;d--;)l=b[d],a[l]=""+f[l]}catch(g){M&&(a=M)}return a}function qa(){return 0==L().hostname.search(/^(.*\.)?((yandex(-team)?)\.(com?\.)?[a-z]+|(auto|kinopoisk|beru|bringly)\.ru|ya\.(ru|cc)|yadi\.sk|yastatic\.net|.*\.yandex|turbopages\.org|turbo\.site)$/)}function ib(a){return-1!==(""+m.navigator.userAgent).toLowerCase().search(a)}function tb(a){return(a=a&&a.innerHTML&&a.innerHTML.replace(/<\/?[^>]+>/gi,""))?(""+a).replace(/^\s+/,"").replace(/\s+$/,
""):""}function ub(a,b){var c;if(!a||!b)return!1;var d=[];for(c=0;c<b.length;c++)d.push(b[c].replace(/\^/g,"\\^").replace(/\$/g,"\\$").replace(/\./g,"\\.").replace(/\[/g,"\\[").replace(/\]/g,"\\]").replace(/\|/g,"\\|").replace(/\(/g,"\\(").replace(/\)/g,"\\)").replace(/\?/g,"\\?").replace(/\*/g,"\\*").replace(/\+/g,"\\+").replace(/\{/g,"\\{").replace(/\}/g,"\\}"));return(new RegExp("\\.("+d.join("|")+")$","i")).test(a)}function Sb(a,b){function c(a){a=a.split(":");a=a[1]||"";a=a.replace(/^\/*/,"").replace(/^www\./,
"");return a.split("/")[0]}return a&&b?c(a)==c(b):a||b?!1:!0}function vb(){var a=m.performance||m.webkitPerformance,b=a&&a.timing,c,d=[];if(b&&(c=b.navigationStart))for(d=[b.domainLookupEnd-b.domainLookupStart,b.connectEnd-b.connectStart,b.responseStart-b.requestStart,b.responseEnd-b.responseStart,b.fetchStart-c,b.redirectEnd-b.redirectStart,b.redirectCount||a.navigation&&a.navigation.redirectCount],d.push(b.domInteractive&&b.domLoading?b.domInteractive-b.domLoading:null),d.push(b.domContentLoadedEventStart&&
b.domContentLoadedEventEnd?b.domContentLoadedEventEnd-b.domContentLoadedEventStart:null),d.push(b.domComplete?b.domComplete-c:null),d.push(b.loadEventStart?b.loadEventStart-c:null),d.push(b.loadEventStart&&b.loadEventEnd?b.loadEventEnd-b.loadEventStart:null),d.push(b.domContentLoadedEventStart?b.domContentLoadedEventStart-c:null),a=0;a<d.length;a++)b=d[a],null!==b&&(0>b||36E5<b)&&(d[a]=null);return d}function Tb(a){var b=[],c=a._lastPerformanceTiming,d=vb(),f;if(c){var l=0;for(f=c.length;l<f;l++)null===
d[l]?b.push(d[l]):b.push(c[l]===d[l]?"":d[l])}else b=d;a._lastPerformanceTiming=d;return b.join(",")}function Ub(a){return"first-contentful-paint"===a.name}function Vb(){var a=m.performance&&m.performance.getEntriesByType,b=a?h.filter(Ub,m.performance.getEntriesByType("paint")):[];if(b.length)return b=b[0],Math.round(b.startTime);if(a)return 0;if("object"==typeof m.chrome&&m.chrome.loadTimes){if(b=m.chrome.loadTimes(),b.requestTime&&b.firstPaintTime&&m.performance&&m.performance.timing)return Math.round(1E3*
b.firstPaintTime-m.performance.timing.navigationStart)}else if(m.performance&&m.performance.timing&&(b=m.performance.timing,b.navigationStart&&b.msFirstPaint))return b.msFirstPaint-b.navigationStart;return null}var Pa=!1,wb="undefined"!==typeof Object&&"function"===typeof Object.defineProperty;try{if(wb)var Wb=function(a){function b(d){if(c[d])return c[d].exports;var f=c[d]={i:d,l:!1,exports:{}};a[d].call(f.exports,f,f.exports,b);f.l=!0;return f.exports}var c={};b.m=a;b.c=c;b.d=function(a,c,l){b.o(a,
c)||Object.defineProperty(a,c,{enumerable:!0,get:l})};b.r=function(a){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"});Object.defineProperty(a,"__esModule",{value:!0})};b.t=function(a,c){c&1&&(a=b(a));if(c&8||c&4&&"object"===typeof a&&a&&a.__esModule)return a;var d=Object.create(null);b.r(d);Object.defineProperty(d,"default",{enumerable:!0,value:a});if(c&2&&"string"!=typeof a)for(var g in a)b.d(d,g,function(b){return a[b]}.bind(null,g));
return d};b.n=function(a){var c=a&&a.__esModule?function(){return a["default"]}:function(){return a};b.d(c,"a",c);return c};b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};b.p="";return b(b.s=65)}([function(a,b,c){c.r(b);c.d(b,"IterableUtils",function(){return B});var d=c(29),f=c(20),l=c(27),g=c(8),n=c(12);a=c(9);var r=c(2),t=a.a.Map,p=a.a.Set,B={binarySearch:function(a,b,e){var c=0,k=a.length-1;for(e="function"===typeof e?e:function(a){return a};c<=k;){var d=Math.round((c+k)/
2),g=e(a[d]);if(g===b){var f=a[d];break}else b>g?c=d+1:k=d-1}return f},forof:function(a,b){a instanceof g.List?a.forEach(b):a instanceof n.KeyValue?a.forEach(b):Object(d.a)(a,b)},forin:function(a,b){Object(f.a)(a,b)},fastIterate:function(a,b){for(var e=0,c=a.length;e<c;e++)b(e,a[e])},toArray:function(a){return a instanceof g.List||a instanceof n.KeyValue?p&&a instanceof p||t&&a instanceof t?Object(l.a)(a):a.toArray():Object(l.a)(a)},toList:function(a){a=this.isArray(a)?a:this.toArray(a);for(var b=
new g.List,e=0;e<a.length;e++)b.add(a[e]);return b},addToArray:function(a){for(var b,e=arguments.length,c=Array(1<e?e-1:0),d=1;d<e;d++)c[d-1]=arguments[d];return(b=[]).concat.apply(b,c).reduce(function(a,e){0>a.indexOf(e)&&a.push(e);return a},a)},removeFromArray:function(a){for(var b,e=arguments.length,c=Array(1<e?e-1:0),d=1;d<e;d++)c[d-1]=arguments[d];return(b=[]).concat.apply(b,c).reduce(function(a,e){var b=a.indexOf(e);0<=b&&a.splice(b,1);return a},a)},isArray:function(a){return"function"===typeof Array.isArray?
Array.isArray(a):"[object Array]"==={}.toString.call(a)},inArray:function(a,b){return a?"function"===typeof a.includes?a.includes(b):0<=a.indexOf(b):!1},fill:function(a,b){if(Array.prototype.fill)return a.fill(b);for(var e=a.length;0<e--;)a[e]=b;return a},reduce:function(a,b,e){return this.toArray(a).reduce(b,e)},reduceRight:function(a,b,e){return this.toArray(a).reduceRight(b,e)},map:function(a,b){var e=this.toArray(a);if(r.ObjectUtils.isNative(e.map,"map"))return e.map(b);for(var c=[],k=0;k<e.length;k++)c[k]=
b(e[k],k,e);return c},find:function(a,b){if(Array.prototype.find)return a.find(b);var e;this.forof(a,function(c,k){return!0===!!b(c,k,a)?(e=c,!1):!0});return e},keys:function(a){if("function"===typeof a.keys)return a.keys();var b=[];this.forof(a,function(a,c){b.push(c)});return b},values:function(a){if(a.hasOwnProperty("values"))return a.values();var b=[];this.forof(a,function(a,c){b.push(a)});return b},includes:function(a,b,e){void 0===e&&(e=0);if(r.ObjectUtils.isNative(Array.prototype.includes,
"includes"))return a.includes(b,e);for(var c=a.length;e<c;e++)if(a[e]===b)return!0;return!1}}},function(a,b){a.exports=function(a,b,f){b in a?Object.defineProperty(a,b,{value:f,enumerable:!0,configurable:!0,writable:!0}):a[b]=f;return a}},function(a,b,c){c.r(b);a=c(5);var d=c.n(a),f=c(9),l=f.a.Object.assign||function(a){for(var b=1;b<arguments.length;b++){var c=arguments[b],d=f.a.Object.prototype.hasOwnProperty.bind(c),g;for(g in c)d(g)&&(a[g]=c[g])}return a},g=c(20);c.d(b,"ObjectUtils",function(){return n});
var n={assign:function(a){for(var b=arguments.length,c=Array(1<b?b-1:0),d=1;d<b;d++)c[d-1]=arguments[d];return l.apply(void 0,[a].concat(c))},combine:function(){for(var a=arguments.length,b=Array(a),c=0;c<a;c++)b[c]=arguments[c];return b.reduce(function(a,b){return null!=b?d()({},a,b):a},{})},findNativeImplementation:function(a){if(this.isNative(f.a[a],a))return f.a[a];var b=["webkit","moz","ms","o"];a=""+a.slice(0,1).toUpperCase()+a.slice(1);for(var c=0;c<b.length;c++){var d=""+b[c]+a;if(this.isNative(f.a[d],
d))return f.a[d]}return null},isNative:function(a,b){return a?(new RegExp("function\\s*"+b+"\\s*\\(\\)\\s*\\{\\s*\\[native[\\s-]code\\]\\s*\\}","i")).test(a.toString()):!1},isMonkeyPatchedOrUndefined:function(a,b){var c=f.a;if(c[a]===A||!this.isNative(c[a],a))return!0;if(b)for(var d=0;d<b.length;d++)if(!this.isNative(c[a].prototype[b[d]],b[d]))return!0;return!1},objectKeys:function(a){var b=[];Object(g.a)(a,function(a){return b.push(a)});return b},objectValues:function(a){var b=[];Object(g.a)(a,function(a,
c){return b.push(c)});return b},safeAccess:function(a,b){if(null==a||"string"!==typeof b)return A;for(var c=b.split("."),d=a,g=0,k=c.length;g<k;g++)if(d=d[c[g]],null==d)return A;return d},objectIsWindow:function(a){return"undefined"!==typeof Window&&a&&a.window&&a.window===a}}},function(a,b,c){function d(a){var b={};"string"===typeof a&&0<a.length&&"?"!==a&&(a=a.replace(/^\?/,"").split("\x26"),Object(l.a)(a,function(a){var e=a.split("\x3d");a=e[0];e=e[1];try{b[a]=decodeURIComponent(e)}catch(H){b[a]=
""}}));return b}c.r(b);var f=c(2),l=c(29);a=c(20);var g=c(4),n=c(9);f.ObjectUtils.objectIsWindow(g.a)&&d(g.a.location.search);c=f.ObjectUtils.objectIsWindow(g.a)&&g.a!==g.a.top;var r=n.a.console||g.a.console;"undefined"===g.a.WV_DEBUG&&Object.defineProperty(g.a,"WV_DEBUG",{value:{}});var t=function(){var a=!1,b=!1;if(f.ObjectUtils.objectIsWindow(g.a)){a="1"===d(g.a.location.search)._ym_debug;try{b=/ym_debug=1/.test(g.a.document.cookie)}catch(e){return a}}return a||b}(),p={__native:r,__debugMode:t,
__addDebug:function(a,b){},devLog:function(){}},B=["%cWV:","font-weight: bold;"];c&&B.length&&(B[1]+="color: purple");Object(a.a)(r,function(a){var b,e=r[a]instanceof n.a.Function;p[a]=t?e?(b=r[a]).bind.apply(b,[r].concat(B)):r[a]:e?function(){}:r[a]},!0);t&&(p.devLog=r.log);b["default"]=p},function(a,b,c){b.a="undefined"!==typeof m?m:"undefined"!==typeof self?self:global},function(a,b,c){var d=c(1);a.exports=function(a){for(var b=1;b<arguments.length;b++){var c=null!=arguments[b]?arguments[b]:{},
f=Object.keys(c);"function"===typeof Object.getOwnPropertySymbols&&(f=f.concat(Object.getOwnPropertySymbols(c).filter(function(a){return Object.getOwnPropertyDescriptor(c,a).enumerable})));f.forEach(function(b){d(a,b,c[b])})}return a}},function(a,b){a.exports=function(a){if(void 0===a)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return a}},function(a,b,c){c.r(b);c.d(b,"DO_NOT_TRACK",function(){return l});c.d(b,"IS_INCOGNITO",function(){return g});c.d(b,"IS_MOBILE_DEVICE",
function(){return n});c.d(b,"IS_DEVELOPMENT",function(){return r});a=c(5);var d=c.n(a);a=c(13);var f=c(4);c=d()({},c(28).BrowserUtils,c(36).DocumentUtils,c(10).DOMUtils,c(23).FunctionUtils,c(0).IterableUtils,c(89).MapUtils,c(2).ObjectUtils,c(19).StringUtils,c(37).TimeUtils,c(16).Tools,{math:c(90).MathUtils});try{var l=a.a.respectDoNotTrack&&!0===navigator.doNotTrack}catch(t){l=!1}var g=function(){try{f.a.localStorage.setItem("test","test");var a="test"!==f.a.localStorage.getItem("test");f.a.localStorage.removeItem("test");
return a}catch(p){return!0}}();try{var n=/Android|webOS|iPhone|iPad|iPod|BlackBerry|Windows Phone/i.test(navigator.userAgent)?!0:!1}catch(t){n=!1}var r="development"===a.a.environment;Object.defineProperties(c,{DO_NOT_TRACK:{value:l},IS_INCOGNITO:{value:g},IS_MOBILE_DEVICE:{value:n},IS_DEVELOPMENT:{value:r}});b["default"]=c},function(a,b,c){c.r(b);c.d(b,"List",function(){return n});a=c(14);var d=c.n(a);a=c(1);var f=c.n(a),l=c(9);a=c(2);var g=c(0);c=l.a.Set;a=a.ObjectUtils.isMonkeyPatchedOrUndefined("Set",
"add has clear delete forEach toString".split(" "));var n=function(){function a(b){f()(this,"list",[]);b&&(b instanceof a?this.create(g.IterableUtils.toArray(b)):b instanceof Array&&this.create(b))}var b=a.prototype;b.add=function(a){!1===this.has(a)&&this.list.push(a);return this};b.has=function(a){return 0<=this.list.indexOf(a)};b.clear=function(){this.list.length=0;return this};b["delete"]=function(a){a=this.list.indexOf(a);return 0<=a?(this.list.splice(a,1),!0):!1};b.each=function(a){if("function"===
typeof a)for(var b=0;b<this.list.length;){var c=this.list[b];2===a.length?a(c,c):a(c);b++}};b.forEach=function(a){this.each(a)};b.values=function(){return this.list.slice(0)};b.keys=function(){return this.list.slice(0)};b.toArray=function(){return this.list.slice(0)};b.toString=function(){return"List("+this.size+")"};b.create=function(a){for(var b=0;b<a.length;)this.add(a[b]),b++};d()(a,[{key:"size",get:function(){return this.list.length}}]);return a}();b["default"]=a?n:c},function(a,b,c){var d=c(13),
f=function(a,b){var c=a.contentWindow;return c?b.reduce(function(a,b){return a&&c.hasOwnProperty(b)},!0):!1};b.a=function(){var a="undefined"!==typeof global?global:"undefined"!==typeof self?self:m;if("undefined"!==typeof u&&u.body){var b=u.createElement("iframe");b.name=d.a.NATIVE_IFRAME_NAME;b.title=d.a.NATIVE_IFRAME_NAME;b.frameBorder="0";b.style.setProperty("opacity","0","important");b.style.setProperty("width","0px","important");b.style.setProperty("height","0px","important");b.style.setProperty("position",
"absolute","important");b.style.setProperty("left","100%","important");b.style.setProperty("bottom","100%","important");b.style.setProperty("border","0","important");b.setAttribute("aria-hidden","true");try{/Trident|MSIE/.test(navigator.userAgent)?u.body.parentNode&&u.body.parentNode.appendChild(b):u.body.appendChild(b),f(b,["Set","Map"])&&(a=b.contentWindow||a)}catch(n){b.parentElement&&b.parentElement.removeChild(b)}}return a}()},function(a,b,c){c.r(b);c.d(b,"DOMUtils",function(){return n});var d=
c(4),f=c(0),l=c(2),g=c(19),n={NodeTypes:{ELEMENT_NODE:1,ATTRIBUTE_NODE:2,TEXT_NODE:3,CDATA_SECTION_NODE:4,ENTITY_REFERENCE_NODE:5,ENTITY_NODE:6,PROCESSING_INSTRUCTION_NODE:7,COMMENT_NODE:8,DOCUMENT_NODE:9,DOCUMENT_TYPE_NODE:10,DOCUMENT_FRAGMENT_NODE:11,NOTATION_NODE:12},base:function(){var a=u.createElement("a");a.href="/";var b=u.querySelector("base");b&&b.href&&(a.href=b.href);return a.href},getScroll:function(a){if(null==a)return{left:0,top:0};if(a.window===a)return{top:a.scrollY||0,left:a.scrollX||
0};var b=a.ownerDocument||a,c=a.documentElement,d=b.defaultView||b.parentWindow,g=b.body;a===b&&(a=this.scrollingElement(b));return-1!==[c,g].indexOf(a)?{top:a.scrollTop||d.scrollY,left:a.scrollLeft||d.scrollX}:{top:a.scrollTop||0,left:a.scrollLeft||0}},documentVisible:function(){if("undefined"!==typeof u){var a="undefined"!==typeof u.msHidden?"msHidden":"undefined"!==typeof u.webkitHidden?"webkitHidden":"hidden";return function(){return u[a]}}}(),isDOMNode:function(a){if(a)try{var b=a.ownerDocument;
if(null===b)return!1;if(b.defaultView)return a instanceof b.defaultView.Node}catch(p){return"object"===typeof a&&"object"===typeof a.style&&"object"===typeof a.ownerDocument}return!1},isScrollable:function(a){var b=a.scrollHeight!==a.clientHeight;return a.scrollWidth!==a.clientWidth||b},scrollingElement:function(a){a=a||u;return a.scrollingElement||(a.documentElement.scrollHeight>=a.body.scrollHeight&&0===a.compatMode.indexOf("CSS1")?a.documentElement:a.body)},convertNode:function(a,b,c){var d=void 0===
c?{doc:u,saveChildren:!0}:c;c=d.doc;d=d.saveChildren;c=c||a.ownerDocument;var g=c.createElement(b);f.IterableUtils.forof(a.attributes,function(a){g.setAttribute(a.name,a.value)});d&&f.IterableUtils.forof(a.childNodes,function(a){g.appendChild(a.cloneNode(!0))});return g},isBlankOrSameOriginIframe:function(a,b){var c=a.getAttribute("src"),d=a.getAttribute("sandbox");return d&&!d.match(/allow-same-origin/)||c&&"about:blank"!==c&&(c=g.StringUtils.parseURLNative(c).host)&&(b||m).location.host!==c?!1:
!0},nodeIsRecordable:function(a){if(null!==a){var b=null!=a.getAttribute("metrika-ignore")||/-metrika-ignore/.test(a.className),c=null!=a.getAttribute("metrika-force")||/-metrika-force/.test(a.className);a=a.getAttribute("type");return c?!0:!b&&"password"!==a}return!1},contentSizeChanged:function(a,b){var c=a.ownerDocument?a.ownerDocument.defaultView:m,d={stopped:!1,height:null,width:null,runner:function(){if(!this.stopped){var d=null==a?{}:"function"===typeof a?a()||{}:a;var k=d.scrollHeight;d=d.scrollWidth;
if(k!==this.height||d!==this.width)this.height=k,this.width=d,b({width:d,height:k});c&&c.requestAnimationFrame(this.runner.bind(this))}},stop:function(){this.stopped=!0}};d.runner();return d},elementsFromPoint:function(a,b,c){c=c||u;var d=c.elementsFromPoint;if(d)return d.call(c,a,b);d=[];for(var g=[],k;(k=c.elementFromPoint(a,b))&&-1===d.indexOf(k);){d.push(k);var e=k.style;g.push({value:e.getPropertyValue("pointer-events"),priority:e.getPropertyPriority("pointer-events")});e.setProperty("pointer-events",
"none","important")}for(a=g.length;b=g[--a];)d[a].style.setProperty("pointer-events",b.value?b.value:"",b.priority);return d},nodeIndentLevel:function(a){for(var b=0;a.parentNode;)a=a.parentNode,b++;return b},offsets:function(a,b){var c=void 0===b?{}:b,d=c.excludeBorder,g=void 0===d?!1:d;c=c.excludePadding;var k=void 0===c?!1:c;!1==="getBoundingClientRect"in a&&("documentElement"in a?a=a.documentElement:"document"in a&&(a=a.document.documentElement));var e=(a.ownerDocument||u).defaultView||m,f=a.getBoundingClientRect();
c=f.top;d=f.right;var l=f.bottom;f=f.left;if(g||k){e=e.getComputedStyle(a);if(g){g=e.borderRightWidth;var n=e.borderBottomWidth,r=e.borderLeftWidth;c+=parseInt(e.borderTopWidth||"0",10);d+=parseInt(g||"0",10);l+=parseInt(n||"0",10);f+=parseInt(r||"0",10)}k&&(k=e.paddingRight,g=e.paddingBottom,n=e.paddingLeft,c+=parseInt(e.paddingTop||"0",10),d+=parseInt(k||"0",10),l+=parseInt(g||"0",10),f+=parseInt(n||"0",10))}return{top:c,right:d,bottom:l,left:f}},nodeIsInTree:function(a){if(this.isDOMNode(a)){var b=
a.ownerDocument;if(null!=b)return b.documentElement.contains(a)}return!1},waitForNode:function(a,b,c){var d=this;void 0===c&&(c=500);var g={disconnect:function(){}};if(d.nodeIsInTree(a))b(!0);else{var k=a.ownerDocument||u,e=new MutationObserver(function(){d.nodeIsInTree(a)&&(b(!0),e.disconnect())});e.observe(k.documentElement,{subtree:!0,childList:!0});var f=isFinite(c)?G(function(){d.nodeIsInTree(a)||(b(!1),e.disconnect())},c):A;g.disconnect=function(){f&&clearTimeout(f);e.disconnect()}}return g},
createElement:function(a,b,c){c=c||u;var d=c.createElement(a);f.IterableUtils.forin(b,function(a){var c=b[a];"style"===a?l.ObjectUtils.assign(d[a],c):d[a]=c});return d},matchesSelector:function(a,b){var c=f.IterableUtils.find(["matches","webkitMatchesSelector","mozMatchesSelector","msMatchesSelector","oMatchesSelector"],function(a){return a in u.body});this.matchesSelector=function(a,b){if(c){if(null==a||null==a.ownerDocument)return!1;try{if(c in a)return a[c](b)}catch(k){}}return!1};return this.matchesSelector(a,
b)},closestParent:function(a,b,c){void 0===c&&(c=!1);for(a=c&&!this.isTextNode(a)?a:a.parentNode;a;){if(a&&this.matchesSelector(a,b))return a;a=a.parentNode}return null},isTextNode:function(a){return 0<=[this.NodeTypes.TEXT_NODE,this.NodeTypes.COMMENT_NODE].indexOf(a.nodeType)},isChildOf:function(a,b,c){void 0===c&&(c=!1);return null!=this.closestParent(a,b,c)},copyAttributes:function(a,b){f.IterableUtils.forof(a.attributes,function(c){try{b.setAttribute(c.name,c.value)}catch(B){d.a.console.warn("Can't copy attribute ["+
c.name+"\x3d"+c.value+"]",{sourceNode:a})}});return b},isHiddenContent:function(a){if(null==a)return!1;if("#text"===a.nodeName)return this.isHiddenContent(a.parentNode);if(/ym-hidden-content/.test(a.className))return!1;if(/ym-hide-content/.test(a.className))return!0;var b=this.matchesSelector(a,".ym-hide-content *");return b&&(/ym-show-content/.test(a.className)||this.matchesSelector(a,".ym-hide-content .ym-show-content *"))?!1:b}}},function(a,b,c){c.d(b,"b",function(){return p});c.d(b,"a",function(){return B});
a=c(32);var d=c.n(a);a=c(5);var f=c.n(a);a=c(13);var l=c(2),g=c(0),n=c(10),r=c(16),t=c(3);c=a.a.DOMIndexer;var p=c.IGNORED_NODES,B=c.IGNORED_ATTRIBUTES,q=c.SKIPPED_ATTRIBUTES,k=c.EXTRA_ATTRIBUTES,e=[],D={},H={INPUT:function(a,b){var e=f()({},b);"checkbox"===b.type||"radio"===b.type?a.checked?b.checked="checked":delete b.checked:e.value=a.value;return e},IMG:function(a,b){var e=f()({},b);a.currentSrc&&(e.src=a.currentSrc||b.src);return e}},z=function(a){if(null==a)return!1;a=a.nodeType;return a===
n.DOMUtils.NodeTypes.TEXT_NODE||a===n.DOMUtils.NodeTypes.COMMENT_NODE},h=function ba(a,b){var e=[];if("function"===typeof b){var c=b(a);null!=c&&c!==NodeFilter.FILTER_ACCEPT||e.push(a)}else e.push(a);if(a.childNodes&&0<a.childNodes.length){c=a.childNodes;for(var k=0,d=c.length;k<d;k++)e.push.apply(e,ba(c[k]))}return e},m=function(a,b,e){var c=function(a){return"function"===typeof e?e(a)?NodeFilter.FILTER_ACCEPT:NodeFilter.FILTER_REJECT:NodeFilter.FILTER_ACCEPT};if("function"===typeof b&&c(a)===NodeFilter.FILTER_ACCEPT&&
(b(a),!1===z(a)))for(a=u.createTreeWalker(a,-1,e?{acceptNode:c}:null,!1);a.nextNode()&&!1!==b(a.currentNode););},La=function(a,b){var e=[];a&&(n.DOMUtils.nodeIsInTree(a)?m(null==a?u.documentElement:a,function(a){e.push(a)},b):e.push.apply(e,h(a,b)));return e},Ma=function(a){var b=a["*"],e=d()(a,["*"]),c={},k=new RegExp(b.join("|"),"i");g.IterableUtils.forin(e,function(a){var k,d=(k=[]).concat.apply(k,e[a].concat(b));c[a]=new RegExp(d.join("|"),"i")});return function(a,b){if(a&&b){var e="string"===
typeof a?a:a.nodeName;if(e)return(e=c[e.toLowerCase()])&&!!b.match(e)||!!b.match(k)}return!1}}(B),N=[function(a,b,e){return null==e||/^javascript/.test(e)},function(a,b){return"SCRIPT"===a.nodeName&&"src"===b},function(a,b){return"A"===a.nodeName&&"href"===b}],fb=function(a,b,e){for(var c=0,k=N.length;c<k;c++)if(!0===N[c](a,b,e))return!1;return!0},da=function(a,b,c){var k=c;if(fb(a,b,c)){k=e.reduce(function(e,c){try{var k=c(a,b,e);return null!=k?k:e}catch(W){return t["default"].warn("Filtering error",
W),e}},k);if("string"===typeof k)return(c=D[b])?c(a,b,k)||k:k;if(null!=k&&!1!==k)return k.baseVal}return null},x=function(a,b){a:{try{u.createAttribute(b)}catch(ra){var e=!1;break a}e=!0}return!e||Ma({nodeName:a},b)?!1:b},w=function(a,b,e){if(e&&e.name){if(!1!==x(b,e.name))try{var c,k=da(a,e.name,e.value);return c={},c[e.name]=k||"",c}catch(Y){t["default"].warn("Error while reading attribute",e,a),t["default"].warn(Y)}}else t["default"].warn("Error while reading attribute",e,a);return null};c=function(a){var b=
new RegExp(a.join("|"),"gi");return function(a){return a&&!!a.nodeName.match(b)}}(p);var y=function(a){return a&&a.namespaceURI?/svg/.test(a.namespaceURI):!1};c={all:La,map:function(a,b,e){var c=[];a=La(a,e);g.IterableUtils.fastIterate(a,function(a,e){c.push(b(e))});return c},walk:m,each:function(a,b,e){a&&(a=La(a,e),g.IterableUtils.fastIterate(a,b))},getAttributes:function(a){var b={},e=a.nodeName,c=g.IterableUtils.toArray(a.attributes);c&&c.length&&(g.IterableUtils.fastIterate(c,function(c,k){var d=
w(a,e,k);d&&l.ObjectUtils.assign(b,d)}),(c=k[e]||A)&&g.IterableUtils.fastIterate(c,function(c,k){w(b,e,{name:k,value:a[k]})}));return(c=H[e])?c(a,b):b},getContent:function(a){if(null!=a&&z(a))return a.textContent},getNamespace:function(a){if(y(a))return a.namespaceURI},normalizeAttributeValue:da,cloneAttributes:function(a,b){var e=g.IterableUtils.toArray(a.attributes);g.IterableUtils.fastIterate(e,function(a,e){var c=!1===r.Tools.isNULL(e.namespaceURI),k=e.cloneNode();c?b.attributes.setNamedItemNS(k):
b.attributes.setNamedItem(k)});return b},isSVG:y,isTextNode:z,isIgnoredNode:c,isIgnoredAttr:Ma,isAttributeNameValid:x,isSkippedAttribute:function(a){return g.IterableUtils.includes(q,a)}};Object.defineProperty(c,"addAttributesFilter",{value:function(a){"function"===typeof a&&e.push(a)}});b.c=c},function(a,b,c){c.r(b);c.d(b,"KeyValue",function(){return n});a=c(14);var d=c.n(a);a=c(1);var f=c.n(a);a=c(2);var l=c(9),g=c(0);c=l.a.Map;a=a.ObjectUtils.isMonkeyPatchedOrUndefined("Map","set get has clear delete forEach toString".split(" "));
var n=function(){function a(b){f()(this,"lastIndex",0);f()(this,"list",[]);f()(this,"index",[]);b instanceof a?this.create(g.IterableUtils.toArray(b)):b instanceof Array&&this.create(b)}var b=a.prototype;b.allocate=function(a){void 0===a&&(a=0);this.list.length=a;this.index.length=a};b.set=function(a,b){var c=this.indexOf(this.index,a);-1!==c?this.list[c].value=b:(this.list[this.lastIndex]={key:a,value:b},this.index[this.lastIndex]=a,this.lastIndex++);return this};b.get=function(a){return(a=this.find(a))?
a.value:A};b.keys=function(){return this.list.map(function(a){return a.key})};b.values=function(){return this.list.map(function(a){return a.value})};b.has=function(a){return-1!==this.indexOf(this.index,a)};b.clear=function(){this.lastIndex=0;this.list.length=0;this.index.length=0;return this};b["delete"]=function(a){if(a=this.find(a))if(a=this.indexOf(this.list,a),-1!==a)return this.list.splice(a,1),this.index.splice(a,1),this.lastIndex--,!0;return!1};b.each=function(a){"function"===typeof a&&this.loop(function(b){var c=
b.key;b=b.value;2===a.length?a(c,b):a([c,b])})};b.forEach=function(a){var b=this;"function"===typeof a&&this.loop(function(c){a(c.value,c.key,b)})};b.toArray=function(){return this.list.map(function(a){return[a.key,a.value]})};b.toString=function(){return"KeyValue("+this.size+")"};b.loop=function(a){if("function"===typeof a)for(var b=0;b<this.list.length;)a.call(this,this.list[b]),b++};b.create=function(a){var b=0;if(a&&0<a.length)for(;b<a.length;){var c=a[b];this.set(c[0],c[1]);b++}};b.find=function(a){a=
this.indexOf(this.index,a);if(-1!==a)return this.list[a]};b.indexOf=function(a,b){return[].indexOf.call(a,b)};d()(a,[{key:"size",get:function(){return this.lastIndex}}]);return a}();b["default"]=a?n:c},function(a,b,c){a=c(5);a=c.n(a);c.d(b,"a",function(){return d});var d=a()({},{NATIVE_IFRAME_NAME:"ym-native-frame"},{environment:"production","package":{version:"2.6.2"},respectDoNotTrack:!0,experimentalWebSocket:!0,captors:{input:!0,keystrokes:!0,media:!1,mouse:!0,focus:!0,mutations:!0,resize:!0,deviceRotation:!0,
selection:!0,scroll:!0,touch:!0,zoom:!0,window:!0,srcset:!0},captorsConfig:{input:{PD:function(){return{delimiter:"(-|\\.|_|\\s){0,2}",suspiciousWords:"first(-|\\.|_|\\s){0,2}name last(-|\\.|_|\\s){0,2}name zip postal phone address passport (bank|credit)(-|\\.|_|\\s){0,2}card card(-|\\.|_|\\s){0,2}number card(-|\\.|_|\\s){0,2}holder cvv card(-|\\.|_|\\s){0,2}exp card(-|\\.|_|\\s){0,2}name card.*month card.*year card.*month card.*year password email birth(-|\\.|_|\\s){0,2}(day|date) second(-|\\.|_|\\s){0,2}name third(-|\\.|_|\\s){0,2}name patronymic middle(-|\\.|_|\\s){0,2}name birth(-|\\.|_|\\s){0,2}place house street city flat state contact.*".split(" "),
placeholderSuspiciousWords:"\u0438\u043c\u044f \u0444\u0430\u043c\u0438\u043b\u0438\u044f \u043e\u0442\u0447\u0435\u0441\u0442\u0432\u043e \u0438\u043d\u0434\u0435\u043a\u0441 \u0442\u0435\u043b\u0435\u0444\u043e\u043d \u0430\u0434\u0440\u0435\u0441 \u043f\u0430\u0441\u043f\u043e\u0440\u0442 \u043d\u043e\u043c\u0435\u0440(-|\\.|_|\\s){0,2}\u043a\u0430\u0440\u0442\u044b \u0434\u0430\u0442\u0430(-|\\.|_|\\s){0,2}\u0440\u043e\u0436\u0434\u0435\u043d\u0438\u044f \u0434\u043e\u043c \u0443\u043b\u0438\u0446\u0430 \u043a\u0432\u0430\u0440\u0442\u0438\u0440\u0430 \u0433\u043e\u0440\u043e\u0434 \u043e\u0431\u043b\u0430\u0441\u0442\u044c".split(" ")}}}},
DOMIndexer:{IGNORED_NODES:["script","noscript","audio"],IGNORED_ATTRIBUTES:{"*":["^on.+","srcset","integrity","crossorigin"],iframe:["src"],script:["src","type"]},SKIPPED_ATTRIBUTES:[],EXTRA_ATTRIBUTES:{VIDEO:["width","height"]},URL_NODES:["link","img","svg"],URL_ATTRIBUTES:"href link content poster style src srcset".split(" "),IGNORE_NODES_ORDER:["HEAD"],HIDABLE_NODES:"#text IMG INPUT BUTTON SELECT TEXTAREA".split(" "),REPLACE_ATTRIBUTES:{a:{href:"#"}}}})},function(a,b){function c(a,b){for(var c=
0;c<b.length;c++){var d=b[c];d.enumerable=d.enumerable||!1;d.configurable=!0;"value"in d&&(d.writable=!0);Object.defineProperty(a,d.key,d)}}a.exports=function(a,b,l){b&&c(a.prototype,b);l&&c(a,l);return a}},function(a,b,c){(function(a,f){var d=c(8),g=c(0),n=c(2),r=function(){function b(b,c){var k=void 0===c?{}:c,e=k.context;e=void 0===e?null:e;k=k.expose;k=void 0===k?!1:k;this.allowedEvents=g.IterableUtils.toList((this.eventsList||b||[]).map(function(a){return a.split(":")[0]}));this.context=e||this;
this._define("_events",new a)._define("_memory",new a)._define("_namespaces",new a)._define("_options",new a)._define("_once",new a);this._setupEvents();this._exposeEvents(e,k)}var c=b.prototype;c.emit=function(a){for(var b=this,c=arguments.length,e=Array(1<c?c-1:0),d=1;d<c;d++)e[d-1]=arguments[d];return new f(function(c,k){var d=a.split(" ");g.IterableUtils.forof(d,function(a){b._invokeEvent(a,e,c,k)});return b})};c.on=function(a,b){var c=this;if("function"===typeof b){var e=a.split(" ");g.IterableUtils.forof(e,
function(a){c._saveEvent(a,b)})}else throw Error("Callback sould be a function");return this};c.off=function(a,b){var c=this;var e=a?a.split(" "):g.IterableUtils.keys(c._events);g.IterableUtils.forof(e,function(a){c._removeEvent(a,b)});return this};c._define=function(a,b){Object.defineProperty(this,a,{value:b,writable:!1});return this};c._exposeEvents=function(a,b){b&&n.ObjectUtils.assign(a,{on:this.on.bind(this),off:this.off.bind(this),emit:this.emit.bind(this)})};c._getNamespace=function(a,b){var c=
this._namespaces.get(a);return c?c.get(b)||this._events.get(a):this._events.get(a)};c._hasOption=function(a,b){var c=this._options.get(a);return!!c&&c.has(b)};c._invokeEvent=function(a,b,c){var e=this;a=a.split(".");var k=a[0];a=a[1];var d=this._hasOption(k,"stop");if((a=this._getNamespace(k,a))&&0<a.size){var l=f.resolve();b=this._saveMemory(k,b);g.IterableUtils.forof(a,function(a){if(e._isAlreadyCalled(k,a))return!0;l=l.then(function(g){return!1!==g?(g=e._runCallback(k,a,b),c(g),d?g:null):!1})})}};
c._isAlreadyCalled=function(a,b){if(this._hasOption(a,"once")){var c=this._once.get(a)||new d["default"];if(c.has(b))return!0;c.add(b);this._once.set(a,c)}return!1};c._runCallback=function(a,b,c){c=this._saveMemory(a,c);return b.call.apply(b,[this.context].concat(c))};c._saveEvent=function(a,b){var c=a.split(":"),e=c[0];c=c.slice(1);var f=e.split(".");e=f[0];f=f[1];var l=this._events.get(e)||new d["default"];c=this._options.get(e)||g.IterableUtils.toList(c);var q=this._memory.get(e)||!1;l.has(b)||
(l.add(b),this._events.set(e,l),this._options.set(e,c),this._saveNamespace(e,f,b),q&&this._runCallback(e,b,q))};c._saveMemory=function(a,b){return this._hasOption(a,"memory")?this._memory.has(a)?this._memory.get(a)||[]:this._memory.set(a,b)&&b:b};c._saveNamespace=function(b,c,k){var e=this._namespaces.get(b)||new a,g=e.get(c||"__global")||new d["default"];g.add(k);e.set(c||"__global",g);this._namespaces.set(b,e)};c._setupEvents=function(){var a=this;this.allowedEvents.size&&g.IterableUtils.forof(this.allowedEvents,
function(b){var c=b.split(":");b=c[0];c=c.slice(1);a._options.set(b,g.IterableUtils.toList(c));a._events.set(b,new d["default"])})};c._removeCallbacks=function(a,b){if(b instanceof d["default"]){var c=this._events.get(a);g.IterableUtils.forof(b,function(a){c&&c["delete"](a)})}};c._removeEvent=function(a,b){var c=a.split("."),e=c[0];c=c[1];var g=this._events.get(e)||new d["default"];g.has(b)?(c||g["delete"](b),this._removeNamespace(e,c,b)):(c||(this._events["delete"](e),this._options["delete"](e)),
this._removeNamespace(e,c))};c._removeNamespace=function(a,b){var c=this,e=this._namespaces.get(a);e&&(b?(this._removeCallbacks(a,e.get(b)),e["delete"](b)):(g.IterableUtils.forof(e,function(b){c._removeCallbacks(a,b)}),this._namespaces["delete"](a)))};return b}();b.a=r}).call(this,c(12)["default"],c(22).Promise)},function(a,b,c){c.r(b);(function(a){c.d(b,"Tools",function(){return t});var d=c(4),l=c(40),g=c(2),n=c(3),r={"null":null,undefined:A,"true":!0,"false":!1},t={delay:function(b,c){void 0===
c&&(c=0);return new a(function(a){G(function(){a(b())},c)})},copyText:function(b){return new a(function(a){var c=u.createElement("textarea"),k=u.body;c.value=b;c.style.opacity="0";c.style.position="absolute";c.style.top="-99999px";c.style.left="-99999px";c.onselect=function(){try{c.onselect=null,u.execCommand&&u.execCommand("copy"),a()}catch(e){n["default"].warn("Error while copying text "+b,e)}k.removeChild(c)};k.appendChild(c);c.select()})},globalize:function(a,b){"undefined"!==typeof d.a&&Object.defineProperty(d.a,
b,{value:a})},guid:function(){var a=function(){return Math.floor(65536*(1+Math.random())).toString(16).substring(1)};return a()+a()+"-"+a()+"-"+a()+"-"+a()+"-"+a()+a()+a()},measure:function(a,b,c){if(null!=b)return"function"===typeof b?b():b},apiMock:function(a){var b={properties:[],methods:[]};a=a.prototype;for(var c in a)if(a.hasOwnProperty(c))try{a[c]instanceof Function?b.methods.push(c):b.properties.push(c)}catch(k){b.properties.push(c)}return b},cast:function(a){if(r.hasOwnProperty(a))return r[a];
var b=Number(a);return String(b)===a?b:a},"catch":function(a){try{a()}catch(B){return n["default"].warn(B),B}},fetch:l.a,promise:function(b){return(new a(function(a,c){b(a,c)}))["catch"](function(a){return n["default"].warn(a)})},isNULL:function(a){return null==a},isFunction:function(a){return"function"===typeof a},promiseError:function(b){n["default"].warn(b);return a.reject(b)},promiseExec:function(b){return new a(function(a){a(b())})},requestAnimationFrame:function(a){var b=g.ObjectUtils.findNativeImplementation("requestAnimationFrame"),
c=g.ObjectUtils.findNativeImplementation("cancelAnimationFrame");if(b&&c)return this.requestAnimationFrame=b.bind(m),this.requestAnimationFrame(a);this.requestAnimationFrame=b=function(a){return G(a,4)};return b(a)},cancelAnimationFrame:function(a){var b=g.ObjectUtils.findNativeImplementation("requestAnimationFrame"),c=g.ObjectUtils.findNativeImplementation("cancelAnimationFrame");b&&c?(this.cancelAnimationFrame=c.bind(m),this.cancelAnimationFrame(a)):(this.cancelAnimationFrame=function(a){clearTimeout(a)},
clearTimeout(a))},throwError:function(a){throw Error(a);},errorProxy:function(a,b,c){void 0===b&&(b=!1);try{return a()}catch(k){return m.console.warn("Error while running "+(c||a.name),k),b}}}}).call(this,c(22).Promise)},function(a,b,c){c.d(b,"a",function(){return p});a=c(13);b=c(12);var d=c(10),f=c(19),l=new b.KeyValue,g=String.fromCharCode(8226);a=a.a.captorsConfig.input.PD();c=a.suspiciousWords;a=a.placeholderSuspiciousWords;var n=new RegExp("("+c.join("|")+")","i"),r=new RegExp("("+c.concat(a).join("|")+
")","i"),t=/color|radio|checkbox|date|datetime-local|email|month|number|password|range|search|tel|text|time|url|week/i,p={isValidType:function(a){return t.test(a)},isValidNode:function(a){var b=a.nodeName;a=a.type;return"INPUT"===b?!a||p.isValidType(a):/textarea|select|progress/i.test(b)},isPrivateInformationField:function(a){var b=a.placeholder;return[a.className,a.id,a.name].reduce(function(a,b){return a||n.test(b)},!1)||r.test(b)},isIgnored:function(a){return/password/i.test(a.type)||/ym-disable-keys/i.test(a.className)||
d.DOMUtils.isHiddenContent(a)?!0:!1},isRecordable:function(a){return this.matchesClass(a.className,"ym-record-keys")?!0:!1},matchesClass:function(a,b){return(new RegExp(b,"i")).test(a)},isAllowed:function(a,b){void 0===b&&(b=!1);return b?!0===p.isRecordable(a):!1===p.isIgnored(a)},isChanged:function(a,b){var c=!0;if(l.has(a)){var e=l.get(a);e&&(c=b!==e[0])}c&&l.set(a,[b]);return c},validate:function(a,b){var c=b||{},e=c.isEU,d=c.recording.keysMode;c=p.isRecordable(a);var g=p.isPrivateInformationField(a);
e=p.isAllowed(a,"explicit"===d)&&(!e||!g);return{forceRecord:c,isPrivate:g,isAllowed:e}},encode:function(a){void 0===a&&(a="");return a&&0<a.length?a.split(/\n/).map(function(a){return f.StringUtils.repeatString(g,a.length)}).join("\n"):a}}},function(a,b){a.exports=function(a,b){a.prototype=Object.create(b.prototype);a.prototype.constructor=a;a.__proto__=b}},function(a,b,c){c.r(b);c.d(b,"StringUtils",function(){return l});var d=c(4),f=c(0),l={dasherize:function(a){return a.replace(/[A-Z]/g,function(b,
c){var d=/[A-Z]/g.test(a[c-1]);return(0===c||d?"":"-")+b.toLowerCase()})},pad:function(a,b,c,d){void 0===b&&(b=2);void 0===c&&(c=" ");void 0===d&&(d=!1);a=String(a);b=f.IterableUtils.fill(Array(Math.max(0,Math.min(b-a.length,b))),c);return d?""+a+b.join(""):""+b.join("")+a},stringToBlobURL:function(a,b,c){void 0===c&&(c=d.a.location);var g=function(){try{return new Blob([a],{type:b})}catch(q){var c=d.a;c=new (c.BlobBuilder||c.WebKitBlobBuilder||c.MozBlobBuilder||c.MSBlobBuilder);c.append(a);return c.getBlob(b)}}(),
f=function(a){return a?(a=(URL||webkitURL).createObjectURL(a),/blob:(?!http[s]?).*/.test(a)?a.replace("blob:","blob:"+(c.protocol+"//"+c.host)+"/"):a):A}(g);return g?{blob:g,url:f}:null},repeatString:function(a,b){void 0===b&&(b=1);return Array(b+1).join(a)},parseURLNative:function(a){var b=u.createElement("a");b.href=a;return{protocol:b.protocol,hostname:b.hostname,host:b.host,port:b.port,pathname:b.pathname,search:b.search,url:a}},parseURL:function(a){if(!a)return A;if("string"!==typeof a)return d.a.console.warn("URL was expected to be a string",
a),A;var b=a.match(/^(http[s]?|file):\/\/([^/\n]*)([^?\n]*)(\?[^\n]*)?/);if(b){var c=b.slice(1);b=c[0];var g=c[1],f=c[2];c=c[3];var l=g?(g.match(/([^:\s]+)(:[0-9]*)?/)||[]).slice(1):[],q=l[0];q=void 0===q?A:q;l=l[1];l=void 0===l?A:l;var k=q?(q.match(/\.([^.]+)$/)||[])[1]:A,e=f?function(){var a=f.match(/([^/]+)\.([^/]*)$/);return a?a[0]:A}():A,D=f&&e?f.replace("/"+e,""):f||"/";return{protocol:b?b+":":A,hostname:g,host:q,port:(l||"80").replace(/:/,""),path:f||"/",tld:k,file:e,pathname:D,search:c?c.replace(/^\?/,
""):A,url:a,assemble:function(a){var b=this;return a?a.replace(/(\{([^}]+)\})/g,function(){return b[2>=arguments.length?A:arguments[2]]}):this.url}}}return A}}},function(a,b,c){b.a=function(a,b,c){void 0===c&&(c=!1);var d=2===b.length;if(a&&b instanceof Function)for(var f in a)if(a.hasOwnProperty(f)||!0===c){var l=d?b(f,a[f]):b(f);if(!0!==l&&!1===l)break}}},function(a,b,c){(function(a,c){var d=new a;b.a={throttledFunctions:d,invokeAll:function(a){c.fastIterate(d,function(b,c){c.invoke.call(a)})},
create:function(a,b){var g=void 0===b?{}:b,f=g.timeout,l=void 0===f?0:f;f=g.immediateFirstRun;var n=void 0===f?!1:f;g=g.context;var q=!0,k=null,e=null,D=null,H=null,z=!1,h=null,m=null;g={invoke:function(){var b=this.context||this;D!==k&&(H=c.now(),D=k,a.call(b,{object:k,prevObject:null,timeDifff:0,args:m}))},run:function(b){var d=this.context||this;n&&(clearTimeout(h),h=G(function(){return q=!0},l));if(!z){k=b;for(var g=arguments.length,f=Array(1<g?g-1:0),t=1;t<g;t++)f[t-1]=arguments[t];m=f;q&&n?
(q=!1,D=b,a.call(d,{object:b,prevObject:null,timeDifff:0,args:m})):(H=c.now(),z=!0,G(function ma(){var b=parseInt(c.now()-H,10);b>=l?(z=!1,H=c.now(),D!==k&&(e=D,D=k,a.call(d,{object:k,prevObject:e,timeDiff:b,args:m}))):G(ma)}))}},context:void 0===g?null:g,call:function(){var a;(a=this.run).call.apply(a,arguments)}};d.set(a,g);return g},setContext:function(a,b){if(d.has(a)){var c=d.get(a);null==c.context&&(c.context=b)}}}}).call(this,c(12)["default"],c(7)["default"])},function(a,b,c){c.r(b);c.d(b,
"Promise",function(){return d});var d=c(4).a.Promise||c(85).Promise},function(a,b,c){c.r(b);c.d(b,"FunctionUtils",function(){return d});var d={invoke:function(a,b,c){void 0===b&&(b=[]);return"function"===typeof a?(c&&(a=a.bind(c)),a.apply(void 0,b)):a},lazy:function(a,b){void 0===b&&(b=0);var c;return function(){for(var d=arguments.length,g=Array(d),f=0;f<d;f++)g[f]=arguments[f];clearTimeout(c);c=G(function(){a.apply(void 0,g)},b)}},once:function(a){var b=function(){var c=a.apply(void 0,arguments);
b=function(){return c};return c};return function(){return b.apply(void 0,arguments)}},noop:function(){return function(){}},toFunction:function(a){return"function"===typeof a?a:this.noop()},repeat:function(a,b){var c=void 0===b?{}:b,d=c.context,f=void 0===d?null:d;d=c.args;var l=void 0===d?[]:d;d=c.delay;var p=void 0===d?0:d;c=c.raf;c=void 0===c?!0:c;var B=Date.now(),q=!1,k=null,e=c?this.requestAnimationFrame.bind(this):G,D=c?this.cancelAnimationFrame.bind(this):clearTimeout;c=function z(){q?D(k):
(Date.now()-B>=p&&(B=Date.now(),a.apply(f,l)),k=e(z))};c.stop=function(){q=!0};c();return c}}},function(a,b,c){a.exports=c(87)},function(a,b,c){c.r(b);a=c(4).a.Symbol;c=a instanceof Function&&a.iterator?a:c(66);b["default"]=c},function(a,b,c){var d=c(4),f=c(2),l=function(){var a=!1;if(f.ObjectUtils.objectIsWindow(d.a))try{d.a.addEventListener("test",function(){},Object.defineProperties({},{passive:{get:function(){return a=!0},configurable:!0,enumerable:!0}}))}catch(r){}return a}(),g=function(a,b,
c,d,g){void 0===g&&(g={});a+="EventListener";if(b&&b[a])return l?b[a](c,d,g):b[a](c,d,"boolean"===typeof g?g:g.capture||!1)};a=function(){function a(){}a.on=function(a,b,c,d){void 0===d&&(d={});return g("add",a,b,c,d)};a.off=function(a,b,c,d){void 0===d&&(d={});return g("remove",a,b,c,d)};return a}();b.a=a},function(a,b,c){(function(a){var d=c(9),l=c(2);b.a=function(b){var c=[];if(!b)return c;if(b instanceof Array)return[].slice.call(b,0);if(l.ObjectUtils.isNative(d.a.Array.from,"from"))return d.a.Array.from(b);
var g="length"in b?b.length:"size"in b?b.size:0;var f=c.slice.call(b,0);if(f.length===g)return f;try{if(b.forEach)b.forEach(function(a,b){var e=a;b&&a&&b!==a&&(e=[b,a]);c.push(e)});else for(var p=b[a.iterator](),B,q;B=p.next(),q=B.value,!B.done;)c.push(q);return c}catch(k){return[]}}}).call(this,c(25)["default"])},function(a,b,c){c.r(b);c.d(b,"BrowserUtils",function(){return l});var d=c(4),f=c(10),l={isMSIE:function(){var a=d.a.navigator.userAgent,b=a.indexOf("MSIE ");if(0<b)return parseInt(a.substring(b+
5,a.indexOf(".",b)),10);if(0<a.indexOf("Trident/"))return b=a.indexOf("rv:"),parseInt(a.substring(b+3,a.indexOf(".",b)),10);b=a.indexOf("Edge/");return 0<b?parseInt(a.substring(b+5,a.indexOf(".",b)),10):!1},isIframe:function(a){return a.top!==a},isMobile:function(a){a=a||m&&m.navigator?navigator.userAgent:null;if(null==a)return!1;var b=!1;if(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i.test(a)||
/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw-(n|u)|c55\/|capi|ccwa|cdm-|cell|chtm|cldc|cmd-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc-s|devi|dica|dmob|do(c|p)o|ds(12|-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(-|_)|g1 u|g560|gene|gf-5|g-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd-(m|p|t)|hei-|hi(pt|ta)|hp( i|ip)|hs-c|ht(c(-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i-(20|go|ma)|i230|iac( |-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|-[a-w])|libw|lynx|m1-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|-([1-8]|c))|phil|pire|pl(ay|uc)|pn-2|po(ck|rt|se)|prox|psio|pt-g|qa-a|qc(07|12|21|32|60|-[2-7]|i-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h-|oo|p-)|sdk\/|se(c(-|0|1)|47|mc|nd|ri)|sgh-|shar|sie(-|m)|sk-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h-|v-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl-|tdg-|tel(i|m)|tim-|t-mo|to(pl|sh)|ts(70|m-|m3|m5)|tx-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas-|your|zeto|zte-/i.test(a.substr(0,
4)))b=!0;return b},isAndroid:function(){return/android/i.test(navigator.userAgent)},isIOS:function(){return/ipad|iphone|ipod/i.test(navigator.userAgent)},orientation:function(a){a=a||d.a;return null!=a?a:(a=a.screen.orientation||a.screen.mozOrientation||a.screen.msOrientation)&&a.angle||0},devicePixelRatio:function(){return d.a.devicePixelRatio||1},meta:function(a){return(a=u.querySelector('meta[name\x3d"ym:'+a+'"]'))?a.content:null},scaleFactor:function(a,b){var c=a.clientWidth,d=a.clientHeight,
g=b.clientWidth,f=b.clientHeight;return g>c||f>d?(c/=g,d/=f,Math.min(1,Math.max(c>d?.1:.35,Math.min(c,d)))):1},viewportGetter:function(a){a=a||m.document;var b=a.defaultView,c=function(c){/Trident|MSIE/.test(b.navigator.userAgent)?a.body.parentNode&&a.body.parentNode.appendChild(c):a.body.appendChild(c)},d=a.querySelector("ym-measure.ym-viewport"),g=a.querySelector("ym-measure.ym-zoom");null===d&&(d=f.DOMUtils.createElement("ym-measure",{className:"ym-viewport",style:{display:"block",top:0,right:0,
bottom:0,left:0,height:"100vh",width:"100vw",position:"fixed",transform:"translate(0, -100%)",msTransform:"translate(0, -100%)",webkitTransform:"translate(0, -100%)",transformOrigin:"0 0",msTransformOrigin:"0 0",webkitTransformOrigin:"0 0"}}),c(d));null===g&&(g=f.DOMUtils.createElement("ym-measure",{className:"ym-zoom",style:{bottom:"100%",position:"fixed",width:"100vw"}}),c(g));return Object.defineProperties({getSize:function(a){void 0===a&&(a=1);var b=d;return{width:Math.round(b.clientWidth*a),
height:Math.round(b.clientHeight*a)}}},{zoomLevel:{get:function(){try{return parseFloat((g.clientWidth/b.innerWidth).toFixed(3))}catch(B){return 1}},configurable:!0,enumerable:!0},scrollingElement:{get:function(){return a.scrollingElement||(a.documentElement.scrollHeight>a.body.scrollHeight&&0===a.compatMode.indexOf("CSS1")?a.documentElement:a.body)},configurable:!0,enumerable:!0},orientation:{get:function(){var a=ia?ia.orientation||ia.mozOrientation||ia.msOrientation:null;return a&&a.angle||0},configurable:!0,
enumerable:!0}})}}},function(a,b,c){(function(a){var d=c(27),l=function(a,b,c){a.forEach(function(a,d){2===b.length?c?b(a,d):b([a,d]):b(a)})};b.a=function(b,c){var g=2===c.length;if(b&&c instanceof Function)if(null!=b[a.iterator])if(g)if(b instanceof Array){g=0;for(var f=b.length;g<f;g++){var n=c(g,b[g]);if(!0!==n&&!1===n)break}}else{if(b[a.iterator])for(g=b,f=Array.isArray(g),n=0,g=f?g:g[a.iterator]();;){if(f){if(n>=g.length)break;var B=g[n++]}else{n=g.next();if(n.done)break;B=n.value}B=c(B[0],B[1]);
if(!0!==B&&!1===B)break}}else for(g=b,f=Array.isArray(g),n=0,g=f?g:g[a.iterator]();;){if(f){if(n>=g.length)break;B=g[n++]}else{n=g.next();if(n.done)break;B=n.value}B=c(B);if(!0!==B&&!1===B)break}else if("forEach"in b)l(b,c,g);else if(b instanceof Array)for(f=Object(d.a)(b),n=0;n<f.length&&(B=f[n],B=g?c.apply(void 0,B):c(B),!0===B||!1!==B);n++);}}).call(this,c(25)["default"])},function(a,b,c){(function(a,f,l){c.d(b,"b",function(){return q});var d=c(1);d=c.n(d);var n=c(15),r="2d webgl experimental-webgl webgl2 experimental-webgl2 bitmaprenderer".split(" "),
t=function(){var a=u.createElement("canvas");a.proxy=!1;return r.filter(function(b){return null!=a.getContext(b)})}(),p=new a,B=HTMLCanvasElement.prototype.getContext,q=function(a){var b=u.createElement("canvas");b.width=a.width;b.height=a.height;b.proxy=!1;b.getContext("2d").drawImage(a,0,0);return b.toDataURL("image/jpeg")},k=function(a){a=a.constructor;if(p.has(a))return p.has(a);var b=f.apiMock(a);p.set(a,b);return b};a=function(){function a(){}a.mock=function(){if(!this.mocked){this.mocked=!0;
HTMLCanvasElement.prototype.getContext=function(b){var c=B.call(this,b);if(null!==c)return!1!==this.proxy&&0<=t.indexOf(b)&&a.update(c),c};var b=u.querySelectorAll("canvas");f.forof(b,function(a){f.forof(r,a.getContext.bind(a))})}};a.remove=function(){this.mocked&&(this.mocked=!1,this.events.off(),HTMLCanvasElement.prototype.getContext=B)};a.update=function(b){if(!1===a.proxies.has(b)){var c=this,e=b.canvas,d=Object.getPrototypeOf(b),g=k(b);f.nodeIsRecordable(e)&&g.properties&&(f.forof(g.properties,
function(a){var e=Object.getOwnPropertyDescriptor(d,a),k=f.combine(e);e.get&&(k.get=e.get.bind(b));e.set&&(k.set=function(d){c.setterInvoked(b,a,d);return e.set.call(b,d)});Object.defineProperty(b,a,k)}),f.forof(g.methods,function(a){var e=b[a];Object.defineProperty(b,a,{configurable:!0,value:function(){for(var d=arguments.length,k=Array(d),g=0;g<d;g++)k[g]=arguments[g];c.methodInvoked(b,a,k);return e.bind.apply(e,[b].concat(k))}})}));a.proxies.add(b)}};a.setterInvoked=function(a,b,c){var e=this;
this.mocked&&G(function(){e.send(a,"setter",{name:b,value:String(c)})})};a.methodInvoked=function(a,b,c){var e=this;this.mocked&&G(function(){c=c.map(function(a){return a instanceof Image?q(a):String(a)});e.send(a,"method",{name:b,args:c})})};a.send=function(){};return a}();d()(a,"proxies",new l);d()(a,"mocked",!1);d()(a,"events",new n.a(["setter:memory","method:memory"]));b.a=a}).call(this,c(12)["default"],c(7)["default"],c(8)["default"])},function(a,b,c){(function(a){var d=c(14),l=c.n(d);d=c(1);
var g=c.n(d),n=c(3);d=function(){function b(){g()(this,"executionFrameId",null);g()(this,"jobExecutionStartStamp",null);this.jobs=[];this.isRunning=!1}var c=b.prototype;c.push=function(a,b){var c;void 0===b&&(b=!1);(c=this.jobs).push.apply(c,[].concat(a));this.start(b)};c.start=function(a){void 0===a&&(a=!1);this.isRunning||this.executeNextJob(a)};c.executeNextJob=function(a){void 0===a&&(a=!1);this.hasJobs&&(a?this._executeJobsSync():this._executeJobsAsync())};c._executeJobsSync=function(){if(this.hasJobs&&
this.isRunning){for(a.cancelAnimationFrame(this.executionFrameId);this.hasJobs;)this._executeJob();this.jobExecutionStartStamp=null;this.isRunning=!1}};c._executeJobsAsync=function(){var b=this;if(this.hasJobs){this.isRunning=!0;var c;this.executionFrameId=a.requestAnimationFrame(function(){for(;b.hasJobs&&(!b.jobExecutionStartStamp||150>c);)c=b._executeJob(!b.jobExecutionStartStamp);b.jobExecutionStartStamp=null;b._executeJobsAsync()})}else this.isRunning=!1};c._executeJob=function(a){void 0===a&&
(a=!0);a&&(this.jobExecutionStartStamp=(new Date).valueOf());a=this.jobs.shift();try{a()}catch(B){n["default"].log("Error occurred when running job"),n["default"].log(B),n["default"].log(a.toString())}return(new Date).valueOf()-this.jobExecutionStartStamp};l()(b,[{key:"hasJobs",get:function(){return 0<this.jobs.length}}]);return b}();b.a=d}).call(this,c(7)["default"])},function(a,b){a.exports=function(a,b){if(null==a)return{};var c={},d=Object.keys(a),g;for(g=0;g<d.length;g++){var n=d[g];0<=b.indexOf(n)||
(c[n]=a[n])}return c}},function(a,b,c){c.d(b,"a",function(){return d});c.d(b,"b",function(){return f});var d=function(){function a(){this.m=[]}var b=a.prototype;b.use=function(a){this.m.push(a)};b.useRight=function(a){this.m.unshift(a)};b.run=function(a,b){this._execute(a,b)};b._execute=function(a,b){this.m.reduceRight(function(b,c){return function(d){return c(d||a,b)}},function(c){return b(c||a)})(a)};return a}(),f=function(){function a(){this.m=[]}var b=a.prototype;b.use=function(a){this.m.push(a)};
b.useRight=function(a){this.m.unshift(a)};b.run=function(a,b){return this._execute(a,b)};b._execute=function(a){for(var b=0,c=this.m.length;b<c;b++){var d=this.m[b](a);if(d===A)break;a=d}return a};return a}()},function(a,b,c){(function(b){function c(a,c,d,f,t,p,h){try{var g=a[p](h),k=g.value}catch(e){d(e);return}g.done?c(k):b.resolve(k).then(f,t)}a.exports=function(a){return function(){var d=this,f=arguments;return new b(function(b,g){function l(a){c(q,b,g,l,n,"next",a)}function n(a){c(q,b,g,l,n,
"throw",a)}var q=a.apply(d,f);l(A)})}}}).call(this,c(22).Promise)},function(a,b,c){var d=c(76)();a.exports=function(a){return a!==d&&null!==a}},function(a,b,c){c.r(b);c.d(b,"DocumentUtils",function(){return f});var d=function(a){return a?"IFRAME"===a.nodeName?a.contentDocument:a:null},f={open:function(a){(a=d(a))&&a.open()},write:function(a,b){var c=d(a);c&&c.write(b)},close:function(a){(a=d(a))&&a.close()},initDocument:function(a){var b=void 0===a?{}:a;a=b.html;var c=b.doctype;b=b.doc||u.cloneNode(!1);
this.open(b);this.write(b,a||c+"\x3chtml\x3e\x3chead\x3e\x3c/head\x3e\x3cbody\x3e\x3c/body\x3e\x3c/html\x3e");this.close(b);return b}}},function(a,b,c){c.r(b);c.d(b,"TimeUtils",function(){return f});a=c(41);var d=c(19),f={now:function(){return(new Date).getTime()},formatTime:function(a,b){void 0===b&&(b=!0);a=Number(a);return[Math.floor(a/3600),Math.floor(a/60%60),Math.floor(a%60)].filter(function(a,b){return!(0===a&&0===b)}).map(function(a,c){return d.StringUtils.pad(a,0!==c||b?2:0,"0")})},formattedTime:function(a,
b,c){void 0===b&&(b=["sec","min","hours"]);void 0===c&&(c=!0);var d=f.formatTime(a,c).reverse();return b.reduce(function(a,b,c){d[c]&&parseInt(d[c],10)&&a.push(parseInt(d[c],10)+" "+b);return a},[]).reverse().join(" ")},timer:a.a}},function(a,b){function c(){throw Error("setTimeout has not been defined");}function d(){throw Error("clearTimeout has not been defined");}function f(a){if(h===G)return G(a,0);if((h===c||!h)&&G)return h=G,G(a,0);try{return h(a,0)}catch(ca){try{return h.call(null,a,0)}catch(Ta){return h.call(this,
a,0)}}}function l(a){if(q===clearTimeout)return clearTimeout(a);if((q===d||!q)&&clearTimeout)return q=clearTimeout,clearTimeout(a);try{return q(a)}catch(ca){try{return q.call(null,a)}catch(Ta){return q.call(this,a)}}}function g(){e&&D&&(e=!1,D.length?k=D.concat(k):H=-1,k.length&&n())}function n(){if(!e){var a=f(g);e=!0;for(var b=k.length;b;){D=k;for(k=[];++H<b;)D&&D[H].run();H=-1;b=k.length}D=null;e=!1;l(a)}}function r(a,b){this.fun=a;this.array=b}function t(){}var p=a.exports={};try{var h="function"===
typeof G?G:c}catch(z){h=c}try{var q="function"===typeof clearTimeout?clearTimeout:d}catch(z){q=d}var k=[],e=!1,D,H=-1;p.nextTick=function(a){var b=Array(arguments.length-1);if(1<arguments.length)for(var c=1;c<arguments.length;c++)b[c-1]=arguments[c];k.push(new r(a,b));1!==k.length||e||f(n)};r.prototype.run=function(){this.fun.apply(null,this.array)};p.title="browser";p.browser=!0;p.env={};p.argv=[];p.version="";p.versions={};p.on=t;p.addListener=t;p.once=t;p.off=t;p.removeListener=t;p.removeAllListeners=
t;p.emit=t;p.prependListener=t;p.prependOnceListener=t;p.listeners=function(a){return[]};p.binding=function(a){throw Error("process.binding is not supported");};p.cwd=function(){return"/"};p.chdir=function(a){throw Error("process.chdir is not supported");};p.umask=function(){return 0}},function(a,b,c){function d(){if("undefined"===typeof Reflect||!Reflect.construct||Reflect.construct.sham)return!1;if("function"===typeof Proxy)return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,
[],function(){})),!0}catch(g){return!1}}function f(b,c,r){d()?a.exports=f=Reflect.construct:a.exports=f=function(a,b,c){var d=[null];d.push.apply(d,b);a=new (Function.bind.apply(a,d));c&&l(a,c.prototype);return a};return f.apply(null,arguments)}var l=c(86);a.exports=f},function(a,b,c){(function(a){var d=c(36),l=c(2),g=c(20);b.a=function(b){var c=l.ObjectUtils.assign({url:"",headers:{},method:"get",type:"json",data:null},b);if(b.headers===A||b.headers["Content-Type"]===A)c.headers=c.headers||{},c.headers["Content-Type"]=
function(){switch(c.type){case "json":return"application/json";case "css":return"text/css";case "html":return"text/html";default:return"text/plain"}}();return(new a(function(a,b){var f=new XMLHttpRequest,l=new FileReader;"css"===c.type&&(f.responseType="blob");f.addEventListener("readystatechange",function(){var k=f.status;4===f.readyState&&(200<=k&&301>k?"css"===c.type?(k=((f.getResponseHeader("Content-Type")||"").split("; ").map(function(a){return a.split("\x3d")}).find(function(a){return"charset"===
a[0]})||["charset","UTF-8"])[1],l.addEventListener("load",function(b){a({result:l.result})}),l.readAsText(f.response,k)):(k=function(a){switch(c.type){case "json":return JSON.parse(a);case "html":return d.DocumentUtils.initDocument({html:a});default:return a}}(f.responseText),a({result:k})):b(Error(k+" "+f.statusText)))});f.addEventListener("error",b);f.open(c.method.toUpperCase(),c.url);Object(g.a)(c.headers,function(a,b){f.setRequestHeader(a,b)});f.send(c.data?JSON.stringify(c.data):A)}))["catch"](function(a){return{}})}}).call(this,
c(22).Promise)},function(a,b,c){(function(a,c){var d=function(){if("undefined"!==typeof m)return m;if("undefined"!==typeof global)return global;if("undefined"!==typeof self)return self}(),g=function(){return Date.now()},f=function(b){return b?(b=this._getTime()-b,0>b&&a.warn("Invalid stamp: "+b),b):0},r=function(a,b){var c;(c=d.console).log.apply(c,a.concat([b+"ms"]))};b.a=function(a){void 0===a&&(a={});var b=a.getStamp||f,c=a.printLog||r,d={start:function(){var a=this._getTime();this._initializedAt=
this._initializedAt||a;this._startedAt=a;return d},stamp:function(){return this._getStamp(this._startedAt)},stampSinceCreated:function(){return this._getStamp(this._initializedAt)},reset:function(){return this.start()},log:function(){for(var a=arguments.length,b=Array(a),d=0;d<a;d++)b[d]=arguments[d];c(b,this.stamp());return this},logSinceCreated:function(){for(var a=arguments.length,b=Array(a),d=0;d<a;d++)b[d]=arguments[d];c(b,this.stampSinceCreated());return this}};Object.defineProperties(d,{_getTime:{value:(a.getTime||
g).bind(d)},_getStamp:{value:b.bind(d)}});return d}}).call(this,c(3)["default"],c(38))},function(a,b,c){(function(a,f){var d=c(5),g=c.n(d),n=c(17);b.a=function(){var b=new a,c={input:{capture:!0,passive:!0},change:{capture:!0},keyup:{capture:!0},paste:{capture:!0},cut:{capture:!0}};return{inputs:{},events:{},create:function(a){var d=this;this.handleInputValueChange=this.handleInputValueChange.bind(this);this.handleInputChangeValueEvent=this.handleInputChangeValueEvent.bind(this);this.handleNodeIndex=
this.handleNodeIndex.bind(this);this.handleNodeRemoval=this.handleNodeRemoval.bind(this);this.recorder=a;this.checkInpudDescriptorOverrideAbility(a)&&(a.indexer.dom.forEach(function(a){d.handleNodeIndex(a)}),a.indexer.on("add",this.handleNodeIndex),a.indexer.on("remove",this.handleNodeRemoval));f.forin(c,function(g){b.add(a.attachEvent(a.document,g,d.handleInputChangeValueEvent,c[g]))})},handleNodeIndex:function(a){if(n.a.isValidNode(a.nativeNode)&&"__ym_input_override_test"!==a.nativeNode.getAttribute("class")){var b=
a.nativeNode,c=a.id,d="radio"===a.attributes.type||"checkbox"===a.attributes.type;a=this.getPropertyName(d);this.inputs[c]={checkable:d,value:b[a]};d=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(b),a)||{};var e=Object.getOwnPropertyDescriptor(b,a)||{},l=g()({},d,e);if(f.isNative(l.set,"((set)?(\\s?"+a+")?)?")){var t=this;try{Object.defineProperty(b,a,g()({},l,{configurable:!0,set:function(a){var b=this;t.recorder.errorLogger(function(){t.handleInputValueChange(c,a,b)},"inpVC");return l.set.call(this,
a)}}))}catch(z){delete this.inputs[c]}}}},handleInputChangeValueEvent:function(a){var b=this;this.recorder.errorLogger(function(){var c=a.target,d=b.recorder.indexer.get(c);if(d){var e=d.id;if(!b.inputs[e]&&(b.handleNodeIndex(d),!b.inputs[e]))return;d=b.getPropertyName(b.inputs[e].checkable);b.handleInputValueChange(e,c[d],c)}},"inpChV")},handleInputValueChange:function(a,b,c){var d=this.inputs[a],e=d.checkable;d=d.value;if((!b||-1!==["string","boolean","number"].indexOf(typeof b))&&b!==d){if(e)c=
this.recorder._getEventObject("change",a,{checked:!!b});else{var g=n.a.validate(c,this.recorder.options);d=g.forceRecord;var f=g.isPrivate;g=g.isAllowed||d?b:n.a.encode(b);c=this.recorder._getEventObject("change",c,{value:g,hidden:f&&!d})}this.inputs[a]={checkable:e,value:b};this.recorder._publishActions(c)}},handleNodeRemoval:function(a){a.nativeNode&&"__ym_input_override_test"===a.nativeNode.getAttribute("class")||delete this.inputs[a.id]},getPropertyName:function(a){return a?"checked":"value"},
checkInpudDescriptorOverrideAbility:function(a){var b=!0;try{var c=a.document.createElement("input");c.value="INPUT_VALUE";c.style.setProperty("display","none","important");c.setAttribute("type","text");c.setAttribute("class","__ym_input_override_test");a.document.documentElement.appendChild(c);var d=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(c),"value")||{},e=Object.getOwnPropertyDescriptor(c,"value")||{},f=g()({},d,e);Object.defineProperty(c,"value",g()({},f,{configurable:!0,set:function(a){return f.set.call(c,
a)}}));"INPUT_VALUE"!==c.value&&(b=!1);c.value="INPUT_TEST";"INPUT_TEST"!==c.value&&(b=!1)}catch(H){b=!1}c&&a.document.documentElement.removeChild(c);return b},destroy:function(a){var b=this;Object.keys(this.inputs).forEach(function(c){var d=a.indexer.findByID(c);if(d){c=b.getPropertyName(b.inputs[c].checkable);var e=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(d),c);Object.defineProperty(d,c,e)}});Object.keys(this.events).forEach(function(c){a.removeEvent(b.events[c])});a.indexer.off("add",
this.handleNodeIndex);a.indexer.off("remove",this.handleNodeRemoval)}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a,f){var d=c(21);b.a=function(){var b={mousemove:{capture:!0,passive:!0,lazy:5},mousedown:{capture:!0},mouseup:{capture:!0},click:{capture:!0}},c=new a,l=function(a){var b=a.object;a=a.args[0];var c=b.type,e=b.target,d=b.clientX;d=void 0===d?null:d;b=b.clientY;b=void 0===b?null:b;e=this.document.elementFromPoint(d,b)||e;a=this._getEventObject(c,e,{x:d,y:b},
a);this._publishActions(a)},t=d.a.create(l,{timeout:0}),p=function(a){var b=this.stamp;"mousemove"===a.type?t.call(this,a,b):l.call(this,{object:a,args:[b]})};return{create:function(a){var d=a._universalHandler(p);f.forin(b,function(k){c.add(a.attachEvent(a.document,k,d,b[k]))})},destroy:function(a){f.forof(c,function(b){return a.removeEvent(b)});c.clear()}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a,c){b.a=function(){var b={focus:{capture:!0},blur:{capture:!0}},d=
new a,f=function(a){a=this._getEventObject(a.type,a.target);this._publishActions(a)};return{create:function(a){var g=a._universalHandler(f);c.forin(b,function(c){d.add(a.attachEvent(a.document,c,g,b[c]))})},destroy:function(a){c.forof(d,function(b){return a.removeEvent(b)});d.clear()}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a){b.a=function(){var b,c=function(b,c){var d=this,g=a.now();this._blockUpcomingCaptor("resize");this._executeCaptor("deviceRotation",function(){G(function(){var f=
a.now()-g;d._publishActions(c.getValue.call(d,b,f))},300)})};return{getValue:function(a,b){var c=this.viewport.getSize(1);c=this._getEventObject("deviceRotation",0,{width:c.width,height:c.height,orientation:this.viewport.orientation});c.stamp-=b;return c},create:function(a){b=a.attachEvent(a.window,"orientationchange",a._universalHandler(c,{extra:[this]}),{passive:!0})},destroy:function(a){a.removeEvent(b)}}}}).call(this,c(7)["default"])},function(a,b,c){(function(a,f){var d=c(21);b.a=function(){var b,
c=new a,l=function(a){var b=a.args[0],c=this.viewport.scrollingElement;a=a.object.target;var d=this.document,e=this.window,g=f.getScroll(a);b=this._getEventObject("scroll",a,{x:Math.max(g.left,0),y:Math.max(g.top,0),page:a===c||a===e||a===d||a===d.body},b);this._publishActions(b)},t=function(a){var b=a.target;if(c.has(b))b=c.get(b);else{var g=d.a.create(l,{timeout:f.isAndroid()?0:100,immediateFirstRun:!0});c.set(b,g);b=g}b.call(this,a)};return{create:function(a){var c=a._universalHandler(t);b=a.attachEvent(a.document,
"scroll",c.bind(a),{capture:!0,passive:!0})},destroy:function(a){a.removeEvent(b);c.clear()}}}}).call(this,c(12)["default"],c(7)["default"])},function(a,b,c){(function(a,c){b.a=function(){var b={mousemove:{capture:!0,passive:!0,lazy:5},touchmove:{capture:!0,passive:!0,lazy:5},mousedown:{capture:!0},touchdown:{capture:!0}},d=new a,f=!1,r=function(a){var b="select"===a.type?this.selection.getSelectionFor(a.target):this.selection.getPageSelection();b&&b.start!==b.end&&-1!==["mousemove","touchmove","touchdown"].indexOf(a.type)?
(f=!0,a=this._getEventObject("selection","select"===a.type?a.target:this.rootNode,b),this._publishActions(a)):f&&-1!==["mousedown","touchmove","touchdown"].indexOf(a.type)&&(f=!1,a=this._getEventObject("selection",null,{start:0,end:0}),this._publishActions(a))};return{create:function(a){var g=a._universalHandler(function(b){("mousemove"===b.type&&1===b.which||-1!==["mousedown","touchmove","touchdown"].indexOf(b.type))&&r.call(a,b)});c.forin(b,function(c){d.add(a.attachEvent(a.document,c,g,b[c]))})},
destroy:function(a){c.forof(d,function(b){return a.removeEvent(b)})}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a,f,l){var d=c(21);b.a=function(){var b={touchmove:{capture:!0,passive:!0},touchstart:{capture:!0},touchend:{capture:!0},touchcancel:{capture:!0},touchforcechange:{capture:!0}},c=new a,g=new f,p=!1,h=function(a){var b=a.object;a=a.args[0];var c=b.type,e=l.map(b.changedTouches,function(a){return{id:a.__id,x:Math.round(a.clientX),y:Math.round(a.clientY),force:a.force}});
b=this._getEventObject(c,b.target,{touches:e},a);this._publishActions(b)},q=d.a.create(h,{timeout:l.isAndroid()?0:300}),k=function(a){var b=this.stamp,c="touchcancel"===a.type||"touchend"===a.type;a.changedTouches&&0<a.changedTouches.length&&l.forof(a.changedTouches,function(a){var b=void 0===c?!1:c;if(g.has(a.identifier))var e=g.get(a.identifier);else e=l.guid(),g.set(a.identifier,e);b&&g["delete"](a.identifier);a.__id=e});"touchmove"===a.type?p?h.call(this,{object:a,args:[b]}):q.call(this,a,b):
h.call(this,{object:a,args:[b]})};return{create:function(a){var e=a._universalHandler(k);l.forin(b,function(d){c.add(a.attachEvent(a.document,d,e,b[d]))});var d=null,g=a._universalHandler(function(){clearTimeout(d);p=!0;d=G(function(){return p=!1},150)});c.add(a.attachEvent(a.document,"scroll",g,{passive:!0,capture:!0}))},destroy:function(a){l.forof(c,function(b){return a.removeEvent(b)});c.clear()}}}}).call(this,c(8)["default"],c(12)["default"],c(7)["default"])},function(a,b,c){(function(a,c){b.a=
function(){var b=new a,d=[],f=null,r=function(){var a=this,b=this.stamp,g=this.viewport.zoomLevel;if(this.zoomLevel!==g){clearTimeout(f);var l=c.scrollingElement(),k=l.scrollLeft;l=l.scrollTop;this.zoomLevel=g;d.push([b,g,k,l]);f=G(function(){var b=d[0],c=d[d.length-1],k=c[0];b=a._getEventObject("zoom",0,{zoomFrom:{level:b[1],x:b[2],y:b[3]},zoomTo:{level:c[1],x:c[2],y:c[3]},duration:k-b[0]},k);d.length=0;a._publishActions(b)},100)}};return{create:function(a){a=a._universalHandler(r);this.captor=c.repeat(a)},
destroy:function(){this.captor.stop();b.clear()}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a,c){b.a=function(){var b,d="undefined"!==typeof u.hidden?{hidden:"hidden",event:"visibilitychange"}:"undefined"!==typeof u.msHidden?{hidden:"msHidden",event:"msvisibilitychange"}:"undefined"!==typeof u.webkitHidden?{hidden:"webkitHidden",event:"webkitvisibilitychange"}:null,f=d?(b={},b[d.event]={capture:!0},b):{focus:{capture:!0},blur:{capture:!0}},r={focus:"windowfocus",blur:"windowblur"},
t=new a,p=function(a){a=d?this._getEventObject(r[u[d.hidden]?"blur":"focus"],this.window):this._getEventObject(r[a.type],this.window);this._publishActions(a)};return{create:function(a){var b=a._universalHandler(p);c.forin(f,function(c){t.add(a.attachEvent(a.window,c,b,f[c]))})},destroy:function(a){c.forof(t,function(b){return a.removeEvent(b)});t.clear()}}}}).call(this,c(8)["default"],c(7)["default"])},function(a,b,c){(function(a){var d=c(14),l=c.n(d);d=c(6);var g=c.n(d);d=c(18);var n=c.n(d);d=c(1);
var r=c.n(d);d=c(15);var t=c(52),p=c(31),h=c(11);d=function(b){function c(c,e,d){var k=b.call(this)||this;r()(g()(k),"IGNORE_NODE_ATTRIBUTE","__ym_wv_ign");r()(g()(k),"eventsList",["mutation"]);k.indexer=e;k.originalHTML=k.indexer.html;k.target=c;k.watcher=new t.a(k.target,d);k.queue=new p.a;k._timer=a.timer();k.watcher.on("mutation",k.collectMutations.bind(g()(k)));return k}n()(c,b);var e=c.prototype;e.addChanges=function(b,c){for(var e=arguments.length,d=Array(2<e?e-2:0),k=2;k<e;k++)d[k-2]=arguments[k];
if(null!=b[c]&&0<d.length){var g,f=b[c].length;a.fastIterate(d,function(a,b){return b.i=f+a});b[c]=(g=b[c]).concat.apply(g,d)}};e.collectMutations=function(a){var b=this;this.queue.push(function(){var c=b.processMutations(a.summary);c.hasData&&b.emit("mutation",{changes:c.store,stamp:a.stamp})})};e.destroy=function(){this.queue.start(!0);this.off();this.watcher.off();this.watcher.stop()};e.cleanChangesObject=function(b){a.forin(b,function(a){0===b[a].length&&delete b[a]});return b};e.initObserver=
function(){this.initObserver=a.noop();this.watcher.start();this._timer.start()};e.processMutations=function(b){var c=this,e=!1,d=[];a.fastIterate(b,function(a,b){if(b.target.parentNode&&!h.c.isIgnoredNode(b.target.parentNode)){var k=c.changesObject;!1!==function(){var a=b.type,e=b.target,d=c.indexer.getIndexedNodeId(e);if(null==d)return!1;e=[b,d,e,k];switch(a){case "childList":return c.processTreeChanges.apply(c,e);case "attributes":return c.processAttributesChanges.apply(c,e);case "characterData":return c.processContentChanges.apply(c,
e)}}()&&(e=!0,d.push(c.cleanChangesObject(k)))}});return{store:d,hasData:e}};e.combineMutations=function(b,c){return a.reduce(Object.keys(c),function(a,b){var e;null==a[b]&&(a[b]=[]);a[b]=(e=a[b]).concat.apply(e,c[b]);return a},b)};e.processTreeChanges=function(b,c,e,d){var k=this,g=b.nextSibling,f=b.previousSibling;e=b.meta;b=e.addedNodes;e=e.removedNodes;e=void 0===e?[]:e;var l=[],D=[];a.fastIterate(void 0===b?[]:b,function(b,e){k.indexer.reindexNodeTree(e,{parentID:c,callback:function(b,c){if(b){var d=
a.combine({id:b.id,pa:b.parent,nm:b.name},c===e?{pr:k.getIDForNode(f),nx:k.getIDForNode(g)}:{});b.content&&(d.ct=b.content);b.namespace&&(d.ns=b.namespace);d.at=h.c.getAttributes(b.nativeNode);l.push(d)}}})});a.fastIterate(e,function(a,b){var e={id:k.indexer.removeNodeTree(b),pa:c,pr:k.getIDForNode(f),nx:k.getIDForNode(g)};e.id&&D.push(e)});if(0===l.length&&0===D.length)return!1;this.addChanges.apply(this,[d,"a"].concat(D));this.addChanges.apply(this,[d,"b"].concat(l))};e.processAttributesChanges=
function(a,b,c,e){var d,k=a.meta;a=k.name;c=k.oldValue;k=k.newValue;var g=null===k||k===A;this.addChanges(e,"c",{id:b,at:(d={},d[a]={n:k,o:c,r:g},d)})};e.processContentChanges=function(a,b,c,e){this.addChanges(e,"d",{id:b,ct:{n:a.meta.newValue,o:a.meta.oldValue}})};e.getIDForNode=function(a){if(a){var b=this.indexer.getNodeId(a);if(null!=b)return b;this.indexer.reindexNodeTree(a);return this.indexer.getNodeId(a)}};l()(c,[{key:"changesObject",get:function(){return{a:[],b:[],c:[],d:[]}}},{key:"html",
get:function(){return this.originalHTML}}]);return c}(d.a);b.a=d}).call(this,c(7)["default"])},function(a,b,c){(function(a,f,l){var d=c(6),n=c.n(d);d=c(18);var r=c.n(d);d=c(1);var t=c.n(d),p=c(11);d=function(b){function c(a,c){var e=b.call(this)||this;t()(n()(e),"eventsList",["mutation"]);e.recorder=c;e.paused=!0;e.element=a;e.document=a.ownerDocument;e.observer=null;e.initMutationObserver();return e}r()(c,b);var d=c.prototype;d.start=function(){this.observer&&this.observer.observe(this.element,{childList:!0,
attributes:!0,characterData:!0,subtree:!0,attributeOldValue:!0,characterDataOldValue:!0})};d.stop=function(){this.observer&&this.observer.disconnect()};d.initMutationObserver=function(){var b=this,c=this.document.defaultView.MutationObserver;c?this.observer=new c(function(){try{for(var a=arguments.length,c=Array(a),e=0;e<a;e++)c[e]=arguments[e];b.processMutations.apply(b,c)}catch(Ta){}}):a.warn("Can't access MutationObserver of a window",m)};d.processMutations=function(a){var b=this;a=f.toArray(a);
var c={added:new l,removed:new l};a=f.reduceRight(a,function(a,e){var d=e.type,k=e.target,g=b.collectSummary(d,k,c,e);null!=g&&a.unshift({target:k,type:d,meta:g,nextSibling:e.nextSibling,previousSibling:e.previousSibling});return a},[]);0<a.length&&this.emit("mutation",{summary:a,stamp:this.recorder.stamp});c.added.clear();c.removed.clear()};d.collectSummary=function(a,b,c,d){switch(a){case "childList":b=f.reduce(d.addedNodes,function(a,b){!1===c.added.has(b)&&(a.push(b),p.c.walk(b,function(a){c.removed.has(a)&&
c.removed["delete"](a);return c.added.add(a)}));return a},[]);d=f.reduce(d.removedNodes,function(a,b){!1===c.removed.has(b)&&(a.push(b),p.c.walk(b,function(a){return c.removed.add(a)}));return a},[]);if(0<b.length||0<d.length)return{addedNodes:b,removedNodes:d};break;case "attributes":a=d.attributeName;d=d.oldValue;var e=b.getAttribute(a);if(d!==e)return{name:a,oldValue:p.c.normalizeAttributeValue(b,a,d),newValue:p.c.normalizeAttributeValue(b,a,e)};break;case "characterData":if(d=d.oldValue,b=b.textContent,
b!==d)return{oldValue:d,newValue:b}}};return c}(c(15).a);b.a=d}).call(this,c(3)["default"],c(7)["default"],c(8)["default"])},function(a,b,c){(function(a){var d=c(18),l=c.n(d);d=function(b){function c(c){void 0===c&&(c=[]);var d=b.call(this)||this;a.fastIterate(c,function(a,b){d.use(b)});return d}l()(c,b);var d=c.prototype;d.main=function(a,b){"function"===typeof b&&b()};d.send=function(a){this.run(a,this.main.bind(this))};return c}(c(33).a);b.a=d}).call(this,c(7)["default"])},function(a,b,c){a=function(){function a(a,
b){void 0===a&&(a="body");void 0===b&&(b={});this.root="string"===typeof a?u.querySelector(a):a;this.ctx=b;var c=-1!==navigator.appVersion.indexOf("Mac")?"macos":"other";this.OS=c;this.modifierCodes={91:"super",93:"super",224:"super",18:"alt",17:"ctrl",16:"shift",9:"tab",8:"backspace",46:"delete"};this.keyOrder={"super":1,ctrl:2,alt:3,shift:4,tab:5,"delete":6,backspace:6};this.singleKeys=[4,9,8,32,37,38,39,40,46];this.keyDict={macos:{91:"\x26#8984;",93:"\x26#8984;",224:"\x26#8984;",18:"\x26#8997;",
17:"\x26#8963;",16:"\x26#8679;",9:"\x26#8677;",8:"\x26#9003;",46:"\x26#9003;"},other:{91:"\x26#xff;",93:"\x26#xff;",224:"\x26#xff;",18:"Alt",17:"Ctrl",16:"Shift",9:"Tab",8:"Backspace",46:"Delete"},multi:{32:"SPACEBAR",37:"\x26larr;",38:"\x26uarr;",39:"\x26rarr;",40:"\x26darr;",13:"Enter"}};this.initialModifier=null;this.modifierPressed=0;this.events=[];this.modifiers={};this.captors=[];this.filters=[];this.keyStroke=[];this.holding=[];this.initHandler()}var b=a.prototype;b.onCapture=function(a){"function"===
typeof a&&0>this.captors.indexOf(a)&&this.captors.push(a)};b.addElementFilter=function(a){"function"===typeof a&&0>this.captors.indexOf(a)&&this.filters.push(a)};b.applyFilters=function(a){var b=this;return this.filters.reduce(function(c,d){return!0===c?c&&d.call(b,a):!1},!0)};b.initHandler=function(){this.attachEvent("keydown",this.keydownHandler);this.attachEvent("keyup",this.keyupHandler)};b.getKeystroke=function(a){var b=this,c=this.keyOrder;return a.map(function(a){var c=a.keyCode,d=b.modifierCodes[a.keyCode],
g=b.getKeySymbol(a);return{id:c,key:b.getKeySymbol(a),isMeta:!!d&&/^&#/.test(g),modifier:d}}).sort(function(a,b){return(c[a.modifier]||100)-(c[b.modifier]||100)})};b.getKeySymbol=function(a){return this.keyDict[this.OS][a.keyCode]||this.keyDict.multi[a.keyCode]||String.fromCharCode(a.keyCode)};b.startCapture=function(a){this.initialModifier=a;this.pushKey(a);this.cancelCapture()};b.sendKeys=function(a,b){var c=this;void 0===b&&(b=!1);if(1<a.length||b){var d=this.getKeystroke(a);this.captors.forEach(function(a){return a.call(c,
d,b)})}};b.endCapture=function(){var a=this;this._keyStroke=this.keyStroke.slice(0);clearTimeout(this._endCapture);this._endCapture=G(function(){a.sendKeys(a._keyStroke)})};b.pushKey=function(a){!1===this.isCaptured(a)&&this.keyStroke.push(a)};b.removeKey=function(a){this.keyStroke=this.keyStroke.reduce(function(b,c){c.keyCode!==a.keyCode&&b.push(c);return b},[])};b.cancelCapture=function(){this.isModifierPressed()?G(this.cancelCapture.bind(this),100):this.keyStroke.length=0};b.reset=function(){var a=
this;this._reset=G(function(){a.resetImmediate()},300)};b.resetImmediate=function(){this.modifierPressed=0;this.keyStroke.length=0;this.holding.length=0;clearTimeout(this._endCapture)};b.cancelReset=function(){clearTimeout(this._reset)};b.keydownHandler=function(a){this.applyFilters(a.target)&&!1===this.isInputWithShift(a)&&!a.repeat&&0>this.held(a.keyCode)&&(this.holding.push(a.keyCode),this.isModifier(a.keyCode)&&!this.isModifierPressed()?(this.modifierPressed+=1,this.startCapture(a),this.reset()):
this.isModifierPressed()?(this.cancelReset(),this.pushKey(a),this.endCapture()):(this.resetImmediate(),this.pushKey(a)))};b.keyupHandler=function(a){if(this.applyFilters(a.target)){var b=this.isModifier(a.keyCode),c=this.held(a.keyCode);0<=c&&this.holding.splice(c,1);b&&this.isModifierPressed()&&(this.modifierPressed=0,this.holding.length=0);1===this.keyStroke.length&&(b=this.keyStroke[0],0<=this.singleKeys.indexOf(b.keyCode)&&(this.sendKeys([b],!0),this.resetImmediate()));this.removeKey(a);clearTimeout(this._endCapture)}};
b.attachEvent=function(a,b){var c=this;if("function"===typeof b){var d=this.ctx.attachEvent(this.ctx.document,a,function(a){(c.root&&c.root.contains(a.target)||a.target===c.root)&&c.ctx.errorLogger(function(){b.call(c,a)})},!0);this.events.push(function(){c.ctx.removeEvent(d)})}};b.held=function(a){return this.holding.indexOf(a)};b.isModifier=function(a){return null!=this.modifierCodes[a]};b.isModifierPressed=function(){return 0<this.modifierPressed};b.isInitialModifier=function(a){return this.initialModifier?
this.initialModifier.keyCode===a.keyCode:!1};b.isCaptured=function(a){return null!=this.keyStroke.reduce(function(b,c){null==b&&c.keyCode===a.keyCode&&(b=c);return b},null)};b.isInputWithShift=function(a){return"INPUT"===a.target.nodeName?a.shiftKey||32===a.keyCode||"shift"===this.modifierCodes[a.keyCode]:!1};b.destroy=function(){var a;for(this.resetImmediate();a=this.events.pop();)a();this.filters.length=0};return a}();b.a=a},function(a,b,c){(function(a){var d=c(1),l=c.n(d),g=c(15),n=c(30),r=c(2),
t=c(16),p=c(0);d="HTMLMediaElement"in m;var h={},q=p.IterableUtils.toList(["addEventListener","removeEventListener"]),k=function(){function b(){l()(this,"originalDescriptors",new a);l()(this,"mocked",!1);l()(this,"events",new g.a(["setter","method"]));r.ObjectUtils.assign(h,t.Tools.apiMock(HTMLMediaElement))}var c=b.prototype;c.descriptor=function(a,b){return Object.getOwnPropertyDescriptor(a,b)};c.mock=function(){var a=this,b=HTMLMediaElement.prototype,c=this;p.IterableUtils.forof(h.properties,function(e){if(q.has(e))return!0;
var d=a.descriptor(b,e);if(d){a.originalDescriptors.set(e,d);var k=r.ObjectUtils.combine(d);d.get&&(k.get=function(){return d.get.call(this)});d.set&&(k.set=function(a){c.setterInvoked(this,e,a);return d.set.call(this,a)});Object.defineProperty(b,e,k)}});p.IterableUtils.forof(h.methods,function(e){if(q.has(e))return!0;var d=a.descriptor(b,e);a.originalDescriptors.set(e,d);Object.defineProperty(b,e,{configurable:!0,value:function(){for(var a,b=arguments.length,k=Array(b),g=0;g<b;g++)k[g]=arguments[g];
c.methodInvoked(this,e,k);return(a=d.value).call.apply(a,[this].concat(k))}})});this.mocked=!0};c.remove=function(){this.events.off();var a=HTMLMediaElement.prototype;p.IterableUtils.forof(this.originalDescriptors,function(b,c){delete a[c];Object.defineProperty(a,c,b)});this.mocked=!1};c.setterInvoked=function(a,b,c){var e=this;this.mocked&&G(function(){e.send(a,"setter",{name:b,value:c})})};c.methodInvoked=function(a,b,c){var e=this;this.mocked&&G(function(){c=c.map(function(a){return a instanceof
Image?Object(n.b)(a):a});e.send(a,"method",{name:b,args:c})})};c.send=function(a,b,c){this.events.emit(b,r.ObjectUtils.combine(c,{media:a}))};return b}();l()(k,"supported",d);b.a=k}).call(this,c(12)["default"])},function(a,b,c){(function(a){c.d(b,"a",function(){return d});var d=function(b,c){void 0===c&&(c="body");return new a(function(a){null==b.querySelector(c)||u.hidden||u.msHidden||u.webkitHidden?function t(){null==b.querySelector(c)||u.hidden||u.msHidden||u.webkitHidden?G(t,100):a()}():a()})}}).call(this,
c(22).Promise)},function(a,b,c){(function(a,f){var d=c(5),g=c.n(d);d=c(14);var n=c.n(d);d=c(6);var r=c.n(d);d=c(18);var t=c.n(d);d=c(1);var p=c.n(d),h=c(11);d=c(15);var q=c(33),k=c(0),e=c(2),D=c(23),H=c(16),z=c(3),m=c(17),u="attributes namespace content parent next prev hidden".split(" ");d=function(b){function c(c,e,d){e=(void 0===e?{}:e).disabled;var k=void 0===e?!1:e;e=b.call(this)||this;p()(r()(e),"eventsList",["initialIndex:once:memory","add","remove","node"]);e.recorder=d;e.disabled=k;e.nextID=
0;e.closed=!1;e.dom=new a;e.index=new a;e.initialDOM=new f;e.middleware=new q.b;e.document=c;e.quickAccess={};return e}t()(c,b);var d=c.prototype;d.initialIndex=function(){this.fastIndex(this.document.documentElement)};d.use=function(a){this.middleware.use(a)};d.initDOMCache=function(){this.domCache=new a(this.index)};d.writeCache=function(a,b,c){this.domCache&&this.domCache.set(a,{node:b,data:c})};d.findCache=function(a){if(this.domCache)return this.domCache.get(a)};d.addQuckAccessItem=function(a,
b){null==this.quickAccess[a]&&null==this[a]&&(this.quickAccess[a]=b,Object.defineProperty(this,a,{get:function(){return this.quickAccess[a]}}))};d.addToIndex=function(a,b,c){void 0===c&&(c=null);if(a=this.middleware.run(a)){this.emit("node",a);var e=a._DOMIndexerInfo;if(!1===this.dom.has(a)||null==e){c=this.generateNodeID(c);var d=a.tagName||a.nodeName;e={id:c,name:d,parent:b,nativeNode:a,namespace:h.c.getNamespace(a),attributes:h.c.getAttributes(a),content:h.c.getContent(a)};this.recorder&&"INPUT"===
d&&(b=m.a.validate(a,this.recorder.options),d=b.forceRecord,b=!b.isAllowed&&!d,d=e.attributes.value,e.attributes.value=b?m.a.encode(d):d,b&&(e.hidden=!0));this.domCache&&this.writeCache(c,a,e);this.dom.set(a,e);this.index.set(c,a);a._DOMIndexerID=c;a._DOMIndexerInfo=e}this.emit("add",e);return e}z["default"].warn("Can't index undefined node")};d.clear=function(a){void 0===a&&(a=!0);k.IterableUtils.forof(k.IterableUtils.keys(this.dom),function(a){k.IterableUtils.forof(["_DOMIndexerID","_DOMIndexerInfo"],
function(b){a[b]=null;delete a[b]})});a&&(this.document=null);this.dom.clear();this.index.clear()};d.dump=function(){return{dom:new a(this.dom),index:new a(this.index)}};d.dumpRestore=function(a){e.ObjectUtils.assign(this,a);this.document.body.innerHTML=""};d.findByID=function(a){return this.find(a)};d.findByNode=function(a){return this.get(a)};d.find=function(a){if(null!=a){var b=this.index.get(a);return null==b&&this.domCache?(a=this.findCache(a))&&a.node:b}};d.findInfo=function(a){return this.dom.get(this.find(a))};
d.generateNodeID=function(a){return null!=a?a:this.nextID++};d.get=function(a){return this.dom.get(a)};d.getNodeId=function(a){return(a=this.get(a))&&a.id};d.getIndexedNodeId=function(a){var b=this.getNodeId(a);return null==b?(this.reindexNodeTree(a),this.getNodeId(a)):b};d.getNodesIds=function(a){var b=this;return k.IterableUtils.toArray(a).map(function(a){return{id:b.getNodeId(a),nodes:b.getNodesIds(a.childNodes)}})};d.reindexNodeTree=function(a,b){var c=this,e=void 0===b?{}:b,d=e.returnAll;d=void 0===
d?!1:d;var k=e.callback,g=void 0===k?null:k;e=e.parentID;var f=void 0===e?null:e;if(a){var l=[];if(a.parentNode||f)g=D.FunctionUtils.toFunction(g),h.c.each(a,function(a,b){f=b.parentNode&&c.getNodeId(b.parentNode)||f;if(null!=f){var e=c.addToIndex(b,f);l.push(e);g(e,b)}});return d?l:a._DOMIndexerID}};d.removeFromIndex=function(a){var b=this.getNodeId(a);this.dom["delete"](a);this.index["delete"](b);k.IterableUtils.toArray(a.childNodes).map(this.removeFromIndex.bind(this));this.emit("remove",a);return b};
d.replaceBody=function(a){this.removeNodeTree(this.BODY.id);var b=this.BODY.nativeNode;delete b._DOMIndexerInfo;delete b._DOMIndexerID;this.addToIndex(b,this.HTML.id,a)};d.removeNodeTree=function(a,b){var c=this;void 0===b&&(b=!1);if(a){var e=[],d=this.getNodeId(a);h.c.each(a,function(a,b){var d=c.getNodeId(b);c.dom["delete"](b);c.index["delete"](d);c.emit("remove",b);e.push(d)});return b?e:d}};d.fastIndex=function(a){if(!this.disabled){var b=this.addToIndex.bind(this),c=this.initialDOM.add.bind(this.initialDOM);
h.c.each(a,function(a,e){var d=b(e,e.parentNode&&e.parentNode._DOMIndexerID);c(g()({},d))});this.initialDOM.forEach(function(a){var b=a.nativeNode,c=b.previousSibling;b=b.nextSibling;c&&c._DOMIndexerID&&(a.prev=c._DOMIndexerID);b&&b._DOMIndexerID&&(a.next=b._DOMIndexerID)})}};d.isIndexed=function(a){return this.dom.has(a)};d.showMissingNodes=function(a){var b=this;void 0===a&&(a=!1);a&&H.Tools.measure("Show missing nodes",function(){var a=h.c.all(b.document.documentElement);k.IterableUtils.fastIterate(a,
function(a,c){!1===b.dom.has(c)&&z["default"].log("Missing node",c)});z["default"].log("Index diff: [DOM: "+a.length+"] [INDEX: "+b.dom.size+"] [DIFF: "+(b.dom.size-a.length)+"]")})};d.getCurrentHtml=function(){var a=k.IterableUtils.map(this.dom,function(a){return a[1]});return c.simplify(a)};d.getDocument=function(){return this.document};d.setDocument=function(a){this.document=a};n()(c,[{key:"HTML",get:function(){return this.document.documentElement._DOMIndexerInfo}},{key:"BODY",get:function(){return this.document.body._DOMIndexerInfo}},
{key:"html",get:function(){return c.simplify(this.initialDOM)}}]);return c}(d.a);p()(d,"simplify",function(a){return k.IterableUtils.map(a,function(a){var b={id:a.id,name:a.name.toLowerCase()};k.IterableUtils.forof(u,function(c){null!=a[c]&&(b[c]=a[c])});return b})});p()(d,"toNodesTree",function(a){var b={};a=k.IterableUtils.toArray(a);k.IterableUtils.forof(a,function(a){if(null==b[a.id]){var c=e.ObjectUtils.combine(a);b[a.id]=c;null!=a.parent&&(a=b[a.parent])&&(a.children=a.children||[],a.children.push(c))}});
return b[0]});b.a=d}).call(this,c(12)["default"],c(8)["default"])},function(a,b,c){(function(a){var d=c(5),l=c.n(d);d=c(14);var g=c.n(d);d=c(1);var n=c.n(d),r=c(3),t=c(10);d=function(){function b(b){void 0===b&&(b=m);n()(this,"_cancelMainHandler",null);n()(this,"subscriptions",{});this.window=a.isIframe(b)?b.parent:b;b.Ya||(b.Ya={});b.Ya._metrika||(b.Ya._metrika={});if(b.Ya._metrika._m)return b.Ya._metrika._m;this.targetWindow=b;b.Ya._metrika._m=this;b=this.targetWindow.Ya._metrika;var c=this.targetWindow.Ya._metrika.fi||
"";c=/^ym-/.test(c)?c:"ym-"+a.guid();b.fi=c;this.identifier=this.targetWindow.Ya._metrika.fi;this._handleMessages();return this}var c=b.prototype;c.send=function(a,b){var c=this,d=void 0===b?{}:b,k=d.data,g=d.onResponse,f=d.onTimeout,l=d.receiver,q=d.awaitResponse,n=d.timeoutTime,t=null,p=!1,h=!1,m,B=[],u=Date.now();"function"===typeof g&&(p=!0,t=a+"."+this.timestamp,this.listenOnce(function(a){var b=a.data,e=b._ym_cancel_response,d=b.data;if(b.type===t)e?r["default"].warn("Seems like you forgot to call `answer` in a message handler. This message requires response."):
(h=!0,g(d,{origin:a.origin,location:c.targetWindow.location.href,identifier:c.identifier}),clearTimeout(m));else return!1},this.targetWindow));t&&B.push("response:"+t);(function Ga(){c._sendMessage({data:k,type:a,target:c._getReceiver(l),flags:B});if(q&&p){var b=n;void 0===b&&(b=3E4);b=Date.now()-u>=b;!1===h&&(b?"function"===typeof f&&f():m=G(Ga,100))}})()};c.subscribe=function(a,b){var c=this._createSubscriptionsGroup(a);if(!1===this._isSubscribed(c,b))c.push(b);else throw Error("This callback has already been subscribed to "+
a);};c.unsubscribe=function(b,c){var e=this._getSubcribers(b);!0===this._isSubscribed(e,c)&&a.removeFromArray(e,c)};c.unsubscribeAll=function(a){this._getSubcribers(a).splice(0)};c.listen=function(a){var b=this;this._attachEvent("message",a);return function(){return b._removeEvent("message",a)}};c.listenOnce=function(a,b){var c=this;b=b||this.window;var d=function(b){!1!==a(b)&&k()},k=function(){c._removeEvent("message",d,b)};this._attachEvent("message",d,b);return k};c._attachEvent=function(a,b,
c){var e=this;(c||this.window).addEventListener(a,b);return function(){return e._removeEvent(a,b)}};c._createSubscriptionsGroup=function(a){return this._getSubcribers(a)};c._isSubscribed=function(a,b){return b&&0<=a.indexOf(b)};c._removeEvent=function(a,b,c){(c||this.window).removeEventListener(a,b)};c._getSubcribers=function(a){this.subscriptions[a]||(this.subscriptions[a]=[]);return this.subscriptions[a]};c._sendMessage=function(a){var b=void 0===a?{}:a;a=b.target;var c=b.flags;c=void 0===c?[]:
c;b={_ym_messenger:!0,_ym_identifier:this.identifier,type:b.type,data:b.data};if(c&&0<c.length)for(var d=0,g=c.length;d<g;d++){var f=c[d].split(":");b["_ym_"+f[0]]=f[1]||!0}this._postMessage(b,a)};c._postMessage=function(a,b){(b||this.window).postMessage(a,"*")};c._getReceiver=function(a){if(null!=a){if(a.postMessage)return a;if(a.contentWindow)return a.contentWindow}};c._handleMessages=function(){var a=this;if(null==this._cancelMainHandler){var b=this._attachEvent("message",function(b){var c=b.data||
{},e=c._ym_response,d=c._ym_identifier,k=c.data,g=c.type;if(!0===c._ym_messenger&&g&&!/\.([0-9]+)$/.test(g)){c=a._getSubcribers(g)||[];var f=a._findIframe(b.source,d);if(null===f)r["default"].warn("Cannot find iframe with id "+d);else{var q={id:d,sender:f,data:k,type:g};b=0;for(d=c.length;b<d;b++){var n=c[b];e?function(){var b={type:e,target:f.contentWindow},c=2===n.length,d=null,k=function(e){clearTimeout(d);e=c?l()({},b,{data:e}):l()({},b,{flags:["cancel_response"]});a._sendMessage(e)};c?(d=G(function(){r["default"].warn("Response has been canceled because `answer` was never called");
c=!1;k()},2E3),n(q,k)):(n(q),k())}():n(q)}}}},this.targetWindow);this._cancelMainHandler=function(){b();a._cancelMainHandler=null}}};c._findIframe=function(b,c){var e=this,d=[].slice.call(u.querySelectorAll("iframe"));return a.find(d,function(a){if(a.contentWindow===b)return!0;if(t.DOMUtils.isBlankOrSameOriginIframe(a,e.win))try{return a.contentWindow.Ya._metrika.fi===c}catch(z){}return!1})||null};g()(b,[{key:"timestamp",get:function(){return a.now()}}]);return b}();b.a=d}).call(this,c(7)["default"])},
function(a,b,c){(function(a){var d=c(5),l=c.n(d),g=c(3);d=function(){function b(a,b,c){void 0===a&&(a=m);void 0===b&&(b=u);Object.defineProperty(this,"_indexer",{value:c});this.window=a;this.document=b;this.indexer=this._indexer;this.selection=this.window.getSelection()}var c=b.prototype;c.getPageSelection=function(){var a=this.getSelection();if(a){var b=this.indexer.getNodeId(a.startNode),c=this.indexer.getNodeId(a.endNode);this.restoreIndexer();return l()({},a,{startNode:b,endNode:c})}};c.restorePageSelection=
function(b){if(b){var c=this.indexer.find(b.startNode),d=this.indexer.find(b.endNode);this.restoreIndexer();a.isDOMNode(c)&&a.isDOMNode(d)&&this.restoreSelection(l()({},b,{startNode:c,endNode:d}))}};c.getSelection=function(){if(0<this.selection.rangeCount){var a=this.selection.getRangeAt(0)||this.document.createRange();return{start:a.startOffset,end:a.endOffset,startNode:a.startContainer,endNode:a.endContainer}}};c.restoreSelection=function(a){var b=a.start,c=a.end,d=a.startNode;a=a.endNode;try{var k=
d.ownerDocument,e=k.defaultView.getSelection(),f=k.createRange();f.setStart(d,b);f.setEnd(a,c);e.removeAllRanges();e.addRange(f)}catch(H){g["default"].log({start:{startNode:d,start:b},end:{endNode:a,end:c}},H)}};c.getSelectionFor=function(a){if(/text|search|password|tel|url/.test(a.type))return{start:a.selectionStart,end:a.selectionEnd}};c.restoreSelectionFor=function(a,b){b&&null!=b.start&&null!=b.end&&/text|search|password|tel|url/.test(a.type)&&(a.selectionStart=b.start,a.selectionEnd=b.end)};
c.clear=function(){var a=this.document.createRange();a.setStart(this.document.body,0);a.setEnd(this.document.body,0);this.selection.removeAllRanges();this.selection.addRange(a)};c.setIndexer=function(a){a!==this.indexer&&(this.indexer=a)};c.restoreIndexer=function(){this.indexer=this._indexer};return b}();b.a=d}).call(this,c(7)["default"])},function(a,b,c){(function(a){var d=c(4),l=c(3),g={doNotTrack:function(){return!0!==navigator.doNotTrack},localStorage:function(){try{return d.a.localStorage.setItem("test",
"value"),d.a.localStorage.removeItem("test"),!0}catch(n){return!1}},defineProperty:function(){try{return Object.defineProperty({},"test",{value:123}),!0}catch(n){return!1}}};b.a=function(){a.forin(g,function(a){if(!g[a]())return l["default"].log("Feature not supported: "+a),!1});return!0}()}).call(this,c(7)["default"])},function(a,b,c){(function(a){var d=c(32),l=c.n(d);d=c(12);var g=c(0),n=c(19),r=c(2),t={items:{extnameFinder:/\.(css|png|gif|svg|jp[e]?g|mp4|ogv|webm|webp|mp3|ico|woff|ttf|eot)/gi,
urlPartsFinder:/([?./]*)/gi,anchorFinder:/^(?!#).*([#]+)/g,cssURLFinder:/url\(['"]?((?!#|data|blob))([^()'"]+)['"]?\)/g,URLImportFinder:/@import ['"]((?!#|data|blob)([^()'"]+))['"]/g,protocolMissing:/^(?!http[s]?).*/,dataurlTest:/^(data|blob):/,selectorTest:/^#(.*)/,protocolIncomplete:/^(http[s]?)?(:?\/\/)/,resourceFinder:/{{RESOURCE_URL}}/,proxiedURL:/proxy([^?]*)\?url=/i,relativePath:/^(?!\\)/},get:function(a){return this.items[a]},reset:function(a){this.items[a].lastIndex=0},test:function(a,b){var c=
this.get(a);this.reset(a);return c.test(b)},resetMultiple:function(){for(var a,b=this,c=arguments.length,e=Array(c),d=0;d<c;d++)e[d]=arguments[d];e=(a=[]).concat.apply(a,e);g.IterableUtils.fastIterate(e,function(a,c){return b.reset(c)})},resetAll:function(){this.resetMultiple(g.IterableUtils.keys(this.items))}},h={location:null,proxy:null,base:null,window:"object"===typeof m&&m||null,document:"object"===typeof u&&u||null},B=new d["default"],q=new d["default"],k=function(a){return"string"===typeof a?
URL.parse?URL.parse(a):new URL(a):a},e=function(a){return q.get(a)||a},D=function(){var a=k(function(){if(h.base)return h.base;if(h.document){var a=h.document.querySelector("base[href]");return a?a.href:h.location}return h.location}());return h.location={host:a.host,protocol:a.protocol,path:(a.pathname||a.path||"").replace(/[^/]*$/,"")}},H=[];d=Object.defineProperties({regexp:t,patchCSS:function(a,b){var c=this,e=(void 0===b?{}:b).location,d=void 0===e?null:e,k={cssURLFinder:function(a){return"url('"+
a+"')"},URLImportFinder:function(a){return'@import "'+a+'"'}};["cssURLFinder","URLImportFinder"].forEach(function(a){return t.reset(a)});return["cssURLFinder","URLImportFinder"].reduce(function(a,b){return c.patchURLS(a,t.get(b),d,k[b])},a)},patchURLS:function(a,b,c,e){var d=this,k=a,g=function(a){return"function"===typeof a?a:function(a){return a}}(e);"string"===typeof a&&a.match(b)&&(k=a.replace(b,function(){var a=d.patchURL(2>=arguments.length?A:arguments[2],{location:c});return g(a)}));return k},
patchURL:function(a,b){var c=this,e=void 0===b?{}:b,d=e.location,k=void 0===d?null:d;e=e.split;var g=void 0===e?!1:e;return"string"===typeof a?function(a){return g?a.split(","):[a]}(a).reduce(function(a,b){var e=b.trim().split(" "),d=e[0];e=e.slice(1);d=c.applyPatch(d,k);a.push([d].concat(e).join(" "));return a},[]).join(", "):a},applyPatch:function(b,c){var e=t.test("relativePath",b),d=this.getRelativeLocation(c),k=d.host,g=d.protocol;d=d.path||d.pathname||"";e=e?this.resolvePath(b,d):b;if(0<=H.indexOf(e))return e;
if(q.has(e))return B.get(e);d=b;t.resetAll();if(t.test("dataurlTest",b)||t.test("selectorTest",b))return b;t.test("protocolMissing",b)&&(d=t.test("protocolIncomplete",b)?b.replace(t.get("protocolIncomplete"),g+"//"):g+"//"+(k+"/"+e).replace(/\/\/+/,"/"));q.set(b,d);/http[s]?/.test(d)?(k=d,t.test("proxiedURL",k)?d=k:(h.isWhitelisted?(g=h.isWhitelisted(k))&&a.warn("Whitelisted: "+k):g=!1,d=g?k:(g=h.proxy)&&t.test("resourceFinder",g)?g.replace(t.get("resourceFinder"),encodeURIComponent(k)):k),H.push(d),
B.set(b,d),k=d):(H.push(b),B.set(b,d),k=b);return h.noEncode?decodeURIComponent(k):k},getRelativeLocation:function(a){var b=t.test("relativePath",a);return a?b?(b=n.StringUtils.parseURL(e(a)),a=this.resolvePath(a,this.location.protocol+"//"+this.location.host+(this.location.path||this.location.pathname||"")),b||r.ObjectUtils.assign({},this.location,{path:a})):r.ObjectUtils.assign({},this.location,{path:a}):this.location},resolvePath:function(a,b){if(/^\//.test(a)||/^https?:\/\//.test(a))return a;
for(var c=(b.replace(/\/[^\/]*$/,"")+"/"+a).split("/"),e=[],d=0,k=c.length;d<k;d++){var g=c[d];""===g?e.length=0:"."!==g&&(".."===g?0<e.length&&--e.length:e.push(g))}e.unshift("");return e.join("/")},configure:function(a){void 0===a&&(a={});var b=a;a=b.proxyWhitelist;b=l()(b,["proxyWhitelist"]);h=r.ObjectUtils.assign({},h,b);if(a){a=a.map(function(a){return a.replace("*","(.*)")}).join("|");var c=new RegExp(""+a,"ig");h.isWhitelisted=function(a){c.lastIndex=0;return c.test(a)}}},isURLLike:function(a){t.resetMultiple(["dataurlTest",
"selectorTest","extnameFinder","protocolMissing"]);return t.test("dataurlTest",a)||t.test("selectorTest",a)?!1:t.test("extnameFinder",a)&&t.test("protocolMissing",a)},clearCache:function(){B.clear();q.clear()},isProxiedURL:function(a){return a?t.test("proxiedURL",a):!1}},{location:{get:function(){return D()},set:function(a){return(h=r.ObjectUtils.assign({},h,{location:a})).location},configurable:!0,enumerable:!0},config:{get:function(){return h},configurable:!0,enumerable:!0}});b.a=d}).call(this,
c(3)["default"])},function(a,b,c){function d(){try{if(!m.sessionStorage)return null;var a=m.sessionStorage.getItem(l),b=!1;try{var c=m.opener?m.opener.sessionStorage:null;b=!!c&&a===c.getItem(l)}catch(t){b=!0}if(!a||b)a=f.Tools.guid(),m.sessionStorage.setItem(l,a);return a}catch(t){return null}}c.d(b,"a",function(){return d});var f=c(16),l="__vw_tab_guid"},function(a,b,c){a=c(42);var d=c(31),f=c(43),l=c(44),g=c(45),n=c(46),r=c(47),t=c(48),h=c(49);c=c(50);b.a={input:a.a,keystrokes:function(){return{create:function(a){a.keyCapture.onCapture(function(b){"OBJECT"===
u.activeElement.nodeName&&/flash/.test(u.getAttribute("type"))||(b=a._getEventObject("keystroke",-1,b),a._publishActions(b))})},destroy:function(a){a.keyCapture.destroy()}}},media:function(){return{create:function(a){var b=new a.MediaProxy,c=a._universalHandler(function(b){b=a._getEventObject("mediaProperty",b.media,{property:b.name,value:b.value});a._publishActions(b)}),e=a._universalHandler(function(b){b=a._getEventObject("mediaMethod",b.media,{method:b.name,args:b.args});a._publishActions(b)});
b.events.on("setter",c);b.events.on("method",e);b.mock()},destroy:function(a){a.mediaProxy.remove()}}},mutations:function(){var a=new d.a,b=0,c=0,e=function(e){var d=this,k=e.stamp,g=e.changes;a.push(function(){k!==b&&(c=0);b=k;d._publishMutations(d._getMutationObject(g,k,c++))})};return{create:function(a){a.summary.on("mutation",a._universalHandler(e))},destroy:function(b){b.summary.off("mutation");a.start(!0)}}},mouse:f.a,focus:l.a,resize:function(){var a,b=function(a,b){var c=0,e=function(){var d=
b.getValue.call(this,a);d&&(0!==d.stamp?this._publishActions(d):3>c&&(G(e,300),c+=1))}.bind(this);e()};return{getValue:function(){var a=this.viewport.getSize(1),b=a.width;a=a.height;var c=this.viewport.scrollingElement;if(0<b&&0<a)return this._getEventObject("resize",0,{width:b,height:a,pageWidth:c.scrollWidth,pageHeight:c.scrollHeight})},create:function(c){a=c.attachEvent(c.window,"resize",c._universalHandler(b,{extra:[this]}),{passive:!0})},destroy:function(b){b.removeEvent(a)}}},deviceRotation:g.a,
scroll:n.a,selection:r.a,touch:t.a,zoom:h.a,window:c.a,srcset:function(){return{create:function(a){this.onImageLoad=this.onImageLoad.bind(this);a.document.addEventListener("load",this.onImageLoad,!0);this.recorder=a},onImageLoad:function(a){var b=this;this.recorder.errorLogger(function(){var c=a.target;"IMG"===(c.tagName||c.nodeName)&&c.getAttribute("srcset")&&b.recorder.summary.collectMutations({summary:[{meta:{name:"src",oldValue:null,newValue:c.currentSrc},target:c,type:"attributes"}],stamp:b.recorder.stamp})})},
destroy:function(a){a.document.removeEventListener("load",this.onImageLoad)}}}}},function(a,b,c){a=c(13);var d=c(12),f=c(10),l={rand:function(a,b){return Math.round(Math.random()*(b-a))+a},charFromRange:function(a,b){var c=this.rand(a,b);return String.fromCharCode(c)},isLetter:function(a){return/[\w\u0410-\u042f\u0430-\u044f]/.test(a)},isNumber:function(a){return/[0-9]/.test(a)},isUpperCase:function(a){return a===a.toUpperCase()},randomizeString:function(a){var b=this;return(a||"").split("").map(function(a){return b.isNumber(a)?
b.rand(0,9):b.isLetter(a)?b.isUpperCase(a)?b.charFromRange(65,90):b.charFromRange(97,122):a}).join("")},getNodeBounds:function(a){if(a.getBoundingClientRect)return a.getBoundingClientRect();var b=a.ownerDocument.createRange();b.selectNode(a);a=b.getBoundingClientRect();b.detach();return a}},g=a.a.DOMIndexer.HIDABLE_NODES,n=new d.KeyValue,r=function(a,b){var c=a.ownerDocument.createElement(b),d=l.getNodeBounds(a);c.setAttribute("ym-node-type",a.nodeName.toLowerCase());a.attributes&&(f.DOMUtils.copyAttributes(a,
c),c.className=a.className);c.className+=" ym-hidden-content";return{placeholder:c,bounds:d}};b.a=function(a){if(0<=g.indexOf(a.nodeName)){var b=f.DOMUtils.isHiddenContent(a);if(n.has(a))return n.get(a);if(b){var c=a.nodeName;b=a.textContent;if("#text"===c&&b&&""===b.trim())return a;b=function(a){switch(c){case "#text":var b=r(a,"span").placeholder;b.setAttribute("ym-text-content",l.randomizeString(a.textContent||""));return b;case "IMG":return b=r(a,"img"),a=b.placeholder,b=b.bounds,a.src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNkYAAAAAYAAjCB0C8AAAAASUVORK5CYII\x3d",
a.width=b.width,a.height=b.height,a;case "TEXTAREA":case "INPUT":return b=r(a,"input"),a=b.placeholder,b=b.bounds,a.style.width=b.width+"px",a.style.height=b.height+"px",a;default:return b=r(a,"span"),a=b.placeholder,b=b.bounds,a.style.width=b.width+"px",a.style.height=b.height+"px",a}}(a);n.set(a,b);return b}}return a}},function(a,b,c){c.r(b);(function(a,f,l){c.d(b,"default",function(){return ja});var d=c(39),n=c.n(d);d=c(24);var r=c.n(d);d=c(34);var h=c.n(d);d=c(5);var p=c.n(d);d=c(14);var B=c.n(d);
d=c(6);var q=c.n(d);d=c(18);var k=c.n(d);d=c(1);var e=c.n(d),D=c(16),H=c(23),z=c(0),ca=c(13),x=c(30),w=c(63),y=c(51),v=c(53),C=c(17),E=c(54),F=c(55),J=c(56),L=c(57);d=c(15);var I=c(26),T=c(58),U=c(59),ba=c(60),ra=c(21),O=c(61),Y=c(11),fa=c(62),W=c(28),Z=c(10),P=c(37),pa=c(7),ha=c(2),K=c(3),Rb=c(64),S={},ta={counterId:null,maxSize:52428800,maxDuration:864E5,compression:!1,isEU:!1,recording:{keysMode:"explicit"}},X={disableIndex:!1},R=!0===ba.a,Q=pa.IS_INCOGNITO||pa.DO_NOT_TRACK||"disable"===W.BrowserUtils.meta("webvisor"),
Fa=m!==m.top;m.__YM_WV_RECORDABLE__===A&&Object.defineProperty(m,"__YM_WV_RECORDABLE__",{value:!0});var ja=function(b){function c(c,d){void 0===c&&(c={});void 0===d&&(d={});var k=b.call(this)||this;e()(q()(k),"middlewares",[]);e()(q()(k),"options",ha.ObjectUtils.assign({},ta));e()(q()(k),"initOptions",ha.ObjectUtils.assign({},X));e()(q()(k),"iframes",[]);e()(q()(k),"waitingBody",null);e()(q()(k),"ableToStart",!1);e()(q()(k),"_identifier",D.Tools.guid());e()(q()(k),"offsets",{left:0,top:0});e()(q()(k),
"fatalError",!1);e()(q()(k),"captors",new a);e()(q()(k),"prevMutationStamp",null);e()(q()(k),"prevMutationOrderingID",0);e()(q()(k),"inited",!1);e()(q()(k),"startOptions",null);e()(q()(k),"precache",[]);e()(q()(k),"paused",!0);e()(q()(k),"started",!1);e()(q()(k),"stopped",!1);e()(q()(k),"snapshotSent",!1);e()(q()(k),"eventsList",["error"]);e()(q()(k),"_slaveMessengerRegistrationHandler",function(a,b){return function(c,e){var d=c.offsets,g=c.counterId,f=e.origin;try{var l=p()({},k.options),D=f.split("//").pop(),
n=g===l.counterId,q=D===m.location.host,r=-1!==(l.trustedDomains||[]).indexOf(D);q||r&&n?(k.offsets=d,k.sender.useRight(function(a){var b=a.data,c={};z.IterableUtils.fastIterate(["page","events","mutations"],function(a,e){b[e]&&(c[e]=b[e])});k.messenger.send("iframe_data",{data:c})})):K["default"].warn("Counter or domain mismatch, iframe will be recorded as master window");return a()}catch(Qb){b(Qb)}}});e()(q()(k),"_sendEOF",H.FunctionUtils.once(function(){if(!k._EOF_SENT){var a=k._getEventObject("eof");
k._saveChanges({events:[a]});k._EOF_SENT=!0}}));k._context=function(a){var b={};return a?(b.window=a.window||m,b.document=a.document||u,b):{window:m,document:u}}(d);k.sender=new v.a(k.middlewares.splice(0));k.captors=new a;k._timer=P.TimeUtils.timer();k._tabId=Object(fa.a)();k._configOptions=p()({},c);Object.defineProperty(k.window,"__WV_ENABLED__",{value:!0});return!R||Q?q()(k)||q()(k):k}k()(c,b);var d=c.prototype;d.configure=function(){var a=ha.ObjectUtils.combine({},p()({},ta,this._configOptions));
this.frames=[];this.viewport=W.BrowserUtils.viewportGetter(this.document);this.zoomLevel=this.viewport.zoomLevel;this.prevMutationStamp=null;this.prevMutationOrderingID=0;this.ableToStart=this.inited=!1;this.startOptions=this.initException=null;this.precache=[];this.options=p()({},a);this.canvasProxy=x.a;this.MediaProxy=F.a;Y.c.addAttributesFilter(function(b,c,e){if(C.a.isValidNode(b)&&"value"===c)return b=C.a.validate(b,a),c=b.forceRecord,b.isAllowed||c?e:C.a.encode(e)})};d.attachEvent=function(){for(var a,
b=arguments.length,c=Array(b),e=0;e<b;e++)c[e]=arguments[e];I.a.on.apply(I.a,(a=[]).concat.apply(a,c));return c};d.removeEvent=function(){for(var a,b=arguments.length,c=Array(b),e=0;e<b;e++)c[e]=arguments[e];I.a.off.apply(I.a,(a=[]).concat.apply(a,c));return c};d["continue"]=function(){Q||(this.paused=!1)};d.findNode=function(a){return this.indexer.getNodeId(a)};d.pause=function(){Q||(this.paused=!0)};d.middleware=function(a){this.sender?this.sender.use(a):this.middlewares.push(a);return this};d.init=
function(a){var b=this;void 0===a&&(a={});this.initOptions=ha.ObjectUtils.assign({},this.initOptions,a||{});this.errorLogger(h()(r.a.mark(function sa(){return r.a.wrap(function(a){for(;;)switch(a.prev=a.next){case 0:if(R&&!Q){a.next=2;break}return a.abrupt("return");case 2:return a.prev=2,a.next=5,Object(J.a)(b.document);case 5:b.waitingDocument=a.sent;a.next=11;break;case 8:a.prev=8,a.t0=a["catch"](2),b.__handleDocumentLoadError(a.t0);case 11:return a.next=13,b.__handleDocumentLoad();case 13:case "end":return a.stop()}},
sa,null,[[2,8]])})),"init")["catch"](function(a){clearTimeout(b.cancelIfNotStarted);b.waitingDocument=!1;b.fatal("init-failed",a);b.sendErrors=G(function(){b.stop(!0,!1)},3E4)})};d.__handleDocumentLoadError=function(a){var b=a;"timeout"===a.message&&(b=Error("No \x3cbody\x3e found. Can't continue"));this.fatal("init-failed",b)};d.__handleDocumentLoad=function(){var a=h()(r.a.mark(function Oa(){var a=this;return r.a.wrap(function(b){for(;;)switch(b.prev=b.next){case 0:return this.configure(),this.__initIndexer(),
this.__initEventHandlers(),b.next=5,this._initMessenger();case 5:this.waitingDocument=!1,this.ableToStart=!0,this.cancelIfNotStarted=G(function(){a.stop(!0,!1)},3E4),this.emit("ready"),this.inited=!0,this.startOptions&&this.start(this.startOptions);case 11:case "end":return b.stop()}},Oa,this)}));return function(){return a.apply(this,arguments)}}();d.__initIndexer=function(){var a=this;this.indexer=new L.a(this.document,{disabled:this.initOptions.disableIndex},this);if(p()({},this.options).childIframe)this.indexer.on("node",
function(b){return a.connectSlaveRecorder(b)});this.indexer.use(Rb.a);this.indexer.initialIndex()};d.__initEventHandlers=function(){this.summary=new y.a(this.document.documentElement,this.indexer,this);this.selection=new U.a(m,this.document,this.indexer);this.keyCapture=new E.a("body",this);this.initOptions.disableMutations||this.summary.initObserver();this._initCaptors();this._createSnapshot()};d.connectSlaveRecorder=function(a){var b=this;if("IFRAME"===a.nodeName&&a.name!==ca.a.NATIVE_IFRAME_NAME&&
Z.DOMUtils.isBlankOrSameOriginIframe(a,this.window)){try{var c=0<a.contentDocument.documentElement.childNodes.length&&"complete"===a.contentDocument.readyState}catch(Ka){c=!0}var e=function eb(a){var c=a.contentWindow,e=a.contentDocument;K["default"].log("creating recorder");if(c&&e){if(!0===c.__YM_WV_RECORDABLE__)return K["default"].warn("Iframe has internal counter installed");if(!0===c.__YM_RECORDING__)return K["default"].warn("We're already recording this iframe",a);a.contentWindow.__YM_RECORDING__=
!0;c=b._createInstance(b._configOptions,{window:c,document:e});c.init(b.initOptions);c.start(b.startOptions);return K["default"].info("Recorder injected into the iframe",a)}G(function(){return eb(a)},10)},d=function(c){b.errorLogger(function(){if(c&&c.parentElement&&c.contentDocument&&Z.DOMUtils.isBlankOrSameOriginIframe(a,b.window)&&!0!==c.contentWindow.__WV_ENABLED__)try{e(c)}catch(eb){K["default"].error(eb),K["default"].warn("Probably this iframe is cross-origin")}},"ifLo")};this.attachEvent(a,
"load",function(){d(a)},{capture:!0,passive:!0});c&&d(a)}};d.start=function(a){var b=this;void 0===a&&(a={});this.errorLogger(function(){if(b.ableToStart)if(!1===b.fatalError)if(!b.inited)b.savePageSnapshot(),b.fatal("init-failed",Error("Unknown error"));else{if(R&&!Q){clearTimeout(b.cancelIfNotStarted);var c=(a||{}).forms;b.options.recording=ha.ObjectUtils.combine({},ta.recording,{keysMode:void 0===c||c?"regular":"explicit"});b.start=H.FunctionUtils.noop();b.started=!0;b.sendSnapshot().then(function(a){a&&
(b._sendInitialEvents(),b._sendPreCachedData(),b._timer.start())})["catch"](function(a){b.fatal("recording-interrupted",a);b.start()});b["continue"]()}}else b.stop(!0,!0);else(function V(){b.ableToStart?b.start(a):G(V,50)})()},"start")};d.stop=function(a,b){var c=this;void 0===a&&(a=!1);void 0===b&&(b=!0);R&&!Q&&(!1!==this.started&&this.inited||a)&&!0!==this.stopped&&(clearTimeout(this.cancelIfNotStarted),clearTimeout(this.sendErrors),this.captors.forEach(function(a){a&&a.hasOwnProperty("destroy")&&
a.destroy(c)}),this.indexer&&this.indexer.clear(),this.captors&&this.captors.clear(),ra.a.invokeAll(this),this.summary&&this.summary.destroy(),this.keyCapture&&this.keyCapture.destroy(),b?(this._sendEOF(),!0===this.fatalError&&this._sendPreCachedData({force:!0}),this.emit("stop")):a&&this.emit("close"),this.started=!1,this.stopped=!0)};d.fatal=function(a,b){void 0===b&&(b=null);K["default"].error(b);this.fatal=H.FunctionUtils.noop();b=b||{message:"Unknown exception",stack:"No stack provided"};this.fatalError||
(this.fatalError=!0,this.savePageSnapshot(),this.sendCustomEvent("fatalError",{code:a,exception:b.message,stack:b.stack}),this.stop(!0,!0))};d.setURLProxy=function(a){O.a.proxy=function(){if("string"===typeof a)return a;if("function"===typeof a)return a.call(this)}(a)};d.sendCustomEvent=function(a,b){var c=this._getEventObject(a,null,b);this._saveChanges({events:[c]})};d._initCaptors=function(){var a=this;this.keyCapture.addElementFilter(function(a){return"INPUT"===a.nodeName?"password"!==a.type&&
!1===/ym-disable-keys/.test(a.className):!0});var b=ha.ObjectUtils.combine({},ca.a.captors,Fa?ca.a.iframeCaptors:null);z.IterableUtils.forin(b,function(c){if(!0===b[c]){var e=w.a[c]();a.errorLogger(function(){return e.create(a)},"init-captor-"+c);a.captors.set(c,e)}});I.a.on(this.window,"beforeunload",this.stop.bind(this))};d.throwError=function(a,b){void 0===b&&(b="recorder");this.emit("error",{error:a,namespace:"recorder:"+b})};d.errorLogger=function(a,b){var c=this;void 0===b&&(b="recorder");try{var e=
a();return e instanceof f?e["catch"](function(a){c.throwError(a,b+":async")}):e}catch(V){this.throwError(V,b)}};d._blockUpcomingCaptor=function(a,b){var c=this;void 0===b&&(b=Infinity);a&&(this._blockedCaptors=this._blockedCaptors||new l,this._blockedCaptors.add(a),Infinity>b&&G(function(){return c._releaseCaptor(a)},b))};d._releaseCaptor=function(a){a&&this._blockedCaptors.has(a)&&this._blockedCaptors["delete"](a)};d._executeCaptor=function(a,b){a&&"function"===typeof b&&(this._blockedCaptors&&this._blockedCaptors.has(a)?
this._releaseCaptor(a):b())};d._getEventObject=function(a,b,c,e){b="number"===typeof b?b:b?this.findNode(b)||-1:null;return{stamp:this._stampForType(a,e),type:a,target:b,meta:c||null}};d._getMutationObject=function(a,b,c){void 0===c&&(c=0);return{stamp:b,meta:{changes:a,index:c}}};d._stampForType=function(a,b){var c=b||this.stamp;return S[a]=c+(c===S[a]?1:0)};d._getInitialScroll=function(){var a=[],b=this.document.body,c=this._getScroll(b);null!=c&&a.push(c);a.concat(this._getScrollForEachNode(b.childNodes));
return a};d._getScrollForEachNode=function(a){var b=this;return z.IterableUtils.toArray(a).reduce(function(a,c){var e=b._getScroll(c);null!=e&&a.push(e);0<c.childNodes.length&&(a=a.concat(b._getScrollForEachNode(c.childNodes)));return a},[])};d._getScroll=function(a){var b=a.scrollTop,c=a.scrollLeft;if(0<b||0<c)return{target:this.findNode(a),scroll:[b,c]}};d._initMessenger=function(){var a=this;return new f(function(){var b=h()(r.a.mark(function V(b){var c;return r.a.wrap(function(e){for(;;)switch(e.prev=
e.next){case 0:a.messenger=new T.a(a.window);a._initMasterMessenger();if(!W.BrowserUtils.isIframe(a.window)){e.next=7;break}e.next=5;return a._initSlaveMessenger();case 5:(c=e.sent)&&a.fatal("messenger-init-failed",c);case 7:b();case 8:case "end":return e.stop()}},V)}));return function(a){return b.apply(this,arguments)}}())};d._initMasterMessenger=function(){var a=this,b=p()({},this.options);this.messenger.subscribe("iframe_register",function(a,c){var e=Z.DOMUtils.offsets(a.sender);c({counterId:b.counterId,
offsets:{top:e.top,left:e.left}})});this.messenger.subscribe("iframe_data",function(b){var c=b.data;b=b.sender;var e=a.findNode(b);if(null!=e){var d={frameId:e};c.page&&(e=p()({},c.page,d,{tabId:a.tabId,recordStamp:(new Date).getTime(),stamp:a._stampForType("page")}),a._request("/dump",{page:e}));if(c.events){b=Z.DOMUtils.offsets(b,{excludeBorder:!0});var k=b.left,g=b.top;b=c.events.map(function(b){/mouse/.test(b.type)&&(b.meta.x=Math.round(b.meta.x+k),b.meta.y=Math.round(b.meta.y+g));return p()({},
b,d,{stamp:a._stampForType(b.type)})});a._publishActions(b)}c.mutations&&(c=c.mutations.map(function(b){return p()({},b,d,{stamp:a._stampForType("mutation")})}),a._publishMutations(c))}})};d._initSlaveMessenger=function(){var a=this;return(new f(function(b,c){K["default"].log("Awaiting subscription",a.document.documentElement);a.messenger.send("iframe_register",{awaitResponse:!0,timeoutTime:3E3,onResponse:a._slaveMessengerRegistrationHandler(b,c),onTimeout:function(){K["default"].warn("Slave recorder stopped due to a timeout: no response from the parent page within 1 seconds. This frame will be used as if it is master");
b()}})}))["catch"](function(b){K["default"].warn("Cant init recorder in frame");a.throwError(b,"slave-recorder");K["default"].warn(b,a.document);return b})};d._publishActions=function(){var a;this._saveChanges({events:(a=[]).concat.apply(a,arguments)})};d._publishMutations=function(){var a;this._saveChanges({mutations:(a=[]).concat.apply(a,arguments)})};d._request=function(a,b,c){void 0===b&&(b={});void 0===c&&(c=!1);this._EOF_SENT&&!0!==c||(!0===this.started||!0===c?(b=ha.ObjectUtils.combine({_v:ca.a["package"].version},
p()({},b)),this.sender.send({url:a,data:p()({},b)})):this.precache.push([a,b]))};d._saveChanges=function(a){this._request("/dump",a);!this._EOF_SENT&&this.started&&(this.dataSent>=this.options.maxSize||this.hitDuration>=this.options.maxDuration)&&this.stop()};d.sendSnapshot=function(){var a=this;return this.snapshot.get({onSuccess:function(b){a.savePageSnapshot(b);return!0},onFail:function(){return!1}})};d._createSnapshot=function(){var a=this,b=f.resolve().then(function(){return{content:a.summary.html}})["catch"](function(a){return{error:a}}).then(function(a){return{content:a.content,
error:a.error}});this.snapshot={get:function(c){var e=c.onSuccess,d=c.onFail;return b.then(function(b){var c=b.error;b=b.content;c?(b=d.call(a,b,c),a.fatal("invalid-snapshot",c)):b=e.call(a,b);return b})}}};d.savePageSnapshot=function(a){if(this.indexer&&!this.indexer.disabled&&!this.snapshotSent)return this.snapshotSent=!0,a=p()({content:a,frameId:0,tabId:this.tabId,recordStamp:(new Date).getTime()},this.page),this._saveChanges({page:a})};d._sendInitialEvents=function(){var a=this,b=[],c=function(){var b=
a.captors.get("resize");return b&&b.getValue.call(a)}(),e=this.viewport.scrollingElement,d=this._getInitialScroll().map(function(b){var c=b.scroll,d=c[0];c=c[1];b=a.indexer.find(b.target);b=b===a.document||b===a.window?e:b;return a._getEventObject("scroll",b,{x:c,y:d,page:b===e})});c&&b.push(c);b.push.apply(b,d);this._saveChanges({events:b})};d._sendPreCachedData=function(a){a=(void 0===a?{}:a).force;a=void 0===a?!1:a;if(this.precache.length)for(var b;null!=(b=this.precache.shift());)this._request(b[0],
b[1],a)};d._connectToParent=function(){this._sendMessage("connect",{id:this._identifier})};d._sendMessage=function(a,b){(Fa?this.window.top:this.window).postMessage({type:a,data:b},"*")};d._universalHandler=function(a,b){var c=this,e=(void 0===b?{}:b).extra,d=void 0===e?[]:e;return function(){for(var b=arguments.length,e=Array(b),k=0;k<b;k++)e[k]=arguments[k];c.errorLogger(function(){c.paused||a.apply(c,e.concat(d))},"universal-handler")}};d._createInstance=function(){for(var a=arguments.length,b=
Array(a),c=0;c<a;c++)b[c]=arguments[c];return n()(this.constructor,b)};B()(c,[{key:"window",get:function(){return this._context.window}},{key:"document",get:function(){return this._context.document}},{key:"bodyNode",get:function(){return this.__bodyNode||(this.__bodyNode=this.document.body)}},{key:"fpsDelay",get:function(){return 1E3/this.fps}},{key:"doctype",get:function(){if(!this.document.doctype)return"";var a=this.document.doctype||{},b=a.publicId,c=a.systemId;return"\x3c!DOCTYPE "+[a.name||
"html",b?' PUBLIC "'+b+'"':"",!b&&c?" SYSTEM":"",c?' "'+c+'"':""].join("")+"\x3e"}},{key:"rootNode",get:function(){return this.__rootNode||(this.__rootNode=this.document.documentElement)}},{key:"stamp",get:function(){return this._timer?this._timer.stamp():0}},{key:"eventID",get:function(){return this._eventID?this._eventID+=1:this._eventID=1}},{key:"page",get:function(){var a=this.viewport?this.viewport.getSize():{width:0,height:0},b=Z.DOMUtils.base(),c=!!this.document.querySelector("base[href]");
return{meta:{base:b,hasBase:c,viewport:a,title:this.document.title,doctype:this.doctype,address:M.href,ua:navigator.userAgent,referrer:this.document.referrer,screen:{width:ia.width,height:ia.height},location:{host:M.host,protocol:M.protocol,path:M.pathname}}}}},{key:"domain",get:function(){return M.protocol+"//"+(M.host||M.hostname)+(M.port?":"+M.port:"")}},{key:"tabId",get:function(){return this._tabId}}]);return c}(d.a),la={IS_INCOGNITO:pa.IS_INCOGNITO,IS_MOBILE_DEVICE:pa.IS_MOBILE_DEVICE,DO_NOT_TRACK:pa.DO_NOT_TRACK};
z.IterableUtils.forin(la,function(a){var b={value:la[a]};Object.defineProperty(ja,a,b);Object.defineProperty(ja.prototype,a,b)})}).call(this,c(12)["default"],c(22).Promise,c(8)["default"])},function(a,b,c){b=c(25)["default"];a.exports=c(67)()?b:c(68)},function(a,b,c){(function(b){var c={object:!0,symbol:!0};a.exports=function(){if("function"!==typeof b)return!1;var a=b("test symbol");try{String(a)}catch(g){return!1}return c[typeof b.iterator]&&c[typeof b.toPrimitive]&&c[typeof b.toStringTag]?!0:!1}}).call(this,
c(25)["default"])},function(a,b,c){(function(b){var d=c(69),l=c(83),g=Object.create,n=Object.defineProperties,r=Object.defineProperty,h=Object.prototype,p,m=g(null);if("function"===typeof b){var q=b;try{String(q());var k=!0}catch(H){}}var e=function(){var a=g(null);return function(b){for(var c=0,e,k;a[b+(c||"")];)++c;b+=c||"";a[b]=!0;e="@@"+b;r(h,e,d.gs(null,function(a){k||(k=!0,r(this,e,d(a)),k=!1)}));return e}}();var D=function(a){if(this instanceof D)throw new TypeError("Symbol is not a constructor");
return p(a)};a.exports=p=function ca(a){if(this instanceof ca)throw new TypeError("Symbol is not a constructor");if(k)return q(a);var b=g(D.prototype);a=a===A?"":String(a);return n(b,{__description__:d("",a),__name__:d("",e(a))})};n(p,{"for":d(function(a){return m[a]?m[a]:m[a]=p(String(a))}),keyFor:d(function(a){var b;l(a);for(b in m)if(m[b]===a)return b}),hasInstance:d("",q&&q.hasInstance||p("hasInstance")),isConcatSpreadable:d("",q&&q.isConcatSpreadable||p("isConcatSpreadable")),iterator:d("",q&&
q.iterator||p("iterator")),match:d("",q&&q.match||p("match")),replace:d("",q&&q.replace||p("replace")),search:d("",q&&q.search||p("search")),species:d("",q&&q.species||p("species")),split:d("",q&&q.split||p("split")),toPrimitive:d("",q&&q.toPrimitive||p("toPrimitive")),toStringTag:d("",q&&q.toStringTag||p("toStringTag")),unscopables:d("",q&&q.unscopables||p("unscopables"))});n(D.prototype,{constructor:d(p),toString:d("",function(){return this.__name__})});n(p.prototype,{toString:d(function(){return"Symbol ("+
l(this).__description__+")"}),valueOf:d(function(){return l(this)})});r(p.prototype,p.toPrimitive,d("",function(){var a=l(this);return"symbol"===typeof a?a:a.toString()}));r(p.prototype,p.toStringTag,d("c","Symbol"));r(D.prototype,p.toStringTag,d("c",p.prototype[p.toStringTag]));r(D.prototype,p.toPrimitive,d("c",p.prototype[p.toPrimitive]))}).call(this,c(25)["default"])},function(a,b,c){var d=c(70),f=c(78),l=c(79),g=c(80);(a.exports=function(a,b){var c;if(2>arguments.length||"string"!==typeof a){var l=
b;b=a;a=null}else l=arguments[2];if(null==a){var n=c=!0;var q=!1}else n=g.call(a,"c"),q=g.call(a,"e"),c=g.call(a,"w");n={value:b,configurable:n,enumerable:q,writable:c};return l?d(f(l),n):n}).gs=function(a,b,c,h){"string"!==typeof a&&(h=c,c=b,b=a,a=null);null==b?b=A:l(b)?null==c?c=A:l(c)||(h=c,c=A):(h=b,b=c=A);if(null==a){var n=!0;a=!1}else n=g.call(a,"c"),a=g.call(a,"e");b={get:b,set:c,configurable:n,enumerable:a};return h?d(f(h),b):b}},function(a,b,c){a.exports=c(71)()?Object.assign:c(72)},function(a,
b,c){a.exports=function(){var a=Object.assign;if("function"!==typeof a)return!1;var b={foo:"raz"};a(b,{bar:"dwa"},{trzy:"trzy"});return"razdwatrzy"===b.foo+b.bar+b.trzy}},function(a,b,c){var d=c(73),f=c(77),l=Math.max;a.exports=function(a,b){var c,g,n=l(arguments.length,2);a=Object(f(a));var h=function(d){try{a[d]=b[d]}catch(k){c||(c=k)}};for(g=1;g<n;++g)b=arguments[g],d(b).forEach(h);if(c!==A)throw c;return a}},function(a,b,c){a.exports=c(74)()?Object.keys:c(75)},function(a,b,c){a.exports=function(){try{return Object.keys("primitive"),
!0}catch(d){return!1}}},function(a,b,c){var d=c(35),f=Object.keys;a.exports=function(a){return f(d(a)?Object(a):a)}},function(a,b,c){a.exports=function(){}},function(a,b,c){var d=c(35);a.exports=function(a){if(!d(a))throw new TypeError("Cannot use null or undefined");return a}},function(a,b,c){var d=c(35),f=Array.prototype.forEach,l=Object.create;a.exports=function(a){var b=l(null);f.call(arguments,function(a){if(d(a)){a=Object(a);for(var c in a)b[c]=a[c]}});return b}},function(a,b,c){a.exports=function(a){return"function"===
typeof a}},function(a,b,c){a.exports=c(81)()?String.prototype.contains:c(82)},function(a,b,c){a.exports=function(){return"function"!==typeof"razdwatrzy".contains?!1:!0==="razdwatrzy".contains("dwa")&&!1==="razdwatrzy".contains("foo")}},function(a,b,c){var d=String.prototype.indexOf;a.exports=function(a,b){return-1<d.call(this,a,b)}},function(a,b,c){var d=c(84);a.exports=function(a){if(!d(a))throw new TypeError(a+" is not a symbol");return a}},function(a,b,c){a.exports=function(a){return a?"symbol"===
typeof a?!0:a.constructor&&"Symbol"===a.constructor.name?"Symbol"===a[a.constructor.toStringTag]:!1:!1}},function(a,b,c){(function(b){(function(b,c){a.exports=c()})(this,function(){function a(a){return"function"===typeof a}function c(){return function(){return b.nextTick(p)}}function d(){return"undefined"!==typeof ra?function(){ra(p)}:t()}function n(){var a=0,b=new W(p),c=u.createTextNode("");b.observe(c,{characterData:!0});return function(){c.data=a=++a%2}}function h(){var a=new MessageChannel;a.port1.onmessage=
p;return function(){return a.port2.postMessage(0)}}function t(){return function(){return G(p,1)}}function p(){for(var a=0;a<ba;a+=2)(0,P[a])(P[a+1]),P[a]=A,P[a+1]=A;ba=0}function B(){try{var a=Function("return this")().require("vertx");ra=a.runOnLoop||a.runOnContext;return d()}catch(ja){return t()}}function q(a,b){var c=this,d=new this.constructor(e);d[ha]===A&&L(d);var k=c._state;if(k){var g=arguments[k-1];Y(function(){return J(k,d,g,c._result)})}else E(c,d,a,b);return d}function k(a){if(a&&"object"===
typeof a&&a.constructor===this)return a;var b=new this(e);w(b,a);return b}function e(){}function D(a){try{return a.then}catch(ja){return R.error=ja,R}}function H(a,b,c,e){try{a.call(b,c,e)}catch(ka){return ka}}function z(a,b,c){Y(function(a){var e=!1,d=H(c,b,function(c){e||(e=!0,b!==c?w(a,c):v(a,c))},function(b){e||(e=!0,C(a,b))},"Settle: "+(a._label||" unknown promise"));!e&&d&&(e=!0,C(a,d))},a)}function ca(a,b){b._state===U?v(a,b._result):b._state===S?C(a,b._result):E(b,A,function(b){return w(a,
b)},function(b){return C(a,b)})}function x(b,c,e){c.constructor===b.constructor&&e===q&&c.constructor.resolve===k?ca(b,c):e===R?(C(b,R.error),R.error=null):e===A?v(b,c):a(e)?z(b,c,e):v(b,c)}function w(a,b){if(a===b)C(a,new TypeError("You cannot resolve a promise with itself"));else{var c=typeof b;null===b||"object"!==c&&"function"!==c?v(a,b):x(a,b,D(b))}}function y(a){a._onerror&&a._onerror(a._result);F(a)}function v(a,b){a._state===K&&(a._result=b,a._state=U,0!==a._subscribers.length&&Y(F,a))}function C(a,
b){a._state===K&&(a._state=S,a._result=b,Y(y,a))}function E(a,b,c,e){var d=a._subscribers,k=d.length;a._onerror=null;d[k]=b;d[k+U]=c;d[k+S]=e;0===k&&a._state&&Y(F,a)}function F(a){var b=a._subscribers,c=a._state;if(0!==b.length){for(var e,d,k=a._result,g=0;g<b.length;g+=3)e=b[g],d=b[g+c],e?J(c,e,d,k):d(k);a._subscribers.length=0}}function J(b,c,e,d){var k=a(e),g=void 0,f=void 0,l=void 0,D=void 0;if(k){try{g=e(d)}catch(sa){R.error=sa,g=R}g===R?(D=!0,f=g.error,g.error=null):l=!0;if(c===g){C(c,new TypeError("A promises callback cannot return that same promise."));
return}}else g=d,l=!0;c._state===K&&(k&&l?w(c,g):D?C(c,f):b===U?v(c,g):b===S&&C(c,g))}function M(a,b){try{b(function(b){w(a,b)},function(b){C(a,b)})}catch(la){C(a,la)}}function L(a){a[ha]=X++;a._state=A;a._result=A;a._subscribers=[]}var I=void 0,T=I=Array.isArray?Array.isArray:function(a){return"[object Array]"===Object.prototype.toString.call(a)},ba=0,ra=void 0,O=void 0,Y=function(a,b){P[ba]=a;P[ba+1]=b;ba+=2;2===ba&&(O?O(p):pa())},fa=(I="undefined"!==typeof m?m:A)||{},W=fa.MutationObserver||fa.WebKitMutationObserver;
fa="undefined"===typeof self&&"undefined"!==typeof b&&"[object process]"==={}.toString.call(b);var Z="undefined"!==typeof Uint8ClampedArray&&"undefined"!==typeof importScripts&&"undefined"!==typeof MessageChannel,P=Array(1E3),pa=void 0;pa=fa?c():W?n():Z?h():I===A?B():t();var ha=Math.random().toString(36).substring(2),K=void 0,U=1,S=2,R={error:null},X=0,ea=function(){function a(a,b){this._instanceConstructor=a;this.promise=new a(e);this.promise[ha]||L(this.promise);T(b)?(this._remaining=this.length=
b.length,this._result=Array(this.length),0===this.length?v(this.promise,this._result):(this.length=this.length||0,this._enumerate(b),0===this._remaining&&v(this.promise,this._result))):C(this.promise,Error("Array Methods must be provided an Array"))}a.prototype._enumerate=function(a){for(var b=0;this._state===K&&b<a.length;b++)this._eachEntry(a[b],b)};a.prototype._eachEntry=function(a,b){var c=this._instanceConstructor,d=c.resolve;d===k?(d=D(a),d===q&&a._state!==K?this._settledAt(a._state,b,a._result):
"function"!==typeof d?(this._remaining--,this._result[b]=a):c===Q?(c=new c(e),x(c,a,d),this._willSettleAt(c,b)):this._willSettleAt(new c(function(b){return b(a)}),b)):this._willSettleAt(d(a),b)};a.prototype._settledAt=function(a,b,c){var e=this.promise;e._state===K&&(this._remaining--,a===S?C(e,c):this._result[b]=c);0===this._remaining&&v(e,this._result)};a.prototype._willSettleAt=function(a,b){var c=this;E(a,A,function(a){return c._settledAt(U,b,a)},function(a){return c._settledAt(S,b,a)})};return a}(),
Q=function(){function b(a){this[ha]=X++;this._result=this._state=A;this._subscribers=[];if(e!==a){if("function"!==typeof a)throw new TypeError("You must pass a resolver function as the first argument to the promise constructor");if(this instanceof b)M(this,a);else throw new TypeError("Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.");}}b.prototype["catch"]=function(a){return this.then(null,a)};b.prototype["finally"]=function(b){var c=
this.constructor;return a(b)?this.then(function(a){return c.resolve(b()).then(function(){return a})},function(a){return c.resolve(b()).then(function(){throw a;})}):this.then(b,b)};return b}();Q.prototype.then=q;Q.all=function(a){return(new ea(this,a)).promise};Q.race=function(a){var b=this;return T(a)?new b(function(c,e){for(var d=a.length,k=0;k<d;k++)b.resolve(a[k]).then(c,e)}):new b(function(a,b){return b(new TypeError("You must pass an array to race."))})};Q.resolve=k;Q.reject=function(a){var b=
new this(e);C(b,a);return b};Q._setScheduler=function(a){O=a};Q._setAsap=function(a){Y=a};Q._asap=Y;Q.polyfill=function(){var a=void 0;if("undefined"!==typeof global)a=global;else if("undefined"!==typeof self)a=self;else try{a=Function("return this")()}catch(aa){throw Error("polyfill failed because global object is unavailable in this environment");}var b=a.Promise;if(b){var c=null;try{c=Object.prototype.toString.call(b.resolve())}catch(aa){}if("[object Promise]"===c&&!b.cast)return}a.Promise=Q};
return Q.Promise=Q})}).call(this,c(38))},function(a,b){function c(b,f){a.exports=c=Object.setPrototypeOf||function(a,b){a.__proto__=b;return a};return c(b,f)}a.exports=c},function(a,b,c){b=function(){return this||"object"===typeof self&&self}()||Function("return this")();var d=b.regeneratorRuntime&&0<=Object.getOwnPropertyNames(b).indexOf("regeneratorRuntime"),f=d&&b.regeneratorRuntime;b.regeneratorRuntime=A;a.exports=c(88);if(d)b.regeneratorRuntime=f;else try{delete b.regeneratorRuntime}catch(l){b.regeneratorRuntime=
A}},function(a,b,c){(function(b,c){!function(d){function g(a,b,c,e){b=Object.create((b&&b.prototype instanceof l?b:l).prototype);e=new z(e||[]);b._invoke=k(a,c,e);return b}function f(a,b,c){try{return{type:"normal",arg:a.call(b,c)}}catch(Z){return{type:"throw",arg:Z}}}function l(){}function h(){}function p(){}function m(a){["next","throw","return"].forEach(function(b){a[b]=function(a){return this._invoke(b,a)}})}function q(a){function b(e,d,k,g){e=f(a[e],a,d);if("throw"===e.type)g(e.arg);else{var l=
e.arg;return(e=l.value)&&"object"===typeof e&&w.call(e,"__await")?c.resolve(e.__await).then(function(a){b("next",a,k,g)},function(a){b("throw",a,k,g)}):c.resolve(e).then(function(a){l.value=a;k(l)},function(a){return b("throw",a,k,g)})}}var e;this._invoke=function(a,d){function k(){return new c(function(c,e){b(a,d,c,e)})}return e=e?e.then(k,k):k()}}function k(a,b,c){var d=G;return function(k,g){if(d===M)throw Error("Generator is already running");if(d===L){if("throw"===k)throw g;return u()}c.method=
k;for(c.arg=g;;){var l=c.delegate;if(l&&(l=e(l,c))){if(l===I)continue;return l}if("next"===c.method)c.sent=c._sent=c.arg;else if("throw"===c.method){if(d===G)throw d=L,c.arg;c.dispatchException(c.arg)}else"return"===c.method&&c.abrupt("return",c.arg);d=M;l=f(a,b,c);if("normal"===l.type){d=c.done?L:J;if(l.arg===I)continue;return{value:l.arg,done:c.done}}"throw"===l.type&&(d=L,c.method="throw",c.arg=l.arg)}}}function e(a,b){var c=a.iterator[b.method];if(c===y){b.delegate=null;if("throw"===b.method){if(a.iterator["return"]&&
(b.method="return",b.arg=y,e(a,b),"throw"===b.method))return I;b.method="throw";b.arg=new TypeError("The iterator does not provide a 'throw' method")}return I}c=f(c,a.iterator,b.arg);if("throw"===c.type)return b.method="throw",b.arg=c.arg,b.delegate=null,I;c=c.arg;if(!c)return b.method="throw",b.arg=new TypeError("iterator result is not an object"),b.delegate=null,I;if(c.done)b[a.resultName]=c.value,b.next=a.nextLoc,"return"!==b.method&&(b.method="next",b.arg=y);else return c;b.delegate=null;return I}
function D(a){var b={tryLoc:a[0]};1 in a&&(b.catchLoc=a[1]);2 in a&&(b.finallyLoc=a[2],b.afterLoc=a[3]);this.tryEntries.push(b)}function H(a){var b=a.completion||{};b.type="normal";delete b.arg;a.completion=b}function z(a){this.tryEntries=[{tryLoc:"root"}];a.forEach(D,this);this.reset(!0)}function ca(a){if(a){var b=a[A];if(b)return b.call(a);if("function"===typeof a.next)return a;if(!isNaN(a.length)){var c=-1;b=function P(){for(;++c<a.length;)if(w.call(a,c))return P.value=a[c],P.done=!1,P;P.value=
y;P.done=!0;return P};return b.next=b}}return{next:u}}function u(){return{value:y,done:!0}}var x=Object.prototype,w=x.hasOwnProperty,y,v="function"===typeof b?b:{},A=v.iterator||"@@iterator",C=v.asyncIterator||"@@asyncIterator",E=v.toStringTag||"@@toStringTag";v="object"===typeof a;var F=d.regeneratorRuntime;if(F)v&&(a.exports=F);else{F=d.regeneratorRuntime=v?a.exports:{};F.wrap=g;var G="suspendedStart",J="suspendedYield",M="executing",L="completed",I={};d={};d[A]=function(){return this};(v=(v=Object.getPrototypeOf)&&
v(v(ca([]))))&&v!==x&&w.call(v,A)&&(d=v);var O=p.prototype=l.prototype=Object.create(d);h.prototype=O.constructor=p;p.constructor=h;p[E]=h.displayName="GeneratorFunction";F.isGeneratorFunction=function(a){return(a="function"===typeof a&&a.constructor)?a===h||"GeneratorFunction"===(a.displayName||a.name):!1};F.mark=function(a){Object.setPrototypeOf?Object.setPrototypeOf(a,p):(a.__proto__=p,E in a||(a[E]="GeneratorFunction"));a.prototype=Object.create(O);return a};F.awrap=function(a){return{__await:a}};
m(q.prototype);q.prototype[C]=function(){return this};F.AsyncIterator=q;F.async=function(a,b,c,e){var d=new q(g(a,b,c,e));return F.isGeneratorFunction(b)?d:d.next().then(function(a){return a.done?a.value:d.next()})};m(O);O[E]="Generator";O[A]=function(){return this};O.toString=function(){return"[object Generator]"};F.keys=function(a){var b=[],c;for(c in a)b.push(c);b.reverse();return function P(){for(;b.length;){var c=b.pop();if(c in a)return P.value=c,P.done=!1,P}P.done=!0;return P}};F.values=ca;
z.prototype={constructor:z,reset:function(a){this.next=this.prev=0;this.sent=this._sent=y;this.done=!1;this.delegate=null;this.method="next";this.arg=y;this.tryEntries.forEach(H);if(!a)for(var b in this)"t"===b.charAt(0)&&w.call(this,b)&&!isNaN(+b.slice(1))&&(this[b]=y)},stop:function(){this.done=!0;var a=this.tryEntries[0].completion;if("throw"===a.type)throw a.arg;return this.rval},dispatchException:function(a){function b(b,e){k.type="throw";k.arg=a;c.next=b;e&&(c.method="next",c.arg=y);return!!e}
if(this.done)throw a;for(var c=this,e=this.tryEntries.length-1;0<=e;--e){var d=this.tryEntries[e],k=d.completion;if("root"===d.tryLoc)return b("end");if(d.tryLoc<=this.prev){var g=w.call(d,"catchLoc"),f=w.call(d,"finallyLoc");if(g&&f){if(this.prev<d.catchLoc)return b(d.catchLoc,!0);if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else if(g){if(this.prev<d.catchLoc)return b(d.catchLoc,!0)}else if(f){if(this.prev<d.finallyLoc)return b(d.finallyLoc)}else throw Error("try statement without catch or finally");
}}},abrupt:function(a,b){for(var c=this.tryEntries.length-1;0<=c;--c){var e=this.tryEntries[c];if(e.tryLoc<=this.prev&&w.call(e,"finallyLoc")&&this.prev<e.finallyLoc){var d=e;break}}d&&("break"===a||"continue"===a)&&d.tryLoc<=b&&b<=d.finallyLoc&&(d=null);c=d?d.completion:{};c.type=a;c.arg=b;return d?(this.method="next",this.next=d.finallyLoc,I):this.complete(c)},complete:function(a,b){if("throw"===a.type)throw a.arg;"break"===a.type||"continue"===a.type?this.next=a.arg:"return"===a.type?(this.rval=
this.arg=a.arg,this.method="return",this.next="end"):"normal"===a.type&&b&&(this.next=b);return I},finish:function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.finallyLoc===a)return this.complete(c.completion,c.afterLoc),H(c),I}},"catch":function(a){for(var b=this.tryEntries.length-1;0<=b;--b){var c=this.tryEntries[b];if(c.tryLoc===a){a=c.completion;if("throw"===a.type){var e=a.arg;H(c)}return e}}throw Error("illegal catch attempt");},delegateYield:function(a,b,c){this.delegate=
{iterator:ca(a),resultName:b,nextLoc:c};"next"===this.method&&(this.arg=y);return I}}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())}).call(this,c(25)["default"],c(22).Promise)},function(a,b,c){c.r(b);c.d(b,"MapUtils",function(){return d});var d={setIfNotExists:function(a,b,c){!1===a.has(b)&&a.set(b,this.invoke(c))},getOrSet:function(a,b,c){if(a.has(b))return a.get(b);c=this.invoke(c);a.set(b,c);return c},getAndUpdate:function(a,b,c){var d=c=this.invoke(c);a.has(b)&&
(d=a.get(b));a.set(b,c);return d}}},function(a,b,c){c.r(b);c.d(b,"MathUtils",function(){return f});var d=c(3),f={toChunks:function(a,b){var c=a.slice(0),g=c.length,f=g===b?Math.round:Math.floor,l=0;return c.reduce(function(a,n,k){var e=f(b/(g/k));0<k&&1<e-l&&d["default"].warn("Invalid index "+e+": "+f(b/(g/(k-1)))+" \x3c\x3d\x3e "+f(b/(g/k)),[c.length,k,b],[c.length/k],[b/(c.length/k)]);l=e;a[e]=a[e]||[];a[e].push(n);return a},[])},split:function(a,b){return a.reduce(function(a,c,d){d=Math.floor(d/
b);a[d]=(a[d]||[]).concat(c);return a},[])},avg:function(a){return a.length?a.reduce(function(a,b){return a+b})/a.length:NaN},max:function(a){var b=NaN;if(0<a.length){var c=a.length-2;for(b=a[a.length-1];0<=c;c--)b=b>a[c]?b:a[c]}return b},random:function(a,b){void 0===a&&(a=0);return Math.round(Math.random()*b+a)}}}])["default"]}catch(a){Pa={error:a,scope:"recoder"}}var h={mixin:function(a){var b,c;for(b=1;b<arguments.length;b++)if(arguments[b]){for(c in arguments[b])arguments[b].hasOwnProperty(c)&&
(a[c]=arguments[b][c]);arguments[b].hasOwnProperty("toString")&&(a.toString=arguments[b].toString)}return a}},I=function(a){a=a||{};h.mixin(this,a);this._initComponent()};I.prototype._initComponent=function(){};I.inherit=function(a){a=a||{};var b="function"==typeof this?this:Object;a.hasOwnProperty("constructor")||(a.constructor=function(){b.apply(this,arguments)});var c=function(){};c.prototype=b.prototype;a.constructor.prototype=new c;h.mixin(a.constructor.prototype,a);a.constructor.prototype.constructor=
a.constructor;a.constructor.superclass=b.prototype;a.constructor.inherit=I.inherit;return a.constructor};h.forEachKey=function(a,b,c){for(var d in a)a.hasOwnProperty(d)&&b.call(c,d,a[d],a)};h.isEqual=function(a,b){var c=!0;h.forEachKey(a,function(a,f){b.hasOwnProperty(a)&&b[a]===f||(c=!1)});if(!c)return c;h.forEachKey(b,function(b,f){a.hasOwnProperty(b)&&a[b]===f||(c=!1)});return c};h.getNativeFunction=function(a,b){b=b||m;var c=b.constructor&&b.constructor.prototype&&b.constructor.prototype[a]||
b[a];try{if(c&&c.apply)return function(){return c.apply(b,arguments)}}catch(d){return b[a]}return c};h.setTimeout=function(a,b,c){return h.getNativeFunction("setTimeout")(F(a,c||"setTimeout"),b)};var y=I.inherit({_initComponent:function(){y.superclass._initComponent.apply(this,arguments);this._listeners=[]},on:function(a,b,c,d,f){f=y._getOpts(f);b=b.split(",");var l=b.length,g=this._listeners,n;for(n=0;n<l;n++){var h=b[n];var t=F(function(a){c.call(d||this,a||m.event)},"on"+(h||"")+(f.name||""));
g[g.length]=[a,h,c,d,f,t];a.addEventListener?a.addEventListener(h,t,y._prepOpts(f)):a.attachEvent&&a.attachEvent("on"+h,t)}},un:function(a,b,c,d,f){f=y._getOpts(f);var l=this._listeners,g=l.length,n;for(n=0;n<g;n++){var r=l[n];if(r[0]==a&&r[1]==b&&r[2]==c&&r[3]==d&&h.isEqual(r[4],f)){l.splice(n,1);this._removeListener(a,b,r[5],f);break}}},unAll:function(){var a=this._listeners,b=a.length,c;for(c=0;c<b;c++){var d=a[c];this._removeListener(d[0],d[1],d[5],d[4])}a.length=0},_removeListener:function(a,
b,c,d){a.removeEventListener?a.removeEventListener(b,c,y._prepOpts(d)):a.detachEvent&&a.detachEvent("on"+b,c)}});y.supportsPassive=function(){if(y._supportsPassive!==A)return y._supportsPassive;y._supportsPassive=!1;try{var a=Object.defineProperty({},"passive",{get:function(){return y._supportsPassive=!0}});m.addEventListener("test",null,a)}catch(b){}return y._supportsPassive};y._getOpts=function(a){return h.mixin({capture:!0,passive:!0},a||{})};y._prepOpts=function(a){return y.supportsPassive()?
a:!!a.capture};y.on=function(){y._instance||(y._instance=new y);y._instance.on.apply(y._instance,arguments)};y.un=function(){y._instance&&y._instance.un.apply(y._instance,arguments)};var v={UNLOAD_MS:0,isPerfomance:m.performance&&m.performance.timing&&m.performance.timing.navigationStart&&m.performance.now,getMs:function(){return 0<this.UNLOAD_MS?this.UNLOAD_MS:this.isPerfomance?Math.round(m.performance.timing.navigationStart+m.performance.now()):v.oldMs()},getFormStart:function(){return this.isPerfomance?
Math.round(m.performance.now()):this.getMs()-this.initTime}};v.oldMs=Date.now?Date.now:function(){return(new Date).getTime()};v.initTime=v.getMs();y.on(m,"beforeunload,unload",function(){0===v.UNLOAD_MS&&(v.UNLOAD_MS=v.getMs())});h.pad=function(a){return(10>a?"0":"")+a};v.getTimestamp=function(){var a=new Date;a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()];var b="",c;for(c=0;c<a.length;c++)b+=h.pad(a[c]);return b};v.getTimezone=function(){return-(new Date).getTimezoneOffset()};
v.getMinutes=function(){return Math.floor(this.getMs()/1E3/60)};v.getSeconds=function(){return Math.round(this.getMs()/1E3)};v.isPerfomance||(v.deltaTime=0,v.lastNowTime=0,v.correctTime=0,v.timeCorrector=function(a){v.correctTime=v.getMs();a&&v.correctTime<v.lastTime&&(v.deltaTime+=a-v.correctTime+20);h.setTimeout(function(){v.timeCorrector(v.correctTime)},20,"timeCorrector")});v.initCorrector=function(){v.isPerfomance||v.timeCorrector(0)};v.nowTime=function(){if(this.isPerfomance)return this.getMs();
var a=this.getMs()+v.deltaTime;a<v.lastNowTime&&(a+=v.lastNowTime+10);return v.lastNowTime=a};v.nowEventTime=function(){return Math.round((v.nowTime()-v.initTime)/50)};h.toString=function(a){return Object.prototype.toString.call(a)};h.isFunction=function(a){return"function"===typeof a};h.isArray=function(a){return h.isFunction(Array.isArray)?Array.isArray(a):"[object Array]"===h.toString(a)};h.mergeArrays=function(a){var b,c,d=arguments.length;for(b=1;b<d;b++){var f=arguments[b];if(h.isArray(f)||
f&&"[object Arguments]"===f.toString())for(c=0;c<f.length;c++)a[a.length]=f[c]}return a};h.defer=function(a,b,c,d,f){return h.setTimeout(function(){a.apply(c,d||[])},b,f)};h.throttle=function(a,b,c,d){var f,l,g;return function(){l=arguments;g=this;f||function(){f=null;l&&(a.apply(c||g,l),l=null,f=h.setTimeout(arguments.callee,b,d))}()}};var Va=I.inherit({storage:null,storageKey:"dataBuffer",store:{_keys:[],_values:[],get:function(a){a=h.arrayIndexOf(this._keys,a);return-1==a?null:this._values[a]},
set:function(a,b){this._keys.push(a);this._values.push(b)},pop:function(a){a=h.arrayIndexOf(this._keys,a);if(-1==a)return null;var b=this._values[a];this._keys.splice(a,1);this._values.splice(a,1);return b}},maxBufferSize:255,flushTimeout:1E4,startBufferTime:0,active:!0,meta:null,onFlush:function(){},onFlushCtx:null,bufferExpireTime:864E5,_initComponent:function(){var a;Va.superclass._initComponent.apply(this,arguments);this.wrappers=[];this._data=[];this._packetNumber=0;this._flushTID=null;this._saveToStorageThrottled=
h.throttle(this._saveToStorage,300,this,"DataBuffer._saveToStorage");this.storage&&(a=this.storage.get(this.storageKey))&&a.data&&a.meta&&a.time&&a.time+this.bufferExpireTime>+v.getMs()&&this.onFlush.call(this.onFlushCtx||this,this.dataFromStorage(a.data),a.meta,a.pnum);this.clear()},setWVType:function(a){this.wvType=a;this._sender.version=a},getFlushSize:function(){return this._data.length},mergeData:function(a,b){h.mergeArrays(a,b)},updateStamp:function(a,b){a.stamp!==A&&(b.stamp=a.stamp,"eof"!==
a.type&&delete a.stamp)},append:function(a,b){this.mergeData(this._data,a);this._saveToStorageThrottled();this.active&&((b||this.getFlushSize()>=this.maxBufferSize||this.getFlushSize()===this.maxChunkSize)&&this._flush(b),this._flushTID||(this._flushTID=h.defer(this._flush,this.flushTimeout,this,[b],"DataBuffer._flush")))},activate:function(){this.active||(this.active=!0,this.append([]))},clear:function(){this._data.length=0;this._flushTID=null;this.storage&&this.storage.remove(this.storageKey)},
_flush:function(a){if(!this.getFlushSize())return this.clear(),!1;this.onFlush.call(this.onFlushCtx||this,this._data,this.meta,this._packetNumber,a);this._packetNumber++;this.clear()},dataFromStorage:function(a){return a},dataToStorage:function(a){return a},_saveToStorage:function(){this.storage&&this._data.length&&this.storage.set(this.storageKey,{data:this.dataToStorage(this._data),meta:this.meta,pnum:this._packetNumber,time:v.getMs()})}}),xb="ru ua by kz az kg lv md tj tm uz ee fr co.il com.ge com.am com.tr".split(" "),
C={storage:{},init:function(){var a=this;F(function(){m.Ya=m.Ya||{};m.Ya._metrika=m.Ya._metrika||{};a.storage=m.Ya._metrika},"",!0)();return this},setSafe:function(a,b){var c=this;F(function(){c.storage[a]===A&&(c.storage[a]=b)},"",!0)();return this},set:function(a,b){F(function(){m.Ya._metrika[a]=b},"",!0)();return this},get:function(a,b){return F(function(){var c=m.Ya._metrika[a];return c===A?b:c},"",!0)()}};h.async=function(a,b,c){if(m.postMessage){var d="__ym__promise"+Math.random()+"_"+v.getMs();
var f=function(c){try{var g=c.data}catch(n){return}g===d&&(c.stopPropagation&&c.stopPropagation(),a.call(b),y.un(m,"message",f,null,{passive:!1}))};y.on(m,"message",f,null,{passive:!1,name:".async."+(c||"")});m.postMessage(d,"*")}else h.setTimeout(function(){a.call(b)},0)};var Xb=I.inherit({transports:[],globalConfig:C,postParams:[],isDisabled:function(){return this.globalConfig.get("oo")},send:function(a,b,c,d){var f=[a],l=this,g=c||function(){};l.isDisabled()?g.call(d):function t(a){if(a<this.transports.length)try{var c=
new this.transports[a]({postParams:this.postParams,queryStringParams:this.queryStringParams});b["browser-info"]=c.logInfo(b["browser-info"]);(function k(q){q>=f.length?c.blockNext()||t.call(this,a+1):c.request(f[q],b,function(a,b,c){a?g.call(d,b,c):h.async(function(){k.call(l,q+1)},this,"senderCall")},this)}).call(this,0)}catch(B){ua(B,"send by "+(c&&c.id)),t.call(this,a+1)}}.call(this,0)}}),Ca={};h.keys=function(a){var b,c=[];for(b in a)a.hasOwnProperty(b)&&c.push(b);return c};h.map=function(a,b){var c,
d=[];for(c=0;c<b.length;c++)d.push(a(b[c],c));return d};Ca.stringify=function(a,b){var c=[],d=b||{},f={},l=h.keys(a).length,g,n;if(d.lastOrdering!==A)for(n=1;n<=b.lastOrdering.length;n++)f[b.lastOrdering[n-1]]=l+n;if(d.firstOrdering!==A)for(n=0;n<b.firstOrdering.length;n++)f[b.firstOrdering[n]]=n;for(g in a)if(a.hasOwnProperty(g))if(d=a[g],h.isArray(d))for(n=0;n<d.length;n++)c.push({key:g,value:encodeURIComponent(g)+"\x3d"+encodeURIComponent(String(d[n]))});else c.push({key:g,value:encodeURIComponent(g)+
"\x3d"+encodeURIComponent(String(d))});c.sort(function(a,b){var c=f[a.key],d=f[b.key];"undefined"===typeof c&&(c=l);"undefined"===typeof d&&(d=l);return c-d});return h.map(function(a){return a.value},c).join("\x26")};h.inArray=function(a,b){var c;for(c=0;c<a.length;c++)if(a[c]==b)return!0;return!1};var wa=I.inherit({postParams:[],index:0,blockNext:function(){return!1},logInfo:function(a){var b;if(a)return a=(b=a.match(/^ti:\d:/))?a.replace(b[0],""):a,"ti:"+this.index+":"+a},_buildUrl:function(a,b){var c=
Ca.stringify(b,this.queryStringParams);return a+(-1<a.indexOf("?")?"\x26":c?"?":"")+c},_splitParams:function(a){var b={},c={};h.forEachKey(a,function(a,f){h.inArray(this.postParams,a)?c[a]=f:b[a]=f},this);return{get:b,post:c}},_parseResp:function(a){return a}}),Wa=wa.inherit({id:"XHR",index:7,method:"POST",withCredentials:!0,request:function(a,b,c,d){var f=this,l;if(/[^a-z0-9.:-]/.test(M.host)&&m.opera&&"function"===typeof m.opera.version){var g=m.opera.version();if("string"===typeof g&&"12"===g.split(".")[0])return c.call(d,
!1)}if(m.XMLHttpRequest){var n=new XMLHttpRequest;if("withCredentials"in n){b=this._splitParams(b);a=this._buildUrl(a,b.get);try{n.open(this.method,a,!0)}catch(r){return c.call(d,!1)}n.withCredentials=this.withCredentials;this._setHeaders(n);n.send(this._preparePostParams(b));n.onreadystatechange=function(){if(4===n.readyState){try{l=f._parseResp(n.responseText)}catch(r){return c.call(d,!1)}c.apply(d,[200===n.status].concat(l))}};this._timeOutCheck(n,c,d);return}}c.call(d,!1)},_timeOutCheck:function(a,
b,c){this.timeout&&(a.timeout=this.timeout,h.setTimeout(function(){a.abort?a.abort():b.call(c,!1)},this.timeout+100))},setMethod:function(a){this.method=a},_preparePostParams:function(a){return Ca.stringify(a.post)},_setHeaders:function(a){a.setRequestHeader("Content-Type","application/x-www-form-urlencoded")}}),x={};h.memorize=function(a,b){var c="memorize";return function(){"memorize"===c&&(c=a.apply(b||this,arguments));return c}};x.isAndroidWebView=F(function(){var a=navigator.userAgent||"";return a.match(/Android.*Version\/[0-9][0-9.]*\sChrome\/[0-9][0-9.]/)||
a.match(/Android.*Version\/[0-9][0-9.]*\s(?:Mobile\s)?Safari\/[0-9][0-9.]*\sChrome\/[0-9][0-9.]*/)||a.match(/; wv\).*Chrome\/[0-9][0-9.]*\sMobile/)},"isAndroidWebView");var Yb=wa.inherit({id:"beacon",index:1,request:function(a,b,c,d){"function"===typeof navigator.sendBeacon&&!x.isAndroidWebView()&&navigator.onLine?(b=this._splitParams(b),b.get["force-urlencoded"]=1,c.call(d,navigator.sendBeacon(this._buildUrl(a,b.get),Ca.stringify(b.post)))):c.call(d,!1)}});h.random=function(a,b){2>arguments.length&&
(b=a,a=0);1>arguments.length&&(b=1073741824);return Math.floor(Math.random()*(b-a))+a};var Xa=wa.inherit({id:"form",index:2,enctype:"application/x-www-form-urlencoded",htmlfileOnly:!1,_initComponent:function(){Xa.superclass._initComponent.apply(this,arguments);"_htmlfile"in Xa.prototype||(Xa.prototype._htmlfile=this._createHtmlfile());this._doc=this._htmlfile||(this.htmlfileOnly?null:u)},request:function(a,b,c,d){var f=this._doc;if(!f)return c.call(d,!1);b=this._splitParams(b);var l="ifr"+h.random();
var g=f.createElement("div");g.style.position="absolute";g.style.left="-99999px";g.style.top="-99999px";var n=['\x3ciframe name\x3d"',l,'"\x3e\x3c/iframe\x3e','\x3cform action\x3d"',this._buildUrl(a,b.get),'" method\x3d"post" target\x3d"',l,'" enctype\x3d"',this.enctype,'"\x3e'];h.forEachKey(b.post,function(a){h.mergeArrays(n,['\x3cinput type\x3d"hidden" autocomplete\x3d"off" autocorrect\x3d"off"',' autocapitalize\x3d"off" spellcheck\x3d"false" name\x3d"',a,'"/\x3e'])});h.mergeArrays(n,["\x3c/form\x3e"]);
g.innerHTML=n.join("");f.body.appendChild(g);var r=g.getElementsByTagName("form")[0];h.forEachKey(b.post,function(a,b){r[a].value=b});r.submit();h.setTimeout(function(){f.body.removeChild(g)},1E4,"TransportForm.request.2");return c.call(d,!0,"tf.request")},_createHtmlfile:function(){try{if(m.ActiveXObject){var a=new ActiveXObject("htmlfile");a.open();a.write("\x3chtml\x3e\x3cbody\x3e\x3c/body\x3e\x3c/html\x3e");a.close();return a}}catch(b){}return null}}),Zb=Xa.inherit({id:"htmlfile",index:3,htmlfileOnly:!0}),
Da=wa.inherit({id:"img",index:4,request:function(a,b,c,d){a=this._buildUrl(a,b);var f=!1;b=u.createElement("img");c=c||function(){};b.onload=F(function(){f||(c.call(d,!0),f=!0)},"TransportImage.request");b.onerror=F(function(){f||(c.call(d,!1),f=!0)},"TransportImage.request");b.src=a;this.timeout&&h.setTimeout(function(){f||(c.call(d,!1),f=!0)},this.timeout,"ti.request")}}),R={stringify:function(a){try{var b=JSON.stringify(a)}catch(c){}return h.inArray(["{}",A],b)?"null":b}};h.toJSON=function(a){var b;
if(a===A)return"";if(null===a)return"null";switch(a.constructor){case Boolean:return a.toString();case Number:return isFinite(a)?a.toString():"null";case String:return'"'+a.replace(/\\/g,"\\\\").replace(/"/g,'\\"').replace(/\n/g,"\\n").replace(/\r/g,"\\r")+'"';case Array:var c=[];var d=0;for(b=a.length;d<b;d++)c[c.length]=h.toJSON(a[d]);return"["+c.join(",")+"]";case Object:c=[];for(d in a)a.hasOwnProperty(d)&&a[d]!==A&&(c[c.length]=h.toJSON(d)+":"+h.toJSON(a[d]));return"{"+c.join(",")+"}";default:return R.stringify(a)}};
var ea=I.inherit({counterId:"",_initComponent:function(){ea.superclass._initComponent.apply(this,arguments);this._ls=null;try{this._ls=m.localStorage}catch(a){}},set:function(a,b){if(this.isEnabled())try{!b||b&&h.isArray(b)&&!b.length?this.remove(a):this._ls.setItem(this._getLsKey(a),h.toJSON(b))}catch(c){}},get:function(a){if(this.isEnabled())try{return JSON.parse(this._ls.getItem(this._getLsKey(a)))}catch(b){}return null},remove:function(a){if(this.isEnabled())try{this._ls.removeItem(this._getLsKey(a))}catch(b){}},
isEnabled:function(){return this._ls&&m.JSON&&"object"==typeof this._ls&&"object"==typeof m.JSON},getStorageId:function(){var a=this.get("lsid");a||(a=Math.round(Math.random()*v.getMs()),this.set("lsid",a));return a},clearStorageId:function(){this.remove("lsid")},_getLsKey:function(a){return"_ym"+this.counterId+"_"+a}});h.fnv32a=function(a){var b=2166136261,c;var d=0;for(c=a.length;d<c;++d)b^=a.charCodeAt(d),b+=(b<<1)+(b<<4)+(b<<7)+(b<<8)+(b<<24);return b>>>0};h.clearTimeout=function(a){return h.getNativeFunction("clearTimeout")(a)};
h.getTld=function(){if(!this._tld){var a=M.hostname.split(".");this._tld=a[a.length-1]}return this._tld};var na={abc:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",tail:"+/\x3d",tailSafe:"*-_",encode:function(a,b){var c=(na.abc+(b?na.tailSafe:na.tail)).split(""),d=a.length,f=[],l=d-d%3,g;for(g=0;g<l;g+=3){var n=(a[g]<<16)+(a[g+1]<<8)+a[g+2];h.mergeArrays(f,[c[n>>18&63],c[n>>12&63],c[n>>6&63],c[n&63]])}switch(d-l){case 1:n=a[l]<<4;h.mergeArrays(f,[c[n>>6&63],c[n&63],c[64],c[64]]);
break;case 2:n=(a[l]<<10)+(a[l+1]<<2),h.mergeArrays(f,[c[n>>12&63],c[n>>6&63],c[n&63],c[64]])}return f.join("")},decode:function(a,b){for(var c=na.abc+(b?na.tailSafe:na.tail),d=0,f="",l,g,n,h,t;a.length%4;)a+="\x3d";do{l=c.indexOf(a.charAt(d++));g=c.indexOf(a.charAt(d++));h=c.indexOf(a.charAt(d++));t=c.indexOf(a.charAt(d++));if(0>l||0>g||0>h||0>t)return null;n=l<<18|g<<12|h<<6|t;l=n>>16&255;g=n>>8&255;n&=255;f=64==h?f+String.fromCharCode(l):64==t?f+String.fromCharCode(l,g):f+String.fromCharCode(l,
g,n)}while(d<a.length);return f}},Qa={encode:function(a){var b=[],c;var d=0;for(c=a.length;d<c;d++){var f=a.charCodeAt(d);128>f?b.push(f):(127<f&&2048>f?b.push(f>>6|192):(b.push(f>>12|224),b.push(f>>6&63|128)),b.push(f&63|128))}return b}},T=I.inherit({counterId:"",onlyCurrentDomain:!1,skipPrefix:!1,_initComponent:function(){var a;T.superclass._initComponent.apply(this,arguments);this._domain=null;if(!this.onlyCurrentDomain){var b=m.location.host.split(".");for(a=2;;)if(a<=b.length){if(this._domain=
"."+b.slice(-a).join("."),a++,this.isEnabled())break}else{this._domain=null;break}}},create:function(a,b,c){a=[this._prepareName(a)+"\x3d"+encodeURIComponent(b)];c&&(b=new Date,b.setTime(b.getTime()+6E4*c),a.push("expires\x3d"+b.toGMTString()));this._domain&&a.push("domain\x3d"+this._domain);a.push("path\x3d/");try{u.cookie=a.join(";")}catch(d){}},read:function(a){try{var b=u.cookie}catch(c){}return b&&b.match(new RegExp("(?:^|;\\s*)"+this._prepareName(a)+"\x3d([^;]*)"))?decodeURIComponent(RegExp.$1):
null},erase:function(a){this.create(a,"",-1)},isEnabled:function(){this.create("metrika_enabled","1",60);var a=!!this.read("metrika_enabled");this.erase("metrika_enabled");return a},_prepareName:function(a){return(this.skipPrefix?"":"_ym_")+a+(this.counterId?"_"+this.counterId:"")}});T.get=function(a){return(new T({onlyCurrentDomain:!0})).read(a)};T.set=function(a,b,c){return(new T({onlyCurrentDomain:!0})).create(a,b,c)};T.isEnabled=function(){return(new T({onlyCurrentDomain:!0})).isEnabled()};h.isNativeFunction=
function(a,b){return a&&"function"===typeof a?(new RegExp("function\\s*"+b+"\\s*\\(\\)\\s*\\{\\s*\\[native[\\s-]code\\]\\s*\\}","i")).test(a.toString()):!1};var w={removeNode:function(a){var b=a&&a.parentNode;b&&b.removeChild(a)}};x.isSafariWebView=F(function(){var a=navigator.userAgent||"";return navigator.vendor&&-1<navigator.vendor.indexOf("Apple")&&(!a.match(/Safari/)&&a.match(/Mobile/)||a.match(/CFNetwork\/[0-9][0-9.]*.*Darwin\/[0-9][0-9.]*/)||-1!==a.indexOf("FB_IAB")||-1!==a.indexOf("FBAV")||
-1!==a.indexOf("OKApp")||-1!==a.indexOf("GSA/"))},"isSafariWebView");x.isSafari=function(){try{return navigator.vendor&&-1<navigator.vendor.indexOf("Apple")&&navigator.userAgent&&!navigator.userAgent.match("CriOS")}catch(a){}return!1};x.getMacOSVersion=F(function(){var a=navigator.userAgent.match(/Mac OS X ([0-9]+)_([0-9]+)_([0-9]+)/);return a?[+a[1],+a[2],+a[3]]:[0,0,0]},"",!0);x.getPlatform=F(function(){return""+navigator.platform},"",!0);x.isIOS=F(function(){var a=x.getPlatform()||"";return"iPhone"===
a||"iPad"===a},"",!0);x.getITPYaBroVersion=function(){var a=/\sYptp\/\d\.(\d+)\s/,b=null;m.navigator&&navigator.userAgent&&(a=a.exec(navigator.userAgent))&&1<a.length&&(b=parseInt(a[1],10));return b};x.edgVersion=h.memorize(function(){var a=null;var b=/Edg\/(\d+)\./;m.navigator&&navigator.userAgent&&(b=navigator.userAgent.match(b))&&1<b.length&&(a=parseInt(b[1],10));return a});x.isFF=F(function(a){var b=!1;m&&m.document&&m.document.documentElement&&m.document.documentElement.style&&(b="MozAppearance"in
m.document.documentElement.style&&"undefined"!==typeof m.InstallTrigger);if(b&&a&&m.navigator&&m.navigator.userAgent&&m.navigator.userAgent.match){var c=m.navigator.userAgent.match(/Firefox\/([0-9]+)/);b=!1;c&&c.length&&(c=+c[1],b=c>=a)}return b},"isFF");var Ea={_storage:new ea,globalConfig:null,key:"zzlc",userInfo:"",updateInfo:function(a){h.forEachKey(this.getInfoFlags(),function(b,c){var d=c.call(this);d&&(a[b]=d)},this);return a},getYm:function(){var a=this._storage.get(this.ymKey)||{};return a.resp?
a.resp:this.genYm.call(this,a)},getYmD:function(){var a=this._storage.get(this.ymKey)||{};if(a.dmn)return a.dmn},getZZ:function(){return this._storage.get(this.key)?this._storage.get(this.key):this.zz},getPP:function(){return this.globalConfig&&this.globalConfig.get("pp")?this.globalConfig.get("pp"):this.pp},getPU:function(){return this.globalConfig&&this.globalConfig.get("pu")?this.globalConfig.get("pu"):this.pu},getFip:function(){if(this._storage.get(this.fipKey))return this._storage.get(this.fipKey)},
getInfoFlags:function(){return{pi:this.getYm,pid:this.getYmD,zz:this.getZZ,pp:this.getPP,pu:this.getPU,fip:this.getFip}},checkVersion:function(){var a=x.edgVersion();var b=x.getITPYaBroVersion();if(this.globalConfig.get("isEU"))return 1;if(50<=b&&99>=b||a&&79<=a)return 0;a=x.getMacOSVersion();return!((x.isIOS()||10<a[0]||10===a[0]&&13<=a[1])&&x.isSafari())||x.isSafariWebView()},noop:function(){},genPu:function(a){var b=h.fnv32a(m.location.host)+this.userInfo;this.pu=b;a.set("pu",b);return b},ymKey:"pi",
genYm:function(a){var b=this,c=L(),d=v.getMinutes();if(!this.checkVersion()&&m.fetch&&this._storage.get("retryReqs")&&"yandex.ru"==c.hostname&&"/"==c.pathname&&!(a.lt&&a.lt+1440>d)){a.lt=d;c=["auto.ru/daiku","thequestion.ru/daiku","www.kinopoisk.ru/daiku","www.maximonline.ru/_ym"];var f=c[h.random(0,c.length)];fetch("//"+f,{credentials:"include"}).then(function(a){return a.json()}).then(function(c){c&&(a.resp=c._ym_uid,a.dmn=na.encode(Qa.encode(f)),b._storage.set(b.ymKey,a))})["catch"](function(){b._storage.set(b.ymKey,
a)})}},initPU:function(a,b){var c=this;var d=x.isFF(68);this.globalConfig=b;b.get("pu")!==A||this.checkVersion()&&!d||(b.setSafe("pu",null),a.addHandler("gpu-get",function(){return{type:"gpu-get",pu:b.get("pu")}},this),m.opener?(d=h.setTimeout(function(){c.genPu(b)},200,"pu"),a.sendToIframe(m.opener,{type:"gpu-get"},this.handleGpu(d),this)):this.genPu(b))},handleGpu:function(a){return function(b){b=b.pu;h.clearTimeout(a);b&&(this.pu=b,this.globalConfig.set("pu",b))}},onicecandidate:F(function(a){var b;
try{var c=(b=a.localDescription.sdp)&&b.match(/c=IN\s[\w\d]+\s([\w\d:.]+)/)}catch(d){a.onicecandidate=this.noop;"closed"!==a.iceConnectionState&&a.close();return}c&&0<c.length&&(this.pp=h.fnv32a(c[1]),this.globalConfig.set("pp",this.pp));a.onicecandidate=this.noop;a.close()},"wrt"),onOffer:function(a,b){h.isFunction(a.setLocalDescription)&&a.setLocalDescription(b,this.noop,this.noop)},initPP:F(function(a){var b=m.RTCPeerConnection||m.mozRTCPeerConnection||m.webkitRTCPeerConnection;this.globalConfig=
a;if(m.navigator.onLine&&b&&a.get("pp")==A&&(this.globalConfig.setSafe("pp",null),b&&b.prototype&&b.prototype.constructor&&b.prototype.constructor.name)){try{var c=new b({iceServers:[]});c.createDataChannel("y.metrika")}catch(f){return}if(h.isFunction(c.createOffer)&&!c.createOffer.length){try{var d=c.createOffer()}catch(f){return}h.isFunction(d.then)&&d.then(h.bind(this.onOffer,this,c));c.onicecandidate=h.bind(this.onicecandidate,this,c)}}},"rcinit"),initZZ:function(){var a="ru";var b=x.isFF(68);
var c=x.edgVersion(),d=this;if(!this.getZZ()&&(!this.checkVersion()||b)){if(b||c&&79<=c)a="md";b=h.getNativeFunction("createElement",u)("iframe");b.style.display="none";b.style.width="1px";b.style.height="1px";b.style.visibility="hidden";b.src="https://mc.yandex."+a+na.decode("L21ldHJpa2EvenpsYy5odG1s");m.document.documentElement.appendChild(b);y.on(m,"message",this.onMessage,this,{passive:!1});this.frame=b;this.timeout=h.setTimeout(function(){y.un(m,"message",d.onMessage,d,{passive:!1});w.removeNode(d.frame);
d.zz="na"},3E3,"cd.initZZ")}},onMessage:function(a){a.data&&a.data.substr&&"__ym__zz"===a.data.substr(0,8)&&(this.zz=a.data.substr(8),w.removeNode(this.frame),this._storage.set(this.key,this.zz),y.un(m,"message",this.onMessage,this,{passive:!1}),h.clearTimeout(this.timeout))},fipKey:"fip",fpFactors:"webGL plugins applePay dnt font navi jsHeap screen speech video mMedia".split(" "),initFip:function(){var a=0;a=x.isFF(68);!Object.keys||this.checkVersion()&&!a||this._storage.get(this.fipKey)||(a=new jb(h.reduce(function(a,
c){a[c]=1;return a},{},this.fpFactors)),a=a.toString(!1).join("-"),this._storage.set(this.fipKey,a))}},U=Xb.inherit({protocol:"",host:"mc.yandex.ru",queryStringParams:{firstOrdering:["wmode","callback","cnt-class"],lastOrdering:["browser-info"]},resource:"",counterId:"",counterType:0,retry:!1,transports:[Yb,Wa,Da,Zb],_initComponent:function(){U.superclass._initComponent.apply(this,arguments);this.retry&&(this._storage=new ea)},send:function(a,b,c,d){var f=this.globalConfig.get(xa.globalKey),l=this;
f&&3!==this.counterId?f(function(){var g=l._registerRequest(a,b);l._sendSavedRequest(g,a,b,c,d)},a):(f=l._registerRequest(a,b),l._sendSavedRequest(f,a,b,c,d))},_sendSavedRequest:function(a,b,c,d,f){var l=this.globalConfig.get("firstReqStatus"),g=b.forceNoRedirect;if("process"==l)this.globalConfig.set("firstReqCallbacks",h.mergeArrays(this.globalConfig.get("firstReqCallbacks")||[],[[this,arguments]]));else{l||this.globalConfig.set("firstReqStatus","process");this.counterType&&(b["cnt-class"]=this.counterType);
this.globalConfig.get("pri")&&(c.pri=this.globalConfig.get("pri"));c.st=v.getSeconds();c.u=U._userID;this.globalConfig.get("isEU")||(c=Ea.updateInfo(c));l=[this.protocol,"//",this.host,"/",this.resource,"/",this.counterId,g?"/1":""].join("");delete b.forceNoRedirect;var n=[];c&&(h.forEachKey(c,function(a,b){"t"!=a&&h.mergeArrays(n,[a,b])}),c.t&&h.mergeArrays(n,["t",c.t]));n.length&&(b["browser-info"]=n.join(":"));return U.superclass.send.call(this,l,b,function(){var b;this.globalConfig.set("firstReqStatus",
"complete");this._unregisterRequest(a);var c=this.globalConfig.get("firstReqCallbacks");this.globalConfig.set("firstReqCallbacks",null);if(c)for(b=0;b<c.length;b++)c[b][0]._sendSavedRequest.apply(c[b][0],c[b][1]);d&&d.apply(f,arguments)},this)}},_isRetryEnabled:function(){return this.retry&&this._storage&&this._storage.isEnabled()},_registerRequest:function(a,b){var c;if(this._isRetryEnabled()){b.rqnl=b.rqnl||0;b.rqnl++;var d=this._storage.get("retryReqs")||{};for(c=1;d[c];)c++;d[c]={protocol:this.protocol,
host:this.host,resource:this.resource,counterId:this.counterId,counterType:this.counterType,postParams:this.postParams,params:a,browserInfo:b,ghid:this.globalConfig.get("_globalMetrikaHitId"),time:v.getMs()};this._storage.set("retryReqs",d);return c}},_unregisterRequest:function(a){if(a&&this._isRetryEnabled()){var b=this._storage.get("retryReqs")||{};b[a]&&(delete b[a],this._storage.set("retryReqs",b))}},_getVersion:F(function(){return za},"",!0)});U._storage=new ea;U.initCookie=function(a){var b=
new T({onlyCurrentDomain:"uid"!==a}),c=b.read(a),d=U._storage.get(a),f=!1,l=b.read("d"),g=v.getSeconds();d&&!c&&(c=d,f=!0,b.create(a,c,525600),b.create("d",g,525600));if(!c)c=g+""+h.random(),b.create(a,c,525600),b.create("d",g,525600);else if(!l||15768E3<g-parseInt(l))b.create(a,c,525600),b.create("d",g,525600);U._storage.set(a,c);U._userID=c;return f};U.retransmit=function(a){var b=U._storage,c=b.get("retryReqs")||{},d;b.remove("retryReqs");h.forEachKey(c,function(b,c){var g=v.getMs();a.get("firstReqStatus")||
a.set("firstReqStatus","complete");c.ghid&&c.ghid!=a.get("_globalMetrikaHitId")&&c.time&&c.time+1728E5>g&&500<g-c.time&&2>=c.browserInfo.rqnl&&(d=new U({protocol:c.protocol,host:c.host,resource:c.resource,counterId:c.counterId,counterType:c.counterType,postParams:c.postParams||[],retry:!0}),d.send(c.params,c.browserInfo))})};h.fletcher=function(a){for(var b=a.length,c=0,d=255,f=255,l,g,n;b;){l=21<b?21:b;b-=l;do g="string"==typeof a?a.charCodeAt(c):a[c],c++,255<g&&(n=g>>8,g&=255,g^=n),d+=g,f+=d;while(--l);
d=(d&255)+(d>>8);f=(f&255)+(f>>8)}a=(d&255)+(d>>8)<<8|(f&255)+(f>>8);return 65535==a?0:a};var $b=/(\?|&)turbo_uid=([\w\d]+)($|&)/,ac=h.memorize(function(){var a=new T,b=L();return function(c){return c(a,b)}}),bc=function(a,b){var c=b.search.match($b),d=null,f=a.read("turbo_uid");c&&2<=c.length?(d=c[2],a.create("turbo_uid",d,86400)):f&&(d=f);return d};h.arrayEvery=function(a,b,c){var d;for(d=0;d<a.length;d++)if(!b.call(c,a[d],d,a))return!1;return!0};h.is4Bytes=function(a){return!h.arrayEvery((encodeURIComponent(a).match(/(%[A-F,\d]{2})+/g)||
[]).join("").split("%"),function(a){return 240>parseInt(a,16)})};h.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};h.isNumber=function(a){return isFinite(a)&&!isNaN(a)&&"[object Number]"===h.toString(a)};h.isString=function(a){return"[object String]"===h.toString(a)};h._hasIndexOf=[].indexOf&&0===[A].indexOf(A);h.arrayIndexOf=h._hasIndexOf?function(a,b){return a.indexOf(b)}:function(a,b){var c;for(c=0;c<a.length;c++)if(a[c]===b)return c;return-1};
h.warning=function(){m.console&&"function"===typeof m.console.warn&&console.warn.apply(console,arguments)};h.isObject=function(a){try{return a&&null!==a&&"[object Object]"===h.toString(a)}catch(b){return!1}};h._urlParser=null;h.parseUrl=function(a){if(!this._urlParser)try{this._urlParser=u.createElement("a")}catch(b){}return this._urlParser?(this._urlParser.href=a,{protocol:this._urlParser.protocol,host:this._urlParser.host,port:this._urlParser.port,hostname:this._urlParser.hostname,hash:this._urlParser.hash,
search:this._urlParser.search,query:this._urlParser.search.replace(/^\?/,""),pathname:this._urlParser.pathname||"/",path:(this._urlParser.pathname||"/")+this._urlParser.search,href:this._urlParser.href}):{}};h._playerRegexp=/^.+\.mtproxy\.yandex\.net$/;h.isMetrikaPlayer=function(){return"MetrikaPlayer"==m.name||this._playerRegexp.test(m.location.hostname)};w.getDocumentCharset=function(){return(""+(u.characterSet||u.charset||"")).toLowerCase()};w.getBody=function(){for(var a=u.getElementsByTagName("body");0<
a.length;)return a[0]};w.getRootElement=function(){var a=u.documentElement,b=w.getBody();return"CSS1Compat"==u.compatMode?a:b||a};w.getViewportSize=function(){var a=w.getRootElement();return[a.clientWidth||m.innerWidth,a.clientHeight||m.innerHeight]};w.getDocumentTitle=function(){var a=u.title;"string"!=typeof a&&(a=(a=u.getElementsByTagName("title"))&&a.length?a[0].innerHTML:"");return a};x.getSilverlightVersion=h.memorize(function(){if(m.ActiveXObject)try{var a=new ActiveXObject("AgControl.AgControl");
var b=function(a,b,d,f){for(;c(a,b);)b[d]+=f;b[d]-=f};var c=function(a,b){return a.isVersionSupported(b[0]+"."+b[1]+"."+b[2]+"."+b[3])};var d=[1,0,0,0];b(a,d,0,1);b(a,d,1,1);b(a,d,2,1E4);b(a,d,2,1E3);b(a,d,2,100);b(a,d,2,10);b(a,d,2,1);b(a,d,3,1);var f=d.join(".")}catch(l){}else if(b=m.navigator,b=b.plugins&&b.plugins["Silverlight Plug-In"])f=b.description;return f||""});x.getFlashVersion=h.memorize(function(){var a=m.navigator;if("undefined"!=typeof a.plugins&&"object"==typeof a.plugins["Shockwave Flash"]){var b=
a.plugins["Shockwave Flash"];var c=b.version;if((b=b.description)||c)if(a=a.mimeTypes,"undefined"==typeof a||!a["application/x-shockwave-flash"]||a["application/x-shockwave-flash"].enabledPlugin)c?x._flashVersion=c:b&&(x._flashVersion=b.replace(/([a-zA-Z]|\s)+/,"").replace(/(\s+r|\s+b[0-9]+)/,"."))}else if("undefined"!=typeof m.ActiveXObject)try{if(c=new ActiveXObject("ShockwaveFlash.ShockwaveFlash"),b=c.GetVariable("$version"))x._flashVersion=b.split(" ")[1].replace(/,/g,".").replace(/[^.\d]/g,"")}catch(d){}return x._flashVersion});
x.getLanguage=h.memorize(function(){var a=(m.navigator?navigator.language||navigator.userLanguage||navigator.browserLanguage||navigator.systemLanguage:"").toLowerCase();return h.isString(a)?a:""});x.getJavaEnabled=h.memorize(function(){try{return navigator.javaEnabled()}catch(a){return!1}});x.getFingerPrint=h.memorize(function(){var a=[],b;if(navigator.plugins&&navigator.plugins.length)for(b=0;b<navigator.plugins.length;b++){var c=navigator.plugins[b];h.mergeArrays(a,[c.name,c.version,c.description,
c.filename])}if(navigator.mimeTypes&&navigator.mimeTypes.length)for(b=0;b<navigator.mimeTypes.length;b++)c=navigator.mimeTypes[b],h.mergeArrays(a,[c.type,c.description,c.suffixes]);return h.fnv32a(a.join(";"))+"01"});x.getNotificationPermission=function(){try{var a=Notification.permission}catch(b){}switch(a){case "denied":return 1;case "granted":return 2}};x.isIframe=h.memorize(function(){try{return m.top!=m}catch(a){return!1}});x._nMap={other:"0",none:"1",unknown:"2",wifi:"3",ethernet:"4",bluetooth:"5",
cellular:"6",wimax:"7",mixed:"8"};x.netType=function(){var a=(navigator.connection||{type:""}).type;return x._nMap[a]||a};x.isHeadLess=h.memorize(function(){var a,b=["_phantom","__nightmare","callPhantom"];for(a=0;a<b.length;a++)if(m[b[a]])return!0;return/PhantomJS/.test(m.navigator.userAgent)||m.navigator.webdriver||m.isChrome&&!m.chrome?!0:/HeadlessChrome/.test(m.navigator.userAgent)});x.getNavigationStart=h.memorize(function(){var a=m.performance||m.webkitPerformance;return a&&a.timing&&a.timing.navigationStart});
x.isSameOriginTopFrame=function(){try{return m.top.contentWindow||!0}catch(a){return!1}};x.isDesktop=function(a){var b=a.get("bt",{});a.get("bt")===A&&(b.p=navigator.getBattery?navigator.getBattery():null,a.set("bt",b),b.p&&b.p.then&&b.p.then(function(a){b.v=a.charging&&0===a.chargingTime}));return b.v};x.isSelenium=h.memorize(function(){var a=["_selenium","callSelenium","_Selenium_IDE_Recorder"],b=["selenium","webdriver","driver"],c,d=m.document,f="__webdriver_evaluate __selenium_evaluate __webdriver_script_function __webdriver_script_func __webdriver_script_fn __fxdriver_evaluate __driver_unwrapped __webdriver_unwrapped __driver_evaluate __selenium_unwrapped __fxdriver_unwrapped".split(" ");
for(c=0;c<a.length;c++)if(m[a[c]])return!0;for(c=0;c<f.length;c++)if(d&&d[f[c]])return!0;if(m.external&&m.external.toString&&0<=m.external.toString().indexOf("Sequentum"))return!0;if(d.documentElement&&d.documentElement.getAttribute)for(c=0;c<b.length;c++)if(d.documentElement.getAttribute(b[c]))return!0;return!1});y.ready=function(a){var b=u.readyState;if("interactive"===b||"complete"===b)h.setTimeout(a,0,"evt::ready");else{var c=function(){y.un(u,"DOMContentLoaded",c);y.un(m,"load",c);a()};y.on(u,
"DOMContentLoaded",c);y.on(m,"load",c)}};var yb={url:"https://mc.yandex.ru/metrika/",_value:null,init:function(a){var b=this._getLs().read("isad");this.globalConfig=a||C;b?this._set(b):this._getReqStatus()||this._send()},getVal:function(){return this._value},_set:function(a){this._value="1"==a||"2"==a?a:null},_send:function(){var a=this;this._setReqStatus("process");y.ready(function(){var b=u.createElement("img");b.onload=function(){a._saveReq(!1);w.removeNode(this)};b.onerror=function(){a._saveReq(!0);
w.removeNode(this)};b.src=a.url+String.fromCharCode(97,100,118,101,114,116,46,103,105,102);x.isSafari()&&(b.style.position="absolute",b.style.visibility="hidden",b.style.width="0px",b.style.height="0px",w.getRootElement().appendChild(b))})},_saveReq:function(a){this._value=a=a?"1":"2";this._setReqStatus("complete");this._getLs().create("isad",a,1200)},_setReqStatus:function(a){try{this.globalConfig.set("adStatus",a)}catch(b){}},_getReqStatus:function(){try{return this.globalConfig.get("adStatus")}catch(a){return"complete"}},
_getLs:function(){this._ls||(this._ls=new T);return this._ls}};Qa.decode=function(a){for(var b="",c=0,d,f,l;c<a.length;)d=a.charCodeAt(c),128>d?(b+=String.fromCharCode(d),c++):191<d&&224>d?(f=a.charCodeAt(c+1),b+=String.fromCharCode((d&31)<<6|f&63),c+=2):(f=a.charCodeAt(c+1),l=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(f&63)<<6|l&63),c+=3);return b};h.reduce=function(a,b,c){var d=0;b==A&&(b=c[0],d++);for(;d<c.length;)b=a(b,c[d]),d++;return b};h.filter=function(a,b){var c,d=[];for(c=0;c<
b.length;c++)a(b[c])&&d.push(b[c]);return d};R.parse=function(a){try{return JSON.parse(a)}catch(b){return null}};var Ra=U.inherit({hitId:0,trackHash:!1,trimParams:!1,webvisor:!1,counter:null,counterNum:0,windowName:null,resource:"watch",retry:!0,paramsQueue:{paramsQueue:[],length:function(){return this.paramsQueue.length},push:function(a){this.paramsQueue.push(a)},_reduce:function(a){return function(b,c){h.arrayEvery(h.keys(c),function(d){if(b.hasOwnProperty(d))return 1;-1==h.arrayIndexOf(a,d)&&(b[d]=
c[d],delete c[d]);return 1});return b}},_filter:function(a){return h.keys(a).length},mixin:function(a){var b={};this.paramsQueue.length&&(b=h.reduce(this._reduce(h.keys(a)),{},this.paramsQueue),this.paramsQueue=h.filter(this._filter,this.paramsQueue));return h.mixin({},a,b)}},postParams:["site-info"],countersNoTitle:"22836271 9928105 26128362 29850769 22327510 40081755 16082914 279297 23323747 16082899".split(" "),fake:!1,sendTitle:!0,_initComponent:function(){Ra.superclass._initComponent.apply(this,
arguments);this._trackHash=this.trackHash;this.turboState=ac();"0"===""+this.counterType&&(this.sendTitle=-1===h.arrayIndexOf(this.countersNoTitle,""+this.counterId))},setTrackHash:function(a){this._trackHash=a},sendHit:function(a){this._hitExt({url:a.url,title:a.title,referrer:a.referrer,vParams:a.vParams,modes:h.mixin(a.modes||{},{ar:!0,saveRef:!0,pv:!0}),callback:a.callback,hasPrerender:a.hasPrerender,ctx:a.ctx},"hit")},sendExperiments:function(a){this._hitExt({url:L().href,title:"",referrer:"",
modes:{ex:!0,ar:!0},experiments:a.experiments,callback:a.callback,ctx:a.ctx},"exp")},sendPrerenderHit:function(a){this._hitExt({url:a.url,vParams:a.vParams,title:a.title,referrer:a.referrer,modes:{ar:!0,pq:!0}},"hit")},sendAjaxHit:function(a){this._hitExt({url:a.url,title:a.title,referrer:a.referrer,modes:a.modes},"hit")},sendParams:function(a,b,c,d){this._hitExt({url:d||L().href,title:"",referrer:"",forceNoRedirect:!0,vParams:a,modes:{ar:!0,pa:!0,onlyData:!0},callback:b,ctx:c},"pa")},sendGoal:function(a,
b){if(/[/&=?#]/.test(a))h.warning("Incorrect goal");else if(a){var c=b.url?h.parseUrl(b.url):L();this._hitExt({url:"goal://"+c.hostname+"/"+encodeURIComponent(a),title:w.getDocumentTitle(),referrer:c.href,forceNoRedirect:!0,vParams:b.vParams,modes:{ar:!0},callback:b.callback,ctx:b.ctx},"go")}else h.warning("Empty goal")},sendClickLink:function(a,b){this._hitExt({url:a.url,title:a.title,referrer:b||L().href,modes:a.modes})},sendExtLink:function(a,b){this._hitExt({url:a.url,title:a.title||"",referrer:b||
L().href,vParams:a.vParams,modes:{ar:!0,ln:!0,ut:kb},callback:a.callback,ctx:a.ctx},"cl")},sendFileUpload:function(a){this._hitExt({url:a.url,title:a.title||"",referrer:L().href,vParams:a.vParams,modes:{ar:!0,ln:!0,dl:!0},callback:a.callback,ctx:a.ctx},"fu")},sendNotBounce:function(a,b){this._hitExt({url:b.url||L().href,title:"",referrer:"",modes:{cl:a,ar:!0,nb:!0,onlyData:!0},callback:b.callback,ctx:b.ctx},"nb")},sendDevice:function(a){this._hitExt({browserInfo:{di:a.data,dip:a.port},callback:a.callback,
ctx:a.ctx},"de")},_hitExt:function(a,b){function c(a,b){b&&(m[a]=b)}var d,f,l,g={};if(!h.isMetrikaPlayer()){var n=a.modes||{};var r=a.browserInfo||{};var t="undefined"!==typeof a.referrer?a.referrer:Za.lastReferrer;var p=a.url||"";var m={};a.nohit&&c("nohit",1);n.ar&&!n.onlyData&&(t=null===t||""===t?"":this._prepareHitUrl(t),p=this._prepareHitUrl(a.url));c("forceNoRedirect",a.forceNoRedirect);c("page-ref",h.trim(t,lb));c("page-url",h.trim(p,lb));h.is4Bytes(a.title)&&c("charset","utf-8");-1!=L().hostname.search(/(?:^|\.)(?:ya|yandex)\.(?:\w+|com?\.\w+)$/)?
c("ut",kb):"undefined"!=typeof n.ut&&c("ut",h.trim(n.ut,cc));c("exp",a.experiments);(f=a.vParams)&&this.counter&&f.__ym&&(h.isNumber(f.__ym.turbo_page)&&(this.counter.tp=f.__ym.turbo_page),h.isNumber(f.__ym.turbo_page_id)&&(this.counter.tpid=f.__ym.turbo_page_id));(!f||h.isObject(f)&&!f.__ym&&!f.__ymu)&&this.paramsQueue.length()&&h.inArray(["go","hit","pa"],b)&&(f=this.paramsQueue.mixin(f));f&&(p=h.toJSON(f),this.trimParams&&p.length>dc?l=!0:7E5<p?h.warning("Too big params"):c("site-info",p));n.saveRef&&
(Za.lastReferrer=t);g=function(a,b){var c={};h.forEachKey(b,function(a,b){-1===h.arrayIndexOf(["",0,A,null],b)&&(c[a]=b)});return h.mixin({},a,c)}(g,{gdpr:xa.getState(this.globalConfig),tp:this.counter&&this.counter.tp,tpid:this.counter&&this.counter.tpid,fu:this.getFu(a.url,a.referrer),eu:this.globalConfig.get("isEU"),td:this.turboState(bc),v:this._getVersion(),pr:a.hasPrerender?1:null});this.fake||(d=this._getTechInfo(a.title,n,this.counterId,a.ts,a.tz,this._trackHash,this.hitId,this.webvisor,this.counter,
a.nohit));g.wv=2;h.mixin(r,d,g);this.send(m,r,function(){l&&this.counter.params(f);a.userParams&&this.counter.userParams(a.userParams);h.isFunction(a.callback)&&a.callback.apply(a.ctx,arguments)},this)}},_prepareHitUrl:function(a){var b=L(),c=b.host;b=b.href;if(!h.isString(a))return b;if(-1!=a.search(/^[a-z][\w.+-]+:\/\//i))return a;var d=a.charAt(0);if("?"==d)return d=b.search(/\?/),-1==d?b+a:b.substr(0,d)+a;if("#"==d)return d=b.search(/#/),-1==d?b+a:b.substr(0,d)+a;if("/"==d){if(d=b.search(c),-1!=
d)return b.substr(0,d+c.length)+a}else return c=b.split("/"),c[c.length-1]=a,c.join("/");return a},getFu:function(a,b){var c=a!==L().href,d=u.referrer.replace(/\/$/,""),f=(b||"").replace(/\/$/,"");d=d!==f;f=0;d&&c?f=3:d?f=1:c&&(f=2);return f},_getTechInfo:function(a,b,c,d,f,l,g,n,r,t){function p(a,b,c){var e=""+b;a&&b&&(c||-1===e.indexOf(":"))&&(q[a]=e)}function B(a){b[a]&&p(a,"1")}var q={};b=b||{};d=d||v.getTimestamp();f=f||v.getTimezone();p("j",x.getJavaEnabled()?"1":"");var k=x.isDesktop(this.globalConfig);
k!==A&&p("dp",k?"1":"0");p("nt",x.netType());p("ns",x.getNavigationStart());ia&&p("s",ia.width+"x"+ia.height+"x"+(ia.colorDepth||ia.pixelDepth));m.devicePixelRatio&&p("sk",m.devicePixelRatio);x.isSelenium()&&p("iss","1");x.isHeadLess()&&p("hdl","1");x.isIframe()&&(p("ifr","1"),p("sti",x.isSameOriginTopFrame()?"1":"0"));m.ia_document&&m.ia_document.shareURL&&m.ia_document.referrer&&p("iia","1");p("adb",yb.getVal());p("f",x.getFlashVersion());p("l",x.getSilverlightVersion());p("fpr",x.getFingerPrint());
p("cn",this.counterNum);b.pa||(k=w.getViewportSize(),p("w",k[0]+"x"+k[1]));p("z",f);p("i",d);p("et",v.getSeconds());p("en",w.getDocumentCharset());p("c",navigator.cookieEnabled?"1":"");p("la",x.getLanguage());p("ntf",x.getNotificationPermission());h.random(100)||p("np",na.encode(Qa.encode(h.trim(x.getPlatform(),100))));l&&p("wh","1");f="ar ln re dl cpf ad nb pa pq pv ex".split(" ");for(d=0;d<f.length;d++)B(f[d]);f="va vt sn sa he pai".split(" ");b.nb&&f.push("cl");for(d=0;d<f.length;d++)l=f[d],p(l,
b[l]);f=new ea({counterId:c});f.isEnabled()&&(c=f.getStorageId(),d=f.get("reqNum"),t||(d?d++:d=1),f.set("reqNum",d),f.get("reqNum")==d?(p("ls",c),p("rqn",d)):(f.remove("reqNum"),f.clearStorageId(),1<d&&(p("ls",c),p("rqn",0))));p("rn",h.random());p("hid",g);t||3==this.counterId||b.pq||p("ds",Tb(r));r._firstPaint||t||(r._firstPaint=Vb(),p("fp",r._firstPaint));if(n){g=C.get("winNameNum");if(!g){if(g=+m.name||Math.round(65535*Math.random()))0>g&&(g*=-1),g%=65535;g=g||h.fletcher(m.name);C.set("winNameNum",
g)}p("wn",g);try{m.history&&p("hl",String(m.history.length))}catch(e){}}g="";this.sendTitle&&(g=this._getTitle(a));p("t",g,!0);return q},_getTitle:function(a){a="undefined"==typeof a?(a=w.getDocumentTitle())?h.trim(a,zb):"":h.trim(a,zb);return a}});h.array2Props=function(a){var b=a.length,c={},d=c,f;for(f=0;f<b-1;f++){var l=a[f];d[l]={};f<b-2&&(d=d[l])}d[l]=a[b-1];return c};var Ja=I.inherit({sampling:1,counterId:26302566,_initComponent:function(){Ja.superclass._initComponent.apply(this,arguments);
this._sender=new Ra({protocol:"https:",counterId:this.counterId,retry:!1,counter:{}})},log:function(){this.logParams(h.array2Props(arguments))},logParams:function(a){Math.random()<this.sampling&&this._sender.sendHit({url:M.href,title:"",referrer:"",vParams:a})}}),ec=U.inherit({resource:"webvisor",retry:!0,postParams:["wv-data"],sendPacket:function(a,b,c,d,f,l,g,n){if(!a||!a.length)return!1;var r=na.encode(a,!0);if(0==r.indexOf("AAAAAAAAADw")&&m.Error){var t=Error();"string"==typeof t.stack&&(new Ja({sampling:.1})).log("bad visor packet 5",
1)}a={rn:h.random(),"page-url":b,wmode:0,"wv-type":0,"wv-hit":c,"wv-part":d+1,"wv-check":h.fletcher(a),"wv-data":r};f={v:this._getVersion(),z:f,i:l};return this.send(a,f,g,n)}}),sb=Va.inherit({protocol:"",counterId:"",counterType:"",meta:null,maxBufferSize:7500,flushTimeout:3E4,storageKey:"visorbuff",active:!1,_initComponent:function(){this.storage=new ea({counterId:this.counterId});this._sender=new ec({globalConfig:this.globalConfig,protocol:this.protocol,counterId:this.counterId,counterType:this.counterType});
sb.superclass._initComponent.apply(this,arguments)},onFlush:function(a,b,c){this._sender.sendPacket(a,b.url,b.hitId,c,b.timezone,b.timestamp)}});w.getDocumentHTML=function(){var a="";var b=u.documentElement;var c=b.outerHTML,d,f;if(c)b=c;else{c=b.attributes;var l="";for(d=0;d<c.length;d++)(f=c[d])&&(l+=" "+f.name+'\x3d"'+(f.value||"")+'"');b="\x3chtml"+l+"\x3e"+b.innerHTML+"\x3c/html\x3e"}if(c=u.doctype)a=c.publicId?' PUBLIC "'+c.publicId+'"':"",l=c.systemId?' "'+c.systemId+'"':"",a="\x3c!DOCTYPE "+
c.name+a+l+"\x3e\n";return a+b};w.getElementParent=function(a){if(!a||a==u.documentElement)return null;if(a==w.getBody())return u.documentElement;var b=null;try{b=a.parentNode}catch(c){}return b};w.getElementChildren=function(a,b){var c=[],d,f,l;if(a&&(d=a.childNodes)){var g=0;for(l=d.length;g<l;g++){var n=d[g];(f="INPUT"==n.nodeName&&n.type&&"hidden"==n.type.toLocaleLowerCase())||b&&n.nodeName!=b||h.mergeArrays(c,[n])}}return c};w.getElementNeighborPosition=function(a){var b=w.getElementParent(a),
c;if(b){var d=0;b=b.childNodes;var f=a&&a.nodeName;for(c=0;c<b.length;c++){var l=b[c]&&b[c].nodeName;if(f==l){if(a==b[c])return d;d++}}}return 0};w.getDocumentScroll=function(){var a=w.getBody();return[m.pageXOffset||u.documentElement&&u.documentElement.scrollLeft||a&&a.scrollLeft||0,m.pageYOffset||u.documentElement&&u.documentElement.scrollTop||a&&a.scrollTop||0]};w.getElementXY=function(a){var b;if(!a||!a.ownerDocument||"PARAM"==a.tagName||a==w.getBody()||a==u.documentElement)return[0,0];if(a.getBoundingClientRect){a=
a.getBoundingClientRect();var c=w.getDocumentScroll();return[Math.round(a.left+c[0]),Math.round(a.top+c[1])]}for(b=c=0;a;)c+=a.offsetLeft,b+=a.offsetTop,a=a.offsetParent;return[c,b]};w.getDocumentSize=function(){var a=w.getRootElement(),b=w.getViewportSize();return[Math.max(a.scrollWidth,b[0]),Math.max(a.scrollHeight,b[1])]};w.getElementSize=function(a){var b;return a==w.getBody()||a==u.documentElement?w.getDocumentSize():(b=a.getBoundingClientRect&&a.getBoundingClientRect())?[b.width,b.height]:[a.offsetWidth,
a.offsetHeight]};w.getElementRegion=function(a){var b=w.getElementXY(a);a=w.getElementSize(a);return[b[0],b[1],a[0],a[1]]};w.calcChildrenChecksum=function(a){var b=F(function(){return a.innerHTML},"",!0)()||"";return h.fletcher(b.replace(/(<[^>]*>|[\u0000-\u0020])/g,""))};w.getFormNumber=function(a){var b=u.getElementsByTagName("form"),c;var d=0;for(c=b.length;d<c;d++)if(b[d]==a)return d;return-1};w.isEmptyField=function(a){return"INPUT"==a.nodeName&&"submit"!=a.type&&"image"!=a.type&&"hidden"!=a.type?
"radio"==a.type||"checkbox"==a.type?!a.checked:!a.value:"TEXTAREA"==a.nodeName?!a.value:"SELECT"==a.nodeName?0>a.selectedIndex:!0};w.calcTextChecksum=function(a){var b="";a=a.childNodes;var c;var d=0;for(c=a.length;d<c;d++)a[d]&&3==a[d].nodeType&&(b+=a[d].nodeValue);return h.fletcher(b.replace(/[\u0000-\u0020]+/g,""))};w.calcAttribChecksum=function(a){var b="",c="width height align title alt name".split(" "),d;"IMG"==a.tagName&&(b+=a.src.toLowerCase());"A"==a.tagName&&(b+=a.href.toLowerCase());b+=
String(a.className||"").toLowerCase();for(d=0;d<c.length;d++)a.getAttribute&&(b+=String(a.getAttribute(c[d])||"").toLowerCase());return h.fletcher(b.replace(/[\u0000-\u0020]+/g,""))};w.classNameExists=function(a,b){try{return(new RegExp("(?:^|\\s)"+b+"(?:\\s|$)")).test(a.className)}catch(c){return!1}};w.getElementsByClassName=function(a,b){var c;b=b||u;var d=b.getElementsByTagName("*");var f=[];for(c=0;c<d.length;c++)w.classNameExists(d[c],a)&&f.push(d[c]);return f};try{if(wb){var jb=function(a){function b(d){if(c[d])return c[d].f;
var f=c[d]={ia:d,X:!1,f:{}};return a[d].call(f.f,f,f.f,b),f.X=!0,f.f}var c={};return b.ka=a,b.fa=c,b.i=function(a,c,l){b.O(a,c)||Object.defineProperty(a,c,{enumerable:!0,get:l})},b.s=function(a){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(a,Symbol.toStringTag,{value:"Module"});Object.defineProperty(a,"__esModule",{value:!0})},b.ja=function(a,c){if((1&c&&(a=b(a)),8&c)||4&c&&"object"==typeof a&&a&&a.a)return a;var d=Object.create(null);if(b.s(d),Object.defineProperty(d,"default",
{enumerable:!0,value:a}),2&c&&"string"!=typeof a)for(var g in a)b.i(d,g,function(b){return a[b]}.bind(null,g));return d},b.ga=function(a){var c=a&&a.a?function(){return a["default"]}:function(){return a};return b.i(c,"a",c),c},b.O=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)},b.ha="",b(b.la=0)}([function(a,b,c){var d=this&&this.da||function(){return(d=Object.assign||function(a){for(var b,c=1,e=arguments.length;c<e;c++)for(var d in b=arguments[c])Object.prototype.hasOwnProperty.call(b,
d)&&(a[d]=b[d]);return a}).apply(this,arguments)};b.a=!0;var f=c(1),l=c(2),g=c(3),n=c(4),h=c(5),t=c(7),p=c(8),m=c(9),q=c(10),k=c(11),e=c(12),D=c(13);a=function(){function a(a){var b=this;this.l=a;this.S={webGL:f.M,dnt:p.C,font:l.D,screen:n.J,speech:g.K,jsHeap:k.F,navi:q.H,mMedia:m.G,plugins:h.I,video:e.L,applePay:t.B};this.l=d({webGL:!1,dnt:!1,plugins:!1,applePay:!1},a);this.R=Object.keys(this.l).filter(function(a){return b.l[a]}).map(function(a){return new b.S[a]})}return a.prototype.toString=function(a){void 0===
a&&(a=!0);var b=this.R.map(function(a){var b="";try{b=a.b()}catch(Ma){}return b});return a?[D.hash(b.join(""),210)]:b.map(function(a){return D.hash(a,210)})},a}();b.ca=a;b["default"]=a},function(a,b){var c=this&&this.ea||function(){function a(b,c){return(a=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(a,b){a.__proto__=b}||function(a,b){for(var c in b)b.hasOwnProperty(c)&&(a[c]=b[c])})(b,c)}return function(b,c){function d(){this.constructor=b}a(b,c);b.prototype=null===c?Object.create(c):
(d.prototype=c.prototype,new d)}}();b.a=!0;var d=function(a){function b(){var b=a.call(this,"webgl")||this;return b.g&&!b.V()&&(b.g=!1),b}return c(b,a),b.prototype.V=function(){var a=this.canvas.getContext&&(this.canvas.getContext("webgl")||this.canvas.getContext("experimental-webgl"));return!!m.WebGLRenderingContext&&!!a},b.prototype.j=function(a){var b=this.c;return b.clearColor(0,0,0,1),b.enable(b.DEPTH_TEST),b.depthFunc(b.LEQUAL),b.clear(b.COLOR_BUFFER_BIT|b.DEPTH_BUFFER_BIT),"["+a[0]+", "+a[1]+
"]"},b.prototype.Y=function(a){var b,c=a.getExtension("EXT_texture_filter_anisotropic")||a.getExtension("WEBKIT_EXT_texture_filter_anisotropic")||a.getExtension("MOZ_EXT_texture_filter_anisotropic");return c?(0===(b=a.getParameter(c.MAX_TEXTURE_MAX_ANISOTROPY_EXT))&&(b=2),b):null},b.prototype.u=function(){var a=this.c,b=[],c=a.createBuffer();a.bindBuffer(a.ARRAY_BUFFER,c);a.bufferData(a.ARRAY_BUFFER,new Float32Array([-.2,-.9,0,.4,-.26,0,0,.732134444,0]),a.STATIC_DRAW);c.W=3;c.Z=3;var d=a.createProgram(),
f=a.createShader(a.VERTEX_SHADER);a.shaderSource(f,"attribute vec2 attrVertex;varying vec2 varyinTexCoordinate;uniform vec2 uniformOffset;void main(){varyinTexCoordinate\x3dattrVertex+uniformOffset;gl_Position\x3dvec4(attrVertex,0,1);}");a.compileShader(f);var l=a.createShader(a.FRAGMENT_SHADER);a.shaderSource(l,"precision mediump float;varying vec2 varyinTexCoordinate;void main() {gl_FragColor\x3dvec4(varyinTexCoordinate,0,1);}");a.compileShader(l);a.attachShader(d,f);a.attachShader(d,l);a.linkProgram(d);
a.useProgram(d);d.aa=a.getAttribLocation(d,"attrVertex");d.$=a.getUniformLocation(d,"uniformOffset");a.enableVertexAttribArray(d.ma);a.vertexAttribPointer(d.aa,c.W,a.FLOAT,!1,0,0);a.uniform2f(d.$,1,1);a.drawArrays(a.TRIANGLE_STRIP,0,c.Z);null!=a.canvas&&b.push(a.canvas.toDataURL());b.push("extensions:"+a.getSupportedExtensions().join(";"));b.push("webgl aliased line width range:"+this.j(a.getParameter(a.ALIASED_LINE_WIDTH_RANGE)));b.push("webgl aliased point size range:"+this.j(a.getParameter(a.ALIASED_POINT_SIZE_RANGE)));
b.push("webgl alpha bits:"+a.getParameter(a.ALPHA_BITS));b.push("webgl antialiasing:"+(a.getContextAttributes().antialias?"yes":"no"));b.push("webgl blue bits:"+a.getParameter(a.BLUE_BITS));b.push("webgl depth bits:"+a.getParameter(a.DEPTH_BITS));b.push("webgl green bits:"+a.getParameter(a.GREEN_BITS));b.push("webgl max anisotropy:"+this.Y(a));b.push("webgl max combined texture image units:"+a.getParameter(a.MAX_COMBINED_TEXTURE_IMAGE_UNITS));b.push("webgl max cube map texture size:"+a.getParameter(a.MAX_CUBE_MAP_TEXTURE_SIZE));
b.push("webgl max fragment uniform vectors:"+a.getParameter(a.MAX_FRAGMENT_UNIFORM_VECTORS));b.push("webgl max render buffer size:"+a.getParameter(a.MAX_RENDERBUFFER_SIZE));b.push("webgl max texture image units:"+a.getParameter(a.MAX_TEXTURE_IMAGE_UNITS));b.push("webgl max texture size:"+a.getParameter(a.MAX_TEXTURE_SIZE));b.push("webgl max varying vectors:"+a.getParameter(a.MAX_VARYING_VECTORS));b.push("webgl max vertex attribs:"+a.getParameter(a.MAX_VERTEX_ATTRIBS));b.push("webgl max vertex texture image units:"+
a.getParameter(a.MAX_VERTEX_TEXTURE_IMAGE_UNITS));b.push("webgl max vertex uniform vectors:"+a.getParameter(a.MAX_VERTEX_UNIFORM_VECTORS));b.push("webgl max viewport dims:"+this.j(a.getParameter(a.MAX_VIEWPORT_DIMS)));b.push("webgl red bits:"+a.getParameter(a.RED_BITS));b.push("webgl renderer:"+a.getParameter(a.RENDERER));b.push("webgl shading language version:"+a.getParameter(a.SHADING_LANGUAGE_VERSION));b.push("webgl stencil bits:"+a.getParameter(a.STENCIL_BITS));b.push("webgl vendor:"+a.getParameter(a.VENDOR));
b.push("webgl version:"+a.getParameter(a.VERSION));try{var q=a.getExtension("WEBGL_debug_renderer_info");q&&(b.push("webgl unmasked vendor:"+a.getParameter(q.UNMASKED_VENDOR_WEBGL)),b.push("webgl unmasked renderer:"+a.getParameter(q.UNMASKED_RENDERER_WEBGL)))}catch(k){}return a.getShaderPrecisionFormat?(b.push("webgl vertex shader high float precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.HIGH_FLOAT).precision),b.push("webgl vertex shader high float precision rangeMin:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,
a.HIGH_FLOAT).rangeMin),b.push("webgl vertex shader high float precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.HIGH_FLOAT).rangeMax),b.push("webgl vertex shader medium float precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.MEDIUM_FLOAT).precision),b.push("webgl vertex shader medium float precision rangeMin:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.MEDIUM_FLOAT).rangeMin),b.push("webgl vertex shader medium float precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,
a.MEDIUM_FLOAT).rangeMax),b.push("webgl vertex shader low float precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.LOW_FLOAT).precision),b.push("webgl vertex shader low float precision rangeMin:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.LOW_FLOAT).rangeMin),b.push("webgl vertex shader low float precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.LOW_FLOAT).rangeMax),b.push("webgl fragment shader high float precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_FLOAT).precision),
b.push("webgl fragment shader high float precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_FLOAT).rangeMin),b.push("webgl fragment shader high float precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_FLOAT).rangeMax),b.push("webgl fragment shader medium float precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_FLOAT).precision),b.push("webgl fragment shader medium float precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_FLOAT).rangeMin),
b.push("webgl fragment shader medium float precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_FLOAT).rangeMax),b.push("webgl fragment shader low float precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_FLOAT).precision),b.push("webgl fragment shader low float precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_FLOAT).rangeMin),b.push("webgl fragment shader low float precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_FLOAT).rangeMax),
b.push("webgl vertex shader high int precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.HIGH_INT).precision),b.push("webgl vertex shader high int precision rangeMin:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.HIGH_INT).rangeMin),b.push("webgl vertex shader high int precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.HIGH_INT).rangeMax),b.push("webgl vertex shader medium int precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.MEDIUM_INT).precision),b.push("webgl vertex shader medium int precision rangeMin:"+
a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.MEDIUM_INT).rangeMin),b.push("webgl vertex shader medium int precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.MEDIUM_INT).rangeMax),b.push("webgl vertex shader low int precision:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.LOW_INT).precision),b.push("webgl vertex shader low int precision rangeMin:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,a.LOW_INT).rangeMin),b.push("webgl vertex shader low int precision rangeMax:"+a.getShaderPrecisionFormat(a.VERTEX_SHADER,
a.LOW_INT).rangeMax),b.push("webgl fragment shader high int precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_INT).precision),b.push("webgl fragment shader high int precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_INT).rangeMin),b.push("webgl fragment shader high int precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.HIGH_INT).rangeMax),b.push("webgl fragment shader medium int precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_INT).precision),
b.push("webgl fragment shader medium int precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_INT).rangeMin),b.push("webgl fragment shader medium int precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.MEDIUM_INT).rangeMax),b.push("webgl fragment shader low int precision:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_INT).precision),b.push("webgl fragment shader low int precision rangeMin:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_INT).rangeMin),
b.push("webgl fragment shader low int precision rangeMax:"+a.getShaderPrecisionFormat(a.FRAGMENT_SHADER,a.LOW_INT).rangeMax),b.join("~")):b.join("~")},b}(a=function(){function a(a){this.P=a;this.g=!0;this.canvas=u.createElement("canvas");this.U()||(this.g=!1)}return a.prototype.U=function(){return this.c=this.canvas.getContext(this.P),!(!this.canvas.getContext||!this.c)},a.prototype.b=function(){return this.g?this.u():this.id},a}());b.M=d;a=function(a){function b(){return a.call(this,"2d")||this}
return c(b,a),b.prototype.u=function(){var a=this.canvas,b=this.c,c=[];return a.width=2E3,a.height=200,a.style.display="inline",b.rect(0,0,10,10),b.rect(2,2,6,6),c.push("canvas winding:"+(!1===b.isPointInPath(5,5,"evenodd")?"yes":"no")),b.textBaseline="alphabetic",b.fillStyle="#f60",b.fillRect(125,1,62,20),b.fillStyle="#069",b.font="11pt Arial",b.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03",2,15),b.fillStyle="rgba(102, 204, 0, 0.2)",b.font="18pt Arial",b.fillText("Cwm fjordbank glyphs vext quiz, \ud83d\ude03",
4,45),b.globalCompositeOperation="multiply",b.fillStyle="rgb(255,0,255)",b.beginPath(),b.arc(50,50,50,0,2*Math.PI,!0),b.closePath(),b.fill(),b.fillStyle="rgb(0,255,255)",b.beginPath(),b.arc(100,50,50,0,2*Math.PI,!0),b.closePath(),b.fill(),b.fillStyle="rgb(255,255,0)",b.beginPath(),b.arc(75,100,50,0,2*Math.PI,!0),b.closePath(),b.fill(),b.fillStyle="rgb(255,0,255)",b.arc(75,75,75,0,2*Math.PI,!0),b.arc(75,75,25,0,2*Math.PI,!0),b.fill("evenodd"),c.push("canvas fp:"+a.toDataURL()),c.join("~")},b}(a);b.ba=
a},function(a,b){b.a=!0;a=function(){function a(){this.N=["monospace","sans-serif","serif"];this.T="Andale Mono;Arial;Arial Black;Arial Hebrew;Arial MT;Arial Narrow;Arial Rounded MT Bold;Arial Unicode MS;Bitstream Vera Sans Mono;Book Antiqua;Bookman Old Style;Calibri;Cambria;Cambria Math;Century;Century Gothic;Century Schoolbook;Comic Sans;Comic Sans MS;Consolas;Courier;Courier New;Garamond;Geneva;Georgia;Helvetica;Helvetica Neue;Impact;Lucida Bright;Lucida Calligraphy;Lucida Console;Lucida Fax;LUCIDA GRANDE;Lucida Handwriting;Lucida Sans;Lucida Sans Typewriter;Lucida Sans Unicode;Microsoft Sans Serif;Monaco;Monotype Corsiva;MS Gothic;MS Outlook;MS PGothic;MS Reference Sans Serif;MS Sans Serif;MS Serif;MYRIAD;MYRIAD PRO;Palatino;Palatino Linotype;Segoe Print;Segoe Script;Segoe UI;Segoe UI Light;Segoe UI Semibold;Segoe UI Symbol;Tahoma;Times;Times New Roman;Times New Roman PS;Trebuchet MS;Verdana;Wingdings;Wingdings 2;Wingdings 3".split(";");
this.o="mmmmmmmmmmlli"}return a.prototype.b=function(){var a=this.N.concat(this.T);try{var b=u.createElement("canvas")}catch(t){return""}if(!(b&&b.getContext&&b.getContext("2d")))return"";var c=[];(b=b.getContext("2d")).font="30px "+this.o;for(var g=b.measureText(this.o).width,h=0,r=a.length;h<r;h++)b.font="30px "+a[h],c.push(b.measureText(this.o).width===g);return c.join("x")},a}();b.D=a},function(a,b){b.a=!0;a=function(){function a(){}return a.prototype.b=function(){if(!(c=m.speechSynthesis))return"";
for(var a,b=[],c=c.getVoices(),g=0;g<c.length;g++)a=c[g],b.push(""+a.name+a.lang+a.localService+a.voiceURI+a["default"]);return b.join("")},a}();b.K=a},function(a,b){b.a=!0;a=function(){function a(){}return a.prototype.b=function(){var a=m.screen;return[a.width,a.height,a.availWidth,a.availHeight,a.availTop].join("x")},a}();b.J=a},function(a,b,c){b.a=!0;var d=c(6);a=function(){function a(){}return a.prototype.b=function(){return d.A(navigator.plugins).sort(function(a,b){return a.name>b.name?1:2}).map(function(a){return[a.name,
a.description,d.A(a).map(function(a){return[a.description,a.suffixes,a.type].join()}).join()].join()}).join()},a}();b.I=a},function(a,b){b.a=!0;b.A=function(a){return Array.prototype.slice.call(a)}},function(a,b){b.a=!0;a=function(){function a(){this.m=m.ApplePaySession}return a.prototype.b=function(){var a=!1;try{a=m.self!==m.top}catch(l){}if(!this.m||"https:"!==M.protocol||a)return"";a="";for(var b=1;10>=b;b++)a+=this.m.supportsVersion(b)?b:"0";return a+this.m.canMakePayments()},a}();b.B=a},function(a,
b){b.a=!0;a=function(){function a(){this.h=m.navigator}return a.prototype.b=function(){return this.h.doNotTrack?this.h.doNotTrack:this.h.msDoNotTrack?this.h.msDoNotTrack:"unknown"},a}();b.C=a},function(a,b){b.a=!0;a=function(){function a(){}return a.prototype.b=function(){function a(a){return""+(a=m.matchMedia("("+a+")")).media+(a.matches?1:0)}return[a("prefers-reduced-motion"),a("prefers-reduced-transparency"),a("prefers-color-scheme: dark"),a("prefers-color-scheme: light"),a("pointer: none"),a("pointer: coarse"),
a("pointer: fine"),a("any-pointer: none"),a("any-pointer: coarse"),a("any-pointer: fine"),a("scan: interlace"),a("scan: progressive"),a("color-gamut: srgb"),a("color-gamut: p3"),a("color-gamut: rec2020"),a("update: fast"),a("update: slow"),a("update: none"),a("grid: 0"),a("grid: 1"),a("hover: hover"),a("inverted-colors: inverted"),a("inverted-colors: none")].join("x")},a}();b.G=a},function(a,b){b.a=!0;a=function(){function a(){}return a.prototype.b=function(){var a=m.navigator;return[a.appName,a.vendor,
a.i,a.s,a.maxTouchPoints,a.appVersion,a.productSub,a.appCodeName,a.vendorSub,a.getGamepads&&a.getGamepads().length].join("x")},a}();b.H=a},function(a,b){b.a=!0;a=function(){function a(){}return a.prototype.b=function(){var a=m.performance;return a&&a.memory&&a.memory.jsHeapSizeLimit},a}();b.F=a},function(a,b){b.a=!0;a=function(){function a(){this.types="video/ogg video/mp4 video/webm audio/x-aiff audio/x-m4a audio/mpeg audio/aac audio/wav audio/ogg audio/mp4".split(" ");this.v="theora vorbis 1 avc1.4D401E mp4a.40.2 vp8.0 mp4a.40.5".split(" ")}
return a.prototype.w=function(a){return a||"0"},a.prototype.b=function(){for(var a=u.createElement("video"),b=[],c=1;c<this.types.length;c++){b.push(this.w(a.canPlayType(this.types[c]+";")));for(var g=1;g<this.v.length;g++)b.push(a.canPlayType(this.w(this.types[c]+'; codecs\x3d"'+this.v[g]+'"')))}return b.join("")},a}();b.L=a},function(a,b){function c(a,b){a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];b=[b[0]>>>16,65535&b[0],b[1]>>>16,65535&b[1]];var c=[0,0,0,0];return c[3]+=a[3]*b[3],c[2]+=c[3]>>>
16,c[3]&=65535,c[2]+=a[2]*b[3],c[1]+=c[2]>>>16,c[2]&=65535,c[2]+=a[3]*b[2],c[1]+=c[2]>>>16,c[2]&=65535,c[1]+=a[1]*b[3],c[0]+=c[1]>>>16,c[1]&=65535,c[1]+=a[2]*b[2],c[0]+=c[1]>>>16,c[1]&=65535,c[1]+=a[3]*b[1],c[0]+=c[1]>>>16,c[1]&=65535,c[0]+=a[0]*b[3]+a[1]*b[2]+a[2]*b[1]+a[3]*b[0],c[0]&=65535,[c[0]<<16|c[1],c[2]<<16|c[3]]}function d(a,b){a=[a[0]>>>16,65535&a[0],a[1]>>>16,65535&a[1]];b=[b[0]>>>16,65535&b[0],b[1]>>>16,65535&b[1]];var c=[0,0,0,0];return c[3]+=a[3]+b[3],c[2]+=c[3]>>>16,c[3]&=65535,c[2]+=
a[2]+b[2],c[1]+=c[2]>>>16,c[2]&=65535,c[1]+=a[1]+b[1],c[0]+=c[1]>>>16,c[1]&=65535,c[0]+=a[0]+b[0],c[0]&=65535,[c[0]<<16|c[1],c[2]<<16|c[3]]}function f(a,b){return 32===(b%=64)?[a[1],a[0]]:32>b?[a[0]<<b|a[1]>>>32-b,a[1]<<b|a[0]>>>32-b]:(b-=32,[a[1]<<b|a[0]>>>32-b,a[0]<<b|a[1]>>>32-b])}function l(a,b){return 0===(b%=64)?a:32>b?[a[0]<<b|a[1]>>>32-b,a[1]<<b]:[a[1]<<b-32,0]}function g(a,b){return[a[0]^b[0],a[1]^b[1]]}function h(a){return a=g(a,[0,a[0]>>>1]),a=g(a=c(a,[4283543511,3981806797]),[0,a[0]>>>
1]),g(a=c(a,[3301882366,444984403]),[0,a[0]>>>1])}b.a=!0;b.hash=function(a,b){b=b||0;var n=(a=a||"").length%16,r=a.length-n,q=[0,b];b=[0,b];for(var k,e,D=[2277735313,289559509],H=[1291169091,658871167],z=0;z<r;z+=16)k=[255&a.charCodeAt(z+4)|(255&a.charCodeAt(z+5))<<8|(255&a.charCodeAt(z+6))<<16|(255&a.charCodeAt(z+7))<<24,255&a.charCodeAt(z)|(255&a.charCodeAt(z+1))<<8|(255&a.charCodeAt(z+2))<<16|(255&a.charCodeAt(z+3))<<24],e=[255&a.charCodeAt(z+12)|(255&a.charCodeAt(z+13))<<8|(255&a.charCodeAt(z+
14))<<16|(255&a.charCodeAt(z+15))<<24,255&a.charCodeAt(z+8)|(255&a.charCodeAt(z+9))<<8|(255&a.charCodeAt(z+10))<<16|(255&a.charCodeAt(z+11))<<24],k=f(k=c(k,D),31),q=d(q=f(q=g(q,c(k,H)),27),b),q=d(c(q,[0,5]),[0,1390208809]),e=f(e=c(e,H),33),b=d(b=f(b=g(b,c(e,D)),31),q),b=d(c(b,[0,5]),[0,944331445]);switch(k=[0,0],e=[0,0],n){case 15:e=g(e,l([0,a.charCodeAt(z+14)],48));case 14:e=g(e,l([0,a.charCodeAt(z+13)],40));case 13:e=g(e,l([0,a.charCodeAt(z+12)],32));case 12:e=g(e,l([0,a.charCodeAt(z+11)],24));
case 11:e=g(e,l([0,a.charCodeAt(z+10)],16));case 10:e=g(e,l([0,a.charCodeAt(z+9)],8));case 9:e=c(e=g(e,[0,a.charCodeAt(z+8)]),H),b=g(b,c(f(e,33),D));case 8:k=g(k,l([0,a.charCodeAt(z+7)],56));case 7:k=g(k,l([0,a.charCodeAt(z+6)],48));case 6:k=g(k,l([0,a.charCodeAt(z+5)],40));case 5:k=g(k,l([0,a.charCodeAt(z+4)],32));case 4:k=g(k,l([0,a.charCodeAt(z+3)],24));case 3:k=g(k,l([0,a.charCodeAt(z+2)],16));case 2:k=g(k,l([0,a.charCodeAt(z+1)],8));case 1:k=c(k=g(k,[0,a.charCodeAt(z)]),D),q=g(q,c(f(k,31),H))}return q=
d(q=g(q,[0,a.length]),b=g(b,[0,a.length])),b=d(b,q),q=d(q=h(q),b=h(b)),b=d(b,q),("00000000"+(q[0]>>>0).toString(16)).slice(-8)+("00000000"+(q[1]>>>0).toString(16)).slice(-8)+("00000000"+(b[0]>>>0).toString(16)).slice(-8)+("00000000"+(b[1]>>>0).toString(16)).slice(-8)}}]);jb=jb["default"]}}catch(a){Pa={error:a,scope:"fip"}}h.toArray=function(a){var b,c=[];if(a&&!isNaN(a.length)&&0<=a.length)for(b=0;b<a.length;b++)c.push(a[b]);return c};h.arrayFilter=function(a,b,c){var d=[],f;for(f=0;f<a.length;f++)b.call(c,
a[f],f,a)&&d.push(a[f]);return d};h.arrDiff=function(a,b){return h.arrayFilter(a,function(a){return-1===h.arrayIndexOf(b,a)})};h.encodeURIComponent=function(a,b){a=String(a);b&&a.length>b&&(a=a.substr(0,b));return(m.encodeURIComponent||m.escape)(a).replace(/\+/g,"%2B")};h.bind=function(a,b){var c=[].slice.call(arguments,2);return function(){return a.apply(b||this,c.concat([].slice.call(arguments,0)))}};h.safeDecodeURIComponent=function(a){try{return decodeURIComponent(a)}catch(b){return""}};h.isDev=
function(){return!1};h.noop=function(){};!ib(/webkit/)&&ib(/gecko/);var mb={asyncChunk:400,maxDuration:20,restTime:100,asyncBuffer:[],timeout:null,rest:0,addAsyncItem:function(a,b,c,d,f){var l=this;this.asyncBuffer.push({fn:a,ctx:b,args:d||[],loggerName:f||""});c?(clearTimeout(this.timeout),l.flushAsync(!0)):v.getMs()-this.rest>=this.restTime&&!this.timeout?(this.rest=v.getMs(),l.flushAsync()):this.timeout||(this.timeout=h.setTimeout(function(){l.rest=v.getMs();l.flushAsync();l.timeout=!1},this.restTime))},
chain:function(a,b,c,d){var f=this;a.push=function(a){throw'Try to push in Executor when it started "'+a+'"';};(function t(b,c,h){f.addAsyncItem(function(b,c,d){c=a[b++](c);b<=a.length-1&&t(b,c,d)},null,h,[b,c],d+"."+b)})(0,b,c)},callByTimeout:function(a,b){for(var c=v.getMs(),d=0,f,l=(b||0)+1,g=0,n=this;this.asyncBuffer.length;)if(f=this.asyncBuffer.shift(),g+=1,!f.isExecuted&&(F(function(){f.fn.apply(f.ctx,f.args)},"AsyncExecutor."+f.loggerName)(),d=v.getMs()-c,f.isExecuted=!0,!a&&(g>=this.asyncChunk||
d>=this.maxDuration))){h.setTimeout(function(){n.callByTimeout(a,l)},this.restTime);break}},flushAsync:function(a){this.asyncBuffer.length&&this.callByTimeout(a)}},fc=Wa.inherit({id:"XHRPlain",index:8,_splitParams:function(a){var b={},c={};h.forEachKey(a,function(a,f){h.inArray(this.postParams,a)?this.postParams.isSingle?c=f:c[a]=f:b[a]=f},this);return{get:b,post:c}},_preparePostParams:function(a){return a.post},_setHeaders:function(a){a.setRequestHeader("Content-Type","text/plain")}}),nb=U.inherit({resource:"webvisor",
version:2,retry:!1,postParams:["wv-data"],transports:[fc],_initComponent:function(){nb.superclass._initComponent.apply(this,arguments);this.postParams.isSingle=!0},sendPacket:function(a,b,c,d,f,l,g,n,r){var t=w.getViewportSize();if(!a||!a.length)return!1;a={rn:h.random(),"page-url":b,wmode:0,"wv-type":this.version,"wv-hit":c,"wv-part":d+1,"wv-data":a};f={et:g,w:t[0]+"x"+t[1],v:this._getVersion(),z:f,i:l};this.browserInfoMix&&(f=h.mixin(f,this.browserInfoMix));return this.send(a,f,n,r)}}),$a=Va.inherit({protocol:"",
chunkSize:0,counterId:"",counterType:"",meta:null,maxBufferSize:7E5,flushTimeout:2E3,storageKey:"visorbuff2",active:!1,wvType:2,_v:"",_totalSendLimit:null,_totalSendedSize:0,_initComponent:function(){this._sender=new nb({version:this.wvType,protocol:this.protocol,globalConfig:this.globalConfig,counterId:this.counterId,browserInfoMix:this.browserInfoMix,counterType:this.counterType});$a.superclass._initComponent.apply(this,arguments)},append:function(a){!this._data.length&&a&&a.length&&(this.startBufferTime=
v.getSeconds());$a.superclass.append.apply(this,arguments)},_getSize:function(a){var b=this;this.chunkSize+=encodeURIComponent(a).length;this.wrappers.length&&h.reduce(function(a,d){var c=d.getBufferData();c&&(b.chunkSize+=h.toJSON(c).length)},0,this.wrappers);return this.chunkSize},addData:function(a,b,c,d,f){var l=0,g=1,n={type:a},r=.9*this.maxBufferSize;if(!this.totalSendLimit||this._totalSendedSize<this.totalSendLimit)if(this._v=c,this.wrappers.length&&h.arrayEvery(this.wrappers,function(c){c.trigger&&
c.trigger(a,b);return 1}),f)this._getSize("{}"),this.append([],d);else{this.updateStamp(b,n);c=R.stringify(b);f=this._getSize(c);if(f>this.maxBufferSize)for(this._data.length&&this._flush(),d=Math.ceil(c.length/r);l<c.length;)n.partNum=g,n.end=g===d,n.data=c.slice(l,l+=r),g++,this._getSize(n.data),this.append([n],!0);else n.data=c,this.append([n],d);this.store.set(n,{id:a,data:b})}},onFlush:function(a,b,c){this.chunkSize=0;h.arrayEvery(this.wrappers,function(b){if(!b.onFlush)return 1;h.arrayEvery(a,
function(a){a=this.store.pop(a);if(!a)return 1;b.onFlush(a.id,a.data);return 1},this);return 1},this);h.arrayEvery(this.wrappers,function(b){b=b.getBufferData();if(!b)return 1;b.data=R.stringify(b.data);a.push(b);return 1});if(a.length){var d=R.stringify(a);this._totalSendedSize+=d.length;this._sender.sendPacket(d,b.url,b.hitId,c,b.timezone,b.timestamp,this.startBufferTime)}},getFlushSize:function(){return this.chunkSize}}),J={},Ab=!1;try{J=function(a){function b(d){if(c[d])return c[d].exports;var f=
c[d]={i:d,l:!1,exports:{}};a[d].call(f.exports,f,f.exports,b);f.l=!0;return f.exports}var c={};b.m=a;b.c=c;b.d=function(a,c,l){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:l})};b.r=function(a){Object.defineProperty(a,"__esModule",{value:!0})};b.n=function(a){var c=a&&a.__esModule?function(){return a["default"]}:function(){return a};b.d(c,"a",c);return c};b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};b.p="";return b(b.s=18)}([function(a,b,c){function d(a,
b,c){for(var d=Object.keys(b),f=0;f<d.length;++f)void 0!==a[d[f]]&&c||(a[d[f]]=b[d[f]]);return a}function f(a){function b(a,c){if(!(this instanceof b))return new b(a,c);Object.defineProperty(this,"message",{get:function(){return a}});Error.captureStackTrace?Error.captureStackTrace(this,b):Object.defineProperty(this,"stack",{value:Error().stack||""});c&&d(this,c)}(b.prototype=Object.create(Error.prototype)).constructor=b;Object.defineProperty(b.prototype,"name",{get:function(){return a}});b.prototype.toString=
function(){return this.name+": "+this.message};return b}b.asPromise=c(15);b.base64=c(14);b.EventEmitter=c(13);b["float"]=c(12);b.inquire=c(11);b.utf8=c(10);b.pool=c(9);b.LongBits=c(8);b.global="undefined"!=typeof m&&m||"undefined"!=typeof global&&global||"undefined"!=typeof self&&self||this;b.emptyArray=Object.freeze?Object.freeze([]):[];b.emptyObject=Object.freeze?Object.freeze({}):{};b.isNode=!!(b.global.process&&b.global.process.versions&&b.global.process.versions.node);b.isInteger=Number.isInteger||
function(a){return"number"==typeof a&&isFinite(a)&&Math.floor(a)===a};b.isString=function(a){return"string"==typeof a||a instanceof String};b.isObject=function(a){return a&&"object"==typeof a};b.isset=b.isSet=function(a,b){var c=a[b];return!(null==c||!a.hasOwnProperty(b))&&("object"!=typeof c||0<(Array.isArray(c)?c.length:Object.keys(c).length))};b.Buffer=function(){try{var a=b.inquire("buffer").Buffer;return a.prototype.utf8Write?a:null}catch(g){return null}}();b._Buffer_from=null;b._Buffer_allocUnsafe=
null;b.newBuffer=function(a){return"number"==typeof a?b.Buffer?b._Buffer_allocUnsafe(a):new b.Array(a):b.Buffer?b._Buffer_from(a):"undefined"==typeof Uint8Array?a:new Uint8Array(a)};b.Array="undefined"!=typeof Uint8Array?Uint8Array:Array;b.Long=b.global.dcodeIO&&b.global.dcodeIO.Long||b.global.Long||b.inquire("long");b.key2Re=/^true|false|0|1$/;b.key32Re=/^-?(?:0|[1-9][0-9]*)$/;b.key64Re=/^(?:[\\x00-\\xff]{8}|-?(?:0|[1-9][0-9]*))$/;b.longToHash=function(a){return a?b.LongBits.from(a).toHash():b.LongBits.zeroHash};
b.longFromHash=function(a,c){var d=b.LongBits.fromHash(a);return b.Long?b.Long.fromBits(d.lo,d.hi,c):d.toNumber(!!c)};b.merge=d;b.lcFirst=function(a){return a.charAt(0).toLowerCase()+a.substring(1)};b.newError=f;b.ProtocolError=f("ProtocolError");b.oneOfGetter=function(a){for(var b={},c=0;c<a.length;++c)b[a[c]]=1;return function(){for(var a=Object.keys(this),c=a.length-1;-1<c;--c)if(1===b[a[c]]&&void 0!==this[a[c]]&&null!==this[a[c]])return a[c]}};b.oneOfSetter=function(a){return function(b){for(var c=
0;c<a.length;++c)a[c]!==b&&delete this[a[c]]}};b.toJSONOptions={longs:String,enums:String,bytes:String,json:!0};b._configure=function(){var a=b.Buffer;a?(b._Buffer_from=a.from!==Uint8Array.from&&a.from||function(b,c){return new a(b,c)},b._Buffer_allocUnsafe=a.allocUnsafe||function(b){return new a(b)}):b._Buffer_from=b._Buffer_allocUnsafe=null}},function(a,b,c){function d(a,b){return RangeError("index out of range: "+a.pos+" + "+(b||1)+" \x3e "+a.len)}function f(a){this.buf=a;this.pos=0;this.len=a.length}
function l(){var a=new p(0,0),b=0;if(!(4<this.len-this.pos)){for(;3>b;++b){if(this.pos>=this.len)throw d(this);a.lo=(a.lo|(127&this.buf[this.pos])<<7*b)>>>0;if(128>this.buf[this.pos++])return a}a.lo=(a.lo|(127&this.buf[this.pos++])<<7*b)>>>0;return a}for(;4>b;++b)if(a.lo=(a.lo|(127&this.buf[this.pos])<<7*b)>>>0,128>this.buf[this.pos++])return a;a.lo=(a.lo|(127&this.buf[this.pos])<<28)>>>0;a.hi=(a.hi|(127&this.buf[this.pos])>>4)>>>0;if(128>this.buf[this.pos++])return a;b=0;if(4<this.len-this.pos)for(;5>
b;++b){if(a.hi=(a.hi|(127&this.buf[this.pos])<<7*b+3)>>>0,128>this.buf[this.pos++])return a}else for(;5>b;++b){if(this.pos>=this.len)throw d(this);a.hi=(a.hi|(127&this.buf[this.pos])<<7*b+3)>>>0;if(128>this.buf[this.pos++])return a}throw Error("invalid varint encoding");}function g(a,b){return(a[b-4]|a[b-3]<<8|a[b-2]<<16|a[b-1]<<24)>>>0}function h(){if(this.pos+8>this.len)throw d(this,8);return new p(g(this.buf,this.pos+=4),g(this.buf,this.pos+=4))}a.exports=f;var r,t=c(0),p=t.LongBits,m=t.utf8,q,
k="undefined"!=typeof Uint8Array?function(a){if(a instanceof Uint8Array||Array.isArray(a))return new f(a);throw Error("illegal buffer");}:function(a){if(Array.isArray(a))return new f(a);throw Error("illegal buffer");};f.create=t.Buffer?function(a){return(f.create=function(a){return t.Buffer.isBuffer(a)?new r(a):k(a)})(a)}:k;f.prototype._slice=t.Array.prototype.subarray||t.Array.prototype.slice;f.prototype.uint32=(q=4294967295,function(){q=(127&this.buf[this.pos])>>>0;if(128>this.buf[this.pos++])return q;
q=(q|(127&this.buf[this.pos])<<7)>>>0;if(128>this.buf[this.pos++])return q;q=(q|(127&this.buf[this.pos])<<14)>>>0;if(128>this.buf[this.pos++])return q;q=(q|(127&this.buf[this.pos])<<21)>>>0;if(128>this.buf[this.pos++])return q;q=(q|(15&this.buf[this.pos])<<28)>>>0;if(128>this.buf[this.pos++])return q;if((this.pos+=5)>this.len)throw this.pos=this.len,d(this,10);return q});f.prototype.int32=function(){return 0|this.uint32()};f.prototype.sint32=function(){var a=this.uint32();return a>>>1^-(1&a)|0};f.prototype.bool=
function(){return 0!==this.uint32()};f.prototype.fixed32=function(){if(this.pos+4>this.len)throw d(this,4);return g(this.buf,this.pos+=4)};f.prototype.sfixed32=function(){if(this.pos+4>this.len)throw d(this,4);return 0|g(this.buf,this.pos+=4)};f.prototype["float"]=function(){if(this.pos+4>this.len)throw d(this,4);var a=t["float"].readFloatLE(this.buf,this.pos);this.pos+=4;return a};f.prototype["double"]=function(){if(this.pos+8>this.len)throw d(this,4);var a=t["float"].readDoubleLE(this.buf,this.pos);
this.pos+=8;return a};f.prototype.bytes=function(){var a=this.uint32(),b=this.pos,c=this.pos+a;if(c>this.len)throw d(this,a);this.pos+=a;return Array.isArray(this.buf)?this.buf.slice(b,c):b===c?new this.buf.constructor(0):this._slice.call(this.buf,b,c)};f.prototype.string=function(){var a=this.bytes();return m.read(a,0,a.length)};f.prototype.skip=function(a){if("number"==typeof a){if(this.pos+a>this.len)throw d(this,a);this.pos+=a}else{do if(this.pos>=this.len)throw d(this);while(128&this.buf[this.pos++])
}return this};f.prototype.skipType=function(a){switch(a){case 0:this.skip();break;case 1:this.skip(8);break;case 2:this.skip(this.uint32());break;case 3:for(;4!=(a=7&this.uint32());)this.skipType(a);break;case 5:this.skip(4);break;default:throw Error("invalid wire type "+a+" at offset "+this.pos);}return this};f._configure=function(a){r=a;var b=t.Long?"toLong":"toNumber";t.merge(f.prototype,{int64:function(){return l.call(this)[b](!1)},uint64:function(){return l.call(this)[b](!0)},sint64:function(){return l.call(this).zzDecode()[b](!1)},
fixed64:function(){return h.call(this)[b](!0)},sfixed64:function(){return h.call(this)[b](!1)}})}},function(a,b,c){function d(a,b,c){this.fn=a;this.len=b;this.next=void 0;this.val=c}function f(){}function l(a){this.head=a.head;this.tail=a.tail;this.len=a.len;this.next=a.states}function g(){this.len=0;this.tail=this.head=new d(f,0,0);this.states=null}function h(a,b,c){b[c]=255&a}function r(a,b){this.len=a;this.next=void 0;this.val=b}function t(a,b,c){for(;a.hi;)b[c++]=127&a.lo|128,a.lo=(a.lo>>>7|a.hi<<
25)>>>0,a.hi>>>=7;for(;127<a.lo;)b[c++]=127&a.lo|128,a.lo>>>=7;b[c++]=a.lo}function p(a,b,c){b[c]=255&a;b[c+1]=a>>>8&255;b[c+2]=a>>>16&255;b[c+3]=a>>>24}a.exports=g;var m,q=c(0),k=q.LongBits,e=q.base64,D=q.utf8;g.create=q.Buffer?function(){return(g.create=function(){return new m})()}:function(){return new g};g.alloc=function(a){return new q.Array(a)};q.Array!==Array&&(g.alloc=q.pool(g.alloc,q.Array.prototype.subarray));g.prototype._push=function(a,b,c){this.tail=this.tail.next=new d(a,b,c);this.len+=
b;return this};r.prototype=Object.create(d.prototype);r.prototype.fn=function(a,b,c){for(;127<a;)b[c++]=127&a|128,a>>>=7;b[c]=a};g.prototype.uint32=function(a){this.len+=(this.tail=this.tail.next=new r(128>(a>>>=0)?1:16384>a?2:2097152>a?3:268435456>a?4:5,a)).len;return this};g.prototype.int32=function(a){return 0>a?this._push(t,10,k.fromNumber(a)):this.uint32(a)};g.prototype.sint32=function(a){return this.uint32((a<<1^a>>31)>>>0)};g.prototype.uint64=function(a){a=k.from(a);return this._push(t,a.length(),
a)};g.prototype.int64=g.prototype.uint64;g.prototype.sint64=function(a){a=k.from(a).zzEncode();return this._push(t,a.length(),a)};g.prototype.bool=function(a){return this._push(h,1,a?1:0)};g.prototype.fixed32=function(a){return this._push(p,4,a>>>0)};g.prototype.sfixed32=g.prototype.fixed32;g.prototype.fixed64=function(a){a=k.from(a);return this._push(p,4,a.lo)._push(p,4,a.hi)};g.prototype.sfixed64=g.prototype.fixed64;g.prototype["float"]=function(a){return this._push(q["float"].writeFloatLE,4,a)};
g.prototype["double"]=function(a){return this._push(q["float"].writeDoubleLE,8,a)};var H=q.Array.prototype.set?function(a,b,c){b.set(a,c)}:function(a,b,c){for(var e=0;e<a.length;++e)b[c+e]=a[e]};g.prototype.bytes=function(a){var b=a.length>>>0;if(!b)return this._push(h,1,0);if(q.isString(a)){var c=g.alloc(b=e.length(a));e.decode(a,c,0);a=c}return this.uint32(b)._push(H,b,a)};g.prototype.string=function(a){var b=D.length(a);return b?this.uint32(b)._push(D.write,b,a):this._push(h,1,0)};g.prototype.fork=
function(){this.states=new l(this);this.head=this.tail=new d(f,0,0);this.len=0;return this};g.prototype.reset=function(){this.states?(this.head=this.states.head,this.tail=this.states.tail,this.len=this.states.len,this.states=this.states.next):(this.head=this.tail=new d(f,0,0),this.len=0);return this};g.prototype.ldelim=function(){var a=this.head,b=this.tail,c=this.len;this.reset().uint32(c);c&&(this.tail.next=a.next,this.tail=b,this.len+=c);return this};g.prototype.finish=function(){for(var a=this.head.next,
b=this.constructor.alloc(this.len),c=0;a;)a.fn(a.val,b,c),c+=a.len,a=a.next;return b};g._configure=function(a){m=a}},function(a,b,c){a.exports={}},function(a,b,c){function d(a,b,c){if("function"!=typeof a)throw TypeError("rpcImpl must be a function");f.EventEmitter.call(this);this.rpcImpl=a;this.requestDelimited=!!b;this.responseDelimited=!!c}a.exports=d;var f=c(0);(d.prototype=Object.create(f.EventEmitter.prototype)).constructor=d;d.prototype.rpcCall=function B(a,b,c,d,h){if(!d)throw TypeError("request must be specified");
var g=this;if(!h)return f.asPromise(B,g,a,b,c,d);if(g.rpcImpl)try{return g.rpcImpl(a,b[g.requestDelimited?"encodeDelimited":"encode"](d).finish(),function(b,e){if(b)return g.emit("error",b,a),h(b);if(null!==e){if(!(e instanceof c))try{e=c[g.responseDelimited?"decodeDelimited":"decode"](e)}catch(D){return g.emit("error",D,a),h(D)}g.emit("data",e,a);return h(null,e)}g.end(!0)})}catch(k){g.emit("error",k,a),G(function(){h(k)},0)}else G(function(){h(Error("already ended"))},0)};d.prototype.end=function(a){this.rpcImpl&&
(a||this.rpcImpl(null,null,null),this.rpcImpl=null,this.emit("end").off());return this}},function(a,b,c){b.Service=c(4)},function(a,b,c){function d(a){f.call(this,a)}a.exports=d;var f=c(1);(d.prototype=Object.create(f.prototype)).constructor=d;a=c(0);a.Buffer&&(d.prototype._slice=a.Buffer.prototype.slice);d.prototype.string=function(){var a=this.uint32();return this.buf.utf8Slice(this.pos,this.pos=Math.min(this.pos+a,this.len))}},function(a,b,c){function d(){l.call(this)}function f(a,b,c){40>a.length?
g.utf8.write(a,b,c):b.utf8Write(a,c)}a.exports=d;var l=c(2);(d.prototype=Object.create(l.prototype)).constructor=d;var g=c(0),h=g.Buffer;d.alloc=function(a){return(d.alloc=g._Buffer_allocUnsafe)(a)};var r=h&&h.prototype instanceof Uint8Array&&"set"===h.prototype.set.name?function(a,b,c){b.set(a,c)}:function(a,b,c){if(a.copy)a.copy(b,c,0,a.length);else for(var d=0;d<a.length;)b[c++]=a[d++]};d.prototype.bytes=function(a){g.isString(a)&&(a=g._Buffer_from(a,"base64"));var b=a.length>>>0;this.uint32(b);
b&&this._push(r,b,a);return this};d.prototype.string=function(a){var b=h.byteLength(a);this.uint32(b);b&&this._push(f,b,a);return this}},function(a,b,c){function d(a,b){this.lo=a>>>0;this.hi=b>>>0}a.exports=d;var f=c(0),l=d.zero=new d(0,0);l.toNumber=function(){return 0};l.zzEncode=l.zzDecode=function(){return this};l.length=function(){return 1};var g=d.zeroHash="\x00\x00\x00\x00\x00\x00\x00\x00";d.fromNumber=function(a){if(0===a)return l;var b=0>a;b&&(a=-a);var c=a>>>0;a=(a-c)/4294967296>>>0;b&&
(a=~a>>>0,c=~c>>>0,4294967295<++c&&(c=0,4294967295<++a&&(a=0)));return new d(c,a)};d.from=function(a){if("number"==typeof a)return d.fromNumber(a);if(f.isString(a)){if(!f.Long)return d.fromNumber(parseInt(a,10));a=f.Long.fromString(a)}return a.low||a.high?new d(a.low>>>0,a.high>>>0):l};d.prototype.toNumber=function(a){if(!a&&this.hi>>>31){a=1+~this.lo>>>0;var b=~this.hi>>>0;a||(b=b+1>>>0);return-(a+4294967296*b)}return this.lo+4294967296*this.hi};d.prototype.toLong=function(a){return f.Long?new f.Long(0|
this.lo,0|this.hi,!!a):{low:0|this.lo,high:0|this.hi,unsigned:!!a}};var h=String.prototype.charCodeAt;d.fromHash=function(a){return a===g?l:new d((h.call(a,0)|h.call(a,1)<<8|h.call(a,2)<<16|h.call(a,3)<<24)>>>0,(h.call(a,4)|h.call(a,5)<<8|h.call(a,6)<<16|h.call(a,7)<<24)>>>0)};d.prototype.toHash=function(){return String.fromCharCode(255&this.lo,this.lo>>>8&255,this.lo>>>16&255,this.lo>>>24,255&this.hi,this.hi>>>8&255,this.hi>>>16&255,this.hi>>>24)};d.prototype.zzEncode=function(){var a=this.hi>>31;
this.hi=((this.hi<<1|this.lo>>>31)^a)>>>0;this.lo=(this.lo<<1^a)>>>0;return this};d.prototype.zzDecode=function(){var a=-(1&this.lo);this.lo=((this.lo>>>1|this.hi<<31)^a)>>>0;this.hi=(this.hi>>>1^a)>>>0;return this};d.prototype.length=function(){var a=this.lo,b=(this.lo>>>28|this.hi<<4)>>>0,c=this.hi>>>24;return 0===c?0===b?16384>a?128>a?1:2:2097152>a?3:4:16384>b?128>b?5:6:2097152>b?7:8:128>c?9:10}},function(a,b,c){a.exports=function(a,b,c){var d=c||8192,f=d>>>1,l=null,h=d;return function(c){if(1>
c||c>f)return a(c);h+c>d&&(l=a(d),h=0);c=b.call(l,h,h+=c);7&h&&(h=1+(7|h));return c}}},function(a,b,c){b.length=function(a){for(var b=0,c,d=0;d<a.length;++d)c=a.charCodeAt(d),128>c?b+=1:2048>c?b+=2:55296==(64512&c)&&56320==(64512&a.charCodeAt(d+1))?(++d,b+=4):b+=3;return b};b.read=function(a,b,c){if(1>c-b)return"";for(var d,f=null,h=[],l=0;b<c;)d=a[b++],128>d?h[l++]=d:191<d&&224>d?h[l++]=(31&d)<<6|63&a[b++]:239<d&&365>d?(d=((7&d)<<18|(63&a[b++])<<12|(63&a[b++])<<6|63&a[b++])-65536,h[l++]=55296+(d>>
10),h[l++]=56320+(1023&d)):h[l++]=(15&d)<<12|(63&a[b++])<<6|63&a[b++],8191<l&&((f||(f=[])).push(String.fromCharCode.apply(String,h)),l=0);return f?(l&&f.push(String.fromCharCode.apply(String,h.slice(0,l))),f.join("")):String.fromCharCode.apply(String,h.slice(0,l))};b.write=function(a,b,c){for(var d,f,h=c,l=0;l<a.length;++l)d=a.charCodeAt(l),128>d?b[c++]=d:(2048>d?b[c++]=d>>6|192:(55296==(64512&d)&&56320==(64512&(f=a.charCodeAt(l+1)))?(d=65536+((1023&d)<<10)+(1023&f),++l,b[c++]=d>>18|240,b[c++]=d>>
12&63|128):b[c++]=d>>12|224,b[c++]=d>>6&63|128),b[c++]=63&d|128);return c-h}},function(a,b,c){a.exports=function(a){return null}},function(a,b,c){function d(a){"undefined"!=typeof Float32Array?function(){function b(a,b,c){k[0]=a;b[c]=e[0];b[c+1]=e[1];b[c+2]=e[2];b[c+3]=e[3]}function c(a,b,c){k[0]=a;b[c]=e[3];b[c+1]=e[2];b[c+2]=e[1];b[c+3]=e[0]}function d(a,b){e[0]=a[b];e[1]=a[b+1];e[2]=a[b+2];e[3]=a[b+3];return k[0]}function f(a,b){e[3]=a[b];e[2]=a[b+1];e[1]=a[b+2];e[0]=a[b+3];return k[0]}var k=new Float32Array([-0]),
e=new Uint8Array(k.buffer),g=128===e[3];a.writeFloatLE=g?b:c;a.writeFloatBE=g?c:b;a.readFloatLE=g?d:f;a.readFloatBE=g?f:d}():function(){function b(a,b,c,e){var d=0>b?1:0;d&&(b=-b);if(0===b)a(0<1/b?0:2147483648,c,e);else if(isNaN(b))a(2143289344,c,e);else if(3.4028234663852886e+38<b)a((d<<31|2139095040)>>>0,c,e);else if(1.1754943508222875e-38>b)a((d<<31|Math.round(b/1.401298464324817e-45))>>>0,c,e);else{var k=Math.floor(Math.log(b)/Math.LN2);a((d<<31|k+127<<23|8388607&Math.round(b*Math.pow(2,-k)*8388608))>>>
0,c,e)}}function c(a,b,c){c=a(b,c);a=2*(c>>31)+1;b=c>>>23&255;c&=8388607;return 255===b?c?NaN:1/0*a:0===b?1.401298464324817e-45*a*c:a*Math.pow(2,b-150)*(c+8388608)}a.writeFloatLE=b.bind(null,f);a.writeFloatBE=b.bind(null,h);a.readFloatLE=c.bind(null,g);a.readFloatBE=c.bind(null,n)}();"undefined"!=typeof Float64Array?function(){function b(a,b,c){k[0]=a;b[c]=e[0];b[c+1]=e[1];b[c+2]=e[2];b[c+3]=e[3];b[c+4]=e[4];b[c+5]=e[5];b[c+6]=e[6];b[c+7]=e[7]}function c(a,b,c){k[0]=a;b[c]=e[7];b[c+1]=e[6];b[c+2]=
e[5];b[c+3]=e[4];b[c+4]=e[3];b[c+5]=e[2];b[c+6]=e[1];b[c+7]=e[0]}function d(a,b){e[0]=a[b];e[1]=a[b+1];e[2]=a[b+2];e[3]=a[b+3];e[4]=a[b+4];e[5]=a[b+5];e[6]=a[b+6];e[7]=a[b+7];return k[0]}function f(a,b){e[7]=a[b];e[6]=a[b+1];e[5]=a[b+2];e[4]=a[b+3];e[3]=a[b+4];e[2]=a[b+5];e[1]=a[b+6];e[0]=a[b+7];return k[0]}var k=new Float64Array([-0]),e=new Uint8Array(k.buffer),g=128===e[7];a.writeDoubleLE=g?b:c;a.writeDoubleBE=g?c:b;a.readDoubleLE=g?d:f;a.readDoubleBE=g?f:d}():function(){function b(a,b,c,e,d,f){var k=
0>e?1:0;k&&(e=-e);if(0===e)a(0,d,f+b),a(0<1/e?0:2147483648,d,f+c);else if(isNaN(e))a(0,d,f+b),a(2146959360,d,f+c);else if(1.7976931348623157e+308<e)a(0,d,f+b),a((k<<31|2146435072)>>>0,d,f+c);else if(2.2250738585072014e-308>e)e/=5e-324,a(e>>>0,d,f+b),a((k<<31|e/4294967296)>>>0,d,f+c);else{var g=Math.floor(Math.log(e)/Math.LN2);1024===g&&(g=1023);e*=Math.pow(2,-g);a(4503599627370496*e>>>0,d,f+b);a((k<<31|g+1023<<20|1048576*e&1048575)>>>0,d,f+c)}}function c(a,b,c,e,d){b=a(e,d+b);e=a(e,d+c);a=2*(e>>31)+
1;c=e>>>20&2047;b=4294967296*(1048575&e)+b;return 2047===c?b?NaN:1/0*a:0===c?5e-324*a*b:a*Math.pow(2,c-1075)*(b+4503599627370496)}a.writeDoubleLE=b.bind(null,f,0,4);a.writeDoubleBE=b.bind(null,h,4,0);a.readDoubleLE=c.bind(null,g,0,4);a.readDoubleBE=c.bind(null,n,4,0)}();return a}function f(a,b,c){b[c]=255&a;b[c+1]=a>>>8&255;b[c+2]=a>>>16&255;b[c+3]=a>>>24}function h(a,b,c){b[c]=a>>>24;b[c+1]=a>>>16&255;b[c+2]=a>>>8&255;b[c+3]=255&a}function g(a,b){return(a[b]|a[b+1]<<8|a[b+2]<<16|a[b+3]<<24)>>>0}
function n(a,b){return(a[b]<<24|a[b+1]<<16|a[b+2]<<8|a[b+3])>>>0}a.exports=d(d)},function(a,b,c){function d(){this._listeners={}}a.exports=d;d.prototype.on=function(a,b,c){(this._listeners[a]||(this._listeners[a]=[])).push({fn:b,ctx:c||this});return this};d.prototype.off=function(a,b){if(void 0===a)this._listeners={};else if(void 0===b)this._listeners[a]=[];else for(var c=this._listeners[a],d=0;d<c.length;)c[d].fn===b?c.splice(d,1):++d;return this};d.prototype.emit=function(a){var b=this._listeners[a];
if(b){for(var c=[],d=1;d<arguments.length;)c.push(arguments[d++]);for(d=0;d<b.length;)b[d].fn.apply(b[d++].ctx,c)}return this}},function(a,b,c){b.length=function(a){var b=a.length;if(!b)return 0;for(var c=0;1<--b%4&&"\x3d"===a.charAt(b);)++c;return Math.ceil(3*a.length)/4-c};var d=Array(64),f=Array(123);for(a=0;64>a;)f[d[a]=26>a?a+65:52>a?a+71:62>a?a-4:a-59|43]=a++;b.encode=function(a,b,c){for(var f,g=null,h=[],l=0,q=0;b<c;){var k=a[b++];switch(q){case 0:h[l++]=d[k>>2];f=(3&k)<<4;q=1;break;case 1:h[l++]=
d[f|k>>4];f=(15&k)<<2;q=2;break;case 2:h[l++]=d[f|k>>6],h[l++]=d[63&k],q=0}8191<l&&((g||(g=[])).push(String.fromCharCode.apply(String,h)),l=0)}q&&(h[l++]=d[f],h[l++]=61,1===q&&(h[l++]=61));return g?(l&&g.push(String.fromCharCode.apply(String,h.slice(0,l))),g.join("")):String.fromCharCode.apply(String,h.slice(0,l))};b.decode=function(a,b,c){for(var d,g=c,h=0,l=0;l<a.length;){var q=a.charCodeAt(l++);if(61===q&&1<h)break;if(void 0===(q=f[q]))throw Error("invalid encoding");switch(h){case 0:d=q;h=1;break;
case 1:b[c++]=d<<2|(48&q)>>4;d=q;h=2;break;case 2:b[c++]=(15&d)<<4|(60&q)>>2;d=q;h=3;break;case 3:b[c++]=(3&d)<<6|q,h=0}}if(1===h)throw Error("invalid encoding");return c-g};b.test=function(a){return/^(?:[A-Za-z0-9+/]{4})*(?:[A-Za-z0-9+/]{2}==|[A-Za-z0-9+/]{3}=)?$/.test(a)}},function(a,b,c){a.exports=function(a,b){for(var c=Array(arguments.length-1),d=0,f=2,h=!0;f<arguments.length;)c[d++]=arguments[f++];return new Promise(function(f,g){c[d]=function(a){if(h)if(h=!1,a)g(a);else{for(var b=Array(arguments.length-
1),c=0;c<b.length;)b[c++]=arguments[c];f.apply(null,b)}};try{a.apply(b||null,c)}catch(B){h&&(h=!1,g(B))}})}},function(a,b,c){function d(){f.Reader._configure(f.BufferReader);f.util._configure()}var f=b;f.build="minimal";f.Writer=c(2);f.BufferWriter=c(7);f.Reader=c(1);f.BufferReader=c(6);f.util=c(0);f.rpc=c(5);f.roots=c(3);f.configure=d;f.Writer._configure(f.BufferWriter);d()},function(a,b,c){a.exports=c(16)},function(a,b,c){b=c(17);var d=b.Reader,f=b.Writer,h=b.util,g=b.roots["default"]||(b.roots["default"]=
{});g.ru=function(){var a={};a.yandex=function(){var a={};a.metrika=function(){var a={};a.wv2=function(){var a={};a.proto=function(){var a={};a.BufferWrapper=function(){function a(a){this.buffer=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.buffer=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());if(null!=a.buffer&&a.buffer.length)for(var c=0;c<a.buffer.length;++c)g.ru.yandex.metrika.wv2.proto.Buffer.encode(a.buffer[c],
b.uint32(10).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.BufferWrapper;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.buffer&&e.buffer.length||(e.buffer=[]);e.buffer.push(g.ru.yandex.metrika.wv2.proto.Buffer.decode(a,a.uint32()));break;default:a.skipType(7&k)}}return e};return a}();a.Buffer=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=
a[b[c]])}a.prototype.stamp=0;a.prototype.data=null;a.prototype.page=0;a.prototype.chunk=h.newBuffer([]);a.prototype.end=!1;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.stamp&&Object.hasOwnProperty.call(a,"stamp")&&b.uint32(8).int32(a.stamp);null!=a.data&&Object.hasOwnProperty.call(a,"data")&&g.ru.yandex.metrika.wv2.proto.Wrapper.encode(a.data,b.uint32(18).fork()).ldelim();null!=a.page&&Object.hasOwnProperty.call(a,"page")&&b.uint32(24).int32(a.page);null!=
a.chunk&&Object.hasOwnProperty.call(a,"chunk")&&b.uint32(34).bytes(a.chunk);null!=a.end&&Object.hasOwnProperty.call(a,"end")&&b.uint32(40).bool(a.end);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Buffer;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.stamp=a.int32();break;case 2:e.data=g.ru.yandex.metrika.wv2.proto.Wrapper.decode(a,a.uint32());break;case 3:e.page=a.int32();break;case 4:e.chunk=a.bytes();break;
case 5:e.end=a.bool();break;default:a.skipType(7&k)}}return e};return a}();a.Wrapper=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.page=null;a.prototype.mutation=null;a.prototype.event=null;a.prototype.articleInfo=null;a.prototype.publishersHeader=null;a.prototype.activity=0;var b;Object.defineProperty(a.prototype,"data",{get:h.oneOfGetter(b="page mutation event articleInfo publishersHeader activity".split(" ")),set:h.oneOfSetter(b)});
a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.page&&Object.hasOwnProperty.call(a,"page")&&g.ru.yandex.metrika.wv2.proto.Page.encode(a.page,b.uint32(10).fork()).ldelim();null!=a.mutation&&Object.hasOwnProperty.call(a,"mutation")&&g.ru.yandex.metrika.wv2.proto.Mutation.encode(a.mutation,b.uint32(18).fork()).ldelim();null!=a.event&&Object.hasOwnProperty.call(a,"event")&&g.ru.yandex.metrika.wv2.proto.Event.encode(a.event,b.uint32(26).fork()).ldelim();null!=a.articleInfo&&
Object.hasOwnProperty.call(a,"articleInfo")&&g.ru.yandex.metrika.wv2.proto.ArticleInfo.encode(a.articleInfo,b.uint32(34).fork()).ldelim();null!=a.publishersHeader&&Object.hasOwnProperty.call(a,"publishersHeader")&&g.ru.yandex.metrika.wv2.proto.PublishersHeader.encode(a.publishersHeader,b.uint32(42).fork()).ldelim();null!=a.activity&&Object.hasOwnProperty.call(a,"activity")&&b.uint32(48).uint32(a.activity);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:
a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Wrapper;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.page=g.ru.yandex.metrika.wv2.proto.Page.decode(a,a.uint32());break;case 2:e.mutation=g.ru.yandex.metrika.wv2.proto.Mutation.decode(a,a.uint32());break;case 3:e.event=g.ru.yandex.metrika.wv2.proto.Event.decode(a,a.uint32());break;case 4:e.articleInfo=g.ru.yandex.metrika.wv2.proto.ArticleInfo.decode(a,a.uint32());break;case 5:e.publishersHeader=g.ru.yandex.metrika.wv2.proto.PublishersHeader.decode(a,
a.uint32());break;case 6:e.activity=a.uint32();break;default:a.skipType(7&k)}}return e};return a}();a.Page=function(){function a(a){this.content=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.meta=null;a.prototype.content=h.emptyArray;a.prototype.frameId=0;a.prototype.tabId="";a.prototype.recordStamp=h.Long?h.Long.fromBits(0,0,!1):0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.meta&&Object.hasOwnProperty.call(a,
"meta")&&g.ru.yandex.metrika.wv2.proto.Page.Meta.encode(a.meta,b.uint32(10).fork()).ldelim();if(null!=a.content&&a.content.length)for(var c=0;c<a.content.length;++c)g.ru.yandex.metrika.wv2.proto.Page.Content.encode(a.content[c],b.uint32(18).fork()).ldelim();null!=a.frameId&&Object.hasOwnProperty.call(a,"frameId")&&b.uint32(24).sint32(a.frameId);null!=a.tabId&&Object.hasOwnProperty.call(a,"tabId")&&b.uint32(34).string(a.tabId);null!=a.recordStamp&&Object.hasOwnProperty.call(a,"recordStamp")&&b.uint32(40).int64(a.recordStamp);
return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Page;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.meta=g.ru.yandex.metrika.wv2.proto.Page.Meta.decode(a,a.uint32());break;case 2:e.content&&e.content.length||(e.content=[]);e.content.push(g.ru.yandex.metrika.wv2.proto.Page.Content.decode(a,a.uint32()));break;case 3:e.frameId=a.sint32();break;case 4:e.tabId=a.string();break;case 5:e.recordStamp=a.int64();break;
default:a.skipType(7&k)}}return e};a.Box=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.width=0;a.prototype.height=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.width&&Object.hasOwnProperty.call(a,"width")&&b.uint32(8).int32(a.width);null!=a.height&&Object.hasOwnProperty.call(a,"height")&&b.uint32(16).int32(a.height);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));
for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Page.Box;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.width=a.int32();break;case 2:e.height=a.int32();break;default:a.skipType(7&k)}}return e};return a}();a.Location=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.host="";a.prototype.protocol="";a.prototype.path="";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=
a.host&&Object.hasOwnProperty.call(a,"host")&&b.uint32(10).string(a.host);null!=a.protocol&&Object.hasOwnProperty.call(a,"protocol")&&b.uint32(18).string(a.protocol);null!=a.path&&Object.hasOwnProperty.call(a,"path")&&b.uint32(26).string(a.path);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Page.Location;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.host=a.string();break;case 2:e.protocol=a.string();break;
case 3:e.path=a.string();break;default:a.skipType(7&k)}}return e};return a}();a.Scroll=function(){function a(a){this.scroll=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.target=0;a.prototype.scroll=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.target&&Object.hasOwnProperty.call(a,"target")&&b.uint32(8).int32(a.target);if(null!=a.scroll&&a.scroll.length){b.uint32(18).fork();for(var c=0;c<a.scroll.length;++c)b.int32(a.scroll[c]);
b.ldelim()}return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Page.Scroll;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.target=a.int32();break;case 2:e.scroll&&e.scroll.length||(e.scroll=[]);if(2==(7&k))for(k=a.uint32()+a.pos;a.pos<k;)e.scroll.push(a.int32());else e.scroll.push(a.int32());break;default:a.skipType(7&k)}}return e};return a}();a.Meta=function(){function a(a){this.initialScroll=[];if(a)for(var b=
Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.doctype="";a.prototype.title="";a.prototype.address="";a.prototype.ua="";a.prototype.referrer="";a.prototype.base="";a.prototype.hasBase=!1;a.prototype.screen=null;a.prototype.viewport=null;a.prototype.location=null;a.prototype.initialScroll=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.doctype&&Object.hasOwnProperty.call(a,"doctype")&&b.uint32(10).string(a.doctype);
null!=a.title&&Object.hasOwnProperty.call(a,"title")&&b.uint32(18).string(a.title);null!=a.address&&Object.hasOwnProperty.call(a,"address")&&b.uint32(26).string(a.address);null!=a.ua&&Object.hasOwnProperty.call(a,"ua")&&b.uint32(34).string(a.ua);null!=a.referrer&&Object.hasOwnProperty.call(a,"referrer")&&b.uint32(42).string(a.referrer);null!=a.base&&Object.hasOwnProperty.call(a,"base")&&b.uint32(50).string(a.base);null!=a.hasBase&&Object.hasOwnProperty.call(a,"hasBase")&&b.uint32(56).bool(a.hasBase);
null!=a.screen&&Object.hasOwnProperty.call(a,"screen")&&g.ru.yandex.metrika.wv2.proto.Page.Box.encode(a.screen,b.uint32(66).fork()).ldelim();null!=a.viewport&&Object.hasOwnProperty.call(a,"viewport")&&g.ru.yandex.metrika.wv2.proto.Page.Box.encode(a.viewport,b.uint32(74).fork()).ldelim();null!=a.location&&Object.hasOwnProperty.call(a,"location")&&g.ru.yandex.metrika.wv2.proto.Page.Location.encode(a.location,b.uint32(82).fork()).ldelim();if(null!=a.initialScroll&&a.initialScroll.length)for(var c=0;c<
a.initialScroll.length;++c)g.ru.yandex.metrika.wv2.proto.Page.Scroll.encode(a.initialScroll[c],b.uint32(90).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Page.Meta;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.doctype=a.string();break;case 2:e.title=a.string();break;case 3:e.address=a.string();break;case 4:e.ua=a.string();break;case 5:e.referrer=a.string();break;case 6:e.base=a.string();
break;case 7:e.hasBase=a.bool();break;case 8:e.screen=g.ru.yandex.metrika.wv2.proto.Page.Box.decode(a,a.uint32());break;case 9:e.viewport=g.ru.yandex.metrika.wv2.proto.Page.Box.decode(a,a.uint32());break;case 10:e.location=g.ru.yandex.metrika.wv2.proto.Page.Location.decode(a,a.uint32());break;case 11:e.initialScroll&&e.initialScroll.length||(e.initialScroll=[]);e.initialScroll.push(g.ru.yandex.metrika.wv2.proto.Page.Scroll.decode(a,a.uint32()));break;default:a.skipType(7&k)}}return e};return a}();
a.Content=function(){function a(a){this.attributes={};if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.name="";a.prototype.attributes=h.emptyObject;a.prototype.parent=0;a.prototype.content="";a.prototype.next=0;a.prototype.prev=0;a.prototype.hidden=!1;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);null!=a.name&&Object.hasOwnProperty.call(a,
"name")&&b.uint32(18).string(a.name);if(null!=a.attributes&&Object.hasOwnProperty.call(a,"attributes"))for(var c=Object.keys(a.attributes),d=0;d<c.length;++d)b.uint32(26).fork().uint32(10).string(c[d]).uint32(18).string(a.attributes[c[d]]).ldelim();null!=a.parent&&Object.hasOwnProperty.call(a,"parent")&&b.uint32(32).int32(a.parent);null!=a.content&&Object.hasOwnProperty.call(a,"content")&&b.uint32(42).string(a.content);null!=a.next&&Object.hasOwnProperty.call(a,"next")&&b.uint32(48).int32(a.next);
null!=a.prev&&Object.hasOwnProperty.call(a,"prev")&&b.uint32(56).int32(a.prev);null!=a.hidden&&Object.hasOwnProperty.call(a,"hidden")&&b.uint32(64).bool(a.hidden);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c,e=void 0===b?a.len:a.pos+b,k=new g.ru.yandex.metrika.wv2.proto.Page.Content;a.pos<e;)switch(c=a.uint32(),c>>>3){case 1:k.id=a.int32();break;case 2:k.name=a.string();break;case 3:a.skip().pos++;k.attributes===h.emptyObject&&(k.attributes={});c=a.string();a.pos++;k.attributes[c]=
a.string();break;case 4:k.parent=a.int32();break;case 5:k.content=a.string();break;case 6:k.next=a.int32();break;case 7:k.prev=a.int32();break;case 8:k.hidden=a.bool();break;default:a.skipType(7&c)}return k};return a}();return a}();a.Mutation=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.target=0;a.prototype.stamp=0;a.prototype.meta=null;a.prototype.frameId=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||
(b=f.create());null!=a.target&&Object.hasOwnProperty.call(a,"target")&&b.uint32(8).int32(a.target);null!=a.stamp&&Object.hasOwnProperty.call(a,"stamp")&&b.uint32(16).int32(a.stamp);null!=a.meta&&Object.hasOwnProperty.call(a,"meta")&&g.ru.yandex.metrika.wv2.proto.Mutation.Meta.encode(a.meta,b.uint32(26).fork()).ldelim();null!=a.frameId&&Object.hasOwnProperty.call(a,"frameId")&&b.uint32(32).sint32(a.frameId);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:
a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.target=a.int32();break;case 2:e.stamp=a.int32();break;case 3:e.meta=g.ru.yandex.metrika.wv2.proto.Mutation.Meta.decode(a,a.uint32());break;case 4:e.frameId=a.sint32();break;default:a.skipType(7&k)}}return e};a.Delete=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.pr=0;a.prototype.nx=0;a.prototype.pa=0;a.prototype.i=
0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);null!=a.pr&&Object.hasOwnProperty.call(a,"pr")&&b.uint32(16).int32(a.pr);null!=a.nx&&Object.hasOwnProperty.call(a,"nx")&&b.uint32(24).int32(a.nx);null!=a.pa&&Object.hasOwnProperty.call(a,"pa")&&b.uint32(32).int32(a.pa);null!=a.i&&Object.hasOwnProperty.call(a,"i")&&b.uint32(40).int32(a.i);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));
for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation.Delete;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.id=a.int32();break;case 2:e.pr=a.int32();break;case 3:e.nx=a.int32();break;case 4:e.pa=a.int32();break;case 5:e.i=a.int32();break;default:a.skipType(7&k)}}return e};return a}();a.Add=function(){function a(a){this.at={};if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.nm="";a.prototype.pa=0;a.prototype.ns=
"";a.prototype.pr=0;a.prototype.at=h.emptyObject;a.prototype.ct="";a.prototype.nx=0;a.prototype.i=0;a.prototype.h=!1;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);null!=a.nm&&Object.hasOwnProperty.call(a,"nm")&&b.uint32(18).string(a.nm);null!=a.pa&&Object.hasOwnProperty.call(a,"pa")&&b.uint32(24).int32(a.pa);null!=a.ns&&Object.hasOwnProperty.call(a,"ns")&&b.uint32(34).string(a.ns);null!=a.pr&&
Object.hasOwnProperty.call(a,"pr")&&b.uint32(40).int32(a.pr);if(null!=a.at&&Object.hasOwnProperty.call(a,"at"))for(var c=Object.keys(a.at),d=0;d<c.length;++d)b.uint32(50).fork().uint32(10).string(c[d]).uint32(18).string(a.at[c[d]]).ldelim();null!=a.ct&&Object.hasOwnProperty.call(a,"ct")&&b.uint32(58).string(a.ct);null!=a.nx&&Object.hasOwnProperty.call(a,"nx")&&b.uint32(64).int32(a.nx);null!=a.i&&Object.hasOwnProperty.call(a,"i")&&b.uint32(72).int32(a.i);null!=a.h&&Object.hasOwnProperty.call(a,"h")&&
b.uint32(80).bool(a.h);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c,e=void 0===b?a.len:a.pos+b,k=new g.ru.yandex.metrika.wv2.proto.Mutation.Add;a.pos<e;)switch(c=a.uint32(),c>>>3){case 1:k.id=a.int32();break;case 2:k.nm=a.string();break;case 3:k.pa=a.int32();break;case 4:k.ns=a.string();break;case 5:k.pr=a.int32();break;case 6:a.skip().pos++;k.at===h.emptyObject&&(k.at={});c=a.string();a.pos++;k.at[c]=a.string();break;case 7:k.ct=a.string();break;case 8:k.nx=a.int32();
break;case 9:k.i=a.int32();break;case 10:k.h=a.bool();break;default:a.skipType(7&c)}return k};return a}();a.BeforeAfter=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.o="";a.prototype.n="";a.prototype.r=!1;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.o&&Object.hasOwnProperty.call(a,"o")&&b.uint32(10).string(a.o);null!=a.n&&Object.hasOwnProperty.call(a,"n")&&b.uint32(18).string(a.n);
null!=a.r&&Object.hasOwnProperty.call(a,"r")&&b.uint32(24).bool(a.r);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation.BeforeAfter;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.o=a.string();break;case 2:e.n=a.string();break;case 3:e.r=a.bool();break;default:a.skipType(7&k)}}return e};return a}();a.AttributeChange=function(){function a(a){this.at={};if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=
a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.at=h.emptyObject;a.prototype.i=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);if(null!=a.at&&Object.hasOwnProperty.call(a,"at"))for(var c=Object.keys(a.at),d=0;d<c.length;++d)b.uint32(18).fork().uint32(10).string(c[d]),g.ru.yandex.metrika.wv2.proto.Mutation.BeforeAfter.encode(a.at[c[d]],b.uint32(18).fork()).ldelim().ldelim();null!=a.i&&
Object.hasOwnProperty.call(a,"i")&&b.uint32(24).int32(a.i);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c,e=void 0===b?a.len:a.pos+b,k=new g.ru.yandex.metrika.wv2.proto.Mutation.AttributeChange;a.pos<e;)switch(c=a.uint32(),c>>>3){case 1:k.id=a.int32();break;case 2:a.skip().pos++;k.at===h.emptyObject&&(k.at={});c=a.string();a.pos++;k.at[c]=g.ru.yandex.metrika.wv2.proto.Mutation.BeforeAfter.decode(a,a.uint32());break;case 3:k.i=a.int32();break;default:a.skipType(7&c)}return k};
return a}();a.TextChange=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.ct=null;a.prototype.i=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);null!=a.ct&&Object.hasOwnProperty.call(a,"ct")&&g.ru.yandex.metrika.wv2.proto.Mutation.BeforeAfter.encode(a.ct,b.uint32(18).fork()).ldelim();null!=a.i&&Object.hasOwnProperty.call(a,
"i")&&b.uint32(24).int32(a.i);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation.TextChange;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.id=a.int32();break;case 2:e.ct=g.ru.yandex.metrika.wv2.proto.Mutation.BeforeAfter.decode(a,a.uint32());break;case 3:e.i=a.int32();break;default:a.skipType(7&k)}}return e};return a}();a.Changes=function(){function a(a){this.a=[];this.b=[];this.c=[];this.d=[];if(a)for(var b=
Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.a=h.emptyArray;a.prototype.b=h.emptyArray;a.prototype.c=h.emptyArray;a.prototype.d=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());if(null!=a.a&&a.a.length)for(var c=0;c<a.a.length;++c)g.ru.yandex.metrika.wv2.proto.Mutation.Delete.encode(a.a[c],b.uint32(10).fork()).ldelim();if(null!=a.b&&a.b.length)for(c=0;c<a.b.length;++c)g.ru.yandex.metrika.wv2.proto.Mutation.Add.encode(a.b[c],
b.uint32(18).fork()).ldelim();if(null!=a.c&&a.c.length)for(c=0;c<a.c.length;++c)g.ru.yandex.metrika.wv2.proto.Mutation.AttributeChange.encode(a.c[c],b.uint32(26).fork()).ldelim();if(null!=a.d&&a.d.length)for(c=0;c<a.d.length;++c)g.ru.yandex.metrika.wv2.proto.Mutation.TextChange.encode(a.d[c],b.uint32(34).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation.Changes;a.pos<c;){var k=a.uint32();
switch(k>>>3){case 1:e.a&&e.a.length||(e.a=[]);e.a.push(g.ru.yandex.metrika.wv2.proto.Mutation.Delete.decode(a,a.uint32()));break;case 2:e.b&&e.b.length||(e.b=[]);e.b.push(g.ru.yandex.metrika.wv2.proto.Mutation.Add.decode(a,a.uint32()));break;case 3:e.c&&e.c.length||(e.c=[]);e.c.push(g.ru.yandex.metrika.wv2.proto.Mutation.AttributeChange.decode(a,a.uint32()));break;case 4:e.d&&e.d.length||(e.d=[]);e.d.push(g.ru.yandex.metrika.wv2.proto.Mutation.TextChange.decode(a,a.uint32()));break;default:a.skipType(7&
k)}}return e};return a}();a.Meta=function(){function a(a){this.changes=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.index=0;a.prototype.changes=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.index&&Object.hasOwnProperty.call(a,"index")&&b.uint32(8).int32(a.index);if(null!=a.changes&&a.changes.length)for(var c=0;c<a.changes.length;++c)g.ru.yandex.metrika.wv2.proto.Mutation.Changes.encode(a.changes[c],
b.uint32(18).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Mutation.Meta;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.index=a.int32();break;case 2:e.changes&&e.changes.length||(e.changes=[]);e.changes.push(g.ru.yandex.metrika.wv2.proto.Mutation.Changes.decode(a,a.uint32()));break;default:a.skipType(7&k)}}return e};return a}();return a}();a.Event=function(){function a(a){if(a)for(var b=Object.keys(a),
c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.type=0;a.prototype.target=0;a.prototype.frameId=0;a.prototype.mouseEvent=null;a.prototype.scrollEvent=null;a.prototype.windowEvent=null;a.prototype.selectionEvent=null;a.prototype.changeEvent=null;a.prototype.touchEvent=null;a.prototype.methodEvent=null;a.prototype.propertyEvent=null;a.prototype.zoomEvent=null;a.prototype.resizeEvent=null;a.prototype.keystrokesEvent=null;a.prototype.deviceRotationEvent=null;a.prototype.fatalErrorEvent=
null;a.prototype.hashchangeEvent=null;var b;Object.defineProperty(a.prototype,"meta",{get:h.oneOfGetter(b="mouseEvent scrollEvent windowEvent selectionEvent changeEvent touchEvent methodEvent propertyEvent zoomEvent resizeEvent keystrokesEvent deviceRotationEvent fatalErrorEvent hashchangeEvent".split(" ")),set:h.oneOfSetter(b)});a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.type&&Object.hasOwnProperty.call(a,"type")&&b.uint32(8).int32(a.type);null!=a.target&&
Object.hasOwnProperty.call(a,"target")&&b.uint32(16).sint32(a.target);null!=a.frameId&&Object.hasOwnProperty.call(a,"frameId")&&b.uint32(24).sint32(a.frameId);null!=a.mouseEvent&&Object.hasOwnProperty.call(a,"mouseEvent")&&g.ru.yandex.metrika.wv2.proto.MouseEvent.encode(a.mouseEvent,b.uint32(34).fork()).ldelim();null!=a.scrollEvent&&Object.hasOwnProperty.call(a,"scrollEvent")&&g.ru.yandex.metrika.wv2.proto.ScrollEvent.encode(a.scrollEvent,b.uint32(42).fork()).ldelim();null!=a.windowEvent&&Object.hasOwnProperty.call(a,
"windowEvent")&&g.ru.yandex.metrika.wv2.proto.WindowEvent.encode(a.windowEvent,b.uint32(50).fork()).ldelim();null!=a.selectionEvent&&Object.hasOwnProperty.call(a,"selectionEvent")&&g.ru.yandex.metrika.wv2.proto.SelectionEvent.encode(a.selectionEvent,b.uint32(58).fork()).ldelim();null!=a.changeEvent&&Object.hasOwnProperty.call(a,"changeEvent")&&g.ru.yandex.metrika.wv2.proto.ChangeEvent.encode(a.changeEvent,b.uint32(66).fork()).ldelim();null!=a.touchEvent&&Object.hasOwnProperty.call(a,"touchEvent")&&
g.ru.yandex.metrika.wv2.proto.TouchEvent.encode(a.touchEvent,b.uint32(74).fork()).ldelim();null!=a.methodEvent&&Object.hasOwnProperty.call(a,"methodEvent")&&g.ru.yandex.metrika.wv2.proto.MethodEvent.encode(a.methodEvent,b.uint32(82).fork()).ldelim();null!=a.propertyEvent&&Object.hasOwnProperty.call(a,"propertyEvent")&&g.ru.yandex.metrika.wv2.proto.PropertyEvent.encode(a.propertyEvent,b.uint32(90).fork()).ldelim();null!=a.zoomEvent&&Object.hasOwnProperty.call(a,"zoomEvent")&&g.ru.yandex.metrika.wv2.proto.ZoomEvent.encode(a.zoomEvent,
b.uint32(98).fork()).ldelim();null!=a.resizeEvent&&Object.hasOwnProperty.call(a,"resizeEvent")&&g.ru.yandex.metrika.wv2.proto.ResizeEvent.encode(a.resizeEvent,b.uint32(106).fork()).ldelim();null!=a.keystrokesEvent&&Object.hasOwnProperty.call(a,"keystrokesEvent")&&g.ru.yandex.metrika.wv2.proto.KeystrokesEvent.encode(a.keystrokesEvent,b.uint32(114).fork()).ldelim();null!=a.deviceRotationEvent&&Object.hasOwnProperty.call(a,"deviceRotationEvent")&&g.ru.yandex.metrika.wv2.proto.DeviceRotationEvent.encode(a.deviceRotationEvent,
b.uint32(122).fork()).ldelim();null!=a.fatalErrorEvent&&Object.hasOwnProperty.call(a,"fatalErrorEvent")&&g.ru.yandex.metrika.wv2.proto.FatalErrorEvent.encode(a.fatalErrorEvent,b.uint32(130).fork()).ldelim();null!=a.hashchangeEvent&&Object.hasOwnProperty.call(a,"hashchangeEvent")&&g.ru.yandex.metrika.wv2.proto.HashchangeEvent.encode(a.hashchangeEvent,b.uint32(138).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.Event;a.pos<
c;){var k=a.uint32();switch(k>>>3){case 1:e.type=a.int32();break;case 2:e.target=a.sint32();break;case 3:e.frameId=a.sint32();break;case 4:e.mouseEvent=g.ru.yandex.metrika.wv2.proto.MouseEvent.decode(a,a.uint32());break;case 5:e.scrollEvent=g.ru.yandex.metrika.wv2.proto.ScrollEvent.decode(a,a.uint32());break;case 6:e.windowEvent=g.ru.yandex.metrika.wv2.proto.WindowEvent.decode(a,a.uint32());break;case 7:e.selectionEvent=g.ru.yandex.metrika.wv2.proto.SelectionEvent.decode(a,a.uint32());break;case 8:e.changeEvent=
g.ru.yandex.metrika.wv2.proto.ChangeEvent.decode(a,a.uint32());break;case 9:e.touchEvent=g.ru.yandex.metrika.wv2.proto.TouchEvent.decode(a,a.uint32());break;case 10:e.methodEvent=g.ru.yandex.metrika.wv2.proto.MethodEvent.decode(a,a.uint32());break;case 11:e.propertyEvent=g.ru.yandex.metrika.wv2.proto.PropertyEvent.decode(a,a.uint32());break;case 12:e.zoomEvent=g.ru.yandex.metrika.wv2.proto.ZoomEvent.decode(a,a.uint32());break;case 13:e.resizeEvent=g.ru.yandex.metrika.wv2.proto.ResizeEvent.decode(a,
a.uint32());break;case 14:e.keystrokesEvent=g.ru.yandex.metrika.wv2.proto.KeystrokesEvent.decode(a,a.uint32());break;case 15:e.deviceRotationEvent=g.ru.yandex.metrika.wv2.proto.DeviceRotationEvent.decode(a,a.uint32());break;case 16:e.fatalErrorEvent=g.ru.yandex.metrika.wv2.proto.FatalErrorEvent.decode(a,a.uint32());break;case 17:e.hashchangeEvent=g.ru.yandex.metrika.wv2.proto.HashchangeEvent.decode(a,a.uint32());break;default:a.skipType(7&k)}}return e};return a}();a.MouseEvent=function(){function a(a){if(a)for(var b=
Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.x=0;a.prototype.y=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.x&&Object.hasOwnProperty.call(a,"x")&&b.uint32(8).int32(a.x);null!=a.y&&Object.hasOwnProperty.call(a,"y")&&b.uint32(16).int32(a.y);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.MouseEvent;a.pos<c;){var k=a.uint32();switch(k>>>
3){case 1:e.x=a.int32();break;case 2:e.y=a.int32();break;default:a.skipType(7&k)}}return e};return a}();a.ScrollEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.x=0;a.prototype.y=0;a.prototype.page=!1;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.x&&Object.hasOwnProperty.call(a,"x")&&b.uint32(8).int32(a.x);null!=a.y&&Object.hasOwnProperty.call(a,"y")&&b.uint32(16).int32(a.y);null!=
a.page&&Object.hasOwnProperty.call(a,"page")&&b.uint32(24).bool(a.page);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ScrollEvent;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.x=a.int32();break;case 2:e.y=a.int32();break;case 3:e.page=a.bool();break;default:a.skipType(7&k)}}return e};return a}();a.WindowEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=
a[b[c]])}a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.WindowEvent;a.pos<c;){var k=a.uint32();a.skipType(7&k)}return e};return a}();a.SelectionEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.start=0;a.prototype.end=0;a.prototype.startNode=0;a.prototype.endNode=
0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.start&&Object.hasOwnProperty.call(a,"start")&&b.uint32(8).int32(a.start);null!=a.end&&Object.hasOwnProperty.call(a,"end")&&b.uint32(16).int32(a.end);null!=a.startNode&&Object.hasOwnProperty.call(a,"startNode")&&b.uint32(24).int32(a.startNode);null!=a.endNode&&Object.hasOwnProperty.call(a,"endNode")&&b.uint32(32).int32(a.endNode);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===
b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.SelectionEvent;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.start=a.int32();break;case 2:e.end=a.int32();break;case 3:e.startNode=a.int32();break;case 4:e.endNode=a.int32();break;default:a.skipType(7&k)}}return e};return a}();a.ChangeEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.value="";a.prototype.checked=!1;a.prototype.hidden=!1;a.create=function(b){return new a(b)};
a.encode=function(a,b){b||(b=f.create());null!=a.value&&Object.hasOwnProperty.call(a,"value")&&b.uint32(10).string(a.value);null!=a.checked&&Object.hasOwnProperty.call(a,"checked")&&b.uint32(16).bool(a.checked);null!=a.hidden&&Object.hasOwnProperty.call(a,"hidden")&&b.uint32(24).bool(a.hidden);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ChangeEvent;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.value=a.string();
break;case 2:e.checked=a.bool();break;case 3:e.hidden=a.bool();break;default:a.skipType(7&k)}}return e};return a}();a.TouchEvent=function(){function a(a){this.touches=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.touches=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());if(null!=a.touches&&a.touches.length)for(var c=0;c<a.touches.length;++c)g.ru.yandex.metrika.wv2.proto.TouchEvent.SubMeta.encode(a.touches[c],
b.uint32(10).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.TouchEvent;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.touches&&e.touches.length||(e.touches=[]);e.touches.push(g.ru.yandex.metrika.wv2.proto.TouchEvent.SubMeta.decode(a,a.uint32()));break;default:a.skipType(7&k)}}return e};a.SubMeta=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=
a[b[c]])}a.prototype.id="";a.prototype.x=0;a.prototype.y=0;a.prototype.force=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(10).string(a.id);null!=a.x&&Object.hasOwnProperty.call(a,"x")&&b.uint32(21)["float"](a.x);null!=a.y&&Object.hasOwnProperty.call(a,"y")&&b.uint32(29)["float"](a.y);null!=a.force&&Object.hasOwnProperty.call(a,"force")&&b.uint32(37)["float"](a.force);return b};a.decode=function(a,b){a instanceof
d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.TouchEvent.SubMeta;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.id=a.string();break;case 2:e.x=a["float"]();break;case 3:e.y=a["float"]();break;case 4:e.force=a["float"]();break;default:a.skipType(7&k)}}return e};return a}();return a}();a.ZoomEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.zoomFrom=null;a.prototype.zoomTo=null;
a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.zoomFrom&&Object.hasOwnProperty.call(a,"zoomFrom")&&g.ru.yandex.metrika.wv2.proto.ZoomEvent.ZoomPoint.encode(a.zoomFrom,b.uint32(10).fork()).ldelim();null!=a.zoomTo&&Object.hasOwnProperty.call(a,"zoomTo")&&g.ru.yandex.metrika.wv2.proto.ZoomEvent.ZoomPoint.encode(a.zoomTo,b.uint32(18).fork()).ldelim();return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ZoomEvent;a.pos<
c;){var k=a.uint32();switch(k>>>3){case 1:e.zoomFrom=g.ru.yandex.metrika.wv2.proto.ZoomEvent.ZoomPoint.decode(a,a.uint32());break;case 2:e.zoomTo=g.ru.yandex.metrika.wv2.proto.ZoomEvent.ZoomPoint.decode(a,a.uint32());break;default:a.skipType(7&k)}}return e};a.ZoomPoint=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.level=0;a.prototype.x=0;a.prototype.y=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());
null!=a.level&&Object.hasOwnProperty.call(a,"level")&&b.uint32(13)["float"](a.level);null!=a.x&&Object.hasOwnProperty.call(a,"x")&&b.uint32(16).int32(a.x);null!=a.y&&Object.hasOwnProperty.call(a,"y")&&b.uint32(24).int32(a.y);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ZoomEvent.ZoomPoint;a.pos<c;){var k=a.uint32();switch(k>>>3){case 1:e.level=a["float"]();break;case 2:e.x=a.int32();break;case 3:e.y=a.int32();
break;default:a.skipType(7&k)}}return e};return a}();return a}();a.ResizeEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.width=0;a.prototype.height=0;a.prototype.pageWidth=0;a.prototype.pageHeight=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.width&&Object.hasOwnProperty.call(a,"width")&&b.uint32(8).int32(a.width);null!=a.height&&Object.hasOwnProperty.call(a,"height")&&b.uint32(16).int32(a.height);
null!=a.pageWidth&&Object.hasOwnProperty.call(a,"pageWidth")&&b.uint32(24).int32(a.pageWidth);null!=a.pageHeight&&Object.hasOwnProperty.call(a,"pageHeight")&&b.uint32(32).int32(a.pageHeight);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ResizeEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.width=a.int32();break;case 2:e.height=a.int32();break;case 3:e.pageWidth=a.int32();break;case 4:e.pageHeight=a.int32();
break;default:a.skipType(7&f)}}return e};return a}();a.MethodEvent=function(){function a(a){this.args=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.method="";a.prototype.args=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.method&&Object.hasOwnProperty.call(a,"method")&&b.uint32(10).string(a.method);if(null!=a.args&&a.args.length)for(var c=0;c<a.args.length;++c)b.uint32(18).string(a.args[c]);
return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.MethodEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.method=a.string();break;case 2:e.args&&e.args.length||(e.args=[]);e.args.push(a.string());break;default:a.skipType(7&f)}}return e};return a}();a.PropertyEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.property="";a.prototype.value=
"";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.property&&Object.hasOwnProperty.call(a,"property")&&b.uint32(10).string(a.property);null!=a.value&&Object.hasOwnProperty.call(a,"value")&&b.uint32(18).string(a.value);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.PropertyEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.property=a.string();break;case 2:e.value=a.string();
break;default:a.skipType(7&f)}}return e};return a}();a.KeystrokesEvent=function(){function a(a){this.keystrokes=[];if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.keystrokes=h.emptyArray;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());if(null!=a.keystrokes&&a.keystrokes.length)for(var c=0;c<a.keystrokes.length;++c)g.ru.yandex.metrika.wv2.proto.KeystrokesEvent.KeystrokeEvent.encode(a.keystrokes[c],b.uint32(10).fork()).ldelim();
return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.KeystrokesEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.keystrokes&&e.keystrokes.length||(e.keystrokes=[]);e.keystrokes.push(g.ru.yandex.metrika.wv2.proto.KeystrokesEvent.KeystrokeEvent.decode(a,a.uint32()));break;default:a.skipType(7&f)}}return e};a.KeystrokeEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&
(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.key="";a.prototype.isMeta=!1;a.prototype.modifier="";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).int32(a.id);null!=a.key&&Object.hasOwnProperty.call(a,"key")&&b.uint32(18).string(a.key);null!=a.isMeta&&Object.hasOwnProperty.call(a,"isMeta")&&b.uint32(24).bool(a.isMeta);null!=a.modifier&&Object.hasOwnProperty.call(a,"modifier")&&b.uint32(34).string(a.modifier);
return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.KeystrokesEvent.KeystrokeEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.id=a.int32();break;case 2:e.key=a.string();break;case 3:e.isMeta=a.bool();break;case 4:e.modifier=a.string();break;default:a.skipType(7&f)}}return e};return a}();return a}();a.DeviceRotationEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&
(this[b[c]]=a[b[c]])}a.prototype.width=0;a.prototype.height=0;a.prototype.orientation=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.width&&Object.hasOwnProperty.call(a,"width")&&b.uint32(8).int32(a.width);null!=a.height&&Object.hasOwnProperty.call(a,"height")&&b.uint32(16).int32(a.height);null!=a.orientation&&Object.hasOwnProperty.call(a,"orientation")&&b.uint32(24).int32(a.orientation);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=
void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.DeviceRotationEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.width=a.int32();break;case 2:e.height=a.int32();break;case 3:e.orientation=a.int32();break;default:a.skipType(7&f)}}return e};return a}();a.FatalErrorEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.code="";a.prototype.exception="";a.prototype.stack="";a.create=function(b){return new a(b)};
a.encode=function(a,b){b||(b=f.create());null!=a.code&&Object.hasOwnProperty.call(a,"code")&&b.uint32(10).string(a.code);null!=a.exception&&Object.hasOwnProperty.call(a,"exception")&&b.uint32(18).string(a.exception);null!=a.stack&&Object.hasOwnProperty.call(a,"stack")&&b.uint32(26).string(a.stack);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.FatalErrorEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.code=
a.string();break;case 2:e.exception=a.string();break;case 3:e.stack=a.string();break;default:a.skipType(7&f)}}return e};return a}();a.HashchangeEvent=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.hash="";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.hash&&Object.hasOwnProperty.call(a,"hash")&&b.uint32(10).string(a.hash);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));
for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.HashchangeEvent;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.hash=a.string();break;default:a.skipType(7&f)}}return e};return a}();a.EventType=function(){var a={},b=Object.create(a);b[a[0]="mousemove"]=0;b[a[1]="mouseup"]=1;b[a[2]="mousedown"]=2;b[a[3]="click"]=3;b[a[4]="scroll"]=4;b[a[5]="windowblur"]=5;b[a[6]="windowfocus"]=6;b[a[7]="focus"]=7;b[a[8]="blur"]=8;b[a[9]="eof"]=9;b[a[10]="selection"]=10;b[a[11]="change"]=11;
b[a[12]="input"]=12;b[a[13]="touchmove"]=13;b[a[14]="touchstart"]=14;b[a[15]="touchend"]=15;b[a[16]="touchcancel"]=16;b[a[17]="touchforcechange"]=17;b[a[18]="canvasMethod"]=18;b[a[19]="canvasProperty"]=19;b[a[20]="zoom"]=20;b[a[21]="resize"]=21;b[a[22]="mediaMethod"]=22;b[a[23]="mediaProperty"]=23;b[a[24]="keystroke"]=24;b[a[25]="deviceRotation"]=25;b[a[26]="fatalError"]=26;b[a[27]="hashchange"]=27;return b}();a.PublishersHeader=function(){function a(a){this.articleMeta=[];if(a)for(var b=Object.keys(a),
c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.articleMeta=h.emptyArray;a.prototype.involvedTime=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());if(null!=a.articleMeta&&a.articleMeta.length)for(var c=0;c<a.articleMeta.length;++c)g.ru.yandex.metrika.wv2.proto.ArticleMeta.encode(a.articleMeta[c],b.uint32(10).fork()).ldelim();null!=a.involvedTime&&Object.hasOwnProperty.call(a,"involvedTime")&&b.uint32(16).int32(a.involvedTime);return b};a.decode=function(a,
b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.PublishersHeader;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.articleMeta&&e.articleMeta.length||(e.articleMeta=[]);e.articleMeta.push(g.ru.yandex.metrika.wv2.proto.ArticleMeta.decode(a,a.uint32()));break;case 2:e.involvedTime=a.int32();break;default:a.skipType(7&f)}}return e};return a}();a.ArticleMeta=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&
(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.x=0;a.prototype.y=0;a.prototype.width=0;a.prototype.height=0;a.prototype.involvedTime=0;a.prototype.maxScrolled=0;a.prototype.chars=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).uint32(a.id);null!=a.x&&Object.hasOwnProperty.call(a,"x")&&b.uint32(16).int32(a.x);null!=a.y&&Object.hasOwnProperty.call(a,"y")&&b.uint32(24).int32(a.y);null!=a.width&&Object.hasOwnProperty.call(a,
"width")&&b.uint32(32).int32(a.width);null!=a.height&&Object.hasOwnProperty.call(a,"height")&&b.uint32(40).int32(a.height);null!=a.involvedTime&&Object.hasOwnProperty.call(a,"involvedTime")&&b.uint32(48).int32(a.involvedTime);null!=a.maxScrolled&&Object.hasOwnProperty.call(a,"maxScrolled")&&b.uint32(61)["float"](a.maxScrolled);null!=a.chars&&Object.hasOwnProperty.call(a,"chars")&&b.uint32(64).int32(a.chars);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:
a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ArticleMeta;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.id=a.uint32();break;case 2:e.x=a.int32();break;case 3:e.y=a.int32();break;case 4:e.width=a.int32();break;case 5:e.height=a.int32();break;case 6:e.involvedTime=a.int32();break;case 7:e.maxScrolled=a["float"]();break;case 8:e.chars=a.int32();break;default:a.skipType(7&f)}}return e};return a}();a.ArticleInfo=function(){function a(a){this.authors=[];this.topics=[];this.rubric=[];if(a)for(var b=Object.keys(a),
c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.id=0;a.prototype.pageUrlCanonical="";a.prototype.pageTitle="";a.prototype.authors=h.emptyArray;a.prototype.topics=h.emptyArray;a.prototype.publicationDate="";a.prototype.chars=0;a.prototype.rubric=h.emptyArray;a.prototype.updateDate="";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.id&&Object.hasOwnProperty.call(a,"id")&&b.uint32(8).uint32(a.id);null!=a.pageUrlCanonical&&Object.hasOwnProperty.call(a,
"pageUrlCanonical")&&b.uint32(18).string(a.pageUrlCanonical);null!=a.pageTitle&&Object.hasOwnProperty.call(a,"pageTitle")&&b.uint32(26).string(a.pageTitle);if(null!=a.authors&&a.authors.length)for(var c=0;c<a.authors.length;++c)g.ru.yandex.metrika.wv2.proto.ArticleAuthor.encode(a.authors[c],b.uint32(34).fork()).ldelim();if(null!=a.topics&&a.topics.length)for(c=0;c<a.topics.length;++c)g.ru.yandex.metrika.wv2.proto.ArticleTopic.encode(a.topics[c],b.uint32(42).fork()).ldelim();null!=a.publicationDate&&
Object.hasOwnProperty.call(a,"publicationDate")&&b.uint32(50).string(a.publicationDate);null!=a.chars&&Object.hasOwnProperty.call(a,"chars")&&b.uint32(56).int32(a.chars);if(null!=a.rubric&&a.rubric.length)for(c=0;c<a.rubric.length;++c)g.ru.yandex.metrika.wv2.proto.ArticleRubric.encode(a.rubric[c],b.uint32(66).fork()).ldelim();null!=a.updateDate&&Object.hasOwnProperty.call(a,"updateDate")&&b.uint32(74).string(a.updateDate);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=
void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ArticleInfo;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.id=a.uint32();break;case 2:e.pageUrlCanonical=a.string();break;case 3:e.pageTitle=a.string();break;case 4:e.authors&&e.authors.length||(e.authors=[]);e.authors.push(g.ru.yandex.metrika.wv2.proto.ArticleAuthor.decode(a,a.uint32()));break;case 5:e.topics&&e.topics.length||(e.topics=[]);e.topics.push(g.ru.yandex.metrika.wv2.proto.ArticleTopic.decode(a,a.uint32()));break;case 6:e.publicationDate=
a.string();break;case 7:e.chars=a.int32();break;case 8:e.rubric&&e.rubric.length||(e.rubric=[]);e.rubric.push(g.ru.yandex.metrika.wv2.proto.ArticleRubric.decode(a,a.uint32()));break;case 9:e.updateDate=a.string();break;default:a.skipType(7&f)}}return e};return a}();a.ArticleAuthor=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.name="";a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.name&&
Object.hasOwnProperty.call(a,"name")&&b.uint32(10).string(a.name);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ArticleAuthor;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.name=a.string();break;default:a.skipType(7&f)}}return e};return a}();a.ArticleTopic=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=a[b[c]])}a.prototype.name="";a.create=function(b){return new a(b)};
a.encode=function(a,b){b||(b=f.create());null!=a.name&&Object.hasOwnProperty.call(a,"name")&&b.uint32(10).string(a.name);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ArticleTopic;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.name=a.string();break;default:a.skipType(7&f)}}return e};return a}();a.ArticleRubric=function(){function a(a){if(a)for(var b=Object.keys(a),c=0;c<b.length;++c)null!=a[b[c]]&&(this[b[c]]=
a[b[c]])}a.prototype.name="";a.prototype.position=0;a.create=function(b){return new a(b)};a.encode=function(a,b){b||(b=f.create());null!=a.name&&Object.hasOwnProperty.call(a,"name")&&b.uint32(10).string(a.name);null!=a.position&&Object.hasOwnProperty.call(a,"position")&&b.uint32(16).int32(a.position);return b};a.decode=function(a,b){a instanceof d||(a=d.create(a));for(var c=void 0===b?a.len:a.pos+b,e=new g.ru.yandex.metrika.wv2.proto.ArticleRubric;a.pos<c;){var f=a.uint32();switch(f>>>3){case 1:e.name=
a.string();break;case 2:e.position=a.int32();break;default:a.skipType(7&f)}}return e};return a}();return a}();return a}();return a}();return a}();return a}();a.exports=g}]).ru.yandex.metrika.wv2.proto}catch(a){}try{var ab={ScrollEvent:{type:J.ScrollEvent,events:["scroll"]},SelectionEvent:{type:J.SelectionEvent,events:["selection"]},ChangeEvent:{type:J.ChangeEvent,events:["change","input"]},MethodEvent:{type:J.MethodEvent,repeated:"args",events:["canvasMethod","mediaMethod"]},PropertyEvent:{type:J.PropertyEvent,
events:["canvasProperty","mediaProperty"]},KeystrokesEvent:{type:J.KeystrokesEvent,repeated:"keystrokes",events:["keystroke"]},ZoomEvent:{type:J.ZoomEvent,events:["zoom"]},ResizeEvent:{type:J.ResizeEvent,events:["resize"]},WindowEvent:{type:J.WindowEvent,events:["windowfocus","windowblur","focus","blur","eof"]},MouseEvent:{type:J.MouseEvent,events:["mousemove","mouseup","mousedown","click"]},DeviceRotationEvent:{type:J.DeviceRotationEvent,events:["deviceRotation"]},FatalErrorEvent:{type:J.FatalErrorEvent,
events:["fatalError"]},TouchEvent:{type:J.TouchEvent,repeated:"touches",events:["touchmove","touchstart","touchend","touchcancel","touchforcechange"]}},gc=h.reduce(function(a,b){return a.concat(h.map(function(a){return{eventName:a,type:ab[b].type,repeated:ab[b].repeated,typeStr:b}},ab[b].events))},[],h.keys(ab)),hc={nullToStr:function(a){var b=this;if(h.isArray(a))return h.map(function(a){return b.nullToStr(a)},a);if(h.isObject(a))h.forEachKey(a,function(c,d){a[c]=b.nullToStr(d);return!0});else if(null===
a||a===A)a="";return a},uncapitalize:function(a,b){var c=a.slice(1);return a.charAt(0).toLowerCase()+(b?c.toLowerCase():c)},capitalize:function(a,b){var c=a.slice(1);return a.charAt(0).toUpperCase()+(b?c.toLowerCase():c)},notNaN:function(a){return isNaN(a)&&"number"==typeof a?0:a},eventSerialize:function(a){var b=h.filter(function(b){return b.eventName==a.type},gc),c;for(c=0;c<b.length;c++)var d=b[c];if(d)return d.repeated?(c=new d.type,c[d.repeated]=a.meta[d.repeated]||a.meta):c=new d.type(this.nullToStr(a.meta)),
b=new J.Event({type:J.EventType[d.eventName],target:a.target,frameId:a.frameId}),b[this.uncapitalize(d.typeStr)]=c,b},pageSerialize:function(a){return new J.Page(this.nullToStr(a))},articleInfoSerialize:function(a){return new J.ArticleInfo(this.nullToStr(a))},publishersHeaderSerialize:function(a){return new J.PublishersHeader(this.nullToStr(a))},mutationSerialize:function(a){return new J.Mutation(this.nullToStr(a))},initBuffer:function(){return new J.BufferWrapper},appendBuffer:function(a,b){a.buffer.push(b)},
serializeChunk:function(a){return this.serializeBuffer(null,a)},serializeBuffer:function(a,b,c){var d=new J.Buffer(b);a=a||new J.Wrapper;b||(d.data=a);c!==A&&(d.stamp=c);b&&b.stamp===A&&(d.stamp=v.getFormStart());return d},toTransport:function(a,b,c,d){var f=b||"BufferWrapper",h=this;if(c)mb.chain([function(){return h.nullToStr(a)},function(a){return J[f].encode(a)},function(a){return a.finish()},function(a){return c.call(d,a)}],"",!1,"toTransportChain."+f);else return J[f].encode(this.nullToStr(a)).finish()},
fromTrasport:function(a,b){if("number"==typeof a[0])return J[b||"BufferWrapper"].decode(a)},serialize:function(a,b,c){var d={},f={},h=this[a+"Serialize"];if(h)d[a]=h.call(this,b),f=new J.Wrapper(d);else if(c&&J.Wrapper.prototype[a]!==A)f[a]=b;else throw"Unrecoginze type of message";return c?J.Wrapper.encode(f).finish():f}};Ab=!0}catch(a){ua(a,"pr.in")}var Bb=Va.inherit({protocol:"",chunkSize:0,counterId:"",counterType:"",meta:null,maxBufferSize:7E5,serializer:hc,_dataSize:0,flushTimeout:2E3,storageKey:"visorbuff3",
active:!1,wvType:3,_totalSendedSize:0,_v:"",_initComponent:function(){this._sender=new nb({version:this.wvType,protocol:this.protocol,browserInfoMix:this.browserInfoMix,globalConfig:this.globalConfig,counterId:this.counterId,counterType:this.counterType});this.maxChunkSize=.9*this.maxBufferSize;$a.superclass._initComponent.apply(this,arguments)},activate:function(){this.active||(this.active=!0)},mergeData:function(a,b){b.data&&0===b.data.size||(this.serializer.appendBuffer(a,b),this._dataSize=0)},
_getSize:function(a){return a.length},sendEncoded:function(a,b,c,d,f){var h=this._getSize(a),g=this.getFlushSize(),n=0,m=0,t=1;c.size=h;g+h>this.maxBufferSize&&g&&this._flush(d);if(h>this.maxBufferSize){for(g=Math.ceil(a.length/this.maxChunkSize);m<h;){b.page=t;b.end=t===g;b.chunk=a.slice(n,n+=this.maxChunkSize);if(0==b.chunk.length)break;b.size=this._getSize(b.chunk);m+=b.size;c=this.serializer.serializeChunk(b);this.setToStore(c,f);this.append(c,d);t++}this._totalSendedSize+=m}else c=this.serializer.serializeBuffer(c,
null,b.stamp),this._totalSendedSize+=h,this.setToStore(c,f),this.append(c,d)},setToStore:function(a,b){this.wrappers.length&&this.store.set(a,b)},addData:function(a,b,c,d,f){var l={type:a};if(!this.totalSendLimit||this._totalSendedSize<this.totalSendLimit)if(this._v=c,this.wrappers.length&&h.arrayEvery(this.wrappers,function(c){c.trigger&&c.trigger(a,b);return 1}),f){var g=this.serializer.serializeBuffer({size:0});this.append(g,d)}else this._data&&0==this._data.buffer.length&&(this.startBufferTime=
v.getSeconds()),this.updateStamp(b,l),g=this.serializer.serialize(a,b),d?(c=this.serializer.toTransport(g,"Wrapper"),this.sendEncoded(c,l,g,!0,{id:a,data:b})):this.serializer.toTransport(g,"Wrapper",function(c){this.sendEncoded(c,l,g,!1,{id:a,data:b})},this)},dataFromStorage:function(a){return this.serializer.fromTrasport(a)},dataToStorage:function(a){return this.serializer.toTransport(a)},getFlushSize:function(){var a=this,b=h.reduce(function(a,b){return a+(b.data?b.data.size:b.size)},0,this._data.buffer);
this.wrappers.length&&(b+=h.reduce(function(b,d){var c=d.getBufferData();return c?b+=a.serializer.serialize(c.type,c.data,!0).length:b},b,this.wrappers));return b},onFlush:function(a,b,c,d){var f=this;this._dataSize=0;a&&(this.wrappers.length&&(h.arrayEvery(this.wrappers,function(b){if(!b.onFlush)return 1;h.arrayEvery(a.buffer,function(a){a=this.store.pop(a);if(!a)return 1;b.onFlush(a.id,a.data);return 1},this)},this),a=h.reduce(function(a,b){var c=b.getBufferData(),d={data:{}};if(!c)return a;d.data[c.type]=
c.data;c=new f.serializer.serializeBuffer(null,d);f.mergeData(a,c);return a},a,this.wrappers)),a.buffer&&a.buffer.length&&(d?this._sender.sendPacket(this.serializer.toTransport(a),b.url,b.hitId,c,b.timezone,b.timestamp,this.startBufferTime):this.serializer.toTransport(a,"BufferWrapper",function(a){this._sender.sendPacket(a,b.url,b.hitId,c,b.timezone,b.timestamp,this.startBufferTime)},this)))},clear:function(){this._data=this.serializer.initBuffer();this._dataSize=0;this._flushTID=null;this.storage&&
this.storage.remove(this.storageKey)}}),S={};S._cookie=new T({onlyCurrentDomain:!0});S._check=F(function(){return-1<m.location.href.indexOf("_ym_debug\x3d1")||m._ym_debug||"1"===S._cookie.read("debug")});S.enabled=S._check();S.log=F(function(){(-1<M.href.indexOf("_ym_debug\x3d1")||m._ym_debug)&&this._cookie.create("debug","1");m.console&&console.log&&this._check()&&(S.enabled=!0,console.log.apply(console,arguments))},"DebugConsole.log");var ic=I.inherit({eventMap:{mousemove:{val:0,multiply:1/.68},
click:{val:0,multiply:1/.00975},input:{val:0,multiply:1/.0116},scroll:{val:0,multiply:1/.31},fatalError:{val:0,multiply:1}},getBufferData:function(){var a=this;return{type:"activity",data:h.reduce(function(b,c){var d=a.eventMap[c];return Math.round(b+d.val*d.multiply)},0,h.keys(this.eventMap))}},onFlush:function(a,b){var c;if(c=this.eventMap["event"!==a?a:b.type])c.val+=1}});w.closest=function(a,b){var c;if(!(m&&m.Element&&m.Element.prototype))return null;if(m.Element.prototype.closest&&h.isNativeFunction(m.Element.prototype.closest,
"closest"))return a.closest(b);if(m.Element.prototype.matches&&h.isNativeFunction(m.Element.prototype.matches,"matches")){do{if(a.matches(b))return a;a=a.parentElement||a.parentNode}while(null!==a&&1===a.nodeType)}if(m.document.querySelectorAll&&h.isNativeFunction(m.Element.prototype.querySelectorAll,"querySelectorAll")){var d=(m.document||m.ownerDocument).querySelectorAll(b);do for(c=d.length;0<=--c&&d.item(c)!==a;)a;while(0>c&&(a=a.parentElement));return a}return null};var E={select:function(a,
b){return a?a.querySelectorAll(b):null},looksLikeFullUrl:function(a){return"string"!==typeof a?!1:/^(https?:)\/\//.test(a)},selectOne:function(a,b){var c=this.select(a,b);return c&&c.length?c[0]:null},closest:function(a,b){return w.closest(a,b)},testAttr:function(a,b,c){return c.test(a.getAttribute(b))},selectPropOne:function(a,b){var c=this.selectProp(a,b);return c&&c.length?c[0]:null},selectProp:function(a,b){var c=a.getAttribute("itemtype"),d=null,f=this.select(a,'[itemprop\x3d"'+b+'"]');c&&(d=
h.filter(function(b){return b.parentNode&&w.closest(b.parentNode,"[itemtype]")===a},f));return d||f||[]},getVal:function(a){if(!a||0==a.length)return"";a.length===A&&(a=[a]);return a[0].getAttribute("content")||a[0].innerText||""},getDate:function(a){return a?a.attributes&&a.attributes.datetime?""+a.attributes.datetime.value:this.getVal(a):""}},ya={},bb=I.inherit({isAuthorsInTitle:!1,fields:{},schemaEntities:{"schema.org":"Article NewsArticle Movie BlogPosting Review Recipe Answer".split(" "),opengraph:["article"]},
typesMap:{Answer:3,Review:2},_getContentNode:function(a){return a.element},_getFieldData:function(a,b){var c,d=this;F(function(){c=d.fields[b].call(d,a)},"P.s."+b)();return c},_postprocessData:function(a,b){var c=this._getContentNode(b);if(this.isAuthorsInTitle&&!a.id&&h.inArray([3,2],a.type)){var d=h.map(function(a){return a.name},a.authors).join(", ");a.pageTitle=d+": "+a.pageTitle}a.pageTitle||(a.pageTitle=this._getTitleFromContent(c));a.pageUrlCanonical||(a.pageUrlCanonical=E.looksLikeFullUrl(a.id)?
a.id:this.getPageUrlCanonical());a.id||(a.id=a.pageTitle||a.pageUrlCanonical);return a},_getContentData:function(a){var b={},c=this;b.type=a.type;h.map(function(d){b[d]=c._getFieldData(a,d)},h.keys(this.fields));b.element=a.element;b.stamp=v.getFormStart();b=this._postprocessData(b,a);b.id=b.id?h.fnv32a(b.id):1;b.update=h.bind(this._getFieldData,this,a);return b},_getTitleFromContent:function(a){var b,c;for(b=1;5>=b;b++)if(c=E.getVal(E.selectOne(a,"h"+b)))return c;return null},_getType:function(){return 1},
getPageUrlCanonical:function(){var a=E.selectOne(this.root,'[rel\x3d"canonical"]');if(a)return a.href},alreadyWarned:[],contentSizeWarning:function(a){-1===h.arrayIndexOf(this.alreadyWarned,a.id)&&(S.log("Warning: content has only "+a.chars+" chars.Required "+ya[a.type],a),this.alreadyWarned.push(a.id))},findContent:function(){var a,b=[],c=[],d,f=this._findContentDescriptionNodes(),l=this;for(a=0;a<f.length;a++)if(d=this._getContentData({element:f[a],type:this._getType(f[a])}))h.isArray(d)||(d=[d]),
h.map(function(a){a&&(a.chars<=ya[a.type]?l.contentSizeWarning(a):(a=h.mixin({sended:!1,involvedTime:0},a))&&!h.inArray(c,a.id)&&(a.index=b.push(a),c.push(a.id)))},d);return b}});ya[1]=500;ya[2]=500;ya[3]=0;var ob=bb.inherit({id:"s",isAuthorsInTitle:!0,typesRegExp:new RegExp("schema.org\\/("+h.keys(bb.prototype.typesMap).join("|")+")$"),fields:{node:function(a){return this._getContentNode(a)},id:function(a){a=a.element;var b=E.selectPropOne(a,"identifier");return b?E.getVal(b):(b=E.selectPropOne(a,
"mainEntityOfPage"))&&b.getAttribute("itemid")?b.getAttribute("itemid"):null},chars:function(a){var b=0;a=a.element;var c,d,f=["articleBody","reviewBody","recipeInstructions","description","text"];for(c=0;c<f.length;c++)if(d=E.selectPropOne(a,f[c])){b=E.getVal(d).length;break}0===b&&a.innerText&&(b+=a.innerText.length);return b},topics:function(a){var b=[];a=E.selectProp(a.element,"about");return b=h.map(function(a){var b={name:E.getVal(a)};if(a=E.selectPropOne(a,"name"))b.name=E.getVal(a);return b},
a)},rubric:function(a){var b=[];(a=E.selectOne(a.element,'[itemtype$\x3d"schema.org/BreadcrumbList"]'))||(a=E.selectOne(this.root,'[itemtype$\x3d"schema.org/BreadcrumbList"]'));a&&(a=E.selectProp(a,"itemListElement"),b=h.map(function(a){return{name:E.getVal(E.selectPropOne(a,"name")),position:E.getVal(E.selectPropOne(a,"position"))}},a));return b},updateDate:function(a){return(a=E.selectPropOne(a.element,"dateModified"))?E.getDate(a):""},publicationDate:function(a){return(a=E.selectPropOne(a.element,
"datePublished"))?E.getDate(a):""},pageUrlCanonical:function(a){a=E.selectProp(a.element,"url");return a.length?a[0].href?a[0].href:E.getVal(a):null},pageTitle:function(a){var b="",c=a.element,d=E.selectPropOne(c,"headline");d&&(b+=E.getVal(d));(d=E.selectPropOne(c,"alternativeHeadline"))&&(b+=" "+E.getVal(d));""===b&&((d=E.selectPropOne(c,"name"))||(d=E.selectPropOne(c,"itemReviewed")),d&&(b+=E.getVal(d)));3===a.type&&(a=E.closest(c,'[itemtype$\x3d"schema.org/Question"]'))&&(d=E.selectPropOne(a,
"text"))&&(b+=E.getVal(d));return b},authors:function(a){a=E.selectProp(a.element,"author");var b=[];return b=h.map(function(a){var b={},c;E.testAttr(a,"itemtype",/.+schema.org\/(Person|Organization)/)&&(c=E.selectPropOne(a,"name"))&&(b.name=E.getVal(c));b.name||(b.name=a.getAttribute("content")||a.innerText||a.getAttribute("href"));return b},a)}},_getType:function(a){a=a.getAttribute("itemtype")||"";return(a=this.typesRegExp.exec(a))?this.typesMap[a[1]]:1},_getContentData:function(a){return a.element&&
a.element.innerText&&a.element.innerText.length?ob.superclass._getContentData.call(this,a):null},_findContentDescriptionNodes:function(){var a=h.map(function(a){return'[itemtype$\x3d"schema.org/'+a+'"]'},this.schemaEntities["schema.org"]).join(",");return E.select(u,a)}}),cb=bb.inherit({id:"j",dataNodesSelector:'script[type\x3d"application/ld+json"],script[type\x3d"application/json+ld"],script[type\x3d"ld+json"],script[type\x3d"json+ld"]',isAuthorsInTitle:!0,fields:{node:function(a){return this._getContentNode(a)},
id:function(a){var b=a.data["@id"];a=a.data.mainEntity||a.data.mainEntityOfPage;!b&&a&&(b=a["@id"]);return b},chars:function(a){return"string"===typeof a.data.text?a.data.text.length:this._getContentNode(a).innerText.length},authors:function(a){var b=[];b=b.concat(this._extractArrayField(a.data,"author",["name"]));b=b.concat(this._extractArrayField(a.data.mainEntity,"author",["name"]));return b.concat(this._extractArrayField(a.data.mainEntityOfPage,"author",["name"]))},pageTitle:function(a){var b=
a.data.headline||"";a.data.alternativeHeadline&&(b+=" "+a.data.alternativeHeadline);""===b&&(a.data.name?b=a.data.name:a.data.itemReviewed&&(b=a.data.itemReviewed));3===a.type&&a.data.parentItem&&(b=a.data.parentItem.text);return b},updateDate:function(a){return a.data.dateModified||""},publicationDate:function(a){return a.data.datePublished||""},pageUrlCanonical:function(a){return a.data.url},topics:function(a){return this._extractArrayField(a.data,"about",["name","alternateName"])},rubric:function(a){var b=
this._getContentNode(a),c=[];h.map(function(a){(a=R.parse(a.innerText))&&(a["@graph"]?h.map(function(a){"BreadcrumbList"===a["@type"]&&c.push(a)},a["@graph"]):"BreadcrumbList"===a["@type"]&&c.push(a))},[a.element].concat(h.toArray(E.select(u.body===b?u.documentElement:b,this.dataNodesSelector))));return c.length&&(c=c[0].itemListElement,h.isArray(c))?h.filter(Boolean,h.map(function(a){return a.item&&!isNaN(a.position)?{name:a.item.name,position:a.position}:null},c)):[]}},_extractArrayField:function(a,
b,c){if(!a||!a[b])return[];a=h.isArray(a[b])?a[b]:[a[b]];a=h.filter(Boolean,h.map(function(a){var b=null;if(!a)return b;if("string"===typeof a)return a;h.map(function(c){b=b?b:a[c]},c);return b},a));return h.map(function(a){return{name:a}},a)},_getContentNode:function(a){var b=a.element,c=a.data["@id"];a=a.data.url;var d,f=b.parentNode;a&&"string"===typeof a&&(d=this._extractElementByHashedUrl(a));!d&&c&&"string"===typeof c&&(d=this._extractElementByHashedUrl(c));return d?d:E.closest(b,"head")||0===
f.innerText.length?m.document.body:f},_extractElementByHashedUrl:function(a){var b,c;try{if(b=h.parseUrl(a).hash)if(c=E.selectOne(u.body,b))return c}catch(d){return null}},_parseType:function(a){return this.typesMap[a["@type"]]||1},_getContentData:function(a){var b=a.element,c=this,d=[],f;if(!a.data&&(a.data=R.parse(b.innerText),!a.data||!/schema\.org/.test(a.data["@context"])))return null;if(h.isArray(a.data["@graph"]))return h.map(function(a){if(!h.inArray(c.schemaEntities["schema.org"],a["@type"]))return null;
a={element:b,data:a,type:c._parseType(a)};return cb.superclass._getContentData.call(c,a)},a.data["@graph"]);"QAPage"===a.data["@type"]&&(f=a.data.mainEntity||a.data.mainEntityOfPage);"Question"===a.data["@type"]&&(f=a.data);if(f)return a=h.reduce(function(a,b){var c=f[b]||[];return a.concat(h.isArray(c)?c:[c])},[],["acceptedAnswer","suggestedAnswer"]),h.map(function(a){if(!h.inArray(c.schemaEntities["schema.org"],a["@type"]))return null;a={element:b,type:c._parseType(a),data:h.mixin({parentItem:f},
a)};return cb.superclass._getContentData.call(c,a)},a);if(!h.inArray(this.schemaEntities["schema.org"],a.data["@type"]))return null;d=this._parseType(a.data);return d=cb.superclass._getContentData.call(this,h.mixin(a,{type:d}))},_findContentDescriptionNodes:function(){return E.select(m.document,this.dataNodesSelector)}}),Cb=bb.inherit({id:"o",fields:{node:function(a){return this._getContentNode(a)},chars:function(a){a=this._getContentNode(a);return a.innerText?a.innerText.length:0},authors:function(a){return this._getArrayValue(a.data.author)},
pageTitle:function(a){return this._getSimpleValue(a.data.title)||""},updateDate:function(a){return this._getSimpleValue(a.data.modified_time)},publicationDate:function(a){return this._getSimpleValue(a.data.published_time)},pageUrlCanonical:function(a){return this._getSimpleValue(a.data.url)},topics:function(a){return this._getArrayValue(a.data.tag)},rubric:function(a){return this._getArrayValue(a.data.section)}},_getArrayValue:function(a){return a?h.isArray(a)?h.map(function(a){return{name:a}},a):
[{name:a}]:[]},_getSimpleValue:function(a){return h.isArray(a)?a.length?a[0]:null:a},_findContentDescriptionNodes:function(){var a=[u.head],b=E.select(u.body,'meta[property\x3d"og:type"]');b&&(a=a.concat([].map.call(b,function(a){return a})));return a},_getEntityData:function(a){var b,c,d=a.element,f={},l=this._getContentNode(a);d=E.select(d===u.head?d:l,"meta[property]");var g,n=new RegExp("^(og:)?(("+this.schemaEntities.opengraph.join("|")+"):)?");if(d&&d.length)h.map(function(a){try{if(g=a.parentNode===
l||a.parentNode===m.document.head)b=a.getAttribute("property").replace(n,""),c=a.getAttribute("content"),f[b]?h.isArray(f[b])?f[b].push(c):f[b]=[f[b],c]:f[b]=c}catch(t){}},d);else return null;return h.inArray(this.schemaEntities.opengraph,f.type)?h.mixin(a,{data:f}):null},_getContentNode:function(a){a=a.element;return a===u.head?u.body:a.parentElement},_getContentData:function(a){return(a=this._getEntityData(a))?Cb.superclass._getContentData.call(this,a):null}}),jc=I.inherit({buffer:null,meta:!1,
activeEvents:"page resize scroll mousemove mousedown click windowfocus keystroke deviceRotation input touchmove touchstart".split(" "),isStopped:!1,schemas:{json_ld:cb,schema:ob,microdata:ob,opengraph:Cb},checkSize:function(){var a=this,b="pai"+this._schema.id,c=this.globalConfig.get(b,[]);c.push(function(b){!a.isStopped&&b.length&&(a.findContent(b),a.meta=a.getMeta(),a.send())});this.globalConfig.setSafe(b,c);if(1==c.length){var d=function(c){var f=a.globalConfig.get(b),g=a._schema.findContent();
a.findContent(g);a.meta=a.getMeta();var n=h.toJSON(a.meta);if(!a.isStopped){if(c!==n)for(c=0;c<f.length;c++){var m=h.map(function(a){return h.mixin({},a)},g);f[c](m)}a.timeout=h.setTimeout(function(){d(n)},1E3)}};d()}},stop:function(){this.isStopped=!0},getBufferData:function(){return this.meta.length?{type:"publishersHeader",data:{articleMeta:this.meta||{},involvedTime:Math.max(this.involvedTime,0)}}:null},findContent:function(a){var b=h.map(function(a){return a.id},this.articles);this.articles=
this.articles.concat(h.filter(function(a){return!h.inArray(b,a.id)},a))},getScroll:function(){this.scroll={x:m.pageXOffset||this.root.scrollLeft,y:m.pageYOffset||this.root.scrollTop}},_initComponent:function(){var a=w.getViewportSize();this.handlers=[];this.events=[];this.articles=[];this.root=w.getRootElement();this.getScroll();this.viewbox={width:a[0],height:a[1]}},getMeta:function(){var a=this,b=[];this.getScroll();var c=h.map(function(c){if(a.isRemovedFromDoc(c.element)){var d=null;b.push(c)}else d=
{id:c.id,involvedTime:Math.max(c.involvedTime,0),maxScrolled:c.maxScrolled||0,chars:c.update?c.update("chars"):0},c.node&&h.isFunction(c.node.getBoundingClientRect)&&(c=c.node.getBoundingClientRect(),d.x=Math.round(c.left)+a.scroll.x,d.y=Math.round(c.top)+a.scroll.y,d.width=Math.round(c.width),d.height=Math.round(c.height));return d},this.articles);h.map(function(b){b=h.arrayIndexOf(a.articles,b);a.articles.splice(b,1)},b);return c=h.filter(Boolean,c)},isRemovedFromDoc:function(a){return w.closest(a,
"html")!==m.document.documentElement},getArticalsToSend:function(){var a=[],b;for(b=0;b<this.articles.length;b++)if(!this.articles[b].sended){var c=h.mixin({},this.articles[b]);delete c.element;delete c.node;delete c.sended;delete c.index;delete c.involvedTime;delete c.visibility;delete c.maxScrolled;delete c.update;delete c.type;a.push(c)}return a},send:function(){var a=this.getArticalsToSend();a.length&&(this.push({articleInfo:a}),S.log("Publisher content info found:",a),h.arrayEvery(this.articles,
function(a){a.sended=!0;return 1}))},start:function(a){var b=this,c=this.globalConfig.get("counters",{})[this.counterId+":0"];a&&a.schema&&c&&c.tp&&(a.schema="microdata");a&&a.schema&&this.schemas[a.schema]&&m.document&&h.isNativeFunction(m.document.querySelectorAll,"querySelectorAll")?(this.globalConfig.setSafe("pai",function(){return h.reduce(function(a,b){(a.visibility||0)<=b.visibility&&(a=b);return a},{},b.articles).id}),this._schema=new this.schemas[a.schema],this._schema.root=this.root,S.log('Publishers analytics schema "'+
a.schema+'"'),this.checkSize()):this.stop()},push:function(a){h.arrayEvery(this.handlers,function(b){b(a);return 1});this.events.push(a)},middleware:function(a){this.handlers.push(a);h.arrayEvery(this.events,function(b){a(b)})},lastStamp:0,involvedTime:0,MAX_INACTIVE:5E3,trigger:function(a,b){var c="event"!==a?a:b.type;if(h.inArray(this.activeEvents,c)){"scroll"==c&&b.meta&&b.meta.page&&(this.scroll=b.meta);"resize"==c&&0==b.target&&(this.viewbox=b.meta);var d=v.getMs()-this.lastStamp;d=Math.min(d,
this.MAX_INACTIVE);this.involvedTime+=Math.round(d);this.lastStamp=v.getMs();this.meta&&this.scroll&&this.viewbox&&h.arrayEvery(this.articles,function(a){if(this.isRemovedFromDoc(a.element))return 1;var b=h.filter(function(b){return b.id===a.id},this.meta).pop();if(!b)return ua(Error("Can't find meta"),"p.t"),1;var c=Math.max((Math.min(this.scroll.y+this.viewbox.height,b.y+b.height)-Math.max(this.scroll.y,b.y))/this.viewbox.height,0);var f=Math.max((this.scroll.y+this.viewbox.height-b.y)/b.height,
0);a.involvedTime+=Math.round(c*d);a.maxScrolled=Math.round(1E4*f)/1E4;a.visibility=c;b.involvedTime=a.involvedTime;return 1},this)}}}),Db=I.inherit({hid:0,tz:0,ts:0,counterId:0,counterType:0,url:"",protocol:"",executor:mb,enabled:!1,_map:{page:{iterate:!1,name:"page"},events:{iterate:!0,name:"event"},mutations:{iterate:!0,name:"mutation"},articleInfo:{iterate:!0,name:"articleInfo"}},_getBufferType:function(){var a=$a,b=!1;if(!S.enabled&&Ab){try{b=(b=2===(new Blob(["\u00e4"])).size)&&2===(new Blob([new m.Uint8Array([1,
2])])).size}catch(c){}b&&m.Uint8Array&&m.Uint8Array.prototype.slice&&(a=Bb)}return a},_initComponent:F(function(){var a=this._getBufferType();this._localStorage=new ea({counterId:this.counterId});var b=this._localStorage.get("pai");var c=this._getStorage();var d=c.read("visorc");"b"!==d&&"w"!==d&&(d="");if(!c.isEnabled()||ib("opera mini"))d="b";this._publisher=new jc({counterId:this.counterId,globalConfig:this.globalConfig});this._vc=d;c={protocol:this.protocol,counterId:this.counterId,counterType:this.counterType,
globalConfig:this.globalConfig,meta:{url:this.url,hitId:this.hid,timezone:this.tz,timestamp:this.ts}};this._recorder=new Wb({counterId:this.counterId,trustedDomains:this.trustedDomains,childIframe:this.childIframe});this._buffer=new a(h.mixin({},c,{totalSendLimit:31457280,browserInfoMix:{bt:1}}));this._eventsBuffer=new a(h.mixin(c,b&&{browserInfoMix:{pai:b}}));this._localStorage.remove("pai");this._buffer.activate();this._eventsBuffer.activate();"b"!==d&&(this._formRecorder=new Ob(this.protocol,this.counterId,
this.counterType,this.hid,this.globalConfig),this._recorder.on("error",function(a){ua(a.error,a.namespace)}),this._activity=new ic);Db.superclass._initComponent.apply(this,arguments)},"wv2.init"),start:F(function(a,b){var c=this,d=this._vc;if(this._recorder){a=a||{};var f=+a.recp;if(!isFinite(f)||0>f||1<f)d="w";d||(d=this.hid%1E4/1E4<f?"w":"b");this._getStorage().create("visorc",d,30);this._publisher.start(b);"w"===d&&this.isEnabled()&&this.globalConfig.setSafe("wv2Counter",this.counterId);"w"===
d&&this.isEnabled()&&this._isCorrectCounter()?(this._recorder.middleware(function(a){c.send(a.data)}),this._recorder.init(),this._eventsBuffer.wrappers.push(this._activity),this._recorder.start(a),this._formRecorder.start(),this.globalConfig.get("stopRecoder",function(){})(),this.globalConfig.set("stopRecoder",function(){c.stop()})):this._publisher&&!this._publisher.isStopped?(this._recorder.middleware(function(a){c.send(a.data,!0)}),this._recorder.init({disableIndex:!0,disableMutations:!0}),this._recorder.start(a)):
this.stop();this._publisher&&!this._publisher.isStopped&&(this._eventsBuffer.wrappers.push(this._publisher),this._eventsBuffer.setWVType(this._buffer instanceof Bb?5:4),this._publisher.middleware(function(a){c.send(a)}))}},"wv2.start"),stop:function(){this._publisher&&this._publisher.stop();this._recorder&&(this._recorder.stop(),this._formRecorder&&this._formRecorder.stop())},isEnabled:function(){var a=!this.globalConfig.get("oo");return this.enabled&&m.MutationObserver&&a},send:function(a,b){var c=
a._v;h.forEachKey(a,function(a,f){var d=this._map[a],g=this._buffer;if(d){var n=d.name;h.inArray(["event","articleInfo"],n)&&(g=this._eventsBuffer);d.iterate?h.forEachKey(f,function(a,d){var f="eof"===d.type&&!d.frameId,h=[g],l;f&&(h=[this._eventsBuffer,this._buffer]);for(l=0;l<h.length;l++)this.executor.addAsyncItem(h[l].addData,h[l],f,[n,d,c,f,b],"send."+(d?d.type||d.group||"":"empty"))},this):g.addData(n,f,c)}},this)},getVc:function(){return this._vc},_getStorage:function(){this._storage||(this._storage=
new T({counterId:this.counterId}));return this._storage},_isCorrectCounter:function(){return this.counterId===this.globalConfig.get("wv2Counter")}}),Eb={FN:"ym",STACK:"a",counters:[],waitPool:{},handle:function(a){if(2>a.length)return 1;var b=""+a[0];h.inArray(b,":")||(b+=":0");var c=b.split(":")[0];var d=a[1];var f=this.globalConfig.get("counters",{})[b];"init"==d?(d="yaCounter"+c,m[d]||(a=h.mixin(a[2]||{},{id:+c}),m[d]=new m.Ya[this.constructorName](a))):h.inArray(this.counters,b)&&f&&f[d]?(a=[].slice.call(a,
2),f[d].apply(f,a)):h.inArray(this.counters,b)||(this.waitPool[b]||(this.waitPool[b]=[]),this.waitPool[b].push(a));return 1},subscribe:function(a){a&&(this.counters.push(a),this.waitPool[a]&&(h.arrayEvery(this.waitPool[a],this.handle,this),delete this.waitPool[a]))},init:function(a,b){var c=this,d=m[this.FN];if(d){var f=d[this.STACK];this.constructorName=a;this.globalConfig=b;f||(d[this.STACK]=f=[]);var l=f.push;f.push=function(){var a=l.apply(f,arguments);h.arrayEvery(arguments,c.handle,c);return a};
d&&h.isArray(f)&&h.arrayEvery(f,this.handle,this)}}};w.loadScript=function(a,b){b=b||m;var c=h.mixin({type:"text/javascript",charset:"utf-8",async:!0},a),d=b.document,f=h.getNativeFunction("createElement",d),l=f("script");if(l){l.type=c.type;l.charset=c.charset;l.src=c.src;c.async&&(l.async=!0);try{var g=d.getElementsByTagName("head")[0];if(!g){var n=d.getElementsByTagName("html")[0];g=f("head");n&&n.appendChild(g)}g.insertBefore(l,g.firstChild);return l}catch(r){}}};var kc=wa.inherit({id:"script",
index:6,request:function(a,b,c,d){var f=!1,l=h.getNativeFunction("createElement",u)("script");this.timeout&&h.setTimeout(function(){f||(f=!0,w.removeNode(l),c.call(d,!1))},this.timeout,"ts.request");if(!l)return f=!0,c.call(d,!1),!1;var g="_ymjsp"+h.random();m[g]=F(function(){if(!f){try{delete m[g]}catch(r){m[g]=A}c.apply(d,h.mergeArrays([!0],arguments));f=!0;w.removeNode(l)}},"transport.script");l.type="text/javascript";l.src=this._buildUrl(a,h.mixin({wmode:5,callback:g},b));l.async="async";var n=
u.getElementsByTagName("head")[0];n||(n=u.createElement("head"),u.documentElement.appendChild(n));h.async(function(){n.insertBefore(l,n.firstChild)});l.onerror=function(){f=!0;c.call(d,!1);m[g]=A};return!0}}),Fb=Wa.inherit({id:"XHRhit",index:10,_buildUrl:function(a,b){b.wmode=7;return Fb.superclass._buildUrl.apply(this,[a,b])},_parseResp:function(a){var b=R.parse(a);if(!b)throw"";return h.map(function(a){return b[a]},h.keys(b))}}),pb=Ra.inherit({transports:[Fb,kc],trimParams:!0,_initComponent:function(){pb.superclass._initComponent.apply(this,
arguments);this._ilStorage=new ea({counterId:this.counterId})},postParams:[],checkYandexHost:function(a){if(a){a:{if(a=h.parseUrl(a).host.match(/(?:^|\.)(?:ya|yandex)\.(?:\w+|com?\.\w+)$/))if(a=a[0].split("yandex").reverse()[0].substring(1),-1!=h.arrayIndexOf(xb,a))break a;a=!1}a&&(this.host="mc.yandex."+a)}},sendHit:function(a){var b={},c=this._ilStorage.get("il");a.visitColor&&(b.vc=a.visitColor);c&&(this._ilStorage.remove("il"),b.ilt=na.encode(Qa.encode(h.trim(c,Gb))));this.checkYandexHost(a.referrer);
this._hitExt({url:a.url,forceNoRedirect:a.forceNoRedirect,nohit:a.nohit,hasPrerender:a.hasPrerender,title:a.title,referrer:a.referrer,vParams:a.vParams,userParams:a.userParams,experiments:a.experiments,modes:a.modes,browserInfo:b,ts:a.ts,tz:a.tz,callback:a.callback,ctx:a.ctx},"hit")}}),Hb=I.inherit({cid:3,cnt:0,KEY_NAME:"wasSynced",_initComponent:function(){this._storage=new ea;this._cookie=new T},hit:function(a,b){var c=this,d=b===A?!0:!1,f=d?this._storage.get(this.KEY_NAME):!1,l=[],g=this.globalConfig.get("fakeHit");
if(g&&d)return g(function(b){a(b)});!f&&d&&(f=this._cookie.read(this.KEY_NAME))&&(f=R.parse(f));f&&f.params&&f.time+864E5>v.getMs()?(c.globalConfig.set("isEU",f.params.eu),a(f)):(this.globalConfig.set("fakeHit",function(a){l.push(a)}),this._getSender().sendHit({forceNoRedirect:this.forceNoRedirect,callback:function(b,d){var g=b||{};f={time:v.getMs(),params:g,bkParams:d};c.globalConfig.set("isEU",g.eu);c._storage.set(c.KEY_NAME,f);c._cookie.create(c.KEY_NAME,R.stringify(f),1728);a(f);c.globalConfig.set("fakeHit",
function(a){a(f)});h.arrayEvery(l,function(a){a(f);return 1})}}))},_getSender:function(){this._sender||(this._sender=new pb({protocol:"https:",counterType:this.cnt,counterId:this.cid,sendTitle:!1,globalConfig:this.globalConfig,fake:!0}));return this._sender}}),Ib=I.inherit({baseUrl:"mc.yandex.",globalConfig:C,baseTld:"ru",partners:{"mc.yandexsport.ru":{regex:/^([^/]+\.)?yandexsport\.ru$/,tld:"ru"},"mc.beru.ru":{regex:/^([^/]+\.)?beru\.ru$/,tld:"ru"},"mc.kinopoisk.ru":{regex:/^([^/]+\.)?kinopoisk\.ru$/,
tld:"ru"}},_initComponent:function(){var a=this;Ib.superclass._initComponent.apply(this,arguments);this.syncTlds=h.reduce(function(a,c){return c(a)},xb,[h.bind(h.filter,null,function(b){return b!==a.baseTld}),h.bind(h.reduce,null,function(a,c){a[c]=[c];return a},{})]);h.forEachKey(this.partners,function(a,c){c.regex.test(m.location.hostname)&&(this.syncTlds[c.tld]||(this.syncTlds[c.tld]=[]),this.syncTlds[c.tld].push(a),this._replaceBase[a]=!0)},this)},_replaceBase:{},langToDomain:{ka:"ge",ro:"md",
tg:"tj",tk:"tm",et:"ee",hy:"com.am",he:"co.li",ky:"kg",uk:"ua",be:"by",tr:"com.tr",kk:"kz"},sync:function(a){var b=this,c=this._need(),d=-1!=L().hostname.search(/(?:^|\.)(?:ya|yandex(sport)?|beru|kinopoisk)\.(?:\w+|com?\.\w+)$/);if(x.isIframe())return a();this._is()?a():(d&&b._syncAdmetrica(),c?(this._setStatus(!0),d?this._getCn().hit(function(){b._sync(c,a)}):a()):a());d&&this._addMda()},_addMda:function(){var a=new T({skipPrefix:!0}),b=new T,c=a.read("mda");"0"!==c&&"1"!==c&&a.create("mda","0",
1036800);b.read("mda")&&b.erase("mda")},_is:function(){try{return!!this.globalConfig.get("startSync")}catch(a){return!1}},_setStatus:function(a){try{this.globalConfig.set("startSync",a)}catch(b){}},_need:function(){var a=this._getDomainByLang(),b=this._getTld(),c=[],d;(d=this.syncTlds[b])&&c.push.apply(c,d);d=this.syncTlds[a];a!==b&&d&&c.push.apply(c,d);var f=this._getLs().get("synced")||{};c=h.arrayFilter(c,function(a){return(f[a]||1)+1440<v.getMinutes()});return c.length&&c||!1},_syncAdmetrica:function(){var a=
new Da({}),b=this._getLs();((b.get("synced")||{}).SYNCED_ADM||1)+1440<v.getMinutes()&&a.request("https://mc.admetrica.ru/sync_cookie_image_check",{},function(a){b.get("synced");var c=v.getMinutes();a||(c-=1435);a=b.get("synced")||{};a.SYNCED_ADM=c;b.set("synced",a)})},_sync:function(a,b){var c,d=0,f=a.length,h=this;if(0<f){b=b||function(){};var g=function(){d++;f===d&&b()};var n=h._getLs();var m=new Da({});for(c=0;c<f;c++)(function(a){m.request("https://"+(h._replaceBase[a]?a:h.baseUrl+a)+"/sync_cookie_image_check",
{},function(b){g();var c=v.getMinutes();b||(c-=1435);b=n.get("synced")||{};b[a]=c;n.set("synced",b)})})(a[c])}else b()},_getCn:function(){this._cn||(this._cn=new Hb({fake:!0,globalConfig:this.globalConfig}));return this._cn},_getLs:function(){this._ls||(this._ls=new ea);return this._ls},_getTld:function(){var a=h.getTld();return{am:"com.am",tr:"com.tr",ge:"com.ge",il:"co.il","\u0440\u0444":"ru","xn--p1ai":"ru","\u0443\u043a\u0440":"ua","xn--j1amh":"ua","\u0431\u0435\u043b":"by","xn--90ais":"by"}[a]||
a},_getDomainByLang:function(){if(!m.navigator)return"ru";try{var a=navigator.languages?navigator.languages[0]:x.getLanguage()}catch(b){}a&&a.toLowerCase&&(a=a.toLowerCase().split("-")[0]);return this.langToDomain[a]||"ru"}}),lc=function(a,b){var c={s:new ea,k:a,c:b};return function(a){return a(c)}},Jb=function(a){a.c._isDestructing=!0;a.c.destruct?a.c.destruct():null},mc=function(a,b){0===parseFloat(a.c_recp)&&(Jb(b),b.s.set("ymoo"+b.k,v.getMinutes()))},nc=function(a){var b=v.getMinutes(),c;a.s.isEnabled()&&
(c=a.s.get("ymoo"+a.k))&&30>b-c&&Jb(a)},oc=Wa.inherit({id:"RawBodyXHR",index:9,postParams:["body"],_setHeaders:function(){},_preparePostParams:function(a){return a.post.body||""}});x.isAndroid=F(function(){var a=navigator.userAgent.toLowerCase(),b=x.getPlatform()||"";return-1<a.indexOf("android")&&-1<a.indexOf("mobile")&&b.match(/^android|linux armv/i)},"",!0);var Sa={_url:"https://mc.yandex.ru/user_storage_set?",_params:{},init:function(a){this._params=a||{}},save:function(a,b){this._getReq().request(this._url+
Ca.stringify({key:a,value:h.toJSON(b)}));this._getLs().set(a,b)},get:function(a){return{remote:this._params[a],local:this._getLs().get(a)}},getNum:function(a){a=this.get(a);return Math.max(+a.remote||0,+a.local||0)},_getLs:function(){this._ls||(this._ls=new ea);return this._ls},_getReq:function(){this._req||(this._req=new Da);return this._req}},pc={sync:F(function(a,b,c,d){var f={t:'UV|L7,!"T[rwe\x26D_\x3eZIb\\aW#98Y.PC6k'};this.globalConfig=d||C;if(this._enabled(a,b,c)){this._setStatus(!0);var h=
new oc({method:"GET",withCredentials:!1});var g=this._getHosts();var n=g.length;(function p(a){var b=g[a];a<n?h.request(b[0]+":"+b[1]+"/p",f,function(c,d){c?this._save(c,d,b[1]):p.call(this,a+1)},this):this._save(!1)}).call(this,0)}},"ds"),_getHosts:function(){var a=[],b=M.protocol,c=x.isIOS();(x.isAndroid()||c&&"http:"===b)&&a.push(["http://127.0.0.1","30102"],["http://127.0.0.1","29009"]);c&&"https:"===b&&a.push(["https://yandexmetrica.com","30103"],["https://yandexmetrica.com","29010"]);return a},
_save:function(a,b,c){var d=v.getMinutes();a?(new Ra({protocol:"https:",counterType:0,counterId:42822899,sendTitle:!1,fake:!0})).sendDevice({data:h.trim(b),port:c}):d-=45;Sa.save("ds",d)},_is:function(){try{return!!this.globalConfig.get("dSync")}catch(a){return!1}},_enabled:function(a,b,c){if(!(60<v.getMinutes()-Sa.getNum("ds"))||this._is()||h.isDev(this.globalConfig))return!1;a=0===b&&0<=h.arrayIndexOf([39370095,1282253,29302335,43653484,41734944,31048081,16443139,27737346,41870499,33911514,30744873,
5564395,2580487],a);a=qa()||!c&&.1>=Math.random()&&a;c=x.isIOS()&&a;return x.isAndroid()&&a||c},_setStatus:function(a){try{this.globalConfig.set("dSync",a)}catch(b){}}},X={getPos:function(a){var b=w.getRootElement(),c=w.getDocumentScroll();return[a.pageX||a.clientX+c[0]-(b.clientLeft||0)||0,a.pageY||a.clientY+c[1]-(b.clientTop||0)||0]},getTarget:function(a){var b=null;try{if(b=a.target||a.srcElement)!b.ownerDocument&&b.documentElement?b=b.documentElement:b.ownerDocument!==u&&(b=null)}catch(c){}return b},
getMouseButton:function(a){return a.which||a.button==A?a.which:a.button&1?1:a.button&2?3:a.button&4?2:0},prevent:function(a){a=a||m.event;a.preventDefault?a.preventDefault():a.returnValue=!1}};X.dispatchCustomEvent=F(function(a,b){var c;b=b||u;if(c=h.getNativeFunction("createEvent",u)("Event"))c.initEvent(a,!1,!1),h.getNativeFunction("dispatchEvent",b)(c)},"evt.dispatch");var Za={lastReferrer:null},Ia=I.inherit({counter:null,prefsEcommerce:null,status:{NEW:A,PENDING:1,OK:2,FAIL:3},overrideTimeout:null,
dataLayerName:"dataLayer",_initComponent:function(){Ia.superclass._initComponent.apply(this,arguments);this.frameConnector&&this.frameConnector.addHandler("params",function(a,b){if(this.counter&&this.counter.params)this.onCookies(function(a){this.counter.params(a.data)},this,b)},this);this._overridePush(this.globalConfig.get("dataLayer"))},waitPool:[],destruct:function(){this.frameConnector&&this.frameConnector.destruct&&(this.frameConnector.destruct(),this._send=function(){},this.waitPool=[],this.onCookies=
function(){});h.clearTimeout(this.overrideTimeout)},onCookies:function(a,b){this.waitPool.push({fn:a,ctx:b,args:[].slice.call(arguments,2)})},initUserLayer:function(){var a="customArr";h.arrayEvery(this.waitPool,function(a){a.fn.apply(a.ctx,a.args);return 1});this.onCookies=function(a,c){a.apply(c,[].slice.call(arguments,2))};if(this.prefsEcommerce||this.prefsUseDataLayer)this._overridePush(this.prefsEcommerce)||(h.isString(this.prefsEcommerce)&&(this.dataLayerName=this.prefsEcommerce),a=this.dataLayerName,
this._tryTimeout=h.bind(this._tryTimeout,this),this._tryTimeout()),this.counter._ecommerce=a},_overridePush:function(a){if(a&&"function"==typeof a.push){var b=this;b._send(a);var c=a.push;a.push=function(){var a=c.apply(this,arguments);b._send([].slice.call(arguments,0));return a};return!0}return!1},_tryTimeout:function(){this._overridePush(m[this.dataLayerName])||(this.overrideTimeout=h.setTimeout(this._tryTimeout,1E3,"dlObserver"))},_callHandlers:function(a){h.arrayEvery(Ia.handlers,function(b){b&&
b.type&&h.arrayEvery(b.type.split(","),function(c){c.replace(" ","")===a.type&&b.callback&&b.callback(a);return 1});return 1})},allowedEvents:"currencyCode add delete remove purchase checkout detail".split(" "),_convert:function(a,b){var c=h.keys(b),d=!1,f={transaction_id:"id",value:"revenue"};if(b.items){var l={};l[a]={products:b.items};1<c.length&&(l[a].actionField=h.reduce(function(a,c){f[c]?a[f[c]]=b[c]:"currency"===c?d=b[c]:"items"!==c&&b[c]&&(a[c]=b[c]);return a},{},c));d&&(l.currencyCode=d);
return l}},_checkGtag:function(a){var b={view_item:"detail",add_to_cart:"add",remove_from_cart:"remove",begin_checkout:"checkout",purchase:"purchase"},c=[];a&&"event"===a[0]&&b[a[1]]&&(a=this._convert(b[a[1]],a[2]))&&c.push(a);return c},_send:function(a){var b=[],c=this.allowedEvents,d,f;var l=0;for(f=a.length;l<f;l++){if((d=a[l])&&d.ymetrikaEvent){var g=d.ymetrikaEvent;this._callHandlers(g);if("params"===g.type&&g.data){g.sended||(g.sended=[]);if(g.counter)this.counter&&this.counter.params&&this.counterId==
g.counter&&(this.onCookies(function(a){this.counter.params(a.data)},this,h.mixin({},g)),g.sended.push(this.counterId));else this.onCookies(function(a){h.forEachKey(this.globalConfig.get("counters"),function(b,c){var d=b.split(":")[0];!h.inArray(a.sended,d)&&c&&c.params&&(c.params(a.data),a.sended.push(d))},this)},this,h.mixin({},g));g.status==this.status.NEW&&g.parent&&this.frameConnector&&this.frameConnector.checkFrame(m.parent)&&m.parent!==m&&(this.frameConnector.sendToParents({type:"params",data:g.data},
function(){g.status=this.status.OK},this),g.status=this.status.PENDING)}}if(d&&d.ecommerce){var n={};var r=!1;h.forEachKey(d.ecommerce,function(a,b){0<=h.arrayIndexOf(c,a)&&(r=!0,n[a]=b)});r&&b.push(n)}b=b.concat(this._checkGtag(d))}if(b.length)this.onCookies(function(a){this.counter.params({__ym:{ecommerce:a}})},this,b)}});Ia.handlers=[];Ca.parse=function(a,b){var c={},d;a=a&&a.replace(/^\?/,"")||"";if(a.length){var f=a.split("\x26");for(d=0;d<f.length;d++)if(f[d]){var l=f[d].split("\x3d");if(l[0]){var g=
h.safeDecodeURIComponent(l[0]);l=h.safeDecodeURIComponent((l[1]||"").replace(/\+/g,"%20"));b&&g in c?h.isArray(c[g])?c[g].push(l):c[g]=[c[g],l]:c[g]=l}}}return c};var Kb="GDPR-ok GDPR-cross GDPR-cancel GDPR-skip GDPR-frame-skip GDPR-frame-ya GDPR-frame-noya GDPR-open-start GDPR-eu-skip GDPR-open-fail GDPR-open-success GDPR-cookie-success GDPR-cookie-fail GDPR-skip-login GDPR-skip-domain GDPR-skip-na GDPR-skip-eu-na GDPR-skip-wv GDPR-settings GDPR-ok-view-default GDPR-ok-view-detailed 21 22 23".split(" "),
qc=["https://brozen.yandex.ru","https://yabro1.zen-test.yandex.ru/yabro/index.html","https://yabro2.zen-test.yandex.ru/yabro/index.html"],xa=I.inherit({globalKey:"f1",MAX_SIZE:1E6,isYAN:!1,trigger:function(a){this.globalConfig.get("dataLayer").push({ymetrikaEvent:{type:a}})},initCounter:function(){},enabled:qa()&&-1<m.location.href.indexOf("yagdprcheck\x3d1"),_initComponent:function(){this._cookie=xa.cookie;this._sender=new Hb({fake:!0,globalConfig:this.globalConfig,forceNoRedirect:!0})},realise:function(a,
b){this.initCounter.apply(m,a);this.globalConfig.set(this.globalKey,function(a){a()});b.length&&mb.chain(b.concat([function(){b=[]}]),null,!1,"GDPR")},accept:function(a,b,c){c.create("gdpr","0",525600);this.realise(a,b);this.frameConnector.sendToChildren({type:"GDPR-ok"})},showPopup:function(a,b,c,d,f){var l=this,g="",m="",r=[];g="https://yastatic.net/q/global-notifications/cc/_lego-cc"+a+".";m="21";r="ru en kk be ky tr tt uk".split(" ");h.inArray(r,b)||(b="en");g?(a=w.loadScript({src:g+b+".js"}),
l.trigger("GDPR-open-start"),a.onerror=function(a){F(function(){throw a;},"gdpr-popup")();l.trigger("GDPR-open-fail");l.realise(c,d);l.frameConnector.sendToChildren({type:"GDPR-ok"})},a.onload=function(){l.trigger("GDPR-open-success");l.trigger(m);Ia.handlers=Ia.handlers.concat([{type:"GDPR-ok, GDPR-cross",callback:function(a){a.once||(l.accept(c,d,f),a.once=!0)}},{type:"GDPR-cancel",callback:function(){f.create("gdpr","1");l.logCancel();l.frameConnector.sendToChildren({type:"GDPR-cancel"})}}])}):
(l.trigger("GDPR-open-success"),l.trigger(m),l.accept(c,d,f))},askGDPR:function(a,b,c,d,f,l){if(h.inArray([null,""],a))this.showPopup(b,c,d,f,l);else if("0"===a)this.trigger("GDPR-cookie-success"),this.realise(d,f);else if("1"===a)return this.trigger("GDPR-cookie-fail"),this.logCancel(),!1},logCancel:function(){this._sender.hit(function(){},!1)},handle:function(){var a=this._sender,b=[],c=(x.getLanguage()||"").toLowerCase().split("-")[0],d="ontouchstart"in m?"-touch":"",f=this._cookie,l=f.read("gdpr"),
g=f.read("yaGdprCheck"),n=this,r=this.globalConfig.get(this.globalKey),t=arguments;b.size=0;if(r)return r(function(){n.realise(t,b)});if(!this.enabled&&("0"===l||x.isSafariWebView()||x.isAndroidWebView()||h.inArray(qc,m.location.href.split("?")[0])||!qa()||f.read("yandex_login")||this.disable))return f.read("yandex_login")?(this.trigger("GDPR-skip-login"),f.create("gdpr","0",525600)):qa()?"0"===l?this.trigger("GDPR-skip"):x.isSafariWebView()||x.isAndroidWebView()?this.trigger("GDPR-skip-wv"):this.trigger("GDPR-skip-na"):
this.trigger("GDPR-skip-domain"),this.realise(t,b);this.globalConfig.set(this.globalKey,function(a,c){var d=0;try{d=JSON.stringify(c).length||0}catch(k){}b.size+d<n.MAX_SIZE?(b.push(a),b.size+=d):h.warning("GDPR buffer is exceeded")});a.hit(function(a){if(a.params.eu||g||n.enabled)if(n.frameConnector&&n.frameConnector.addHandler("isYandex",function(){return{type:"isYandex",isYandex:qa()}}),n.frameConnector.isIframe){n.frameConnector.sendToParents({type:"isYandex"},function(a,c){var d=!1;clearTimeout(m);
c[0].isYandex?(n.trigger("GDPR-frame-ya"),n.frameConnector.addHandler("GDPR-ok",function(){d||(f.create("gdpr","0",525600),n.realise(c,b),d=!0)}),n.frameConnector.addHandler("GDPR-cancel",function(){f.create("gdpr","1")})):(n.trigger("GDPR-frame-noya"),n.realise(c,b))});var m=h.setTimeout(function(){n.trigger("GDPR-frame-skip");n.realise(t,b)},2E3)}else n.askGDPR(l,d,c,t,b,f);else return a.params.eu?n.trigger("GDPR-skip-eu-na"):(f.create("gdpr","0"),n.trigger("GDPR-eu-skip")),n.realise(t,b)})}});
xa.globalKey="f1";xa.cookie=new T({skipPrefix:!0});xa.getState=function(a){var b=xa.cookie.read("gdpr");a=h.reduce(function(a,b){b.ymetrikaEvent&&h.inArray(Kb,b.ymetrikaEvent.type)&&a.push(h.arrayIndexOf(Kb,b.ymetrikaEvent.type));return a},[],a.get("dataLayer"));return a.length?(a=a.join(","),b&&(a+="-"+(h.inArray(["0","1"],b)?b:"2")),a):""};var rc={init:function(a,b,c){"22663942"==c&&(c=u.createElement("img"),a&&a.account&&a.tmsec&&b&&(c.src="https://www.tns-counter.ru/V13a****"+a.account+"/ru/UTF-8/tmsec\x3d"+
a.tmsec+"/"+b))}};x.isIE=h.memorize(function(){return u&&!u.addEventListener||!1});x.isChromePdf=h.memorize(function(){var a,b=navigator.plugins;if(b&&b.length)for(a=0;a<b.length;a++)if(/Chrome PDF Viewer/.test(b[a].name))return!0;return!1});x.isPrivate=F(function(a){var b=h.bind(a,null,0);a=h.bind(a,null,1);if(h.isFunction(m.webkitRequestFileSystem)&&!x.isAndroid())return m.webkitRequestFileSystem(0,0,b,a);if(x.isFF())return"undefined"==typeof navigator.serviceWorker?a():b();if(x.isSafari()&&h.isFunction(m.openDatabase))try{m.openDatabase(null,
null,null,null),b()}catch(c){a()}else{if(m.indexedDB||!m.PointerEvent&&!m.MSPointerEvent)return b();a()}},"isPrivate");x.findTarget=function(a){a=a.target||a.srcElement;var b;if(!a)return!1;3==a.nodeType&&(a=a.parentNode);for(b=a&&a.nodeName&&a.nodeName.toString().toLowerCase();a&&a.parentNode&&a.parentNode.nodeName&&("a"!==b&&"area"!==b||!a.href&&!a["xlink:href"]);)b=(a=a.parentNode)&&a.nodeName&&a.nodeName.toString().toLowerCase();return a.href?a:!1};x.getHref=function(a){if(!a)return"";a=a.href;
return h.isString(a)?""+a:"[object SVGAnimatedString]"===h.toString(a)?""+a.baseVal:""};x.getLinkComponents=function(a){return a&&"A"===a.nodeName?{href:a.href,hostname:a.hostname||h.parseUrl(a.href).hostname||"",host:a.host,protocol:a.protocol,pathname:a.pathname,hash:a.hash,port:a.port,search:a.search,query:a.search.slice(Math.min(1,a.search.length)),path:(a.pathname||"/")+a.search}:h.isString(a)?h.parseUrl(a):{href:"",hostname:"",host:"",protocol:"",pathname:"",hash:"",port:"",search:"",query:"",
path:""}};var sc=U.inherit({resource:"clmap",retry:!0,transports:[Da],sendClick:function(a,b,c,d){this.send({"page-url":a,"pointer-click":b},{},c,d)}}),tc=I.inherit({filter:null,ignoreTags:[],quota:0,isTrackHash:!1,protocol:"",counterId:0,counterType:0,startTime:0,MAX_LEN_PATH:128,TIMEOUT_CLICK:50,TIMEOUT_SAME_CLICKS:1E3,DELTA_SAME_CLICKS:2,tags:"A B BIG BODY BUTTON DD DIV DL DT EM FIELDSET FORM H1 H2 H3 H4 H5 H6 HR I IMG INPUT LI OL P PRE SELECT SMALL SPAN STRONG SUB SUP TABLE TBODY TD TEXTAREA TFOOT TH THEAD TR U UL ABBR AREA BLOCKQUOTE CAPTION CENTER CITE CODE CANVAS DFN EMBED FONT INS KBD LEGEND LABEL MAP OBJECT Q S SAMP STRIKE TT ARTICLE AUDIO ASIDE FOOTER HEADER MENU METER NAV PROGRESS SECTION TIME VIDEO NOINDEX NOBR MAIN svg circle clippath ellipse defs foreignobject g glyph glyphref image line lineargradient marker mask path pattern polygon polyline radialgradient rect set text textpath title".split(" "),
_initComponent:function(){var a,b;this._lastClick=null;this.hasQuota=!!this.quota;this._quota=this.quota;this._ignoreTags=[];if(this.ignoreTags)for(a=0;a<this.ignoreTags.length;a++)this.ignoreTags[a]&&h.mergeArrays(this._ignoreTags,[String(this.ignoreTags[a]).toUpperCase()]);this._cacheTags={};a=59;var c=String.fromCharCode;for(b=0;b<this.tags.length;b++)this._cacheTags[this.tags[b]]=c(a),c(a),a++;this._sender=new sc({globalConfig:this.globalConfig,protocol:this.protocol,counterId:this.counterId,
counterType:this.counterType});this._start=!1;this.start()},destroy:function(){this.stop()},start:function(){if(!this._start)y.on(u,"click",this._handler,this);this._start=!0},stop:function(){this._start&&y.un(u,"click",this._handler,this);this._start=!1},setTrackHash:function(a){this.isTrackHash=a},_isIgnore:function(a){return w.classNameExists(a,"(ym-disable-clickmap|ym-clickmap-ignore)")},_handler:function(a){a={el:X.getTarget(a),pos:X.getPos(a),button:X.getMouseButton(a),time:+new Date};if(this._isTrackingClick(a)){var b=
w.getElementSize(a.el);var c=w.getElementXY(a.el);b=["rn",h.random(),"x",Math.floor(65535*(a.pos[0]-c[0])/(b[0]||1)),"y",Math.floor(65535*(a.pos[1]-c[1])/(b[1]||1)),"t",Math.floor((a.time-this.startTime)/100),"p",this._getElPath(a.el),"X",a.pos[0],"Y",a.pos[1]];c=L().href;this.isTrackHash?h.mergeArrays(b,["wh","1"]):c=c.split("#")[0];this._sender.sendClick(h.trim(c,lb),b.join(":"));this._lastClick=a}},_isTrackingClick:function(a){var b;if(m.ymDisabledClickmap||h.isMetrikaPlayer()||!a.el)return!1;
var c=a.el.tagName;if((2==a.button||3==a.button)&&"A"!=c||this.filter&&!this.filter(a.el,c))return!1;for(b=0;b<this._ignoreTags.length;b++)if(this._ignoreTags[b]==c)return!1;for(c=a.el;c;){if(this._isIgnore(c))return!1;c=c.parentNode}if(this._lastClick){if(a.time-this._lastClick.time<this.TIMEOUT_CLICK)return!1;c=Math.abs(this._lastClick.pos[0]-a.pos[0]);b=Math.abs(this._lastClick.pos[1]-a.pos[1]);var d=a.time-this._lastClick.time;if(this._lastClick.el==a.el&&c<this.DELTA_SAME_CLICKS&&b<this.DELTA_SAME_CLICKS&&
d<this.TIMEOUT_SAME_CLICKS)return!1}if(this.hasQuota){if(!this._quota)return!1;this._quota--}return!0},_getElPath:function(a){for(var b="";a&&a.parentNode&&"BODY"!=a.tagName&&"HTML"!=a.tagName;)b+=this._cacheTags[a.tagName]||"*",b+=w.getElementNeighborPosition(a)||"",a=a.parentNode;return h.trim(b,this.MAX_LEN_PATH)}}),Lb=I.inherit({injectHash:{Wjw75ghm7fa7JW8p:"https://yastatic.net/metrika-static-watch/assessor-init.js",Z4RhWJNDJanzkGJa:"https://yastatic.net/metrika-static-watch/assessor-compare.js"},
ASSESSOR_COOKIE:"assessor",REMOTE_CONTROL:"i",getInjectHash:function(){var a={};h.forEachKey(this.injectHash,function(b){a[za+(""+h.fnv32a(b))]=this.injectHash[b]},this);return a},checkAssessor:function(){var a=[],b=this.getInjectHash();h.forEachKey(b,function(c){if((new RegExp(c)).test(m.location.hash)||T.get(this.ASSESSOR_COOKIE+c))T.set(this.ASSESSOR_COOKIE+c),a.push(b[c])},this);return a},_initComponent:function(){var a=this.checkAssessor();this.globalConfig.get(this.REMOTE_CONTROL)||(this.globalConfig.set(this.REMOTE_CONTROL,
!0),Lb.superclass._initComponent.apply(this,arguments),this._executedMsgs={},y.on(m,"message",this._onMessage,this),a.length&&(this.globalConfig.set("oo",!0),this.globalConfig.get("stopRecoder",function(){})(),h.arrayEvery(a,function(a){w.loadScript({src:a},m);return 1})))},_buildRemoteIframe:function(a){var b=h.getNativeFunction("createElement",u)("div"),c=w.getBody()||u.documentElement;if(c){b.innerHTML='\x3ciframe name\x3d"RemoteIframe" allowtransparency\x3d"true" style\x3d"position: absolute; left: -999px; top: -999px; width: 1px; height: 1px;"\x3e\x3c/iframe\x3e';
var d=b.firstChild;d.onload=function(){w.loadScript({src:a},d.contentWindow)};m._ym__remoteIframeEl=d;b.createShadowRoot||b.webkitCreateShadowRoot?(c.appendChild(b),b.removeChild(d),(c=b.createShadowRoot?b.createShadowRoot():b.webkitCreateShadowRoot())&&c.appendChild(d),m._ym__remoteIframeContainer=b):(c.appendChild(d),m._ym__remoteIframeContainer=d)}},_isAllowedLang:function(a){return-1!==h.arrayIndexOf("ru uk en tr es de".split(" "),a)},_isAllowedOrigin:function(a){return/^http:\/\/([\w\-.]+\.)?webvisor\.com\/?$/.test(a)},
_isAllowedStatic:function(a){return/^(([\w\-.]+\.)?dev\.metrika\.yandex\.ru|internal-metrika-betas\.s3\.mds\.yandex\.net|yastatic\.net)$/.test(a)},_onMessage:function(a){try{var b=a.origin}catch(c){}b&&this._isAllowedOrigin(b)&&(b=R.parse(a.data))&&"appendremote"===b.action&&this._isAllowedStatic(h.parseUrl(b.domain).host)&&this._isAllowedLang(b.lang)&&!this._executedMsgs[b.id]&&(this._executedMsgs[b.id]=!0,m._ym__postMessageEvent=a,m._ym__inpageMode=b.inpageMode,m._ym__initMessage=b.initMessage,
this._buildRemoteIframe(b.domain+"/cdn/inpage-remote/"+(b.newScriptAddr?"_inpage-remote_":"inpage-remote.")+b.lang+".js"))}}),uc={match:function(){this.enabled()&&y.ready(function(){var a=h.getNativeFunction("createElement",u)("iframe");a.onload=function(){Sa.save("cm",v.getMinutes());w.removeNode(a)};a.style.display="none";a.src="https://mc.yandex.ru/metrika/watch_match.html";u.documentElement.appendChild(a)})},enabled:function(){return 1440<v.getMinutes()-Sa.getNum("cm")&&"tr"===h.getTld()}};F(function(){(function(a){function b(d){if(c[d])return c[d].exports;
var f=c[d]={i:d,l:!1,exports:{}};a[d].call(f.exports,f,f.exports,b);f.l=!0;return f.exports}var c={};b.m=a;b.c=c;b.d=function(a,c,h){b.o(a,c)||Object.defineProperty(a,c,{configurable:!1,enumerable:!0,get:h})};b.n=function(a){var c=a&&a.__esModule?function(){return a["default"]}:function(){return a};b.d(c,"a",c);return c};b.o=function(a,b){return Object.prototype.hasOwnProperty.call(a,b)};b.p="";return b(b.s=3)})({0:function(a,b,c){b.__esModule=!0;b.listToArray=function(a){return a?[].slice.call(a):
[]}},1:function(a,b,c){b.__esModule=!0;var d=[".googlesyndication.com/","/googleads"];b.isGoogleSrc=function(a){return!(!a||!d.filter(function(b){return 0<a.indexOf(b)}).length)}},3:function(a,b,c){b.__esModule=!0;a={detectAd:c(4).detectAd};m.Ya?m.Ya.AdDetector?a=m.Ya.AdDetector:m.Ya.AdDetector=a:m.Ya={AdDetector:a};b.AdDetector=a},34:function(a,b,c){b.__esModule=!0;b.getParentElementsCount=function(a){for(var b=0;;)if(a=a.parentElement)b++;else return b}},4:function(a,b,c){b.__esModule=!0;var d=
c(5),f=c(9),h=c(34),g=c(6),n=u.body,r=u.documentElement;b.detectAd=function(){var a=m.pageYOffset||r.scrollTop||n.scrollTop,b=m.pageXOffset||r.scrollLeft||n.scrollLeft,c=r.clientTop||n.clientTop||0,l=r.clientLeft||n.clientLeft||0,k=r.scrollWidth||r.offsetWidth||m.innerWidth,e=r.scrollHeight||r.offsetHeight||m.innerHeight,u=g.getFrienlyWindowsTree(m),w=[];g.windowsTreeEach(u,function(a){var b=a.window,c=a.parent,e=0<d.getParentFriendlyIFrames(b.document.documentElement).length,g=f.getAdsInWindow(b,
{isInIFrame:e});e=g.adElements;g=g.iframeProviders;if(c){var h=b.frameElement,k=w.filter(function(a){return a.windowsTree===c})[0].adElements;g.forEach(function(a){k.push({provider:a,element:h})})}w.push({windowsTree:a,adElements:e})});w.forEach(function(a){a.adElements=a.adElements.sort(function(a,b){return h.getParentElementsCount(a.element)-h.getParentElementsCount(b.element)})});var v=[],y=[];w.forEach(function(a){var b=a.windowsTree,c=b.parent;a=a.adElements;b=d.getParentFriendlyIFrames(b.window.document.documentElement);
var e=b[b.length-1];a.forEach(function(a){var b=a.element;y.push({provider:a.provider,element:c?e:b})})});y.forEach(function(d){var f=d.element;var g=f.getBoundingClientRect();var h=g.top+a-c;g=g.left+b-l;var m=f.clientWidth;f=f.clientHeight;var n=g+m,p=h+f,q=0>g?0:g<k?g:k,r=0>h?0:h<e?h:e;100<=((n>k?k:n>q?n:q)-q)*((p>e?e:p>r?p:r)-r)&&v.push({top:h,left:g,width:m,height:f,provider:d.provider})});return{page:{width:k,height:e},window:{top:a,left:b,width:m.innerWidth,height:m.innerHeight},ads:v}}},5:function(a,
b,c){b.__esModule=!0;b.getParentFriendlyIFrames=function(a){for(var b=[];;)try{if(a=a.ownerDocument.defaultView.frameElement)b.push(a);else return b}catch(l){return b}}},6:function(a,b,c){function d(a){return m.listToArray(a.document.getElementsByTagName("iframe")).filter(function(a){if(g.isSafari)return!1;try{return a.contentWindow.document}catch(p){return!1}}).map(function(a){return a.contentWindow})}function f(a,b){var c={window:a,children:[],parent:b};c.children=d(a).map(function(a){return f(a,
c)});return c}function h(a,b){b(a);a.children.forEach(function(a){return h(a,b)})}b.__esModule=!0;var g=c(7),m=c(0);b.getFrienlyWindowsTree=f;b.windowsTreeEach=h},7:function(a,b,c){b.__esModule=!0;a=c(8);b.isSafari=a.isSafari()},8:function(a,b,c){b.__esModule=!0;b.isSafari=function(){var a=navigator.userAgent.toLowerCase();return-1!==a.indexOf("safari")&&-1===a.indexOf("chrome")&&-1===a.indexOf("android")}},9:function(a,b,c){b.__esModule=!0;var d=c(0),f=c(1);b.getAdsInWindow=function(a,b){function c(a,
b){b.forEach(function(b){e.push({provider:a,element:b})})}var g=b.isInIFrame,h=a.document.body,l=d.listToArray(h.querySelectorAll("img")),m=d.listToArray(h.querySelectorAll("iframe")),q=d.listToArray(h.querySelectorAll("script")),k=d.listToArray(h.querySelectorAll("div")),e=[],u=[],w=d.listToArray(h.querySelectorAll("yatag")),v=d.listToArray(h.querySelectorAll("yatag yatag"));c("yandex",w.filter(function(a){return-1===v.indexOf(a)}));c("adriver",m.filter(function(a){return(a=a.src)&&-1<a.indexOf(".adriver.ru/")}));
c("adfox",m.filter(function(a){return(a=a.id)&&-1<a.toLowerCase().indexOf("adfox")}));c("adfox",l.filter(function(a){return(a=a.src)&&-1<a.indexOf("/banners.adfox.ru/")}));c("adfox",k.filter(function(a){return-1<a.id.indexOf("AdFox_banner_")}));g&&l.filter(function(a){return(a=a.src)&&-1<a.indexOf(".adfox.ru/")}).length&&u.push("adfox");m.filter(function(a){return f.isGoogleSrc(a.src)}).forEach(function(a){e.push({provider:"google",element:a})});g&&q.filter(function(a){return f.isGoogleSrc(a.src)}).length&&
u.push("google");c("awaps",m.filter(function(a){return(a=a.src)&&-1<a.indexOf("awaps.yandex.net/")}));c("criteo",m.filter(function(a){var b=a.src;a=a.id;return b&&(-1<b.indexOf(".criteo.com/")||a&&-1<a.indexOf("cto_iframe_"))?!0:!1}));return{adElements:e,iframeProviders:u}}}})},"",!0)();var vc={init:function(a,b){if(Math.random()<(b||.005)&&!C.get("adDetect")){C.set("adDetect",!0);var c=function(b){var c=m.Ya.AdDetector.detectAd();var d=c.window;var f=c.page;a.sendParams({__ym:{ads:{w:{t:d.top,l:d.left,
w:d.width,h:d.height},p:{w:f.width,h:f.height},a:h.map(function(a){return{t:a.top,l:a.left,w:a.width,h:a.height,p:a.provider}},c.ads),full:b?1:0}}})};var d=F(function(){y.un(m,"load",d);c(!0)},"",!0);y.on(m,"load",d);h.setTimeout(c,1E4,"AdDetector",!0)}}},Mb=I.inherit({message:m.postMessage,spliter:":",nameSpace:"__yminfo",pending:{},childs:{},isIframe:!1,parents:{},dataToSend:{parents:[],childs:[]},checkFrame:function(a){try{var b=a&&a.postMessage}catch(c){return!1}return b},checkChildrenData:function(a,
b){h.arrayEvery(this.dataToSend.childs,function(c){-1==h.arrayIndexOf(c.tryTo,b.counterId)&&(c.tryTo.push(b.counterId),h.mixin(c.data,{toCounter:b.counterId}),this.sendToIframe(a,c.data,function(){c.sendedTo.push(b.counterId);c.callback&&c.callback(b,arguments)}));return!0},this)},checkParentData:function(a,b){h.arrayEvery(this.dataToSend.parents,function(c){-1==h.arrayIndexOf(c.tryTo,b.counterId)&&(c.tryTo.push(b.counterId),h.mixin(c.data,{toCounter:b.counterId}),this.sendToIframe(a,c.data,function(){c.sendedTo.push(b.counterId);
c.callback&&c.callback(b,arguments)}));return!0},this)},getHandlers:function(){return{initToChild:[{fn:function(a,b){a.source===m.top&&this.trigger("parentConnect",a,b)}}],initToParent:[{fn:function(a,b){this.childs[b.counterId]={info:b,window:a.source};this.checkChildrenData(a.source,b)}}],parentConnect:[{fn:function(a,b){this.parents[b.counterId]={info:b,window:a.source};this.checkParentData(a.source,b)}}]}},genMessage:function(a,b){var c={date:v.getMs(),key:Math.random(),dir:0};b&&(c={date:b[0],
key:b[1],dir:b[2]});h.mixin(a,{counterId:this.counterId,hid:this.hid});var d={data:a};d[this.nameSpace]=[this.nameSpace,c.date,c.key,c.dir].join(this.spliter);return{meta:c,string:R.stringify(d)}},sendToIframe:function(a,b,c,d){b=this.genMessage(b);var f=this,l=[b.meta.date,b.meta.key].join(this.spliter);this.checkFrame(a)&&(a.postMessage(b.string,"*"),this.pending[l]=h.bind(c,d||this),h.setTimeout(function(){delete f.pending[l]},5E3,this,"fc.toSendToIframe"))},sendToChildren:function(a,b,c){var d=
this,f=this.dataToSend.childs.push({sendedTo:[],tryTo:[],callback:b?h.bind(b,c||this):!1,data:a})-1;h.forEachKey(this.childs,function(a){this.dataToSend.childs[f].tryTo.push(a);return 1},this);h.keys(this.childs).length&&h.forEachKey(this.childs,function(b){this.sendToIframe(d.childs[b].window,h.mixin(a,{toCounter:b}),function(a){this.dataToSend.childs[f].sendedTo.push(b);this.dataToSend.childs[f].callback&&this.dataToSend.childs[f].callback(a)},this)},this)},sendToParents:function(a,b,c){var d=this.dataToSend.parents.push({sendedTo:[],
tryTo:[],callback:b?h.bind(b,c||this):!1,data:a})-1;h.forEachKey(this.parents,function(a){this.dataToSend.parents[d].tryTo.push(a);return 1},this);h.keys(this.parents).length&&this.sendToIframe(m.parent,a,function(a){h.forEachKey(this.parents,function(b){this.dataToSend.parents[d].sendedTo.push(b);this.dataToSend.parents[d].callback&&this.dataToSend.parents[d].callback(a)},this)},this)},addHandler:function(a,b,c){this.handlers[a]||(this.handlers[a]=[]);this.handlers[a].push({fn:b,ctx:c})},destruct:function(){y.un(m,
"message",this.onMessage,this,{passive:!1,name:"FrameConnector"});this.sendToIframe=function(){};this.parents=[];this.pending={};this.childs={};this.dataToSend={parents:[],childs:[]}},_initComponent:function(){var a=m.document.getElementsByTagName("iframe"),b=0;Mb.superclass._initComponent.apply(this,arguments);this.handlers=h.mixin({},this.getHandlers());this.isIframe=x.isIframe();if(this.message){for(b=0;b<a.length;b++){var c=a[b];(function(a,b){a.sendToIframe(b.contentWindow,{type:"initToChild"},
function(c){a.childs[c.counterId]={info:c,window:b.contentWindow}})})(this,c)}this.isIframe&&this.sendToIframe(m.parent,{type:"initToParent"},function(a){this.trigger("parentConnect",{source:m.parent},a)});y.on(m,"message",this.onMessage,this,{passive:!1,name:"FrameConnector"})}},trigger:function(a,b,c){var d=this;return h.map(function(a){a=a.fn.call(a.ctx||d,b,c)||{};return h.mixin(a,{counterId:d.counterId,hid:d.hid})},this.handlers[a])},DIR_INDEX:2,onMessage:function(a){var b,c=[];try{var d=a.data;
d=R.parse(a.data);var f=d[this.nameSpace]}catch(g){return}if(f&&f.substring&&f.substring(0,this.nameSpace.length)==this.nameSpace){for(b=0;3>=b;b++){var l=h.arrayIndexOf(f,this.spliter);-1!==l?c.push(f.substring(0,l)):c.push(f);f=f.substring(l+1)}b=c.splice(1,3);if((d=d.data)&&d.type&&this.handlers[d.type]&&"0"===b[this.DIR_INDEX]){if(!d.toCounter||d.toCounter==this.counterId){try{a.source}catch(g){return}d.counterId&&this.checkFrame(a.source)&&(l=this.trigger(d.type,a,d),a.source.postMessage(this.genMessage(l,
[b[0],b[1],d.counterId]).string,"*"))}}else b[this.DIR_INDEX]==this.counterId&&h.isArray(d)&&h.arrayEvery(d,function(a){return a.counterId&&a.hid})&&(a=this.pending[[b[0],b[1]].join(this.spliter)])&&a.apply(this,d)}}}),M=L(),gb=v.getTimezone(),hb=v.getTimestamp(),ia=m.screen,cc=64,lb=x.isIE()?512:2048,dc=x.isIE()?512:2048,zb=x.isIE()?100:400,Gb=100,kb="noindex",Nb=/\.(3gp|7z|aac|ac3|acs|ai|avi|ape|apk|asf|bmp|bz2|cab|cdr|crc32|css|csv|cue|divx|dmg|djvu?|doc(x|m|b)?|emf|eps|exe|flac?|flv|iso|swf|gif|t?gz|jpe?g?|js|m3u8?|m4a|mp(3|4|e?g?)|m4v|md5|mkv|mov|msi|ods|og(g|m|v)|psd|rar|rss|rtf|sea|sfv|sit|sha1|svg|tar|tif?f|torrent|ts|txt|vob|wave?|wma|wmv|wmf|webm|ppt(x|m|b)?|xls(x|m|b)?|pdf|phps|png|xpi|g?zip)$/i,
wc=new Ja({sampling:.01}),xc=+new Date,oa="Metrika",qb,db,za=function(){return"1904"}();C.init().setSafe("counters",{}).setSafe("hitParam",{}).setSafe("counterNum",0).setSafe("dataLayer",[]).setSafe("hitId",h.random(1,1073741824)).setSafe("_globalMetrikaHitId",h.random()).setSafe("v",za);Ea.globalConfig=C;oa="Metrika2";m.Ya[oa]=function(a,b,c,d){var f=this;return F(function(){function l(a){var b=u.referrer||"",c,d;if((new RegExp("^https?://"+M.host+"/")).test(b))return!1;var e=a.patterns;for(c=0;c<
e.length;c++){var f=new RegExp(e[c],"i");if(b.match(f))if(f=a.params||[],f.length){var g=h.safeDecodeURIComponent((RegExp.$1||"").replace(/\+/g,"%20"));for(d=0;d<f.length;d++)if(g==h.safeDecodeURIComponent(f[d]))return!0}else return!0}return!1}function g(a,b){var c=!1,d;if(a&&"string"!=typeof a&&a.length)for(d=0;d<a.length;d++){var e=a[d].selector;var f=a[d].text;var g=e.charAt(0);e=e.slice(1);if("#"==g){if(g=u.getElementById(e))c=!0,b&&fa.unshift([g,g.innerHTML]),g.innerHTML=f}else if("."==g)for(g=
w.getElementsByClassName(e),e=0;e<g.length;e++){c=!0;var h=g[e],k=f;b&&fa.unshift([h,h.innerHTML]);h.innerHTML=k}}return c}function n(){var a;for(a=0;a<fa.length;a++)fa[a][0].innerHTML=fa[a][1]}function r(a,b){var c,d="";a=a&&a.replace(/^\?/,"");b=b&&b.replace(/^#/,"")||"";if(a){var e=a.split("\x26");for(c=0;c<e.length;c++){var f=e[c].split("\x3d");"_openstat"===f[0]&&(d=f[1])}}var g=b.split("?");for(c=0;c<g.length;c++){var k=g[c].split("\x26");for(e=0;e<k.length;e++)f=k[e].split("\x3d"),"_openstat"===
f[0]&&(d=f[1])}d&&(d=-1<d.indexOf(";")?h.safeDecodeURIComponent(d):Qa.decode(na.decode(d.replace(/[-*_]/g,function(a){return{"*":"+","-":"/",_:"\x3d"}[a]||a}))));return d&&(c=d.split(";"),4==c.length)?{service:c[0],campaign:c[1],ad:c[2],source:c[3]}:null}function t(b,c,d){return F(function(){if(!f.isDestructing())return d&&wc.log("privateFields",c,a,1),b.apply(this,arguments)},c||"")}function p(){var p=!1,t=!1;ra||(t=U.initCookie(va),Ea.userInfo=U._userID,yb.init(C));Ea.initPU(P,C);x.isAndroidWebView()||
Ea.initPP(C);U.retransmit(C);wa&&rc.init(wa,Z,a);C.get("pri")!=A||x.isAndroidWebView()||(C.setSafe("pri",null),x.isPrivate(F(function(a){C.set("pri",a)},"privCb")));Eb.subscribe(W);if(C.get("hitParam")[W]){if(1!=c||C.get("counters")[W])return!1;p=!0}C.get("counters")[W]=f;C.get("hitParam")[W]=1;h.async(function(){Ea.initFip(C)},this,"initFip");f._webvisor=N.webvisor||!1;f._directCampaign=N.directCampaign;N.trackHash&&G(!0);if(!p){qa=new Db({protocol:"https:",globalConfig:C,counterId:a,counterType:c,
hid:Z,tz:gb,ts:hb,url:M.href,enabled:f._webvisor,trustedDomains:N.trustedDomains,childIframe:N.childIframe});f.replacePhones();p=new Ib({globalConfig:C});var v=function(e){var k=new pb({protocol:"https:",counterType:c,counterId:a,trackHash:Ba,hitId:Z,webvisor:f._webvisor,counter:f,globalConfig:C,counterNum:pa}),p={ut:ia,re:t,he:~~N.httpError,ad:1==c&&m.Ya&&m.Ya.Direct,pv:!0,cpf:x.isChromePdf(),saveRef:!0};qb=+new Date;k.sendHit({url:O,referrer:Y,title:w.getDocumentTitle(),vParams:b,userParams:Ga,
nohit:d,experiments:ba,modes:p,visitColor:qa.getVc(),hasPrerender:ma,ts:hb,tz:gb,callback:function(k,p){db||(db=+new Date);d||(ma=!1);k=k||{};var q="0"!==k.pcs;ha(h.bind(mc,null,k));q||Ea.initZZ();k.eu!==A&&C.set("isEU",k.eu);Sa.init(p);uc.match();pc.sync(a,c,q,C);d||S.log("PageView. Counter ",a,". URL: ",M.href,". Referrer: "+u.referrer,". Params: ",b);k.webvisor&&(k.webvisor.isEU=C.get("isEU"));if(!f.isDestructing()){qa.start(k.webvisor,k.publisher);var t=k.mp2;q=new T({counterId:a});q.erase("mp2_substs");
if(t){b:{var aa=t.conditions;var ka;if(aa&&aa.length)for(ka=0;ka<aa.length;ka++){var w=aa[ka];if("ref"==w.type)w=l(w);else if("adv"==w.type){var v;var x=w;var z=m.Ya._metrika.counter._directCampaign;var B=x.ServiceNamePattern;var D=x.RefererPattern;w=z?x.direct_orders:x.direct_camp;var Ha=u.referrer,Aa=Ca.parse(M.search),E=r(M.search,M.hash),F={};var G=["source","medium","campaign","term","content"];for(v=0;v<G.length;v++)Aa["utm_"+G[v]]&&(F[G[v]]=Aa["utm_"+G[v]]);var H=z?"direct.yandex.ru":E&&E.service||
F.source;v=!1;if(!v&&B&&B.length)for(G=0;G<B.length;G++)if((new RegExp(B[G],"i")).test(H)){v=!0;break}if(!v&&!x.yandex_direct&&D&&D.length)for(B=0;B<D.length;B++)if((new RegExp(D[B],"i")).test(Ha)){v=!0;break}!v&&x.google_adwords&&Aa.gclid&&(v=!0);if(v&&w&&w.length&&(v=!1,z=z||E&&E.campaign||F&&F.campaign))for(x=0;x<w.length;x++)if(w[x]==z){v=!0;break}w=v}else w=!1;if(w){aa[ka].track_id&&q.create("mp2_track",aa[ka].track_id,43200);break b}}}aa=q.read("mp2_track");t=t.substs&&t.substs[aa];aa&&t?(q.create("mp2_substs",
h.toJSON(t)),q=g(t),f.params("__ym",q?"mp_trackid":"mp_trackid_bad",aa)):n()}else n();y.on(m,"load",f.replacePhones,f)}f._inited=!0;e&&e()}})};p.sync(v)}q(!1);y.on(u,"click",k,null,{name:"extLinkClick"});0!=h.keys(N).length&&(ja&&ja.initUserLayer(),N.enableAll?(q(!0),e(!0),E()):(N.clickmap&&e(N.clickmap),N.trackLinks&&q(N.trackLinks),N.accurateTrackBounce&&E(N.accurateTrackBounce)),N.triggerEvent&&h.async(function(){X.dispatchCustomEvent("yacounter"+a+"inited")},this,"yacounterInit"))}function B(a){var b=
new xa({frameConnector:P,globalConfig:C,initCounter:p,disable:N.yaDisableGDPR});f._isDestructing||(ma=a,b.handle.apply(b,arguments))}function q(a){var b={};switch(typeof a){case "string":b.on=!0;break;case "object":b.on=!0;break;case "boolean":b.on=a;break;default:return}f._trackLinks=b}function k(a){if(f._trackLinks&&f._trackLinks.on){a=x.findTarget(a);var b=x.getLinkComponents(a),c=b.href,d=C.get("pai",h.noop)();if(c&&!w.classNameExists(a,"ym-disable-tracklink")){var e=b.protocol+"//"+b.hostname+
b.pathname;d={pai:d&&d+"-"+Z,ln:!0};var g=tb(a);g=c===g?"":g;if(w.classNameExists(a,"ym-external-link"))K.sendClickLink({url:c,title:g,modes:d},O);else{var k=N.url?h.parseUrl(O).hostname:L().hostname;d.dl=Nb.test(e)||Nb.test(c)||ub(c,ta)||ub(e,ta);b=b.hostname;(k?k.replace(/^www\./,""):"").toLowerCase()==(b?b.replace(/^www\./,""):"").toLowerCase()?d.dl?(d.ln=!1,K.sendClickLink({url:c,title:g,modes:d},O)):(g=tb(a),ya.set("pai",d.pai),g&&g!==c&&ya.set("il",h.trim(g,Gb))):c&&-1!==c.search(/^ *(data|javascript):/i)||
(d.ut=kb,K.sendClickLink({url:c,title:g,modes:d},O))}}}}function e(b){"undefined"===typeof b&&(b=!0);!0===b&&(b={});f._clickmap&&f._clickmap.destroy();b&&(f._clickmap=new tc({globalConfig:C,filter:b.filter,ignoreTags:b.ignoreTags,quota:b.quota,isTrackHash:b.isTrackHash,protocol:"https:",counterId:a,counterType:c,startTime:xc}))}function D(a,b){function c(){if(!p){q&&h.clearTimeout(q);var c=k?l:l+ +new Date-n;c=b-c;0>c&&(c=0);q=h.setTimeout(function(){p=!0;e(!1);a()},c,"trackUserTime")}}function d(){g||
(f=!0,k=!1,g=!0,c())}function e(a){var b;for(b=0;b<r.length;b+=3)if(a)y.on(r[b],r[b+1],r[b+2],{name:"tabTrack"});else y.un(r[b],r[b+1],r[b+2])}var f=!1,g=!1,k=!0,l=0,n=+new Date,q=null,p=!1;if(x.isIE())h.setTimeout(a,b,"trackUserTime");else{var r=[m,"blur",function(){k=f=g=!0;l+=+new Date-n;n=+new Date;c()},m,"focus",function(){f||g||(l=0);n=+new Date;f=g=!0;k=!1;c()},u,"click",d,u,"mousemove",d,u,"keydown",d,u,"scroll",d];e(!0);c()}}function E(b){var c=N.referrer?Y:u.referrer,d=N.url?O:L().href;
"number"!==typeof b&&(b=15E3);if(!f._isAccurateTrackBounce){f._isAccurateTrackBounce=!0;var e=new ea({counterId:a});var g=e.get("lastHit");e.set("lastHit",v.getMs());((e=e.get("lastHit"))&&(!g||g<e-18E5)||!Sb(c,d)||.1>Math.random())&&D(function(){f.notBounce();Da.init(.002,ua)},b)}}function z(a){var b=function(){var a=L().hash.split("#")[1];if("undefined"==typeof a)return!1;var b=a.indexOf("?");0<b&&(a=a.substring(0,b));return a};var c=b();(function Na(){var d=b();d!==c&&(a(),c=d);za=h.setTimeout(Na,
200,"trackHash")})()}function G(a){if(!1===a)Ba&&("onhashchange"in m?y.un(m,"hashchange",I):h.clearTimeout(za),Ba=!1);else if(a=I,!Ba){if("onhashchange"in m)y.on(m,"hashchange",a);else z(a);Ba=!0}K.setTrackHash(Ba);f._trackHash=Ba}function I(){var a={ut:ia,ad:1==c&&m.Ya&&m.Ya.Direct,wh:!0,saveRef:!0,pv:!0};oa=Za.lastReferrer=da;K.sendAjaxHit({url:N.url?O:L().href,title:w.getDocumentTitle(),referrer:oa,modes:a});da=L().href}function J(a,b,c){a=Q.parseValidate(a,b);b=[];a&&(b.push(a),c=c||{},h.isFunction(c.callback)&&
(b.push(c.callback),c.ctx&&b.push(c.ctx)));b.length&&f.params.apply(f,b)}var ia="",N={},oa="",da=Za.lastReferrer=M.href,ua=.002,ma=!1,qa;C.setSafe("counter",f);Pa&&F(function(){throw Pa.error;},"include."+Pa.scope)();if("object"===typeof a){N=a;d=a.defer;ia=a.ut;var va=a.ldc||"uid";c=a.type;b=a.params;var Ga=a.userParams;var wa=a.tns;var ba=N.experiments;var ra=N.nck;var O=a.url;var Y=a.referrer;a=a.id}if(!m["disableYaCounter"+a]){var fa=[];O=O?O:L().href;Y=Y?Y:u.referrer;a=a||0;/^\d+$/.test(a)||
(a=0);c=c||0;var W=a+":"+c;if(C.get("counters")[W])return S.log("Duplicate counter "+W+" initialization"),C.get("counters")[W];var Z=C.get("hitId");var P=new Mb({counterId:a,hid:Z});C.set("counterNum",C.get("counterNum")+1);var pa=C.get("counterNum");var ha=lc(W,f);ha(nc);var K=new Ra({protocol:"https:",counterType:c,counterId:a,hitId:Z,counter:f,globalConfig:C,counterNum:pa});var Da={init:function(a,b){if(m.performance&&"function"===typeof performance.getEntriesByType){a===A&&(a=1);b===A&&(b=1);
var c=Math.random()>a,d=Math.random()>b;if(!c||!d){var e={1882689622:1,2318205080:1,3115871109:1,3604875100:1,339366994:1,2890452365:1,849340123:1,173872646:1,2343947156:1,655012937:1,1996539654:1,2065498185:1,823651274:1,12282461:1,1555719328:1,1417229093:1,138396985:1},f=performance.getEntriesByType("resource"),g={},k={},l={counterId:51533966},n={},q;for(q=0;q<f.length;q++){var p=f[q];var r=p.name.replace(/^https?:\/\//,"").split("?")[0];var t=h.fnv32a(r);"script"!==p.initiatorType||c||(k[r]={dns:Math.round(p.domainLookupEnd-
p.domainLookupStart),tcp:Math.round(p.connectEnd-p.connectStart),duration:Math.round(p.duration),response:Math.round(p.responseEnd-p.requestStart),name:p.name,decodedBodySize:p.decodedBodySize});!e[t]||g[r]||d||(g[r]={dns:Math.round(p.domainLookupEnd-p.domainLookupStart),tcp:Math.round(p.connectEnd-p.connectStart),duration:Math.round(p.duration),response:Math.round(p.responseEnd-p.requestStart),pages:M.href})}h.keys(g).length&&(n.timings8=g);h.keys(k).length&&(n.scripts=k);h.keys(n).length&&(new Ja(l)).logParams(n)}}}};
24226447==a&&(ua=1);f.replacePhones=t(function(){var b,c;try{(b=(new T({counterId:a})).read("mp2_substs"))&&(c=R.parse(b))&&g(c,!0)}catch(Ha){}return f},"counter.replacePhones");f.reachGoal=t(function(b,c,d,e){2<=arguments.length&&"function"===typeof c&&(e=d,d=c,c=A);S.log("Reach goal. Counter: "+a+". Goal id: "+b+". Params: ",c);K.sendGoal(b,{url:N.url?O:L().href,vParams:c,callback:d,ctx:e});return f},"counter.reachGoal");f.trackLinks=t(function(a){q(a);return f},"counter.trackLinks");var ya=new ea({counterId:a});
f.hit=t(function(b,c,d,e,g,k){(b=b&&h.isFunction(b.toString)?b.toString():!1)?(h.isObject(c)&&(d=c.referer,e=c.params,g=c.callback,k=c.ctx,c=c.title),O=b,S.log("PageView. Counter "+a,". URL: "+b,". Referrer: "+d,". Params: ",e),K.sendHit({url:b,title:c,hasPrerender:ma,referrer:d,vParams:e,callback:g,ctx:k}),ma=!1):h.warning("Empty hit url");return f},"counter.hit");f.params=t(function(b){var c=arguments.length,d=c,e=[].slice.call(arguments,0);if(b){if(1<arguments.length){if(h.isFunction(arguments[c-
1])){var g=arguments[c-1];d=c-1}else if(h.isFunction(arguments[c-2])){g=arguments[c-2];var k=arguments[c-1];d=c-2}e=[].slice.call(e,0,d);1<e.length&&(e=[h.array2Props(e)])}c=-1!==h.arrayIndexOf(h.keys(e[0]),"__ymu");(d=-1!==h.arrayIndexOf(h.keys(e[0]),"__ym")&&e[0].__ym.user_id)?S.log('Set user id "'+e[0].__ym.user_id+'"'):S.log((c?"User p":"P")+"arams. Counter "+a+". Params: ",e[0]);K.sendParams(e[0],g,k,N.url?O:L().href)}else h.warning("Wrong params");return f},"counter.params");P.addHandler("pluginInfo",
function(){return N},this);P.addHandler("parentConnect",function(a,b){K.paramsQueue.push({__ym:{parentIframe:{counterId:b.counterId,hid:b.hid}}})},this);f.file=t(function(a,b){a?(b=b||{},K.sendFileUpload({url:a,title:b.title,vParams:b.params,callback:b.callback,ctx:b.ctx,referrer:N.url?O:L().href})):h.warning("Empty file url");return f},"counter.file");f.extLink=t(function(a,b){a?(b=b||{},K.sendExtLink({url:a,title:b.title,vParams:b.params,callback:b.callback,ctx:b.ctx,referrer:N.url?O:L().href},
O)):h.warning("Empty link");return f},"counter.extLink");f.notBounce=t(function(a){var b=0;a=a||{};qb&&db&&(b=db-qb);K.sendNotBounce(b,{url:N.url?O:L().href,callback:a.callback,ctx:a.ctx});return f},"counter.notBounce");var ta=[];f.addFileExtension=t(function(a){if(!a)return h.warning("Empty extension"),f;"string"===typeof a?ta.push(a):ta=ta.concat(a);return f});f.clickmap=t(function(a){e(a);return f},"that.clickmap");f.accurateTrackBounce=t(function(a){E(a);return f});var za=null;var Ba=!1;f.trackHash=
t(function(a){G(a);return f});var Q={requiredEcommerceFields:["currency","goods"],parseValidate:function(a,b){var c=this.validate(a,b),d;if(!c.isValid)return console&&console.log(c.message),!1;c={};c[a]={};b.currency&&(c.currencyCode=b.currency);b.goods&&(c[a].products=b.goods);for(d in b)b.hasOwnProperty(d)&&-1===h.arrayIndexOf(this.requiredEcommerceFields,d)&&(c[a].actionField||(c[a].actionField={}),c[a].actionField[d]=b[d]);return{__ym:{ecommerce:[c]}}},validate:function(a,b){var c=!1,d="";if(h.isObject(b))switch(a){case "detail":case "add":case "remove":h.isArray(b.goods)&&
b.goods.length?(c=h.arrayEvery(b.goods,function(a){return h.isObject(a)&&(h.isString(a.id)||h.isNumber(a.id)||h.isString(a.name)||h.isString(a.name))}))||(d="All items in 'goods' should be objects and contain 'id' or 'name' field"):d="Ecommerce data should contain 'goods' non-empty array";break;case "purchase":h.isNumber(b.id)||h.isString(b.id)?c=!0:d="Purchase object should contain string or number 'id' field"}else d="Ecommerce data should be an object";return{isValid:c,message:d}}};f.ecommerceDetail=
t(function(a,b){J("detail",a,b);return f},"ecommerce.detail",!0);f.ecommerceAdd=t(function(a,b){J("add",a,b);return f},"ecommerce.add",!0);f.ecommerceRemove=t(function(a,b){J("remove",a,b);return f},"ecommerce.remove",!0);f.ecommercePurchase=t(function(a,b){J("purchase",a,b);return f},"ecommerce.purchase",!0);f.userParams=t(function(a,b,c){h.isObject(a)?f.params({__ymu:a},b||function(){},c):h.warning("Wrong user params");return f},"uparams");f.experiments=t(function(a,b,c){K.sendExperiments({callback:b,
ctx:c,experiments:a});return f},"exps");f.id=f.setUserID=t(function(a,b,c){h.isString(a)||h.isNumber(a)?f.params({__ym:{user_id:a}},b||function(){},c):h.warning("Incorrect user ID");return f},"id");var Fa=new T;f.getClientID=t(function(a){var b=Fa.read(va);a&&h.isFunction(a)&&a(b);return b},"guid");f.enableAll=t(function(){q(!0);e(!0);E();return f},"enableAll",!0);f.uploadPage=t(function(){},"uploadPage",!0);f.destruct=t(function(){f._isDestructing=!0;y.un(u,"click",k,null,{name:"extLinkClick"});
y.un(m,"load",f.replacePhones,f);G(!1);qa&&qa.stop();C.set("stopRecoder",A);C.set("counter",A);ja&&ja.destruct&&ja.destruct();e(!1);try{delete m["yaCounter"+a],delete C.get("counters")[W],delete C.get("hitParam")[W]}catch(aa){}});f.isDestructing=function(){return!!f._isDestructing};vc.init(K);f._performanceTiming=vb;if(a){var ja=new Ia({counter:f,counterId:a,globalConfig:C,frameConnector:P,prefsEcommerce:N.ecommerce,prefsUseDataLayer:N.useDataLayer});if("prerender"===u.webkitVisibilityState||"prerender"===
u.visibilityState){K.sendPrerenderHit({url:O,vParams:b,title:w.getDocumentTitle(),referrer:u.referrer});var la=function(){"prerender"!==u.webkitVisibilityState&&"prerender"!==u.visibilityState&&(y.un(u,"webkitvisibilitychange,visibilitychange",la),B(!0))};y.on(u,"webkitvisibilitychange,visibilitychange",la)}else B(!1)}}},"init")()};Eb.init(oa,C);new Lb({globalConfig:C});m.Ya[oa].counters=function(){var a=[];h.forEachKey(C.get("counters"),function(b,c){var d=b.split(":");a.push({id:+d[0],type:+d[1],
accurateTrackBounce:c._isAccurateTrackBounce,clickmap:c._clickmap&&c._clickmap._start,oldCode:!!m.ya_cid,trackHash:!!c._trackHash,trackLinks:c._trackLinks&&c._trackLinks.on,webvisor:!!c._webvisor})});return a};C.setSafe("getCounters",function(){var a=[];h.forEachKey(C.get("counters"),function(b,c){var d=b.split(":");a.push({id:+d[0],type:+d[1],accurateTrackBounce:c._isAccurateTrackBounce,clickmap:c._clickmap&&c._clickmap._start,oldCode:!!m.ya_cid,trackHash:!!c._trackHash,trackLinks:c._trackLinks&&
c._trackLinks.on,webvisor:!!c._webvisor})});return a});m.ya_cid&&m.Ya.Metrika&&new m.Ya.Metrika(m.ya_cid,m.ya_params,m.ya_class);m.ya_cid&&!m.ya_hit&&(m.ya_hit=function(a,b){m.Ya._metrika.counter&&m.Ya._metrika.counter.reachGoal(a,b)});(function(){function a(a){try{delete m[a]}catch(r){m[a]=A}}var b="yandex_metrika_callback",c="yandex_metrika_callbacks";b="yandex_metrika_callback2";c="yandex_metrika_callbacks2";var d=m[b],f=m[c],h;"function"==typeof d&&d();if("object"==typeof f){var g=f.length;for(d=
0;d<g;d++)if(h=f[d])f[d]=null,h()}a(b);a(c)})();m.Ya[oa].informer=function(a){var b=!!m.Ya[oa]._informer;Ya[oa]._informer=a;Ya[oa]._informer.domain="informer.yandex.ru";b||w.loadScript({src:"https://informer.yandex.ru/metrika/informer.js"})};y.on(u,"click",F(function(a){var b=X.getTarget(a);if(b&&("ym-advanced-informer"===b.className||b.classList&&b.classList.contains("ym-advanced-informer"))){var c=b.getAttribute("data-lang");var d=b.getAttribute("data-cid");m.Ya[oa].informer({i:b,id:+d,lang:c});
X.prevent(a)}},"adv-inf"),null,{passive:!1})})(this,this.document);