1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[26333],{26333:function(e,t,n){"use strict";n.r(t);var l=n(57437),r=n(2265),s=n(55788);n(71999),t.default=e=>{let{h2Tags:t,handleScrollTo:n}=e,{t:a}=(0,s.$G)(),[i,c]=(0,r.useState)(null),o=e=>{c(e),n(e)};return(0,r.useEffect)(()=>{let e=()=>{let e=null;for(let n of t){let t=document.getElementById(n);if(t){let l=t.getBoundingClientRect().top;if(l>=0&&l<window.innerHeight/2){e=n;break}}}e&&e!==i&&c(e)};return window.addEventListener("scroll",e),()=>window.removeEventListener("scroll",e)},[t,i]),(0,l.jsx)("div",{className:"rtb1",children:(0,l.jsxs)("div",{className:"rta2",children:[(0,l.jsx)("p",{className:"rta3",children:a("report-page:keyTopics")}),null==t?void 0:t.map((e,t)=>(0,l.jsx)("button",{className:"rta4 ".concat(i===e?"rta5":"rta6"),onClick:()=>o(e),children:e},t))]})})}},71999:function(){}}]);
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.