{"version":3,"file":"component---src-pages-blog-index-js-c154a1880826d7ecb6ee.js","mappings":"8MAkBA,MAAMA,EAAU,CACdC,MAAO,OACPC,OAAQ,CAAC,OAAQ,QACjBC,MAAO,CAAC,OAAQ,OAAQ,OAAQ,QAChCC,OAAQ,CAAC,OAAQ,OAAQ,OAAQ,SA+GnC,UA5GA,SAAaC,GAAsB,IAArB,KAAEC,EAAI,SAAEC,GAAUF,EAC9B,MAAMG,EAAgBF,EAAKG,cAAcC,MAEnCC,GADeC,EAAAA,EAAAA,KACUC,OAEzB,EAACC,EAAM,EAACC,IAAYC,EAAAA,EAAAA,UAAS,IAC5BC,EAAcC,IAAmBC,EAAAA,EAAAA,GAAgB,iBAClD,EAACC,EAAY,EAACC,IAAkBL,EAAAA,EAAAA,WAAS,GA8B/C,OA3BAM,EAAAA,EAAAA,YAAU,KACJf,EAASgB,OAAShB,EAASgB,MAAMC,uBACnCC,EAAAA,EAAAA,UAAS,QAAS,CAAEC,SAAS,IAC7BX,EAAS,GACTY,aAAaC,WAAW,gBACxBD,aAAaC,WAAW,YACxBD,aAAaC,WAAW,iBAC1B,GACC,CAACrB,KAEJe,EAAAA,EAAAA,YAAU,KACY,IAAIO,gBAAgBC,OAAOvB,SAASwB,QAC1BC,IAAI,cACnBX,GAAe,GAC9B,MAAMY,EAAiBhB,EAEnBgB,GACFC,YAAW,KACTJ,OAAOK,SAAS,CACdC,IAAKH,EACLI,KAAM,EACNC,SAAU,UACV,GACD,IACL,GACC,CAACrB,EAAcG,IAGhBmB,EAAAA,cAACC,EAAAA,GAAM,CAAC3B,MAAOF,GACb4B,EAAAA,cAACE,EAAAA,GAAG,CAAC5B,MAAM,SACX0B,EAAAA,cAACG,EAAAA,GAAe,CACdC,MAAM,uBACN9B,MAAM,OACN+B,IAAI,kBAEJL,EAAAA,cAACM,EAAAA,EAAS,CAACC,KAAK,SAAQ,4MAKxBP,EAAAA,cAACQ,EAAAA,EAAG,CAACC,MAAI,EAACC,MAAM,SACdV,EAAAA,cAACW,EAAAA,GAAU,CAACC,SAAO,EAACC,MAAM,cAAcC,GAAG,kBAG9C7C,GAAiBA,EAAc8C,OAAS,IAAMlC,GAC7CmB,EAAAA,cAACgB,EAAAA,GAAa,CAAC1C,MAAM,kBACnB0B,EAAAA,cAACiB,EAAAA,GAAgB,CACfC,IAAKjD,EAAc,GAAGkD,KAAKC,GAC3BD,KAAMlD,EAAc,GAAGkD,KACvBE,OAAO,WAETrB,EAAAA,cAACsB,EAAAA,GAAc,CAACC,KAAM,CAAC,EAAG9D,QAASA,GAChCQ,EAAcuD,KACb,CAAAC,EAAWC,KAAC,IAAX,KAAEP,GAAMM,EAAA,MACc,MAArBN,EAAKQ,OAAOC,MACZF,EAAI,GAAK1B,EAAAA,cAAC6B,EAAAA,GAAQ,CAACX,IAAKC,EAAKC,GAAID,KAAMA,GAAQ,MAKzDnB,EAAAA,cAAC8B,EAAAA,GAAQ,CAAC/D,KAAMA,EAAMN,QAASA,IAGrC,C","sources":["webpack://hpe-dev-portal/./src/pages/blog/index.js"],"sourcesContent":["import React, { useEffect, useState } from 'react';\nimport PropTypes from 'prop-types';\nimport { graphql, navigate } from 'gatsby';\nimport { Paragraph, Box } from 'grommet';\nimport {\n  BlogCard,\n  Layout,\n  SEO,\n  PageDescription,\n  FeaturedBlogCard,\n  SectionHeader,\n  ResponsiveGrid,\n  ButtonLink,\n  BlogTabs,\n} from '../../components';\nimport { useSiteMetadata } from '../../hooks/use-site-metadata';\nimport { useLocalStorage } from '../../hooks/use-local-storage';\n\nconst columns = {\n  small: 'auto',\n  medium: ['flex', 'flex'],\n  large: ['flex', 'flex', 'flex', 'flex'],\n  xlarge: ['flex', 'flex', 'flex', 'flex'],\n};\n\nfunction Blog({ data, location }) {\n  const featuredposts = data.featuredblogs.edges;\n  const siteMetadata = useSiteMetadata();\n  const siteTitle = siteMetadata.title;\n  /* eslint-disable no-unused-vars */\n  const [index, setIndex] = useState(0);\n  const [blogPosition, setBlogPosition] = useLocalStorage('blogPosition');\n  const [isActiveTab, setIsActiveTab] = useState(false);\n  /* eslint-disable no-unused-vars */\n\n  useEffect(() => {\n    if (location.state && location.state.isBlogHeaderClicked) {\n      navigate('/blog', { replace: true });\n      setIndex(0);\n      localStorage.removeItem('blogPosition');\n      localStorage.removeItem('blogData');\n      localStorage.removeItem('activeBlogTab');\n    }\n  }, [location]);\n\n  useEffect(() => {\n    const queryParams = new URLSearchParams(window.location.search);\n    const activeTab = queryParams.get('activeTab');\n    if (activeTab) setIsActiveTab(true);\n    const scrollPosition = blogPosition;\n\n    if (scrollPosition) {\n      setTimeout(() => {\n        window.scrollTo({\n          top: scrollPosition,\n          left: 0,\n          behavior: 'smooth',\n        });\n      }, 100);\n    }\n  }, [blogPosition, isActiveTab]);\n\n  return (\n    <Layout title={siteTitle}>\n      <SEO title=\"Blog\" />\n      <PageDescription\n        image=\"/img/blogs/blogs.svg\"\n        title=\"Blog\"\n        alt=\"blog page logo\"\n      >\n        <Paragraph size=\"large\">\n          Sharing expertise is a great way to move technology forward. Browse\n          through our library of tutorials and articles to learn new ways to do\n          things. Or, click on the Get Started button to write your own!\n        </Paragraph>\n        <Box wrap align=\"start\">\n          <ButtonLink primary label=\"Get Started\" to=\"/contribute\" />\n        </Box>\n      </PageDescription>\n      {featuredposts && featuredposts.length > 0 && !isActiveTab && (\n        <SectionHeader title=\"Featured Blogs\">\n          <FeaturedBlogCard\n            key={featuredposts[0].node.id}\n            node={featuredposts[0].node}\n            margin=\"medium\"\n          />\n          <ResponsiveGrid rows={{}} columns={columns}>\n            {featuredposts.map(\n              ({ node }, i) =>\n                node.fields.slug !== '/' &&\n                i > 0 && <BlogCard key={node.id} node={node} />,\n            )}\n          </ResponsiveGrid>\n        </SectionHeader>\n      )}\n      <BlogTabs data={data} columns={columns} />\n    </Layout>\n  );\n}\n\nBlog.propTypes = {\n  data: PropTypes.shape({\n    featuredblogs: PropTypes.shape({\n      edges: PropTypes.arrayOf(\n        PropTypes.shape({\n          node: PropTypes.shape({\n            id: PropTypes.string.isRequired,\n            frontmatter: PropTypes.shape({\n              title: PropTypes.string.isRequired,\n              author: PropTypes.string.isRequired,\n              date: PropTypes.string,\n              description: PropTypes.string,\n              authorimage: PropTypes.string,\n              thumbnailimage: PropTypes.string,\n              category: PropTypes.string,\n            }).isRequired,\n            excerpt: PropTypes.string.isRequired,\n            fields: PropTypes.shape({\n              slug: PropTypes.string.isRequired,\n              sourceInstanceName: PropTypes.string.isRequired,\n            }),\n          }).isRequired,\n        }).isRequired,\n      ).isRequired,\n    }).isRequired,\n  }).isRequired,\n  location: PropTypes.shape({\n    state: PropTypes.shape({\n      isBlogHeaderClicked: PropTypes.bool,\n    }),\n  }),\n};\n\nexport default Blog;\n\nexport const pageQuery = graphql`\n  query {\n    featuredblogs: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          featuredBlog: { eq: true }\n          priority: { lte: 5, gte: 1 }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { priority: ASC } }\n    ) {\n      edges {\n        node {\n          id\n          rawMarkdownBody\n          fields {\n            slug\n            sourceInstanceName\n          }\n          excerpt(format: MARKDOWN)\n          frontmatter {\n            title\n            date\n            author\n            tags\n            authorimage\n            thumbnailimage\n            category\n            disable\n            externalLink\n            featuredBlog\n          }\n        }\n      }\n    }\n    allBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { featuredBlog: { ne: true }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    allBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"blog-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    projectDataMapBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"project-data-map\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    projectDataMapBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"project-data-map-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    ezmeralBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-ezmeral\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    ezmeralBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"ezmeral-blog-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    zertoBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"zerto\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    zertoBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"zerto-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    threeParBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: { eq: \"hpe-3par-and-primera\" }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    threeParBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"3par-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    arubaBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"aruba\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    arubaBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"aruba-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    oneviewDashboardBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: { eq: \"hpe-oneview-global-dashboard\" }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    oneviewDashboardBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"oneview-dashboard-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    iloBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: {\n            in: [\"ilo\", \"Redfish\", \"ilorest\", \"iLOrest\", \"ilo-restful-api\"]\n          }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    iloBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"ilo-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    alletraBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-alletra\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    alletraBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"alletra-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    nimbleBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: { eq: \"hpe-nimble-storage\" }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    nimbleBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"nimble-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    oneviewBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-oneview\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    oneviewBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"oneview-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    crayBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"cray\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    crayBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"cray-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    swarmBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"swarm-learning\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    swarmBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"swarm-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    dragonhpcBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"dragonhpc\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    dragonhpcBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"dragonhpc-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    hpeNonstopBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-nonstop\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    hpeNonstopBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"hpe-nonstop-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    hpeOpsRampBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-opsramp\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    hpeOpsRampBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"hpe-opsramp-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    hpeMorpheusBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"morpheus\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    hpeMorpheusBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"morpheus-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    simplivityBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-simplivity\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    simplivityBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"simplivity-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n\n    greenlakeBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"hpe-greenlake\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    greenlakeBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"greenlake-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    kubeDirectorBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"kubedirector\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    kubeDirectorBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"kubedirector-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    spiffeBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: { eq: \"spiffe-and-spire-projects\" }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n\n    spiffeBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"spiffe-blog-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    chapelBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"chapel\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    chapelBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"chapel-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n\n    grommetBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"grommet\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    grommetBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"grommet-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    smartSimBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"SmartSim\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    smartSimBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"smartsim-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n\n    deepLearningBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          tags: { eq: \"deep-learning-cookbook\" }\n          disable: { ne: true }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    deepLearningBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"deep-learning-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n\n    determinedBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"determined-ai\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    determinedBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"determined-ai-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    openSourceBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: { tags: { eq: \"opensource\" }, disable: { ne: true } }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n    openSourceBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"opensource-blog-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    othersBlogs: paginatedCollectionPage(\n      collection: { name: { eq: \"others-posts\" } }\n      index: { eq: 0 }\n    ) {\n      nodes\n      hasNextPage\n      nextPage {\n        id\n      }\n      collection {\n        id\n      }\n    }\n    othersBlogsCount: allMarkdownRemark(\n      filter: {\n        fields: { sourceInstanceName: { eq: \"blog\" } }\n        frontmatter: {\n          disable: { ne: true }\n          tags: {\n            nin: [\n              \"opensource\"\n              \"hpe-ezmeral-container-platform\"\n              \"hpe-ezmeral\"\n              \"spiffe-and-spire-projects\"\n              \"hpe-ezmeral-data-fabric\"\n              \"hpe-greenlake\"\n              \"chapel\"\n              \"grommet\"\n              \"hpe-alletra\"\n              \"deep-learning-cookbook\"\n              \"hpe-3par-and-primera\"\n              \"hpe-nimble-storage\"\n              \"hpe-oneview\"\n              \"hpe-oneview-global-dashboard\"\n              \"ilo\"\n              \"data-services-cloud-console\"\n              \"determined-ai\"\n              \"cray\"\n            ]\n          }\n        }\n      }\n      sort: { frontmatter: { date: DESC } }\n    ) {\n      totalCount\n    }\n  }\n`;\n"],"names":["columns","small","medium","large","xlarge","_ref","data","location","featuredposts","featuredblogs","edges","siteTitle","useSiteMetadata","title","index","setIndex","useState","blogPosition","setBlogPosition","useLocalStorage","isActiveTab","setIsActiveTab","useEffect","state","isBlogHeaderClicked","navigate","replace","localStorage","removeItem","URLSearchParams","window","search","get","scrollPosition","setTimeout","scrollTo","top","left","behavior","React","Layout","SEO","PageDescription","image","alt","Paragraph","size","Box","wrap","align","ButtonLink","primary","label","to","length","SectionHeader","FeaturedBlogCard","key","node","id","margin","ResponsiveGrid","rows","map","_ref2","i","fields","slug","BlogCard","BlogTabs"],"sourceRoot":""}