"use strict";(self.webpackChunkgrafana=self.webpackChunkgrafana||[]).push([[7759],{57515:(C,t,a)=>{a.r(t),a.d(t,{BookmarksPage:()=>r,default:()=>v});var o=a(74848),l=a(22803),p=a(29675),d=a(59830),g=a(24124),c=a(8629),P=a(14485),e=a(54122),_=a(11817),m=a(61491);function r(){const s=(0,p.of)(M),D=(0,g.s)(),O=(0,m.useSelector)(n=>n.navBarTree),i=D.reduce((n,u)=>{const E=(0,c.Wk)(O,u);return E&&n.push(E),n},[]);return(0,o.jsx)(e.Y,{navId:"bookmarks",children:(0,o.jsx)(e.Y.Contents,{children:i.length===0?(0,o.jsx)(d.p,{variant:"call-to-action",message:(0,_.t)("bookmarks-page.empty.message","It looks like you haven\u2019t created any bookmarks yet"),children:(0,o.jsx)(_.x6,{i18nKey:"bookmarks-page.empty.tip",children:"Hover over any item in the nav menu and click on the bookmark icon to add it here."})}):(0,o.jsx)("section",{className:s.grid,children:i.map(n=>(0,o.jsx)(P.I,{description:n.subTitle,text:n.text,url:n.url??""},n.id||n.url))})})})}const M=s=>({grid:(0,l.css)({display:"grid",gap:s.spacing(3),gridTemplateColumns:"repeat(auto-fill, minmax(300px, 1fr))",gridAutoRows:"138px",padding:s.spacing(2,0)})}),v=r}}]);

//# sourceMappingURL=BookmarksPage.0bf0de6df9c5d99ce685.js.map