1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6995],{96995:(e,t,r)=>{r.r(t),r.d(t,{default:()=>l});var n=r(22342),u=r(45054),s=r(33670),o=r(36126);function c(e){let t,r;let n=(0,u.c)(14),{comlink:o,draft:c,published:l,livePreviewEnabled:a}=e,[_,v]=(0,s.useState)(c),[f,d]=(0,s.useState)(l);n[0]!==o||n[1]!==c||n[2]!==a||n[3]!==_?._rev||n[4]!==f?._rev||n[5]!==l?(t=()=>{_?._rev!==c?._rev&&((0,s.startTransition)(()=>v(c)),c&&o?.post("presentation/refresh",{source:"mutation",livePreviewEnabled:a,document:i(c)})),f?._rev!==l?._rev&&((0,s.startTransition)(()=>d(l)),l&&o?.post("presentation/refresh",{source:"mutation",livePreviewEnabled:a,document:i(l)}))},n[0]=o,n[1]=c,n[2]=a,n[3]=_?._rev,n[4]=f?._rev,n[5]=l,n[6]=t):t=n[6];let p=_?._rev,m=f?._rev;return n[7]!==o||n[8]!==c||n[9]!==a||n[10]!==l||n[11]!==p||n[12]!==m?(r=[o,c,a,p,m,l],n[7]=o,n[8]=c,n[9]=a,n[10]=l,n[11]=p,n[12]=m,n[13]=r):r=n[13],(0,s.useEffect)(t,r),null}function i(e){let{_id:t,_type:r,_rev:n,slug:u}=e;return{_id:t,_type:r,_rev:n,slug:u}}var l=(0,s.memo)(function(e){let t,r;let s=(0,u.c)(8),{comlink:i,type:l,previewKitConnection:a,loadersConnection:_}=e;s[0]!==e.id?(r=(0,o.IMx)(e.id),s[0]=e.id,s[1]=r):r=s[1],t=r;let{draft:v,published:f,ready:d}=(0,o.zX2)(t,l,"low"),p="connected"===a||"connected"===_;if(d&&v||f){let e;return s[2]!==i||s[3]!==v||s[4]!==t||s[5]!==p||s[6]!==f?(e=(0,n.jsx)(c,{comlink:i,draft:v,livePreviewEnabled:p,published:f},t),s[2]=i,s[3]=v,s[4]=t,s[5]=p,s[6]=f,s[7]=e):e=s[7],e}return 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.