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UAAU,6BAA4BJ,SACrCN,EAASe,GAAG,CAAC,SAACC,CAAO,CAAEC,CAAC,QACrBzC,CAAAA,EAAAA,EAAAA,GAAAA,EAAA,MAAYkC,UAAU,6BAA4BJ,SAC9C9B,CAAAA,EAAAA,EAAAA,GAAAA,EAACU,EAAoB,CAACa,SAAUD,EAAKkB,QAASA,EAASd,gBAAiBA,CAAgB,EAAG,EADtFe,EAEJ,EACP,GAEL,CAAAhB,MAAAA,EAAc,aAAAL,CAAAA,EAAdK,EAAgBlC,MAAM,SAAtB6B,EAAwBsB,UAAU,GAC/B1C,CAAAA,EAAAA,EAAAA,GAAAA,EAACkB,EAAU,CAACK,SAAUE,MAAAA,EAAc,aAAAJ,CAAAA,EAAdI,EAAgBlC,MAAM,SAAtB8B,EAAwBqB,UAAAA,GAAc,EAE9D,EACJ,EACC,EAGnB","sources":["webpack://_N_E/./components/Label/Label.js","webpack://_N_E/./components/SeriesSelector/SeriesComparison.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nexport default Label;\n\nexport function Label({ label, tokens }) {\n if (!label) {\n return '';\n } else if (tokens) {\n return replaceTokensFromString(label?.fields?.text || label, tokens);\n } else {\n return label?.fields?.text || label;\n }\n}\n\nLabel.propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object\n ]),\n tokens: PropTypes.object,\n};\n\nexport function LabelHTML({ label, tokens, ...props }) {\n if (!label) {\n return (\n \n );\n } else if (tokens) {\n return (\n \n );\n } else {\n return (\n \n );\n }\n}\n\nLabelHTML.propTypes = {\n label: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.object\n ]),\n tokens: PropTypes.object,\n};\n\nexport function replaceTokensFromString(s, tokens) {\n for (let tokenKey in tokens) {\n s = s.replace(new RegExp('{' + tokenKey + '}', 'g'), tokens[tokenKey]);\n }\n return s;\n}\n","import PropTypes from 'prop-types';\nimport React, { Suspense } from 'react';\nimport dynamic from 'next/dynamic';\nimport { LabelHTML } from '../Label/Label';\nimport Loader from '../../adapters/helpers/Loader';\nimport LazyLoad from 'react-lazy-load';\nconst SeriesComparisonItem = dynamic(() => import('./SeriesComparisonItem'));\nconst Disclaimer = dynamic(() => import('../Disclaimer/Disclaimer'));\n\nexport default function SeriesComparison(props) {\n const { document: doc, products, selectedSeries, onClickCallback } = props;\n\n return (\n \n }>\n \n \n \n \n \n \n {products.map((product, i) => (\n \n \n \n ))}\n \n {selectedSeries?.fields?.disclaimer &&\n \n }\n \n \n \n \n );\n}\n\nSeriesComparison.propTypes = {\n document: PropTypes.any,\n products: PropTypes.any,\n selectedSeries: PropTypes.object,\n onClickCallback: PropTypes.func,\n};\n"],"names":["Label","_ref","_label$fields","_label$fields2","label","tokens","replaceTokensFromString","fields","text","LabelHTML","_ref2","_label$fields3","_label$fields4","props","_objectWithoutProperties","_excluded","_jsx","_objectSpread","dangerouslySetInnerHTML","__html","s","tokenKey","replace","__webpack_exports__","propTypes","PropTypes","SeriesComparisonItem","dynamic","__webpack_require__","e","then","bind","loadableGenerated","webpack","Disclaimer","SeriesComparison","_selectedSeries$field","_selectedSeries$field2","doc","document","products","selectedSeries","onClickCallback","LazyLoad","offset","unmountIfInvisible","children","Suspense","fallback","Loader","className","_jsxs","compareLabel","seriesName","shortTitle","map","product","i","disclaimer"],"sourceRoot":""}