PageSourceSearch

https://finviz.com/assets/dist/4111.v1.7ad74b7e.js

js finviz.com collected 2026-10-01 08:44:30 UTC 10,626 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:"e9cc7b2420e5d76423b99ff4271bbeade7bff705"},e._sentryModuleMetadata=e._sentryModuleMetadata||{},e._sentryModuleMetadata[(new e.Error).stack]=function(e){for(var t=1;t<arguments.length;t++){var n=arguments[t];if(null!=n)for(var r in n)n.hasOwnProperty(r)&&(e[r]=n[r])}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]="843ced46-04d2-43b8-b030-f06b14a6272f",e._sentryDebugIdIdentifier="sentry-dbid-843ced46-04d2-43b8-b030-f06b14a6272f")}catch(e){}}(),(self.webpackChunkFinvizModern=self.webpackChunkFinvizModern||[]).push([[4111],{19510(e,t,n){n.d(t,{I:()=>c});n(14846),n(94364);var r=n(4452),s=n.n(r),l=n(63696),a=n(96288),i=n(4515),o=n(62540);function c(e){let{color:t,onSelect:n,onClear:r}=e;const c=l.useCallback(e=>t===e?r():n(e),[t,r,n]);return(0,o.jsx)("div",{className:"fv-form-group is-horizontal items-center text-2xs leading-4",children:(0,o.jsx)("div",{className:s()("flex gap-2 p-2"),children:i.a9.map(e=>(0,o.jsxs)("button",{type:"button",onClick:()=>c(e),className:s()("group relative h-4 w-4 rounded-full bg-current transition-all",i.wY[e],t!==e?"focus-visible:outline-2 focus-visible:outline-offset-2":"scale-60 outline-3 outline-offset-4 hover:scale-100 hover:outline-none"),children:[t!==e&&(0,o.jsx)("span",{className:"pointer-events-none absolute inset-0 m-auto h-2 w-2 rounded-full bg-black/40 opacity-0 transition-opacity group-hover:opacity-100"}),t===e&&(0,o.jsx)("span",{className:"pointer-events-none absolute inset-0 flex items-center justify-center opacity-0 transition-opacity group-hover:opacity-100",children:(0,o.jsx)(a.I,{name:"close",width:"14",className:"text-black"})})]},e))})})}},89149(e,t,n){n.d(t,{S:()=>u});n(14846),n(75568);var r=n(70023),s=n(63696),l=n(48343),a=n(29399),i=n(53150),o=n(45359),c=n(7437),d=n(62540);function u(e){let{activeFilters:t,onApply:n,...r}=e;const[u,h]=(0,s.useState)(t),f=(0,a.g)({activeFilters:t}),g=(0,l.o)(()=>h(f.activeFilters)),x=u.some(e=>e!==c.PM);return(0,d.jsx)(o.y,{selection:u,openerFilters:t,onSelectionChange:h,onFullyClosed:g,"data-testid":r["data-testid"],footer:(0,d.jsxs)("div",{className:"mt-1.5 flex items-center justify-end gap-2 border-t border-secondary px-1.5 pt-2.5",children:[x&&(0,d.jsx)(i.$nd,{theme:"link",size:"small",padding:"none",onClick:()=>h([]),children:"Clear"}),(0,d.jsx)(p,{onApply:()=>n(u)})]})})}function p(e){let{onApply:t}=e;const n=r.KZ();return(0,d.jsx)(i.$nd,{theme:"blue",size:"small",onClick:()=>{t(),n?.hide()},"data-testid":"flag-filter-apply",children:"Apply"})}},45359(e,t,n){n.d(t,{y:()=>g});n(14846),n(27458),n(94364);var r=n(4452),s=n.n(r),l=n(48343),a=n(53150),i=n(7437),o=n(62540);const c={red:"Red",green:"Green",orange:"Orange",yellow:"Yellow",blue:"Blue",purple:"Purple",[i.PM]:"Unflagged"};function d(e){let{checked:t,indeterminate:n,colorClass:r,children:s}=e;return(0,o.jsxs)("span",{className:"flex items-center gap-2",children:[(0,o.jsx)(a.tfc,{"aria-hidden":!0,checked:t,indeterminate:n,colorClass:r,size:"none",className:"size-4.5 shrink-0"}),s]})}var u=n(4515);const p=["inset(0 0 calc(50% + 0.5px))","inset(calc(50% + 0.5px) 0 0)"];function h(e){let{colorClass:t,clipPath:n,outline:r}=e;return(0,o.jsx)("svg",{"aria-hidden":!0,viewBox:"0 0 24 24",className:s()("absolute inset-0 size-full",t),style:n?{clipPath:n}:void 0,children:(0,o.jsx)("path",{d:"M3 6h12l-4 6 4 6H3z",fill:r?"none":"currentColor",stroke:r?"currentColor":void 0,strokeWidth:r?1:void 0,strokeLinejoin:r?"round":void 0})})}function f(e){let{colors:t,unflaggedSelected:n}=e;const r=t.slice(-2);return(0,o.jsx)("span",{className:"relative block size-full",children:0===r.length?(0,o.jsx)(h,{colorClass:n?"text-muted-2":void 0,outline:n}):r.map((e,t)=>(0,o.jsx)(h,{colorClass:u.wY[e],clipPath:r.length>1?p[t]:void 0},e))})}function g(e){let{selection:t,openerFilters:n,onSelectionChange:r,onFullyClosed:p,footer:h,...g}=e;const x=t.filter(e=>e!==i.PM),m=x.length===u.a9.length,y=t.includes(i.PM),b=x.length>0&&!m,v=n.length>0,j=(0,l.o)(e=>{r((0,i.ML)(x.includes(e)?x.filter(t=>t!==e):[...x,e],y))});return(0,o.jsx)("span",{onClick:e=>e.stopPropagation(),children:(0,o.jsxs)(a.msM,{"aria-label":"Filter by flag",placement:"bottom-start",className:"min-w-44",onFullyClosed:p,trigger:(0,o.jsx)(a.$nd,{size:"none",appearance:"square",rounding:"none",theme:"transparent",padding:"none","aria-label":"Filter by flag","data-testid":g["data-testid"],className:s()("-ml-0.5 size-4.5 shrink-0 transition hover:opacity-70",{"text-muted-2":!v}),children:(0,o.jsx)(f,{colors:n.filter(e=>e!==i.PM),unflaggedSelected:n.includes(i.PM)})}),children:[(0,o.jsx)(a.tJh,{hideOnClick:!1,onClick:()=>
1r((0,i.ML)(m?[]:[...u.a9],y)),children:(0,o.jsx)(d,{checked:m,indeterminate:b,colorClass:u.wY.blue,children:"All colors"})}),u.a9.map(e=>(0,o.jsx)(a.tJh,{hideOnClick:!1,onClick:()=>j(e),children:(0,o.jsx)(d,{checked:x.includes(e),colorClass:u.wY[e],children:c[e]})},e)),(0,o.jsx)(a.tJh,{hideOnClick:!1,onClick:()=>r(y?x:[...x,i.PM]),children:(0,o.jsx)(d,{checked:y,colorClass:"text-muted-2",children:"Unflagged"})}),h]})})}},84666(e,t,n){n.d(t,{N:()=>f,j:()=>g});var r=n(12091),s=n(63064),l=n(30448),a=n(5868),i=n(88601),o=n(91882),c=n(4515),d=n(23834),u=n(62540);const p=["sidebar-ticker-flags"],h={};function f(){const e=(0,i.t0)(e=>!!e.name),{data:t}=(0,r.I)({queryKey:p,queryFn:a.U3,enabled:e,useErrorBoundary:!1});return t??h}function g(e){const{ticker:t,assetClass:n}=e,r=(0,s.jE)(),a=(0,d.H)(t,(0,c.nT)(e.initialColor),n);return(0,u.jsx)(o.r,{color:a.color,onSetFlag:async e=>{e?await a.saveColor(e):await a.clearColor(),r.invalidateQueries(["tickerFlag",t,n]),r.invalidateQueries(["sidebar-instruments"]),r.invalidateQueries(["watchlist-items"]),r.invalidateQueries(p),document.dispatchEvent(new Event(l.sn))}})}},91882(e,t,n){n.d(t,{r:()=>h});var r=n(4452),s=n.n(r),l=(n(63696),n(48343)),a=n(78898),i=n(26373),o=n(96288),c=n(22654),d=n(19510),u=n(7437),p=n(62540);function h(e){let{color:t,onSetFlag:n,alwaysVisible:r,...h}=e;const f=(0,c.D_)({placement:"bottom-start"}),g=(0,i.O$)(f,"open"),x=(0,l.o)(async e=>{f.setOpen(!1);try{await n(e)}catch{}});return(0,p.jsxs)("span",{className:"contents",onClick:e=>e.stopPropagation(),children:[(0,p.jsx)(a.$n,{as:c.Wv,state:f,size:"none",appearance:"square",rounding:"none",theme:"transparent",padding:"none","aria-label":"Flag color","data-testid":h["data-testid"],className:s()("-ml-0.5 size-4.5 shrink-0 transition-opacity duration-150",(0,u.lB)({color:t,isOpen:g,alwaysVisible:r})),children:(0,p.jsx)(o.I,{name:"tickerFlag",className:"-rotate-90",width:18})}),(0,p.jsx)(c.AM,{overflowVisible:!0,state:f,children:(0,p.jsx)(d.I,{color:t,onSelect:x,onClear:()=>x(null)})})]})}},23834(e,t,n){n.d(t,{H:()=>i});n(15724),n(14846),n(63333),n(6211);var r=n(63696),s=n(48343),l=n(5868),a=n(85670);function i(e,t,n){const i=`${n??a.Hj.Stocks}:${e}`,o=(0,r.useRef)(i);o.current=i;const c=(0,r.useRef)(i),d=(0,r.useRef)(0),u=(0,r.useRef)(t??null),p=(0,r.useRef)([]),[h,f]=(0,r.useState)({identity:i,color:t??null}),g=h.identity===i?h.color:t??null;(0,r.useEffect)(()=>{u.current=t??null,c.current!==i&&(c.current=i,d.current++,p.current=[]);const e=[...p.current].reverse().find(e=>!e.failed);f({identity:i,color:e?e.color:u.current})},[i,t]),(0,r.useEffect)(()=>()=>{d.current++},[]);const x=(0,s.o)(async t=>{const r=d.current,s={color:t,failed:!1,finished:!1};p.current.push(s),f({identity:i,color:t});try{t?await(0,l.wJ)({ticker:e,color:t,assetClass:n}):await(0,l.Tt)(e,n)}catch(e){throw s.failed=!0,e}finally{if(s.finished=!0,o.current===i&&d.current===r){const e=[...p.current].reverse().find(e=>!e.failed),t=e?e.color:u.current;f({identity:i,color:t}),p.current.every(e=>e.finished)&&(u.current=t,p.current=[])}}});return{color:g,saveColor:(0,s.o)(e=>x(e)),clearColor:(0,s.o)(()=>x(null))}}},81798(e,t,n){n.d(t,{Ll:()=>f,SV:()=>h,Zs:()=>p,bV:()=>c,jA:()=>d,wI:()=>u});n(14846),n(94364);var r=n(4452),s=n.n(r),l=n(85670),a=n(17984),i=n(96288),o=n(62540);function c(e){let{className:t,...n}=e;return(0,o.jsx)("table",{...n,className:s()(t,"w-full border-separate border-spacing-x-0 border-spacing-y-0.5 text-2xs whitespace-nowrap text-gray-800 tabular-nums dark:text-gray-100")})}function d(e){let{children:t}=e;return(0,o.jsx)("thead",{className:"sticky -top-2 z-10 bg-primary text-muted",children:(0,o.jsx)("tr",{className:"h-5.5 touch-device:h-8",children:t})})}function u(e){let{isLead:t=!1,align:n="right",flag:r,sort:a,children:c}=e;const d=t||"left"===n,u=a&&(0,o.jsx)(i.I,{name:"arrowDownLong",className:s()(d?"-mr-1":"-ml-1",{invisible:!a.isActive,"rotate-180":a.direction===l.UE.Ascending})});return(0,o.jsx)("th",{scope:"col","aria-sort":a?.isActive?a.direction===l.UE.Ascending?"ascending":"descending":void 0,className:s()("leading-4",a?.isActive?"font-medium text-default":"font-normal",t?"sticky -left-2 z-1 bg-primary pl-1":"px-1.5",{"curs
1or-pointer select-none hover:text-default":a}),onClick:a?.onClick,children:(0,o.jsxs)("span",{className:s()("flex items-center gap-0.5",{"flex-row-reverse":!d}),children:[r,c,u]})})}function p(e){let{isSelected:t,stripeIndex:n,flag:r,lead:l,leadClassName:a,cells:i,className:c,...d}=e;const u=s()("first:rounded-l-md last:rounded-r-md",t?"bg-blue-100 dark:bg-blue-700":[n%2==1?"bg-neutral":"bg-primary","group-hover:bg-neutral group-hover:shadow-primary","group-hover:shadow-[inset_0_1px_0,inset_0_-1px_0]","first:group-hover:shadow-[inset_1px_0_0,inset_0_1px_0,inset_0_-1px_0]","last:group-hover:shadow-[inset_-1px_0_0,inset_0_1px_0,inset_0_-1px_0]","only:group-hover:shadow-[inset_0_0_0_1px]"]);return(0,o.jsxs)("tr",{...d,className:s()(c,"group h-6 cursor-pointer outline-none touch-device:h-8"),children:[(0,o.jsx)("td",{className:s()(u,"sticky -left-2 z-1 min-w-18 pl-1 text-left",a),children:(0,o.jsxs)("span",{className:"flex items-center gap-0.5",children:[r,(0,o.jsx)("span",{className:"flex min-w-0 text-link",children:l})]})}),i.map(e=>{let{id:t,align:n,content:r}=e;return(0,o.jsx)("td",{className:s()(u,"px-1.5","left"===n?"text-left":"text-right"),children:r},t)})]})}function h(e){let{label:t,colSpan:n}=e;return(0,o.jsx)("tr",{className:"h-6 touch-device:h-8",children:(0,o.jsx)("th",{scope:"rowgroup",colSpan:n,className:"pl-5.5 text-left text-3xs font-medium text-disabled uppercase",children:t})})}function f(e){return e===a.Gk.Right?"right":"left"}}}]);
2//# sourceMappingURL=4111.v1.7ad74b7e.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.