PageSourceSearch

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

js forbes.ru collected 2026-10-01 06:24:17 UTC 9,933 bytes, 2 lines download raw bytes

1const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DcOcj0hU.js","./Bz88adCD.js","./CLrhTMEx.js","./EBpBARSw.js","./CSLGp06j.js","./CtiuOz0V.js","./DNkaskdT.js","./UMeDr19J.js","./D5M0Yi4w.js","./DuUZTMJP.js","./5YfMl9np.js","./fJP71tC1.js","./C25sq3WW.js","./B2aKf0tQ.js","./Daq2zpF0.js","./CbDlNXSx.js","./Lmb05Apy.js","./DiN8x0mA.js","./DeJny5K-.js","./Cl6lpjkH.js","./BkSA0AUr.js","./Bq_376aw.js","./Dy2xinyL.js","./Df6GUClV.js","./BMPA7SL7.js"])))=>i.map(i=>d[i]);
2import{cA as W,aV as Y,aW as j,bm as z,a$ as $,bJ as O,b9 as d,bE as J,b_ as U,aX as H,b1 as X,bn as Z,bV as P,bW as V,bC as Q,br as l,by as h,bu as g,b6 as K,bv as r,b2 as p,bt as y,bB as C,bY as x,bH as G,bx as m,bs as v,bL as ee,bM as te,bR as se,bP as ne,bA as ae,bX as oe,bZ as re}from"./EBpBARSw.js";import ie from"./CQHroUjx.js";import le from"./8dM4gw0a.js";import{_ as ue}from"./Bz88adCD.js";import ce from"./9SowA_0W.js";import de from"./DPjki6CK.js";import pe from"./DcOcj0hU.js";import me from"./Bq_376aw.js";import{_ as be}from"./Dy2xinyL.js";import fe from"./CGB6CXIl.js";import{V as he}from"./7ZPBqrFq.js";import{u as ge}from"./CdwuWTgT.js";import{h as A}from"./CcUueMTx.js";(function(){try{var e=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},t=new e.Error().stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="aec994da-6b95-485c-a6f6-11d604b410db",e._sentryDebugIdIdentifier="sentry-dbid-aec994da-6b95-485c-a6f6-11d604b410db")}catch{}})();function ye(e){if(!e)return console.error("There is no article"),{};const t=ge();if(e.erid="",e.isGallery=!!(e.gallery&&e.gallery.length>0),e.isFranchise=e.type==="franchise",e.isEvent=e.type==="event",e.isPage=e.type==="page",e.isPodcast=e.serial!==void 0,e.isPressRelease=!!e?.
2sections?.find(({url:s})=>s==="novosti-kompaniy"),e.isRating=!!(e.rating||(e.ratings||[]).length>0||(e.tags||[]).some(({id:s=""})=>s===W.id)),e.withVideo=typeof e?.video=="string"||(e.tags||[]).some(({url:s})=>Object.values(he).includes(`/${s}`)),e.sections){const s={brandvoice:"isBrandvoice",forbeslife:"isForbesLife","forbes-woman":"isForbesWoman","partner-article":"isPartner"};for(const n of e.sections){const a=s[n.url];a&&(e[a]=!0)}}if(t.mark&&(e.title=A(e.title,t.mark),e?.subtitle&&(e.subtitle=A(e.subtitle,t.mark)),e.isGallery&&e?.gallery?.map(s=>(s?.caption&&(s.caption=A(s.caption,t.mark)),s?.text?.map(n=>(t.mark&&n?.data?.text&&(n.data.text=A(n.data.text,t.mark)),n))))),!e.body||!e.body.length||(e.body=e.body.map(s=>{const{type:n="",data:a={}}=s||{};return n==="paragraph"&&a?.text?.includes("<!--interest-->")&&(s={...s,data:{article:e,type:"token"},type:"article"}),e.isFirst&&t.mark&&a?.text&&(a.text=A(a.text,t.mark)),n==="listOfValues"&&a?.id?.trim()==="admark"&&a?.items?.length&&(e.erid=M(a.items)),s},[]),e.erid||!e.body_after||!e.body_after.length))return e;for(const{type:s="",data:n={}}of e.body_after)if(s==="listOfValues"&&n?.id?.trim()==="admark"&&n?.items?.length){e.erid=M(n.items);break}return e}const ve=/(?=.+\d)[a-z\d]{10,}/gi;function M(e){let t="";for(const s of e){if(t)break;for(const n of Object.values(s)){if(!n)continue;const a=n.match(ve);if(a){t=a[0];break}}}return t}const N=[{title:"Рейтинг",theme:"light",value:"rating"},{title:"О рейтинге",theme:"light",value:"about"}],_e=2005,q=new Date().getFullYear(),Te=ke();function ke(){const e=[];for(let t=_e;t<=q;t++)e.unshift({title:String(t),value:String(t)});return e}const B=Z(),we=Y({name:"ArticleRatingWrapper",props:{article:{default:()=>({}),type:Object}},setup(e){const t=j(),s=z(),n=t.$viewport,a=$(e.article),I=$(e.article.title),R=e.article?.rating?.trid,_=$([]),f=$(!1),k=O({actions:d(()=>[{share:{tooltipJustify:n.isLessThan("tablet")?"end":"center"}},{copy:{withText:!1}}]),theme:d(()=>n.isLessThan("tablet")?"dark":"light"),withShadow:!1}),b=O({currentTab:N[0],tabs:d(()=>e.article.id?N.map(o=>(o.theme="lighter",o.value===b.currentTab.value&&(o.theme="yellow"),o)):[]),change(o){const{title:i,value:u,theme:w=""}=o;b.currentTab={title:i,theme:w,value:u}}}),E=d(()=>(a?.value?.rating||{}).grouped),L=d(()=>(a?.value?.rating||{}).isInset),D=d(()=>b.currentTab.value==="about"?P(()=>V(()=>import("./DcOcj0hU.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url)):E.value?P(()=>V(()=>import("./D5M0Yi4w.js"),__vite__mapDeps([8,9,10,11,3,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url)):P(()=>V(()=>import("./DuUZTMJP.js"),__vite__mapDeps([9,10,11,3,12,13,14,15,16,17,18,19,20,21,22,23,24]),import.meta.url))),T=O({input(o){T.value=String(o),S.perform()},isScrollable:!0,items:d(()=>_.value.length?_.value:Te),title:"",theme:d(()=>n.isLessThan("tablet")&&!L.value?"dark":"light"),value:e.article?.rating?.year||String(q),"reset-value":e.article?.rating?.year,"is-clearable":d(()=>e.article?.rating?.year!==T.value)}),S=J(function*(o){o.addEventListener("abort",()=>B.abortRequest("getPubRatings"));try{f.value=!1;const{data:i}=yield B.pub.getPubRatings({"rating[trid]":R,"rating[year]":Number(T.value)},{cancelToken:"getPubRatings"});if(!i?.length&&!i?.[0]?.article?.url_alias){f.value=!0,a.value=null,I.value="Рейтинг не найден";return}let{data:u}=yield B.pub.getPubArticleByAlias({url_alias:i[0].article.url_alias});u=ye(u),I.value=u.title,a.value={...u,rating:{...u.rating,...a.value?.rating?.isInset&&{isInset:!0}}},f.value=!0}catch(i){console.error(i),f.value=!0}}),c=O({isOpened:!1,isVisible:d(()=>n.isLessThan("tablet")?c.isOpened:!0),icon:d(()=>c.isOpened?"close":"search"),timeout:0,handleInput(o){window.clearTimeout(c.timeout),c.timeout=window.setTimeout(()=>{c.query=o.target.value.trim()},500)},handleToggle(){c.isOpened=!c.isOpened},query:""});return U(async()=>{try{const{data:o}=await B.pub.getPubRatings({"rating[trid]":R,"list[limit]":50});_.value=o.reduce((i,u)=>(i.find(({title:w})=>w===u.year)||i.push({title:u.year,value:u.year}),i),[])}catch(o){console.error(o)}}),H(()=>{X(()=>c.query,o=>{if(o.length>0){const{title:i="",value:u="",theme:w=""}=b.tabs.find(({value:F})=>F==="rating")||{};b.currentTab={title:i,theme:w,value:u}}})}),{actions:k,css:s,currentArticle:a,currentTabComponent:D,dropdownYear:T,dropdownYears:_,fetchRatingTask:S,isDone:f,isGrouped:E,isInset:L,search:c,tabs:b,title:I}}}),Ae="Iqyg0",Ie="k2vO5",Re="_7P-Ap",Ee="gjJc2",Le="z-SWW",Se="zmGuo",$e="Le2O6",Oe="UBoaM",Be="acjo4",De="pxw4n",Pe="Um8S4",Ve="EM44Q",Ce="d-18q",Ge="hconq",Me="aLVUZ",Ne="NMc0J",qe="CE-yc",Fe="o1-yT",We={root:Ae,isInset:Ie,header:Re,bar:Ee,rubric:Le,actions:Se,title:$e,filters:Oe,dropdown:Be,searchBox:De,search:Pe,label:Ve,input:Ce,submit:Ge,content:Me,loader:Ne,notFound:qe,boxes:Fe},Ye=["innerHTML"],je=["value"];function ze(e,t,s,n,a,I){const R=x,_=ie,f=le,k=ue,b=ce,E=de,L=ee,D=pe,T=me,S=be,c=se,o=fe;return l(),h("div",{class:r({[e.css.root]:!0,[e.css.isInset]:e.isInset})},[g("header",{class:r(e.css.header)},[e.isInset?m("",!0):(l(),h(K,{key:0},[g("div",{class:r(e.css.bar)},[p(R,{class:r(e.css.rubric),to:"/ratings"},{default:y(()=>[...t[1]||(t[1]=[C(" Рейтинг ",-1)])]),_:1},8,["class"]),p(_,G({class:e.css.actions},e.actions),null,16,["class"])],2),e.fetchRatingTask.isRunning?(l(),h("h1",{key:0,class:r(e.css.title)},[p(f)],2)):(l(),h("h1",{key:1,class:r(e.css.title),innerHTML:e.title},null,10,Ye))],64)),e.article.body_before&&e.$viewport.isGreaterOrEquals("tablet")?(l(),v(k,{key:1,"api-field":"body_before",article:e.article,class:r(e.css.boxes)},null,8,["article","class"])):m("",!0),g("div",{class:r(e.css.filters)},[e.$viewport.isGreaterThan("mobileWide")&&e.tabs.tabs.length?(l(),v(b,G({key:0},e.tabs,{"active-bold":!1,"is-scrollable":!1,onChange:e.tabs.change}),null,16,["onChange"])):m("",!0),p(E,G(e.dropdownYear,{class:e.css.dropdown,"font-size":"medium",onInput:e.dropdownYear.input}),null,16,["class","onInput"]),e.$viewport.isLessThan("tablet")?(l(),v(T,{key:1},{title:y(()=>[...t[3]||(t[3]=[C(" О рейтинге ",-1)])]),tooltip:y(()=>[p(D,{article:e.article,"in-tooltip":""},null,8,["article"])]),default:y(()=>[p(L,{size:"small",theme:e.isInset?"transparent":"transparent-alternate"},{default:y(()=>[...t[2]||(t[2]=[C(" О рейтинге ",-1)])]),_:1},8,["theme"])]),_:1})):m("",!0),e.isGrouped?m("",!0):(l(),h("div",{key:2,class:r(e.css.searchBox
2)},[e.$viewport.isLessThan("tablet")?(l(),v(S,{key:e.search.icon,class:r(e.css.searchToggler),name:e.search.icon,theme:"dark",onClick:e.search.handleToggle},null,8,["class","name","onClick"])):m("",!0),p(ae,{name:"fade"},{default:y(()=>[te(g("form",{class:r(e.css.search)},[g("label",{class:r(e.css.label)},[g("input",{class:r(e.css.input),name:"search",placeholder:"Поиск",type:"text",value:e.search.query,onInput:t[0]||(t[0]=(...i)=>e.search.handleInput&&e.search.handleInput(...i))},null,42,je),g("button",{class:r(e.css.submit),type:"button"},[p(c,{name:"search"})],2)],2)],2),[[ne,e.search.isVisible]])]),_:1})],2))],2)],2),e.article.body_before&&e.$viewport.isLessThan("tablet")?(l(),v(k,{key:0,"api-field":"body_before",article:e.article,class:r(e.css.boxes)},null,8,["article","class"])):m("",!0),p(re,{class:r(e.css.content),name:"fade",tag:"div"},{default:y(()=>[e.fetchRatingTask.isRunning?(l(),h("div",{key:"loader",class:r(e.css.loader)},[p(o)],2)):!e.currentArticle&&!e.fetchRatingTask.isRunning?(l(),h("div",{key:"404",class:r(e.css.notFound)}," Рейтинг не найден ",2)):e.currentArticle?(l(),v(oe(e.currentTabComponent),{key:`${e.tabs.currentTab.value}__${e.currentArticle.id}`,article:e.currentArticle,"search-query":e.search.query},null,8,["article","search-query"])):m("",!0)]),_:1},8,["class"]),e.article.body_after?(l(),v(k,{key:1,"api-field":"body_after",article:e.article,class:r(e.css.boxes)},null,8,["article","class"])):m("",!0)],2)}const Je={$style:We},Ue=Q(we,[["render",ze],["__cssModules",Je]]),it=Object.freeze(Object.defineProperty({__proto__:null,default:Ue},Symbol.toStringTag,{value:"Module"}));export{it as A,Ue as _,ye as f};

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.