PageSourceSearch

https://www.leedsapp.com/_next/static/chunks/1574.bc4b57d047aa0eb4.js

js leedsapp.com collected 2026-10-02 16:03:12 UTC 23,711 bytes, 10 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[1574],{1574:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ek});var r=n(95155),i=n(45054),a=n(12115),l=n(36126),s=n(29755),o=n(6509),d=n(49611),u=n(31561),c=n(32150),p=n(92036),h=n(71317),f=n(26125),m=n(49400),x=n(72430),y=n(87659),g=n(37354),j=n(24341),w=n(55824),I=n(54110),P=n(31190),v=n(25500),b=n(64482),_=n(42894),S=n(36625),k=n(8416),E=n(40869),L=n(34703),z=n(64775),N=n(91611),$=n(3818),T=n(65285),A=n(66463),C=n(41436),O=n(41413),D=n(27959);let M=[];function B(e){let t,n,a,l,s,c,p,h,f,m,x,y,g,j,w,I;let P=(0,i.c)(60),{children:v,flatIndex:b,index:_,params:S,payload:k,siblingIndex:E}=e,{navigate:L,navigateIntent:z,resolvePathFromState:N}=(0,d.rd)(),$=(0,d.ks)(),{panes:T,expand:A}=(0,o.usePaneLayout)();t=$?.panes||M,n=T?.[T.length-2];let C=_-1;P[0]!==C||P[1]!==t||P[2]!==$||P[3]!==E?(a=e=>{let n=t[C]||[],r=n[E],i=e(n,r),a=[...t.slice(0,C),i,...t.slice(C+1)];return{...$||{},panes:a}},P[0]=C,P[1]=t,P[2]=$,P[3]=E,P[4]=a):a=P[4];let B=a;P[5]!==B||P[6]!==L?(l=e=>{let t=B(e);return setTimeout(()=>L(t),0),t},P[5]=B,P[6]=L,P[7]=l):l=P[7];let Y=l;P[8]!==B||P[9]!==N||P[10]!==E?(s=e=>N(B((t,n)=>[...t.slice(0,E),{...n,params:e},...t.slice(E+1)])),P[8]=B,P[9]=N,P[10]=E,P[11]=s):s=P[11];let H=s;P[12]!==Y||P[13]!==E?(c=e=>{Y((t,n)=>[...t.slice(0,E),{...n,payload:e},...t.slice(E+1)])},P[12]=Y,P[13]=E,P[14]=c):c=P[14];let G=c;P[15]!==Y||P[16]!==E?(p=e=>{Y((t,n)=>[...t.slice(0,E),{...n,params:e},...t.slice(E+1)])},P[15]=Y,P[16]=E,P[17]=p):p=P[17];let J=p;P[18]!==C||P[19]!==L||P[20]!==t?(h=e=>{let{id:n,parentRefPath:r,type:i,template:a,version:l}=e;L({panes:[...t.slice(0,C+1),[{id:n,params:{template:a.id,parentRefPath:(0,O.dI)(r),type:i,version:l},payload:a.params}]]})},P[18]=C,P[19]=L,P[20]=t,P[21]=h):h=P[21];let Z=h,F=!!t[C]&&t[C].length>1,K=t[C]?t[C].length:0,W=b?o.BackLink:void 0;return P[22]!==Y?(m=e=>{let t=void 0===e?{}:e;Y(()=>[{id:t.id||"",payload:t.payload,params:t.params||{}}])},x=()=>{Y(R)},P[22]=Y,P[23]=m,P[24]=x):(m=P[23],x=P[24]),P[25]!==A||P[26]!==C||P[27]!==n||P[28]!==L||P[29]!==t?(y=e=>{(void 0===e||e)&&n&&A(n.element),L({panes:[...t.slice(0,C)]})},P[25]=A,P[26]=C,P[27]=n,P[28]=L,P[29]=t,P[30]=y):y=P[30],P[31]!==Y||P[32]!==E?(g=e=>{Y((t,n)=>{let r={...n,payload:e?.payload||n.payload,params:e?.params||n.params};return[...t.slice(0,E),r,...t.slice(E)]})},P[31]=Y,P[32]=E,P[33]=g):g=P[33],P[34]!==S||P[35]!==J?(j=e=>{let t=u(S,"view");return J(e?{...t,view:e}:t)},P[34]=S,P[35]=J,P[36]=j):j=P[36],P[37]!==H||P[38]!==b||P[39]!==C||P[40]!==Z||P[41]!==z||P[42]!==S||P[43]!==k||P[44]!==t||P[45]!==J||P[46]!==G||P[47]!==E||P[48]!==K||P[49]!==W||P[50]!==m||P[51]!==x||P[52]!==y||P[53]!==g||P[54]!==j||P[55]!==F?(w={index:b,groupIndex:C,siblingIndex:E,payload:k,params:S,hasGroupSiblings:F,groupLength:K,routerPanesState:t,ChildLink:o.ChildLink,BackLink:W,ReferenceChildLink:o.ReferenceChildLink,handleEditReference:Z,ParameterizedLink:o.ParameterizedLink,replaceCurrent:m,closeCurrent:x,closeCurrentAndAfter:y,duplicateCurrent:g,setView:j,setParams:J,setPayload:G,createPathWithParams:H,navigateIntent:z},P[37]=H,P[38]=b,P[39]=C,P[40]=Z,P[41]=z,P[42]=S,P[43]=k,P[44]=t,P[45]=J,P[46]=G,P[47]=E,P[48]=K,P[49]=W,P[50]=m,P[51]=x,P[52]=y,P[53]=g,P[54]=j,P[55]=F,P[56]=w):w=P[56],f=w,P[57]!==v||P[58]!==f?(I=(0,r.jsx)(D.l4.Provider,{value:f,children:v}),P[57]=v,P[58]=f,P[59]=I):I=P[59],I}function R(e,t){return e.length>1?e.filter(e=>e!==t):e}class Y extends Error{constructor({message:e,context:t,helpId:n,cause:r}){super(e),this.name="PaneResolutionError",this.context=t,this.helpId=n,this.cause=r}}let H=new WeakMap;function G(e){let t=H.get(e);if(t)return t;let n=(0,g.Ak)();return H.set(e,n),n}let J=e=>!!e&&"function"==typeof e?.then,Z=e=>!!(0,l.u4i)(e)&&"function"==typeof e.serialize,F=e=>(t,n,r)=>{try{return e(t,n,r)}catch(e){throw e instanceof Y?e:new Y({message:"string"==typeof e?.message?e.message:"",context:n,cause:e})}},K=e=>(...t)=>e(...t).pipe((0,j.H)(1),(0,w.B)());function W(e){let t=F(K(e((e,n,r)=>{if(!e)throw new Y({message:"Pane returned no child",context:n,helpId:"structure-item-returned-no-child"});return J(e)||(0,c.A)(e)?(0,p.H)(e).pipe((0,I.n)(e=>t(e,n,r))):Z(e)?t(e.serialize(n),n,r):"function"==typeof e?t(e(n.id,n),n,r):(0,h.of)(e)})));return t}
1let q=new WeakMap;function Q(e,t){let n=q.get(e)||new Map;if(n){let e=n.get(t);if(e)return e}let r=e[t];if("function"!=typeof r)throw Error(`Expected property \`${t}\` to be a function but got ${typeof r} instead.`);let i=r.bind(e);return n.set(t,i),q.set(e,n),i}async function V(e){let t=new Map,n=W(e=>(n,r,i)=>{let a=n&&`${G(n)}-${r.path.join("__")}`,l=a&&t.get(a);if(l)return l;let s=e(n,r,i);return a&&t.set(a,s),s}),r=[[{id:`__edit__${e.params.id}`,params:{...u(e.params,["id"]),type:e.params.type},payload:e.payload}]];async function i({currentId:e,flatIndex:t,intent:r,params:a,parent:l,path:s,payload:o,unresolvedPane:d,levelIndex:u,structureContext:c}){if(!d)return[];let{id:p,type:h,...m}=a,x=await (0,f._)(n(d,{id:e,splitIndex:0,parent:l,path:s,index:t,params:{},payload:void 0,structureContext:c},t));return"document"===x.type&&x.id===p?[{panes:[...s.slice(0,s.length-1).map(e=>[{id:e}]),[{id:p,params:m,payload:o}]],depthIndex:s.length,levelIndex:u}]:x.canHandleIntent?.(r,a,{pane:x,index:t})||"documentList"===x.type&&x.schemaTypeName===h&&"_type == $type"===x.options.filter?[{panes:[...s.map(e=>[{id:e}]),[{id:a.id,params:m,payload:o}]],depthIndex:s.length,levelIndex:u}]:"list"===x.type&&x.child&&x.items?(await Promise.all(x.items.map((e,n)=>"divider"===e.type?Promise.resolve([]):i({currentId:e._id||e.id,flatIndex:t+1,intent:r,params:a,parent:x,path:[...s,e.id],payload:o,unresolvedPane:"function"==typeof x.child?Q(x,"child"):x.child,levelIndex:n,structureContext:c})))).flat():[]}let a=(await i({currentId:"root",flatIndex:0,levelIndex:0,intent:e.intent,params:e.params,parent:null,path:[],payload:e.payload,unresolvedPane:e.rootPaneNode,structureContext:e.structureContext})).sort((e,t)=>e.depthIndex===t.depthIndex?e.levelIndex-t.levelIndex:e.depthIndex-t.depthIndex)[0];return a?a.panes:r}let X=(e,t)=>{let n=e.replace(/^__edit__/,""),{params:r,payload:i,structureContext:{resolveDocumentNode:a}}=t,{type:l,template:s}=r;if(!l)throw Error(`Document type for document with ID ${n} was not provided in the router params.`);let o=a({schemaType:l,documentId:n}).id("editor");return s&&(o=o.initialValueTemplate(s,i)),o.serialize()},U=e=>{let t={type:e.type,id:e.routerPaneSibling.id,params:e.routerPaneSibling.params||{},payload:e.routerPaneSibling.payload||null,flatIndex:e.flatIndex,groupIndex:e.groupIndex,siblingIndex:e.siblingIndex,path:e.path,paneNode:"resolvedMeta"===e.type?G(e.paneNode):null};return`metaHash(${JSON.stringify(t)})`};function ee(e){return e?.panes||[]}function et(){return new y.m(1)}function en(e){let t=e.reduce(ei,[]),n=t.length,r=e.map(r=>{let{groupIndex:i,flatIndex:a,siblingIndex:l,routerPaneSibling:s,path:d}=r,u=s.id,c=t[i+1];return{active:i===n-2,childItemId:c?.[0].id??null,index:a,itemId:s.id,groupIndex:i,key:`${"loading"===r.type?"unknown":r.paneNode.id}-${u}-${l}`,pane:"loading"===r.type?o.LOADING_PANE:r.paneNode,params:s.params||{},path:d.join(";"),payload:s.payload,selected:a===e.length-1,siblingIndex:l}});return{paneDataItems:r,routerPanes:t,resolvedPanes:r.map(er)}}function er(e){return e.pane}function ei(e,t){let n=e[t.groupIndex]||[];return n[t.siblingIndex]=t.routerPaneSibling,e[t.groupIndex]=n,e}async function ea(e,t,n){if(t&&n)return{id:t,type:n};if(!t&&n)return{id:(0,E.A)(),type:n};if(t&&!n){let n=await (0,f._)(e.resolveTypeForDocument(t));return{id:t,type:n}}throw new Y({message:"Neither document `id` or `type` was provided when trying to resolve intent."})}let el={},es=(0,a.memo)(function(){let e,t;let n=(0,i.c)(7),{navigate:r}=(0,d.rd)(),s=(0,d.ks)(eo),{rootPaneNode:u,structureContext:c}=(0,o.useStructureTool)(),p=(0,l.q3J)(),[h,f]=(0,a.useState)(null);if(h)throw h;return n[0]!==p||n[1]!==s||n[2]!==r||n[3]!==u||n[4]!==c?(e=()=>{if(s){let e;let{intent:t,params:n,payload:i}=s;return e=!1,(async function(){let{id:a,type:l}=await ea(p,"string"==typeof n.id?n.id:void 0,"string"==typeof n.type?n.type:void 0);if(e)return;let s=await V({intent:t,params:{...n,id:a,type:l},payload:i,rootPaneNode:u,structureContext:c});e||r({panes:s},{replace:!0})})().catch(f),()=>{e=!0}}},t=[p,s,r,u,c],n[0]=p,n[1]=s,n[2]=r,n[3]=u,n[4]=c,n[5]=e,n[6]=t):(e=n[5],t=n[6]),(0,a.useEffect)(e,t),null});
1function eo(e){let t="string"==typeof e.intent?e.intent:void 0;return t?{intent:t,params:(0,l.u4i)(e.params)?e.params:el,payload:e.payload}:void 0}let ed=T.I4.span`
2  &:not(:last-child)::after {
3    content: ' ➝ ';
4    opacity: 0.5;
5  }
6`;function eu(e){let t,n,a,d,u,c,p,h,f,m,x,y,g,j;let w=(0,i.c)(37),{error:I}=e;if(!(I instanceof Y))throw I;let{cause:P}=I,{t:v}=(0,l.Bdt)(o.structureLocaleNamespace),b=P?.stack||I.stack,_=b&&!(P instanceof o.SerializeError)&&!I.message.includes("Module build failed:");w[0]!==P?(t=P instanceof o.SerializeError?P.path:[],w[0]=P,w[1]=t):t=w[1];let S=t,k=P instanceof o.SerializeError&&P.helpId||I.helpId;return w[2]!==v?(n=v("structure-error.header.text"),w[2]=v,w[3]=n):n=w[3],w[4]!==n?(a=(0,r.jsx)(N.DZ,{as:"h2",children:n}),w[4]=n,w[5]=a):a=w[5],w[6]!==S||w[7]!==v?(d=S.length>0&&(0,r.jsxs)(N.BJ,{space:2,children:[(0,r.jsx)(N.EY,{size:1,weight:"medium",children:v("structure-error.structure-path.label")}),(0,r.jsx)(N.Cy,{children:S.slice(1).map(ec)})]}),w[6]=S,w[7]=v,w[8]=d):d=w[8],w[9]!==v?(u=v("structure-error.error.label"),w[9]=v,w[10]=u):u=w[10],w[11]!==u?(c=(0,r.jsx)(N.EY,{size:1,weight:"medium",children:u}),w[11]=u,w[12]=c):c=w[12],w[13]!==I.message||w[14]!==_||w[15]!==b?(p=_?b.replace(/\(\.\.\.\)\./g,`(...)
7  .`).replace(/__WEBPACK_IMPORTED_MODULE_\d+_+/g,"").replace(/___default\./g,".").replace(RegExp(` \\(https?:\\/\\/${window.location.host}`,"g")," ("):I.message,w[13]=I.message,w[14]=_,w[15]=b,w[16]=p):p=w[16],w[17]!==p?(h=(0,r.jsx)(N.Cy,{children:p}),w[17]=p,w[18]=h):h=w[18],w[19]!==c||w[20]!==h?(f=(0,r.jsxs)(N.BJ,{marginTop:4,space:2,children:[c,h]}),w[19]=c,w[20]=h,w[21]=f):f=w[21],w[22]!==k||w[23]!==v?(m=k&&(0,r.jsx)(N.az,{marginTop:4,children:(0,r.jsx)(N.EY,{children:(0,r.jsx)("a",{href:(0,L.i)(k),rel:"noopener noreferrer",target:"_blank",children:v("structure-error.docs-link.text")})})}),w[22]=k,w[23]=v,w[24]=m):m=w[24],w[25]!==v?(x=v("structure-error.reload-button.text"),w[25]=v,w[26]=x):x=w[26],w[27]!==x?(y=(0,r.jsx)(N.az,{marginTop:4,children:(0,r.jsx)(s.$n,{text:x,icon:z.Fjq,tone:"primary",onClick:ep})}),w[27]=x,w[28]=y):y=w[28],w[29]!==m||w[30]!==y||w[31]!==d||w[32]!==f?(g=(0,r.jsxs)(N.Zp,{marginTop:4,padding:4,radius:2,overflow:"auto",shadow:1,tone:"inherit",children:[d,f,m,y]}),w[29]=m,w[30]=y,w[31]=d,w[32]=f,w[33]=g):g=w[33],w[34]!==g||w[35]!==a?(j=(0,r.jsx)(N.Zp,{height:"fill",overflow:"auto",padding:4,sizing:"border",tone:"critical",children:(0,r.jsxs)(N.mc,{children:[a,g]})}),w[34]=g,w[35]=a,w[36]=j):j=w[36],j}function ec(e,t){return(0,r.jsx)(ed,{children:e},`${e}-${t}`)}function ep(){window.location.reload()}function eh(e){let t,n,a,s,d;let u=(0,i.c)(14),{isSelected:c,pane:p,paneKey:h}=e;u[0]!==p?(t=(0,l.u4i)(p)&&p.type||null,u[0]=p,u[1]=t):t=u[1];let f=t,{t:m}=(0,l.Bdt)(o.structureLocaleNamespace);return u[2]!==m?(n=m("panes.unknown-pane-type.title"),u[2]=m,u[3]=n):n=u[3],u[4]!==n?(a=(0,r.jsx)(o.PaneHeader,{title:n}),u[4]=n,u[5]=a):a=u[5],u[6]!==m||u[7]!==f?(s=(0,r.jsx)(o.PaneContent,{children:(0,r.jsx)(N.az,{padding:4,children:"string"==typeof f?(0,r.jsx)(N.EY,{as:"p",muted:!0,children:(0,r.jsx)(l.HTc,{t:m,i18nKey:"panes.unknown-pane-type.unknown-type.text",values:{type:f}})}):(0,r.jsx)(N.EY,{as:"p",muted:!0,children:(0,r.jsx)(l.HTc,{t:m,i18nKey:"panes.unknown-pane-type.missing-type.text"})})})}),u[6]=m,u[7]=f,u[8]=s):s=u[8],u[9]!==c||u[10]!==h||u[11]!==a||u[12]!==s?(d=(0,r.jsxs)(o.Pane,{id:h,selected:c,children:[a,s]}),u[9]=c,u[10]=h,u[11]=a,u[12]=s,u[13]=d):d=u[13],d}let ef={component:(0,a.lazy)(()=>n.e(4099).then(n.bind(n,44099))),document:(0,a.lazy)(()=>Promise.resolve().then(n.bind(n,6509)).then(function(e){return e.pane})),documentList:(0,a.lazy)(()=>Promise.resolve().then(n.bind(n,6509)).then(function(e){return e.pane$1})),list:(0,a.lazy)(()=>n.e(3281).then(n.bind(n,53281)))},em=(0,a.memo)(function(e){let t,n,l,s;let d=(0,i.c)(23),{active:u,childItemId:c,groupIndex:p,index:h,itemId:f,pane:m,paneKey:x,params:y,payload:g,path:j,selected:w,siblingIndex:I}=e,P=ef[m.type]||eh;d[0]!==x||d[1]!==j||d[2]!==w?(t=(0,r.jsx)(o.LoadingPane,{paneKey:x,path:j,selected:w}),d[0]=x,d[1]=j,d[2]=w,d[3]=t):t=d[3];let v=c||"";return d[4]!==P||d[5]!==u||d[6]!==h||d[7]!==f||d[8]!==m||d[9]!==x||d[10]!==w||d[11]!==v?(n=(0,r.jsx)(P,{childItemId:v,index:h,itemId:f,isActive:u,isSelected:w,paneKey:x,pane:m}),d[4]=P,d[5]=u,d[6]=h,d[7]=f,d[8]=m,d[9]=x,d[10]=w,d[11]=v,d[12]=n):n=d[12],d[13]!==t||d[14]!==n?(l=(0,r.jsx)(a.Suspense,{fallback:t,children:n}),d[13]=t,d[14]=n,d[15]=l):l=d[15],d[16]!==p||d[17]!==h||d[18]!==y||d[19]!==g||d[20]!==I||d[21]!==l?(s=(0,r.jsx)(B,{flatIndex:h,index:p,params:y,payload:g,siblingIndex:I,children:l}),d[16]=p,d[17]=h,d[18]=y,d[19]=g,d[20]=I,d[21]=l,d[22]=s):s=d[22],s},({params:e={},payload:t=null,...n},{params:r={},payload:i=null,...a})=>{if(!C(e,r)||!C(t,i))return!1;for(let e of new Set([...Object.keys(n),...Object.keys(a)]))if(n[e]!==a[e])return!1;return!0});function ex(){let e,t,n,a,s,d,u,c;let p=(0,i.c)(17),{t:h}=(0,l.Bdt)(o.structureLocaleNamespace);return p[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(N.az,{children:(0,r.jsx)(N.EY,{size:1,children:(0,r.jsx)(z.sAQ,{})})}),p[0]=e):e=p[0],p[1]!==h?(t=h("no-document-types-screen.title"),p[1]=h,p[2]=t):t=p[2],p[3]!==t?(n=(0,r.jsx)(N.EY,{as:"h1",size:1,weight:"medium",children:t}),p[3]=t,p[4]=n):n=p[4],p[5]!==h?(a=h("no-document-types-screen.subtitle"),p[5]=h,p[6]=a):a=p[6],p[7]!==a?(s=(0,r.jsx)(N.EY,{as:"p",muted:!0,size:1,children:a}),p[7]=a,p[8]=s):s=p[8],p[9]!==h?(d=h("no-document-types-screen.link-text"),p[9]=h,p[10]=d):d=p[10],p[11]!==d?(u=(0,r.jsx)(N.EY,{as:"p",muted:!0,size:1,children:(0,r.jsx)("a",{href:"https://www.sanity.io/docs/create-a-schema-and-configure-sanity-studio",target:"_blank",rel:"noreferrer",children:d})}),p[11]=d,p[12]=u):u=p[12],p[13]!==n||p[14]!==s||p[15]!==u?(c=(0,r.jsx)(N.Zp,{height:"fill",children:(0,r.jsx)(N.so,{align:"center",height:"fill",justify:"center",padding:4,sizing:"border",children:(0,r.jsx)(N.mc,{width:0,children:(0,r.jsx)(N.Zp,{padding:4,radius:2,shadow:1,tone:"caution",children:(0,r.jsxs)(N.so,{children:[e,(0,r.jsxs)(N.BJ,{flex:1,marginLeft:3,space:3,children:[n,s,u]})]})})})})}),p[13]=n,p[14]=s,p[15]=u,p[16]=c):c=p[16],c}let ey=e=>{let t,n;
7let r=(0,i.c)(7),{documentId:s,documentType:d}=e,{selectedReleaseId:u}=(0,l.QO2)(),c=(0,l.zX2)(s,d,"default",u),p=(0,l.pDY)(),{t:h}=(0,l.Bdt)(o.structureLocaleNamespace),f=!c?.published&&!c?.draft,m=c?.version||c?.draft||c?.published,x=p.get(d),{value:y,isLoading:g}=(0,l.MOl)({enabled:!0,schemaType:x,value:m}),j=f?h("browser-document-title.new-document",{schemaType:x?.title||x?.name}):y?.title||h("browser-document-title.untitled-document"),w=c.ready&&!g,I=ew(j);return r[0]!==I||r[1]!==w?(t=()=>{w&&(document.title=I)},r[0]=I,r[1]=w,r[2]=t):t=r[2],r[3]!==j||r[4]!==I||r[5]!==w?(n=[j,w,I],r[3]=j,r[4]=I,r[5]=w,r[6]=n):n=r[6],(0,a.useEffect)(t,n),null},eg=e=>{let t,n;let r=(0,i.c)(5),{title:l}=e,s=ew(l);return r[0]!==s?(t=()=>{document.title=s},r[0]=s,r[1]=t):t=r[1],r[2]!==s||r[3]!==l?(n=[s,l],r[2]=s,r[3]=l,r[4]=n):n=r[4],(0,a.useEffect)(t,n),null},ej=e=>{let t;let n=(0,i.c)(8),{resolvedPanes:a}=e;if(!a?.length)return null;let l=a[a.length-1];if(l===o.LOADING_PANE){let e;return n[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(eg,{}),n[0]=e):e=n[0],e}if(function(e){return e!==o.LOADING_PANE&&"document"===e.type}(l)){let e;if(l?.title){let e;return n[1]!==l.title?(e=(0,r.jsx)(eg,{title:l.title}),n[1]=l.title,n[2]=e):e=n[2],e}return n[3]!==l.options.id||n[4]!==l.options.type?(e=(0,r.jsx)(ey,{documentId:l.options.id,documentType:l.options.type}),n[3]=l.options.id,n[4]=l.options.type,n[5]=e):e=n[5],e}let s=l?.title;return n[6]!==s?(t=(0,r.jsx)(eg,{title:s}),n[6]=s,n[7]=t):t=n[7],t};function ew(e){let t;let n=(0,i.c)(3),r=(0,o.useStructureTool)().structureContext.title;return n[0]!==e||n[1]!==r?(t=[e,r].filter(eI),n[0]=e,n[1]=r,n[2]=t):t=n[2],t.join(" | ")}function eI(e){return e}let eP=(0,T.I4)(o.PaneLayout)`
8  min-height: 100%;
9  min-width: 320px;
10`,ev=(0,A.v_)("mod+s"),eb=(0,a.memo)(function(e){let t,n,s,u,c,p,f,y,g,j,w,E;let z=(0,i.c)(31),{onPaneChange:T}=e,{push:A}=(0,$.dj)(),O=(0,l.pDY)(),{layoutCollapsed:D,setLayoutCollapsed:M}=(0,o.useStructureTool)(),{paneDataItems:B,resolvedPanes:R}=function(){let e,t,n;let r=(0,i.c)(6),[l,s]=(0,a.useState)();if(l)throw l;let{structureContext:u,rootPaneNode:c}=(0,o.useStructureTool)();r[0]===Symbol.for("react.memo_cache_sentinel")?(e={paneDataItems:[],resolvedPanes:[],routerPanes:[]},r[0]=e):e=r[0];let[p,f]=(0,a.useState)(e),y=function(){let e,t,n,r;let l=(0,i.c)(6),[s]=(0,a.useState)(et);l[0]!==s?(t=s.asObservable().pipe((0,P.T)(ee)),l[0]=s,l[1]=t):t=l[1],e=t;let{state:o}=(0,d.rd)();return l[2]!==o||l[3]!==s?(n=()=>{s.next(o)},r=[o,s],l[2]=o,l[3]=s,l[4]=n,l[5]=r):(n=l[4],r=l[5]),(0,a.useEffect)(n,r),e}();return r[1]!==c||r[2]!==y||r[3]!==u?(t=()=>{let e=(function({routerPanesStream:e,rootPaneNode:t,initialCacheState:n={cacheKeysByFlatIndex:[],flattenedRouterPanes:[],resolvedPaneCache:new Map,resolvePane:()=>x.t},structureContext:r}){return e.pipe((0,P.T)(e=>[[{id:"root"}],...e]),(0,P.T)(e=>e.flatMap((e,t)=>e.map((e,n)=>({routerPaneSibling:e,groupIndex:t,siblingIndex:n}))).map((e,t)=>({...e,flatIndex:t}))),(0,v.Z)([]),(0,b.N)(function(e,t){var n,r=!1;e.subscribe((0,_._)(t,function(e){var i=n;n=e,r&&t.next([i,e]),r=!0}))}),(0,P.T)(([e,t])=>{for(let n=0;n<t.length;n++)if(!C(e[n],t[n]))return{flattenedRouterPanes:t,diffIndex:n};return{flattenedRouterPanes:t,diffIndex:t.length}}),(0,S.S)((e,t)=>{let{cacheKeysByFlatIndex:n,resolvedPaneCache:r}=e,{flattenedRouterPanes:i,diffIndex:a}=t,l=n.slice(0,a+1),s=n.slice(a+1),o=new Set(l.flatMap(e=>Array.from(e)));for(let e of s.flatMap(e=>Array.from(e)).filter(e=>!o.has(e)))r.delete(e);return{flattenedRouterPanes:i,cacheKeysByFlatIndex:n,resolvedPaneCache:r,resolvePane:W(e=>(t,i,a)=>{let l=t&&`${G(t)}-contextHash(${JSON.stringify({id:i.id,parentId:parent&&G(parent),path:i.path,index:i.index,splitIndex:i.splitIndex,serializeOptionsIndex:i.serializeOptions?.index,serializeOptionsPath:i.serializeOptions?.path})})`,s=l&&r.get(l);if(s)return s;let o=e(t,i,a);if(!l)return o;let d=n[a]||new Set;return d.add(l),n[a]=d,r.set(l,o),o})}},n),(0,I.n)(({flattenedRouterPanes:e,resolvePane:n})=>(function e({unresolvedPane:t,flattenedRouterPanes:n,parent:r,path:i,resolvePane:a,structureContext:l}){let[s,...o]=n,d=o[0],u={id:s.routerPaneSibling.id,splitIndex:s.siblingIndex,parent:r,path:[...i,s.routerPaneSibling.id],index:s.flatIndex,params:s.routerPaneSibling.params||{},payload:s.routerPaneSibling.payload,structureContext:l};try{return a(t,u,s.flatIndex).pipe((0,I.n)(n=>{let c;let p={type:"resolvedMeta",...s,paneNode:n,path:u.path},f=o.map((e,t)=>({type:"loading",path:[...u.path,...o.slice(t).map((t,n)=>`[${e.flatIndex+n}]`)],paneNode:null,...e}));return o.length?(c=d?.routerPaneSibling.id.startsWith("__edit__")?e({unresolvedPane:X,flattenedRouterPanes:o,parent:r,path:u.path,resolvePane:a,structureContext:l}):s.groupIndex===d?.groupIndex?e({unresolvedPane:t,flattenedRouterPanes:o,parent:r,path:i,resolvePane:a,structureContext:l}):e({unresolvedPane:"function"==typeof n.child?Q(n,"child"):n.child,flattenedRouterPanes:o,parent:n,path:u.path,resolvePane:a,structureContext:l}),(0,m.x)((0,h.of)([p,...f]),c.pipe((0,P.T)(e=>[p,...e])))):(0,h.of)([p])}))}catch(e){if(e instanceof Y&&(e.context&&console.warn(`Pane resolution error at index ${e.context.
10index}${e.context.splitIndex>0?` for split pane index ${e.context.splitIndex}`:""}: ${e.message}${e.helpId?` - see ${(0,L.i)(e.helpId)}`:""}`,e),"structure-item-returned-no-child"===e.helpId))return(0,h.of)([]);throw e}})({unresolvedPane:t,flattenedRouterPanes:e,parent:null,path:[],resolvePane:n,structureContext:r}))).pipe((0,S.S)((e,t)=>t.map((t,n)=>{let r=e[n];return r&&"loading"===t.type&&r.routerPaneSibling.id===t.routerPaneSibling.id?r:t}),[]),(0,k.F)((e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<t.length;n++){let r=e[n],i=t[n];if(U(r)!==U(i))return!1}return!0}))})({rootPaneNode:c,routerPanesStream:y,structureContext:u}).pipe((0,P.T)(en)).subscribe({next:e=>f(e),error:e=>s(e)});return()=>e.unsubscribe()},n=[c,y,u],r[1]=c,r[2]=y,r[3]=u,r[4]=t,r[5]=n):(t=r[4],n=r[5]),(0,a.useEffect)(t,n),p}(),H=(0,d.ks)(e_),{sanity:J}=(0,N.DP)(),{media:Z}=J,[F,K]=(0,a.useState)(null);z[0]!==M?(t=()=>M(!0),z[0]=M,z[1]=t):t=z[1];let q=t;z[2]!==M?(n=()=>M(!1),z[2]=M,z[3]=n):n=z[3];let V=n;if(z[4]!==T||z[5]!==R?(s=()=>{R.length&&T(R)},u=[T,R],z[4]=T,z[5]=R,z[6]=s,z[7]=u):(s=z[6],u=z[7]),(0,a.useEffect)(s,u),z[8]!==A?(c=()=>{let e=e=>{ev(e)&&(e.preventDefault(),A({closable:!0,id:"auto-save-message",status:"info",title:"Your work is automatically saved!",duration:4e3}))};return window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)},p=[A],z[8]=A,z[9]=c,z[10]=p):(c=z[9],p=z[10]),(0,a.useEffect)(c,p),!O._original?.types.some(l.Xhw)){let e;return z[11]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(ex,{}),z[11]=e):e=z[11],e}let er=F||null,ei=D?void 0:"fill",ea=Z[1];return z[12]!==B?(f=B.map(eS),z[12]=B,z[13]=f):f=z[13],z[14]!==H||z[15]!==B.length?(y=B.length<=1&&H&&(0,r.jsx)(o.LoadingPane,{paneKey:"intent-resolver"}),z[14]=H,z[15]=B.length,z[16]=y):y=z[16],z[17]!==q||z[18]!==V||z[19]!==ea||z[20]!==f||z[21]!==y||z[22]!==ei?(g=(0,r.jsxs)(eP,{flex:1,height:ei,minWidth:ea,onCollapse:q,onExpand:V,children:[f,y]}),z[17]=q,z[18]=V,z[19]=ea,z[20]=f,z[21]=y,z[22]=ei,z[23]=g):g=z[23],z[24]!==R?(j=(0,r.jsx)(ej,{resolvedPanes:R}),z[24]=R,z[25]=j):j=z[25],z[26]===Symbol.for("react.memo_cache_sentinel")?(w=(0,r.jsx)("div",{"data-portal":"",ref:K}),z[26]=w):w=z[26],z[27]!==g||z[28]!==j||z[29]!==er?(E=(0,r.jsxs)(N.GD,{element:er,children:[g,j,w]}),z[27]=g,z[28]=j,z[29]=er,z[30]=E):E=z[30],E});function e_(e){return"string"==typeof e.intent}function eS(e){let{active:t,childItemId:n,groupIndex:i,itemId:l,key:s,pane:d,index:u,params:c,path:p,payload:h,siblingIndex:f,selected:m}=e;return(0,r.jsx)(a.Fragment,{children:d===o.LOADING_PANE?(0,r.jsx)(o.LoadingPane,{paneKey:s,path:p,selected:m}):(0,r.jsx)(em,{active:t,groupIndex:i,index:u,pane:d,childItemId:n,itemId:l,paneKey:s,params:c,payload:h,path:p,selected:m,siblingIndex:f})},`${d===o.LOADING_PANE?"loading":d.type}-${u}`)}function ek(e){let t,n,d,u,c,p,h;let f=(0,i.c)(14),{tool:m}=e,{options:x}=m,{unstable_sources:y}=(0,l.hA9)(),[g]=y;f[0]!==x?(t=x||{},f[0]=x,f[1]=t):t=f[1];let{source:j,defaultDocumentNode:w,structure:I}=t;f[2]===Symbol.for("react.memo_cache_sentinel")?(n=[],f[2]=n):n=f[2],(0,a.useEffect)(eE,n),f[3]===Symbol.for("react.memo_cache_sentinel")?(d={error:null},f[3]=d):d=f[3];let[P,v]=(0,a.useState)(d),{error:b}=P;if(b){let e;return f[4]!==b?(e=(0,r.jsx)(eu,{error:b}),f[4]=b,f[5]=e):e=f[5],e}let _=j||g.name;return f[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,r.jsx)(eb,{onPaneChange:o.setActivePanes}),c=(0,r.jsx)(es,{}),f[6]=u,f[7]=c):(u=f[6],c=f[7]),f[8]!==w||f[9]!==I?(p=(0,r.jsxs)(o.StructureToolProvider,{defaultDocumentNode:w,structure:I,children:[u,c]}),f[8]=w,f[9]=I,f[10]=p):p=f[10],f[11]!==_||f[12]!==p?(h=(0,r.jsx)(s.tH,{onCatch:v,children:(0,r.jsx)(l.NeO,{name:_,children:p})}),f[11]=_,f[12]=p,f[13]=h):h=f[13],h}function eE(){return(0,o.setActivePanes)([]),eL}function eL(){return(0,o.setActivePanes)([])}}}]);

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.