, , - REGNUM

1 2019 - news
article392830.jpg

, ,

   ,  ,   -  REGNUM
-. . XX

, 25 2019, 13:07 — REGNUM   , , ,  REGNUM « » () .

« . , , , . — , , », — .

, , . , . , , .

« , , , . , — , — .

, , 1 , 10 . , , , », — .

, , .

«, , , , . , , , . — 100 — », — .

 REGNUM, , 2019 24,3% 2018 170,3 .

: 24% — «»

: ,

   ,  ,   -  REGNUM , Ctrl + Enter, .
window.lastSendTime = new Date(); addTranslationSorting(); insertGalleryBlock(); var pList = getListParagraphs(); displayZenBlock('top'); if (pList.length >= 7) { displayZenBlock('middle'); displayZenBlock('bottom'); } else { displayZenBlock('bottom'); } // MediaBlock $(function () { insertMediaBlock('moevideo'); // }); // Poll widget $(function () { var $detailPolls = $('.poll-container'); if ($detailPolls.length) { $detailPolls.hide(); setTimeout(function(){ $detailPolls.waypoint(function (direction) { var $pollContainer = $(this.element); var pollId = $pollContainer.data('poll-id') || 0; var iframeWidth = ($pollContainer.data('poll-type') === 'detail') ? 623 : 640; if (pollId) { $pollContainer.append('' + ''); $detailPolls.show() } window.addEventListener("message", function(e) { // , if (e.origin.indexOf("stirvox.com") > -1 && e.data !== null && e.data.event_id === "remove_stirvox_iframe") { $('.poll-container[data-poll-id="' + e.data.params.survey_id+ '"]').hide() ; } }, false); this.destroy(); Waypoint.refreshAll(); }, { offset: 600 }); }, 1500); } }); $(function () { /*$('.social-container > a').click(function () { var socialId = $(this).data('social-id'); if (socialId > 0) updateSocialStat(socialId); });*/ $('.abort-share').on('click', function (e) { e.preventDefault(); e.stopPropagation(); alert(' .'); }); $('.detail-picture img').on('load', function () { var $imgContainer = $(this).closest('.detail-picture'); if ($imgContainer.parent().hasClass('translation-message')) return; if ($imgContainer.width() 0) $(this).load(); }); var $detailSlider = $('.detail-slider'); if ($detailSlider.length) { $detailSlider.slick({ lazyLoad: 'progressive', dots: true, adaptiveHeight: true, infinite: false }); $detailSlider.show(); } }); setTimeout(function () { $('.abort-share').off('click'); $('.goodshare').removeClass('abort-share'); }, 90000); key('?+enter, ctrl+enter', function () { // 10 var now = new Date(); if (window.lastSendTime && (window.lastSendTime.getTime() > (now.getTime() - 10000))) { return false; } //... ... var selectedText = getSelectedText().toString(); var selectedElement = window.getSelection().focusNode.parentNode; var newsId = $(".news_body").data("id"); var contentType = (selectedElement.closest(".news_body")) ? 'body' : selectedElement.closest(".news_detail_anons") ? 'anons' : selectedElement.closest(".news_detail_header") ? 'header' : false; if (!!newsId && newsId > 0 && contentType && selectedText.length > 1) { var formData = {text: selectedText, newsId: newsId}; window.lastSendTime = new Date(); if (!(newsId == 2420475)) { $.ajax({ url: "/users/sendtexterror/" + contentType, type: "POST", data: formData, success: function (msg) { alert(msg); } }); } } }); function getSelectedText() { var text = ""; if (window.getSelection) text = window.getSelection(); else if (document.getSelection) text = document.getSelection(); else if (document.selection) text = document.selection.createRange().text; return text; } function updateSocialStat(sid) { $.post('https://regnum.ru/update/socialstat', {social_id: sid}, function (data) { console.log(data); }); } function updateIncutDisplayStat(inIds) { return inIds; if (inIds.length) $.post('https://regnum.ru/update/incutmultipledisplaystat', {incut_ids: inIds.join(','), incut_page: 1}); } function updateIncutClickStat(inId) { return inId; $.post('https://regnum.ru/update/incutclickstat', {incut_id: inId, incut_page: 1}); } function getListParagraphs() { var pList = []; $('.news_body > p').each(function (index) { var $pItem = $(this); if ($pItem.text().trim().length 20) return; if ($pItem.css('padding-left').replace('px', '') > 20) return; if ($pItem.text().trim().length == 0) return; if ($pItem.find('table').length) return; if ($pItem.find('img').length) return; if ($pItem.find('iframe').length) return; pList.push(index); }); return pList; } function insertMediaBlock(mediaName) { var pList = []; mediaName = mediaName || 'adfox'; $('.news_body > p').each(function () { var $pItem = $(this); if ($pItem.text().trim().length em').length) return; pList.push($pItem); }); var pListIndex = (pList.length < 3) ? 1 : 2; var script = document.createElement("script"); var yandexScript = '!function(e,t,n,a,s){e[n]=e[n]||[],e[n].push(function(){Ya.Context.AdvManager.render({blockId:"VI-183752-0",renderTo:"detail_media_banner",inpage:{}},function(e){})}),s=t.getElementsByTagName("script")[0],a=t.createElement("script"),a.type="text/javascript",a.src="//an.yandex.ru/system/context.js",a.async=!0,s.parentNode.insertBefore(a,s)}(this,this.document,"yandexContextAsyncCallbacks");'; var moevideoScript = 'var moevideo=moevideo||{};moevideo.queue=moevideo.queue||[],function(){var e=document.createElement("script");e.async=!0,e.type="text/javascript";var o="https:"==document.location.protocol;e.src=(o?"https:":"http:")+"//moevideo.biz/embed/js/mvpt.min.js";var t=document.getElementsByTagName("head")[0];t.appendChild(e,t)}(),moevideo.queue.push(function(){moevideo.ContentRoll({mode:"manual",el:"#detail_media_banner",ignorePlayers:!0})});'; var adfoxScript = 'if(void 0===pr)var pr=Math.floor(4294967295*Math.random())+1;!function(i,d,p,u,e){i[p]=i[p]||[],i[p].push(function(){Ya.Context.AdvManager.render({blockId:"VI-259431-0",renderTo:"detail_media_banner",inpage:{slide:!0,visibleAfterInit:!1,adFoxUrl:"//ads.adfox.ru/220463/getCode?p1=byyyb&p2=frqb&puid1=&puid2=&puid3=&puid4=&puid5=&puid6=&puid7=&puid8=&puid9=&puid10=&puid11=&puid12=&puid13=&puid14=&puid15=&puid16=&puid17=&puid18=&puid19=&puid20=&puid21=&puid22=&puid23=&puid24=&puid25=&puid26=&puid27=&puid28=&puid29=&puid30=&puid31=&puid32=&puid33=&puid34=&puid35=&puid36=&puid37=&puid38=&puid39=&puid40=&puid41=&puid42=&puid43=&puid44=&puid45=&puid46=&puid47=&puid48=&puid49=&puid50=&puid51=&puid52=&puid53=&puid54=&puid55=&puid56=&puid57=&puid58=&puid59=&puid60=&puid61=&puid62=&puid63=&fmt=1&pr="+pr,insertAfter:".news_body p",insertPosition:"50%"}},function(i){})}),e=d.getElementsByTagName("script")[0],(u=d.createElement("script")).type="text/javascript",u.src="//an.yandex.ru/system/context.js",u.async=!0,e.parentNode.insertBefore(u,e)}(this,this.document,"yandexContextAsyncCallbacks");'; if (mediaName === 'yandex') { $(pList[pListIndex]).after(''); script.innerHTML = yandexScript; document.head.appendChild(script); } if (mediaName === 'moevideo') { $(pList[pListIndex]).after(''); script.innerHTML = moevideoScript; document.head.appendChild(script); if (window.addEventListener) { window.addEventListener("message", postMessageReceive); } else { window.attachEvent("onmessage", postMessageReceive); } function postMessageReceive (event) { var origin = event.origin; var iframeCode = ''; switch (event.data.event) { case 'adClosed' : document.getElementById('detail_media_banner').innerHTML = iframeCode; break; case 'adError' : document.getElementById('detail_media_banner').innerHTML = iframeCode; break; case 'adFinished' : document.getElementById('detail_media_banner').innerHTML = iframeCode; break; case 'adEmpty': document.getElementById('detail_media_banner').innerHTML = iframeCode; break; } if (origin.indexOf("utraff.com") > -1) { if(event.data=="no_ads") { var code = ""; document.getElementById("detail_media_banner").innerHTML = code; } } } /*var banner = $('#detail_media_banner'); var b_count = 0; var ads_interval = setInterval(function(){ if (!banner.is(':visible') || b_count > 30) { console.log('tring to load utraf...'); banner.css({display: 'block'}); banner.html('') if (window.addEventListener) { window.addEventListener("message", postMessageReceive); } else { window.attachEvent("onmessage", postMessageReceive); } function postMessageReceive(event) { var origin = event.origin; if (origin.indexOf("utraff.com") > -1) { if (event.data == "no_ads") { var code = ""; document.getElementById("utplayer").innerHTML = code; } } } clearInterval(ads_interval); } else { b_count++; } }, 500)*/ } if (mediaName === 'adfox') { $(pList[pListIndex]).after(''); script.innerHTML = adfoxScript; document.head.appendChild(script); } if (mediaName === 'uniontraff') { $(pList[pListIndex]).after(''); $("#detail_media_banner").empty().html( '' + ''+ '' + 'var utCRoll = {id: 1900, max_prerolls: 1};' + 'utCRoll.onClose = function() {' + 'var script = document.createElement("script");' + 'script.innerHTML = \' ' + moevideoScript + ' \';' + 'document.head.appendChild(script);' + '}' + '' ); } if (mediaName === 'uniontraff_spec') { $(pList[pListIndex]).after(''); $("#detail_media_banner").empty().html( '' + '
: regnum.ru

:

: , -

: ,

,

, | 06.05.19 - finanz.ru

, :

2,55

. , - -

- _

: , , , , , REGNUM
: 0 : 0 24

...

 
 
�������� �� InstantCMS