{"version":3,"sources":["webpack:///./src/hooks/use-blog-categories.js","webpack:///./src/pages/sitemap.js","webpack:///./src/components/home/menu.js"],"names":["useBlogCategories","useStaticQuery","allStrapiBlogCategoria","edges","NewsPage","asmetHome","useAsmetHome","allCategories","id","className","crumbs","path","label","to","enlaces_principales","map","enlace","index","key","link","source","nombre","renderers","paragraph","menu_principal","menu","titulo","tipo","links","subLink","subIndex","category","node","slug","footer","menuSecundario","menu_secundario","Menu","props","item","customClass","src","icono","publicURL","alt","defaultProps","link_id"],"mappings":"4FAAA,kDAEaA,EAAoB,WAuB/B,OAtBaC,yBAAe,cAsBhBC,uBAAuBC,Q,kCCzBrC,yIAmLeC,UArKE,WACf,IAAMC,EAAYC,cACZC,EAAgBP,cAItB,OACE,kBAAC,IAAM,KACL,yBAAKQ,GAAG,sBAAsBC,UAAU,6BACtC,yBAAKA,UAAU,aACb,yBAAKA,UAAU,OACb,yBAAKA,UAAU,OACb,kBAAC,IAAU,CAACC,OART,CAAC,CAAEC,KAAK,WAAaC,MAAO,qBAS/B,wBAAIH,UAAU,mCAAiC,sBAQvD,yBAAKD,GAAG,mBAAmBC,UAAU,kBACnC,yBAAKA,UAAU,8BACb,yBAAKA,UAAU,UACb,4BACE,4BACE,kBAAC,OAAI,CAACI,GAAG,IAAIJ,UAAU,wBACrB,6CAGJ,yBAAKA,UAAU,SACdJ,EAAUS,oBAAoBC,KAAI,SAACC,EAAQC,GAC1C,OACE,wBAAIC,IAAKD,EAAOR,UAAU,QACxB,kBAAC,IAAU,CAACU,KAAMH,GAChB,kBAAC,IAAa,CACZI,OAAQJ,EAAOK,OACfC,UAAW,CAAEC,UAAW,eAMlC,yBAAKd,UAAU,SACdJ,EAAUmB,eAAeT,KAAI,SAACU,EAAMR,GACnC,MAA4B,UAArBQ,EAAKC,OAAOC,KACjB,wBAAIT,IAAKD,EAAOR,UAAU,QACxB,kBAAC,IAAa,CACZW,OAAQK,EAAKC,OAAOL,OACpBC,UAAW,CAAEC,UAAW,UAE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AE1B,4BACGE,EAAKG,MACFH,EAAKG,MAAMb,KAAI,SAACc,EAASC,GACvB,OACE,wBAAIZ,IAAKY,EAAUrB,UAAU,QAC3B,kBAAC,IAAU,CAACU,KAAMU,GAChB,kBAAC,IAAa,CACZT,OAAQS,EAAQR,OAChBC,UAAW,CAAEC,UAAW,eAMlC,OAIR,wBAAIL,IAAKD,EAAOR,UAAU,QACxB,kBAAC,IAAU,CAACU,KAAMM,EAAKC,QACrB,kBAAC,IAAa,CACZN,OAAQK,EAAKC,OAAOL,OACpBC,UAAW,CAAEC,UAAW,mBAU1C,6BACA,kBAAC,IAAI,CAACY,eAAgB9B,EAAU+B,qB,kCC9KtC,qCAMMC,EAAO,SAAAC,GACX,IAAQH,EAAmBG,EAAnBH,eACR,OACE,yBAAK3B,GAAG,WAAWC,UAAU,0BAC3B,yBAAKA,UAAU,OACZ0B,EAAepB,KAAI,SAACwB,EAAMtB,GACzB,OACE,yBAAKR,UAAU,qBAAqBS,IAAKD,GACvC,kBAAC,IAAU,CACTE,KAAMoB,EACNC,YAAa,YAAwB,IAAVvB,EAAc,UAAY,KAErD,yBAAKwB,IAAKF,EAAKG,OAASH,EAAKG,MAAMC,UAAYJ,EAAKG,MAAMC,UAAY,4BAA6BC,IAAKL,EAAKlB,SAC5GkB,EAAKlB,eAuBtBgB,EAAKQ,aAAe,CAClBV,eAAgB,CACd,CACEd,OAAO,uBACPM,KAAK,SACLmB,QAAQ,IACRJ,MAAO,CACLC,UAAU,oFAMHN","file":"component---src-pages-sitemap-js-56d91b379160bc03018f.js","sourcesContent":["import { useStaticQuery, graphql } from \"gatsby\"\n\nexport const useBlogCategories = () => {\n const data = useStaticQuery(\n graphql`\n query CategoryQuery {\n allStrapiBlogCategoria {\n edges {\n node {\n strapiId\n slug\n nombre\n destacado\n icono_principal {\n publicURL\n }\n imagen_principal {\n publicURL\n }\n }\n }\n }\n }\n `\n )\n return data.allStrapiBlogCategoria.edges\n}\n","import React from \"react\"\nimport { Link } from \"gatsby\"\nimport ReactMarkdown from \"react-markdown\"\n\n// Layout\nimport Layout from \"../components/layout\"\n// Components\nimport Menu from \"../components/home/menu\"\nimport CustomLink from \"../components/elements/custom-link\"\nimport Breadcrumb from \"../components/elements/breadcrumb\"\n// Hooks\nimport { useAsmetHome } from \"../hooks/use-asmet-home\"\nimport { useBlogCategories } from \"../hooks/use-blog-categories\"\n\nconst NewsPage = () => {\n const asmetHome = useAsmetHome()\n const allCategories = useBlogCategories()\n\n const crumbs = [{ path: `/sitemap`, label: \"Mapa del Sitio\" }]\n\n return (\n \n
\n
\n
\n
\n \n

\n Mapa del Sitio\n

\n
\n
\n
\n
\n\n
\n
\n
\n
    \n
  • \n \n
    Asmet Salud
    \n \n
  • \n
    \n {asmetHome.enlaces_principales.map((enlace, index) => {\n return (\n
  • \n \n \n \n
  • \n )\n })}\n
    \n {asmetHome.menu_principal.map((menu, index) => {\n return menu.titulo.tipo === \"Grupo\" ? (\n
  • \n \n
      \n {menu.links\n ? menu.links.map((subLink, subIndex) => {\n return (\n
    • \n \n \n \n
    • \n )\n })\n : null}\n
    \n
  • \n ) : (\n
  • \n \n \n \n
  • \n )\n })}\n
    \n
  • \n Multimedia\n
      \n
    • \n Fotos\n
    • \n
    • \n Audios\n
    • \n
    • \n Videos\n
    • \n
    \n
  • \n
    \n
  • \n Eventos\n
  • \n
  • \n Noticias\n
  • \n
    \n
  • \n Blog\n
      \n {allCategories.map((category, index) => {\n return (\n
    • \n \n \n \n
    • \n )\n })}\n
    \n
  • \n
    \n {asmetHome.footer.map((menu, index) => {\n return menu.titulo.tipo === \"Grupo\" ? (\n
  • \n \n
      \n {menu.links\n ? menu.links.map((subLink, subIndex) => {\n return (\n
    • \n \n \n \n
    • \n )\n })\n : null}\n
    \n
  • \n ) : (\n
  • \n \n \n \n
  • \n )\n })}\n
