PageSourceSearch

https://finviz.com/assets/dist/984.v1.e1a54a8a.js

js finviz.com collected 2026-09-24 08:28:59 UTC 17,705 bytes, 2 lines download raw bytes

1!function(){try{var e="undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof self?self:{};e.SENTRY_RELEASE={id:"80ef2cdf9e309e2aad9550e3141d0d77395a37e3"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var s=arguments[t];if(null!=s)for(var n in s)s.hasOwnProperty(n)&&(e[n]=s[n])}return e}({},e._sentryModuleMetadata[(new e.Error).stack],{"_sentryBundlerPluginAppKey:finviz":!0});var t=(new e.Error).stack;t&&(e._sentryDebugIds=e._sentryDebugIds||{},e._sentryDebugIds[t]="c7b20cf0-b060-424c-9453-88d201985f2c",e._sentryDebugIdIdentifier="sentry-dbid-c7b20cf0-b060-424c-9453-88d201985f2c")}catch(e){}}(),(self.webpackChunkFinvizModern=self.webpackChunkFinvizModern||[]).push([[984],{55493(e,t,s){s.d(t,{M:()=>c});var n=s(52258),a=s(82916),r=s(55784),l=s(63696),i=s(99412),o=s(62540);function c(e){let{children:t,content:s,delay:c=300,placement:d="top",defaultOpen:u,anchorToEdge:m,anchorElement:x,open:h,gutter:g}=e;const p=n._({showTimeout:c,hideTimeout:0,placement:d,defaultOpen:u});return l.useLayoutEffect(()=>{x&&p.setAnchorElement(x)},[p,x]),l.useLayoutEffect(()=>{void 0!==h&&(h?p.show():p.hide())},[p,h]),(0,o.jsxs)(r.B,{store:p,children:[null!=t&&(0,o.jsx)(a.f,{store:p,render:t}),(0,o.jsx)(i.J,{store:p,content:s,anchorToEdge:m,gutter:g,hideOnHoverOutside:void 0===h})]})}},99412(e,t,s){s.d(t,{J:()=>o,L:()=>i});var n=s(22132),a=s(63696),r=s(55422),l=s(62540);const i=8;function o(e){let{store:t,content:s,anchorToEdge:o,gutter:c=8,hideOnHoverOutside:d}=e;const u="string"==typeof s,m=n.O$(t,"placement"),x=a.useMemo(()=>{if(!o)return;const e=m.endsWith("-end");return t=>{if(!t)return null;const s=t.getBoundingClientRect();return{x:e?s.left:s.right,y:s.top,width:0,height:s.height}}},[o,m]);return(0,l.jsx)(r.m_,{state:t,gutter:c,overflowPadding:i,getAnchorRect:x,hideOnHoverOutside:d,isPointerEventsEnabled:!1,disablePointerEventsOnApproach:!1,hasBox:!1,children:u?(0,l.jsx)("div",{className:"max-w-[300px] rounded bg-gray-700 px-2 py-1 text-2xs text-gray-50 dark:bg-gray-300 dark:text-gray-700",children:s}):s})}},40277(e,t,s){s.d(t,{sb:()=>o});var n=s(63696),a=s(48343),r=s(55493),l=s(99412),i=s(62540);function o(e){let{children:t,content:s,contentKey:o,disabled:c,anchorToEdge:d,contentWidth:u}=e;const[m,x]=n.useState(null),[h,g]=n.useState(!1),[p,f]=n.useState(!1),v=n.useRef(null),y=(0,a.o)(()=>{v.current&&(window.clearTimeout(v.current),v.current=null)}),j=t.props,b=(0,a.o)(e=>{y();const t=e.currentTarget;d&&null!=u&&g(function(e,t,s){const n=e.right+t+l.L<=s.right,a=e.left-t-l.L>=s.left;return!n&&a}(t.getBoundingClientRect(),u,function(e){const t=e.closest("[data-dialog]");if(t){const{left:e,right:s}=t.getBoundingClientRect();return{left:e,right:s}}return{left:0,right:document.documentElement.clientWidth}}(t))),x(t),f(!0),j.onMouseEnter?.(e)}),N=(0,a.o)(e=>{f(!1),v.current=window.setTimeout(()=>{x(null)},250),j.onMouseLeave?.(e)});return n.useEffect(()=>y,[y]),n.useEffect(()=>{if(m)return document.addEventListener("scroll",e,{passive:!0,capture:!0}),()=>{document.removeEventListener("scroll",e,{capture:!0})};function e(){y(),f(!1),x(null)}},[m,y]),(0,i.jsxs)(i.Fragment,{children:[c?t:n.cloneElement(t,{onMouseEnter:b,onMouseLeave:N}),m&&!c&&(0,i.jsx)(r.M,{defaultOpen:!0,open:p,placement:h?"top-end":"top-start",anchorToEdge:d,anchorElement:m,content:s,delay:0},o)]})}},88502(e,t,s){s.d(t,{r:()=>a});var n=s(63696);function a(e){n.useEffect(()=>{document.title=e},[e])}},38113(e,t,s){s.r(t),s.d(t,{default:()=>ie});var n=s(57490),a=s(88502),r=(s(14846),s(94364),s(19879)),l=s(63696),i=s(64964),o=s(53150),c=s(83971),d=s(68814),u=s(26373),m=s(16745),x=s(48343),h=s(90585),g=s(90323),p=s(12091),f=s(53819),v=s(5868);function y(e,t){const s=(0,r.GP)((0,f.k)(t,{weekStartsOn:1}),h.JO);return(0,p.I)({queryKey:[h.Av,s],queryFn:()=>(0,v.AT)(h.Av,{query:{dateFrom:s}},!0),staleTime:3e5,initialData:()=>{return"object"==typeof(t=e)&&null!==t&&Array.isArray(t.entries)&&"string"==typeof t.initialDateFrom&&"number"==typeof t.totalCount&&e.initialDateFrom===s?e:void 0;var t},useErrorBoundary:!1})}var j=s(62540);function b(e){let{items:t,value:s,onChange:n,"data-testid":a}=e;return(0,j.jsx)(o.e2v,{hasDivider:!1,hasBorder:!1,className:"-space-x-px",children:t.map(e=>(0,j.jsx)(o.$nd,{theme:"chipOutline",active:s===e.value,"aria-pressed":s===e.value,"data-testid":a&&`${a}-${e.value}`,onClick:()=>n(e.value),children:e.label},e.value))})}var N=s(4452),w=s.n(N),C=s(75216),k=s(40277),E=s(35721),M=s(68728);function T(e){let{ticker:t,bgColors:s,className:n}=e;const a=(0,c.UO)(s,t)??M.T1;return(0,j.jsxs)("span",{className:w()("relative block shrink-0 overflow-hidden rounded bg-gray-100 dark:bg-gray-700 [&.is-loaded]:bg-[var(--logo-bg)]",n),style:{"--logo-bg":a}
1,children:[(0,j.jsx)("img",{src:(0,M.rU)(t),alt:`${t} logo`,loading:"lazy",decoding:"async",crossOrigin:"anonymous",className:"absolute inset-0 size-full opacity-0",onLoad:e=>{e.currentTarget.style.opacity="1",e.currentTarget.parentElement?.classList.add("is-loaded")}}),(0,j.jsx)("span",{className:"flex size-full items-center justify-center font-medium text-muted-2 select-none [.is-loaded_&]:hidden",children:t.charAt(0)})]})}s(15724),s(27458);var A=s(65130);let P=function(e){return e.Tiles="tiles",e.List="list",e}({}),L=function(e){return e.Alphabetical="az",e.MarketCap="marketCap",e}({});const S=[{value:L.Alphabetical,label:"Alphabetically"},{value:L.MarketCap,label:"By Market Cap"}],F=[{value:P.Tiles,label:"Tiles"},{value:P.List,label:"List"}];const D=new Intl.Collator;function O(e,t){let s=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"ticker";const n=[...e];return t===L.Alphabetical?n.sort((e,t)=>D.compare(e[s],t[s])):n.sort((e,t)=>(t.marketCap??-1)-(e.marketCap??-1)||D.compare(e.ticker,t.ticker)),n}function R(e){const t=e[0].days[0].day,s=e[e.length-1].days,n=s[s.length-1].day;return`${(0,r.GP)(t,"MMM dd")}–${(0,r.GP)(n,"MMM dd")}`}function _(e){return`/stock?t=${encodeURIComponent(e)}`}const $=new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2});function G(e){const t=1e6*e;return Math.abs(t)>=1e12?`${$.format(t/1e12)}T`:(0,E.gp)(t)}const z={multiply:1e6},B="grid grid-cols-[auto_1fr_88px_88px]",H={width:360};function I(){return(0,j.jsx)("span",{className:"text-muted-2",children:"—"})}function q(e){return e>0?"text-positive":e<0?"text-negative":"text-muted-2"}function V(e){let{value:t,isRevenue:s}=e;return null!=t&&Number.isFinite(t)?(0,j.jsx)(j.Fragment,{children:s?(0,E.gp)(t,z):(0,E.ek)(t)}):(0,j.jsx)(I,{})}function J(e){let{value:t}=e;return null!=t&&Number.isFinite(t)?(0,j.jsx)(j.Fragment,{children:G(t)}):(0,j.jsx)(I,{})}function K(e){let{value:t}=e;return null==t?(0,j.jsx)(I,{}):(0,j.jsx)("span",{className:q(t),children:(0,E.ZV)(t,E.xM)})}function U(e){let{label:t,children:s}=e;return(0,j.jsxs)("div",{className:"min-w-0 px-3",children:[(0,j.jsx)("div",{className:"text-2xs leading-4 font-medium text-muted-2",children:t}),(0,j.jsx)("div",{className:"truncate pt-1.5 text-2xs leading-4 font-semibold text-default",children:s})]})}function W(e){let{entry:t,bgColors:s}=e;const{ticker:n,company:a,marketCap:l}=t,i=(0,C.H)(t.earningsDate??t.date),o=[t.earningsDate?(0,E.Tv)(i):"",null!=t.epsActual||null!=t.epsReportedActual||null!=t.salesActual?"Reported":"Expected"].filter(Boolean).join(" · "),c=null!=t.lastClose&&null!=t.prevClose?t.lastClose-t.prevClose:null,d=null!=c&&t.prevClose?c/t.prevClose*100:null,u=[{label:"EPS",estimate:t.epsEstimate,actual:t.epsActual},{label:"EPS GAAP",estimate:t.epsReportedEstimate,actual:t.epsReportedActual},{label:"Revenue",estimate:t.salesEstimate,actual:t.salesActual,isRevenue:!0}];return(0,j.jsxs)("div",{style:H,className:"overflow-hidden rounded-md border border-primary bg-primary shadow-modal dark:shadow-modal-dark","data-testid":"earnings-boxover",children:[(0,j.jsxs)("div",{className:"flex items-center gap-1.5 px-4 py-3",children:[(0,j.jsx)(T,{ticker:n,bgColors:s,className:"size-8 rounded-md text-sm"}),(0,j.jsxs)("div",{className:"min-w-0",children:[(0,j.jsx)("div",{className:"truncate text-lg leading-6 font-medium text-muted",children:n}),(0,j.jsx)("div",{className:"truncate text-sm leading-4.5 font-semibold text-link",children:a})]}),(0,j.jsxs)("div",{className:"ml-auto flex shrink-0 flex-col items-end gap-1 pl-2",children:[(0,j.jsx)("span",{className:"text-3xs leading-3 font-medium text-muted-2",children:(0,r.GP)(i,"EEE, MMMM d, yyyy")}),(0,j.jsx)("span",{className:"inline-flex h-5 items-center rounded-md border border-primary px-1.5 text-3xs font-medium text-muted",children:o})]})]}),(0,j.jsxs)("div",{className:"grid grid-cols-[1fr_1.4fr_1fr] divide-x divide-secondary border-y border-secondary px-1 py-4",children:[(0,j.jsx)(U,{label:"Last",children:null!=t.lastClose?(0,E.ek)(t.lastClose):(0,j.jsx)(I,{})}),(0,j.jsx)(U,{label:"1-Day change",children:null!=c&&null!=d?(0,j.jsxs)("span",{className:q(c),children:[(0,E.ek)(c,{showPlusSign:!0})," (",(0,E.ZV)(d,E.xM),")"]}):(0,j.jsx)(I,{})}),(0,j.jsx)(U,{label:"Market cap",children:(0,j.jsx)(J,{value:l})})]}),(0,j.jsxs)("div",{className:"px-3 py-4 text-2xs leading-4",children:[(0,j.jsxs)("div",{className:w()(B,"px-1.5 pb-1 text-muted"),children:[(0,j.jsx)("span",{}),(0,j.jsx)("span",{className:"text-right",children:"Estimate"}),(0,j.jsx)("span",{className:"text-right",children:"Actual"}),(0,j.jsx)("span",{className:"text-right",children:"Surprise"})]}),(0,j.jsx)("div",{className:"divide-y divide-secondary rounded-md border border-secondary",children:u.map(e=>{return(0,j.jsxs)("div",{className:w()(B,"px-1.5 py-1.5"),children:[(0,j.jsx)("span",{className:"text-default",children:e.label}),(0,j.jsx)("span",{className:"text-right",children:(0,j.jsx)(V,{value:e.estimate,isRevenue:e.isRevenue})}),(0,j.jsx)("span",{className:"text-right font-medium",children:(0,j.jsx)(V,{value:e.actual,isRevenue:e.isRevenue})}),(0,j.jsx)("span",{className:"text-right",children:(0,j.jsx)(K,{value:(t=e.estimate,s=e.actual,t&&s&&Number.isFinite(t)&&Number.isFinite(s)?(s-t)/Math.abs(t)*100:null)})})]},e.label);var t,s})})]})]})}function Y(e){let{entry:t,bgColors:s,children:n}=e;return(0,j.jsx)(k.sb,{contentKey:t.ticker,anchorToEdge:!0,contentWidth:360,content:(0,j.jsx)(W,{entry:t,bgColors:s}),children:n})}function Z(e){let{entries:t,bgColors:s,hiddenCount:n,onMoreClick:a}=e;return(0,j.jsxs)("div",{className:"grid grid-cols-[repeat(auto-fill,minmax(2.75rem,1fr))] gap-1",children:[t.map(e=>(0,j.jsx)(Y,{entry:e,bgColors:s,children:(0,j.jsxs)("a",{href:_(e.ticker),className:"flex min-w-0 flex-col items-center gap-1 rounded-md bg-neutral px-1 py-2 hover:bg-accent",children:[(0,j.jsx)(T,{ticker:e.ticker,bgColors:s,className:"size-6 text-2xs"}),(0,j.jsx)("span",{className:"max-w-full truncate text-info text-neutral",children:e.ticker})]})}
1,e.ticker)),n>0&&(0,j.jsxs)("button",{type:"button",onClick:a,className:"flex cursor-pointer flex-col items-center justify-center rounded-md bg-blue-100/70 text-2xs font-medium text-default hover:bg-blue-100 dark:bg-accent dark:hover:bg-gray-600",children:["+",n,(0,j.jsx)("span",{children:"more"})]})]})}function Q(e){let{entries:t,bgColors:s}=e;return(0,j.jsx)("div",{className:"flex flex-col",children:t.map(e=>(0,j.jsx)(Y,{entry:e,bgColors:s,children:(0,j.jsxs)("a",{href:_(e.ticker),className:"flex h-6 min-w-0 items-center gap-1.5 rounded px-1.5 text-2xs text-muted even:bg-neutral hover:bg-accent hover:text-link",children:[(0,j.jsx)(T,{ticker:e.ticker,bgColors:s,className:"size-4 text-4xs"}),(0,j.jsx)("span",{className:"truncate",children:e.company}),(0,j.jsx)("span",{className:"ml-auto shrink-0 text-muted-2",children:e.ticker})]})},e.ticker))})}const X=l.memo(function(e){let{day:t,view:s,sort:n,bgColors:a,onShowAll:i}=e;const c=t.totalCount,d=function(e,t){return e!==P.Tiles?10:t>25?24:25}(s,c),u=l.useMemo(()=>O(t.entries,n),[t.entries,n]).slice(0,d),m=c-u.length;return(0,j.jsxs)("div",{className:"flex flex-col gap-2 rounded-md bg-primary p-2",children:[(0,j.jsx)("div",{className:"text-xs text-muted-2",children:(0,r.GP)(t.day,"EEEE, MMM dd")}),s===P.Tiles?(0,j.jsx)(Z,{entries:u,bgColors:a,hiddenCount:m,onMoreClick:()=>i(t)}):(0,j.jsx)(Q,{entries:u,bgColors:a}),s===P.List&&m>0&&(0,j.jsxs)(o.$nd,{size:"small",className:"w-full",onClick:()=>i(t),children:["Show All ",c," companies"]})]})});var ee=s(44038),te=s(65856);function se(e){return Math.floor(e/3)%2==1}function ne(e){let{day:t,bgColors:s,search:n,sort:a}=e;const i=t.totalCount<=t.entries.length,c=function(e){const t=e?(0,r.GP)(e,h.JO):null;return(0,p.I)({queryKey:[h.Pn,t],queryFn:()=>(0,v.AT)(h.Pn,{query:{date:t}},!0),staleTime:3e5,enabled:null!==t,useErrorBoundary:!1})}(i?null:t.day),u=i?t.entries:c.data,m=l.useMemo(()=>u?O(u,a,"company"):null,[u,a]),x=l.useMemo(()=>m?function(e,t){const s=t.trim().toLowerCase();return s?e.filter(e=>{let{company:t,ticker:n}=e;return t.toLowerCase().includes(s)||n.toLowerCase().includes(s)}):e}(m,n):[],[m,n]);if(!i&&c.isLoading)return(0,j.jsx)(d.l,{className:"grow",children:(0,j.jsx)(o.y$y,{})});if(!u)return(0,j.jsx)(o.fHT,{className:"grow",children:"Failed to load the companies. Please try again."});return x.length>0?(0,j.jsx)("div",{className:"flex grow flex-row flex-wrap content-start justify-start gap-x-3 pb-3",children:x.map((e,t)=>(0,j.jsx)(Y,{entry:e,bgColors:s,children:(0,j.jsxs)("a",{href:_(e.ticker),className:w()("flex h-7 w-[calc(33.3%-0.5rem)] min-w-0 items-center gap-2 rounded px-2 text-xs text-muted hover:bg-accent hover:text-link",se(t)&&"bg-neutral"),children:[(0,j.jsx)(T,{ticker:e.ticker,bgColors:s,className:"size-4 text-4xs"}),(0,j.jsx)("span",{className:"truncate",children:e.company}),(0,j.jsx)("span",{className:"ml-auto shrink-0 text-2xs text-muted-2",children:e.ticker})]})},e.ticker))}):(0,j.jsx)(o.fHT,{className:"min-h-40",children:"No companies match your search."})}function ae(e){let{day:t,initialSort:s,bgColors:n,state:a}=e;const[i,o]=l.useState(s),[c,d]=l.useState(""),m=l.useDeferredValue(c);return(0,j.jsxs)(u.lG,{state:a,"aria-label":`Companies reporting earnings on ${(0,r.GP)(t.day,"EEEE, MMM dd")}`,className:"h-3/4 w-[56rem] max-w-[calc(100vw-2rem)]","data-testid":"season-preview-day-dialog",children:[(0,j.jsx)(u.c7,{asHeading:!1,isCloseButtonVisible:!1,children:(0,j.jsxs)("div",{className:"flex grow flex-col gap-2",children:[(0,j.jsxs)("div",{className:"flex grow items-baseline gap-2",children:[(0,j.jsx)("h4",{className:"m-0 text-lg font-semibold",children:(0,r.GP)(t.day,"EEEE, MMM dd")}),(0,j.jsxs)("span",{className:"text-xs font-normal text-muted",children:["• ",t.totalCount," Companies"]}),(0,j.jsx)(te.H,{className:"ml-auto"})]}),(0,j.jsxs)("div",{className:"flex grow items-center gap-3",children:[(0,j.jsx)("div",{className:"grow",children:(0,j.jsx)(ee.L,{placeholder:"Search Available Companies",value:c,onChange:e=>d(e.currentTarget.value)})}),(0,j.jsx)(b,{items:S,value:i,onChange:o})]})]})}),(0,j.jsx)(u.R4,{className:"flex grow flex-col",children:(0,j.jsx)(ne,{day:t,bgColors:n,sort:i,search:m})})]})}function re(e){let{day:t,initialSort:s,bgColors:n,state:a}=e;return(0,u.O$)(a,"mounted")&&t?(0,j.jsx)(ae,{day:t,initialSort:s,bgColors:n,state:a}):null}const le=(0,i.fg)(function(e){let{initialData:t}=e;const[s,n]=l.useState(null),a=(0,u.pA)(),{setViewParams:i,viewParams:p}=(0,g.T)(),f=p.view===P.List?P.List:P.Tiles,v=p.sort===L.Alphabetical?L.Alphabetical:L.MarketCap,N=y(t,p.dateFrom),w=l.useMemo(()=>N.data?function(e){const t=(0,C.H)(e.initialDateFrom),s=new Map;for(const t of e.entries){const e=t.date.split("T")[0],n=s.get(e);n?n.push(t):s.set(e,[t])}return Array.from({length:4},(n,a)=>{const l=(0,A.f)(t,7*a);return{monday:l,days:Array.from({length:5},(t,n)=>{const a=(0,A.f)(l,n),i=(0,r.GP)(a,h.JO),o=s.get(i)??[];return{day:a,entries:o,totalCount:e.totalsPerDay[i]??o.length}})}})}(N.data):[],[N.data]),k=(0,c.kG)(),E=(0,x.o)(e=>{n(e),a.show()}),M=N.data?.totalCount??0;return(0,j.jsxs)("div",{className:"mt-6",children:[(0,j.jsxs)("div",{className:"mb-6 flex flex-wrap items-center justify-between gap-2",children:[(0,j.jsxs)("div",{className:"flex flex-wrap items-baseline gap-x-3 gap-y-1",children:[(0,j.jsx)(m.DZ,{className:"m-0",level:2,children:"Earnings Season Preview"}),w.length>0&&(0,j.jsxs)("span",{className:"text-xs text-disabled",children:[R(w)," · ",M," companies confirmed"]})]}),(0,j.jsxs)("div",{className:"flex items-center gap-4",children:[(0,j.jsx)(b,{items:S,value:v,"data-testid":"season-preview-sort-switch",onChange:e=>i({[h.LY.Sort]:e})}),(0,j.jsx)(b,{items:F,value:f,"data-testid":"season-preview-view-switch",onChange:e=>i({[h.LY.View]:e})})]})]}),N.isLoading?(0,j.jsx)(d.l,{className:"min-h-80",children:(0,j.jsx)(o.y$y,{})}):N.isError||!N.data?(0,j.jsx)(o.fHT,{className:"min-h-80",children:"Failed to load the earnings season preview. Please try again."}):0===M?(0,j.jsx)(o.fHT,{className:"min-h-80",children:"No confirmed earnings for the upcoming weeks yet."}
1):(0,j.jsx)("div",{className:"flex flex-col gap-4 rounded-lg bg-neutral p-3",children:w.map(e=>(0,j.jsxs)("div",{children:[(0,j.jsxs)("div",{className:"py-2 text-center text-info text-disabled",children:["Week of ",(0,r.GP)(e.monday,"MMMM dd")]}),(0,j.jsx)("div",{className:"grid grid-cols-5 items-start gap-2",children:e.days.map(e=>(0,j.jsx)(X,{day:e,view:f,sort:v,bgColors:k,onShowAll:E},e.day.getTime()))})]},e.monday.getTime()))}),(0,j.jsx)(re,{day:s,initialSort:v,bgColors:k,state:a})]})});function ie(){const{data:e}=(0,n.TT)();return(0,a.r)("Earnings Season Preview"),(0,j.jsx)(le,{initialData:e?.data})}}}]);
2//# sourceMappingURL=984.v1.e1a54a8a.js.map

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.