1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[150],{40150:function(e,t,l){l.r(t);var s=l(85893),r=l(67294),a=l(94246);let i=e=>{let{targetRef:t,showPercent:l=!0}=e,i=(null==t?void 0:t.current)||t,[n,c]=(0,r.useState)(0),d=()=>{let e=i||a.jU&&document.getElementById("posts-wrapper");if(e){let t=e.clientHeight,l=window.pageYOffset,s=t-window.outerHeight,r=parseFloat((l/s*100).toFixed(0));r>100&&(r=100),r<0&&(r=0),c(r)}};return(0,r.useEffect)(()=>(document.addEventListener("scroll",d),()=>document.removeEventListener("scroll",d)),[]),(0,s.jsx)("div",{className:"h-4 w-full shadow-2xl bg-hexo-light-gray dark:bg-black",children:(0,s.jsx)("div",{className:"h-4 bg-gray-600 duration-200",style:{width:"".concat(n,"%")},children:l&&(0,s.jsxs)("div",{className:"text-right text-white text-xs",children:[n,"%"]})})})};t.default=i}}]);
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.