1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[4422],{34422:(e,r,t)=>{t.r(r),t.d(r,{default:()=>p});var o=t(19262),a=t(8604);let c=(0,a.createServerReference)("7f6e16428f2d97f975bcf4ad30bb89a0e8936b1df8",a.callServer,void 0,a.findSourceMapURL,"setPerspectiveCookie");var l=t(31539),n=t(1702),s=t(1521),i=t(12080),f=t(45358);function p(e){let{projectId:r,dataset:t,draftModeEnabled:a,draftModePerspective:p}=e,u=(0,n.useRouter)();(0,s.useEffect)(()=>{(0,f.lc)(r,t)},[t,r]);let d=(0,i.J)((e,r)=>{a&&e!==p&&c(e).then(()=>{r.aborted||u.refresh()}).catch(e=>console.error("Failed to set the preview perspective cookie",e))});return(0,s.useEffect)(()=>{let e,r=(0,o.RM)({name:"loaders",connectTo:"presentation"},(0,o.Uc)().provide({actors:(0,l.jF)()}));r.on("loader/perspective",r=>{e?.abort(),e=new AbortController,d(r.perspective,e.signal)});let t=r.start();return(0,f.El)(r),()=>{t()}},[]),null}p.displayName="PresentationComlink"}}]);
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.