Shablonyk.Ru

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

Гороскоп на сегодня для Скорпиона: точный астрологический прогноз - Гороскопы Mail.ru window._logJsErrors = true; !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%2Fscorpio%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.2/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 }; } window.mediaPMconf = {vkLogoUrl: 'https://trk.mail.ru/c/h7je89'}; .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(){window.mediaPMconf=window.mediaPMconf||{};var vkLogoUrl=window.mediaPMconf.vkLogoUrl;var svgIcon='';var vkLogoWrap=document.createElement("div");var vkLogo=document.createElement(vkLogoUrl?"a":"div");var container=document.querySelector(".portal-menu .portal-menu__toolbar .pm-menu .pm-menu__left");vkLogoWrap.classList.add("pm-menu__left");vkLogo.classList.add("pm-menu__left__vk-logo");vkLogo.innerHTML=svgIcon;if(vkLogoUrl){vkLogo.setAttribute("href",vkLogoUrl);vkLogo.setAttribute("target","_blank")}vkLogoWrap.appendChild(vkLogo);container&&container.insertAdjacentElement("afterend",vkLogoWrap)})(); (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 } Прогноз на 30 июняПосмотреть другой знакГороскоп на сегодня: СкорпионВчераСегодняЗавтраНеделяМесяц2022Лунно-солнечный прогнозКалендарь свиданийСосредоточьтесь на важных делах. Сегодня вы многое успеете, если не станете отвлекаться на мелочи. Избегайте долгих разговоров, не обсуждайте то, что пока или уже не имеет значения. Легко будет даваться учеба, вы быстро сосредоточитесь на всем новом, разберетесь, как лучше действовать. Будьте готовы к неожиданностям: их сегодня будет особенно много. Планы, скорее всего, придется изменить, но вас это даже обрадует. Вторая половина дня обещает денежные поступления из неожиданных источников, подарки и удачные сделки. Таро: денежный каналКалендарь стрижек5Бизнес5Любовь4Цифра дня .rbuzel-icon{ background: url(https://r.mradx.net/img/68/4BC6DA.png); width: 53px; height: 59px; background-size: cover; } Портрет человека Ваши сныК другим знакамОдноклассникиВКонтакте ОтношенияГде встретить любовь?Карты Таро помогут увидеть ситуацию под другим углом и ответят на вопрос, чем же можно привлечь к себе желанного мужчину… События и будущееЧто ждать в ближайшем будущем?Расклад Таро покажет всю ситуацию, которая сопровождает задуманное вами событие, ожидаемое в ближайшем или отдаленном будущем ЛюбовьНасколько мы совместимы?Составьте прогноз на совместимость с возлюбленным и другим симпатичным вам человеком. Узнайте, что вас ждет в любви! Деньги и работаКак открыть денежный поток?Узнайте, насколько хорошо работает денежный канал и способен ли он принести вам материальное благополучие Пульс (function(window) { function callback () { var currentPageUTM = (window.UTMApi || {}).currentPageUTM; (new Pulse.Lenta('mediaproject_lenta_lady', null, { lazy: 0, maxColumns: 4, 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) { 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": "SlotView.5562,Slot.5562,SlotView.13444,Slot.13444", "articleContentRoll2": "SlotView.624506,Slot.624506,SlotView.624836,Slot.624836", "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 || {}); //
Гороскоп
На главнуюНазад
На главную
© Shablonyk.ru 2010 - 19
FireTop.su onstata.ru waplog

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