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,UAAU,uCAIhB,uBAAKA,UAAU,YACb,uBAAKA,UAAU,YACb,uBAAKA,UAAU,qBACb,2BAASA,UAAU,aACjB,gBAAC,IAAuB,CACtBI,KAAM/C,EACNgD,QAAQ,KACRL,UAAU,6BAEZ,gBAAC,IAAuB,CAACI,KAAM9C,EAAc+C,QAAQ,MAAML,UAAU,SACrE,uBAAKA,UAAU,QACb,gBAAC,IAAuB,CACtBI,KAAMlC,EACNmC,QAAQ,MACRL,UAAU,wCAOtB,uBAAKA,UAAU,0BACb,uBAAKA,UAAU,YACZ/C,GAAW,gBAAC,IAAiB,CAACA,QAASA,EAASqD,YAAa9C,MAGlE,uBAAKwC,UAAU,YACb,uBAAKA,UAAU,YACb,uBAAKA,UAAU,wBACb,sBAAIA,UAAU,kBAAkB/B,GAChC,uBAAK+B,UAAU,gDACb,uBAAKA,UAAU,OACZnC,EAAM0C,KACL,gBACEC,EAAE,EAAFA,GACOjB,EAAI,EAAXhB,MACOkC,EAAY,EAAnBC,MACcC,EAAW,EAAzBrD,aACAsD,EAAG,EAAHA,IAAG,OAEH,uBAAKZ,UAAU,kBAAkBa,IAAKL,GACpC,uBAAKR,UAAU,6CACb,uBAAKA,UAAU,mCACb,gBAAC,IAAK,CACJA,UAAU,gBACVC,UAAWQ,EACXP,IAAKO,EAAaN,UAEpB,qBAAGH,UAAU,wBAEf,uBAAKA,UAAU,aACb,sBAAIA,UAAU,oBAAoBT,GAClC,gBAAC,IAAuB,CACtBa,MAAMU,EAAAA,EAAAA,IAAUH,GAAaI,UAAU,EAAG,IAC1CV,QAAQ,MACRL,UAAU,mCAEZ,uBAAKA,UAAU,oBACb,gBAAC,EAAAgB,KAAI,CAACC,GAAIL,EAAKZ,UAAU,mBACtBhC,MAKL,WAUvBG,EAAS,gBAAC,IAAM,CAACjB,KAAMiB,IAAa,iCAG3C,C","sources":["webpack://husky-site/../gatsby-theme-husky/src/templates/Recipe/Recipe.tsx"],"sourcesContent":["import React, { FC } from 'react';\nimport { graphql, Link } from 'gatsby';\nimport { useLocation } from '@reach/router';\n\nimport DangerouslySetInnerHtml from 'layout/DangerouslySetInnerHtml';\nimport Layout from 'layout/Layout';\nimport Image from 'common/Image';\nimport PageSchema from 'common/PageSchema';\nimport Seo from 'common/Seo';\nimport Footer from 'components/Footer';\nimport Header from 'components/Header';\nimport YouTubeLazyLoaded from 'components/YouTubeLazyLoaded';\n\nimport { getYoutubeId, stripHTML } from '../../utils/functions';\nimport { RecipeProps } from './models';\n\nimport './Recipe.scss';\n\nconst Recipe: FC<{ data: RecipeProps }> = ({\n data: {\n recipe: {\n pageLogo,\n principalTitle,\n instructions,\n youtube,\n bannerDesktop,\n bannerMobile,\n urls,\n seo,\n imageseo,\n },\n allRecipe: { nodes },\n recipeList: { seeMore, relatedRecipes, activate },\n footer,\n header,\n siteSettings,\n },\n}) => {\n const { title: seoTitle, keywords: seoKeywords, description: seoDescription } = seo;\n const location = useLocation();\n const eventData = { eventType: 'page_view', tagData: { pageTemplate: location.pathname } };\n\n let videoId;\n\n if (youtube) {\n videoId = getYoutubeId(youtube);\n }\n\n return (\n \n {header &&
}\n \n \n
\n
\n
\n
\n \n \n
\n
\n
\n
\n
\n
\n \n \n
\n \n
\n
\n
\n
\n
\n
\n
\n {videoId && }\n
\n
\n
\n
\n
\n

{relatedRecipes}

\n
\n
\n {nodes.map(\n ({\n id,\n title: name,\n image: imageRecipes,\n instructions: instruction,\n url,\n }) => (\n
\n
\n
\n \n \n
\n
\n

{name}

\n \n
\n \n {seeMore}\n \n
\n
\n
\n
\n )\n )}\n
\n
\n
\n
\n
\n
\n
\n {footer ?