1import{aL as f,cc as c,cd as l}from"./B28ecb5o.js";(function(){try{var t=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};t.SENTRY_RELEASE={id:"d24d26768c5a01fd6805d2d9098748ca6be520dc"};var i=new t.Error().stack;i&&(t._sentryDebugIds=t._sentryDebugIds||{},t._sentryDebugIds[i]="0e307dc5-d57f-4e46-bfc9-b4ee042e8ebe",t._sentryDebugIdIdentifier="sentry-dbid-0e307dc5-d57f-4e46-bfc9-b4ee042e8ebe")}catch{}})();const g=async(t,i=!1)=>{const s=f();return await c(t,{params:{region_id:s.region.id,device:s.device||1}}).then(async e=>{if(e?.cancelToken)return[];const o=i?e.items.slice(0,3):e.items,a=o.reduce((d,n,r)=>n.has_content?[...d,[r,n.id]]:d,[]);return a.length&&await Promise.allSettled(a.map(d=>c(`blocks/${d[1]}/content`,{params:{region_id:s.region.id,device:s.device||1,sem:s.sem||void 0}}).then(n=>{e.items[d[0]].items=s.isBot&&e.items[d[0]].type==="offerlist"?n.items.map(r=>(r.model_id||(r.description=""),r)):n.items}).catch(()=>{e.items[d[0]].items=[]}))),i?{...e,items:o}:e}).catch(e=>{throw l({statusCode:e?.response?.status||503})})};export{g}; 2//# sourceMappingURL=BLGIyFby.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.