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AAyBC,GAMvB,MAAO,CACLf,SAFEe,EAHFC,KACEC,SAAYC,YAwBlB,CAAwCnB","sources":["webpack://_N_E/./src/shared/components/Layout.js","webpack://_N_E/./src/shared/components/ListPage/index.js","webpack://_N_E/./src/shared/components/Section.js","webpack://_N_E/./src/shared/components/WebLogImage.js"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React, { PureComponent } from 'react';\n\nclass Layout extends PureComponent {\n render() {\n const { children } = this.props;\n return <>{children};\n }\n}\n\nLayout.propTypes = {\n children: PropTypes.node.isRequired,\n};\n\nexport default Layout;\n","import { css, jsx } from '@emotion/core';\nimport { Pagination, Skeleton } from 'antd';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport Container from '@/src/shared/components/Container';\nimport Head from '@/src/shared/components/Head';\nimport Hero from '@/src/shared/components/Hero';\nimport Layout from '@/src/shared/components/Layout';\nimport ResultCard from '@/src/shared/components/ResultCard';\nimport Section from '@/src/shared/components/Section';\nimport WebLogImage from '@/src/shared/components/WebLogImage';\nimport { colors, space } from '@/styles';\nimport { getPath } from '@/utils/utils';\n\nconst style = {\n resultsContainer: css`\n background-color: ${colors.accentGrayUltralight};\n @media print {\n background-color: ${colors.white};\n margin-top: 0px;\n }\n `,\n noHero: noHero =>\n noHero\n ? css`\n padding-top: 0 !important;\n margin-top: -30px;\n `\n : css``,\n noPrint: css`\n ${space.m.b20};\n @media print {\n display: none;\n }\n `,\n};\n\nconst ListPage = props => {\n const {\n results,\n pageSize,\n title,\n heroContent,\n renderResultSubtitle,\n truncateResultSummary,\n pagination,\n current,\n handlePaginationChange,\n renderBeforeList,\n loading,\n overrideLast = false,\n noHero,\n noResultsDisplay,\n statecode,\n } = props;\n\n const filteredResults = (results || []).slice((current - 1) * pageSize, current * pageSize);\n\n const hasResults =\n results &&\n ((results.length && results.length > 1) ||\n (results.length === 1 && results[0].SitePageId !== 0));\n\n const noResults =\n noResultsDisplay !== undefined ? noResultsDisplay :

No recent entries found.

