PageSourceSearch

https://cdn.forbes.ru/_nuxt/DNkaskdT.js

js forbes.ru collected 2026-10-01 06:24:33 UTC 2,076 bytes, 1 lines download raw bytes

1(function(){try{var r=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},n=new r.Error().stack;n&&(r._sentryDebugIds=r._sentryDebugIds||{},r._sentryDebugIds[n]="218c9a68-c690-4d7b-97f8-2cc72a4651c4",r._sentryDebugIdIdentifier="sentry-dbid-218c9a68-c690-4d7b-97f8-2cc72a4651c4")}catch{}})();const a=/(https?:)?\/\/(www)?\.?forbes\.ru/,l=/(https?:)?\/\/(www)?\.?admin.forbes\.ru/,d=/(?:https?:)?\/\//;function h(r,n){if(!r)return"";const s=new DOMParser().parseFromString(r,"text/html");return s.querySelectorAll("a").forEach(e=>{const t=e.getAttribute("href")||"",o=Array.from(e?.childNodes).some(f=>f?.nodeName==="IMG");if(e.parentNode?.childNodes?.length===1&&!o&&e.setAttribute("data-single",""),a.test(t)?e.setAttribute("href",t.replace(a,"")):d.test(t)&&(e.setAttribute("rel","nofollow noopener noreferrer"),e.setAttribute("target","_blank")),!n)return;const i=t.slice(1),c=n[i];if(!c)return;const{ratingTop200:u}=c;if(u&&Object.keys(u||{}).length){const f=e.innerText.trim();e.innerHTML=`<!--flink:${i}:${f}-->`}}),s.querySelectorAll("img").forEach(e=>{let t=e.getAttribute("src")||"";l.test(t)?t=t.replace(l,"https://cdn.forbes.ru"):t.startsWith("/")&&(t=`https://cdn.forbes.ru/${t.substr(1)}`),e.setAttribute("src",t)}),s.body.innerHTML.replace(/\n/g,"<br>")}function p(r){const{target:n,router:s}=r;n&&n.querySelectorAll("a").forEach(e=>{const{pathname:t}=e;if(e.getAttribute("href")?.startsWith("/"))return e.addEventListener("click",i=>{i.preventDefault(),s.push(t)})})}function b(r,n){if(!r)return"";const s=new URL(r).searchParams;return!("size"in s)||s.has(n.name)?"":`${s.size?"&":"?"}${encodeURIComponent(n.name)}${n.value?`=${encodeURIComponent(n.value)}`:""}`}function g(r,n){if(!r)return"";const s=new DOMParser().parseFromString(r,"text/html");return s.querySelectorAll("a").forEach(e=>{const t=e.getAttribute("href")||"",o=b(t,n);a.test(t)&&e.setAttribute("href",t.replace(a,"")),e.setAttribute("href",t.replace(t,`${t}${o}`))}),s.body.innerHTML.replace(/\n/g,"<br>")}export{g as a,b,p as e,h as p};

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.