1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8824],{18824:function(e,t,i){i.r(t),i.d(t,{default:function(){return f}});var n,a,r=i(52504),d=i(22077),o=i(49745),l=i(27265),c=i(99980),s=i(12815),u=i(76025);i(86136),i(54742),i(42186),i(47219),i(87350);var h=i(15058);let v=e=>{let{index:t,menuItems:i,menuItemGroups:n,title:a}=e,{features:d}=(0,l.nz)(),{collapsed:o,isLast:c}=(0,l.ec)();return(0,r.jsx)(l.hX,{actions:(0,r.jsx)(l.cp,{menuItems:i,menuItemGroups:n}),backButton:d.backButton&&t>0&&(0,r.jsx)(s.zx,{as:l.hb,"data-as":"a",icon:u.Y4O,mode:"bleed",tooltipProps:{content:"Back"}}),tabIndex:c&&!o?-1:0,title:a})};var p=Object.freeze,x=Object.defineProperty;let b=h.ZP.hr(a||(a=p(x(n=["\n background-color: var(--card-border-color);\n height: 1px;\n margin: 0;\n border: none;\n"],"raw",{value:p(n.slice())}))));function m(e){let{childItemId:t,items:i,isActive:n,layout:a,showIcons:s,title:u}=e,{collapsed:h}=(0,l.Cc)(),v=(0,c.sr_)(null==i?void 0:i.filter(e=>"divider"!==e.type)),p=(0,o.useCallback)(e=>{var t;return(null==(t=null==i?void 0:i.find((t,i)=>i===e))?void 0:t.type)==="divider"},[i]),x=(0,o.useCallback)(e=>{var t;let i=null==(t=e.displayOptions)?void 0:t.showIcon;return void 0!==i?!1!==i:!1!==s},[s]),m=(0,o.useCallback)((e,i)=>{let{virtualIndex:o}=i;if("divider"===e.type)return(0,r.jsx)(d.xu,{marginBottom:1,children:(0,r.jsx)(b,{})},"divider-".concat(o));let c=!n&&t===e.id,s=n&&t===e.id,u=e._id&&e.schemaType?{_id:e._id,_type:e.schemaType.name,title:e.title}:void 0;return(0,r.jsx)(l.Ok,{icon:!!x(e)&&e.icon,id:e.id,layout:a,marginBottom:1,pressed:c,schemaType:e.schemaType,selected:s,title:v(e).title,value:u},e.id)},[t,v,n,a,x]);return(0,r.jsx)(l.Bh,{overflow:h?"hidden":"auto",children:i&&i.length>0&&(0,r.jsx)(c.e8h,{activeItemDataAttr:"data-hovered",ariaLabel:u,canReceiveFocus:!0,getItemDisabled:p,itemHeight:51,items:i,onlyShowSelectionWhenActive:!0,paddingBottom:1,paddingX:3,renderItem:m,wrapAround:!1})})}function f(e){let{childItemId:t,index:i,isActive:n,isSelected:a,pane:d,paneKey:o}=e,{defaultLayout:s,displayOptions:u,items:h,menuItems:p,menuItemGroups:x}=d,b=(null==u?void 0:u.showIcons)!==!1,{title:f}=(0,c.v0Z)(d);return(0,r.jsxs)(l.X6,{currentMaxWidth:350,"data-testid":"structure-tool-list-pane","data-ui":"ListPane",id:o,maxWidth:640,minWidth:320,selected:a,children:[l.Oo,(0,r.jsx)(v,{index:i,menuItems:p,menuItemGroups:x,title:f}),(0,r.jsx)(m,{childItemId:t,isActive:n,items:h,layout:s,showIcons:b,title:f},o)]})}}}]);
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.