{"version":3,"file":"index.4a0ccfd0.js","sources":["../../../../../../../node_modules/@babylon/ui-kit-structures/esm/components/others/tags/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-structures/esm/components/others/tags/views/desktop/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-structures/esm/components/others/tags/views/mobile/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-structures/esm/components/others/tags/views/mobile/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-structures/esm/components/others/tags/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/components/links/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/components/links/index.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/views/desktop/styled.mjs","../../../../../../../node_modules/@babylon/ui-kit-common/esm/components/others/links-seo/views/desktop/index.mjs"],"sourcesContent":["import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst Placeholder = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Placeholder\",\n componentId: \"sc-f47d457d-0\"\n})([\n \"::after{clear:both;content:'';display:table;}&.is-single{\",\n \"}\"\n], FlexMixin({\n justify: 'center'\n}));\nconst RelatedList = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedList\",\n componentId: \"sc-f47d457d-1\"\n})([\n \"a:not(:last-child){\",\n \"}a{\",\n \" display:inline-block;color:\",\n \";\",\n \" text-decoration:none;}&.is-multiple{\",\n \" a:not(:last-child){\",\n \"}a{width:20%;}}\"\n], Margin({\n right: '28px'\n}), FontMixin({\n size: 'medium',\n weight: 'light',\n height: 'base'\n}), (props)=>props.theme.colors.text.dark, Margin({\n bottom: '8px'\n}), FlexMixin({\n wrap: true\n}), Margin({\n right: '0'\n}));\n\nexport { Placeholder, RelatedList };\n","import { jsx } from 'react/jsx-runtime';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { Children } from 'react';\nimport { Placeholder, RelatedList } from './styled.mjs';\n\nconst TagsDesktopView = (props)=>{\n const { items = [], className } = props;\n return /*#__PURE__*/ jsx(Placeholder, {\n \"data-testid\": \"Tags\",\n className: className,\n children: /*#__PURE__*/ jsx(RelatedList, {\n className: className,\n children: Children.toArray(items.map((item)=>{\n const parsedItem = nullsToUndefined(item);\n return /*#__PURE__*/ jsx(\"a\", {\n \"data-testid\": \"link\",\n href: parsedItem.href,\n title: parsedItem.title,\n target: parsedItem.target,\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: parsedItem.content\n })\n });\n }))\n })\n });\n};\n\nexport { TagsDesktopView, TagsDesktopView as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport styled from 'styled-components';\n\nconst TagsWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"TagsWrapper\",\n componentId: \"sc-c26707d5-0\"\n})([\n \"\",\n \" &.is-single{\",\n \"}\"\n], FlexMixin({\n wrap: true,\n justify: 'flex-start'\n}), FlexMixin({\n justify: 'center'\n}));\nconst Tags = /*#__PURE__*/ styled.a.withConfig({\n displayName: \"Tags\",\n componentId: \"sc-c26707d5-1\"\n})([\n \"\",\n \" \",\n \" background-color:\",\n \";border-radius:4px;color:\",\n \";margin:4px;padding:4px 12px;text-decoration:none;\"\n], FlexMixin({}), FontMixin({\n size: 'medium',\n weight: 'regular',\n height: 'large'\n}), (props)=>props.theme.colors.grays.light, (props)=>props.theme.colors.grays.dark);\n\nexport { Tags, TagsWrapper };\n","import { jsx } from 'react/jsx-runtime';\nimport InnerMarkdownHTML from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport { nullsToUndefined } from '@babylon/ui-kit-helpers/null';\nimport { TagsWrapper, Tags } from './styled.mjs';\n\nconst TagsMobileView = (props)=>{\n const { items = [], className } = props;\n return /*#__PURE__*/ jsx(TagsWrapper, {\n \"data-testid\": \"Tags\",\n className: className,\n children: items.map((item, index)=>{\n const parsedItem = nullsToUndefined(item);\n return /*#__PURE__*/ jsx(Tags, {\n \"data-testid\": \"link\",\n href: parsedItem.href,\n title: parsedItem.title,\n target: parsedItem.target,\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: parsedItem.content\n })\n }, genKey(`${index}`));\n })\n });\n};\n\nexport { TagsMobileView, TagsMobileView as default };\n","import { generateViewsComponent } from '@babylon/ui-kit-helpers/views';\nimport { TagsDesktopView } from './views/desktop/index.mjs';\nimport { TagsMobileView } from './views/mobile/index.mjs';\n\nconst Tags = generateViewsComponent(TagsDesktopView, TagsMobileView);\n\nexport { Tags, Tags as default };\n","import { FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst RelatedTitle = /*#__PURE__*/ styled.p.withConfig({\n displayName: \"RelatedTitle\",\n componentId: \"sc-82b5c3b8-0\"\n})([\n \"\",\n \" color:\",\n \";\",\n \"\"\n], FontMixin({\n size: 'base',\n weight: 'medium',\n height: 'medium'\n}), ({ theme })=>theme.colors.grays.darker, Margin({\n bottom: '8px'\n}));\nconst RelatedList = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedList\",\n componentId: \"sc-82b5c3b8-1\"\n})([\n \"\"\n]);\nconst RelatedListWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedListWrapper\",\n componentId: \"sc-82b5c3b8-2\"\n})([\n \":not(:last-child){border-bottom:1px solid \",\n \";\",\n \" \",\n \"}\"\n], ({ theme })=>theme.colors.grays.light, Margin({\n bottom: '16px'\n}), Padding({\n bottom: '8px'\n}));\n\nexport { RelatedList, RelatedListWrapper, RelatedTitle };\n","import { jsxs, jsx } from 'react/jsx-runtime';\nimport { genKey } from '@babylon/ui-kit-helpers/keys';\nimport Tags from '@babylon/ui-kit-structures/components/others/tags';\nimport { RelatedListWrapper, RelatedTitle, RelatedList } from './styled.mjs';\n\nconst Links = ({ items })=>{\n if (items.length > 1) {\n return items.map((item)=>/*#__PURE__*/ jsxs(RelatedListWrapper, {\n children: [\n /*#__PURE__*/ jsx(RelatedTitle, {\n \"data-testid\": \"items\",\n children: item.title\n }),\n /*#__PURE__*/ jsx(RelatedList, {\n children: /*#__PURE__*/ jsx(Tags, {\n items: item.items\n }, item.title)\n })\n ]\n }, genKey(item.title)));\n }\n return items.map((item)=>/*#__PURE__*/ jsx(RelatedListWrapper, {\n children: /*#__PURE__*/ jsx(RelatedList, {\n children: /*#__PURE__*/ jsx(Tags, {\n items: item.items,\n className: item.items.length <= 8 ? 'is-single' : 'is-multiple'\n }, item.title)\n })\n }, genKey(item.title)));\n};\n\nexport { Links, Links as default };\n","import { FlexMixin, FontMixin } from '@babylon/ui-kit-styles/common/mixins/helpers.styled';\nimport { Margin, Padding } from '@babylon/ui-kit-styles/common/mixins/logical.styled';\nimport styled from 'styled-components';\n\nconst Placeholder = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Placeholder\",\n componentId: \"sc-948b43f-0\"\n})([\n \"\",\n \" ::after{clear:both;content:'';display:table;}\"\n], Margin({\n bottom: '40px'\n}));\nconst LinksWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"LinksWrapper\",\n componentId: \"sc-948b43f-1\"\n})([\n \"\",\n \" \",\n \"\"\n], FlexMixin({\n direction: 'column'\n}), Padding({\n all: '20px'\n}));\nconst Description = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"Description\",\n componentId: \"sc-948b43f-2\"\n})([\n \"color:\",\n \";\",\n \" \",\n \" \",\n \" border-bottom:1px solid \",\n \";\"\n], ({ theme })=>theme.colors.grays.darker, FontMixin({\n size: 'medium',\n height: 'medium'\n}), Padding({\n bottom: '16px'\n}), Margin({\n bottom: '16px'\n}), ({ theme })=>theme.colors.grays.light);\n\nexport { Description, LinksWrapper, Placeholder };\n","import { jsx, jsxs } from 'react/jsx-runtime';\nimport { InnerMarkdownHTML } from '@babylon/ui-kit-base/components/text/inner-markdown-HTML';\nimport Title from '@babylon/ui-kit-base/components/text/title';\nimport { Container } from '@babylon/ui-kit-styles/common/mixins/container.styled';\nimport { Links } from '../../components/links/index.mjs';\nimport { Placeholder, LinksWrapper, Description } from './styled.mjs';\n\nconst LinksSeoDesktopView = ({ props })=>{\n const { title, items = [], description } = props ?? {};\n if (!items?.length) return null;\n return items?.length > 0 && /*#__PURE__*/ jsx(Container, {\n \"data-testid\": \"LinksSeo\",\n children: /*#__PURE__*/ jsxs(Placeholder, {\n children: [\n /*#__PURE__*/ jsx(Title, {\n ...title\n }),\n /*#__PURE__*/ jsxs(LinksWrapper, {\n children: [\n description && /*#__PURE__*/ jsx(Description, {\n children: /*#__PURE__*/ jsx(InnerMarkdownHTML, {\n content: description.content\n })\n }),\n /*#__PURE__*/ jsx(Links, {\n items: items\n })\n ]\n })\n ]\n })\n });\n};\n\nexport { LinksSeoDesktopView, LinksSeoDesktopView as default };\n"],"names":["Placeholder","styled","FlexMixin","RelatedList","Margin","FontMixin","props","TagsDesktopView","items","className","jsx","Children","item","parsedItem","nullsToUndefined","InnerMarkdownHTML","TagsWrapper","Tags","TagsMobileView","index","genKey","generateViewsComponent","RelatedTitle","theme","RelatedListWrapper","Padding","Links","jsxs","LinksWrapper","Description","LinksSeoDesktopView","title","description","Container","Title"],"mappings":"6HAIA,MAAMA,EAA4BC,EAAO,IAAI,WAAW,CACpD,YAAa,cACb,YAAa,eACjB,CAAC,EAAE,CACC,4DACA,GACJ,EAAGC,EAAU,CACT,QAAS,QACb,CAAC,CAAC,EACIC,EAA4BF,EAAO,IAAI,WAAW,CACpD,YAAa,cACb,YAAa,eACjB,CAAC,EAAE,CACC,sBACA,MACA,+BACA,IACA,wCACA,uBACA,iBACJ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