;\n\n return (\n \n {title && title.length ? : null}\n\n {!noHero && (\n \n {heroContent}\n \n )}\n
\n \n {renderBeforeList()}\n {loading ? (\n <>\n {pagination && }\n \n \n \n \n ) : (\n <>\n {pagination && hasResults ? (\n \n ) : null}\n\n {hasResults\n ? filteredResults.map(result => {\n const [as, href] = getPath(result.Cat1Id, result.SitePageId);\n return (\n \n );\n })\n : noResults}\n {pagination && hasResults ? (\n \n ) : null}\n \n )}\n \n
\n \n
\n );\n};\n\nListPage.propTypes = {\n heroContent: PropTypes.oneOfType([PropTypes.node, PropTypes.arrayOf(PropTypes.node)]),\n title: PropTypes.oneOfType([PropTypes.string, PropTypes.node]).isRequired,\n results: PropTypes.arrayOf(PropTypes.object).isRequired,\n pageSize: PropTypes.number,\n renderResultSubtitle: PropTypes.func,\n truncateResultSummary: PropTypes.bool,\n pagination: PropTypes.bool,\n current: PropTypes.number,\n handlePaginationChange: PropTypes.func,\n renderBeforeList: PropTypes.func,\n loading: PropTypes.bool,\n};\n\nListPage.defaultProps = {\n heroContent: null,\n pageSize: 1000,\n renderResultSubtitle: result => new Date(result.PublishDate).toLocaleDateString(),\n truncateResultSummary: false,\n pagination: false,\n current: 1,\n handlePaginationChange: () => {},\n renderBeforeList: () => null,\n loading: false,\n};\n\nexport default ListPage;\n","import { css, jsx } from '@emotion/react';\nimport PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { bp, colors } from '@/styles';\n\nconst style = {\n section: halfPad => {\n const paddingValue = halfPad ? 20 : 40;\n return css`\n padding-top: ${paddingValue}px;\n padding-bottom: ${paddingValue}px;\n @media ${bp.md} {\n padding-top: ${paddingValue * 2}px;\n padding-bottom: ${paddingValue * 2}px;\n }\n @media print {\n padding-top: 28px !important;\n padding-bottom: 28px !important;\n }\n &:empty {\n padding: 0;\n }\n `;\n },\n theme: {\n white: css`\n background-color: ${colors.white};\n `,\n gray: css`\n background-color: ${colors.accentGrayUltralight};\n `,\n blue: css`\n color: ${colors.white};\n background-color: ${colors.secondaryBlue};\n `,\n },\n};\n\nconst Section = ({ bgColor, children, halfPad, ...props }) => {\n return (\n
\n {children}\n
\n );\n};\n\nSection.propTypes = {\n bgColor: PropTypes.oneOf(['gray', 'white', 'blue']),\n children: PropTypes.node.isRequired,\n halfPad: PropTypes.bool,\n};\n\nSection.defaultProps = {\n bgColor: 'white',\n halfPad: false,\n};\n\nexport default Section;\n","import { css } from '@emotion/core';\nimport { useRouter } from 'next/router';\nimport PropTypes from 'prop-types';\nimport React from 'react';\nimport { connect } from 'react-redux';\n\nconst style = {\n weblogImg: css`\n display: none;\n `,\n};\n\nconst host = process.env.API_ROOT;\nconst isBrowser = typeof window !== 'undefined';\n\nconst WebLogImage = props => {\n const { personId, path, sitePageId, title, pagedata, browserPath } = props;\n\n const router = useRouter();\n const { query } = router;\n const source = query.source ? query.source : 'web';\n const pageTitle = title || pagedata.MetaTitle || 'APCIA';\n const url =\n browserPath && isBrowser\n ? `${host}${window.location.pathname}`\n : `${host}${path}${sitePageId ? '/' : ''}${sitePageId}`;\n\n const src = `/pciwebsite/weblogging/Log/Create?url=${url}&id=${sitePageId}&personid=${personId}&source=${source}&title=${pageTitle}`;\n\n return \"web;\n};\n\nfunction mapStateToProps(state) {\n const {\n auth: {\n userinfo: { PersonID },\n },\n } = state;\n return {\n personId: PersonID,\n };\n}\n\nWebLogImage.propTypes = {\n path: PropTypes.string,\n sitePageId: PropTypes.oneOfType([PropTypes.number, PropTypes.string]),\n title: PropTypes.string,\n pagedata: PropTypes.object,\n browserPath: PropTypes.bool,\n};\n\nWebLogImage.defaultProps = {\n path: '',\n sitePageId: '',\n title: '',\n pagedata: {},\n browserPath: false,\n};\n\nexport default connect(mapStateToProps)(WebLogImage);\n"],"names":["Layout","children","this","props","PureComponent","style","resultsContainer","css","colors","noHero","noPrint","space","ListPage","results","pageSize","title","heroContent","renderResultSubtitle","truncateResultSummary","pagination","current","handlePaginationChange","renderBeforeList","loading","overrideLast","noResultsDisplay","statecode","filteredResults","slice","hasResults","length","SitePageId","noResults","undefined","size","avatar","onChange","total","map","result","getPath","Cat1Id","as","href","key","PageTitle","subtitle","summary","ExecutiveSummary","truncate","summaryLimit","iconVisible","browserPath","sitePageId","defaultProps","Date","PublishDate","toLocaleDateString","section","halfPad","paddingValue","bp","theme","white","gray","blue","Section","bgColor","weblogImg","host","process","WebLogImage","personId","path","pagedata","query","useRouter","source","pageTitle","MetaTitle","url","window","location","pathname","src","alt","connect","state","auth","userinfo","PersonID"],"sourceRoot":""}