{"version":3,"sources":["webpack:///./src/components/category/index.js","webpack:///./src/pages/guides.js","webpack:///./node_modules/@material-ui/core/esm/Grid/Grid.js","webpack:///./src/components/blog-entry-card.js","webpack:///./src/components/listing.js"],"names":["CategoryDetails","tagType","postsData","useStaticQuery","allMdx","nodes","filter","val","filtertag","frontmatter","tags","val1","length","maxWidth","className","useUtilStyles","topSpacer","class","style","textAlign","textTransform","posts","Category","SPACINGS","GRID_SIZES","getOffset","div","arguments","undefined","parse","parseFloat","concat","String","replace","props","ref","_props$alignContent","alignContent","_props$alignItems","alignItems","classes","classNameProp","_props$component","component","Component","_props$container","container","_props$direction","direction","_props$item","item","_props$justify","justify","_props$lg","lg","_props$md","md","_props$sm","sm","_props$spacing","spacing","_props$wrap","wrap","_props$xl","xl","_props$xs","xs","_props$zeroMinWidth","zeroMinWidth","other","root","withStyles","theme","boxSizing","display","flexWrap","width","margin","minWidth","flexDirection","justifyContent","breakpoint","styles","forEach","themeSpacing","padding","generateGutter","breakpoints","keys","reduce","accumulator","key","globalStyles","size","Math","round","flexBasis","flexGrow","up","generateGrid","name","title","timeToRead","date","excerpt","banner","summary","childrenMdxPost","slug","bannerFluid","childImageSharp","fluid","Box","marginBottom","to","sizes","aspectRatio","alt","paddingTop","Typography","color","variant","Link","ReadTime","fontSize","whiteSpace","Listing","useTheme","map","post"],"mappings":"8FAAA,uHAOe,SAASA,EAAT,GAAuC,IAAD,EAAXC,EAAW,EAAXA,QAkClCC,EAAS,UAjCDC,yBAAe,cAiCLC,OAAOC,aAAhB,aAAG,EAAoBC,QAAO,SAAAC,GAAQ,IAAD,EAC5CC,EAAS,UAAGD,EAAIE,YAAYC,YAAnB,aAAG,EAAsBJ,QAAO,SAAAK,GAAI,OAAIA,IAASV,KAChE,OAAIO,aAAA,EAAAA,EAAWI,QAAS,KAM1B,OACE,oCACE,kBAAC,IAAD,MACA,kBAAC,IAAD,CAAWC,SAAS,KAAKC,UAAWC,cAAgBC,WAClD,wBACEC,MAAM,sCACNC,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AMA,KAElB,kBAAC6G,EAAA,EAAD,CACEC,MAAM,cACNC,QAAQ,KACR9E,UAAU,KACVzB,MAAO,CAAEoG,WAAY,SAErB,kBAACI,EAAA,EAAD,CAAMR,GAAIN,GAAOP,IAEnB,kBAACkB,EAAA,EAAD,CAAYE,QAAQ,QAAQD,MAAM,iBAC/BhB,EADH,IACY,kBAAC,EAAD,CAAUF,WAAYA,EAAYM,KAAMA,OAMpDe,EAAW,SAAC,GAAD,IAAGrB,EAAH,EAAGA,WAAYM,EAAf,EAAeA,KAAf,OACf,kBAACI,EAAA,EAAD,CAAKY,SAAS,OAAOJ,MAAM,UAAU7E,UAAU,OAAOkF,WAAW,UAC/D,kBAACH,EAAA,EAAD,CAAMR,GAAIN,GAAV,MAAuBN,EAAvB,eCvDW,SAASwB,EAAT,GAA6B,IAAVzG,EAAS,EAATA,MAC1BmD,EAAQuD,cACd,OACE,iCACE,kBAAC,EAAD,CAAMjF,WAAS,EAACc,QAAS,EAAG1C,MAAO,CAAEoG,WAAY9C,EAAMZ,QAAQ,KAC5DvC,aADH,EACGA,EAAO2G,KAAI,SAAAC,GAAI,OACd,kBAAC,EAAD,CAAM/E,MAAI,EAACgB,GAAI,GAAIyB,IAAKsC,EAAKrB,KAAMlD,GAAI,EAAGF,GAAI,GAC5C,kBAAC,EAAkByE","file":"component---src-pages-guides-js-f9127e6bccff5b511184.js","sourcesContent":["import React from \"react\"\nimport { Container } from \"@material-ui/core\"\nimport SEO from \"../seo\"\nimport Listing from \"../listing\"\nimport { useUtilStyles } from \"../utils\"\nimport { graphql, useStaticQuery } from \"gatsby\"\n\nexport default function CategoryDetails({ tagType }) {\n const query = useStaticQuery(graphql`\n query result {\n allMdx(sort: { fields: frontmatter___date, order: DESC }) {\n nodes {\n childrenMdxPost {\n slug\n }\n excerpt\n timeToRead\n frontmatter {\n title\n banner {\n childImageSharp {\n fluid(maxWidth: 1800) {\n ...GatsbyImageSharpFluid_withWebp\n }\n }\n }\n date(formatString: \"D-M-yyyy\")\n tags\n recipe {\n title\n ingredients {\n name\n percentage\n }\n }\n }\n }\n }\n }\n `)\n\n const postsData = query.allMdx.nodes?.filter(val => {\n const filtertag = val.frontmatter.tags?.filter(val1 => val1 === tagType)\n if (filtertag?.length > 0) {\n return true\n } else {\n return false\n }\n })\n return (\n <>\n \n \n \n {tagType}\n
\n \n \n >\n )\n}\n","import React from \"react\"\n\nimport CategoryPage from \"../components/category\"\n\nconst Category = () => (\n \n)\n\nexport default Category\n","import _objectWithoutProperties from \"@babel/runtime/helpers/esm/objectWithoutProperties\";\nimport _extends from \"@babel/runtime/helpers/esm/extends\"; // A grid component using the following libs as inspiration.\n//\n// For the implementation:\n// - https://getbootstrap.com/docs/4.3/layout/grid/\n// - https://github.com/kristoferjoseph/flexboxgrid/blob/master/src/css/flexboxgrid.css\n// - https://github.com/roylee0704/react-flexbox-grid\n// - https://material.angularjs.org/latest/layout/introduction\n//\n// Follow this flexbox Guide to better understand the underlying model:\n// - https://css-tricks.com/snippets/css/a-guide-to-flexbox/\n\nimport * as React from 'react';\nimport clsx from 'clsx';\nimport withStyles from '../styles/withStyles';\nimport requirePropFactory from '../utils/requirePropFactory';\nvar SPACINGS = [0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10];\nvar GRID_SIZES = ['auto', true, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12];\n\nfunction generateGrid(globalStyles, theme, breakpoint) {\n var styles = {};\n GRID_SIZES.forEach(function (size) {\n var key = \"grid-\".concat(breakpoint, \"-\").concat(size);\n\n if (size === true) {\n // For the auto layouting\n styles[key] = {\n flexBasis: 0,\n flexGrow: 1,\n maxWidth: '100%'\n };\n return;\n }\n\n if (size === 'auto') {\n styles[key] = {\n flexBasis: 'auto',\n flexGrow: 0,\n maxWidth: 'none'\n };\n return;\n } // Keep 7 significant numbers.\n\n\n var width = \"\".concat(Math.round(size / 12 * 10e7) / 10e5, \"%\"); // Close to the bootstrap implementation:\n // https://github.com/twbs/bootstrap/blob/8fccaa2439e97ec72a4b7dc42ccc1f649790adb0/scss/mixins/_grid.scss#L41\n\n styles[key] = {\n flexBasis: width,\n flexGrow: 0,\n maxWidth: width\n };\n }); // No need for a media query for the first size.\n\n if (breakpoint === 'xs') {\n _extends(globalStyles, styles);\n } else {\n globalStyles[theme.breakpoints.up(breakpoint)] = styles;\n }\n}\n\nfunction getOffset(val) {\n var div = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n var parse = parseFloat(val);\n return \"\".concat(parse / div).concat(String(val).replace(String(parse), '') || 'px');\n}\n\nfunction generateGutter(theme, breakpoint) {\n var styles = {};\n SPACINGS.forEach(function (spacing) {\n var themeSpacing = theme.spacing(spacing);\n\n if (themeSpacing === 0) {\n return;\n }\n\n styles[\"spacing-\".concat(breakpoint, \"-\").concat(spacing)] = {\n margin: \"-\".concat(getOffset(themeSpacing, 2)),\n width: \"calc(100% + \".concat(getOffset(themeSpacing), \")\"),\n '& > $item': {\n padding: getOffset(themeSpacing, 2)\n }\n };\n });\n return styles;\n} // Default CSS values\n// flex: '0 1 auto',\n// flexDirection: 'row',\n// alignItems: 'flex-start',\n// flexWrap: 'nowrap',\n// justifyContent: 'flex-start',\n\n\nexport var styles = function styles(theme) {\n return _extends({\n /* Styles applied to the root element. */\n root: {},\n\n /* Styles applied to the root element if `container={true}`. */\n container: {\n boxSizing: 'border-box',\n display: 'flex',\n flexWrap: 'wrap',\n width: '100%'\n },\n\n /* Styles applied to the root element if `item={true}`. */\n item: {\n boxSizing: 'border-box',\n margin: '0' // For instance, it's useful when used with a `figure` element.\n\n },\n\n /* Styles applied to the root element if `zeroMinWidth={true}`. */\n zeroMinWidth: {\n minWidth: 0\n },\n\n /* Styles applied to the root element if `direction=\"column\"`. */\n 'direction-xs-column': {\n flexDirection: 'column'\n },\n\n /* Styles applied to the root element if `direction=\"column-reverse\"`. */\n 'direction-xs-column-reverse': {\n flexDirection: 'column-reverse'\n },\n\n /* Styles applied to the root element if `direction=\"row-reverse\"`. */\n 'direction-xs-row-reverse': {\n flexDirection: 'row-reverse'\n },\n\n /* Styles applied to the root element if `wrap=\"nowrap\"`. */\n 'wrap-xs-nowrap': {\n flexWrap: 'nowrap'\n },\n\n /* Styles applied to the root element if `wrap=\"reverse\"`. */\n 'wrap-xs-wrap-reverse': {\n flexWrap: 'wrap-reverse'\n },\n\n /* Styles applied to the root element if `alignItems=\"center\"`. */\n 'align-items-xs-center': {\n alignItems: 'center'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-start\"`. */\n 'align-items-xs-flex-start': {\n alignItems: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignItems=\"flex-end\"`. */\n 'align-items-xs-flex-end': {\n alignItems: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignItems=\"baseline\"`. */\n 'align-items-xs-baseline': {\n alignItems: 'baseline'\n },\n\n /* Styles applied to the root element if `alignContent=\"center\"`. */\n 'align-content-xs-center': {\n alignContent: 'center'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-start\"`. */\n 'align-content-xs-flex-start': {\n alignContent: 'flex-start'\n },\n\n /* Styles applied to the root element if `alignContent=\"flex-end\"`. */\n 'align-content-xs-flex-end': {\n alignContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-between\"`. */\n 'align-content-xs-space-between': {\n alignContent: 'space-between'\n },\n\n /* Styles applied to the root element if `alignContent=\"space-around\"`. */\n 'align-content-xs-space-around': {\n alignContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"center\"`. */\n 'justify-xs-center': {\n justifyContent: 'center'\n },\n\n /* Styles applied to the root element if `justify=\"flex-end\"`. */\n 'justify-xs-flex-end': {\n justifyContent: 'flex-end'\n },\n\n /* Styles applied to the root element if `justify=\"space-between\"`. */\n 'justify-xs-space-between': {\n justifyContent: 'space-between'\n },\n\n /* Styles applied to the root element if `justify=\"space-around\"`. */\n 'justify-xs-space-around': {\n justifyContent: 'space-around'\n },\n\n /* Styles applied to the root element if `justify=\"space-evenly\"`. */\n 'justify-xs-space-evenly': {\n justifyContent: 'space-evenly'\n }\n }, generateGutter(theme, 'xs'), theme.breakpoints.keys.reduce(function (accumulator, key) {\n // Use side effect over immutability for better performance.\n generateGrid(accumulator, theme, key);\n return accumulator;\n }, {}));\n};\nvar Grid = /*#__PURE__*/React.forwardRef(function Grid(props, ref) {\n var _props$alignContent = props.alignContent,\n alignContent = _props$alignContent === void 0 ? 'stretch' : _props$alignContent,\n _props$alignItems = props.alignItems,\n alignItems = _props$alignItems === void 0 ? 'stretch' : _props$alignItems,\n classes = props.classes,\n classNameProp = props.className,\n _props$component = props.component,\n Component = _props$component === void 0 ? 'div' : _props$component,\n _props$container = props.container,\n container = _props$container === void 0 ? false : _props$container,\n _props$direction = props.direction,\n direction = _props$direction === void 0 ? 'row' : _props$direction,\n _props$item = props.item,\n item = _props$item === void 0 ? false : _props$item,\n _props$justify = props.justify,\n justify = _props$justify === void 0 ? 'flex-start' : _props$justify,\n _props$lg = props.lg,\n lg = _props$lg === void 0 ? false : _props$lg,\n _props$md = props.md,\n md = _props$md === void 0 ? false : _props$md,\n _props$sm = props.sm,\n sm = _props$sm === void 0 ? false : _props$sm,\n _props$spacing = props.spacing,\n spacing = _props$spacing === void 0 ? 0 : _props$spacing,\n _props$wrap = props.wrap,\n wrap = _props$wrap === void 0 ? 'wrap' : _props$wrap,\n _props$xl = props.xl,\n xl = _props$xl === void 0 ? false : _props$xl,\n _props$xs = props.xs,\n xs = _props$xs === void 0 ? false : _props$xs,\n _props$zeroMinWidth = props.zeroMinWidth,\n zeroMinWidth = _props$zeroMinWidth === void 0 ? false : _props$zeroMinWidth,\n other = _objectWithoutProperties(props, [\"alignContent\", \"alignItems\", \"classes\", \"className\", \"component\", \"container\", \"direction\", \"item\", \"justify\", \"lg\", \"md\", \"sm\", \"spacing\", \"wrap\", \"xl\", \"xs\", \"zeroMinWidth\"]);\n\n var className = clsx(classes.root, classNameProp, container && [classes.container, spacing !== 0 && classes[\"spacing-xs-\".concat(String(spacing))]], item && classes.item, zeroMinWidth && classes.zeroMinWidth, direction !== 'row' && classes[\"direction-xs-\".concat(String(direction))], wrap !== 'wrap' && classes[\"wrap-xs-\".concat(String(wrap))], alignItems !== 'stretch' && classes[\"align-items-xs-\".concat(String(alignItems))], alignContent !== 'stretch' && classes[\"align-content-xs-\".concat(String(alignContent))], justify !== 'flex-start' && classes[\"justify-xs-\".concat(String(justify))], xs !== false && classes[\"grid-xs-\".concat(String(xs))], sm !== false && classes[\"grid-sm-\".concat(String(sm))], md !== false && classes[\"grid-md-\".concat(String(md))], lg !== false && classes[\"grid-lg-\".concat(String(lg))], xl !== false && classes[\"grid-xl-\".concat(String(xl))]);\n return /*#__PURE__*/React.createElement(Component, _extends({\n className: className,\n ref: ref\n }, other));\n});\nprocess.env.NODE_ENV !== \"production\" ? void 0 : void 0;\nvar StyledGrid = withStyles(styles, {\n name: 'MuiGrid'\n})(Grid);\n\nif (process.env.NODE_ENV !== 'production') {\n var requireProp = requirePropFactory('Grid');\n StyledGrid.propTypes = _extends({}, StyledGrid.propTypes, {\n alignContent: requireProp('container'),\n alignItems: requireProp('container'),\n direction: requireProp('container'),\n justify: requireProp('container'),\n lg: requireProp('item'),\n md: requireProp('item'),\n sm: requireProp('item'),\n spacing: requireProp('container'),\n wrap: requireProp('container'),\n xs: requireProp('item'),\n zeroMinWidth: requireProp('item')\n });\n}\n\nexport default StyledGrid;","import React from \"react\"\nimport { Typography, Box } from \"@material-ui/core\"\nimport Img from \"gatsby-image\"\nimport { Link as GatsbyLink } from \"gatsby\"\n\nimport ItemTags from \"./item-tags\"\nimport Link from \"./Link\"\n\nexport default function ({\n title,\n date,\n timeToRead,\n excerpt,\n tags,\n banner,\n summary,\n frontmatter,\n childrenMdxPost\n}) {\n \n if (frontmatter) {\n banner = frontmatter.banner\n tags = frontmatter.tags\n title = frontmatter.title\n }\n const slug = childrenMdxPost ? childrenMdxPost[0].slug : \"\"\n const bannerFluid = banner ? banner.childImageSharp.fluid : null\n\n return (\n \n \n {bannerFluid ? (\n \n
\n \n ) : null}\n \n\n \n \n \n \n {title}\n \n \n {excerpt} \n \n \n )\n}\n\nconst ReadTime = ({ timeToRead, slug }) => (\n \n {` — ${timeToRead} min read`}\n \n)\n","import React from \"react\"\nimport { Grid, useTheme } from \"@material-ui/core\"\nimport BlogEntryCard from \"./blog-entry-card\"\nexport default function Listing({ posts }) {\n const theme = useTheme()\n return (\n \n \n {posts?.map(post => (\n \n \n \n ))}\n \n \n )\n}\n"],"sourceRoot":""}