PageSourceSearch

https://www.jwpubs.org/a/_next/static/chunks/6873.a0c7b0ffe1c8a5aa.js

js jwpubs.org collected 2026-10-02 01:09:21 UTC 20,079 bytes, 2 lines download raw bytes

1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6873],{16873:(e,t,n)=>{n.r(t),n.d(t,{default:()=>ec});var r=n(95155),a=n(19749),i=n(12115),l=n(23106),s=n(96431),o=n(3776),d=n(12210),p=n(96063),u=n(75400),c=n(21583),f=n(97993),h=n(18212),m=n(28278),x=n(75341),g=n(41105),y=n(52990),I=n(1996),w=n(66567),j=n(31843),_=n(16975),b=n(44257),v=n(79619),P=n(77973),S=n(98258),$=n(94123),k=n(67242),E=n(80825),z=n(69685),G=n(27948),N=n(75012),C=n(50333),R=n(51862);n(79114),n(48235);var T=n(58496);class D 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}}function M(e){let t,n,r=(t=e((e,t,n)=>{if(!e)throw new D({message:"Pane returned no child",context:t,helpId:"structure-item-returned-no-child"});return e&&"function"==typeof e?.then||(0,c.A)(e)?(0,f.H)(e).pipe((0,j.n)(e=>r(e,t,n))):(0,l.u4i)(e)&&"function"==typeof e.serialize?r(e.serialize(t),t,n):"function"==typeof e?r(e(t.id,t),t,n):(0,h.of)(e)}),n=(...e)=>t(...e).pipe((0,I.H)(1),(0,w.B)()),(e,t,r)=>{try{return n(e,t,r)}catch(e){throw e instanceof D?e:new D({message:"string"==typeof e?.message?e.message:"",context:t,cause:e})}});return r}let O=new WeakMap;function L(e,t){let n=O.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 a=r.bind(e);return n.set(t,a),O.set(e,n),a}async function A(e){let t=new Map,n=M(e=>(n,r,a)=>{let i=n&&`${(0,o.Jq)(n)}-${r.path.join("__")}`,l=i&&t.get(i);if(l)return l;let s=e(n,r,a);return i&&t.set(i,s),s}),r=[[{id:`__edit__${e.params.id}`,params:{...(0,u.A)(e.params,["id"]),type:e.params.type},payload:e.payload}]];async function a({currentId:e,flatIndex:t,intent:r,params:i,parent:l,path:s,payload:o,unresolvedPane:d,levelIndex:p,structureContext:u}){if(!d)return[];let{id:c,type:f,...h}=i,x=await (0,m._)(n(d,{id:e,splitIndex:0,parent:l,path:s,index:t,params:{},payload:void 0,structureContext:u},t));return"document"===x.type&&x.id===c?[{panes:[...s.slice(0,s.length-1).map(e=>[{id:e}]),[{id:c,params:h,payload:o}]],depthIndex:s.length,levelIndex:p}]:x.canHandleIntent?.(r,i,{pane:x,index:t})||"documentList"===x.type&&x.schemaTypeName===f&&"_type == $type"===x.options.filter?[{panes:[...s.map(e=>[{id:e}]),[{id:i.id,params:h,payload:o}]],depthIndex:s.length,levelIndex:p}]:"list"===x.type&&x.child&&x.items?(await Promise.all(x.items.map((e,n)=>"divider"===e.type?Promise.resolve([]):a({currentId:e._id||e.id,flatIndex:t+1,intent:r,params:i,parent:x,path:[...s,e.id],payload:o,unresolvedPane:"function"==typeof x.child?L(x,"child"):x.child,levelIndex:n,structureContext:u})))).flat():[]}let i=(await a({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 i?i.panes:r}let H=(e,t)=>{let n=e.replace(/^__edit__/,""),{params:r,payload:a,structureContext:{resolveDocumentNode:i}}=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=i({schemaType:l,documentId:n}).id("editor");return s&&(o=o.initialValueTemplate(s,a)),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?(0,o.Jq)(e.paneNode):null};return`metaHash(${JSON.stringify(t)})`};function B(e){return e?.panes||[]}function J(){return new y.m(1)}function W(e){let t=e.reduce(F,[]),n=t.length,r=e.map(r=>{let{groupIndex:a,flatIndex:i,siblingIndex:l,routerPaneSibling:s,path:d}=r,p=s.id,u=t[a+1];return{active:a===n-2,childItemId:u?.[0].id??null,index:i,itemId:s.id,groupIndex:a,key:`${"loading"===r.type?"unknown":r.paneNode.id}-${p}-${l}`,pane:"loading"===r.type?o.Gp:r.paneNode,params:s.params||{},path:d.join(";"),payload:s.payload,selected:i===e.length-1,siblingIndex:l,maximized:!1}});return{paneDataItems:r,routerPanes:t,resolvedPanes:r.map(q)}}function q(e){return e.pane}function F(e,t){let n=e[t.groupIndex]||[];return n[t.siblingIndex]=t.routerPaneSibling,e[t.groupIndex]=n,e}
1async function V(e,t,n){if(t&&n)return{id:t,type:n};if(!t&&n)return{id:(0,z.A)(),type:n};if(t&&!n){let n=await (0,m._)(e.resolveTypeForDocument(t));return{id:t,type:n}}throw new D({message:"Neither document `id` or `type` was provided when trying to resolve intent."})}let Z={},K=(0,i.memo)(function(){let e,t,n=(0,a.c)(7),{navigate:r}=(0,p.rd)(),s=(0,p.ks)(Q),{rootPaneNode:d,structureContext:u}=(0,o.pl)(),c=(0,l.q3J)(),[f,h]=(0,i.useState)(null);if(f)throw f;return n[0]!==c||n[1]!==s||n[2]!==r||n[3]!==d||n[4]!==u?(e=()=>{if(s){let{intent:e,params:t,payload:n}=s,a=!1;return(async function(){let{id:i,type:l}=await V(c,"string"==typeof t.id?t.id:void 0,"string"==typeof t.type?t.type:void 0);if(a)return;let s=await A({intent:e,params:{...t,id:i,type:l},payload:n,rootPaneNode:d,structureContext:u});a||r({panes:s},{replace:!0})})().catch(h),()=>{a=!0}}},t=[c,s,r,d,u],n[0]=c,n[1]=s,n[2]=r,n[3]=d,n[4]=u,n[5]=e,n[6]=t):(e=n[5],t=n[6]),(0,i.useEffect)(e,t),null});function Q(e){let t="string"==typeof e.intent?e.intent:void 0;return t?{intent:t,params:(0,l.u4i)(e.params)?e.params:Z,payload:e.payload}:void 0}let X=R.I4.span.withConfig({displayName:"PathSegment",componentId:"sc-jnonai-0"})`&:not(:last-child)::after{content:' ➝ ';opacity:0.5;}`;function Y(e){let t,n,i,o,p,u,c,f,h,m,x,g,y,I,w,j,_,b,v,P,S,$,k,E,z,R,T,M,O,L,A=(0,a.c)(74),{error:H}=e;if(!(H instanceof D))throw H;let{cause:U}=H,{t:B}=(0,l.Bdt)(d.Z7),J=U?.stack||H.stack;A[0]!==U||A[1]!==H.message||A[2]!==J?(t=J&&!(U instanceof d.LV)&&!H.message.includes("Module build failed:"),A[0]=U,A[1]=H.message,A[2]=J,A[3]=t):t=A[3];let W=t;if(A[4]!==U||A[5]!==H.helpId||A[6]!==B){let e,t=U instanceof d.LV?U.path:[];u=U instanceof d.LV&&U.helpId||H.helpId,p=et,o=N.R,c="fill",f="auto",h=4,m="border",x="critical",i=C.mc,A[25]!==B?(e=B("structure-error.header.text"),A[25]=B,A[26]=e):e=A[26],A[27]!==e?(v=(0,r.jsx)(C.DZ,{as:"h2",children:e}),A[27]=e,A[28]=v):v=A[28],n=N.R,g=4,y=4,I=2,w="auto",j=1,_="inherit",b=t.length>0&&(0,r.jsxs)(N.p,{space:2,children:[(0,r.jsx)(N.U,{size:1,weight:"medium",children:B("structure-error.structure-path.label")}),(0,r.jsx)(C.Cy,{children:t.slice(1).map(ee)})]}),A[4]=U,A[5]=H.helpId,A[6]=B,A[7]=n,A[8]=i,A[9]=o,A[10]=p,A[11]=u,A[12]=c,A[13]=f,A[14]=h,A[15]=m,A[16]=x,A[17]=g,A[18]=y,A[19]=I,A[20]=w,A[21]=j,A[22]=_,A[23]=b,A[24]=v}else n=A[7],i=A[8],o=A[9],p=A[10],u=A[11],c=A[12],f=A[13],h=A[14],m=A[15],x=A[16],g=A[17],y=A[18],I=A[19],w=A[20],j=A[21],_=A[22],b=A[23],v=A[24];return A[29]!==B?(P=B("structure-error.error.label"),A[29]=B,A[30]=P):P=A[30],A[31]!==P?(S=(0,r.jsx)(N.U,{size:1,weight:"medium",children:P}),A[31]=P,A[32]=S):S=A[32],A[33]!==H.message||A[34]!==W||A[35]!==J?($=W?J.replace(/\(\.\.\.\)\./g,`(...)
2  .`).replace(/__WEBPACK_IMPORTED_MODULE_\d+_+/g,"").replace(/___default\./g,".").replace(RegExp(` \\(https?:\\/\\/${window.location.host}`,"g")," ("):H.message,A[33]=H.message,A[34]=W,A[35]=J,A[36]=$):$=A[36],A[37]!==$?(k=(0,r.jsx)(C.Cy,{children:$}),A[37]=$,A[38]=k):k=A[38],A[39]!==S||A[40]!==k?(E=(0,r.jsxs)(N.p,{marginTop:4,space:2,children:[S,k]}),A[39]=S,A[40]=k,A[41]=E):E=A[41],A[42]!==u||A[43]!==B?(z=u&&(0,r.jsx)(N.W,{marginTop:4,children:(0,r.jsx)(N.U,{children:(0,r.jsx)("a",{href:(0,s.iB)(u),rel:"noopener noreferrer",target:"_blank",children:B("structure-error.docs-link.text")})})}),A[42]=u,A[43]=B,A[44]=z):z=A[44],A[45]!==B?(R=B("structure-error.reload-button.text"),A[45]=B,A[46]=R):R=A[46],A[47]!==p||A[48]!==R?(T=(0,r.jsx)(N.W,{marginTop:4,children:(0,r.jsx)(s.$n,{text:R,icon:G.Fjq,tone:"primary",onClick:p})}),A[47]=p,A[48]=R,A[49]=T):T=A[49],A[50]!==n||A[51]!==E||A[52]!==g||A[53]!==z||A[54]!==T||A[55]!==y||A[56]!==I||A[57]!==w||A[58]!==j||A[59]!==_||A[60]!==b?(M=(0,r.jsxs)(n,{marginTop:g,padding:y,radius:I,overflow:w,shadow:j,tone:_,children:[b,E,z,T]}),A[50]=n,A[51]=E,A[52]=g,A[53]=z,A[54]=T,A[55]=y,A[56]=I,A[57]=w,A[58]=j,A[59]=_,A[60]=b,A[61]=M):M=A[61],A[62]!==i||A[63]!==M||A[64]!==v?(O=(0,r.jsxs)(i,{children:[v,M]}),A[62]=i,A[63]=M,A[64]=v,A[65]=O):O=A[65],A[66]!==o||A[67]!==c||A[68]!==f||A[69]!==h||A[70]!==m||A[71]!==x||A[72]!==O?(L=(0,r.jsx)(o,{height:c,overflow:f,padding:h,sizing:m,tone:x,children:O}),A[66]=o,A[67]=c,A[68]=f,A[69]=h,A[70]=m,A[71]=x,A[72]=O,A[73]=L):L=A[73],L}function ee(e,t){return(0,r.jsx)(X,{children:e},`${e}-${t}`)}function et(){window.location.reload()}function en(){let e,t,n,i,s,o,p,u,c=(0,a.c)(17),{t:f}=(0,l.Bdt)(d.Z7);return c[0]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(N.W,{children:(0,r.jsx)(N.U,{size:1,children:(0,r.jsx)(G.sAQ,{})})}),c[0]=e):e=c[0],c[1]!==f?(t=f("no-document-types-screen.title"),c[1]=f,c[2]=t):t=c[2],c[3]!==t?(n=(0,r.jsx)(N.U,{as:"h1",size:1,weight:"medium",children:t}),c[3]=t,c[4]=n):n=c[4],c[5]!==f?(i=f("no-document-types-screen.subtitle"),c[5]=f,c[6]=i):i=c[6],c[7]!==i?(s=(0,r.jsx)(N.U,{as:"p",muted:!0,size:1,children:i}),c[7]=i,c[8]=s):s=c[8],c[9]!==f?(o=f("no-document-types-screen.link-text"),c[9]=f,c[10]=o):o=c[10],c[11]!==o?(p=(0,r.jsx)(N.U,{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:o})}
2),c[11]=o,c[12]=p):p=c[12],c[13]!==n||c[14]!==s||c[15]!==p?(u=(0,r.jsx)(N.R,{height:"fill",children:(0,r.jsx)(N.H,{align:"center",height:"fill",justify:"center",padding:4,sizing:"border",children:(0,r.jsx)(C.mc,{width:0,children:(0,r.jsx)(N.R,{padding:4,radius:2,shadow:1,tone:"caution",children:(0,r.jsxs)(N.H,{children:[e,(0,r.jsxs)(N.p,{flex:1,marginLeft:3,space:3,children:[n,s,p]})]})})})})}),c[13]=n,c[14]=s,c[15]=p,c[16]=u):u=c[16],u}let er=(0,R.I4)(o.bt).withConfig({displayName:"StyledPaneLayout",componentId:"sc-1hgaa0f-0"})`min-height:100%;min-width:320px;`,ea=(0,T.v_)("mod+s"),ei=(0,i.memo)(function(e){let t,n,d,u,c,f,m,y,I,w,z,G,R,T,O,A,q,F,V,Z=(0,a.c)(58),{onPaneChange:K}=e,{push:Q}=(0,C.dj)(),X=(0,l.I07)(),{navigate:Y}=(0,p.rd)(),ee=(0,p.ks)(),{layoutCollapsed:et,setLayoutCollapsed:ei}=(0,o.pl)(),ed=function(){let e,t,n,r,l,d,u,c=(0,a.c)(19),[f,m]=(0,i.useState)(),[y,I]=(0,i.useState)(null);if(f)throw f;let{structureContext:w,rootPaneNode:E}=(0,o.pl)(),{navigate:z}=(0,p.rd)();c[0]===Symbol.for("react.memo_cache_sentinel")?(e={paneDataItems:[],resolvedPanes:[],routerPanes:[]},c[0]=e):e=c[0];let[G,N]=(0,i.useState)(e),C=function(){let e,t,n,r=(0,a.c)(6),[l]=(0,i.useState)(J);r[0]!==l?(e=l.asObservable().pipe((0,_.T)(B)),r[0]=l,r[1]=e):e=r[1];let s=e,{state:o}=(0,p.rd)();return r[2]!==o||r[3]!==l?(t=()=>{l.next(o)},n=[o,l],r[2]=o,r[3]=l,r[4]=t,r[5]=n):(t=r[4],n=r[5]),(0,i.useEffect)(t,n),s}();if(c[1]!==E||c[2]!==C||c[3]!==w?(t=()=>{let e=(function({routerPanesStream:e,rootPaneNode:t,initialCacheState:n={cacheKeysByFlatIndex:[],flattenedRouterPanes:[],resolvedPaneCache:new Map,resolvePane:()=>g.t},structureContext:r}){return e.pipe((0,_.T)(e=>[[{id:"root"}],...e]),(0,_.T)(e=>e.flatMap((e,t)=>e.map((e,n)=>({routerPaneSibling:e,groupIndex:t,siblingIndex:n}))).map((e,t)=>({...e,flatIndex:t}))),(0,b.Z)([]),(0,v.N)(function(e,t){var n,r=!1;e.subscribe((0,P._)(t,function(e){var a=n;n=e,r&&t.next([a,e]),r=!0}))}),(0,_.T)(([e,t])=>{for(let n=0;n<t.length;n++){let r=e[n],a=t[n];if(!(0,k.A)(r,a))return{flattenedRouterPanes:t,diffIndex:n}}return{flattenedRouterPanes:t,diffIndex:t.length}}),(0,S.S)((e,t)=>{let{cacheKeysByFlatIndex:n,resolvedPaneCache:r}=e,{flattenedRouterPanes:a,diffIndex:i}=t,l=n.slice(0,i+1),s=n.slice(i+1),d=new Set(l.flatMap(e=>Array.from(e)));for(let e of s.flatMap(e=>Array.from(e)).filter(e=>!d.has(e)))r.delete(e);return{flattenedRouterPanes:a,cacheKeysByFlatIndex:n,resolvedPaneCache:r,resolvePane:M(e=>(t,a,i)=>{let l=t&&`${(0,o.Jq)(t)}-contextHash(${JSON.stringify({id:a.id,parentId:parent&&(0,o.Jq)(parent),path:a.path,index:a.index,splitIndex:a.splitIndex,serializeOptionsIndex:a.serializeOptions?.index,serializeOptionsPath:a.serializeOptions?.path})})`,s=l&&r.get(l);if(s)return s;let d=e(t,a,i);if(!l)return d;let p=n[i]||new Set;return p.add(l),n[i]=p,r.set(l,d),d})}},n),(0,j.n)(({flattenedRouterPanes:e,resolvePane:n})=>(function e({unresolvedPane:t,flattenedRouterPanes:n,parent:r,path:a,resolvePane:i,structureContext:l}){let[o,...d]=n,p=d[0],u={id:o.routerPaneSibling.id,splitIndex:o.siblingIndex,parent:r,path:[...a,o.routerPaneSibling.id],index:o.flatIndex,params:o.routerPaneSibling.params||{},payload:o.routerPaneSibling.payload,structureContext:l};try{return i(t,u,o.flatIndex).pipe((0,j.n)(n=>{let s,c={type:"resolvedMeta",...o,paneNode:n,path:u.path},f=d.map((e,t)=>({type:"loading",path:[...u.path,...d.slice(t).map((t,n)=>`[${e.flatIndex+n}]`)],paneNode:null,...e}));return d.length?(s=p?.routerPaneSibling.id.startsWith("__edit__")?e({unresolvedPane:H,flattenedRouterPanes:d,parent:r,path:u.path,resolvePane:i,structureContext:l}):o.groupIndex===p?.groupIndex?e({unresolvedPane:t,flattenedRouterPanes:d,parent:r,path:a,resolvePane:i,structureContext:l}):e({unresolvedPane:"function"==typeof n.child?L(n,"child"):n.child,flattenedRouterPanes:d,parent:n,path:u.path,resolvePane:i,structureContext:l}),(0,x.x)((0,h.of)([c,...f]),s.pipe((0,_.T)(e=>[c,...e])))):(0,h.of)([c])}))}catch(e){if(e instanceof D&&(e.context&&console.warn(`Pane resolution error at index ${e.context.index}${e.context.splitIndex>0?` for split pane index ${e.context.splitIndex}`:""}: ${e.message}${e.helpId?` - see ${(0,s.iB)(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,$.F)((e,t)=>{if(e.length!==t.length)return!1;for(let n=0;n<t.length;n++){let r=e[n],a=t[n];if(U(r)!==U(a))return!1}return!0}))})({rootPaneNode:E,routerPanesStream:C,structureContext:w}).pipe((0,_.T)(W)).subscribe({next:e=>N(e),error:e=>m(e)});return()=>e.unsubscribe()},n=[E,C,w],c[1]=E,c[2]=C,c[3]=w,c[4]=t,c[5]=n):(t=c[4],n=c[5]),(0,i.useEffect)(t,n),c[6]!==G||c[7]!==z?(r=function(){let{paneDataItems:e,routerPanes:t}=G,n=e[e.length-1]?.pane;if(!n||n===o.Gp||"document"!==n.type||!n.defaultPanes)return;let r=t[e.length-1];if(!r||1!==r.length)return;let a=r[0].params;if(a?.expanded)return;let i=n.defaultPanes.map((e,t)=>({id:r[0].id,params:{...a,view:e,...0===t?{expanded:"true"}:{}},payload:r[0].payload}));z({panes:[...t.slice(1,-1),i]},{replace:!0})},l=[G,z],c[6]=G,c[7]=z,c[8]=r,c[9]=l):(r=c[8],l=c[9]),(0,i.useEffect)(r,l),c[10]!==G.paneDataItems||c[11]!==y){let e;c[13]!==y?(e=e=>({...e,maximized:!!y&&e.key===y.key}),c[13]=y,c[14]=e):e=c[14],d=G.paneDataItems.map(e),c[10]=G.paneDataItems,c[11]=y,c[12]=d}else d=c[12];let R=d;return c[15]!==G||c[16]!==y||c[17]!==R?(u={...G,paneDataItems:R,maximizedPane:y,setMaximizedPane:I}
2,c[15]=G,c[16]=y,c[17]=R,c[18]=u):u=c[18],u}(),{paneDataItems:ec,resolvedPanes:ef,setMaximizedPane:eh,maximizedPane:em}=ed,ex=(0,p.ks)(el),{sanity:eg}=(0,N.nt)(),{media:ey}=eg,[eI,ew]=(0,i.useState)(null);Z[0]!==ei?(t=()=>ei(!0),Z[0]=ei,Z[1]=t):t=Z[1];let ej=t;Z[2]!==ei?(n=()=>ei(!1),Z[2]=ei,Z[3]=n):n=Z[3];let e_=n;if(Z[4]!==ec){let e=ec.findLastIndex(es);d=-1===e?ec:ec.slice(e).filter(t=>t.groupIndex<=ec[e].groupIndex),Z[4]=ec,Z[5]=d}else d=Z[5];let eb=d;Z[6]!==K||Z[7]!==ef?(u=()=>{ef.length&&K(ef)},c=[K,ef],Z[6]=K,Z[7]=ef,Z[8]=u,Z[9]=c):(u=Z[8],c=Z[9]),(0,i.useEffect)(u,c),Z[10]!==Q?(f=()=>{let e=e=>{ea(e)&&(e.preventDefault(),Q({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)},m=[Q],Z[10]=Q,Z[11]=f,Z[12]=m):(f=Z[11],m=Z[12]),(0,i.useEffect)(f,m);let ev=X._original?.types.some(l.Xhw);Z[13]!==Y||Z[14]!==ee?.panes||Z[15]!==eh?(y=e=>{if(!e)return;let t=ee?.panes||[];if(e.maximized){eh(null),Y({panes:t});return}if(e.pane!==o.Gp&&"document"===e.pane.type){let n=t.slice(0,e.groupIndex);eh(e),Y({panes:n})}},Z[13]=Y,Z[14]=ee?.panes,Z[15]=eh,Z[16]=y):y=Z[16];let eP=y,eS=(0,i.useRef)(-1);Z[17]!==Y||Z[18]!==ec||Z[19]!==ee?.panes||Z[20]!==eh?(I=()=>{let e=ec.find(eo);e&&(e.pane!==o.Gp&&"document"===e.pane.type&&eh(e),Y({panes:(ee?.panes||[]).map(ep)},{replace:!0}))},Z[17]=Y,Z[18]=ec,Z[19]=ee?.panes,Z[20]=eh,Z[21]=I):I=Z[21];let e$=ee?.panes;if(Z[22]!==Y||Z[23]!==ec||Z[24]!==eh||Z[25]!==e$?(w=[Y,ec,e$,eh],Z[22]=Y,Z[23]=ec,Z[24]=eh,Z[25]=e$,Z[26]=w):w=Z[26],(0,i.useEffect)(I,w),Z[27]!==em||Z[28]!==ec||Z[29]!==eh?(z=()=>{let e=ec.findIndex(eu),t=eS.current;if(eS.current=e,em){if(em.pane!==o.Gp&&"document"!==em.pane.type)return void eh(null);if(-1!==e&&e!==t)return void eh(ec[e]);ec.some(e=>e.key===em.key)||eh(ec.find(e=>e.groupIndex===em.groupIndex&&e.siblingIndex===em.siblingIndex&&e.pane!==o.Gp&&"document"===e.pane.type)||null)}},G=[em,ec,eh],Z[27]=em,Z[28]=ec,Z[29]=eh,Z[30]=z,Z[31]=G):(z=Z[30],G=Z[31]),(0,i.useEffect)(z,G),!ev){let e;return Z[32]===Symbol.for("react.memo_cache_sentinel")?(e=(0,r.jsx)(en,{}),Z[32]=e):e=Z[32],e}let ek=eI||null,eE=et?void 0:"fill",ez=ey[1];if(Z[33]!==eP||Z[34]!==eb){let e;Z[36]!==eP?(e=e=>{let{active:t,childItemId:n,groupIndex:a,itemId:l,key:s,pane:d,index:p,params:u,path:c,payload:f,siblingIndex:h,selected:m,maximized:x}=e;return(0,r.jsx)(i.Fragment,{children:d===o.Gp?(0,r.jsx)(o.RG,{paneKey:s,path:c,selected:m}):(0,r.jsx)(o.Gt,{active:t,groupIndex:a,index:p,pane:d,childItemId:n,itemId:l,paneKey:s,params:u,payload:f,path:c,selected:m,siblingIndex:h,maximized:x,onSetMaximizedPane:()=>eP(e)})},`${d===o.Gp?"loading":d.type}-${p}`)},Z[36]=eP,Z[37]=e):e=Z[37],R=eb.map(e),Z[33]=eP,Z[34]=eb,Z[35]=R}else R=Z[35];return Z[38]!==ex||Z[39]!==ec.length?(T=ec.length<=1&&ex&&(0,r.jsx)(o.RG,{paneKey:"intent-resolver"}),Z[38]=ex,Z[39]=ec.length,Z[40]=T):T=Z[40],Z[41]!==ej||Z[42]!==e_||Z[43]!==ey[1]||Z[44]!==eE||Z[45]!==R||Z[46]!==T?(O=(0,r.jsxs)(er,{flex:1,height:eE,minWidth:ez,onCollapse:ej,onExpand:e_,children:[R,T]}),Z[41]=ej,Z[42]=e_,Z[43]=ey[1],Z[44]=eE,Z[45]=R,Z[46]=T,Z[47]=O):O=Z[47],Z[48]!==ef?(A=(0,r.jsx)(o.Cw,{resolvedPanes:ef}),Z[48]=ef,Z[49]=A):A=Z[49],Z[50]===Symbol.for("react.memo_cache_sentinel")?(q=(0,r.jsx)("div",{"data-portal":"",ref:ew}),Z[50]=q):q=Z[50],Z[51]!==ek||Z[52]!==O||Z[53]!==A?(F=(0,r.jsxs)(N.h,{element:ek,children:[O,A,q]}),Z[51]=ek,Z[52]=O,Z[53]=A,Z[54]=F):F=Z[54],Z[55]!==ed||Z[56]!==F?(V=(0,r.jsx)(E.N8,{value:ed,children:F}),Z[55]=ed,Z[56]=F,Z[57]=V):V=Z[57],V});function el(e){return"string"==typeof e.intent}function es(e){return e.maximized}function eo(e){return e.params?.mode==="focus"}function ed(e){let{mode:t,...n}=e.params||{},r=Object.keys(n).length?n:void 0;return{...e,params:r}}function ep(e){return e.map(ed)}function eu(e){return e.selected}function ec(e){let t,n,p,u,c,f,h,m=(0,a.c)(14),{tool:x}=e,{options:g}=x,{unstable_sources:y}=(0,l.hA9)(),[I]=y;m[0]!==g?(t=g||{},m[0]=g,m[1]=t):t=m[1];let{source:w,defaultDocumentNode:j,structure:_}=t;m[2]===Symbol.for("react.memo_cache_sentinel")?(n=[],m[2]=n):n=m[2],(0,i.useEffect)(ef,n),m[3]===Symbol.for("react.memo_cache_sentinel")?(p={error:null},m[3]=p):p=m[3];let[b,v]=(0,i.useState)(p),{error:P}=b;if(P){let e;return m[4]!==P?(e=(0,r.jsx)(Y,{error:P}
2),m[4]=P,m[5]=e):e=m[5],e}let S=w||I.name;return m[6]===Symbol.for("react.memo_cache_sentinel")?(u=(0,r.jsx)(ei,{onPaneChange:o.GG}),c=(0,r.jsx)(K,{}),m[6]=u,m[7]=c):(u=m[6],c=m[7]),m[8]!==j||m[9]!==_?(f=(0,r.jsxs)(d.$l,{defaultDocumentNode:j,structure:_,children:[u,c]}),m[8]=j,m[9]=_,m[10]=f):f=m[10],m[11]!==S||m[12]!==f?(h=(0,r.jsx)(s.tH,{onCatch:v,children:(0,r.jsx)(l.NeO,{name:S,children:f})}),m[11]=S,m[12]=f,m[13]=h):h=m[13],h}function ef(){return(0,o.GG)([]),eh}function eh(){return(0,o.GG)([])}}}]);

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.