1"use strict";(globalThis.webpackChunk_N_E=globalThis.webpackChunk_N_E||[]).push([[1783],{61783:(e,t,n)=>{n.r(t),n.d(t,{default:()=>l});var i=n(97783),s=n(23796),u=n(34059),o=n(46323),a=n(32361),c=n(40589),p=n(30289),r=n(9100),l=(0,s.memo)(e=>{let t,n,l,h,v,y,w,g=(0,i.c)(14),{comlink:_,perspective:E}=e;g[0]!==E?(t=(0,p.c7e)(E)?p.Ra0:{apiVersion:r.mG},g[0]=E,g[1]=t):t=g[1];let k=(0,p.tH7)(t);return g[2]!==k||g[3]!==_?(n=()=>{let e=k.listen('*[!(_id in path("_.**"))]',{},{effectFormat:"mendoza",events:["welcome","mutation","reconnect"],includePreviousRevision:!1,includeResult:!1,includeAllVersions:!0,tag:"presentation-documents",visibility:"transaction"}).pipe((0,u.p)(m)),t=e.pipe((0,u.p)(f),(0,o.t)({bufferSize:1,refCount:!1})),n=_.on("visual-editing/snapshot-welcome",async()=>({event:await new Promise(e=>{t.pipe((0,a.$)()).subscribe(t=>{e(t)})})})),i=e.pipe((0,u.p)(d)),s=e.pipe((0,u.p)(b)),p=(0,c.h)(t,s,i).subscribe(e=>{_.post("presentation/snapshot-event",{event:e})});return()=>{n(),p.unsubscribe()}},l=[k,_],g[2]=k,g[3]=_,g[4]=n,g[5]=l):(n=g[4],l=g[5]),(0,s.useEffect)(n,l),g[6]!==k||g[7]!==_?(h=()=>_.on("visual-editing/fetch-snapshot",async e=>({snapshot:await k.getDocument(e.documentId,{tag:"document.snapshots"})})),v=[k,_],g[6]=k,g[7]=_,g[8]=h,g[9]=v):(h=g[8],v=g[9]),(0,s.useEffect)(h,v),g[10]!==k||g[11]!==_?(y=()=>_.on("visual-editing/mutate",async e=>k.dataRequest("mutate",e,{visibility:"async",returnDocuments:!0})),w=[k,_],g[10]=k,g[11]=_,g[12]=y,g[13]=w):(y=g[12],w=g[13]),(0,s.useEffect)(y,w),null});function m(e){return"welcome"===e.type||"reconnect"===e.type||"mutation"===e.type}function f(e){return"welcome"===e.type}function d(e){return"reconnect"===e.type}function b(e){return"mutation"===e.type}}}]);
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.