1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[3618],{3618:(e,t,s)=>{s.r(t),s.d(t,{default:()=>h});var r=s(12115),i=s(66677),n=s(54110),p=s(9262),u=s(28983),l=s(64482),a=s(42894),o=s(72430),b=s(48179),_=s(75341),c=s(30070),d=s(31190),f=s(81022),v=s(36126),h=(0,r.memo)(e=>{let{comlink:t,refs:s,perspective:h}=e,m=(0,v.yKO)(),w=(0,v.pDY)(),g=(0,r.useMemo)(()=>new i.B,[]),k=(0,r.useMemo)(()=>g.asObservable().pipe((0,n.n)(e=>(0,p.z)(e.map(e=>{var t;let s={...e,_id:(0,v.T4)(e._id)},r="previewDrafts"===h?m.observeForPreview(s,w.get(s._type)).pipe((0,u.u)(),(t=e=>null===e.snapshot,(0,l.N)(function(e,s){var r=!1,i=0;e.subscribe((0,a._)(s,function(e){return(r||(r=!t(e,i++)))&&s.next(e)}))}))):o.t,i={...e,_id:(0,v.IMx)(e._id)},n=m.observeForPreview(i,w.get(i._type));return(0,b.h)(n.pipe((0,_.Q)(r)),r).pipe((0,c.p)(e=>!!e.snapshot),(0,d.T)(e=>{let t=e.snapshot;return{_id:(0,v.IMx)(t._id),title:t.title,subtitle:t.subtitle,description:t.description,imageUrl:t.imageUrl}}))}))),(0,f.B)(0)),[m,g,w,h]);return(0,r.useEffect)(()=>{let e=k.subscribe(e=>{t.post("presentation/preview-snapshots",{snapshots:e})});return()=>{e.unsubscribe()}},[t,k]),(0,r.useEffect)(()=>{g.next(s)},[s,g]),null})}}]);
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.