1"use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[158],{30158:function(e,t,i){let n;i.r(t),i.d(t,{default:function(){return b}});var a,d=i(57437),o=i(75597),r=i(2265),l=i(52090),c=i(72634),s=i(51751);i(24735),i(16390),i(60555),i(71519),i(35899);var u=i(59916);let h=e=>{let{index:t,menuItems:i,menuItemGroups:n,title:a}=e,{features:r}=(0,c.xu)(),{collapsed:l,isLast:u}=(0,c.ec)();return(0,d.jsx)(c.hX,{actions:(0,d.jsx)(c.cp,{menuItems:i,menuItemGroups:n}),backButton:r.backButton&&t>0&&(0,d.jsx)(o.zx,{as:c.hb,"data-as":"a",icon:s.Y4O,mode:"bleed"}),tabIndex:u&&!l?-1:0,title:a})};var v=Object.freeze,p=Object.defineProperty;let x=u.ZP.hr(a||(a=v(p(n=["\n background-color: var(--card-border-color);\n height: 1px;\n margin: 0;\n border: none;\n"],"raw",{value:v(n.slice())}))));function m(e){let{childItemId:t,items:i,isActive:n,layout:a,showIcons:s,title:u}=e,{collapsed:h}=(0,c.Cc)(),v=(0,r.useCallback)(e=>{var t;return(null==(t=null==i?void 0:i.find((t,i)=>i===e))?void 0:t.type)==="divider"},[i]),p=(0,r.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,r.useCallback)((e,i)=>{let{virtualIndex:r}=i;if("divider"===e.type)return(0,d.jsx)(o.xu,{marginTop:1,marginBottom:2,children:(0,d.jsx)(x,{})},"divider-".concat(r));let l=!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,d.jsx)(c.Ok,{icon:!!p(e)&&e.icon,id:e.id,layout:a,marginBottom:1,pressed:l,schemaType:e.schemaType,selected:s,title:e.title,value:u},e.id)},[t,n,a,p]);return(0,d.jsx)(c.Bh,{overflow:h?"hidden":"auto",children:i&&i.length>0&&(0,d.jsx)(l.e8h,{activeItemDataAttr:"data-hovered",ariaLabel:"List of ".concat(u),canReceiveFocus:!0,focusRingOffset:-3,getItemDisabled:v,itemHeight:51,items:i,onlyShowSelectionWhenActive:!0,padding:2,paddingBottom:1,renderItem:m,wrapAround:!1})})}function b(e){let{childItemId:t,index:i,isActive:n,isSelected:a,pane:o,paneKey:r}=e,{defaultLayout:l,displayOptions:s,items:u,menuItems:v,menuItemGroups:p,title:x}=o,b=(null==s?void 0:s.showIcons)!==!1;return(0,d.jsxs)(c.X6,{currentMaxWidth:350,"data-testid":"desk-tool-list-pane","data-ui":"ListPane",id:r,maxWidth:640,minWidth:320,selected:a,children:[c.Oo,(0,d.jsx)(h,{index:i,menuItems:v,menuItemGroups:p,title:x}),(0,d.jsx)(m,{childItemId:t,isActive:n,items:u,layout:l,showIcons:b,title:x},r)]})}}}]);
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.