PageSourceSearch

https://beanvest.com/_nuxt/DWjG7j7u.js

js beanvest.com collected 2026-10-08 17:46:15 UTC 12,612 bytes, 6 lines download raw bytes

1import{_ as L}from"./Dk53qDSH.js";import{_ as b}from"./CRmIUlhp.js";import{h as D,u as y,w as V,i as z,j as w,k as $,d as p,l as k,m as u,o as m,e,t as s,F as H,r as B,n as S,p as f,f as o,q as C,s as j,v as M,_ as N,g as v,a as A,x as F,b as I,c as P,y as q,z as T}from"#entry";import{_ as O,a as E}from"./CZBXOu9j.js";import{_ as R}from"./CkkrHmJp.js";import"./CWHr4f2k.js";import"./DtxMtNyo.js";import"./H6WxckKn.js";import"./DVu5kgg7.js";import"./B2bO5Xct.js";import"./B94QFPvX.js";import"./CgtJtmt7.js";/**
2 * @license lucide-vue-next v0.542.0 - ISC
3 *
4 * This source code is licensed under the ISC license.
5 * See the LICENSE file in the root directory of this source tree.
6 */const G=D("book-marked",[["path",{d:"M10 2v8l3-3 3 3V2",key:"sqw3rj"}],["path",{d:"M4 19.5v-15A2.5 2.5 0 0 1 6.5 2H19a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H6.5a1 1 0 0 1 0-5H20",key:"k3hazp"}]]),U={key:0,class:"mt-3 mb-4"},Z={class:"text-sm text-gray-300 mb-6"},Q={class:"grid grid-cols-2 sm:grid-cols-3 md:grid-cols-4 lg:grid-cols-5 xl:grid-cols-6 gap-2 mx-auto max-w-3xl"},W={class:"relative mb-2"},Y={class:"text-center"},J={class:"text-sm font-medium text-gray-900 group-hover:text-blue-600 transition-colors"},K={class:"text-xs text-gray-300 mt-0.5"},X={__name:"StockHistory",async setup(h){let t,l;const{t:n}=y(),{data:d}=([t,l]=V(()=>z("/api/user/stock-history",{headers:{Authorization:`Bearer ${w().token}`},server:!1,default:()=>({stockHistory:[]})},"$_iP3YBFsrk")),t=await t,l(),t),x=$(()=>d.value?.stockHistory||[]),i=r=>{if(!r)return"";const g=new Date,_=new Date(r),c=Math.floor((g-_)/(1e3*60*60));if(c<1)return n("common.justNow");if(c<24)return n("common.hoursAgo",{count:c});{const a=Math.floor(c/24);return a===1?n("common.yesterday"):a<7?n("common.daysAgo",{count:a}):_.toLocaleDateString()}};return(r,g)=>{const _=L,c=b;return u(x)&&u(x).length>0?(m(),p("div",U,[e("h3",Z,s(r.$t("home.recentlyViewed")),1),e("div",Q,[(m(!0),p(H,null,B(u(x),a=>(m(),S(c,{key:a.stockId,to:`/stock/${a.slug?.toLowerCase()||a.symbol?.toLowerCase()||a.isin?.toLowerCase()}`,class:"group flex flex-col items-center p-3 rounded-lg hover:bg-gray-50 transition-colors duration-200"},{default:f(()=>[e("div",W,[o(_,{symbol:a.symbol,name:a.companyName,logo:a.logo,size:"md",shape:"rounded"},null,8,["symbol","name","logo"])]),e("div",Y,[e("div",J,s(a.companyName),1),e("div",K,s(i(a.viewedAt)),1)])]),_:2},1032,["to"]))),128))])])):k("",!0)}}},ee={},te={class:"w-full flex flex-col items-center mb-8"},se={class:"grid grid-cols-5 w-full max-w-4xl gap-x-2 px-4 z-2"},oe={class:"flex flex-col items-center p-4"},le={class:"flex flex-col items-center p-4"},ae={class:"flex flex-col items-center p-4"},ne={class:"flex flex-col items-center p-4"},ie={class:"flex flex-col items-center bg-violet-700/5 rounded-lg p-4"},re={class:"text-base sm:text-xl text-violet-600 text-center font-bold mt-4"};function ce(h,t){const l=O;return m(),p("div",te,[t[0]||(t[0]=j('<div class="flex items-center w-full max-w-4xl justify-between mt-5 mb-4 relative"><div class="flex-1 mx-4 relative"><div class="flex w-full h-1 rounded overflow-hidden relative"><div class="flex-1 bg-red-600"></div><div class="flex-1 bg-orange-500"></div><div class="flex-1 bg-yellow-500"></div><div class="flex-1 bg-blue-700"></div><div class="flex-1 bg-violet-700"></div></div></div></div>',1)),e("div",se,[e("div",oe,[o(l,{score:5,displayScore:"0-10"})]),e("div",le,[o(l,{score:25,displayScore:"11-30"})]),e("div",ae,[o(l,{score:50,displayScore:"30-70"})]),e("div",ne,[o(l,{score:80,displayScore:"70-90"})]),e("div",ie,[o(l,{score:98,displayScore:"90+"}),e("span",re,s(h.$t("gaussian.ourFocus")),1)])])])}const me=Object.assign(C(ee,[["render",ce]]),{__name:"Gaussian"}),de=M("/img/bean-money.mp4"),xe={class:"w-full max-w-5xl mx-auto py-8"},_e={class:"text-sm md:text-md mb-6 font-mono text-gray-400 text-center"},pe={class:"mb-10 text-center"},ue={class:"text-4xl max-w-2xl mx-auto font-semibold mb-6 text-cyan-500"},fe={class:"mb-8 max-w-3xl mx-auto"},he={class:"text-4xl font-bold text-gray-800 mb-2"},ge={class:"text-2xl text-gray-600 max-w-4xl mx-auto"},ve={class:"flex justify-center mt-2"},be={class:"mt-24 mb-16 max-w-lg mx-auto"},ye={class:"text-base md:text-xl mb-6 font-mono text-slate-600 text-center"},we={class:"grid grid-cols-1 md:grid-cols-2 gap-8 gap-y-16 mx-auto"},$e={class:"flex flex-col items-center"}
6,ke={class:"text-3xl font-bold text-gray-800 mb-3"},Se={class:"text-2xl text-center text-gray-600 max-w-4xl mx-auto"},Le={class:"flex flex-col items-center"},De={class:"text-3xl font-bold text-gray-800 mb-3"},Ve={class:"text-2xl text-center text-gray-600 max-w-4xl mx-auto"},ze={class:"flex flex-col items-center"},He={class:"text-3xl font-bold text-gray-800 mb-3"},Be={class:"text-2xl text-center text-gray-600 max-w-4xl mx-auto"},Ce={class:"flex flex-col items-center"},je={class:"text-3xl font-bold text-gray-800 mb-3"},Me={class:"text-2xl text-center text-gray-600 max-w-4xl mx-auto"},Ne={class:"flex flex-col col-span-full items-center"},Ae={class:"text-3xl font-bold text-gray-800 mb-3"},Fe={class:"text-2xl text-center text-gray-600 max-w-3xl mx-auto"},Ie={class:"col-span-full flex flex-col items-center mt-32 mb-26"},Pe={class:"text-4xl font-bold text-violet-800 max-w-3xl mx-auto text-center"},qe={class:"p-2 rounded-xl mx-auto text-center max-w-4xl"},Te={class:"text-2xl text-center text-gray-600 max-w-5xl rounded-xl"},Oe={class:"max-w-3xl mb-24 mt-16 bg-violet-200/5 border-2 border-dotted border-violet-500/20 px-5 py-8 rounded-2xl mx-auto"},Ee={class:"font-mono mx-auto text-slate-500 mb-4 text-center"},Re={class:"text-3xl mb-3 text-center text-gray-900 font-bold"},Ge={class:"text-xl mb-2 text-center text-gray-900"},Ue={class:"flex flex-col max-w-3xl mx-auto items-center mt-12"},Ze={class:"text-lg text-green-700 font-mono text-center max-w-md mx-auto"},Qe={class:"text-4xl font-semibold text-green-700 text-center mb-4"},We={class:"text-gray-600 text-2xl text-center"},Ye={class:"max-w-4xl mx-auto"}
6,Je={class:"w-full max-w-md sm:max-w-full mx-auto flex flex-row justify-center items-start gap-3 mt-16 mb-2 relative sm:items-end items-center"},Ke={class:"flex flex-col sm:flex-row justify-end sm:justify-center items-end gap-5 sm:gap-3"},Xe={class:"flex flex-col items-start w-full sm:hidden"},et={class:"relative flex flex-row items-center"},tt={xmlns:"http://www.w3.org/2000/svg",width:"110",height:"100",viewBox:"0 0 110 100",fill:"none",class:"-rotate-45",style:{transform:"rotate(-45deg)"}},st={class:"flex flex-col mx-2 items-start w-full -mt-28 ml-20"},ot={class:"bg-green-500/10 text-green-700 font-semibold rounded-full px-4 py-1 text-base mb-2 mt-2"},lt={class:"w-1/2 max-w-5xl flex flex-col justify-left items-start gap-3 -mt-6 mb-2 px-4 sm:ml-8 hidden sm:flex"},at={class:"flex flex-row mx-2 items-center w-full -mt-12"},nt={class:"bg-green-500/5 text-green-700 font-semibold rounded-full px-4 py-1 ml-16 text-base mb-2 mt-2"},it={__name:"Explainer",setup(h){return(t,l)=>{const n=N,d=b,x=me,i=R,r=E;return m(),p("div",xe,[e("h2",_e,s(t.$t("explainer.philosophy")),1),e("div",pe,[e("h3",ue,s(t.$t("explainer.onlyBest")),1),o(n,{src:"/img/beanmoat.webp",alt:"Moat with Beanie",class:"w-xl lg:w-2xl xl:w-3xl h-auto mx-auto mt-6 mb-4 rounded-3xl self-center px-5",loading:"lazy"}),e("div",fe,[e("h4",he,s(t.$t("explainer.moatTitle")),1),e("p",ge,s(t.$t("explainer.moatDescription")),1)]),e("div",ve,[o(d,{to:"/blog/moat",class:"text-gray-400 hover:text-cyan-500 font-mono flex items-center"},{default:f(()=>[o(u(G),{class:"w-4 h-4 mr-2"}),v(" "+s(t.$t("explainer.learnMore")),1)]),_:1})])]),e("div",be,[e("h5",ye,s(t.$t("explainer.qualityCriteria")),1)]),e("div",we,[e("div",$e,[o(n,{src:"/img/gold.webp",alt:"Pricing Power",class:"w-60 h-60 mb-5 rounded-xl",loading:"lazy"}),e("h4",ke,s(t.$t("explainer.pricingPower.title")),1),e("p",Se,s(t.$t("explainer.pricingPower.description")),1)]),e("div",Le,[o(n,{src:"/img/road.webp",alt:"Predictability",class:"w-60 h-60 mb-5 rounded-xl",loading:"lazy"}),e("h4",De,s(t.$t("explainer.predictability.title")),1),e("p",Ve,s(t.$t("explainer.predictability.description")),1)]),e("div",ze,[o(n,{src:"/img/fortress.webp",alt:"Financial Strength",class:"w-60 h-60 mb-5 rounded-xl",loading:"lazy"}),e("h4",He,s(t.$t("explainer.financial.title")),1),e("p",Be,s(t.$t("explainer.financial.description")),1)]),e("div",Ce,[o(n,{src:"/img/feather.webp",alt:"Capital Allocation",class:"w-60 h-60 mb-5 rounded-xl",loading:"lazy"}),e("h4",je,s(t.$t("explainer.capital.title")),1),e("p",Me,s(t.$t("explainer.capital.description")),1)]),e("div",Ne,[o(n,{src:"/img/zuck.webp",alt:"Strong Management",class:"w-48 h-48 mb-5 rounded-xl",loading:"lazy"}),e("h4",Ae,s(t.$t("explainer.management.title")),1),e("p",Fe,s(t.$t("explainer.management.description")),1)])]),e("div",Ie,[e("h4",Pe,s(t.$t("explainer.qualityScore.title")),1),o(n,{src:"/img/quality-tiers.webp",alt:"Quality Score",class:"w-full h-auto mx-auto max-w-xl rounded-3xl p-3 my-8",loading:"lazy"}),e("div",qe,[e("p",Te,s(t.$t("explainer.qualityScore.description")),1)]),o(x)]),o(i),e("div",Oe,[e("h2",Ee,s(t.$t("explainer.whyDifferent")),1),e("p",Re,s(t.$t("explainer.differenceTitle")),1),e("p",Ge,s(t.$t("explainer.differenceDescription")),1)]),e("div",Ue,[e("h5",Ze,s(t.$t("explainer.valuationTitle")),1),l[0]||(l[0]=e("video",{autoplay:"",loop:"",muted:"",playsinline:"",src:de,alt:"We buy great companies below fair value",class:"w-52 my-4 h-auto z-5",loading:"lazy"},null,-1)),e("h4",Qe,s(t.$t("explainer.fairPrice")),1),e("p",We,s(t.$t("explainer.valuationDescription")),1)]),e("div",Ye,[e("div",Je,[e("div",Ke,[o(r,{percentOvervalued:-30,vertical:"",revealFairValue:""}),o(r,{percentOvervalued:-15,vertical:"",revealFairValue:""}),o(r,{percentOvervalued:0,vertical:"",revealFairValue:""}),o(r,{percentOvervalued:15,vertical:"",revealFairValue:""}),o(r,{percentOvervalued:35,vertical:"",revealFairValue:""})]),e("div",Xe,[e("div",et,[(m(),p("svg",tt,[...l[1]||(l[1]=[e("path",{d:"M110 0V60C87.5 28 27.5 17 0 15.5V0H110Z",fill:"#20A32D","fill-opacity":"0.1"},null,-1)])]))]),e("div",st,[e("div",ot,s(t.$t("explainer.weBuyHere")),1)])])]),e("div",lt,[l[2]||(l[2]=e("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 476 110",fill:"none",class:"w-full h-[110px] max-w-[476px]"},[e("path",{d:"M0 0V110C97.4306 50.8 357.929 31 476 28.5V0H0Z",fill:"#20A32D","fill-opacity":"0.1"})],-1)),e("div",at,[e("div",nt,s(t.$t("explainer.weBuyHere")),1)])])])])}}},rt={class:"container mx-auto rounded-2xl px-4 py-8 mt-12 mx-auto"},ct={class:"text-3xl md:text-4xl font-semibold text-slate-800 text-center mb-1"},mt={class:"w-full mx-auto text-center md:w-11/12 xl:w-8/12 mb-2"},dt={class:"mb-3 text-5xl md:text-7xl md:leading-tight font-semibold text-gray-900"},xt={class:"mb-6 text-xl text-slate-500 md:text-2xl leading-normal py-5 font-light max-w-lg md:max-w-5xl mx-auto"},_t={class:"flex flex-col sm:flex-row items-center justify-center gap-3 mt-6 mb-16"},Lt={__name:"index",setup(h){const{t,locale:l,locales:n}=y(),d=A();F();const x=$(()=>w().isLoggedIn);return I({ogLocale:l.value}),P({title:()=>t("home.meta.title"),ogTitle:()=>t("home.meta.title"),description:()=>t("home.meta.description"),ogDescription:()=>t("home.meta.description"),ogUrl:()=>"https://beanvest.com",ogType:"website",ogLocale:l.value,ogImage:"https://beanvest.com/og/beanvest-home.jpg",twitterCard:"summary_large_image",twitterTitle:()=>t("home.meta.title"),twitterDescription:()=>t("home.meta.description"),"twitter:image":"https://beanvest.com/og/beanvest-home-unique.jpg",twitterCreator:"@beanvest"}),q({link:[...n?.value?.map(i=>({rel:"alternate",hreflang:i.code,href:"https://beanvest.com"+(d("/",i.code)==="/"?"":d("/",i.code))})),{rel:"canonical",href:"https://beanvest.com"+d("/")}]}),(i,r)=>{const g=X,_=b,c=T,a=it;
6return m(),p("div",rt,[e("p",ct,s(i.$t("home.pretitle")),1),e("div",mt,[e("h1",dt,s(i.$t("home.title")),1),e("div",xt,s(i.$t("home.description")),1),o(c,null,{default:f(()=>[u(x)?(m(),S(g,{key:0})):k("",!0),e("div",_t,[o(_,{to:"/quality-stocks",class:"px-8 py-4 hover:px-10 hover:py-5 hover:-mt-0.5 transition-all duration-200 ease-in-out rounded-full bg-blue-500/10 text-blue-700 hover:bg-blue-500/10 hover:text-blue-800 font-semibold text-sm"},{default:f(()=>[v(s(i.$t("statistics.viewAllCompanies")),1)]),_:1}),o(_,{to:"/learn",class:"px-8 py-4 hover:px-10 hover:py-5 hover:-mt-0.5 transition-all duration-200 ease-in-out rounded-full bg-emerald-500/10 text-emerald-700 hover:bg-emerald-500/15 hover:text-emerald-800 font-semibold text-sm"},{default:f(()=>[v(s(i.$t("statistics.learnToInvest")),1)]),_:1})])]),_:1})]),o(a)])}}};export{Lt as default};

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.