/*! Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one or more contributor license agreements. * Licensed under the Elastic License 2.0; you may not use this file except in compliance with the Elastic License 2.0. */ (window.securitySolution_bundle_jsonpfunction=window.securitySolution_bundle_jsonpfunction||[]).push([[32,34],{1056:function(e,t,n){"use strict";n.d(t,"a",(function(){return r})),n(2);var i=n(5),s=n(21),c=n(40);const l=i.i18n.translate("securitySolutionPackages.beta.label",{defaultMessage:"Beta"}),r=({text:e,className:t})=>{const{euiTheme:n}=Object(c.useEuiTheme)();return Object(s.jsx)(c.EuiBetaBadge,{label:null!=e?e:l,size:"s",css:Object(s.css)("margin-left:",n.size.s,";color:",n.colors.text,";vertical-align:middle;margin-bottom:",n.size.xxs,";",""),className:t})}},1121:function(e,t,n){"use strict";n.d(t,"b",(function(){return o})),n.d(t,"a",(function(){return a}));var i=n(2),s=n.n(i),c=n(40),l=n(21),r=n(189),u=n(864);const o=s.a.memo((function({item:e,urlState:t,onLinkClick:n,children:i,...s}){if(null!=e.externalUrl){const t={target:"_blank",external:!0,href:e.externalUrl,...n&&!e.disabled&&{onClick:()=>n(e.id)},...s};return Object(l.jsx)(c.EuiLink,t,i)}{const c={...Object(u.a)({item:e,urlState:t,onLinkClick:n}),...s};return Object(l.jsx)(r.a,c,i)}})),a=s.a.memo((function({items:e,urlState:t,onLinkClick:n}){const i=(()=>{const{euiTheme:e}=Object(c.useEuiTheme)();return{container:Object(l.css)("margin-top:",e.size.base,";","")}})();return Object(l.jsx)(c.EuiFlexGroup,{gutterSize:"none",direction:"column",alignItems:"flexStart"},e.map((e=>Object(l.jsx)(c.EuiFlexItem,{key:e.id,grow:!1,css:i.container,"data-test-subj":"LandingSubItem"},Object(l.jsx)(o,{item:e,urlState:t,onLinkClick:n},e.title)))))}))},1444:function(e,t,n){"use strict";n.r(t),n.d(t,"LandingLinkIcon",(function(){return a})),n.d(t,"LandingLinksIcons",(function(){return m}));var i=n(2),s=n.n(i),c=n(40),l=n(21),r=n(1056),u=n(1121),o={name:"7dx98j",styles:"max-width:22em"};const a=s.a.memo((function({item:e,urlState:t,onLinkClick:n,children:i}){const s=(()=>{const{euiTheme:e}=Object(c.useEuiTheme)();return{title:Object(l.css)("min-height:",e.size.l,";margin-top:",e.size.m,";margin-bottom:",e.size.xs,";",""),description:o}})(),{title:a,description:j,landingIcon:m,isBeta:x,betaOptions:b}=e;return Object(l.jsx)(c.EuiFlexGroup,{direction:"column",alignItems:"flexStart",gutterSize:"none",responsive:!1,"data-test-subj":"LandingItem"},Object(l.jsx)(c.EuiFlexItem,{grow:!1},Object(l.jsx)(u.b,{tabIndex:-1,item:e,urlState:t,onLinkClick:n,external:!1},Object(l.jsx)(c.EuiIcon,{"aria-hidden":"true",size:"xl",type:null!=m?m:"",role:"presentation"}))),Object(l.jsx)(c.EuiFlexItem,{grow:!1},Object(l.jsx)(c.EuiTitle,{size:"xxs",css:s.title},Object(l.jsx)(c.EuiFlexGroup,{gutterSize:"none",alignItems:"center"},Object(l.jsx)(c.EuiFlexItem,{grow:!1},Object(l.jsx)(u.b,{item:e,urlState:t,onLinkClick:n},a)),x&&Object(l.jsx)(c.EuiFlexItem,{grow:!1},Object(l.jsx)(r.a,{text:null==b?void 0:b.text}))))),Object(l.jsx)(c.EuiFlexItem,{grow:!1,css:s.description},Object(l.jsx)(c.EuiText,{size:"s"},j)),Object(l.jsx)(c.EuiFlexItem,null,i))})),j={name:"1ybrhg5",styles:"min-width:22em"},m=({items:e,urlState:t,onLinkClick:n})=>Object(l.jsx)(c.EuiFlexGroup,{gutterSize:"xl",wrap:!0},e.map((e=>Object(l.jsx)(c.EuiFlexItem,{key:e.id,grow:!1,css:j},Object(l.jsx)(a,{item:e,urlState:t,onLinkClick:n})))));t.default=m},1653:function(e,t,n){"use strict";n.r(t),n.d(t,"LandingLinksIconsCategories",(function(){return o}));var i=n(2),s=n.n(i),c=n(21),l=n(40),r=n(1444),u=n(6);const o=s.a.memo((function({links:e,categories:t,urlState:n,onLinkClick:o}){const j=Object(i.useMemo)((()=>{const n=Object.fromEntries(e.map((e=>[e.id,e])));return t.reduce(((e,{label:t,linkIds:i,type:s})=>{const c=null==i?void 0:i.reduce(((e,t)=>(n[t]&&e.push(n[t]),e)),[]);return null!=c&&c.length&&e.push({type:s,label:t,links:c}),e}),[])}),[e,t]);return Object(c.jsx)(s.a.Fragment,null,j.map((({type:e=u.a.title,label:t,links:i},s)=>Object(c.jsx)("div",{key:`${s}_${t}`},Object(c.jsx)(a,{type:e,label:t,index:s}),Object(c.jsx)(r.LandingLinksIcons,{items:i,urlState:n,onLinkClick:o}),Object(c.jsx)(l.EuiSpacer,{size:"l"})))))})),a=s.a.memo((function({type:e,label:t,index:n}){const i=(()=>{const{euiTheme:e}=Object(l.useEuiTheme)();return{horizontalRule:Object(c.css)("margin-top:",e.size.m,";margin-bottom:",e.size.l,";","")}})();return Object(c.jsx)(s.a.Fragment,null,n>0&&Object(c.jsx)(l.EuiSpacer,{size:"xl"}),e===u.a.title&&Object(c.jsx)(s.a.Fragment,null,Object(c.jsx)(l.EuiTitle,{size:"xxxs"},Object(c.jsx)("h2",null,t)),Object(c.jsx)(l.EuiHorizontalRule,{css:i.horizontalRule})),e===u.a.separator&&n>0&&Object(c.jsx)(l.EuiHorizontalRule,{css:i.horizontalRule}))}));t.default=o},864:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var i=n(189);const s=({item:e,urlState:t,onLinkClick:n})=>({id:e.id,...Object(i.b)(e.id)&&!e.skipUrlState&&{urlState:t},...n&&{onClick:()=>n(e.id)}})}}]);