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AAiB,uBAAuB,gBAAgB,uBAAuB,MAAQ,uBAAuB,SAAW,uBAAuB,YAAc,wB,wNCiBlT,MAAM2B,EAA4ClC,IACrD,MAAM,GAAEmC,EAAE,MAAEC,EAAK,aAAEC,EAAY,QAAE/B,EAAU,OAAUN,EAE/CsC,EAA8B,UAAZhC,EAAsB,QAAU,OAExD,OACIE,EAAAA,cAAC+B,EAAAA,EAAW,CAACJ,GAAIA,EAAI1B,UAAWa,IAAWZ,EAAOwB,aAAcxB,EAAO,YAADa,OAAajB,MAC/EE,EAAAA,cAAA,OAAKC,UAAWC,EAAO8B,OACnBhC,EAAAA,cAAA,OAAKC,UAAWC,EAAO+B,aACnBjC,EAAAA,cAACkC,EAAAA,EAAO,CAACjC,UAAWC,EAAOiC,KAAMC,SAAS,gBAE7CR,GAAS5B,EAAAA,cAACqC,EAAAA,EAAO,CAACpC,UAAWC,EAAOoC,QAASC,KAAMX,IACpD5B,EAAAA,cAAA,OAAKC,UAAWC,EAAOsC,UACnBxC,EAAAA,cAACT,EAAa0B,EAAA,GAAKY,EAAY,CAAE/B,QAASgC,OAGxC,EC9BTW,EAA0DjD,IACnE,MAAM,GAAEmC,EAAE,aAAEE,EAAY,MAAED,EAAK,QAAE9B,GAAYN,EAE7C,OAAOQ,EAAAA,cAAC0B,EAAY,CAACC,GAAIA,EAAIE,aAAcA,EAAcD,MAAOA,EAAO9B,QAASA,GAAW,C","sources":["webpack://Kristiania.Web/./Features/StudyPage/Campus/Sections/QuoteSection/QuoteEmployee/QuoteEmployee.module.css?c8f6","webpack://Kristiania.Web/./Features/StudyPage/Campus/Sections/QuoteSection/QuoteEmployee/QuoteEmployee.tsx","webpack://Kristiania.Web/./Features/StudyPage/Campus/Sections/QuoteSection/QuoteSection.module.css?4c64","webpack://Kristiania.Web/./Features/StudyPage/Campus/Sections/QuoteSection/QuoteSection.tsx","webpack://Kristiania.Web/./Features/Blocks/QuoteSectionBlock/View/QuoteSectionBlock.tsx"],"sourcesContent":["// extracted by mini-css-extract-plugin\nexport default {\"QuoteEmployee\":\"ELZbSN0xkGRxudxoCGZD\",\"Info\":\"wgsfEYhliRuQ3OGsPPB7\",\"Link\":\"A9IrxP6x1kHMxJBX5nkl\",\"Name\":\"PafA02TiaN5DOnBONInU\",\"Image\":\"BsNJMoWrLSwywFoZw_rI\",\"AdditionalInfo\":\"C7aWfJ5wcSGxkMQk5mVC\",\"JobTitles\":\"ybs02MiIsdu5yS7LYwML\",\"JobTitle\":\"MkfboJs3JDCOgTmDA6XY\",\"Department\":\"WNOGE5Zjbw73YZqwUfmg\",\"Variant--light\":\"Jjpdm0z1lffwiYq7tJFx\",\"Variant--dark\":\"_cBtw6pSq6NoGa3uuDJS\"};","import classNames from 'classnames';\nimport React from 'react';\nimport { Link } from '~/Partials/Link/Link';\nimport { LinkType } from '~/Partials/Link/LinkType.csharp';\nimport type { LinkViewModel } from '~/Partials/Link/LinkViewModel.csharp';\nimport { List } from '~/Partials/List/List';\nimport type { PictureDefinition } from '~/Partials/Picture/Picture';\nimport { Picture } from '~/Partials/Picture/Picture';\nimport { PicturePlaceholder } from '~/Partials/Picture/Placeholder/PicturePlaceholder';\nimport styles from './QuoteEmployee.module.css';\nimport type { QuoteEmployeeVariant } from './QuoteEmployeeVariant';\n\nexport interface QuoteEmployeeProps {\n name: string;\n department?: string;\n jobTitles?: string[];\n link?: Pick;\n picture?: PictureDefinition;\n variant?: QuoteEmployeeVariant;\n}\n\nexport const QuoteEmployee: React.FC = props => {\n const { name, department, jobTitles, link, picture, variant = 'light' } = props;\n\n const renderInfo = () => (\n <>\n {name}\n \n {jobTitles && jobTitles.length > 0 && (\n (\n
  • \n {title}\n
  • \n )}\n className={styles.JobTitles}\n />\n )}\n {department && {department}}\n
    \n \n );\n\n const renderImage = () =>\n picture ? : ;\n\n return (\n
    \n {renderImage()}\n
    \n {link && link.href ? (\n \n {renderInfo()}\n \n ) : (\n renderInfo()\n )}\n
    \n
    \n );\n};\n","// extracted by mini-css-extract-plugin\nexport default {\"QuoteSection\":\"cPloAW9ETJppiKf3uOg6\",\"Variant--red\":\"PS9OiuwCp_Mtf4jcUm_I\",\"Icon\":\"R8xM2ukm6YYDNzHE9e8V\",\"Content\":\"OBg8GbGOQ11Y_kO0y26Q\",\"Variant--light\":\"Dju4JeSonJphAjj6aHyR\",\"Variant--dark\":\"wfCSjY8VkPbERYESAyz4\",\"Inner\":\"OPDkk3SbGwWTZeDlZj4f\",\"Employee\":\"WyTuSgXamI5tDjjbW40k\",\"IconWrapper\":\"Za0F_aizRoRV7IW8vrhK\"};","import classNames from 'classnames';\nimport React from 'react';\nimport { PageSection } from '~/Features/Layouts/Components/PageSection/PageSection';\nimport type { HtmlString } from '~/Features/Types/HtmlString.csharp';\nimport { HtmlDiv } from '~/Partials/Controls/HtmlDiv';\nimport { SvgIcon } from '~/Partials/SvgIcon/SvgIcon';\nimport type { QuoteEmployeeProps } from './QuoteEmployee/QuoteEmployee';\nimport { QuoteEmployee } from './QuoteEmployee/QuoteEmployee';\nimport styles from './QuoteSection.module.css';\nimport type { QuoteSectionVariant } from './QuoteSectionVariant';\n\ninterface QuoteSectionProps {\n id: string;\n employeeInfo: QuoteEmployeeProps;\n quote?: HtmlString;\n variant?: QuoteSectionVariant;\n}\n\nexport const QuoteSection: React.FC = props => {\n const { id, quote, employeeInfo, variant = 'red' } = props;\n\n const employeeVariant = variant !== 'light' ? 'light' : 'dark';\n\n return (\n \n
    \n
    \n \n
    \n {quote && }\n
    \n \n
    \n
    \n
    \n );\n};\n","import * as React from 'react';\nimport type { QuoteSectionBlockViewModel } from '../ViewModel/QuoteSectionBlockViewModel.csharp';\nimport { QuoteSection } from '~/Features/StudyPage/Campus/Sections/QuoteSection/QuoteSection';\n\nexport const QuoteSectionBlock: React.FC = props => {\n const { id, employeeInfo, quote, variant } = props;\n\n return ;\n};\n"],"names":["QuoteEmployee","props","name","department","jobTitles","link","picture","variant","renderInfo","React","className","styles","Name","AdditionalInfo","length","List","items","renderItem","title","JobTitle","key","JobTitles","Department","classNames","concat","Picture","_extends","Image","PicturePlaceholder","Info","href","Link","type","LinkType","Clear","QuoteSection","id","quote","employeeInfo","employeeVariant","PageSection","Inner","IconWrapper","SvgIcon","Icon","iconName","HtmlDiv","Content","html","Employee","QuoteSectionBlock"],"sourceRoot":""}