{"version":3,"file":"index.CIh3NZiz.js","sources":["../../../../../../../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 { 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-24bf676a-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-24bf676a-1\"\n})([\n ``\n]);\nconst RelatedListWrapper = /*#__PURE__*/ styled.div.withConfig({\n displayName: \"RelatedListWrapper\",\n componentId: \"sc-24bf676a-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 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-a7145a9a-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-a7145a9a-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-a7145a9a-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 LinksSEODesktop = ({ 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 { LinksSEODesktop as default };\n"],"names":["RelatedTitle","styled","FontMixin","theme","Margin","RelatedList","RelatedListWrapper","Padding","Links","items","item","jsxs","jsx","Tags","genKey","Placeholder","LinksWrapper","FlexMixin","Description","LinksSEODesktop","props","title","description","Container","Title","InnerMarkdownHTML"],"mappings":"gHAIA,MAAMA,EAA6BC,EAAO,EAAE,WAAW,CACnD,YAAa,eACb,YAAa,eACjB,CAAC,EAAE,CACC,GACA,UACA,IACA,EACJ,EAAGC,EAAU,CACT,KAAM,OACN,OAAQ,SACR,OAAQ,QACZ,CAAC,EAAG,CAAC,CAAE,MAAAC,KAAUA,EAAM,OAAO,MAAM,OAAQC,EAAO,CAC/C,OAAQ,KACZ,CAAC,CAAC,EACIC,EAA4BJ,EAAO,IAAI,WAAW,CACpD,YAAa,cACb,YAAa,eACjB,CAAC,EAAE,CACC,EACJ,CAAC,EACKK,EAAmCL,EAAO,IAAI,WAAW,CAC3D,YAAa,qBACb,YAAa,eACjB,CAAC,EAAE,CACC,8CACA,IACA,IACA,GACJ,EAAG,CAAC,CAAE,MAAAE,KAAUA,EAAM,OAAO,MAAM,MAAOC,EAAO,CAC7C,OAAQ,MACZ,CAAC,EAAGG,EAAQ,CACR,OAAQ,KACZ,CAAC,CAAC,EChCIC,EAAQ,CAAC,CAAE,MAAAC,KACTA,EAAM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