var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); (function(g,h,R){function gb(a,b,c,d){function e(a){var b=(new Date).getTime();a&&b>8,b&255])}function q(a,b){f.mergeArrays(a,[b&255])}function p(a,b){for(b=Math.max(0,b|0);127>=7;f.mergeArrays(a,[b])}function r(a,b){255< b.length&&(b=b.substr(0,255));f.mergeArrays(a,[b.length]);for(var c=0;cv)return null;var l={mousemove:2,click:32,dblclick:33,mousedown:4,mouseup:30,touch:12}[b];if(!l)return null;var Na=m.getElementXY(c);c=[];q(c,l);p(c,a);p(c,v);p(c,Math.max(0,d[0]-Na[0])); p(c,Math.max(0,d[1]-Na[1]));/^mouse(up|down)|click$/.test(b)&&(a=e||f,q(c,2>a?1:a==(e?2:4)?4:2));return c}function x(a,b,c,d){b=b[D];if(!b||0>b)return null;var e=[];q(e,31);p(e,a);p(e,b);p(e,c[0]);p(e,c[1]);q(e,0);q(e,0);q(e,d);return e}function J(a,b){var c=[];q(c,3);p(c,a);p(c,b[0]);p(c,b[1]);return c}function I(a,b,c){var d=[];c=c[D];if(!c||0>c)return null;q(d,16);p(d,a);p(d,b[0]);p(d,b[1]);p(d,c);return d}function C(a,b,c){var d=[];q(d,28);p(d,a);p(d,b[0]);p(d,b[1]);p(d,c[0]);p(d,c[1]);return d} function L(a,b,c,d){var e=[];q(e,5);p(e,a);V(e,b);q(e,c);a=d[D];if(!a||0>a)a=0;p(e,a);return e}function P(a,b){var c;if(0==b.length)var d=c="";else 100>=b.length?(c=b,d=""):200>=b.length?(c=b.substr(0,100),d=b.substr(100)):(c=b.substr(0,97),d=b.substr(b.length-97));var e=[];q(e,29);p(e,a);Ha(e,c);Ha(e,d);return e}function z(a){var b=[];q(b,27);p(b,a);return b}function R(a){var b=[];q(b,14);p(b,a);return b}function da(a){var b=[];q(b,15);p(b,a);return b}function ja(a,b){var c=[];q(c,17);p(c,a);p(c, b[D]);return c}function ib(a,b){var c=[];q(c,18);p(c,a);p(c,b[D]);return c}function jb(a,b,c){var d=[];q(d,19);p(d,a);p(d,b[D]);r(d,String(c));return d}function fa(a){var b=a[D];if(!b||0>b||!/^INPUT|SELECT|TEXTAREA$/.test(a.nodeName)||!a.form||U(a.form))return null;var c=m.getFormNumber(a.form);if(0>c)return null;var d="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 d)return null;for(var e=-1,v=a.form.elements,f=v.length,l=0,n=0;le)return null;v=[];q(v,7);p(v,b);p(v,c);p(v,d);Ha(v,a.name||"");p(v,e);return v}function aa(a,b){var c=m.getFormNumber(b);if(0>c)return null;for(var d=b.elements,e=d.length,v=[],l=0;l=c)b=null;else{var d= 64,e=0,v=m.getElementParent(a),f=v&&v[D]?v[D]:0;0>f&&(f=0);var l=a.nodeName.toUpperCase(),g=kb[l];g||(d|=2);var h=m.getElementNeighborPosition(a);h||(d|=4);var u=m.getElementRegion(a);(v=v?m.getElementRegion(v):null)&&u[0]==v[0]&&u[1]==v[1]&&u[2]==v[2]&&u[3]==v[3]&&(d|=8);ya[c].pos=u[0]+"x"+u[1];ya[c].size=u[2]+"x"+u[3];a.id&&"string"==typeof a.id&&(d|=32);(v=m.calcTextChecksum(a))&&(d|=16);var H=m.calcAttribChecksum(a);H&&(e|=2);b:{var k=m.getElementChildren(m.getElementParent(a),a.tagName);for(var E= 0;Ec)){var d=A.getPos(a),e=T[0]-d[0],f=T[1]-d[1],e=e*e+f*f;0>=e||16>e&&100>c||20>c&&256>e||(X=b,T=d,M(a))}}function la(){var a= m.getDocumentScroll(),b=l();10>b-ba||10>Math.abs(a[0]-K[0])&&10>Math.abs(a[1]-K[1])||(ba=b,K=a,w(J,[n(),a]))}function H(a){if(a=A.getTarget(a)){var b=Math.random(),c=[a.scrollLeft,a.scrollTop];if(a.localId){if(b=ga[a.localId],!b||10>Math.abs(c[0]-b[0])&&10>Math.abs(c[1]-b[1]))return}else{for(;ga[b];)b=Math.random();a.localId=b}ga[a.localId]=c;a!==h&&(G(a),w(I,[n(),c,a]))}}function u(){w(C,[n(),m.getViewportSize(),m.getDocumentSize()])}function E(){w(N,[],!0)}function F(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 W(a){return"INPUT"==a.tagName?"password"==a.type||a.name&&na.test(a.name)||a.id&&na.test(a.id):!1}function ma(a,b,c){!(a=A.getTarget(a))||W(a)||Z(a)||(G(a),w(L,[n(),b,c,a]))}function Pa(a){var b=a.keyCode,c=F(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}[b]||112<=b&&123>=b||96<=b&&105>=b||c&16)19==b&&4==(c&-17)&&(b=144),ma(a, b,c|16),ka=!1,f.setTimeout(function(){ka=!0},1),!(67==b&&c&4)||c&1||c&2||Ia()}function Qa(a){ka&&!Y&&0!==a.which&&(ma(a,a.charCode||a.keyCode,F(a)),Y=!0,f.setTimeout(function(){Y=!1},1))}function Ia(){O||(O=!0,ca&&w(z,[n()]),f.setTimeout(function(){O=!1},1))}function Ja(){qa||(qa=!0,w(R,[n()]))}function ra(){qa&&(qa=!1,w(da,[n()]))}function Ra(a){(!qa||a&&!a.fromElement)&&Ja()}function Sa(a){a&&!a.toElement&&ra()}function za(a){if((a=A.getTarget(a))&&/^INPUT|SELECT|TEXTAREA|BUTTON$/.test(a.tagName)){if(a[D])G(a); else{var b=a.form;if(b)for(var b=b.elements,c=b.length,d=0;da.deltaY?2:0:"mousewheel"==a.type&&(c=0a.wheelDelta?1:0);c&&(G(b),w(x,[n(),b,A.getPos(a),c]))}}function ia(a){(a=A.getTarget(a))&&"BODY"== a.tagName&&pa.append([],!0)}var pa=new ta({protocol:a,counterId:b,counterType:c,meta:{url:y().href,hitId:d,timezone:ua,timestamp:va}}),kb={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},Oa=0,Ga=0;e(0);var ea=1,X=0,T=[0,0],ba=0,K=[0,0],ga={},na=/^(password|passwd|pswd)$/,ka=!0,Y=!1,ca="",O=!1,qa=!0,xa=l(),D="metrikaId_"+ Math.random(),ya={},Da=":submit"+Math.random();if(!f.isMetrikaPlayer()){k.on(h,"mousemove",Q);k.on(h,"click,dblclick,mousedown",M);k.on(h,"mouseup",ha);k.on(g,"scroll",la);if("onmousewheel"in h)k.on(h,"mousewheel",Ca);else k.on(h,"wheel",Ca);k.on(g,"beforeunload",E);if(!lb)k.on(g,"unload",E);k.on(g,"resize",u);k.on(h,"keydown",Pa);k.on(h,"keypress",Qa);k.on(h,"copy",Ia);k.on(h,"touchmove,touchstart",Ka);if(h.body)k.on(h,"mouseleave",ia);h.attachEvent&&!g.opera?(k.on(h,"focusin",Ra),k.on(h,"focusout", Sa)):(k.on(g,"focus",Ja),k.on(g,"blur",ra),k.on(h,"blur",ra));h.addEventListener?(k.on(h,"scroll",H),k.on(h,"focus",za),k.on(h,"blur",Aa),k.on(h,"change",Ba),k.on(h,"submit",sa)):h.attachEvent&&(k.on(h,"focusin",za),k.on(h,"focusout",Aa),function(){for(var a=h.getElementsByTagName("form"),b=0;bMath.random())try{var d=a&&a.message||"";(c=-1]+>/gi,""))} function Ua(a,b){var c;if(!a||!b)return!1;var d=[];for(c=0;cb||36E5+new Date&&this.onFlush.call(this.onFlushCtx||this,a.data,a.meta,a.pnum),this.clear())},getFlushSize:function(){return this._data.length}, append:function(a,b){f.mergeArrays(this._data,a);this._saveToStorageThrottled();this.active&&((b||this.getFlushSize()>=this.maxBufferSize)&&this._flush(),this._flushTID||(this._flushTID=f.defer(this._flush,this.flushTimeout,this,[],"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(){if(!this._data.length)return!1;this.onFlush.call(this.onFlushCtx|| this,this._data,this.meta,this._packetNumber);this._packetNumber++;this.clear()},_saveToStorage:function(){this.storage&&this._data.length&&this.storage.set(this.storageKey,{data:this._data,meta:this.meta,pnum:this._packetNumber,time:+new Date})}}),ca=x.inherit({transports:[],postParams:[],dontSendRequests:!1,send:function(a,b,c,d){c=c||function(){};this.dontSendRequests?c.call(d):function l(f){if(farguments.length&&(b= a,a=0);1>arguments.length&&(b=1073741824);return Math.floor(Math.random()*(b-a))+a};var U=N.inherit({id:"form",enctype:"application/x-www-form-urlencoded",htmlfileOnly:!1,_initComponent:function(){U.superclass._initComponent.apply(this,arguments);"_htmlfile"in U.prototype||(U.prototype._htmlfile=this._createHtmlfile());this._doc=this._htmlfile||(this.htmlfileOnly?null:h)},request:function(a,b,c,d){var e=this._doc;if(!e)return c.call(d,!1);b=this._splitParams(b);var l="ifr"+f.random();var g=e.createElement("div"); g.style.position="absolute";g.style.left="-99999px";g.style.top="-99999px";var h=['\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'];f.forEachKey(b.post,function(a){f.mergeArrays(h,['\x3cinput type\x3d"hidden" autocomplete\x3d"off" autocorrect\x3d"off"',' autocapitalize\x3d"off" spellcheck\x3d"false" name\x3d"',a,'"/\x3e'])});f.mergeArrays(h,["\x3c/form\x3e"]);g.innerHTML=h.join(""); e.body.appendChild(g);var k=g.getElementsByTagName("form")[0];f.forEachKey(b.post,function(a,b){k[a].value=b});k.submit();f.setTimeout(function(){e.body.removeChild(g)},1E4,"TransportForm.request.2");return c.call(d,!0)},_createHtmlfile:function(){try{if(g.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}}),wb=U.inherit({id:"htmlfile",htmlfileOnly:!0}),K=N.inherit({id:"img",request:function(a, b,c,d){a=this._buildUrl(a,b);b=h.createElement("img");c=c||function(){};b.onload=t(function(){c.call(d,!0)},"TransportImage.request");b.onerror=t(function(){c.call(d,!1)},"TransportImage.request");b.src=a}}),ga={stringify:function(a){try{return JSON.stringify(a)}catch(b){return"null"}}};f.toJSON=function(a){var b;if(a===R)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+new Date&&2>=b.browserInfo.rqnl&&(c=new J({protocol:b.protocol,host:b.host,resource:b.resource,counterId:b.counterId,counterType:b.counterType,postParams:b.postParams||[],retry:!0}),c.send(b.params,b.browserInfo))})};f.fletcher=function(a){for(var b=a.length,c=0,d=255,e=255,f,g,h;b;){f=21>8,g&=255,g^=h),d+=g,e+=d;while(--f);d=(d&255)+(d>>8);e=(e&255)+ (e>>8)}a=(d&255)+(d>>8)<<8|(e&255)+(e>>8);return 65535==a?0:a};var I={abc:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",tail:"+/\x3d",tailSafe:"*-_",encode:function(a,b){var c=(I.abc+(b?I.tailSafe:I.tail)).split(""),d=a.length,e=[],g=d-d%3,n;for(n=0;n>18&63],c[h>>12&63],c[h>>6&63],c[h&63]])}switch(d-g){case 1:h=a[g]<<4;f.mergeArrays(e,[c[h>>6&63],c[h&63],c[64],c[64]]);break;case 2:h=(a[g]<<10)+(a[g+1]<<2),f.mergeArrays(e, [c[h>>12&63],c[h>>6&63],c[h&63],c[64]])}return e.join("")}};f.warning=function(){g.console&&"function"==typeof console.warn&&console.warn.apply(console,arguments)};f.trim=function(a,b){a=String(a).replace(/^\s+|\s+$/g,"");b&&a.length>b&&(a=a.substr(0,b));return a};f.isFunction=function(a){return"function"===typeof a};f.isNumber=function(a){return isFinite(a)&&!isNaN(a)&&"[object Number]"==Object.prototype.toString.call(a)};f.isString=function(a){return"[object String]"==Object.prototype.toString.call(a)}; f.arrayIndexOf=function(a,b){var c;for(c=0;c>>0};r.getFingerPrint=function(){var a=[],b;if(navigator.plugins&&navigator.plugins.length)for(b=0;be?b.push(e):(127e?b.push(e>>6|192):(b.push(e>>12|224),b.push(e>>6&63|128)),b.push(e&63|128))}return b},decode:function(a){for(var b="",c=0,d,e,f;cd?(b+=String.fromCharCode(d),c++):191d?(e=a.charCodeAt(c+ 1),b+=String.fromCharCode((d&31)<<6|e&63),c+=2):(e=a.charCodeAt(c+1),f=a.charCodeAt(c+2),b+=String.fromCharCode((d&15)<<12|(e&63)<<6|f&63),c+=3);return b}};I.decode=function(a,b){for(var c=I.abc+(b?I.tailSafe:I.tail),d=0,e="",f,g,h,k,p;a.length%4;)a+="\x3d";do{f=c.indexOf(a.charAt(d++));g=c.indexOf(a.charAt(d++));k=c.indexOf(a.charAt(d++));p=c.indexOf(a.charAt(d++));if(0>f||0>g||0>k||0>p)return null;h=f<<18|g<<12|k<<6|p;f=h>>16&255;g=h>>8&255;h&=255;e=64==k?e+String.fromCharCode(f):64==p?e+String.fromCharCode(f, g):e+String.fromCharCode(f,g,h)}while(dyb?e=!0:b("site-info",p);h.saveRef&&(na.lastReferrer=m);this.fake||(c=this._getTechInfo(a.title,h,this.counterId,a.ts,a.tz,this._trackHash,this.hitId,this.webvisor,this.counter));f.mixin(k,c,g);this.send(r,k,function(){e&&this.counter.params(d);a.userParams&&this.counter.userParams(a.userParams);f.isFunction(a.callback)&& a.callback.apply(a.ctx,arguments)},this)}},_prepareHitUrl:function(a){var b=y(),c=b.host,b=b.href;if(!f.isString(a))return b;if(-1!=a.search(/^\w+:\/\//))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},_getTechInfo:function(a,b,c,d,e,h,k,t,q){function l(a,b){a&&b&&(V[a]=b)} function n(a){b[a]&&l(a,"1")}var V={};b=b||{};d=d||C.getTimestamp();e=e||C.getTimezone();l("j",r.getJavaEnabled()?"1":"");l("nt",r.netType());Q&&l("s",Q.width+"x"+Q.height+"x"+(Q.colorDepth||Q.pixelDepth));g.devicePixelRatio&&l("sk",g.devicePixelRatio);r.isIframe()&&l("ifr","1");l("adb",$a.getVal());l("f",r.getFlashVersion());l("l",r.getSilverlightVersion());l("fpr",r.getFingerPrint());l("cn",this.counterNum);if(!b.pa){var y=m.getViewportSize();l("w",y[0]+"x"+y[1])}l("z",e);l("i",d);l("et",Math.round((new Date).getTime()/ 1E3));l("en",m.getDocumentCharset());l("v",T);l("c",navigator.cookieEnabled?"1":"");l("la",r.getLanguage());l("ntf",r.getNotificationPermission());f.random(100)||l("np",I.encode(ba.encode(f.trim(r.getPlatform(),100))));h&&l("wh","1");e="ar ln dl ad nb pa pq pv ex".split(" ");for(d=0;dk&&(k*=-1),k%=65535;l("wn",k||f.fletcher(g.name));try{g.history&&l("hl",String(g.history.length))}catch(Ib){}}k="";this.sendTitle&&(k=this._getTitle(a));l("t",k);return V},_getTitle:function(a){a="undefined"==typeof a?(a=m.getDocumentTitle())? f.trim(a,ab):"":f.trim(a,ab);return a}});f.array2Props=function(a){var b=a.length,c={},d=c,e;for(e=0;e]*>|[\u0000-\u0020])/g, ""))};m.getFormNumber=function(a){var b=h.getElementsByTagName("form"),c;var d=0;for(c=b.length;da.selectedIndex:!0};m.calcTextChecksum=function(a){var b="";a=a.childNodes;var c;var d=0;for(c=a.length;db||1+new Date||g.Ya._metrika.fakeHit?a():(g.Ya._metrika.fakeHit=!0,this._getSender().sendHit({callback:function(){b._storage.set("wasSynced", {time:+new Date});a()}}))},_getSender:function(){this._sender||(this._sender=new La({protocol:"https:",counterType:this.cnt,counterId:this.cid,sendTitle:!1,dontSendRequests:this.dontSendRequests,fake:!0}));return this._sender}}),Cb=x.inherit({baseUrl:"mc.yandex.",baseTld:"ru",syncTlds:{ua:["ua"],by:["by"],kz:["kz"],"com.tr":["com.tr"]},langToDomain:{uk:"ua",be:"by",tr:"com.tr",kk:"kz"},sync:function(a){var b=this,c=this._need();!this._is()&&c?(this._setStatus(!0),Fa()?this._getCn().hit(function(){b._sync(c, a)}):a(function(){b._sync(c)})):a()},_is:function(){try{return!!g.Ya._metrika.startSync}catch(a){return!1}},_setStatus:function(a){try{g.Ya._metrika.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 e=this._getLs().get("synced")||{};c=f.arrayFilter(c,function(a){return(e[a]||1)+1440a?"0":"")+a};C.getTimestamp=function(){var a=new Date,a=[a.getFullYear(),a.getMonth()+1,a.getDate(),a.getHours(),a.getMinutes(),a.getSeconds()],b="",c;for(c=0;cc&&(c=0);p= f.setTimeout(function(){q=!0;e(!1);a()},c,"trackUserTime")}}function d(){l||(u=!0,m=!1,l=!0,c())}function e(a){var b;for(b=0;bMath.random())&&I(function(){e.notBounce()},b)}}function S(a){var b=function(){var a=y().hash.split("#")[1];if("undefined"==typeof a)return!1;var b=a.indexOf("?");0