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,WAAYpF,EAAOyE,OAAOE,OAC1Be,aAAc1F,EAAOyE,OAAOkB,WAC5BC,UAAW5F,EAAOyE,OAAOoB,aACzB/L,UAAW,kBAEXgM,QAAS,gBACcyQ,IAAjBuC,QAAuCvC,IAATsC,IAChCC,GAAa,GACbD,M,SAIHH,EAAK/S,gBA1EL,O,kFCrCEyT,EAAgB,W,IAGlBC,EAAT,WACE,MAAO,CACLlb,MAAOmb,EAAWnV,OAAOC,gBAAamS,EACtCnY,OAAQkb,EAAWnV,OAAOoV,iBAAchD,IALtC+C,GAAW,EASmBpa,GAAAA,EAAAA,EAAAA,UAASma,GAZ/C,EAYsCna,EAAiB,GAZvD,EAYsCA,EAAiB,GAerD,OAbAC,EAAAA,EAAAA,YAAU,W,IAKCqa,EAAT,WACEC,EAAcJ,MALhB,GAAKC,EASL,OADAnV,OAAOuV,iBAAiB,SAAUF,GAC3B,W,OAAMrV,OAAOwV,oBAAoB,SAAUH,MACjD,IAEII,I,kBC3BT5Q,EAAO6Q,QAAU,kjP,kBCAjB7Q,EAAO6Q,QAAU,shO,kBCAjB7Q,EAAO6Q,QAAU,2E,kBCAjB7Q,EAAO6Q,QAAU,yE,kBCAjB7Q,EAAO6Q,QAAU,sqM,kBCAjB7Q,EAAO6Q,QAAU,uE,iBCAjB7Q,EAAO6Q,QAAU,2E,kBCAjB7Q,EAAO6Q,QAAU,2E,kBCAjB7Q,EAAO6Q,QAAU,sE,kBCAjB7Q,EAAO6Q,QAAU,6E","sources":["webpack://_N_E/./components/custom/client-product-shape/components/ShapeTooltip.tsx","webpack://_N_E/./components/custom/client-product-shape/components/ResultsBreakdownTable.tsx","webpack://_N_E/./utils/useIsMobile.ts","webpack://_N_E/./components/custom/client-product-shape/index.tsx","webpack://_N_E/./components/custom/design-capabilities/index.tsx","webpack://_N_E/./components/custom/design-skill-stack/components/polarChart.tsx","webpack://_N_E/./components/custom/design-skill-stack/index.tsx","webpack://_N_E/./components/custom/gen-ai-readiness/components/bar-chart.tsx","webpack://_N_E/./components/custom/gen-ai-readiness/index.tsx","webpack://_N_E/./components/custom/pillars-of-product/components/ResultsTable.tsx","webpack://_N_E/./components/custom/pillars-of-product/components/ContactUs.tsx","webpack://_N_E/./components/custom/pillars-of-product/index.tsx","webpack://_N_E/./components/start.image.tsx","webpack://_N_E/./components/layouts/slider/page.tsx","webpack://_N_E/./components/use.window.size.ts","webpack://_N_E/./assets/images/form-start-image-black.png","webpack://_N_E/./assets/images/form-start-image-white.png","webpack://_N_E/./components/custom/design-capabilities/assets/ashley-willis.jpg","webpack://_N_E/./components/custom/design-capabilities/assets/derik-jones.jpg","webpack://_N_E/./components/custom/gen-ai-readiness/assets/dd-logo.png","webpack://_N_E/./components/custom/gen-ai-readiness/assets/header-bg.png","webpack://_N_E/./components/custom/pillars-of-product/assets/andrewklajbor.jpg","webpack://_N_E/./components/custom/pillars-of-product/assets/anthonyjardim.jpg","webpack://_N_E/./components/custom/pillars-of-product/assets/meneskum.jpg","webpack://_N_E/./components/custom/pillars-of-product/assets/vincentattonito.jpg"],"sourcesContent":["import { FC } from 'react';\nimport { HelpOutline } from '@mui/icons-material';\nimport {\n Typography,\n Tooltip,\n tooltipClasses,\n TooltipProps,\n styled,\n} from '@mui/material';\n\n// tooltip doesnt seem to like in-line styling so must use the styled() function\nconst LightTooltip = styled(({ className, ...props }: TooltipProps) => (\n \n))(({}) => ({\n [`& .${tooltipClasses.tooltip}`]: {\n backgroundColor: 'white',\n color: 'black',\n pointerEvents: 'none', // prevents mobile flickering\n },\n [`& .${tooltipClasses.arrow}`]: {\n color: 'white',\n },\n}));\n\nconst ShapeTooltip: FC = () => {\n return (\n \n \n Product Shape\n \n \n The Product Shape is a tool for product managers to evaluate their\n own talents and expertise across various areas. It is meant to aid\n in profressional development, helping product managers make more\n informed decisions about progressing their careers and enchancing\n their skills.\n \n \n }\n >\n \n \n );\n};\n\nexport default ShapeTooltip;\n","import { Typography, Grid, Stack } from '@mui/material';\nimport datatable from '@/json/client-product-shape/data.json';\n\ninterface Category {\n name: string; //table category feature name\n description: string; //table feature description\n skills: string[]; //table addtional skills\n}\n\n//removed userAnswers and questions and UserAnswer Interface because only really need scores right now\n\nexport const generateAnswersTable = (\n pillars: Array,\n scores: number[],\n isMobile: boolean\n) => {\n //Stores all of the Table\n const tableItems: Array = [];\n\n //table header styling pillarGridItemClass & pillarClass to ResultsTableHeader\n const pillarGridItemClass = {\n backgroundColor: '#86BC25',\n padding: '20px',\n border: '1px solid #000000',\n };\n const pillarClass = {\n whiteSpace: 'pre-line',\n fontSize: '1.5rem',\n fontWeight: 'bold',\n };\n // Focus Area styling\n const focusAreaClasses = [\n { backgroundColor: '#1D1D1D', border: '1px solid #000000' },\n { backgroundColor: '#1D1D1D', border: '1px solid #000000' },\n { backgroundColor: '#1D1D1D', border: '1px solid #000000' },\n { backgroundColor: '#1D1D1D', border: '1px solid #000000' },\n ];\n\n // Breakdown Chip Levels and styling\n const focusAreaLevels = ['PROFICIENT', 'SKILLED', 'EXPERT'];\n\n const focusAreaChipClasses = [\n {\n backgroundColor: '#D4D4D4',\n color: '##4F4D4D',\n border: '1px solid #4F4D4D',\n },\n {\n backgroundColor: '#A6C9FF',\n color: '#29508C',\n border: '1px solid #4F4D4D',\n },\n {\n backgroundColor: '#5187DB',\n color: '#001739',\n border: '1px solid #001739',\n },\n ];\n\n //get hardcoded tableCategories Table Data from data.json\n const categories: Category[] = datatable.tableCategories;\n\n //Desktop view: check if not mobile\n if (!isMobile) {\n // Create an array for the pillar headers\n const headerItems: Array = pillars.map((pillar, index) => (\n \n \n {pillar}\n \n \n ));\n\n tableItems.push(\n //push header item tableitems as single row\n \n {headerItems}\n \n );\n // Determine the number of full columns and any remaining items\n const numofFullColumns = Math.ceil(categories.length / 4);\n\n // Loop through rows // Iterate for the number of categories instead of <4\n for (let i = 0; i < numofFullColumns; i++) {\n const cellsArray = [];\n\n for (let j = 0; j < 4; j++) {\n //set index of category\n const categoryIndex = i + j * numofFullColumns;\n if (categoryIndex >= categories.length) {\n continue;\n }\n //Get category from index\n const category = categories[categoryIndex];\n\n const currentFocusArea = categoryIndex + 5;\n\n //Gets score based on index\n const userScoreValue = scores[categoryIndex];\n\n // Determine userFocusAreaLevel based on score\n let userFocusAreaLevel = focusAreaLevels[userScoreValue];\n\n // set chip focus level based on score\n if (userScoreValue <= 1) {\n userFocusAreaLevel = focusAreaLevels[0];\n } else if (userScoreValue > 1 && userScoreValue <= 2) {\n userFocusAreaLevel = focusAreaLevels[1];\n } else if (userScoreValue > 2) {\n userFocusAreaLevel = focusAreaLevels[2];\n }\n //set styling for chips based on focus level of chip\n const focusAreaChipClass =\n focusAreaChipClasses[focusAreaLevels.indexOf(userFocusAreaLevel)];\n\n const cell = (\n \n \n \n {userFocusAreaLevel}\n \n \n {category.name}\n \n \n \n {category.description}\n \n \n Additional Skills:

\n \n\n
    \n {category.skills.map((skill, skillIndex) => (\n
  • {skill}
  • \n ))}\n
\n \n );\n cellsArray.push(cell);\n }\n\n // Push the row into the tableItems array\n const row = (\n \n {cellsArray}\n \n );\n\n tableItems.push(row);\n }\n }\n // Check if it's a mobile screen\n if (isMobile) {\n // Determine the number of full columns and any remaining items\n\n // Loop through pillars\n for (let i = 0; i < 4; i++) {\n const numofFullColumns = Math.ceil(categories.length / 4);\n const numofRemainingItems = categories.length % 4;\n\n const header = (\n \n \n {pillars[i]}\n \n \n );\n\n // Create an array for the pillar header and its associated data\n const cellsArray = [header];\n\n const firstCellIndex = isMobile ? i * 4 : i;\n\n // Iterate through columns (four columns)\n for (\n let j = 0;\n j < numofFullColumns + (i < numofRemainingItems ? 1 : 0);\n j++\n ) {\n const currentFocusArea = j + firstCellIndex;\n\n // Calculate the categoryIndex based on the column and index to get 3 items per column\n const categoryIndex = j + i * 3;\n if (categoryIndex >= categories.length) {\n continue;\n }\n\n const category = categories[categoryIndex];\n\n // Gets score based on index\n const userScoreValue = scores[categoryIndex];\n\n // Determine userFocusAreaLevel based on scoreh\n let userFocusAreaLevel = focusAreaLevels[userScoreValue];\n\n // set chip focus level based on score\n if (userScoreValue <= 1) {\n userFocusAreaLevel = focusAreaLevels[0];\n } else if (userScoreValue > 1 && userScoreValue <= 2) {\n userFocusAreaLevel = focusAreaLevels[1];\n } else if (userScoreValue > 2) {\n userFocusAreaLevel = focusAreaLevels[2];\n }\n //set styling for chips based on focus level of chip\n const focusAreaChipClass =\n focusAreaChipClasses[focusAreaLevels.indexOf(userFocusAreaLevel)];\n\n const cell = (\n \n \n \n {userFocusAreaLevel}\n \n \n {category.name}\n \n \n {category.description}\n \n \n Additional Skills:

\n \n\n
    \n {category.skills.map((skill, skillIndex) => (\n
  • {skill}
  • \n ))}\n
\n
\n \n );\n cellsArray.push(cell);\n }\n\n // Push the row into the tableItems array\n const row = (\n \n {cellsArray}\n \n );\n\n tableItems.push(row);\n }\n }\n\n return tableItems;\n};\n","import { useState, useEffect } from 'react';\n\n// https://stackoverflow.com/questions/11381673/detecting-a-mobile-browser\nconst useIsMobile = () => {\n const [isMobile, setIsMobile] = useState(false);\n\n useEffect(() => {\n // does not count tablets as mobile\n setIsMobile(\n /(android|bb\\d+|meego).+mobile|avantgo|bada\\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(\n navigator.userAgent\n ) ||\n /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\\-(n|u)|c55\\/|capi|ccwa|cdm\\-|cell|chtm|cldc|cmd\\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\\-s|devi|dica|dmob|do(c|p)o|ds(12|\\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\\-|_)|g1 u|g560|gene|gf\\-5|g\\-mo|go(\\.w|od)|gr(ad|un)|haie|hcit|hd\\-(m|p|t)|hei\\-|hi(pt|ta)|hp( i|ip)|hs\\-c|ht(c(\\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\\-(20|go|ma)|i230|iac( |\\-|\\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\\/)|klon|kpt |kwc\\-|kyo(c|k)|le(no|xi)|lg( g|\\/(k|l|u)|50|54|\\-[a-w])|libw|lynx|m1\\-w|m3ga|m50\\/|ma(te|ui|xo)|mc(01|21|ca)|m\\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\\-2|po(ck|rt|se)|prox|psio|pt\\-g|qa\\-a|qc(07|12|21|32|60|\\-[2-7]|i\\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\\-|oo|p\\-)|sdk\\/|se(c(\\-|0|1)|47|mc|nd|ri)|sgh\\-|shar|sie(\\-|m)|sk\\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\\-|v\\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\\-|tdg\\-|tel(i|m)|tim\\-|t\\-mo|to(pl|sh)|ts(70|m\\-|m3|m5)|tx\\-9|up(\\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\\-|your|zeto|zte\\-/i.test(\n navigator.userAgent.substring(0, 4)\n )\n );\n }, [navigator.userAgent]);\n\n return isMobile;\n};\n\nexport default useIsMobile;\n","import { useState, useEffect, CSSProperties } from 'react';\nimport {\n Chart as ChartJS,\n RadialLinearScale,\n PointElement,\n LineElement,\n Filler,\n Tooltip,\n Legend,\n} from 'chart.js';\nimport { Radar } from 'react-chartjs-2';\nimport {\n Box,\n Grid,\n Typography,\n Modal,\n CircularProgress,\n Chip,\n} from '@mui/material';\nimport { saveAs } from 'file-saver';\nimport { StyledButton } from '@/components/styled/button';\nimport html2canvas from 'html2canvas';\nimport ShapeTooltip from './components/ShapeTooltip';\nimport { generateAnswersTable } from './components/ResultsBreakdownTable';\nimport useIsMobile from '@/lib/useIsMobile';\nimport { Header } from '@/components/header';\n\nconst AGGREGATED_SUBMISSION = `AGGREGATED_SUBMISSION`;\n\nconst findMinMax = (\n categories: { name: string; maxScore: number }[],\n scores: number[],\n findMin: boolean\n) => {\n let minCategory: { name: string; score: number } = { name: '', score: 4 };\n let maxCategory: { name: string; score: number } = { name: '', score: -1 };\n for (let i = 0; i < scores.length; i++) {\n if (scores[i] > maxCategory.score) {\n maxCategory = { name: categories[i].name, score: scores[i] };\n } else if (scores[i] < minCategory.score) {\n minCategory = { name: categories[i].name, score: scores[i] };\n }\n }\n\n if (findMin) {\n return minCategory;\n } else {\n return maxCategory;\n }\n};\n\nconst ClientProductShape = ({\n scores,\n design,\n jsonData,\n questions,\n userAnswers,\n}: any) => {\n ChartJS.register(\n RadialLinearScale,\n PointElement,\n LineElement,\n Filler,\n Tooltip,\n Legend,\n {\n id: 'custom_canvas_background_color',\n beforeDraw: (chart) => {\n const ctx = chart.canvas.getContext('2d');\n ctx!.save();\n ctx!.globalCompositeOperation = 'destination-over';\n ctx!.fillStyle = 'rgba(32, 32, 32, 1)';\n ctx!.fillRect(0, 0, chart.width, chart.height);\n ctx!.restore();\n },\n }\n );\n const isMobile = useIsMobile();\n\n const [saving, setSaving] = useState(false);\n const firstName =\n userAnswers\n .find((a: any) => a.questionId === 'YVB4B7')\n ?.data.replace(/\\\"/g, '') ?? '';\n const lastName =\n userAnswers\n .find((a: any) => a.questionId === 'Q1zgd7')\n ?.data.replace(/\\\"/g, '') ?? '';\n const teamName =\n userAnswers\n .find((a: any) => a.questionId === 'K7yoMV')\n ?.data.replace(/\\\"/g, '') ?? '';\n\n useEffect(() => {\n if (saving) {\n saveResults();\n stopSaving();\n }\n }, [saving]);\n\n const saveResults = async () => {\n const endPage = document.getElementById('save-div');\n const canvas = await html2canvas(endPage!);\n canvas.toBlob(function (blob) {\n saveAs(blob!, 'client-product-shape-chart.png');\n });\n };\n\n // used to show saving modal for a second, without it modal just flashes in and out\n const stopSaving = async () => {\n const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));\n await sleep(1000);\n setSaving(false);\n };\n\n const saveChart = () => {\n //save to png\n const canvasSave = document.getElementById('client-product-shape-chart');\n // @ts-ignore: Object is possibly 'null'.\n canvasSave.toBlob(function (blob) {\n saveAs(blob, 'client-product-shape-chart.png');\n });\n };\n\n // console.log(chart.config.options) to see this object\n const chartData = {\n labels: jsonData.chartCategories,\n datasets: [\n {\n label: 'Shape',\n data: scores,\n backgroundColor: 'rgba(134, 188, 37, 0.2)',\n borderColor: 'rgba(134, 188, 37, 1)',\n color: 'rgba(255, 255, 255, 0.75)',\n borderWidth: 1,\n },\n ],\n };\n\n // console.log(chart.config.options) to see this object\n const chartOptions: {\n plugins: {\n legend: {\n display: boolean;\n position: any;\n };\n };\n scales: {\n r: {\n min: number;\n max: number;\n ticks: {\n stepSize: number;\n callback: any;\n };\n grid: {\n color: string;\n lineWidth: number;\n };\n pointLabels: any;\n };\n };\n } = {\n plugins: {\n legend: {\n display: true,\n position: 'bottom',\n },\n },\n scales: {\n r: {\n min: 0,\n max: 3,\n ticks: {\n stepSize: 1,\n callback: function (index: number): string {\n switch (index) {\n case 1:\n return 'Proficient';\n case 2:\n return 'Skilled';\n case 3:\n return 'Expert';\n default:\n return '';\n }\n },\n },\n grid: {\n color: 'rgba(255, 255, 255, 0.75)',\n lineWidth: 2,\n },\n pointLabels: {\n /* Adjust data label font size according to chart size */\n font: {\n size: window.innerWidth >= 600 ? 14 : 8,\n },\n color: 'rgba(255, 255, 255, 1)',\n },\n },\n },\n };\n\n const modalStyling: CSSProperties = {\n position: 'absolute' as 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n border: `2px solid ${design.colors.question}`,\n borderRadius: '8px',\n backgroundColor: 'design.colors.background',\n color: design.colors.button,\n padding: '40px',\n };\n\n return (\n \n \n \n \n \n \n
\n
\n \n \n \n {/* PM Name's or Team Name's Product Shape Overview */}\n {firstName !== AGGREGATED_SUBMISSION &&\n lastName !== AGGREGATED_SUBMISSION\n ? `${firstName} ${lastName}`\n : `${teamName}`}\n {`'s Product Shape Overview`}\n \n \n \n \n Thank you for taking the time to complete the survey! Your results\n have been used to create the product shape below.\n