\n
\n
\n
\n
\n \n \n )\n}\n\nexport default NewsPage\n","import React from \"react\"\nimport PropTypes from \"prop-types\"\n\n// Components\nimport CustomLink from \"../elements/custom-link\"\n\nconst Menu = props => {\n const { menuSecundario } = props\n return (\n
\n
\n {menuSecundario.map((item, index) => {\n return (\n
\n \n {item.nombre}\n {item.nombre}\n \n
\n )\n })}\n
\n
\n )\n}\n\nMenu.propTypes = {\n menuSecundario: PropTypes.arrayOf(\n PropTypes.shape({\n nombre: PropTypes.string.isRequired,\n tipo: PropTypes.string.isRequired,\n link_id: PropTypes.string.isRequired,\n icono: PropTypes.shape({\n publicURL: PropTypes.string.isRequired,\n }).isRequired,\n })\n ).isRequired,\n}\n\nMenu.defaultProps = {\n menuSecundario: [\n {\n nombre: `AfiliaciĆ³n a la Mano`,\n tipo: `Pagina`,\n link_id: `/`,\n icono: {\n publicURL: `/static/6e42e9fd87b792be6a3040d64eeec6b3/36e2e83e7518ebc69a1b6b2108c16be8.png`,\n },\n },\n ],\n}\n\nexport default Menu\n"],"sourceRoot":""}