1import{a as c}from"./DHc_Pel3.js";const m=(n,{headlinesAreDisabled:i,forceIncrementHeadlineRank:o=!1})=>t=>{if(!t)return t;if(t.metadata){const e=n.headlineRank??n.titleRank;return e?c(e,{autoIncrementHeadlineRank:!!(o||n.title||!i||n.headline),headlinesAreDisabled:i})(t):t}return Object.entries(t).reduce((e,[u,r])=>{let l=r;if(typeof r!="string"&&r?.fluidFragments?.length){const g=n.headlineRank??n.titleRank;if(!g)return e[u]=r,e;const f=c(g,{autoIncrementHeadlineRank:!!(o||n.title||!i||n.headline),headlinesAreDisabled:i});l={...r,fluidFragments:r.fluidFragments.map(s=>f(s))}}return e[u]=l,e},{})};export{m as u};
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.