1function e(e,n,r,i){let a;switch(r){case`sk`:a=e.sk;break;case`en`:a=e.en;break;case`pl`:a=e.pl;break;default:a=e.cs}if(!a)return``;let o=JSON.parse(JSON.stringify(a));i?.removeIfEmpty&&i.removeIfEmpty.forEach(e=>{if(e===`aggregateRating`){let t=n.ratingValue||0,r=n.reviewCount||0;t===0&&r===0&&delete o[e]}else t(n,e).every(e=>e==null||e===0||e===``)&&delete o[e]}),i?.addIfNotEmpty&&Object.entries(i.addIfNotEmpty).forEach(([e,t])=>{t&&(Array.isArray(t)?t.length>0:Object.keys(t).length>0)&&(o[e]=t)});let s=e=>{if(typeof e==`string`){let t=e;return Object.entries(n).forEach(([e,n])=>{let r=RegExp(`\\{${e}\\}`,`g`);t=t.replace(r,String(n||``))}),t}if(Array.isArray(e))return e.map(s);if(e&&typeof e==`object`){let t={};for(let[n,r]of Object.entries(e))t[n]=s(r);return t}return e};return JSON.stringify(s(o))}function t(e,t){return Object.keys(e).filter(e=>e.toLowerCase().includes(t.toLowerCase())||t.toLowerCase().includes(e.toLowerCase())).map(t=>e[t])}export{e as t};
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.