The Product Shape is a tool for product managers to\n evaluate their own talents and expertise across various areas.\n \n
\n {!saving && !isMobile && (\n setSaving(true)}\n style={{\n fontWeight: 'bold',\n width: '300px',\n marginBottom: '4rem',\n borderRadius: 16,\n }}\n disableRipple\n >\n Download Survey results\n \n )}\n {/* Product shape, areas of growth and tooltip: */}\n \n \n \n Product Shape\n {!saving && }\n \n \n\n \n \n \n \n \n \n \n \n \n = 900 ? '4rem' : ''}>\n \n {window.innerWidth >= 600\n ? `Current Strong Area`\n : `Current\\nStrong Area`}\n \n \n {findMinMax(jsonData.categories, scores, false).name}\n \n \n \n \n = 900 ? '4rem' : ''}>\n \n {window.innerWidth >= 600\n ? `Current Growth Area`\n : `Current\\nGrowth Area`}\n \n \n {findMinMax(jsonData.categories, scores, true).name}\n \n \n \n \n \n \n \n\n {/* Shape breakdown table: */}\n \n \n Product Shape Breakdown\n \n\n = 900 ? 'left' : 'center'}\n marginBottom='20px'\n flexWrap='wrap'\n >\n \n Legend\n \n \n = 600 ? '14px' : '10px',\n }}\n />\n = 600 ? '14px' : '10px',\n }}\n />\n = 600 ? '14px' : '10px',\n }}\n />\n \n \n {/* Add space btween table and bottom of page */}\n \n {/* Calls results table function to create table removed userAnswers and questions because only really need scores */}\n {generateAnswersTable(\n [\n 'Product Design &\\nExecution',\n 'User &\\nExperience',\n 'Business &\\nMarketing',\n 'Leadership &\\nManagement',\n ],\n scores,\n window.innerWidth <= 900\n )}\n \n \n \n
\n
\n );\n};\n\nexport default ClientProductShape;\n","import { useState, useEffect, CSSProperties } from 'react';\nimport {\n Chart as ChartJS,\n RadialLinearScale,\n PointElement,\n LineElement,\n Filler,\n Tooltip,\n Legend,\n} from 'chart.js';\nimport { Radar } from 'react-chartjs-2';\nimport {\n Box,\n Grid,\n Typography,\n Link,\n Stack,\n Modal,\n CircularProgress,\n} from '@mui/material';\nimport { saveAs } from 'file-saver';\nimport { StyledButton } from '@/components/styled/button';\nimport { FormPublicFieldFragment } from 'graphql/fragment/form.public.fragment';\nimport MenuBookTwoToneIcon from '@mui/icons-material/MenuBookTwoTone';\nimport OpenInNewIcon from '@mui/icons-material/OpenInNew';\nimport { lighten } from 'polished';\nimport html2canvas from 'html2canvas';\nimport {\n generateAnswersTable,\n generateTableLegend,\n} from '../pillars-of-product/components/ResultsTable';\nimport Supporter from '../pillars-of-product/components/Supporter';\nimport DerikJones from './assets/derik-jones.jpg';\nimport AshleyWillis from './assets/ashley-willis.jpg';\n\ninterface UserAnswer {\n field: string; // question id\n data: string; // user chosen question answer\n}\n\nconst DesignCapabilitiesShape = ({\n scores,\n design,\n jsonData,\n questions,\n userAnswers,\n}: any) => {\n ChartJS.register(\n RadialLinearScale,\n PointElement,\n LineElement,\n Filler,\n Tooltip,\n Legend,\n {\n id: 'custom_canvas_background_color',\n beforeDraw: (chart) => {\n const ctx = chart.canvas.getContext('2d');\n ctx!.save();\n ctx!.globalCompositeOperation = 'destination-over';\n ctx!.fillStyle = '#000000';\n ctx!.fillRect(0, 0, chart.width, chart.height);\n ctx!.restore();\n },\n }\n );\n\n const [saving, setSaving] = useState(false);\n\n const saveResults = async () => {\n const endPage = document.getElementById('endpage-div');\n const canvas = await html2canvas(endPage!);\n canvas.toBlob(function (blob) {\n saveAs(blob!, 'design-capabilities-chart.png');\n });\n };\n\n // used to show saving modal for a second, without it modal just flashes in and out\n const stopSaving = async () => {\n const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));\n await sleep(1000);\n setSaving(false);\n };\n\n useEffect(() => {\n if (saving) {\n saveResults();\n stopSaving();\n }\n }, [saving]);\n\n const modalStyling: CSSProperties = {\n position: 'absolute' as 'absolute',\n top: '50%',\n left: '50%',\n transform: 'translate(-50%, -50%)',\n border: `2px solid ${design.colors.question}`,\n borderRadius: '8px',\n backgroundColor: design.colors.background,\n color: design.colors.button,\n padding: '40px',\n };\n\n const saveChart = () => {\n //save to png\n const canvasSave = document.getElementById('pillars-of-product-chart');\n // @ts-ignore: Object is possibly 'null'.\n canvasSave.toBlob(function (blob) {\n saveAs(blob, 'pillars-of-product-chart.png');\n });\n };\n\n // console.log(chart.config.options) to see this object\n const chartData = {\n labels: jsonData.chartCategories,\n datasets: [\n {\n label: 'Shape',\n data: scores,\n backgroundColor: 'rgba(134, 188, 37, 0.2)',\n borderColor: 'rgba(134, 188, 37, 1)',\n color: 'rgba(255, 255, 255, 0.75)',\n borderWidth: 1,\n },\n ],\n };\n\n // console.log(chart.config.options) to see this object\n const chartOptions: {\n plugins: {\n legend: {\n display: boolean;\n };\n };\n scales: {\n r: {\n min: number;\n max: number;\n ticks: {\n stepSize: number;\n callback: any;\n };\n grid: {\n color: string;\n lineWidth: number;\n };\n pointLabels: any;\n };\n };\n } = {\n plugins: {\n legend: {\n display: false,\n },\n },\n scales: {\n r: {\n min: 0,\n max: 3,\n ticks: {\n stepSize: 1,\n callback: function (index: number): string {\n switch (index) {\n case 1:\n return 'Lagging';\n case 2:\n return 'Sustainable';\n case 3:\n return 'Leading';\n default:\n return '';\n }\n },\n },\n grid: {\n color: 'rgba(255, 255, 255, 0.75)',\n lineWidth: 2,\n },\n pointLabels: {\n /* Adjust data label font size according to chart size */\n font: function (context: { chart: { width: any } }) {\n var width = context.chart.width;\n var size = Math.round(width / 48);\n return {\n size: size,\n };\n },\n color: 'rgba(255, 255, 255, 1)',\n },\n },\n },\n };\n\n if (userAnswers.length !== 21) {\n return (\n
\n Something is wrong with the submission. The amount of answers don't\n match the amount of questions.\n
\n );\n }\n\n return (\n \n \n \n \n \n \n \n \n \n \n Thank you for completing your Design Capabilities Assessment,{' '}\n {userAnswers[0].data.replace(/\\\"/g, '')}.\n \n \n \n \n Thank you for taking the time to complete our survey on the 4\n pillars of product-centric organizational design. Your inputs have\n been scored across Deloitte's 16 dimensions of product centricity\n and ranked as Lagging, Leading, or Sustaining.\n {'\\n\\n'}This scoring is focused on delivering exceptional products\n and services to your customers. We appreciate your willingness to\n share your insights and experiences with us, and to learn more\n about Deloitte's 4 Pillars of Product Management please read our\n white paper{' '}\n {saving ? null : (\n \n here\n \n \n )}\n {'.'}\n \n \n \n \n Design Capabilities Assessment Details\n \n \n {generateAnswersTable(\n questions,\n [\n 'Process &\\nTools',\n 'Talent &\\nOrganization',\n 'Craft &\\nStrategy',\n 'Impact &\\nFuture',\n ],\n userAnswers,\n window.innerWidth <= 900\n )}\n \n \n Scoring is defined as follows:\n \n \n \n {generateTableLegend([\n 'Current operations fall below outlined standards compared to market competitors and require material structural adjustments.',\n 'Current operations are in line with outlined standards compared to market competitors but have room for growth and improvement.',\n 'Current operations exceed outlined standards compared to market competitors and differentiate from competition.​',\n ])}\n \n \n \n Your next steps\n \n \n \n \n \n \n \n Now that you have shared your insights and experiences with\n us, we invite you to take the next step and join us in our\n efforts to create more product-centric organizations. Please\n reach out to learn more about how Deloitte is leading\n organizational changes to become more product-centric.\n \n \n \n \n {saving ? null : (\n \n \n Contact\n \n setSaving(true)}\n style={{\n fontWeight: 'bold',\n width: '75%',\n }}\n disableRipple\n >\n SAVE YOUR RESULTS\n \n \n )}\n \n \n \n \n \n \n \n \n \n \n \n \n For more information, please contact us:\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default DesignCapabilitiesShape;\n","import { useEffect, useRef } from 'react';\nimport {\n Chart as ChartJS,\n RadialLinearScale,\n PolarAreaController,\n ArcElement,\n} from 'chart.js';\nimport ChartDataLabels from 'chartjs-plugin-datalabels';\n\ninterface Props {\n colors: string[];\n labels: string[];\n data: number[];\n}\n\nexport const PolarChart: React.FC = ({ data, colors, labels }) => {\n const chartRef = useRef(null);\n\n ChartJS.register(\n RadialLinearScale,\n PolarAreaController,\n ChartDataLabels,\n ArcElement\n );\n\n useEffect(() => {\n if (chartRef.current) {\n const ctx = chartRef.current.getContext('2d');\n\n if (ctx) {\n const chartData: any = {\n labels: labels,\n datasets: [\n {\n data: data,\n borderWidth: 0,\n backgroundColor: colors,\n },\n ],\n };\n\n const options: any = {\n responsive: true,\n maintainAspectRatio: false,\n\n plugins: {\n datalabels: {\n display: false,\n },\n },\n scales: {\n r: {\n pointLabels: {\n display: true,\n centerPointLabels: true,\n color: (item: any) =>\n chartData.datasets[0].backgroundColor[item.index],\n font: {\n size: 13,\n weight: 'bold',\n },\n },\n min: 0,\n grid: {\n color: '#F1F1F1',\n max: 5,\n },\n max: 5,\n ticks: {\n color: '#F1F1F1',\n showLabelBackdrop: false,\n stepSize: 1.0,\n },\n },\n },\n };\n\n // Create the polar chart\n const myChart = new ChartJS(chartRef.current, {\n type: 'polarArea',\n data: chartData,\n options: options,\n });\n\n // We need to destroy the reference to plot multiple graphs on the same page\n return () => {\n myChart.destroy();\n };\n }\n }\n }, [chartRef, data]);\n\n return (\n \n \n \n );\n};\n","import dynamic from 'next/dynamic';\nimport {\n Backdrop,\n Box,\n Button,\n CircularProgress,\n Grid,\n Typography,\n} from '@mui/material';\nimport { PolarChart } from './components/polarChart';\nimport { Footer } from './components/footer';\nimport { ShareResults } from './components/shareResults';\nimport { useRef, useState } from 'react';\nimport { KeyResultsDialog } from './components/keyResultsDialog';\nimport ArrowForwardIosIcon from '@mui/icons-material/ArrowForwardIos';\nimport DesignSkillStackJson from '@/json/design-skill-stack/data.json';\nimport { useMemo } from 'react';\nimport { ScoringData, SubCategory } from './types';\nimport parse from 'html-react-parser';\n\nconst CardWithDonutChart = dynamic(() =>\n import('./components/cardWithDonutChart').then(\n (module) => module.CardWithDonutChart\n )\n);\n\nconst CategoryTotalWithDonutChart = dynamic(() =>\n import('./components/categoryTotalWithDonutChart').then(\n (module) => module.CategoryTotalWithDonutChart\n )\n);\n\nconst CategoryAccordion = dynamic(() =>\n import('./components/categoryAccordion').then(\n (module) => module.CategoryAccordion\n )\n);\n\nconst openGlossaryPdf = () => {\n window.open('/DSS-glossary-definitions.pdf');\n};\n\nconst DesignSkillStackResults = ({\n design,\n submissionData,\n submissionId,\n}: any) => {\n const [openKeyDialog, setOpenKeyDialog] = useState(false);\n const [loading, setLoading] = useState(false);\n const targetRef = useRef(null);\n\n const formatScore = (total: number, divisor: number): number => {\n return Math.round((total / divisor) * 10) / 10 || 0;\n };\n\n const scoringData: ScoringData[] | undefined = useMemo(() => {\n if (submissionData && DesignSkillStackJson) {\n // Merging the field/submission data and data from local JSON\n const mergedSubmissions = submissionData.submission.fields.map(\n (submission: any) => {\n const fieldFromJson = DesignSkillStackJson.questions.find(\n (question) => {\n if (question.questionId === submission.field.id) {\n return question;\n }\n }\n );\n\n return {\n ...submission,\n ...fieldFromJson,\n };\n }\n );\n\n // Removing unecessary data since there are 2 fields per slide.\n const removeDuplicates: any[] = [];\n mergedSubmissions.forEach((item: any) => {\n const findMatch = mergedSubmissions.find(\n (ms: any) => ms.slideNumber === item.slideNumber && ms.id !== item.id\n );\n\n if (item.experience) {\n const updated = {\n ...item,\n ...{\n experience: parseInt(item.value.replace('\"', '')) || 0,\n aspiration: parseInt(findMatch.value.replace('\"', '')) || 0,\n },\n };\n removeDuplicates.push(updated);\n }\n });\n\n // Constructing scoring data to build components on results page\n const categoryData = DesignSkillStackJson.categories.map(\n (category, categoryIndex) => {\n let subCategories: SubCategory[] = [];\n let categoryAspiration: number = 0;\n let categoryExperience: number = 0;\n if (category?.subCategories) {\n subCategories = category.subCategories.map(\n (subCategory: any, subCategoryIndex) => {\n let aspirationTotal: number = 0;\n let experienceTotal: number = 0;\n const filteredSubCategories = removeDuplicates.filter(\n (question) => {\n if (\n question.category === category.id &&\n question.subCategory === subCategory.id\n ) {\n aspirationTotal += question.aspiration;\n experienceTotal += question.experience;\n\n return {\n name: question.name,\n experience: question.experience,\n aspiration: question.aspiration,\n };\n }\n }\n );\n\n categoryAspiration += formatScore(\n aspirationTotal,\n filteredSubCategories.length\n );\n categoryExperience += formatScore(\n experienceTotal,\n filteredSubCategories.length\n );\n\n return {\n name: subCategory.name,\n id: `cat-${categoryIndex}-subCat-${subCategoryIndex}`,\n questions: filteredSubCategories,\n experience: formatScore(\n experienceTotal,\n filteredSubCategories.length\n ),\n aspiration: formatScore(\n aspirationTotal,\n filteredSubCategories.length\n ),\n experienceColors: subCategory?.experienceColors,\n aspirationColors: subCategory?.aspirationColors,\n };\n }\n );\n }\n\n return {\n name: category.name,\n stackDescription: category.stackDescription,\n description: category.description,\n aspiration: formatScore(categoryAspiration, subCategories.length),\n experience: formatScore(categoryExperience, subCategories.length),\n experienceColors: category.experienceColors,\n aspirationColors: category.aspirationColors,\n subCategories: subCategories,\n id: `cat${categoryIndex}`,\n };\n }\n );\n\n return categoryData;\n }\n }, [submissionData]);\n\n const firstName: string = useMemo(() => {\n if (submissionData) {\n const field = submissionData.submission.fields.find(\n (item: any) => item.field.id === 'J7NL5V'\n );\n return field?.value.replaceAll('\"', '');\n }\n return '';\n }, [submissionData]);\n\n const polarChartData = useMemo(() => {\n const scores: number[] = [];\n if (scoringData && scoringData[6]) {\n scoringData[6].subCategories[0].questions.map((question) => {\n scores.push(question.aspiration);\n scores.push(question.experience);\n return;\n });\n }\n return scores;\n }, [scoringData]);\n\n return (\n \n {loading && (\n \n \n \n )}\n \n {\n setOpenKeyDialog(true);\n }}\n endIcon={}\n sx={{ color: 'white', ':hover': { backgroundColor: '#2b2b2b' } }}\n >\n Key\n \n }\n sx={{ color: 'white', ':hover': { backgroundColor: '#2b2b2b' } }}\n onClick={openGlossaryPdf}\n >\n Glossary\n \n \n \n \n {\n setOpenKeyDialog(false);\n }}\n />\n \n \n Congrats, {firstName ? firstName : ''}!
You've completed the\n Design SkillStack survey.\n \n \n Now that you've taken inventory of your skills, where do you want{' '}\n to go? And how do you wantto get there?\n
\n
Remember, this is all about YOU! Your results are a\n baseline to see what you've accomplished, and how much real world\n experience you have. Use this data to inform your career\n aspirations. Let this information be a springboard from which you\n and your coach set your professional goals, and measure your\n progress over time.\n
\n
And if you're a master in a certain subject, make it known.\n Let us know so we can create opportunities for you to teach and\n mentor peers who want to learn from you.\n \n \n \n \n Your Results\n \n {/* DATES WILL BE NEEDED FOR MVP2 */}\n {/* \n Inventory TAKEN 06/12/24\n \n \n PREVIOUS RESULTS 01/02/24, 06/27/23\n */}\n \n
\n \n \n \n \n \n Stack Categories\n \n\n \n \n {scoringData && scoringData[0] && (\n \n )}\n \n \n {scoringData && scoringData[1] && (\n \n )}\n \n \n {scoringData && scoringData[2] && (\n \n )}\n \n \n \n \n {scoringData && scoringData[3] && (\n \n )}{' '}\n \n \n {scoringData && scoringData[4] && (\n \n )}{' '}\n \n \n {scoringData && scoringData[5] && (\n \n )}{' '}\n \n \n \n \n \n \n \n \n Craft Overview\n \n \n Design-led Product & Engineering (DP&E) consists of practitioners\n that span across the crafts of User Experience Research (UXR),\n Design Strategy (XS), User Experience Design (UX), Visual Design\n (UI), Product Design (PD), and Extended Reality Design (XR).\n Although each of us is aligned to one discipline, most of us have\n skills from one or more of the other disciplines.\n \n \n Here's where you lie experience and aspirations-wise.\n \n \n \n \n \n \n \n {scoringData?.map((sd) => (\n <>\n {sd.id !== 'cat7' && sd.id !== 'cat6' && (\n <>\n \n \n \n \n {sd.name}\n \n \n {parse(sd.description)}\n \n \n \n \n \n \n \n \n \n \n \n \n \n )}\n \n ))}\n \n \n Share your results with your coach\n \n \n Have a conversation about your experience and aspirations.\n \n \n \n