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AQvI,OAAOyI,SAASD,GAAa,CACrC,MAAMlK,EAASiK,EAAQC,GACvBzG,EAAK2G,MAAQpH,OAAO+G,WAAWM,SAASC,SAASC,eAAe9G,EAAKwE,IAAKjI,EAAOwK,SACjFxH,OAAO+G,WAAWjH,MAAMwH,SAASC,eAAe9G,EAAKwE,IAAKjI,EAAOwK,QAErE,MACIC,QAAQC,KAAK,UAAUjH,8BAC3B,GAGR,C","sources":["webpack:///./src/data/barchart2.csv?7ea8","webpack:///./src/data/barchart5.csv?5b7a","webpack:///./src/data/fig2-custom-bars.js?861a","webpack:///./src/data/fig5-custom-bars.js?5634","webpack:///./src/data/linechart-est-attempts-age.js?b643","webpack:///./src/data/ sync nonrecursive \\.js$?4f3b","webpack:///webpack/bootstrap?7f80","webpack:///webpack/runtime/compat get default export?8f79","webpack:///webpack/runtime/define property getters?6c9f","webpack:///webpack/runtime/hasOwnProperty shorthand?8bc5","webpack:///webpack/runtime/make namespace object?7a79","webpack:///./src/hydrate.js?c6a2"],"sourcesContent":["module.exports = [{\"category\":\"Overall\",\"name\":\"Total\",\"Personally had a court case\":23,\"Household had a court case\":35},{\"category\":\"Education\",\"name\":\"High school or less\",\"Personally had a court case\":27,\"Household had a court case\":39},{\"category\":\"Education\",\"name\":\"Some college\",\"Personally had a court case\":29,\"Household had a court case\":41},{\"category\":\"Education\",\"name\":\"College graduate \",\"Personally had a court case\":16,\"Household had a court case\":28},{\"category\":\"Gender\",\"name\":\"Female\",\"Personally had a court case\":18,\"Household had a court case\":32},{\"category\":\"Gender\",\"name\":\"Male\",\"Personally had a court case\":28,\"Household had a court case\":38},{\"category\":\"Party\",\"name\":\"Democrat\",\"Personally had a court case\":19,\"Household had a court case\":32},{\"category\":\"Party\",\"name\":\"Republican\",\"Personally had a court case\":27,\"Household had a court case\":39},{\"category\":\"Race\",\"name\":\"Asian\",\"Personally had a court case\":7,\"Household had a court case\":19},{\"category\":\"Race\",\"name\":\"Black, non-Hispanic\",\"Personally had a court case\":24,\"Household had a court case\":39},{\"category\":\"Race\",\"name\":\"White, non-Hispanic\",\"Personally had a court case\":25,\"Household had a court case\":37},{\"category\":\"Race\",\"name\":\"Hispanic\",\"Personally had a court case\":17,\"Household had a court case\":29},{\"category\":\"Race\",\"name\":\"Other\",\"Personally had a court case\":29,\"Household had a court case\":45}]","module.exports = [{\"category\":\"Overall\",\"name\":\"Total\",\"Very easy\":13,\"Somewhat easy\":26,\"Neutral\":10,\"A little hard\":33,\"Very hard\":18},{\"category\":\"Age\",\"name\":\"18-49\",\"Very easy\":12,\"Somewhat easy\":26,\"Neutral\":10,\"A little hard\":31,\"Very hard\":20},{\"category\":\"Age\",\"name\":\"50 and older\",\"Very easy\":14,\"Somewhat easy\":25,\"Neutral\":10,\"A little hard\":34,\"Very hard\":16},{\"category\":\"Education\",\"name\":\"High school or less\",\"Very easy\":14,\"Somewhat easy\":27,\"Neutral\":11,\"A little hard\":31,\"Very hard\":16},{\"category\":\"Education\",\"name\":\"Some college\",\"Very easy\":11,\"Somewhat easy\":26,\"Neutral\":12,\"A little hard\":35,\"Very hard\":16},{\"category\":\"Education\",\"name\":\"College graduate\",\"Very easy\":14,\"Somewhat easy\":24,\"Neutral\":8,\"A little hard\":33,\"Very hard\":22},{\"category\":\"Income\",\"name\":\"≤$50,000\",\"Very easy\":14,\"Somewhat easy\":22,\"Neutral\":9,\"A little hard\":35,\"Very hard\":20},{\"category\":\"Income\",\"name\":\"$50,000 to <$100,000\",\"Very easy\":10,\"Somewhat easy\":31,\"Neutral\":13,\"A little hard\":28,\"Very hard\":19},{\"category\":\"Income\",\"name\":\"$100,000 or more\",\"Very easy\":17,\"Somewhat easy\":26,\"Neutral\":8,\"A little hard\":34,\"Very hard\":15},{\"category\":\"Reason\",\"name\":\"Traffic tickets\",\"Very easy\":21,\"Somewhat easy\":25,\"Neutral\":10,\"A little hard\":32,\"Very hard\":12},{\"category\":\"Reason\",\"name\":\"Family matter\",\"Very easy\":17,\"Somewhat easy\":27,\"Neutral\":8,\"A little hard\":28,\"Very hard\":20},{\"category\":\"Role\",\"name\":\"Defendant\",\"Very easy\":12,\"Somewhat easy\":25,\"Neutral\":11,\"A little hard\":34,\"Very hard\":18},{\"category\":\"Role\",\"name\":\"Plaintiff\",\"Very easy\":15,\"Somewhat easy\":29,\"Neutral\":4,\"A little hard\":35,\"Very hard\":17}]","\nimport courtData from './barchart2.csv'\n\n\nlet cats = new Set(courtData.map(i => i[\"category\"]))\nlet catsArray = Array.from(cats)\nlet categories = {}\ncatsArray.forEach((c) => {\n    categories[c] = courtData.filter((b) => {return b.category == c}).map(d => d.name)\n})\n\nlet sortedData = []\n\ncatsArray.forEach((category, i) => {\n    sortedData.push({\n        name: category,\n        xAxis: i,\n        showInLegend: false,\n        colorIndex: 21,\n        pointPlacement: -0.15,\n        data: pullData(\"personal\", category)\n    })\n    sortedData.push({\n        name: category,\n        xAxis: i,\n        showInLegend: false,\n        colorIndex: 23,\n        pointPlacement: 0.15,\n        data: pullData(\"household\", category)\n    })\n})\n\nsortedData.push({\n    name: \"Household had a court case\",\n    colorIndex: 23,\n\n})\nsortedData.push({\n    name: \"Personally had a court case\",\n    colorIndex: 21,\n})\n\n\n\n// import categories from './barchart2-categories.json'\n    const NUM_CATEGORIES = Object.keys(categories).length\n    const MARGIN = .5;\n    const sections = Object.keys(categories);\n    const allbars = Object.values(categories).reduce((a, b) => {\n        return b.length + a\n    }, 0);\n\n// import analysis from './section2-metadata.json'\n\nfunction pullData(type, category) {\n     let subCat = categories[category];\n     // ['female', 'male']\n// look I don't know why it's not lining up\nlet adjust = subCat.length == 1 ? 0.24 : 0.2 - (subCat.length * .005)\nadjust = 0;\nlet typeLong = type == \"personal\" ? \"Personally had a court case\" : \"Household had a court case\"\nlet adjustupordown = type == \"personal\" ? (-1 * adjust) : adjust\nlet outputData = subCat.map((cat, i) => {return {seriesname: typeLong, name: cat, x: i + adjustupordown, y: courtData.filter((a) => {return a.name == cat})[0][typeLong]}})\n\nreturn outputData\n} \n\n\n\nlet widthAccumulator = 0\n\nconst generateAxis = (i) => {\n    const thesebars = categories[sections[i]].length * 2\n    const proportion = thesebars / (2 * allbars);\n    const w = ((100 - (MARGIN * (NUM_CATEGORIES))) * proportion);\n    widthAccumulator += w\n\n    return {\n        height: w + '%',\n        top: (widthAccumulator - w + (MARGIN * i) + (MARGIN / 2)) + '%',\n        offset: 0,\n        // plotLines: [{value: thesebars - .51}],\n        title: {\n            text: sections[i],\n            rotation: 0,\n            // align: \"middle\", \n            // textAlign: \"left\",\n            // offset: 235,\n            // margin: 50,\n            // x:-50,\n            useHTML: true,\n            y: 5\n        },\n        categories: categories[sections[i]],\n    }\n}\n\n// const stripTitle = (i) => {\n//     return {\n//         title: {\n//             text: i\n//         }\n//     }\n// }\n\nexport default {\n    \"chart\": {\n        \"height\": 900,\n        \"className\": \" bar griffin section2\",\n        \"type\": \"bar\",\n        \"styledMode\": true,\n        \"spacingRight\": 20,\n        \"spacingTop\": 0,\n        \"spacingBottom\": 15,\n        \"spacingLeft\": 10,\n        events: {            \n            load() {\n                const chart = this;\n                // mouseover first point to set width of tooltip, for desktop\n                if (window.innerWidth > 600) {\n                    chart.series[1].points[0].onMouseOver();\n                    chart.pointer.reset()\n                }\n                this.legend.allItems.forEach(\n                            (item) => {\n                                // disable legend mouseover and click for now\n                                item.legendItem.group.on('mouseover', () => {});  \n                                item.legendItem.group.on('click', () => {});\n                            })\n            },\n            render() {\n\n                let axes = this.axes.filter(x => x.coll == \"xAxis\")\n\n                let marginInPx = (MARGIN * this.plotHeight) / 100\n\n                 if (this.section2Grid) {\n                    this.section2Grid.destroy()\n                 }\n\n                let lines = []\n                axes.forEach((xAxis) => {\n                    let crispy = this.renderer.crispLine([\n                        ['M', 0, xAxis.pos - (marginInPx / 2)],\n                        ['L', this.plotLeft + (this.plotWidth ), xAxis.pos - (marginInPx / 2)]\n                        // ['L', this.plotLeft, xAxis.pos - (marginInPx / 2)]\n\n                    ], 1)\n                    // let crispy2 = this.renderer.crispLine([\n                    //     ['M', this.plotLeft + (this.plotWidth * 0.5), xAxis.pos - (marginInPx / 2)],\n                    //     ['L', this.plotLeft + this.plotWidth, xAxis.pos - (marginInPx / 2)]\n                    // ], 1)\n                    lines.push(...crispy)\n                    // lines.push(...crispy2)\n                })\n\n                let lastLine = this.renderer.crispLine([\n                    ['M', 0, this.plotHeight + this.plotTop],\n                    ['L', this.plotLeft + (this.plotWidth ), this.plotHeight + this.plotTop]\n                ], 1)\n                \n                // let lastLine2 = this.renderer.crispLine([\n                //     ['M', this.plotLeft + (this.plotWidth * 0.5), this.plotHeight + this.plotTop],\n                //     ['L', this.plotLeft + this.plotWidth, this.plotHeight + this.plotTop]\n                // ], 1)\n\n                lines.push(...lastLine)\n                // lines.push(...lastLine2)\n\n                this.section2Grid = this.renderer.path()\n                    .attr({\n                        stroke: '#000000',\n                        'stroke-width': 1,\n                        d: lines,\n                        zIndex: 1\n                    })\n                    .add();\n            }\n        }\n    },\n    \"title\": {\n        \"text\": \"\"\n    },\n    \"credits\": {\n        \"enabled\": false\n    },\n    \"tooltip\": {\n        // useHTML: true,\n        className: \"longtext\",\n        // headerFormat: '<span style=\"font-size: 0.8em\">{series.options.custom.parentGroup}{#if (eq series.colorIndex 9)}, {else} by {/if}{name}</span><br/>',\n        // pointFormat: \"{point.category.name}: {point.y}%  <br>\"\n        pointFormatter: function () {\n            return this.seriesname + \": <b>\" + this.y + \"%</b>\" \n            // + analysis[this.series.options.custom.parentGroup][this.series.name]\n        }\n    },\n    series: sortedData,\n    // series: [{\n    //     name: \"Overall\",\n    //     colorIndex: 9,\n    //         xAxis: 0,\n    //         data: [4.3]\n    //     },{\n    //     name: \"Sex\",\n    //     colorIndex: 0,\n    //         xAxis: 1,\n    //         // data: [\n    //         //     4.6,4.1\n    //         // ],\n    //          data: [\n    //             {x: 0.2, y: 4.6},\n    //             [1.2, 4.1]\n    //         ]\n    //     }, \n    //     {\n    //     name: \"Sex\",\n    //     colorIndex: 1,\n    //         xAxis: 1,\n    //         // data: [\n    //         //     5.6,5.1\n    //         // ],\n    //         data: [\n    //             [-0.2,5.6],\n    //             [0.8, 5.1]\n    //         ]\n    //     },  {\n    //     name: \"Race/ethnicity\",\n    //     colorIndex: 3,\n    //         xAxis: 2,\n    //         data: [4.4,\n    //             {y:4.0, ss:true},\n    //             {y:3.9, ss:true},\n    //             4.3,\n    //             4.3,\n    //             4.8,\n    //         ]\n    //     },\n    //     {\n    //     name: \"Education\",\n    //     colorIndex: 6,\n    //         xAxis: 3,\n    //         data: [4.0,\n    //             4.3,\n    //             {y:4.6, ss: true},\n    //             {y:4.6, ss: true},\n    //             4.1,\n    //         ]\n    //     },\n    //     {\n    //     name: \"Party\",\n    //     colorIndex: 7,\n    //         xAxis: 4,\n    //         data: [4.2,\n    //             4.3,\n    //             {y:5.2, ss: true},\n    //         ]\n    //     }\n\n    // ],\n    \"plotOptions\": {\n        \"bar\": {\n            grouping: false,\n            // \"groupPadding\": .5\n\n        },\n        \"series\": {\n            \"pointWidth\": 14,\n            \"crisp\": false, \n            // \"pointPadding\": .3,\n            \"dataLabels\": {\n                \"enabled\": false,\n                inside: false,\n                allowOverlap: true,\n                padding:1,\n                x:5,\n                verticalAlign: \"middle\",\n                // filter: {\n                //     property: \"ss\",\n                //     operator: \"==\",\n                //     value: true\n                // },\n                // y: 3,\n                format: \"{point.y}%\"\n            },\n            // stacking: \"normal\",\n            borderRadius: 0,\n            \"animation\": false\n        }\n    },\n    \"legend\": {\n        \"align\": \"left\",\n        \"enabled\": true,\n        \"layout\": \"horizontal\",\n        \"verticalAlign\": \"top\",\n        \"reversed\": false,\n        \"symbolRadius\": 0\n    },\n    \"xAxis\": Array.from({\n        length: NUM_CATEGORIES\n    }, (_, i) => generateAxis(i)),\n    \"yAxis\": [{\n            tickInterval: 10,\n            \"labels\": {\n                format: \"{value}%\"\n            },\n            // max: 100,\n            // width: \"40%\",\n            \"title\": {\n                text: \"\"\n            },\nopposite: true\n        },\n//         {\n//             \"labels\": {\n//                 format: \"{value}%\"\n//             },\n//             max: 22,\n//             offset: 0,\n\n//             width: \"50%\",\n//             left: \"50%\",\n//             \"title\": {\n//                 text: \"Attempts among those with ideation (n=2,009)\"\n//             },\n// opposite: true\n//         },\n        {\n            tickInterval: 10,\n           \"labels\": {\n                format: \"{value}%\"\n            },\n            max: 100,\n            // width: \"40%\",\n            \"title\": {\n                text: \"\",\n                reserveSpace: false,\n                align: \"middle\"\n               \n            },\n            linkedTo: 0\n        },\n        // {\n            \n        //     \"labels\": {\n        //         format: \"{value}%\"\n        //     },\n        //     max: 22,\n        //     offset: 0,\n\n        //     width: \"50%\",\n        //     left: \"50%\",\n        //     \"title\": {\n        //         text: \"\"\n        //     },\n        //     linkedTo: 1\n        // }\n    ],\n    // \"responsive\": {\n    //     \"rules\": [{\n    //         \"chartOptions\": {\n    //             xAxis: Array.from({\n    //                 length: NUM_CATEGORIES\n    //             }, (_, i) => stripTitle(i)),\n    //             tooltip: {\n    //                 useHTML: false\n    //             }\n    //         },\n    //         \"condition\": {\n    //             \"maxWidth\": 600\n    //         }\n    //     }]\n    // }\n}","\nimport courtData from './barchart5.csv'\n\nlet cats = new Set(courtData.map(i => i[\"category\"]))\nlet catsArray = Array.from(cats)\nlet categories = {}\ncatsArray.forEach((c) => {\n    categories[c] = courtData.filter((b) => {return b.category == c}).map(d => d.name)\n})\n\n\nlet series = [\"Very easy\",\"Somewhat easy\",\"Neutral\",\"A little hard\",\"Very hard\"].reverse()\nlet colors = [20,19,11,22,0]\nlet sortedData = []\n\ncatsArray.forEach((category, i) => {\n    // let x = i\n    series.forEach((series, j) =>{\n        sortedData.push({\n                name: series,\n                xAxis: i,\n                showInLegend: i == j ? true : false,\n                colorIndex: colors[j],\n                data: pullData(series, category)\n            })\n    })\n  \n})\n\n// import categories from './barchart2-categories.json'\n    const NUM_CATEGORIES = Object.keys(categories).length\n    const MARGIN = 6;\n    const sections = Object.keys(categories);\n    const allbars = Object.values(categories).reduce((a, b) => {\n        return b.length + a\n    }, 0);\n\n// import analysis from './section2-metadata.json'\n\nfunction pullData(type, category) {\n     let subCat = categories[category];\n     // ['female', 'male']\n\n\nlet outputData = subCat.map((cat) => {return {seriesname: type, name: cat, y: courtData.filter((a) => {return a.name == cat})[0][type]}})\n\nreturn outputData\n} \n\n\n\nlet widthAccumulator = 0\n\nconst generateAxis = (i) => {\n    const thesebars = categories[sections[i]].length * 2\n    const proportion = thesebars / (2 * allbars);\n    const w = ((100 - (MARGIN * (NUM_CATEGORIES))) * proportion);\n    widthAccumulator += w\n\n    return {\n        height: w + '%',\n        top: (widthAccumulator - w + (MARGIN * i) + (MARGIN / 2)) + '%',\n        offset: 0,\n        // plotLines: [{value: thesebars - .51}],\n        title: {\n            text: sections[i],\n            rotation: 0,\n            // align: \"middle\", \n            // textAlign: \"left\",\n            // offset: 235,\n            // margin: 50,\n            // x:-50,\n            useHTML: true,\n            y: 5\n        },\n        categories: categories[sections[i]],\n    }\n}\n\n// const stripTitle = (i) => {\n//     return {\n//         title: {\n//             text: i\n//         }\n//     }\n// }\n\nexport default {\n    \"chart\": {\n        \"height\": 750,\n        \"className\": \" bar griffin section2\",\n        \"type\": \"bar\",\n        \"styledMode\": true,\n        \"spacingRight\": 18,\n        \"spacingTop\": 0,\n        \"spacingBottom\": 15,\n        \"spacingLeft\": 10,\n        events: {            \n            load() {\n                const chart = this;\n                // mouseover first point to set width of tooltip, for desktop\n                if (window.innerWidth > 600) {\n                    chart.series[1].points[0].onMouseOver();\n                    chart.pointer.reset()\n                }\n                this.legend.allItems.forEach(\n                            (item) => {\n                                // disable legend mouseover and click for now\n                                item.legendItem.group.on('mouseover', () => {});  \n                                item.legendItem.group.on('click', () => {});\n                            })\n            },\n            render() {\n\n                let axes = this.axes.filter(x => x.coll == \"xAxis\")\n\n                let marginInPx = (MARGIN * this.plotHeight) / 100\n\n                 if (this.section2Grid) {\n                    this.section2Grid.destroy()\n                 }\n\n                let lines = []\n                axes.forEach((xAxis) => {\n                    let crispy = this.renderer.crispLine([\n                        ['M', 0, xAxis.pos - (marginInPx / 2)],\n                        ['L', this.plotLeft + (this.plotWidth ), xAxis.pos - (marginInPx / 2)]\n                        // ['L', this.plotLeft, xAxis.pos - (marginInPx / 2)]\n\n                    ], 1)\n                    // let crispy2 = this.renderer.crispLine([\n                    //     ['M', this.plotLeft + (this.plotWidth * 0.5), xAxis.pos - (marginInPx / 2)],\n                    //     ['L', this.plotLeft + this.plotWidth, xAxis.pos - (marginInPx / 2)]\n                    // ], 1)\n                    lines.push(...crispy)\n                    // lines.push(...crispy2)\n                })\n\n                let lastLine = this.renderer.crispLine([\n                    ['M', 0, this.plotHeight + this.plotTop],\n                    ['L', this.plotLeft + (this.plotWidth ), this.plotHeight + this.plotTop]\n                ], 1)\n                \n                // let lastLine2 = this.renderer.crispLine([\n                //     ['M', this.plotLeft + (this.plotWidth * 0.5), this.plotHeight + this.plotTop],\n                //     ['L', this.plotLeft + this.plotWidth, this.plotHeight + this.plotTop]\n                // ], 1)\n\n                lines.push(...lastLine)\n                // lines.push(...lastLine2)\n\n                this.section2Grid = this.renderer.path()\n                    .attr({\n                        stroke: '#000000',\n                        'stroke-width': 1,\n                        d: lines,\n                        zIndex: 1\n                    })\n                    .add();\n            }\n        }\n    },\n    \"title\": {\n        \"text\": \"\"\n    },\n    \"credits\": {\n        \"enabled\": false\n    },\n    \"tooltip\": {\n        // useHTML: true,\n        className: \"longtext\",\n        // headerFormat: '<span style=\"font-size: 0.8em\">{series.options.custom.parentGroup}{#if (eq series.colorIndex 9)}, {else} by {/if}{name}</span><br/>',\n        // pointFormat: \"{point.category.name}: {point.y}%  <br>\"\n        pointFormatter: function () {\n            return this.seriesname + \": <b>\" + this.y + \"%</b>\" \n            // + analysis[this.series.options.custom.parentGroup][this.series.name]\n        }\n    },\n    series: sortedData,\n    // series: [{\n    //     name: \"Overall\",\n    //     colorIndex: 9,\n    //         xAxis: 0,\n    //         data: [4.3]\n    //     },{\n    //     name: \"Sex\",\n    //     colorIndex: 0,\n    //         xAxis: 1,\n    //         // data: [\n    //         //     4.6,4.1\n    //         // ],\n    //          data: [\n    //             {x: 0.2, y: 4.6},\n    //             [1.2, 4.1]\n    //         ]\n    //     }, \n    //     {\n    //     name: \"Sex\",\n    //     colorIndex: 1,\n    //         xAxis: 1,\n    //         // data: [\n    //         //     5.6,5.1\n    //         // ],\n    //         data: [\n    //             [-0.2,5.6],\n    //             [0.8, 5.1]\n    //         ]\n    //     },  {\n    //     name: \"Race/ethnicity\",\n    //     colorIndex: 3,\n    //         xAxis: 2,\n    //         data: [4.4,\n    //             {y:4.0, ss:true},\n    //             {y:3.9, ss:true},\n    //             4.3,\n    //             4.3,\n    //             4.8,\n    //         ]\n    //     },\n    //     {\n    //     name: \"Education\",\n    //     colorIndex: 6,\n    //         xAxis: 3,\n    //         data: [4.0,\n    //             4.3,\n    //             {y:4.6, ss: true},\n    //             {y:4.6, ss: true},\n    //             4.1,\n    //         ]\n    //     },\n    //     {\n    //     name: \"Party\",\n    //     colorIndex: 7,\n    //         xAxis: 4,\n    //         data: [4.2,\n    //             4.3,\n    //             {y:5.2, ss: true},\n    //         ]\n    //     }\n\n    // ],\n    \"plotOptions\": {\n        \"bar\": {\n            grouping: false,\n            // \"groupPadding\": .5\n\n        },\n        \"series\": {\n            \"pointWidth\": 18,\n            // \"pointPadding\": .3,\n            \"dataLabels\": {\n                \"enabled\": true,\n                inside: false,\n                allowOverlap: true,\n                padding:1,\n                x:5,\n                verticalAlign: \"middle\",\n                filter: {\n                    property: \"ss\",\n                    operator: \"==\",\n                    value: true\n                },\n                y: 3,\n                format: \"*\"\n            },\n            stacking: \"normal\",\n            borderRadius: 0,\n            \"animation\": false\n        }\n    },\n    \"legend\": {\n        \"align\": \"left\",\n        \"enabled\": true,\n        \"layout\": \"horizontal\",\n        \"verticalAlign\": \"top\",\n        \"reversed\": true,\n        \"symbolRadius\": 0\n    },\n    \"xAxis\": Array.from({\n        length: NUM_CATEGORIES\n    }, (_, i) => generateAxis(i)),\n    \"yAxis\": [{\n            tickInterval: 20,\n            alignTicks: false,\n            \"labels\": {\n                align: \"center\",\n                format: \"{value}%\",\n            style: {\n            textOverflow: 'none'\n    } \n            },\n            max: 100,\n            \"title\": {\n                text: \"\"\n            },\n            opposite: true\n        },\n        {\n            tickInterval: 20,\n            alignTicks: false,\n           \"labels\": {\n                align: \"center\",\n                format: \"{value}%\",\n            style: {\n            textOverflow: 'none'\n    } \n            },\n            max: 100,\n            \"title\": {\n                text: \"\",\n                // reserveSpace: false,\n                // align: \"middle\"\n            },\n            linkedTo: 0\n        },\n        // {\n            \n        //     \"labels\": {\n        //         format: \"{value}%\"\n        //     },\n        //     max: 22,\n        //     offset: 0,\n\n        //     width: \"50%\",\n        //     left: \"50%\",\n        //     \"title\": {\n        //         text: \"\"\n        //     },\n        //     linkedTo: 1\n        // }\n    ],\n\n    responsive: {\n        rules: [{\n                        \"chartOptions\": {\n              yAxis: [{tickInterval: 25, labels: {step: 2}}, {tickInterval: 25, labels: {step: 2}}]},\n            \"condition\": {\n                \"maxWidth\": 600\n            }\n        }]\n    }\n    // \"responsive\": {\n    //     \"rules\": [{\n    //         \"chartOptions\": {\n    //             xAxis: Array.from({\n    //                 length: NUM_CATEGORIES\n    //             }, (_, i) => stripTitle(i)),\n    //             tooltip: {\n    //                 useHTML: false\n    //             }\n    //         },\n    //         \"condition\": {\n    //             \"maxWidth\": 600\n    //         }\n    //     }]\n    // }\n}","export default {\n    \"chart\": {\n        \"height\": 300,\n        \"className\": \"griffin default ssr  line\",\n        styledMode: true,\n        marginRight: 38,\n        \"type\": \"line\",\n        \"spacingRight\": 20,\n        \"spacingTop\": 10,\n        \"spacingBottom\": 15,\n        \"spacingLeft\": 0\n    }, \n    \"title\": {\n        \"text\": \"\"\n    },\n    \"credits\": {\n        \"enabled\": false\n    },\n    \"series\": [{\n        \"name\": \"18-25 years\",\n        \"data\": [{\n            \"x\": 2015,\n            \"y\": 8.3\n        }, {\n            \"x\": 2016,\n            \"y\": 8.7\n        }, {\n            \"x\": 2017,\n            \"y\": 10\n        }, {\n            \"x\": 2018,\n            \"y\": 10.7\n        }, {\n            \"x\": 2019,\n            \"y\": 12.2,\n            \"trend\": 46.3,\n            \"ss\": true\n        }],\n        \"marker\": {\n            \"radius\": 4,\n            \"symbol\": \"circle\"\n        },\n        \"colorIndex\": 0\n    }, {\n        \"name\": \"26-34 years\",\n        \"data\": [{\n            \"x\": 2015,\n            \"y\": 5\n        }, {\n            \"x\": 2016,\n            \"y\": 5.2\n        }, {\n            \"x\": 2017,\n            \"y\": 5.6\n        }, {\n            \"x\": 2018,\n            \"y\": 6.1\n        }, {\n            \"x\": 2019,\n            \"y\": 6.4\n        }],\n        \"marker\": {\n            \"radius\": 4,\n            \"symbol\": \"circle\"\n        },\n        \"colorIndex\": 4\n    }, {\n        \"name\": \"35-49  years\",\n        \"data\": [{\n            \"x\": 2015,\n            \"y\": 3.5\n        }, {\n            \"x\": 2016,\n            \"y\": 3.6\n        }, {\n            \"x\": 2017,\n            \"y\": 3.7\n        }, {\n            \"x\": 2018,\n            \"y\": 3.8\n        }, {\n            \"x\": 2019,\n            \"y\": 4.1\n        }],\n        \"marker\": {\n            \"radius\": 4,\n            \"symbol\": \"circle\"\n        },\n        \"colorIndex\": 3\n    }, {\n        \"name\": \"50-64 years\",\n        \"data\": [{\n            \"x\": 2015,\n            \"y\": 2.9\n        }, {\n            \"x\": 2016,\n            \"y\": 3\n        }, {\n            \"x\": 2017,\n            \"y\": 2.9\n        }, {\n            \"x\": 2018,\n            \"y\": 2.8\n        }, {\n            \"x\": 2019,\n            \"y\": 2.7\n        }],\n        \"marker\": {\n            \"radius\": 4,\n            \"symbol\": \"circle\"\n        },\n        \"colorIndex\": 6\n    }, {\n        \"name\": \"65+ years\",\n        \"data\": [{\n            \"x\": 2015,\n            \"y\": 1.8\n        }, {\n            \"x\": 2016,\n            \"y\": 1.8\n        }, {\n            \"x\": 2017,\n            \"y\": 1.8\n        }, {\n            \"x\": 2018,\n            \"y\": 1.8\n        }, {\n            \"x\": 2019,\n            \"y\": 1.9\n        }],\n        \"marker\": {\n            \"radius\": 4,\n            \"symbol\": \"circle\"\n        },\n        \"colorIndex\": 7\n    }],\n    \"plotOptions\": {\n        \"series\": {\n            \"dataLabels\": {\n                \"enabled\": true,\n                filter: {\n                    property: \"ss\",\n                    operator: \"==\",\n                    value: true\n                },\n                    format: \"{point.trend}%\"\n            }\n        }\n    },\n    \"legend\": {\n        \"align\": \"left\",\n        \"enabled\": true,\n        \"layout\": \"horizontal\",\n        \"verticalAlign\": \"bottom\",\n        \"reversed\": false\n    },\n    \"xAxis\": {\n        \"startOfWeek\": 1,\n        \"plotBands\": [],\n        \"plotLines\": [],\n        \"categories\": null,\n        \"title\": {\n            \"text\": \"\"\n        },\n        \"reversedStacks\": false,\n        \"type\": \"linear\",\n        \"labels\": {}\n    },\n    \"yAxis\": [{min: 0, labels: {format: \"{value}%\"}, \"title\": {\n        \"text\": \"Estimates\"\n    }}],\n    \"tooltip\": {\n        pointFormat: \"{series.name}: <b>{point.y}%</b>{#if (eq point.ss true)}<br>Trend from 2015 to 2019: <b>{point.trend}%</b>{/if}\"\n    },\n    \"responsive\": {\n        \"rules\": [{\n            \"chartOptions\": {\n                \"chart\": {\n                    \"height\": \"56.25%\"\n                }\n            },\n            \"condition\": {\n                \"minWidth\": 417\n            }\n        }]\n    }\n}","var map = {\n\t\"./fig2-custom-bars.js\": 801,\n\t\"./fig5-custom-bars.js\": 756,\n\t\"./linechart-est-attempts-age.js\": 203\n};\n\n\nfunction webpackContext(req) {\n\tvar id = webpackContextResolve(req);\n\treturn __webpack_require__(id);\n}\nfunction webpackContextResolve(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\te.code = 'MODULE_NOT_FOUND';\n\t\tthrow e;\n\t}\n\treturn map[req];\n}\nwebpackContext.keys = function webpackContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackContext.resolve = webpackContextResolve;\nmodule.exports = webpackContext;\nwebpackContext.id = 77;","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = function(module) {\n\tvar getter = module && module.__esModule ?\n\t\tfunction() { return module['default']; } :\n\t\tfunction() { return module; };\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = function(exports, definition) {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.o = function(obj, prop) { return Object.prototype.hasOwnProperty.call(obj, prop); }","// define __esModule on exports\n__webpack_require__.r = function(exports) {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","import metadata from './data/newmetadata.json'\n\nif (!window.IS_PRERENDERING) {\n\n    window.Highcharts.setOptions({\"lang\": {\n        \"thousandsSep\": \",\"\n    }})\n    // Create a context for all js files in the specified folder\n    const context = require.context('./data', false, /\\.js$/);\n    \n    const metadataAsArray = Object.keys(metadata).map(a => metadata[a]).filter((a) => {return a.chart} )\n    // Loop over the filenames and import dynamically\n    metadataAsArray.forEach((item) => {\n        const modulePath = `./${item.chart}.js`;\n        if (context.keys().includes(modulePath)) {\n            const module = context(modulePath); // Synchronously require the module\n            item.isMap ? window.Highcharts.mapChart(document.getElementById(item.id), module.default) :\n            window.Highcharts.chart(document.getElementById(item.id), module.default);\n            \n        } else {\n            console.warn(`Module ${item} not found in the context.`);\n        }\n    });\n\n}\n\n\n\n"],"names":["module","exports","cats","Set","i","catsArray","Array","from","categories","forEach","c","b","category","map","d","name","sortedData","push","xAxis","showInLegend","colorIndex","pointPlacement","data","pullData","NUM_CATEGORIES","Object","keys","length","MARGIN","sections","allbars","values","reduce","a","type","subCat","adjust","typeLong","adjustupordown","cat","seriesname","x","y","widthAccumulator","events","load","chart","this","window","innerWidth","series","points","onMouseOver","pointer","reset","legend","allItems","item","legendItem","group","on","render","axes","filter","coll","marginInPx","plotHeight","section2Grid","destroy","lines","crispy","renderer","crispLine","pos","plotLeft","lastLine","plotTop","path","attr","stroke","zIndex","add","className","pointFormatter","grouping","inside","allowOverlap","padding","verticalAlign","format","borderRadius","_","thesebars","w","height","top","offset","title","text","rotation","useHTML","generateAxis","tickInterval","opposite","max","reserveSpace","align","linkedTo","reverse","colors","j","property","operator","value","stacking","alignTicks","style","textOverflow","responsive","rules","yAxis","labels","step","styledMode","marginRight","min","pointFormat","webpackContext","req","id","webpackContextResolve","__webpack_require__","o","e","Error","code","resolve","__webpack_module_cache__","moduleId","cachedModule","undefined","__webpack_modules__","n","getter","__esModule","definition","key","defineProperty","enumerable","get","obj","prop","prototype","hasOwnProperty","call","r","Symbol","toStringTag","IS_PRERENDERING","Highcharts","setOptions","context","modulePath","includes","isMap","mapChart","document","getElementById","default","console","warn"],"sourceRoot":""}