Shablonyk.Ru

На вчера На сегодня На завтра На неделю На месяц На год

Гороскоп на сегодня для Стрельца: точный астрологический прогноз - Гороскопы Mail.ruvar xrayCore=function(){'use strict';function a(a){for(n.push(a);n.length>o.maxSize;)n.shift()}function b(a){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(a){return typeof a}:function(a){return a&&"function"==typeof Symbol&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},b(a)}function c(a){return a&&"object"===b(a)&&!d(a)}function d(a){return"[object Array]"===Object.prototype.toString.call(a)}function e(){for(var a,b={},d=0;dthis._config.maxBatchSize)return void p.error("Radar #"+c.uid+" body is too long: "+e.raw);this._batchesByUrls[d]||(this._batchesByUrls[d]=[[]]);var h,j=this._batchesByUrls[d];for(h=0;hx){e=e.slice(0,x-8-1)}d="".concat(e,"_").concat("xray_err")}var f=a.t;f.length>y&&(f=f.slice(0,y)),this._send(b,{skipdwh:!0,rlog:d,rlog_message:{t:f,err:b,value:c}},!1,!1)},l.prototype._validateParams=function(a,b){a=j(a),a.rlog&&-1!==a.rlog.indexOf(".")&&(b&&this._logOwnError(a,w.rlog_dot_error,a.rlog),p.error("Radar #".concat(a.uid,": rlog can not contain file extension")),delete a.rlog,delete a.rlog_message),a.rlog&&a.rlog_message||(a.rlog_message&&(b&&this._logOwnError(a,w.rlog_msg_abs),p.error("Radar #".concat(a.uid,": rlog_message would not be sent without rlog"))),delete a.rlog,delete a.rlog_message);var c={32:[a.p,a.rlog],64:[a.p+"_"+a.t]};for(var d in a.i)c[32].push(d),c[64].push(a.p+"_"+a.t+"_"+d);for(var e in c)for(var f=c[e],g=0;ge)throw b&&this._logOwnError(a,w.too_long,f[g].slice(0,e)),new Error("Radar #".concat(a.uid,": value is too long: ").concat(c[e][g])+" (len: ".concat(f[g].length,", limit: ").concat(e,")"));return a},l.prototype._formatIntervals=function(a){if(c(a))return a;var b={};if(d(a)){for(var e,f=0;fxrayCore.setConfig({defaultParams: {p: 'horo-mail-ru-web',},verbose: true});xrayCore.send('pk-xray-ready'); window._logJsErrors = true; var coreKeeper=function(a){"use strict";var S="string",i="object",y="function";function z(a,b){return typeof a===b}function T(c,a){for(var b in a)Object.defineProperty(c,b,{enumerable:!1,value:a[b]})}var U,b=typeof globalThis===i&&globalThis|| typeof window===i&&window|| typeof global===i&&global||{},V=b.console,o=b.document||{},A=b.location||{},p=b.navigator||{},d=p.connection,j=b.performance,k=function(){},B=z(j&&j.now,y)?function(){return j.now()}:Date.now,C=b.setTimeout.bind(b),W=(b.requestAnimationFrame||C).bind(b),X=(b.addEventListener||k).bind(b),_=null,Y=void 0;function D(a){var e,f,b,g=0,h=(a=a||{}).now||B,i=a.warn,j=a.prefix||"",c=a.addons||[],k=[],l=function(a,b,d){for(e=c.length;e--;)c[e][a](b,d)},d=function(c,m,p,t,u,q,n,o,v){c=j+c,(m===b||o)&&(m=!o&&k[0]||_),p[c]&&i&&i("Timer '"+c+"' exists");var r=q==_,a=p[c]={id:++g,name:c,parent:m,unit:t||"ms",start:r?h():q,end:n!=_?n:_,meta:v};function s(a,b,c){(f=p[a=j+a])?z(f.stop,y)?f.stop(b,c):i&&i("Timer '"+a+"'.stop is not a func",{entry:f}):i&&i("Timer '"+a+"' not exists")}return T(a,{stop:function(b,d){if(b==_||b>=0||(d=b,b=Y),a.meta=a.meta||d,a.end=b==_?h():b,p[c]=_,u)for(e=k.length;e--;)k[e]===a&&k.splice(e,1);return l("end",a,r),a}}),m&&(m.end!==_&&n==_?i&&i("Timer '"+c+"' stopped"):(a.unit=m.unit,m.entries.push(a))),u&&(a.entries=[],T(a,{add:function(c,e,b,f,g){return d(c,a,p,f,0,e,b).stop(b,g)},time:function(e,b,c){return b>=0||(c=b,b=Y),d(e,a,p,c,Y,b)},group:function(f,b,c,e){return z(b,"boolean")&&(e=c,c=b,b=_),z(b,S)&&(e=b,b=_,c=0),z(c,S)&&(e=c),d(f,a,p,e,1,b,_,c)},timeEnd:s,groupEnd:s}),!o&&g>1&&k.unshift(a)),l("start",a,r),a};return(b=d(0,_,Object.create(null),"ms",1,0,0,1)).v="2.0.0-rc.28",b.addons=c,b}var e=function(b,c){var a;try{(a=new PerformanceObserver(function(a){a.getEntries().map(c)})).observe({type:b,buffered:!0})}catch(d){}return a},Z=function(a){a&&a.disconnect()},aa=function(a,b){try{a&&a.takeRecords().map(b)}catch(c){}},E="hidden",ab=!1,ac=!1,F=-1,f=function(b,a){ab||(ab=!0,X("pagehide",function(a){ac=!a.persisted}),X("beforeunload",k)),X("visibilitychange",function(a){o.visibilityState===E&&b(a.timeStamp,ac)},{capture:!0,once:!!a})};o&&(F=o.visibilityState===E?0:1/0,f(function(a){F=a},!0));var ad=function(){return F};function ae(c){var a,e,h=this.badge,b=c.unit,d=(c.end-c.start)/("KB"===b?1024:1),f=h+c.name+("none"!==b&&b?": %c"+(b&&"raw"!==b?d.toFixed(3)+b:d):"%c"),g="font-weight:bold;"+(a=d,"color:#"+((a="KB"===(e=b)?a/8:"fps"===e?70-a:a)4||g>4?"high":q?"low":"unk",$=q||d&&(["slow-2g","2g","3g"].indexOf(d.effectiveType)> -1||d.saveData)?"low":"high",n=((l={})["type_"+I]=[0,1],l["exp_"+$]=[0,1],l);g&&(n.memory=[0,g]),h&&(n.hardware_concurrency=[0,h]),m("pk-device",0,1,n,"raw");var af=0,J=function(){try{var a=j.getEntriesByType("navigation")[0],k=a.fetchStart,l=a.domainLookupStart,e=a.domainLookupEnd,f=a.requestStart,g=a.responseStart,b=a.responseEnd,c=a.domComplete,h=a.domInteractive,i=a.domContentLoadedEventEnd,d=a.loadEventEnd;b&&0===af&&(af=1,m("pk-nav-net",k,b,{dns:[l,e],tcp:[e,f],request:[f,g],response:[g,b]})),c&&1===af&&(af=2,m("pk-nav-dom-ready",b,c,{interactive:[b,h],"content-loaded":[h,i],complete:[i,c]})),d&&2===af&&(af=3,m("pk-nav-dom-load",b,d,{ready:[b,c],load:[c,d]})),3!==af&&C(J,250)}catch(n){}};J();var ag,ah=function(a,b,c){return ad&&"self"===a.name&&b>0&&(ai+=b-50,aj=c+b)}),Z(am)))}),an=0,ao=!1,L=function(b){var a=b.startTime;aa.max_session_pause}function aV(a){return a&&["user_id","section","last_duration_update_timestamp","duration_sec","open_timestamp","max_session_pause"].every(function(b){return a.hasOwnProperty(b)})}function aW(){var b;try{var a=JSON.parse(localStorage.getItem(aM)||"");(null==a?void 0:a.length)&&Array.isArray(a)&&a.every(aV)&&(b=a)}catch(c){}return b}function aX(b){var a=b.duration_sec;if(a){var c=au({domain:location.host,pause_allowed_sec:aN.maxSessionPause},b),d={dwh:c};aN.beforeSend(c),m("pk-timespent",0,a,{duration:[0,a]},"raw",d)}}function aY(a){return{duration_sec:0,last_duration_update_timestamp:a,open_timestamp:aO,section:aN.section,user_id:aN.login,max_session_pause:aN.maxSessionPause}}function aZ(a){var b=a.user_id,c=a.section;return b===aN.login&&c===aN.section}function a$(){return Math.floor(Date.now()/1e3)}var a_={latency:[30,60,120],route:[200,400,800],"route:cached":[100,300,600],page:[100,200,300],"page:frag":[30,60,120],"page:json":[20,30,60],"inline:code":[100,200,300],fetch:[500,1e3,2e3],"fetch:fast":[100,200,300],"app:load":[300,600,900],"app:init":[150,300,600],"app:render":[300,600,800],"app:ready":[1500,2500,3500],"js:bundle":[200,400,800],"js:bundle:m":[1e3,3e3,7e3],"js:bundle:l":[2e3,5e3,1e4],"css:bundle":[150,300,450],"css:bundle:l":[300,600,800],"srv:resp":[200,400,800],"biz:adv:await":[2e3,3e3,4e3]},a0=Object.create(null),a1=!1,a2=null,a3={"pk-app-ready":1,"pk-paint":1,"pk-lcp":1,"pk-cls":1,"pk-fid":1,"pk-tbt":1,"pk-tti":1};function a4(b){for(var a in a0)a2[!0===b?"sendImmediately":"send"](a,a0[a]);a0=Object.create(null),a1=!1}function a5(){if(a2)return a2;var b="undefined"==typeof window?{}:window,c=b.require,a=b.xrayCore;try{a=a&&a.send?a:c("@mail/xray")}catch(d){try{a=c("mrg-xray")}catch(e){}}return a}var a6=/-a_5\d\d$/;function Q(c,b,e,f){var d=f&&f.dwh,a=a0[b];a||(a={t:b,v:c,i:{}},d||a3[b]||a6.test(b)||(a.skipdwh=!0),d&&(a.dwh=d),a0[b]=a),e?a.i[e.slice(0,32)]=c:a.v=c,a1||(a1=!0,function a(){a2||(a2=a5()),a2?W(function(){return a4()}):C(a,100)}())}function R(a){a2=a||a2}var a7=["good","moderate","needs-imp"],a8=Date.now(),a9={},ba=!1,bb=0,bc=!1,bd=null,be=0,bf=function(){return o.visibilityState},bg=function(){return"visible"===bf()},bh=function(){var a;bg()&&bb++,m("pk-vis-state",0,bb,((a={})[bf()]=[0,1],a))},bi=function(a){return a9e5?"max":a>6e5?"15m":a>3e5?"10m":a>6e4?"5m":a>3e4?"1m":a>15e3?"30s":a>1e4?"15s":a>5e3?"10s":"5s";m("pk-unload",0,a,((b={})[d]=[0,a],b["type_score_"+e]=[0,a],b))}function bk(a){return a=500||h>=500)){var t="[HTTP] "+(g?g.status+" "+g.statusText:"No XHR"),q=new Error(d>=500?t:"[API] "+h+" ("+t+")");q.source=i,q.stack="";try{av(q,{sender:"api",url:i,status:d,apiStatus:h,headers:g&&["content-type","date","x-host","x-request-id","x-mru-json-status","x-mru-request-id"].reduce(function(a,b){return a[b]=g.getResponseHeader(b),a},{}),response:aI(g).slice(0,140)},ay)}catch(w){av(w,q,{category:"api",tag:N.Core})}}}else d=b,h=e.apiStatus||d;var u,r,m,a,c,n,v=H.group("pk-api",0,!0),j=v.add,k="x-"+(!1!==s?((r=(u=i)?u.toLowerCase().replace(az,"").replace(aC,"pl").replace(aF,"$1uid").replace(aE,"$1id").replace(aA,"_").replace(aB,"v$1").replace(aD,"go").replace(aH,"gql").replace(aG,"_id"):"unk").length>24&&(r=r.replace(/([^_]{3,})/g,function(b,a){return a.replace(/-/.test(a)?/-([a-z])[a-z]*/g:/([^/-])[aeiou]+/g,"$1").replace(/([^aeiou])(\1+)/,"$1")})),r.slice(0,24).replace(/[_-]+/g,"_")):s||"unk");j(k+"-hit",0,f),4!==l&&j(k+"-r_"+(0===(m=l)?"unset":1===m?"open":2===m?"headers":3===m?"loading":4===m?"done":"unk"),0,f),p&&j(k+"-l_"+(c="zero",null==(a=p)?c="unk":a>0&&a1024&&a5120&&a10240&&a25600&&a51200&&a102400&&a204800&&a512e3&&(c="max"),0===c?"zero":c),0,p),j(k+"-h_"+d,0,f),d>=200&&d3e3&&j(k+"-s_"+((n=f)=0&&j(b,e,a.name)}),f&&3===f.length))for(var d=0;d0){for(var d=H.group("mc-srp",0,!0);a--;){var b=c[a];b.src&&!b.crossOrigin&&d.add(aK(b.src),0,1)}d.stop(1)}},6e4),X("unload",bj),X("beforeunload",bj),bh(),o.addEventListener("visibilitychange",bh),window.addEventListener("beforeunload",function(){var b,c,a=B(),d=[[a>",a.hidden=o.hidden,a.visState=o.visibilityState,a.now=B()}catch(c){}av("AppTimeout: "+be,a,{category:"app-timeout",tag:N.Ignore})}},be)}})(c||{})}catch(a){var b=a5();b&&b.send("pk-init-fail",{rlog:"pk-init-fail",rlog_message:au(au(au({},b.getConfig().defaultParams),a),{message:""+a,stack:a&&a.stack})})}},a.now=B,a.pkg=O,a.setTimespentsConfig=P,a.setXRay=R,a.system=H,a.systemSend=m,a.xrayCore=Q,Object.defineProperty(a,"__esModule",{value:!0}),a}({}) window.coreKeeper && coreKeeper.init(); (function() {var script = document.createElement('script');script.src = 'https://r.mradx.net/img/86/08A214.js';script.onload = function() {webVitals.onCLS(function(data) {var CLS_KEY = 'pk-vitals-cls';var dataCLS = {i: {value: data.value},v: data.value};dataCLS.i['score_' + data.rating] = data.value;xrayCore.send(CLS_KEY, dataCLS);});};document.head.appendChild(script);}()) !function(t,e){function i(...t){!0===window.DEBUG&&window.console.log.apply(console,t)}!function(){const n=new IntersectionObserver((n,s)=>{n.forEach(n=>{const r=function(t){return window.jQuery(t).data("SlotView")}(n.target),l=r.getSlotParams().id;i("intersection: "+l+" ("+n.isIntersecting+")");let c=t[l],a=o[l];if(a){if(a.viewed&&!n.isIntersecting)a.scrolledOut=!0,i("scrolledOut: "+l);else if(!0===a.scrolledOut&&n.isIntersecting){if(i("reload: "+l),r.reload(!0),a.viewed=a.scrolledOut=!1,!o.counterUpdated){const t="ru.mail.cpf.Tools.Counters.hitCntrsBlck".split(".").reduce((t,e)=>t&&t[e],e);"function"==typeof t&&(t(),o.counterUpdated=!0)}null!==c.limit&&++a.updatesCount===c.limit&&(i("limit: "+l),s.unobserve(n.target))}}else a=o[l]={updatesCount:0,scrolledOut:!1,viewed:!1};n.isIntersecting&&n.intersectionRatio>.3&&(i("viewed: "+l),a.viewed=!0)})},{threshold:[0,.5],rootMargin:"100px 0px"}),o={counterUpdated:!1};e.cpfParams=e.cpfParams||[],e.cpfParams.push({module:"SlotView",params:{options:{_Handlers:{init:function(){this.getSlotParams().id in t&&(i("init: "+this.getSlotParams().id),n.observe(this._getElement("parent").get(0)))}}}}})}()}({"10101":{limit:2},"3331":{limit:2}}, window); var img = new Image(); img.src = '//www.tns-counter.ru/V13a***R>' + document.referrer.replace(/\*/g,'%2a') + '*mail_ru/ru/UTF-8/tmsec=mail_lady/' + Math.round(Math.random() * 1000000000); .x-ph{position:relative;z-index:1003;margin:0;padding:0;font:12px/16px HelveticaNeue,Arial,sans-serif;white-space:nowrap;text-align:left;background:#fff;height:28px;*zoom:1}.x-ph .w-x-ph{width:100%;border-collapse:collapse;background:#fff}.x-ph .w-x-ph,.x-ph .w-x-ph__col{padding:0;margin:0;border:0;border-spacing:0;font:12px/16px HelveticaNeue,Arial,sans-serif}.x-ph .w-x-ph__col{height:28px;vertical-align:top;white-space:nowrap}.x-ph .w-x-ph__col_left{width:1%;padding-right:20px;text-align:left}.x-ph .w-x-ph__col_right{text-align:right}.x-ph__menu{position:relative;z-index:1004;display:inline-block;padding-right:2px;font:12px/16px HelveticaNeue,Arial,sans-serif;vertical-align:top}.w-x-ph__menu__placeholder{position:absolute;top:100%;left:50%;width:0;height:0;font:0/0 a}.x-ph__menu__button,.x-ph__menu__button:link,.x-ph__menu__button:visited,.x-ph__menu__button:hover,.x-ph__menu__button:active,.x-ph__menu__button:focus{position:relative;z-index:1005;display:inline-block;width:100%;padding:6px 0 5px;border-right:1px solid #fff;border-left:1px solid #fff;font:12px/16px HelveticaNeue,Arial,sans-serif;text-decoration:none;cursor:pointer;outline:none}.x-ph-ff.x-ph-win .x-ph__menu__button,.x-ph-ff.x-ph-win .x-ph__menu__button:link,.x-ph-ff.x-ph-win .x-ph__menu__button:visited,.x-ph-ff.x-ph-win .x-ph__menu__button:hover,.x-ph-ff.x-ph-win .x-ph__menu__button:active,.x-ph-ff.x-ph-win .x-ph__menu__button:focus{padding-top:5px;padding-bottom:6px;height:17px}.x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__text{display:inline-block;width:100%;padding:0 14px 0 6px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;color:#005bd1;font-style:normal;text-decoration:none;overflow:hidden;text-overflow:ellipsis;text-align:left;vertical-align:top}.x-ph__menu__button:hover .x-ph__menu__button__text,.x-ph__menu__button:focus .x-ph__menu__button__text,.x-ph__menu__button:active .x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:focus .x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:active .x-ph__menu__button__text{color:#ff9e00}.x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__icon{position:absolute;right:5px;top:13px;width:0;height:0;border-width:4px;border-style:solid;border-color:#005bd1 #fff #fff;font:0/0 a}.x-ph__menu__button:hover .x-ph__menu__button__icon,.x-ph__menu__button:focus .x-ph__menu__button__icon,.x-ph__menu__button:active .x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:focus .x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:active .x-ph__menu__button__icon{border-color:#ff9e00 #fff #fff}.w-x-ph__menu__button__shadow{position:absolute;z-index:1007;top:0;opacity:0;width:50px;height:0;background:#fff;-webkit-box-shadow:0 4px 15px rgba(0,0,0,.2);-moz-box-shadow:0 4px 15px rgba(0,0,0,.2);box-shadow:0 4px 15px rgba(0,0,0,.2)}.x-ph__link{display:inline-block;padding:6px;margin-right:6px;*padding:5px 6px 7px;*zoom:1;text-decoration:none;white-space:nowrap;outline:none;font:12px/16px HelveticaNeue,Arial,sans-serif}.x-ph__link,a.x-ph__link{color:#005bd1}.x-ph__link:hover,a.x-ph__link:hover{color:#ff9e00;text-decoration:none}.x-ph__link:hover .x-ph__link__text,a.x-ph__link:hover .x-ph__link__text{color:#ff9e00}.x-ph__link_ext,a.x-ph__link_ext,.x-ph__link_ext:hover,a.x-ph__link_ext:hover{text-decoration:none}.x-ph__link__text{text-decoration:none;font-style:normal;cursor:pointer}.x-ph__link__dot{display:inline-block;width:6px;height:6px;margin-left:3px;margin-bottom:1px;background:#ff9e00;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.x-ph__link_ext .x-ph__link__dot{display:none}.x-ph__link__balloon{display:none;overflow:hidden;margin-bottom:-4px;margin-left:3px;padding:1px 3px;min-width:9px;height:13px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;background-color:#ff9e00;color:#fff;vertical-align:baseline;text-align:center;font-weight:400;font-style:normal;font-size:11px;line-height:13px;cursor:pointer;-webkit-animation-duration:500ms;-moz-animation-duration:500ms;animation-duration:500ms;-webkit-animation-fill-mode:both;-moz-animation-fill-mode:both;animation-fill-mode:both}.x-ph-ff.x-ph-mac .x-ph__link__balloon,.x-ph-opera .x-ph__link__balloon{line-height:14px}.x-ph__link_ext .x-ph__link__balloon{display:inline-block;*display:inline;*zoom:1}.x-ph-ios .x-ph__link__balloon{margin-bottom:-5px;padding:0 3px 2px}.x-ph__link_first{margin-left:14px}.x-ph__link_last{margin-right:12px}.x-ph__link_ext{padding-right:1px}.x-ph__link_selected{font-weight:700}.x-ph__link_x-sm{display:none}@media screen and (min-width:1150px){.x-ph__link_x-sm{display:inline-block}}.x-ph-ff.x-ph-win .x-ph__link{padding:5px 6px 7px}.x-ph__auth__link_icon{position:relative;overflow:hidden;padding:0 6px!important;width:16px;height:28px;vertical-align:top;text-indent:30px}.x-ph__auth__link_icon,.x-ph__auth__link_icon:hover{color:#fff!important}.x-ph__auth__link_icon:after{position:absolute;top:2px;left:2px;display:block!important}.w-x-ph__link{display:inline-block;vertical-align:top}.x-ph__auth{width:100%}.x-ph__auth,.w-x-ph__auth__col{margin:0;padding:0;border:0;border-spacing:0;font:12px/16px HelveticaNeue,Arial,sans-serif}.w-x-ph__auth__col{vertical-align:top;text-align:right;white-space:nowrap}.w-x-ph__auth__col_left{width:99%}.w-x-ph__auth__col_right{padding-right:2px}.x-ph__auth__user{position:relative;display:block;width:100%;min-width:100px;height:28px;overflow:hidden}.w-x-ph__auth__user_inner{position:absolute;right:0;text-align:left;max-width:100%}.x-ph__auth__user__text{color:#000;display:inline-block;padding:6px 10px 6px 0;_padding:5px 10px 7px 0;font:12px/16px HelveticaNeue,Arial,sans-serif}.x-ph__auth__user__fade{position:absolute;top:0;right:-6px;width:16px;height:28px;overflow:hidden;background:url("https://img.imgsmail.ru/ph/0.64.27/auth/fade2.png") repeat-y 0 0;_display:none}.x-ph__auth__link,.x-ph__auth__link:link,.x-ph__auth__link:visited,.x-ph__auth__link:hover,.x-ph__auth__link:active,.x-ph__auth__link:focus{font:12px/16px HelveticaNeue,Arial,sans-serif}.w-x-ph__auth__dropdown{position:relative;display:block;min-width:100px;width:100%;height:1px;text-align:right}.w-x-ph__auth__dropdown__inner{position:absolute;right:6px;width:100%;min-width:100px;text-align:right}.x-ph__menu_auth{max-width:100%}.x-ph__menu__button_auth,.x-ph__menu__button_auth:link,.x-ph__menu__button_auth:visited,.x-ph__menu__button_auth:hover,.x-ph__menu__button_auth:active,.x-ph__menu__button_auth:focus{max-width:100%}.x-ph__menu__button__text_auth{position:relative}.x-ph__menu__button__text_auth,.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__text_auth{max-width:560px}.x-ph__menu_auth_unread .x-ph__menu__button__text_auth,.x-ph__menu_auth_unread.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__text_auth{padding-left:14px}.x-ph__menu__button_auth__unread{display:none;position:absolute;left:4px;top:12px;width:6px;height:6px;background:#ff9e00;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px}.x-ph__menu_auth_unread .x-ph__menu__button_auth__unread{display:block}.x-ph__menu_open .x-ph__menu__button .x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:focus .x-ph__menu__button__text,.x-ph__menu_open .x-ph__menu__button:active .x-ph__menu__button__text{color:#333}.x-ph__menu_open .x-ph__menu__button .x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:hover .x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:focus .x-ph__menu__button__icon,.x-ph__menu_open .x-ph__menu__button:active .x-ph__menu__button__icon{border-color:#333 #fff #fff}.x-ph__menu__button_auth__unread{background-position:0 -133px}.x-ph__menu__button__text__icon,.x-ph__auth_list__item__info__social{display:inline-block;overflow:hidden;width:16px;height:16px;-webkit-border-radius:8px;-moz-border-radius:8px;border-radius:8px;vertical-align:top}.x-ph__menu__button__text__icon:after,.x-ph__auth_list__item__info__social:after{margin:-4px 0 0 -4px} Mail.ruПочтаМой МирОдноклассникиВКонтактеИгрыЗнакомстваНовостиПоискОблакоVK ComboВсе проектыВсе проектывыходvar ____________ie7 = true;var ____________ie8 = true; if (!window.__PHS) var __PHS = {}; (function (s) { const loginOptions = { project: 'lady' , app_id_mytracker : '52846' } s.loginOptions = loginOptions; s.exp = {}; s.lang = "ru_RU"; s.logDetails = true; s.maxAccounts = 20; s.botTimer = 700; s.eid = ''; s.id = 26069824; s.settingsId = +'38186769'; s.siteid = +'104'; s.sitezone = +'10'; s.pv = '2'; s.region = 'Москва'; s.loginLink = 'https://r.mail.ru/cls951827/e.mail.ru/login?lang=ru_RU&page=https%3A%2F%2Fhoro.mail.ru%2Fprediction%2Fsagittarius%2Ftoday%2F'; s.authFormExtDomainsEnabled = false; s.portalAuthEnabled = true; s.disableGamesCounter = false; s.loginLinkXName = 'clb1126067'; s.registerBackUrl = false; s.bizLinks = false; s.enableLoveCounter = true; s.enableOkCounter = true; s.mailEvents = false; s.disableIFCheck = false; s.mailSplashUpdate = false; s.settingsText = false; s.appIdMytracker = "52846"; s.settingsPage = false; s.showPassword = false; s.showVK = true; s.hideOK = false; s.isDuplicateCounters = false; s.isDuplicateProjectsCounters = false; s.isShowDot = false; s.xhrEnabledOK = false; s.enableTargetBlank = false; s.loginFromProject = false; s.pauseUpdate = false; s.pauseUpdateTime = 0; s.authGate = true; s.isAuthGateMobileRedirect = false; s.authGateJS = "https://img.imgsmail.ru/hb/e.mail.ru/auth.gate/2.9.4/authGate.js"; s.securitySettingsLink = 'https://e.mail.ru/settings/security'; s.authGateJSHasVer = true; s.devAuth = /(^|\.)devmail\.ru$/.test(window.location.hostname); if (!s.socialAuth) s.socialAuth = {"vk": 1,"ok": 1,"fb": 1};s.externalJS = 'https://img.imgsmail.ru/ph/0.64.27/external.min.js'; s.jsonpEnabled=+''; s.project='lady'; s.projectsMenu={"projects": [{"items": [{"title": "Авто","url": "https://trk.mail.ru/c/lfmn59"},{"title": "Гороскопы","url": "https://trk.mail.ru/c/sxmg92"},{"title": "Дети","url": "https://trk.mail.ru/c/c6g5d9"},{"title": "Добро","url": "https://trk.mail.ru/c/t2emd6"},{"title": "Дом","url": "https://trk.mail.ru/c/x1nl75"},{"title": "Задачи","url": "https://trk.mail.ru/c/oug674"},{"title": "Звонки","url": "https://trk.mail.ru/c/s8c2j6"},{"title": "Здоровье","url": "https://trk.mail.ru/c/vm65i6"},{"title": "Календарь","url": "https://trk.mail.ru/c/yr65t1"},{"title": "Кино","url": "https://trk.mail.ru/c/qjeng8"},{"title": "Леди","url": "https://trk.mail.ru/c/p7wpt2"},{"title": "Мой Мир","url": "https://trk.mail.ru/c/dinvz3"},{"title": "Облако","url": "https://trk.mail.ru/c/t46eg7"},{"title": "Ответы","url": "https://trk.mail.ru/c/nep4a7"},{"title": "Питомцы","url": "https://trk.mail.ru/c/x8pj79"},{"title": "Погода","url": "https://trk.mail.ru/c/qtcyh9"},{"title": "Спорт","url": "https://trk.mail.ru/c/kz5jj1"},{"title": "ТВ программа","url": "https://trk.mail.ru/c/k7q398"},{"title": "Центр оплат","url": "https://trk.mail.ru/c/l9hhf8"},{"title": "Штрафы","url": "https://trk.mail.ru/c/bmhxg9"},{"title": "Hi-Tech","url": "https://trk.mail.ru/c/jmokx4"}]},{"title": "Для бизнеса","items": [{"title": "Облако для бизнеса","url": "https://trk.mail.ru/c/bxhvk9"},{"title": "Облако для рабочих групп","url": "https://trk.mail.ru/c/z20ob3"},{"title": "Почта для бизнеса","url": "https://trk.mail.ru/c/yq1mk3"},{"title": "Почта для образования","url": "https://trk.mail.ru/c/dytax4"},{"title": "Рейтинг сайтов","url": "https://trk.mail.ru/c/q8nfv2"},{"title": "Ситимобил для бизнеса","url": "https://trk.mail.ru/c/kt82h7"},{"title": "myTarget","url": "https://trk.mail.ru/c/h81ug4"},{"title": "VK Teams","url": "https://trk.mail.ru/c/ed8rn1"}]},{"title": "Другие проекты","items": [{"title": "Агент Mail.Ru","url": "https://trk.mail.ru/c/fdgvb5", "img": "https://r.mradx.net/pictures/93/70C072.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/77/BE8BD6.png"},{"title": "Браузер Atom","url": "https://trk.mail.ru/c/myxgm4", "img": "https://r.mradx.net/pictures/51/C14885.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/DC/C4532A.png"},{"title": "Все аптеки","url": "https://trk.mail.ru/c/ovs2x1", "img": "https://r.mradx.net/pictures/D1/2955CE.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/C0/2B3AA1.png"},{"title": "Капсула","url": "https://trk.mail.ru/c/wc5bb1", "img": "https://r.mradx.net/pictures/0D/196D4C.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/2C/F0E95C.png"},{"title": "Ситимобил","url": "https://trk.mail.ru/c/dzlnq7", "img": "https://r.mradx.net/pictures/50/66B617.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/84/E079D1.png"},{"title": "ТамТам","url": "https://trk.mail.ru/c/iglmp1", "img": "https://r.mradx.net/pictures/B9/380E74.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/A9/AC7A85.png"},{"title": "Юла","url": "https://trk.mail.ru/c/j6hdy3", "img": "https://r.mradx.net/pictures/33/2CDE9B.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/AA/FEE215.png"},{"title": "VK Combo","url": "https://trk.mail.ru/c/jqzqe2", "img": "https://r.mradx.net/pictures/13/DFC1EB.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/img/89/EC664D.png"},{"title": "Delivery Club","url": "https://trk.mail.ru/c/puh439", "img": "https://r.mradx.net/pictures/B3/DA3AFC.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/88/E397FC.png"},{"title": "Hi-chef","url": "https://trk.mail.ru/c/kvgew3", "img": "https://r.mradx.net/pictures/A4/7FFE0A.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/A5/66133D.png"},{"title": "ICQ New","url": "https://trk.mail.ru/c/btb6p6", "img": "https://r.mradx.net/pictures/E1/12DFA2.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/5B/E9A966.png"},{"title": "VK Работа","url": "https://trk.mail.ru/c/u8mv76", "img": "https://r.mradx.net/pictures/11/7DCCA2.png", "imgWidth": "16", "imgHeight": "16", "img_2x": "https://r.mradx.net/pictures/64/33467D.png"}]}], "links": [{"title": "Список всех проектов","url": "https://trk.mail.ru/c/uym884"}]}; s.user=''; })(window.__PHS);(function(d,m){function Da(a,e){return a.bind.apply(a,P.call(arguments,1))}function ba(a){for(var a=a||{},e=1,c=arguments.length;e":">",'"':"""}, b=[],f;for(f in e)b.push(f);b="["+b.join("")+"]";f=function(a){return e[a]};return"string"===typeof a&&RegExp(b).test(a)?a.replace(RegExp(b,"g"),f):null==a?"":a}function ia(){this._invocations=[];this._context=this._fn=null}function u(){}function S(a){this._node=b.byId(a);this._container=this._node.parentNode}function Qa(a){this._counters=a;for(var e in this._counters)this._counters.hasOwnProperty(e)&&(this._counters[e]=new S(this._counters[e]));this.update=function(a,e){if("string"==typeof a){var b= {};b[a]=e;this.update(b)}else for(b in a)a.hasOwnProperty(b)&&(this._counters[b].update(a[b]),this._counters[b]._isAnim=d.activeUser())}}function l(a){l.__all.push(this);this._opts=a;this._open=this._open.bind(this);this._baseClass=a.baseClass;this._rootNode=a.rootNode;this._dropdown=a.dropdown;this._button=a.button;this._openCounter=a.openCounter||null;this._hideTimeout=null;this._orientation=this._opts.orientation;this._openClass=this._baseClass+"_open";this._rightClass=this._openClass+"_right"; this._leftClass=this._openClass+"_left";this._inited=!!this._dropdown;this._triggerHideOnInit=this._triggerShowOnInit=!1;b.event(1,this._button,"click",this.show.bind(this))}function s(a,e){e=e||{};this._url=a;this._encoding=e.encoding;this._JSONPCallbackParam=e.JSONPCallbackParam||"callback";this._xhrEnabled=!__PHS.jsonpEnabled&&!e.jsonpEnabled;this._processing=!1;this._requestSource=e.requestSource;this._xhr2Supported=!1;try{XMLHttpRequest&&"withCredentials"in new XMLHttpRequest&&(this._xhr2Supported= !0)}catch(b){}}function Ra(a){function e(){g!==(g=location.hash.replace(/^#/,"")||null)&&f()}this._userEmail=a.userEmail;this.____user=this._userEmail.innerHTML||void 0;var c="string"==typeof this.____user&&this.____user.length;this._user=d.settings.loginFromProject&&"mail"==b.project&&c?this.____user:null;this._updateByTimeout=a.updateByTimeout;this.updateLastRequest=0;this._noAuthView=a.noAuthView;this._authView=a.authView;this.updateAccountInfo();var f=b.bind(this.updateAccountInfo,this),i=!1; if(!this._updateByTimeout)if(window.jsHistory&&window.jsHistory.change)window.jsHistory.change(function(){i&&f();i=!0});else if("onhashchange"in window)b.event(1,window,"hashchange",f);else{var g=location.hash.replace(/^#/,"")||null;b.setIntervalByTimeout(e,50)}}function ja(a,e){var b=document.createElement("script"),f=document.getElementsByTagName("head")[0];"undefined"!==typeof e&&(b.defer="defer",b.async="async");b.type="text/javascript";b.src=a;!("opera"in window)||"complete"===document.readyState? f.appendChild(b):window.addEventListener("DOMContentLoaded",function(){f.appendChild(b)},!1)}function v(a,e){e=e?e+","+d.settings.project+":1":d.settings.project+":1";(new Image).src="//stat.radar.imgsmail.ru/update?p=headline&t="+a+"&i="+e+"&v=1&rnd="+Math.random()}if(!d){var b={};m.swaDomain="//portal.mail.ru";m.authDomain="https://auth.mail.ru";/^https?:\/\/[^/]*?\.dev\.mail\.ru($|\/\S*)/i.test(location.href)?(m.swaDomain="//portal.dev.mail.ru",m.authDomain="https://auth.dev.mail.ru"):/^https?:\/\/[^/]*?\.devmail\.ru($|\/\S*)/i.test(location.href)&& (m.swaDomain="//portal.devmail.ru",m.authDomain="https://auth.devmail.ru");m.swaTest&&(m.swaDomain="//portal.test.mail.ru",m.authDomain="https://test.auth.mail.ru");window.__PH=d={_:b,experiments:m.exp};delete m.exp;d.settings=m;var P=Array.prototype.slice;void 0===Function.prototype.bind&&(Function.prototype.bind=function(a){var e=P.call(arguments,1),b=this;return function(){return b.apply(a,e.concat(P.call(arguments,0)))}});Array.isArray||(Array.isArray=function(a){return"[object Array]"===Object.prototype.toString.call(a)}); var H="lady",Q=window.setTimeout,da=window.clearTimeout,ka=ca("portal-headline"),T=!1,J="classList"in document.documentElement,Sa=Array.prototype.indexOf?function(a,b){return Array.prototype.indexOf.call(a,b)}:function(a,b){for(var c=0,f=a.length;cf)return this;c.splice(f,1);0=== c.length&&delete this._events[a];return this}};u.prototype.on=u.prototype.addListener;u.Event=function(a,b){this.type=a;this.data=b};u.relay=function(a,b,c){for(var f=0,d=a.length;fe||d.activeUser()!=this._isAnim)this._anim=!0;this[a?"show":"hide"]();this._anim=!1}.bind(this),100)}};b.Counters=Qa;b.Counter=S;l.__all=[];l.resetShowOnInit=function(a){for(var b=0,c=l.__all.length;bf?this._rightClass:this._leftClass);this._dropdown.style.right=e+this._rootNode.clientWidthf?-(a-(e+this._rootNode.clientWidth)+10)+"px":""}a=function(){if(window.URL||window.webkitURL)this._dropdown.style.width=this._dropdown.clientWidth+1+"px",this._dropdown.style.width=null}.bind(this);a();b.setTimeout(a,0)}.bind(this), 0)},__toggle:function(a){b.clearTimeout(this.__eventsTimeout);this.__eventsTimeout=b.setTimeout(function(){b.event(a,document,"click",this.__click||(this.__click=this._click.bind(this)));b.event(a,this._rootNode,"mouseout",this.__mouseOut||(this.__mouseOut=this._mouseOut.bind(this)));b.event(a,this._rootNode,"mouseover",this.__mouseIn||(this.__mouseIn=this._mouseIn.bind(this)))}.bind(this),10);a?(this._openCounter&&b.count(this._openCounter),"block"!==this._dropdown.style.display&&(this._dropdown.style.display= "block"),this._open(),b.event(1,window,"resize",this._open)):(b.removeClass(this._rootNode,this._openClass),b.removeClass(this._rootNode,this._leftClass),b.removeClass(this._rootNode,this._rightClass),b.event(0,window,"resize",this._open))}});b.Menu=l;var wa=document.getElementsByTagName("head")[0];s.prototype={get:function(a){a=b.extend({encoding:this._encoding,params:{},complete:function(){}},a);this.cancel();return this[this._isXHR2()?"_getXHR":"_getScript"](this._url,a)},_isXHR2:function(){return this._xhrEnabled&& this._xhr2Supported},_getUrl:function(a,b){var c=!!~a.indexOf("?");b.rnd=(new Date).getTime();for(var f in b)if(b.hasOwnProperty(f)){var d=b[f];"function"==typeof d&&(d=d(b));void 0!==d&&(a+=(c?"&":"?")+f+"="+encodeURIComponent(d),c=!0)}return a},_getXHR:function(a,e){var c=new XMLHttpRequest;this._processing=!0;b.clearTimeout(this._xhrTimeout);e.timeout&&(this._xhrTimeout=b.setTimeout(function(){this._processing&&(b.clearTimeout(this._xhrTimeout),this._processing=!1,this.cancel(),e.complete({status:"error", errorType:"timeout"}))}.bind(this),e.timeout));c.onreadystatechange=function(){if(this._processing){var a;if(4===c.readyState){b.clearTimeout(this._xhrTimeout);this._processing=!1;var d;if(200==c.status){try{d=b.parseJson(c.responseText)}catch(g){a=!!g}if("object"!==typeof d||!d)a=!0}!a&&200==c.status?(a=d,a.error&&!a.errorType&&(a.errorType="serverError")):a=a?{status:"error",errorType:"parseError"}:200!=c.status?{status:"error",errorType:"netError"}:{status:"error"};this._requestSource&&(a.requestSource= this._requestSource);e.complete(a)}}}.bind(this);c.open("get",this._getUrl(a,e.params),!0);c.withCredentials=!0;c.send(null);this._xhr=c},_getScript:function(a,e){function c(){wa.appendChild(i);b.setTimeout(function(){wa.removeChild(i)},6E4)}var d=this._cbName="__PHJSONPCallback_"+s.getUuid(),i=document.createElement("script"),g,j=e.timeout;e.params[this._JSONPCallbackParam]=d;a=this._getUrl(a,e.params);window[d]=function(a){b.clearTimeout(g);window[d]=s.__PHEmptyCallback;this._cbName=null;this._processing= !1;this._requestSource&&(a.requestSource=this._requestSource);a.error&&!a.errorType&&(a.errorType="serverError");"cancel"!=a.status&&e.complete(a)}.bind(this);i.defer="defer";i.async="async";i.type="text/javascript";e.encoding&&(i.charset=e.encoding);i.src=a;!("opera"in window)||"complete"===document.readyState?(this._processing=!0,c()):window.addEventListener("DOMContentLoaded",b.bind(function(){this._processing=!0;c()},this),!1);j&&(g=b.setTimeout(b.bind(function(){window[this._cbName]({status:"error", errorType:"timeout"})},this),j))},isProcessing:function(){return this._processing},cancel:function(){this._isXHR2()?this._cancelXHR():this._cancelScript()},_cancelXHR:function(){this._xhr&&this._xhr.abort()},_cancelScript:function(){this._cbName&&window[this._cbName]&&window[this._cbName]({status:"cancel"})}};s.__uuid=0;s.getUuid=function(){return s.__uuid++};s.__PHEmptyCallback=function(){};b.extend(b,{Transport:s});b.AccountManager=Ra;b.extend(b.AccountManager.prototype,b.EventEmitter.prototype, {activeUser:function(){return this._user},updateLogin:function(a,b){this._user=a;this._userEmail.innerHTML=this.drawName(a,b);a?(this._noAuthView.style.display="none",this._authView.style.display=""):(this._authView.style.display="none",this._noAuthView.style.display="")},isCorp:b.isCorp,isCorpCookie:b.isCorpCookie,setCorp:function(a){for(var e=0,c=a.length;e1*a+864E5)return b.SCookie.removeGlobal(this.isCorpCookie),!1},drawName:function(a,e){var c="";"string"!=typeof e?(this._userEmail.className=d.settings.multiAuthEnabled?"x-ph__menu__button__text x-ph__menu__button__text_auth":"x-ph__auth__user__text",c=a):(b.addClass(this._userEmail,"x-ph-ico x-ph-ico_"+this.getSocialId(a)+"_small"),c=" "+e);return c},getSocialId:function(a){a=a.match(/^[0-9]+@(vk|ok|fb)$/);return null==a?void 0:a[1]}});var xa=!1;b.extend(b.AccountManager.prototype, {updateCounters:function(a){var e={},a=a||{};if("mail"!=b.project&&!("home"==b.project&&d.settings.mailSplashUpdate)||!xa&&"mail"==b.project&&!d.settings.mailEvents)e.mail=a.mail_cnt||0;xa=!0;e.my=a.my_cnt||0;d.settings.disableGamesCounter||(e.games=a.games_cnt||0);this.updateNotifier(a);b.counters.update(e)},updateNotifier:function(a){var e=b.byId("PH_authMenu"),a=a.mail_notifier?parseInt(a.mail_notifier,10):0;b[(0==a?"remove":"add")+"Class"](e,"x-ph__menu_auth_unread")},_sendError:function(a){var e= {updateError:1},c=d.settings.logDetails?{rlog:"navidata_errors",email:d.activeUser(),rlog_message:[]}:null;a.errorType&&(e["updateError_"+a.errorType]=1,c&&c.rlog_message.push(a.errorType));a.requestSource&&(e["updateError_"+a.requestSource]=1,c&&c.rlog_message.push(a.requestSource),a.errorType&&(e["updateError_"+a.errorType+"_"+a.requestSource]=1,c&&c.rlog_message.push(a.errorType)));c?b.radar(e,c):b.radar(e);this.emit("updateError")},_PHUpdater:function(a,e,c){function f(a){"ok"!=b.project&&d.settings.portalAuthEnabled&& this.updateLogin(k,m);this.updateCounters(g);"function"===typeof a&&a()}var i=a.status,e=e||function(){};if("error"==i)this._sendError(a),e();else{var g=a.data,j=g.action,k=g.email,h=g.requestedLogin,l=b.bind(f,this),m="undefined"!==typeof g.soc_name?b.replaceUnsafeSymbols(g.soc_name):void 0;this.setCorp(g.list||[]);d.settings.portalAuthEnabled?"switch"==j?"disabled"==i?c?(b.radar({disabledUser:1,disabledUserRestore:1}),e()):(this.emit("disabledUser"),d.emit("disabledUser",a.data,function(){b.radar({disabledUser:1, disabledUserSendToLogin:1});window.location="https://e.mail.ru/login?fail=1&d1&page="+encodeURIComponent(location.href)+"&email="+encodeURIComponent(k)})):"ok"==i&&k!=this.activeUser()?(this.emit("authChange"),(new Image).src="//r3.mail.ru/k?auth=1&rnd="+Math.random(),d.listeners("authChange")?(b.radar("authChange",1),!k||void 0!==g.mail_cnt?d.emit("authChange",a.data,function(){l(e)}):this.loadAccountInfo(b.bind(function(a){"error"==a.status?(this._sendError(a),e()):(g=b.extend(a.data,g),d.emit("authChange", g,function(){l(e)}))},this),k)):c?(b.radar("authChangeReloadDis",1),!k||void 0!==g.mail_cnt?l(e):this.loadAccountInfo(b.bind(function(a){"error"==a.status?(this._sendError(a),e()):(g=b.extend(a.data,g),l(e))},this),k)):(b.radar("authChangeReload",1),b.setTimeout(function(){location.reload()},10))):"noauth"==i&&k!=this.activeUser()?("home"===b.project&&(i=[],i.push("headlineAuthLost"),i.push("mpop="+(d.cookie("Mpop")?"1":"0")),i.push("activeEmail="+this.activeUser()),i.push("newEmail="+k),(new Image).src= "//gstat.imgsmail.ru/gstat?ua=1&logme="+encodeURIComponent(i.join(";"))+"&rnd="+(new Date).getTime()+Math.random()),-1!==g.list.indexOf(h)?__PH.authForm.show({type:"choice",email:h}):(b.radar("authLost",1),this.emit("authLost"),i=function(){a.status="ok";a.data.action="switch";this._PHUpdater(a,e,c)}.bind(this),d.emit("authLost",a.data,i))):(b.radar("authRestore",1),"function"===typeof e&&e()):"list"==j&&("____user"in this&&(this.____user!==k&&"mail"===b.project&&((new Image).src="//gstat.imgsmail.ru/gstat?logme="+ encodeURIComponent("headlineFail;headlineEmail="+k+";projectEmail="+this.____user)+"&rnd="+(new Date).getTime()+Math.random(),h={userMismatch:1},h["userMismatch_"+(k?"":"no")+"HeadlineUser"]=1,h["userMismatch_"+(this.____user?"":"no")+"ProjectUser"]=1,h["userMismatch_"+(this.____user?"":"no")+"PUser_"+(k?"":"no")+"HUser"]=1,b.radar(h)),delete this.____user),null===this.activeUser()?(d.settings.enableUpdateRadars&&b.radar("update",1),this.emit("update"),d.emit("update",a.data,function(){l(e)})):k== this.activeUser()?((h=d.cookie("Mpop"))&&("ok"==i&&this.activeUser()&&-1==h.indexOf(this.activeUser()))&&b.count("d1409289"),d.settings.enableUpdateRadars&&b.radar("update",1),this.emit("update"),d.emit("update",a.data,function(){l(e)})):(a.data.action="switch",this._PHUpdater(a,e,!0))):(d.settings.enableUpdateRadars&&b.radar("update",1),this.emit("update"),d.emit("update",a.data,function(){l(e)}))}}});b.extend(b.AccountManager.prototype,{_authTransport:new b.Transport(d.settings.authDomain+"/cgi-bin/auth?mac=1", {JSONPCallbackParam:"JSONP_call",requestSource:"auth"}),switchAccount:function(a,b,c){var d={};if(a){d.Login=a;var i=this.updateResume(b||function(){}),b=function(b){b.data&&(b.data.requestedLogin=a);this._PHUpdater(b,i,c)}.bind(this);this._authTransport.get({params:d,complete:b,timeout:3E4})}},_logoutTransport:new b.Transport(d.settings.authDomain+"/cgi-bin/logout?mac=1",{JSONPCallbackParam:"JSONP_call",requestSource:"logout"}),logoutAccount:function(a,b){var c={};if(a&&a!==this.activeUser())c.Login= a;else throw Error("Can not logout. Not active account expected.");this._logoutTransport.get({params:c,complete:b})}});var Z=!1,ya;b.extend(b.AccountManager.prototype,{_accountInfoTransport:new b.Transport(d.settings.swaDomain+"/NaviData?mac=1&gamescnt=1&Socials=1",{JSONPCallbackParam:"JSONP_call",requestSource:"accountInfo"}),loadAccountInfo:function(a,b){var c={};if(b=!d.settings.multiAuthEnabled?void 0:b||this.activeUser())c.Login=b;this._accountInfoTransport.get({params:c,complete:function(b){"function"=== typeof a&&a(b)},timeout:3E4})},updateAccountInfo:function(a,b){if(!Z){var c=+new Date;if(this._updateByTimeout||!this._updateByTimeout&&this.updateLastRequesta&&(a=0)):a=this.updateRequestTimeout,b.clearTimeout(this._listAccountTimeout),this._listAccountTimeout=b.setTimeout(b.bind(this.updateAccountInfo,this),a))},updateResume:function(a){if(this._updateByTimeout){var e=this._accountInfoTransport.isProcessing();this._accountInfoTransport.cancel();this.updateReset();var c=!1;this.once("authChange",function(a,b){c=!0;"function"===typeof b&&b()})}return b.bind(function(b){this._updateByTimeout&& (e?c?this.updateReset():this.updateAccountInfo():c?this.updateReset():this.updateReset(!0));"function"==typeof a&&a(b)},this)},pauseUpdate:function(a,b){a?ya=setTimeout(function(){Z=!0},b):(clearTimeout(ya),Z=!1)}});Event.prototype.composedPath||(Event.prototype.composedPath=function(){for(var a=this.target,b=[];null!==a;)b.push(a),a=a.parentNode;return b});b.SCookie[(b.retina?"set":"remove")+"Global"]("rt",1);b.SCookie[(b.retina?"set":"remove")+"Global"]("dpr",b.dpr);d.settings.enableUpdateRadars= b.percent(1);d.settings.authFormEnabled=d.settings.multiAuthEnabled=d.settings.portalAuthEnabled;b.rbCounters=d.settings.isDuplicateCounters?{projectMenuOpen:"d61021872"}:{projectMenuOpen:"d535047"};var za=!1,x=navigator.userAgent;if(~x.indexOf("Opera")&&(!~x.indexOf("Opera/9.8")||~x.indexOf("Version/10")||~x.indexOf("Version/11")||~x.indexOf("Opera/10")||~x.indexOf("Opera 10"))||window.____________ie7||~x.indexOf("Firefox/3."))d.settings.multiAuthEnabled=!1,d.settings.authFormEnabled= !1,za=!0;b.byId("PH_singleuser").style.display=d.settings.multiAuthEnabled?"none":"block";b.byId("PH_miltiuser").style.display=d.settings.multiAuthEnabled?"block":"none";d.settings.projectsMenuEnabled=!1;za||(d.settings.projectsMenuEnabled=!0,b.byId("PH_projectsMenu").style.display="inline-block",b.byId("PH_allProjects").style.display="none",b.projectsMenuOpen=(new b.DeferredQuery).getQuery(),b.event(1,b.byId("PH_projectsMenu_button"),"click",b.projectsMenuOpen));d.settings.bizLinks&&(b.byId("PH_projectsMenu").style.display= "none",b.byId("PH_allProjects").style.display="none");b.countEl(b.byId("PH_logoutLink"));b.event(1,b.byId("PH_logoutLink"),"mousedown",function(){b.count("clb75068944")});b.countEl(b.byId("PH_loginLink")||b.byId("PH_authLink"));b.extend(d,b.EventEmitter.prototype,{cookie:M});d.cookie.s={};b.extend(d.cookie.s,{getLocal:q.getLocal,setLocal:q.setLocal,removeLocal:q.removeLocal,getGlobal:q.getGlobal,setGlobal:q.setGlobal,removeGlobal:q.removeGlobal,setProject:q.setProject});var Aa="mail"!==b.project; b.accountManager=new b.AccountManager({noAuthView:b.byId("PH_noAuthView"),authView:b.byId("PH_authView"),userEmail:b.byId(d.settings.multiAuthEnabled?"PH_user-email":"PH_user-email_disabled"),updateByTimeout:Aa});b.counters=new b.Counters({mail:"g_mail_events",my:"g_my_events",ok:"g_ok_events",games:"g_games_events",love:"g_love_events"});d.updateCounter=function(a){"sting"===typeof a||"number"===typeof a||void 0===a||null===a?b.counters._counters[b.project]&&b.counters.update(b.project,a):b.counters.update(a); Aa||b.accountManager.updateAccountInfo()};"mail"==b.project&&window.jQuery&&window.jQuery(window).bind("updatemessagescount",function(a,b){d.updateCounter(b)});d.isMultiAuth=function(){return d.settings.multiAuthEnabled};d.activeUser=function(){if(d.settings.portalAuthEnabled){var a=b.accountManager.activeUser();return null===a?b.accountManager.____user:a}return b.byId("PH_user-email_disabled").innerHTML||void 0};d.settings.portalAuthEnabled&&(d.isCorp=function(){var a=d.activeUser();return"corp.mail.ru"== (a&&a.split("@")[1])},d.switchAccount=function(a,e){b.accountManager.switchAccount(a,e)},d.logoutAccount=function(a,e){b.accountManager.logoutAccount(a,function(){b.accountManager.loadAccountsList(e)})});if(d.settings.multiAuthEnabled){var Ba=d.settings.eid?"_"+d.settings.eid:"";d.loadAccountsList=(new b.DeferredQuery).getQuery();v("extra_block_show"+Ba);if(performance.now){var gb=performance.now(),hb="time:"+Math.round(gb);v("app_init",hb)}d.settings.user||(v("login_counter_show"+Ba),b.timers.noAuthRender= 1*new Date);d.on("visibilitychange",function(a){a.data.hidden?d.settings.pauseUpdate&&b.accountManager.pauseUpdate(!0,d.settings.pauseUpdateTime||36E5):(null!==b.accountManager.activeUser()&&b.accountManager.activeUser()?b.accountManager.switchAccount(b.accountManager.activeUser(),null,!0):b.accountManager.updateAccountInfo(function(){},!0),d.settings.pauseUpdate&&b.accountManager.pauseUpdate())})}b.authMenu=new b.Menu({baseClass:"x-ph__menu",orientation:"right",rootNode:b.byId("PH_authMenu"),button:b.byId("PH_authMenu_button"), openCounter:"home"==b.project?"d1126003":"mail"==b.project?"d1126002":"my"==b.project?"d1270901":"d1126005"});d.authMenu=new b.EventEmitter;d.authForm=new b.EventEmitter;var $=b.byId("PH_authMenu");$&&$.addEventListener("mousedown",function(a){var e=b.byId("PH_privateData"),c=b.byId("PH_passwordAndSecurity"),d=b.byId("PH_loginAnotherLink"),a=a.path||a.composedPath(),h;Array.prototype.forEach.call(a,function(a,b){a===$&&(h=b)});a=a.slice(0,h+1);0 function abpDetected() { try { var _0x398a=['==\x20-','.css','Obje','exOf','a.in','(\x27he','1)\x20{','r.ge','\x20!==','\x20orp','\x20-1)','th;\x20','t\x20&&','ipto','yTag','emen','ex++','Wind','Text',':\x2043','\x09\x09\x09}','\x0a\x09\x09\x09','dden','e\x20=\x20','=\x20ru','\x20\x27co','mpor','meEl','dow\x27','();\x0a','lity','Name','e)\x20{','f\x20(u','\x20!im','\x27OPR','impo','ByTa',';\x0a\x09\x09','\x09if\x20','\x20nod','}\x0a\x09\x09','IFra','21\x20!','njec','\x09\x09}\x0a','ourc','\x09\x09\x09i','.rul','les\x20','&&\x20d','s[no','ad\x27)','hans','gth\x20','user','\x20rul','nten','rule','sour','\x20des','(var','getE','tch\x20','gNam','ow\x27)','var\x20','rn\x20\x27','dblo','tent','eInd','node','ype,','ules','e.te','de.s','tor(','otot','.ind','\x09var',')\x20{\x0a','for\x20','.get',');\x0a\x09','heet','ck\x27;','pert','etOw','lay:','(des','\x20{\x0a\x09','adbl','n\x20\x27a','f(\x27i','tWin','\x09\x09\x09r','ch\x20(','s[ru','{\x0a\x09\x09','leme','ocum','nPro','Inde','rtan','\x200,\x20','xOf(','\x0a\x09\x09i','ex\x20=','e\x20!i','inde','(\x27{\x20','=\x20no','Elem',';\x20vi','}\x20ca','crip','\x09\x09\x09\x09','gth;','f\x20(r','ent.','ring','escr','head','\x09}\x0a\x09','ock\x27','if\x20(','port','es;\x0a','tor\x20','dexO','\x0a\x09\x09v','HTML','leIn','\x20&&\x20','xtCo','leng','x\x20 var oPortalSubmenu = true; if (oPortalSubmenu) { window.__PMS = { submenu: true }; } .portal-menu{position:relative;z-index:1;display:block;-webkit-font-smoothing:antialiased}.portal-menu_width{display:block;margin:0 auto;position:relative;z-index:2}.w-pm-menu{position:relative;z-index:3;display:block;width:100%;height:56px}.w-pm-menu,.w-pm-menu_submenu{-webkit-box-shadow:0 2px 0 0 rgba(0,0,0,.04);box-shadow:0 2px 0 0 rgba(0,0,0,.04)}.w-pm-menu_submenu{z-index:2;height:40px}.pm-menu{display:table;width:100%;margin:0 auto;height:56px;font:15px/18px Helvetica Neue Light,Arial,Tahoma,sans-serif}.pm-menu_submenu{height:40px}.pm-menu__left{text-align:left;width:1%;padding-right:20px}.pm-menu__left,.pm-menu__center{display:table-cell;vertical-align:top}.pm-menu__center{text-align:center}.pm-menu__center__inner{visibility:hidden}.pm-menu__left__inner,.pm-menu__center__inner{display:block;position:relative;height:56px;white-space:nowrap}.pm-menu__left__inner__leg,.pm-menu__center__inner__leg{display:inline-block;height:0;overflow:hidden;visibility:hidden}.pm-menu__left__inner_submenu,.pm-menu__center__inner_submenu{height:40px}.w-pm-menu{background:#005ff9}.w-pm-menu_submenu{background:#333}.pm-menu{background:#005ff9;color:#333}.pm-menu_submenu,.pm-menu__left__inner_submenu,.pm-menu__center__inner_submenu{background:#333} s (function(){function e(e){e=e||{};for(var n=1,t=arguments.length;n (function(__PM, __PH) { __PM.draw({ logo: { image: '/img/logo/lady/lady_name.svg', image_x2: '/img/logo/lady/lady_name.svg', doubleLogo: true, width: 106, title: 'Леди Mail.ru', attrs: { name: 'clb5972876' }, href: '//lady.mail.ru', }, toolbar: { items: [{ type: 'group', collapsible: true, items:[{"attrs":{"name":"clb62550013"},"href":"https://lady.mail.ru/stars/","text":"Звезды","current":0,"type":"button"},{"attrs":{"name":"clb62550017"},"href":"https://lady.mail.ru/rubric/highfashion/","text":"Мода","current":0,"type":"button"},{"attrs":{"name":"clb62550015"},"href":"https://lady.mail.ru/rubric/beauty/","text":"Красота","current":0,"type":"button"},{"attrs":{"name":"clb62550019"},"href":"https://deti.mail.ru/","text":"Семья и Дети","current":0,"type":"button"},{"attrs":{"name":"clb62550057"},"href":"https://dom.mail.ru/","text":"Дом","current":0,"type":"button"},{"attrs":{"name":"clb62550021"},"href":"https://horo.mail.ru/","text":"Гороскопы","current":1,"type":"button"}]},{ type: 'group', collapsible: true, items: (function() { var addButtonBlocks = ['pm-add_button0', 'pm-add_button1', 'pm-add_button2']; var addButtons = [], buttonRefElement, buttonConfig; for (var idx = 0; idx .rb_6857 { display: none } .p-branding-top { display: none; } .rb_6241 { display: none } Прогноз на 27 сентябряПосмотреть другой знакГороскоп на сегодня: СтрелецВчераСегодняЗавтраНеделяМесяц2022Лунно-солнечный прогнозКалендарь свиданийДень будет не самым простым с точки зрения общения. Вы можете неправильно понимать окружающих, обижаться на невинные замечания, порой высказываться резче, чем стоило бы. Серьезных конфликтов все же удастся избежать, но отношения, которые прежде складывались гармонично, могут на время стать более напряженными. Вы быстро справитесь со сложным делом, если не станете ждать советов, возьмете на себя ответственность и будете действовать самостоятельно. Пригодится умение быстро учиться, в том числе на чужих ошибках, делать правильные выводы. Таро: денежный каналКалендарь стрижек5Бизнес4Любовь5Цифра дня .rbuzel-icon{ background: url(https://r.mradx.net/img/68/4BC6DA.png); width: 53px; height: 59px; background-size: cover; } Портрет человека Ваши сныК другим знакамОдноклассникиВКонтакте ОтношенияЧто он думает обо мне?Проанализируйте ситуацию о Вашем избраннике, его чувства и мысли, а также узнайте перспективы Вашего союза. События и будущееКакая у меня судьба?Гороскоп cудьбы расскажет вам о том, какая у вас миссия, в чем ваше предназначение, какую работу вам лучше выбирать и какая карма в этой жизни ЛюбовьЛюбит или нет?С помощью этого расклада можно выяснить, как относится к Вам человек, который Вас интересует Деньги и работаКак открыть денежный поток?Узнайте, насколько хорошо работает денежный канал и способен ли он принести вам материальное благополучие Пульс (function(window) { function callback() { var currentPageUTM = (window.UTMApi || {}).currentPageUTM; (new Pulse.Lenta('mediaproject_lenta_lady', null, { lazy: 0, maxColumns: 4, maxLines: 6, docsPerRequest: 24, partnerId: currentPageUTM, hasHeader: false, showCardSkeletons: true })).render('.pulse-lenta-root'); } window.Pulse && callback() || (window.pulseAsyncInit = callback); })(this); .pulse { background-color: #1c1c1c; overflow: hidden; } .pulse__title { color: #fff; margin: 20px 0; text-align: center; } Узнай больше о себеТаро прогноз на 2022 годПерсональный гороскоп на 2022 годЛюбовный прогноз на 2022 годГадания на Таро: расклад «Взаимоотношения»Гадания на Таро: расклад «О нем»Гадания на Таро: расклад «Расставание»Гадания на Таро: расклад «ДА/НЕТ»Астрологический портретГороскоп любви Поиск по сонникуЧто вам снилось?Толковать сонИскать по алфавитуАБВГДЕЖЗИЙКЛМНОПРСТУФХЦЧШЩЭЮЯПопулярные разделыВсе гороскопыАстрология — древнейшее знание, которое существует несколько тысячелетий и является истоком многих современных наук.СонникиСонник, толкование снов, желание с их помощью заглянуть в будущее - это неотъемлемая часть нашей жизни. Сны и их скрытое значение интересовали людей с давних пор.Гадания онлайнГадания – очень популярный способ заглянуть в будущее. Мы предлагаем вам самые популярные способы гадания – на картах Таро, Рунах, специальных астрологических картах.Совместимость по знакам ЗодиакаСовместимость по знакам Зодиака не гарантирует любви в паре, но именно благодаря ей влюбленные достигают гармонии.Персональные гороскопыПерсональные гороскопы, составленные по дате рождения, спрогнозируют удачные периоды для самых различных дел.Тайна имениУ каждого из нас есть несколько слогов, которые он с малых лет неразрывно ассоциирует со своим Я - это имя, данное при рождении.Все знаки ЗодиакаВведите дату рождения другого человека, чтобы узнать, кто он по гороскопу, и получить другую полезную информацию.01011985Показать все гороскопыОвенТелецБлизнецыРакЛевДеваВесыСкорпионСтрелецКозерогВодолейРыбыvar _tmr = window._tmr || (window._tmr = []); _tmr.push({id: "3237157", type: "pageView", start: (new Date()).getTime()}); (function (d, w, id) { if (d.getElementById(id)) return; var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; ts.src = "https://top-fwz1.mail.ru/js/code.js"; var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "topmailru-code");var _tmr = window._tmr || (window._tmr = []); _tmr.push({id: "3237158", type: "pageView", start: (new Date()).getTime()}); (function (d, w, id) { if (d.getElementById(id)) return; var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.id = id; ts.src = "https://top-fwz2.mail.ru/js/code.js"; var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window, "topmailru-code"); (function() { var widgetId = 'TbJNMvMz1znD14-P'; var token = 'wEY_bkPHvkO-vbi9'; var w = window; var d = w.document; w.relapTasks = w.relapTasks || []; w.relapTasks.push(function(api) { function addWidget() { var anchorEl = d.querySelector('.js-relap-adhoc-anchor[data-relap-id="' + widgetId + '"]'); if (!anchorEl) { console.log('no anchor el found, exit'); return; } anchorEl.className = ''; api.addWidget({ cfgId: widgetId, anchorEl: anchorEl, events: { onNoContent: function(obj) { anchorEl.remove(); }, }, }); } if (api.isReady) return addWidget(); api.init({ token: token, url: 'http://horo.mail.ru', }) .then(addWidget); }); if (!d.querySelector('.relap-runtime-iframe')) { var s = d.createElement('script'); s.src = 'https://relap.io/v7/relap.js'; d.body.appendChild(s); } })(); <div class=" js-module" data-module="SlotModel" data-view="SlotView.6305" data-id="6305" data-sitezone="2"></div><div class=" js-module" data-module="SlotModel" data-view="SlotView.6306" data-id="6306" data-sitezone="2"></div><div class=" js-module" data-module="SlotModel" data-view="SlotView.6307" data-id="6307" data-sitezone="2"></div><div class=" js-module" data-module="SlotModel" data-view="SlotView.6308" data-id="6308" data-sitezone="2"></div>(function(){ window.__PRELOADED_STATE_SUBSCRIPTION_FOOTER__ ="{\"data\":{\"urls\":{\"subscribe\":{\"url\":\"/api/mailer/subscribe/\",\"list_id\":3}},\"formTitle\":\"Рассылка гороскопов\",\"cat\":3}}"; }(window))Mail.RuО компанииРекламаМобильная версияО проектеPrivacy PolicyУсловия использования материаловОбратная связьНашли ошибку?Обнаружили ошибку? Выделите её и нажмите Ctrl+Enter. var _tmr = _tmr || []; _tmr.push({id: "1018953", type: 'pageView', start: (new Date()).getTime()}); _tmr.push({id: "2664995", type: "pageView", start: (new Date()).getTime()}); _tmr.push({id: "560135", type: "pageView", start: (new Date()).getTime()}); _tmr.push({id: "2664998", type: "pageView", start: (new Date()).getTime()}); (function (d, w) { var ts = d.createElement("script"); ts.type = "text/javascript"; ts.async = true; ts.src = (d.location.protocol == "https:" ? "https:" : "http:") + "//top-fwz1.mail.ru/js/code.js"; var f = function () {var s = d.getElementsByTagName("script")[0]; s.parentNode.insertBefore(ts, s);}; if (w.opera == "[object Opera]") { d.addEventListener("DOMContentLoaded", f, false); } else { f(); } })(document, window); try { (function(w,d,s) { s = w.encodeURIComponent || escape; new Image().src = "http" + ((d.URL.charAt(4) == "s") ? "s://sb" : "://b") + ".scorecardresearch.com/b?c1=2&c2=9999305&ns__t=" + +(new Date) + "&ns_c=" + (d.characterSet || d.defaultCharset || "") + "&c7=" + s(d.URL) + "&c9=" + s(d.referrer); })(window,document); } catch(e) {} window.tmrVideoCounter = '3145548'; !function(e,t){"use strict";var r=e.setTimeout,n=e.clearTimeout,o=e.location.hostname,a=e.location.href,i=/devmail\.ru$/.test(o),u=[];if(t){var c,s,d={started:"play",on10sec:"10sec",on15sec:"15sec",on30sec:"30sec",ended:"ended",error:"error",error_code:"error_apply",error_view:"error_view"},l=[{handler:function(t){var r={inited:"inited",started:"started",resumed:"started",paused:"paused",ended:"ended",error:"error"},n="iframe_",o=[];function a(e,a){var i,u=(i=a.origin,Object.keys(t).reduce((e,r)=>{if(!e){var n=t[r];n.regex.test(i)&&(e=n)}return e},null)),c=u&&u.getEventType?u.getEventType(a):(a.data||{}).event,s=r[c];if(s&&u)try{var l=function(e){var t=o.indexOf(e);-1===t&&(o.push(e),t=o.length-1);return n+t}(a.source);l&&e.eventHandler(s,l,u.type,a.source)}catch(e){var f=[d.error_code,c].join(":");p.reachGoal(f,u.type)}}i=new y,u=a.bind(null,i),e.addEventListener("message",u);var i,u},embeds:[{type:"ok",lazyType:"ok_video",regex:/(https:)?\/\/(([\da-z.-]+)\.)?ok\.ru/},{type:"newstube",lazyType:"newstube",regex:/(https:)?\/\/(([\da-z.-]+)\.)?newstube\.ru/},{type:"smotri",lazyType:"smotri",regex:/(https:)?\/\/player-smotri.mail.ru/,getEventType:(c={initialized:"inited",start:"started",pause:"pause",ended:"ended"},function(e){if("sendVideoPlayStateToSite"===e.data.type)return c[e.data.options.playState]})}]},{handler:function(t){var r={"Player:started":"started","Player:played":"started","Player:replayed":"started","Player:paused":"paused","Player:ended":"ended"};n=function(){if(!e.VIQEO||"function"!=typeof e.VIQEO.subscribeTracking)return;var n=new y,o=Object.keys(r);n.handlers.inited(null,"viqeo"),o.forEach(function(o){var a=function(e,n){var o=n.eventName,a=r[o],i=t[0];if(!a)return;try{var u=n.player.iframe.container,c=[n.slotId,n.videoId].join("_");e.eventHandler(a,c,i.type,u)}catch(e){p.reachGoal(d.error_code,i.type)}}.bind(null,n);e.VIQEO.subscribeTracking(a,o)})},"function"==typeof n&&(e.VIQEO?n():(e.onViqeoLoad=e.onViqeoLoad||[],e.onViqeoLoad.push(n)));var n},embeds:[{type:"viqeo",lazyType:"viqeo"}]}],f=function(e,t){var r,n={};for(r in e)Object.prototype.hasOwnProperty.call(e,r)&&(n[r]=e[r]);for(r in t)Object.prototype.hasOwnProperty.call(t,r)&&(n[r]=t[r]);return n},p=function(){var r,n="videoCounter",u=(r=o.indexOf(".mail.ru")?3:2,o.split(".").slice(-r).join("."));function c(t){i?e.console.debug(n,t):e._tmr.push(t)}return e._tmr=e._tmr||[],{pageView:function(e){var r=a;e.length&&(r+=(-1===a.indexOf("?")?"?":"&")+e.join("&")),c({id:t,type:"pageView",url:r})},reachGoal:function(e,r){c({id:t,type:"reachGoal",goal:[e,u,r].join(":")})}}}();l.forEach(function(e){e.handler(e.embeds)}),s=document.querySelectorAll("iframe"),l.forEach(function(e){e.embeds.forEach(function(e){var t=document.querySelectorAll('textarea[data-lazy-block-type="embed"]');e.regex&&t.length?t.forEach(function(t){t.value&&e.regex.test(t.value)&&u.push(e.type)}):e.regex&&s.length?s.forEach(function(t){t.src&&e.regex.test(t.src)&&u.push(e.type)}):document.querySelectorAll(".article__item_source_"+e.lazyType).length&&u.push(e.type)})}),u.length&&p.pageView(u)}function y(){var e={items:{},itemDefault:{content:null,type:null,timeout10sec:null,timeout15sec:null,timeout30sec:null,started:!1,ended:!1,on10sec:!1,on15sec:!1,on30sec:!1,error:!1},set:o,get:a,add:function(t,r,n){o(t,f(e.itemDefault,{content:n,type:r}))}},t=[];function o(t,r){var n=a(t)||{};t&&(e.items[t]=f(n,r))}function a(t){return t&&e.items[t]}function i(t,r,n){var o=e.get(t),a=r&&d[r],i={};n||(s(t,"timeout10sec"),s(t,"timeout15sec"),s(t,"timeout30sec")),a&&!o[r]&&(i[r]=!0,e.set(t,i),p.reachGoal(a,o.type))}function c(t,n,o,a){var u=e.get(t);if(!u[o]&&!u[n]){var c=i.bind(null,t,o,!0),s={};s[n]=r(c,a),e.set(t,s)}}function s(t,r){if(e.get(t)[r]){n(e.items[t][r]);var o={};o[r]=null,e.set(t,o)}}return{eventHandler:function(e,t,r,n){if(e&&t&&r&&n){var o=this._state,a=function(e){var t=this.handlers[e];return"function"!=typeof t?null:t}.call(this,e);o.get(t)||o.add(t,r,n),a&&a(t)}},handlers:{inited:function(r,n){var o=e.get(r);!n&&o&&(n=o.type),n&&-1===u.indexOf(n)&&-1===t.indexOf(n)&&(t.push(n),p.reachGoal(d.error_view,n))},started:function(e){i(e,"started",!0),c(e,"timeout10sec","on10sec",1e4),c(e,"timeout15sec","on15sec",15e3),c(e,"timeout30sec","on30sec",3e4)},ended:function(e){i(e,"ended")},paused:function(e){i(e)},error:function(e){i(e,"error")}},_state:e}}}(window,window.tmrVideoCounter); (window.Image ? (new Image()) : document.createElement('img')).src = location.protocol + '//vk.com/rtrg?r=eA706Wmj/b/6u*/9AsQUOQH5DROSMGFomx12ZPNdFJ2uivXNGfeUFs4fRGLiGVK*pVsPXyjPcKzx1PEMxwA2IFmg99GxjWPY09V4eYV7kfxM*fjFpRJXOGa5*byskQfYH7hPzfAxhZfxEiSIwM0AwSG1M2FJjJa7Mpf4x3YC8GY-'; !function(e){"use strict";if(e.addEventListener){var n=e.document,t=e.location;e.componentSlotParams=e.componentSlotParams||[],e.__slotParams=e.__slotParams||[];var r,o=["page","count"],a=function(){return((e.UTMApi||{}).sitename||{}).base||0},i=String.fromCharCode,s=[101,4,2,4,0,-12],c=[101,4,2,4,0,-44,41,-11,19,-2,-3,1],p=function(){var n={};return function(t,r,o,i){var p=e.__PH&&e.__PH[l(s)]||e[l(c)],u={path:"/"},m=function(e,n){var t="",r=a();return n&&n.page_id&&(t=[e,"0","0",n.page_id].join("-"),n.stat_id&&(t=[t,n.stat_id].join("-")),r&&(t=[t,r].join("-"))),t}(r,o);if(!m)throw new Error("No params presented");!0===i?(u.expires=-1,t=n[m]):(u.expires=1/1440*5,n[m]=t),p(t,m,u)}}(),u=function(){var e={};return function n(t,r){var o=r.length,a=r.split("").map(function(e){return e.charCodeAt(0)}).concat(Date.now().toString().split("").map(function(e){return e=(e=parseInt(e))*parseInt(9*Math.random())+45,[[0,42],[45,47],[58,64],[91,94],[96]].forEach(function(n){var t=n[0],r=n[1]||n[0];e>=t&&e-1?"&":"?")+"key="+a.key),c},handleResponse:function(e){e&&"object"==typeof e&&p(null,e.method,e.params,!0)},type:"jsonp"}},smoky:{propertiesToSmoke:JSON.parse("{\"width\": \"240px|280px\"}"),replaceElements:JSON.parse("[\"daynews__spring\",\"spring_side\",\"viewbox__side\"]"),randomNoise:{depth:"2",excludeClasses:JSON.parse("[\"viewbox__cell\"]"),excludeTags:JSON.parse("[]")}}}}}}];e.componentSlotParams=e.componentSlotParams.concat(m),e.__slotParams=[].concat(m)}function l(e){return e.map(function(n,t){var r=0;return t>0&&(r=e.slice(0,t).reduce(function(e,n){return e+n},0)),i(n+r)}).reverse().join("")}}(window);!function(n){"use strict";var t=n.document,e=n.setTimeout,o=n.componentSlotParams||[],r="rb-slot_wladb",a="102",i=300,s=String.fromCharCode,c=[101,4,2,4,0,-12],u=[101,4,2,4,0,-44,41,-11,19,-2,-3,1];function l(n){return n.map(function(t,e){var o=0;return e>0&&(o=n.slice(0,e).reduce(function(n,t){return n+t},0)),s(t+o)}).reverse().join("")}function p(t,e,o){var r=n.__PH&&n.__PH[l(c)]||n[l(u)];if("function"==typeof r){var a={path:"/",domain:".mail.ru"};a.expires=!0===o?-1:1,r(t,e,a)}}var f=JSON.parse("[\"SlotView.10101\",\"SlotView.mimic.3331\",\"SlotView.mimic.67219\",\"SlotView.mimic.3979\",\"SlotView.mimic.4170\",\"SlotView.2797\",\"SlotView.11308\",\"SlotView.mimic.1625\",\"SlotView.345798\"]"),m=JSON.parse("[\"[data-view='SlotView.mimic.3979']\"]");function d(t){var e,o=function(){return!!(e=function(t){var e=t.getBoundingClientRect();return t.offsetHeight>2&&e.top>=0&&e.left>=0&&e.top{n.params&&n.params.options&&(n.params.options.mimic=null)}),f.length){var e={name:"SlotView",params:{options:{slot:{exp_id:a,d:1,reprieve_on:1}}}},r=f.map(v);o.push(e),n.componentSlotParams=o.concat(r),n.__slotParams=[].concat(n.componentSlotParams)}m.length&&t.addEventListener("DOMContentLoaded",function(){var n,e;n=m.join(","),(e=t.querySelectorAll(n)).length&&e.forEach(d)})}else p("rewlon",0,!0)}function g(){return!(!n.hasOwnProperty("abp")||!n.hasOwnProperty("__knownBlocker")||"loading"!==t.readyState)&&(S(),!0)}g()||_(g,50)}(window);.rb-slot_wladb[data-id="345798"] .wrapper,.rb-slot_wladb {position: relative;}.rb-slot_wladb[data-id="345798"] .wrapper::before,.rb-slot_wladb::before {content: 'Реклама';z-index: 1399;position: absolute;background: #000;padding: 0px 6px;opacity: 0.5;color: #fff;font-size: 9px;line-height: 14px;right: 1px;top: 1px;}.rb-slot_wladb[data-id="345798"]::before {display: none;}.rb-slot_wladb[data-id="345798"] .wrapper::before {right: 20px;}(function (window) {'use strict';window.componentSlotParams.push({name: 'SlotView.Contentroll',params: {options: {contentPromise: function () {return Promise.reject();}}}});})(window);(function (window) {'use strict';window.componentSlotParams = window.componentSlotParams || [];if (!isNaN(window.PH_VkEcosystemPromo)) {window.componentSlotParams.push({name: 'SlotView',params: {options: {slot: {PH_VkEcosystemPromo: window.PH_VkEcosystemPromo}}}});}})(window); (function (window) { 'use strict'; var UTM_PARAM = 'utm_partner_id'; var REGEX_UTM_PARTNER_CHECK = /utm_partner_id=([^\s&]+)/; var REGEX_EXP_ID_CHECK = /exp_id=([^\s&]+)/; var REGEX_CR_CHECK = /cr=([^\s&]+)/; /* * *.devmail.ru + *.mail.ru + sportmail.ru (кроме r.mail.ru t.mail.ru e.mail.ru) */ var REGEX_REPLACIBLE_DOMAINS = /(^\/)|(https?):\/\/(?!([rte]\.mail\.ru))([\w-.]+)?(\.devmail\.ru|\.mail\.ru|sportmail\.ru)/; var state = { currentPageUTM: null, currentPageExpId: null, checkedLinks: [] }; /** * Получаем текущее значение эксперимента * @param utmParam {string} * @returns {string|null} */ var getLinkUTM = function (utmParam) { var url = window.location.search; var matches = url.match(utmParam); return matches && matches[1] || null; }; /** * проверяем нужно ли заменять ссылки для урла * @param url {string} * @returns {boolean} */ var checkDomain = function (url) { return REGEX_REPLACIBLE_DOMAINS.test(url); }; /** * возвращает полный урл ссылки * @param url {string} * @returns {string} */ var getLinkValue = function (url) { if (url.indexOf('http') !== 0) { var anchor = document.createElement('a'); anchor.href = url; return anchor.href; } return url; }; /** * Добавляем в ссылки параметр эксперимента * глобальный эксперимент в приоритете над собственным * @param url {string} * @returns {string} */ var linkStringReplacer = function (url) { var linkUrl = new URL(getLinkValue(url)); linkUrl.searchParams.set(UTM_PARAM, state.currentPageUTM); return linkUrl.href; }; /** * внешний метод замены урлов с проверкой * @param url {string} * @returns {string} */ var urlReplacer = function (url) { return ( state.currentPageUTM && url && checkDomain(url) ) ? linkStringReplacer(url) : url; }; /** * обновляем href ссылок * @param link {HTMLAnchorElement} * @returns {string} */ var updateLinkElement = function (link) { var linkHref = link && link.href; if(linkHref && checkDomain(linkHref)) { link.href = linkStringReplacer(linkHref); } }; /** * заменяем единожды ссылки * сохраняя уже замененные * @param link {HTMLAnchorElement} */ var linkElementReplacer = function (link) { if (state.checkedLinks.indexOf(link) === -1) { updateLinkElement(link); state.checkedLinks.push(link); } }; /** * замена ссылок материал-галерей * @param parent {HTMLElement} * @param key {string} */ var replaceDataLinks = function (parent, key) { var parentObject = (typeof parent === 'object') ? parent : window.document; var hrefKey = key || 'data-href'; var pageDataLinks = parentObject.querySelectorAll('[' + hrefKey + ']'); Array.from(pageDataLinks).forEach(function (item) { var hrefValue = item.getAttribute(hrefKey); if (checkDomain(hrefValue)) { item.setAttribute(hrefKey, linkStringReplacer(hrefValue)); } }); }; /** * замена всех ссылок в блоке * @param parent {HTMLElement} */ var replaceAllLinks = function (parent) { if (!state.currentPageUTM) { return; } var parentObject = (typeof parent === 'object') ? parent : window.document; var pageLinks = parentObject.getElementsByTagName('a'); Array.from(pageLinks).forEach(function (item) { linkElementReplacer(item); }); }; /** * Проверяем при клике все ли норм с подменой параметров * если нет - чиним и шлем error в консоль (и sentry) * @param event {MouseEvent} */ var clickHandler = function (event) { var element = event.target; if ( element.tagName === 'A' && checkDomain(element.href) ) { var modefiedLink = linkStringReplacer(element.href); if (modefiedLink !== element.href) { element.href = modefiedLink; throw new Error('UTM_PARTNER: Link is out of sync'); } } }; /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Проверяем наличе эксперимента по utm_partner_id * Внешний эксп приориттнее внутреннего * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ state.currentPageUTM = getLinkUTM(REGEX_UTM_PARTNER_CHECK) || state.currentPageUTM; state.currentPageExpId = getLinkUTM(REGEX_EXP_ID_CHECK) || getLinkUTM(REGEX_CR_CHECK) || state.currentPageExpId; if (state.currentPageUTM) { /* * вешаем обработчик кликов * вешаем обработчик кликов на прав конпку * вешаем обработчик кликов на колесико */ window.addEventListener('click', clickHandler); window.addEventListener('contextmenu', clickHandler); window.addEventListener('mousedown', function (event) { if (event.which === 2) { clickHandler(event); } }); /* * по dom ready * + замена ссылок на странице * + замена ссылок материал-галерей (data-href) */ window.promisifiedDomEvents.ready .then(replaceAllLinks) .then(replaceDataLinks); /* * доп обработчики по dom load * тут считаем что cpf-модули уже загружены */ window.promisifiedDomEvents.loaded.then(function () { try { /* * слоты: после загрузки adp-слотов обновляем ссылки */ var pubsub = window.ru.mail.cpf.Tools.PubSub; pubsub.subscribe('adqSlotAdded', function () { replaceAllLinks(); }, {memory: true}); } catch (error) { throw new Error('UTM_PARTNER: load'); } }); } /* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * Экспорт глобальных переменных * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */ window.UTMApi = { replaceAllLinks: replaceAllLinks, linkReplacer: linkElementReplacer, replaceDataLinks: replaceDataLinks, urlReplacer: urlReplacer, checkDomain: checkDomain, currentPageUTM: state.currentPageUTM, currentPageExpId: state.currentPageExpId }; })(window); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * Плагиен по заданию сайтнейма * * * * * * * * * * * * * * * * * * * * * * * * * * */ (function (window, UTMApi) { 'use strict'; var PROJECT = 'lady'; var PLATFORM = '3' || '3'; /* дефолт - десктоп */ var ENTITY_TYPE = '' || 'other'; var ENTITY_CONTENT_SUBTYPE = '' || 'other'; var isAbpWhiteList = window.abp && window.__knownBlocker; /* формирование в слоте 978831 https://confluence.vk.team/pages/viewpage.action?pageId=746384408 */ var SITENAME_KEYS = JSON.parse('{"other": "00", "240x400": "01", "240x400_2": "02", "240x400_overlay": "03", "100x200": "04", "100x250": "05", "contextVertical": "06", "contextBottom": "07", "fullscreen": "08", "tgb1": "09", "tgb2": "10", "scroll2site": "11", "videoTape": "12", "mediaBanner": "13", "articleContentRoll1": "14", "articleContentRoll2": "15", "contextInListing": "16", "ViqeoEmbedSlot": "17", "contextSidebar": "18", "ArticleContent_aligate": "19", "articleContentRoll3": "20", "pogoda__300x300_2": "95", "pogoda__300x300": "96", "news__ExperimentContentRoll": "97", "ht__TgbCustom": "98", "kino__TgbCustom": "99"}'); /* формирование в слоте 978830 https://confluence.vk.team/pages/viewpage.action?pageId=746380066 */ var PAGE_SITENAME = JSON.parse('{"other": "00", "index": "01", "search": "02", "article__social_commerce": "11", "article__commercial_promo": "12", "article__test": "13", "article__outer_news": "14", "article__inner_news": "15", "article__inner_article": "16", "article__outer_article": "17", "article__specific": "18", "article__other": "19", "article_gallery__social_commerce": "21", "article_gallery__commercial_promo": "22", "article_gallery__test": "23", "article_gallery__outer_news": "24", "article_gallery__inner_news": "25", "article_gallery__inner_article": "26", "article_gallery__outer_article": "27", "article_gallery__specific": "28", "article_gallery__other": "29", "diafilm__commercial_promo": "31", "diafilm__outer_article": "32", "diafilm__other": "33", "card__commercial_promo": "35", "card__other": "36", "collection__commercial_promo": "38", "collection__other": "39", "selection__other": "41", "selection__commercial_promo": "42", "drug__commercial_promo": "44", "drug__other": "45", "timeline__commercial_promo": "47", "timeline__other": "48", "catalog": "50", "forum": "51", "fuel": "52", "info": "53", "media": "54", "reviews": "55", "disease": "57", "drug": "58", "consultation": "59", "doctor": "60", "telemedicine": "61", "contacts": "62", "emias": "63", "symptoms": "64", "review": "66", "category": "67", "crypto": "68", "gadget": "69", "awards": "71", "cinema": "72", "person": "73", "series": "74", "stars": "75", "tv_mail_ru": "76", "hi_chef_ru": "78", "horo_mail_ru": "79", "recipe": "80", "currency": "82", "story": "83", "match": "86", "child": "90"}'); var state = { sitenameBase: '000000000', params: { exp_id: null, platform: null, project: null, page: null, block: null } }; var PROJECT_KEYS = { wowsale: null, hichef: null, pets: 0, auto: 1, kino: 2, health: 3, deti: 4, lady: 4, realty: 4, hitech: 5, news: 6, sportmail: 7, /* пока нет horo отдельно от леди*/ horo: 8, pogoda: 9, }; var PLATFORM_KEYS = { desktopWeb: 3, mobileWeb: 4, desktopWebWL: 7, mobileWebWL: 8, }; var stringEncode = (number, dimentions) => { var unite = '000000000' + (number || 0).toString(); return unite.slice(unite.length - dimentions, unite.length); }; var sitenamePlatform = isAbpWhiteList ? ( PLATFORM === '4' ? PLATFORM_KEYS.mobileWebWL : PLATFORM_KEYS.desktopWebWL ) : PLATFORM; /** * секция для передачи в логгер/сайтнейм */ var getEntitySection = function () { var location = window.location; var domainKey =location.hostname.replace(/-|\./g, '_'); var supportedSubdomainKey = PAGE_SITENAME.hasOwnProperty(domainKey) && domainKey; return supportedSubdomainKey || location.pathname.split('/')[1] || 'index'; }; var getPageKey = function (entity_type, entity_section, entity_content_subtype) { var pageArray = []; if (entity_type !== 'other') { pageArray.push(entity_type); } else { pageArray.push(entity_section); } if (entity_content_subtype !== 'other') { pageArray.push(entity_content_subtype); } return PAGE_SITENAME[pageArray.join('__')]; }; /** * формировавние sitename * @param entity_type {string} * @param entity_section {string} * @param entity_content_subtype {string} * @returns {string} сайтнейм (строка цифр всегда из 9 разрядов) */ var updateSitename = function (entity_type, entity_section, entity_content_subtype) { if (!PROJECT) return; var params = { exp_id: UTMApi.currentPageUTM || UTMApi.currentPageExpId, platform: sitenamePlatform, project: PROJECT_KEYS[PROJECT], page: getPageKey( entity_type || ENTITY_TYPE, entity_section || getEntitySection(), entity_content_subtype || ENTITY_CONTENT_SUBTYPE ) }; state.params = params; state.sitenameBase = [ stringEncode(params.exp_id, 3), stringEncode(params.platform, 1), stringEncode(params.project, 1), stringEncode(params.page, 2), stringEncode(null, 2) ].join(''); return state.sitenameBase; }; /** * формировавние sitename блока * @param block {string} * @returns {string} сайтнейм (строка цифр всегда из 9 разрядов) */ var getBlockSitename = function (blockAlias) { if (!PROJECT) return; var params = state.params; return [ stringEncode(params.exp_id, 3), stringEncode(params.platform, 1), stringEncode(params.project, 1), stringEncode(params.page, 2), stringEncode(blockAlias && SITENAME_KEYS[blockAlias] || null, 2) ].join(''); } updateSitename(); UTMApi.sitename = { base: state.sitenameBase, updateSitename: updateSitename, getEntitySection: getEntitySection, getBlockSitename: getBlockSitename }; })(window, UTMApi); /* * * * * * * * * * * * * * * * * * * * * * * * * * * * добавляем сайтнейм и эксперименты к вызову слотов * * * * * * * * * * * * * * * * * * * * * * * * * * */ (function (window, UTMApi) { 'use strict'; var PROJECT = 'lady'; var XRAY_URL = ''; var EMAIL = ''; var PLATFORM = '3' || '3'; /* дефолт - десктоп */ var ENTITY_TYPE = '' || 'other'; var ENTITY_CONTENT_SUBTYPE = '' || 'other'; var ENTITY_ID = '' || '0'; var BRANDSAFETY = '0' || '0'; var RB_SEGMENT = 'nocookie'; var DEVEL_XRAY_PREFIX = 'dev'; /* формирование в слоте 979243 https://confluence.vk.team/pages/viewpage.action?pageId=746384408 */ var SLOT_KEYS = JSON.parse('{"default": "", "240x400_overlay": "SlotView.GalleryAdvert", "100x250": "SlotView.36359", "fullscreen": "SlotView.Fullscreen", "tgb1": "SlotView.441924,SlotView.8558", "tgb2": "SlotView.441935", "scroll2site": "SlotView.732610", "videoTape": "SlotView.345798", "mediaBanner": "SlotView.mimic.5924", "articleContentRoll1": "Slot.5562,Slot.13444", "articleContentRoll2": "Slot.624506,Slot.624836", "articleContentRoll3": "Slot.964881,Slot.965329", "partnerNews": "SlotView.100", "articleGalleryLastBanner": "SlotView.586902,SlotView.570032", "mediaExchange": "SlotView.6551", "applications": "SlotView.6327", "brandingFooter": "SlotView.152409", "promoblock": "SlotView.759077"}'); window.componentSlotParams = window.componentSlotParams || []; window.__slotParams = window.__slotParams || []; var isDevel = /devmail\.ru$/.test(window.location.hostname); var SESSION_ID_DEFAULT = 'noSessionStorage'; var SESSION_ID_KEY = 'project_session_id'; /* сессия */ var getSessionId = function () { var sessionId; var sessionStorage = window.sessionStorage; if ( sessionStorage && typeof sessionStorage.setItem === 'function' && typeof sessionStorage.getItem === 'function' ) { sessionId = sessionStorage.getItem(SESSION_ID_KEY); if (!sessionId) { sessionId = getRandomKey(); sessionStorage.setItem(SESSION_ID_KEY, sessionId); } } else { sessionId = SESSION_ID_DEFAULT; } return sessionId; }; /* рандомное число */ var getRandomKey = function () { return Math.floor(Math.random() * Math.pow(10,16)).toString(); }; var dwhLoggerOptions = { product: PROJECT, platform: PLATFORM, session_id: getSessionId(), page_view_id: getRandomKey(), referrer: window.document.referrer, url: window.location.href, sitename: UTMApi.sitename.base, search: window.location.search, utm_partner_id: UTMApi.currentPageUTM, exp_id: UTMApi.currentPageExpId, entity_type: ENTITY_TYPE, entity_content_subtype: ENTITY_CONTENT_SUBTYPE, entity_section: UTMApi.sitename.getEntitySection(), entity_id: ENTITY_ID, brandsafety: BRANDSAFETY, rb_segment: RB_SEGMENT }; var updateLoggerOptions = function (params) { if (typeof params === 'object') { Object.keys(params).forEach(function(key) { if (dwhLoggerOptions.hasOwnProperty(key)) { dwhLoggerOptions[key] = params[key]; } }); } }; window.xrayOptions = { global: { verbose: true, xrayRadarUrl: XRAY_URL, radarPrefix: isDevel ? DEVEL_XRAY_PREFIX : null, defaultParams: { p: PROJECT, email: EMAIL } }, dwhLogger: { options: dwhLoggerOptions, updateLoggerOptions: updateLoggerOptions } }; var getSlotSitename = function (key) { return key && UTMApi.sitename.getBlockSitename(key); }; /* * получение параметров блока * key * viewListString */ var getSlotKeys = function (key, viewListString) { var result = []; if (viewListString) { var slotString = viewListString.replace(/\s+/g, ''); var slotArray = slotString.split(','); if (slotArray.length) { slotArray.map(function(slotView){ if (slotView) { result.push({ view: slotView, sitename: getSlotSitename(key), elementType: key }) } }); } return result; } }; /* id экспериментов */ var getSlotParmas = function () { var experimentID = UTMApi.currentPageUTM || UTMApi.currentPageExpId; var slotParams = { sitename: (UTMApi.sitename || {}).base }; if (experimentID) { slotParams.exp_id = experimentID; slotParams.test_id = experimentID; } return slotParams; }; var params = [{ name: 'SlotView', params: { options: { slot: getSlotParmas() } } }]; // формируем параметры слотов (уникальный ключ логгера и сайтнейм) Object.keys(SLOT_KEYS).map(function(key){ var slotKeys = getSlotKeys(key, SLOT_KEYS[key]); if (slotKeys && slotKeys.length) { slotKeys.forEach(function(item) { params.push({ name: item.view, params: { options: { slot: { sitename: item.sitename }, dwhLogger: { sitename: item.sitename, element_type: item.elementType } } } }); }) } }); window.componentSlotParams = window.componentSlotParams.concat(params); window.__slotParams = window.__slotParams.concat(params); })(window, window.UTMApi || {}); // try { /* Код инициализации coreKeeper */ coreKeeper.appReady(); } catch (err) { window.coreKeeper && coreKeeper.appReady(err); }
Гороскоп
На главнуюНазад
На главную
© Shablonyk.ru 2010 - 19
FireTop.su onstata.ru waplog

Контакты/Реклама
0.082