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tC,EAAAA,EAAAA,IAACC,EAAM,KAAEH,IAGD,C","sources":["webpack://atlas/./src/components/core/Breadcrumbs/Breadcrumbs.styles.ts","webpack://atlas/./src/components/core/Breadcrumbs/BreadcrumbItem.tsx","webpack://atlas/./src/components/core/Breadcrumbs/Breadcrumbs.tsx","webpack://atlas/./src/components/core/FeaturedImage/FeaturedImage.styles.ts","webpack://atlas/./src/components/core/FeaturedImage/FeaturedImage.tsx"],"sourcesContent":["import styled from \"@emotion/styled\"\n\nimport { Link as CoreLink } from \"components/core/Link\"\nimport { rgba } from \"utils/cssUtils\"\n\nexport const OrderedList = styled.ol`\n display: flex;\n flex: row;\n list-style-type: none;\n margin: 0;\n padding: 0;\n align-items: center;\n`\n\nexport const ListItem = styled.li``\n\nexport const Link = styled(CoreLink)`\n text-decoration: none;\n\n :hover {\n opacity: 0.8;\n }\n\n :visited {\n color: ${p => p.theme.colors.primaryMedium};\n }\n`\n\nexport const Name = styled.span<{ isLast?: boolean }>`\n ${p =>\n p.isLast\n ? p.theme.typography.standard.size_14px.normal()\n : p.theme.typography.standard.size_14px.semibold()}\n color: ${p =>\n p.isLast\n ? rgba(p.theme.colors.primaryMedium, 0.7)\n : p.theme.colors.primaryMedium};\n line-height: 1.5;\n`\n\nexport const Divider = styled.span`\n ${p => p.theme.typography.standard.size_14px.normal()}\n color: ${p => p.theme.colors.primaryMedium};\n margin: 0 10px;\n`\n","import React from \"react\"\n\nimport { getBreadcrumbsUri } from \"utils/getBreadcrumbsUri\"\n\nimport * as S from \"./Breadcrumbs.styles\"\n\nexport interface BreadcrumbItemProps {\n url: string\n text: string\n index?: number\n isLast?: boolean\n}\n\nexport const BreadcrumbItem = ({\n url,\n text,\n index,\n isLast,\n}: BreadcrumbItemProps) => {\n return (\n \n \n \n {text}\n \n \n \n {!isLast && {\"/\"}}\n \n )\n}\n","import React from \"react\"\n\nimport { BreadcrumbItem, BreadcrumbItemProps } from \"./BreadcrumbItem\"\nimport * as S from \"./Breadcrumbs.styles\"\n\ninterface BreadcrumbProps {\n breadcrumbItems: Array\n}\n\nexport const Breadcrumbs = ({ breadcrumbItems }: BreadcrumbProps) => {\n return (\n \n {breadcrumbItems.map((item, index, array) => (\n \n ))}\n \n )\n}\n","import { ImgLite } from \"@avantstay/img-lite\"\nimport styled from \"@emotion/styled\"\n\nimport { Link } from \"components/core/Link\"\nimport { minTabletMediaQuery } from \"theme/media-queries\"\nimport { rgba } from \"utils/cssUtils\"\n\nexport const Container = styled.div`\n margin: 60px 20px 0;\n background-color: ${p => rgba(p.theme.colors.primaryExtremelyLight, 0.7)};\n position: relative;\n`\n\nexport const FeaturedImage = styled(ImgLite)`\n width: 100%;\n height: 40vh;\n max-height: 537px;\n`\n\nexport const Subcontainer = styled.div`\n max-width: 800px;\n margin: 0 auto;\n padding: 40px 16px;\n text-align: center;\n display: flex;\n flex-direction: column;\n`\n\nexport const Title = styled(Link)`\n ${p => p.theme.typography.special.size_24px.bold()}\n color: ${p => p.theme.colors.primaryMedium};\n margin: 0 auto 8px;\n text-decoration: none;\n\n ${minTabletMediaQuery} {\n ${p => p.theme.typography.special.size_32px.bold()}\n }\n`\n\nexport const Text = styled.p`\n ${p => p.theme.typography.standard.size_14px.normal()}\n color: ${p => rgba(p.theme.colors.primaryMedium, 0.7)};\n margin: 0 auto;\n`\n\nexport const Category = styled(Link)`\n ${p => p.theme.typography.standard.size_18px.semibold()}\n color: ${p => p.theme.colors.accentMedium};\n line-height: 1.5;\n max-width: 800px;\n margin: 0 auto 6px;\n text-decoration: none;\n\n :hover {\n cursor: pointer;\n opacity: 0.8;\n }\n\n :visited {\n color: ${p => p.theme.colors.accentMedium};\n text-decoration: none;\n }\n`\n","import React, { FC } from \"react\"\n\nimport { Link } from \"components/core/Link\"\nimport { PinterestSaveButton } from \"components/core/PinterestSaveButton\"\nimport { usePinterestVisibilityProps } from \"hooks/usePinterestVisibilityProps\"\nimport { Post } from \"types\"\nimport { getOriginPage } from \"utils/getOriginPage\"\nimport { segmentTrack } from \"utils/segmentAnalytics\"\n\nimport * as S from \"./FeaturedImage.styles\"\n\ninterface FeaturedImageProps {\n category?: string\n categoryUrl?: string\n featuredImage?: Post[\"featuredImage\"]\n postUrl?: string\n pinterest?: { url: string }\n text?: string\n title?: string\n}\n\nconst DEFAULT_POST_URL = \"/\"\n\nexport const FeaturedImage: FC = ({\n category,\n categoryUrl,\n featuredImage,\n pinterest,\n postUrl = DEFAULT_POST_URL,\n text,\n title,\n}) => {\n const image = featuredImage?.node\n const originPage = getOriginPage()\n\n const { imageProps, pinterestButtonProps } = usePinterestVisibilityProps()\n\n const trackPostView = () =>\n postUrl !== DEFAULT_POST_URL\n ? segmentTrack(`blog.${originPage}.view_post`, {\n category,\n })\n : undefined\n\n return (\n \n {image?.sourceUrl && (\n <>\n \n \n \n {pinterest && (\n \n )}\n \n )}\n {title && (\n \n {!!categoryUrl && (\n segmentTrack(\"blog.category.click\")}\n >\n {category}\n \n )}\n \n {title}\n \n {text}\n \n )}\n \n )\n}\n"],"names":["OrderedList","_styled","target","name","styles","ListItem","Link","CoreLink","p","theme","colors","primaryMedium","Name","isLast","typography","standard","size_14px","normal","semibold","rgba","Divider","BreadcrumbItem","_ref","url","text","index","___EmotionJSX","S","key","itemScope","itemProp","itemType","to","getBreadcrumbsUri","content","toString","Breadcrumbs","breadcrumbItems","map","item","array","_extends","length","Container","primaryExtremelyLight","FeaturedImage","ImgLite","Subcontainer","Title","special","size_24px","bold","minTabletMediaQuery","size_32px","Text","Category","size_18px","accentMedium","DEFAULT_POST_URL","category","categoryUrl","featuredImage","pinterest","postUrl","title","image","node","originPage","getOriginPage","imageProps","pinterestButtonProps","usePinterestVisibilityProps","trackPostView","segmentTrack","undefined","sourceUrl","React","onClick","alt","altText","avif","process","fit","quality","src","PinterestSaveButton","description"],"sourceRoot":""}