Repository: metricsgraphics/metrics-graphics Branch: main Commit: 60429d802e34 Files: 73 Total size: 332.4 KB Directory structure: gitextract_xaxp2sb0/ ├── .codeclimate.yml ├── .eslintrc.js ├── .github/ │ ├── CODEOWNERS │ └── workflows/ │ ├── gh-pages.yml │ ├── pr-gate.yml │ └── publish.yml ├── .gitignore ├── README.md ├── app/ │ ├── .gitignore │ ├── README.md │ ├── components/ │ │ ├── Layout.tsx │ │ ├── Logo.tsx │ │ ├── NavLink.tsx │ │ ├── ParameterTable.tsx │ │ └── charts/ │ │ ├── Renderer.tsx │ │ ├── histogram/ │ │ │ └── Simple.tsx │ │ ├── line/ │ │ │ ├── Active.tsx │ │ │ ├── Aggregated.tsx │ │ │ ├── Baseline.tsx │ │ │ ├── Broken.tsx │ │ │ ├── Confidence.tsx │ │ │ ├── Multi.tsx │ │ │ └── Simple.tsx │ │ └── scatter/ │ │ ├── Categories.tsx │ │ ├── Complex.tsx │ │ └── Simple.tsx │ ├── data/ │ │ ├── confidenceBand.json │ │ ├── fakeUsers1.json │ │ ├── fakeUsers2.json │ │ ├── missing.json │ │ ├── points1.json │ │ ├── ufoDates.json │ │ └── ufoSightings.json │ ├── helpers/ │ │ └── format.ts │ ├── next-env.d.ts │ ├── next.config.js │ ├── package.json │ ├── pages/ │ │ ├── _app.tsx │ │ ├── _document.tsx │ │ ├── histogram.mdx │ │ ├── index.tsx │ │ ├── line.mdx │ │ ├── mg-api.mdx │ │ └── scatter.mdx │ ├── postcss.config.js │ ├── styles/ │ │ └── globals.css │ ├── tailwind.config.js │ └── tsconfig.json ├── lib/ │ ├── .gitignore │ ├── esbuild.mjs │ ├── package.json │ ├── src/ │ │ ├── charts/ │ │ │ ├── abstractChart.ts │ │ │ ├── histogram.ts │ │ │ ├── line.ts │ │ │ └── scatter.ts │ │ ├── components/ │ │ │ ├── abstractShape.ts │ │ │ ├── area.ts │ │ │ ├── axis.ts │ │ │ ├── delaunay.ts │ │ │ ├── legend.ts │ │ │ ├── line.ts │ │ │ ├── point.ts │ │ │ ├── rect.ts │ │ │ ├── rug.ts │ │ │ ├── scale.ts │ │ │ └── tooltip.ts │ │ ├── index.ts │ │ ├── mg.css │ │ └── misc/ │ │ ├── constants.ts │ │ ├── typings.ts │ │ └── utility.ts │ └── tsconfig.json └── package.json ================================================ FILE CONTENTS ================================================ ================================================ FILE: .codeclimate.yml ================================================ exclude_patterns: - "packages/docs/src/data/" ================================================ FILE: .eslintrc.js ================================================ module.exports = { ignorePatterns: ['lib/dist/**/*'], extends: [ 'standard', 'plugin:react/recommended', 'plugin:@typescript-eslint/recommended', 'plugin:react-hooks/recommended', 'plugin:prettier/recommended' ], parser: '@typescript-eslint/parser', parserOptions: { ecmaVersion: '2020' }, plugins: ['react', '@typescript-eslint', 'prettier'], rules: { camelcase: 'off', 'no-use-before-define': 'off', '@typescript-eslint/no-use-before-define': ['error'], 'prettier/prettier': [ 'error', { tabWidth: 2, printWidth: 120, singleQuote: true, trailingComma: 'none', semi: false, overrides: [ { files: '*.json', options: { parser: 'json' } }, { files: '*.html', options: { parser: 'html' } }, { files: '*.css', options: { parser: 'css' } }, { files: '*.md', options: { parser: 'markdown' } } ] } ], 'import/order': 'error', 'react/react-in-jsx-scope': 'off', 'react/prop-types': 'off' }, settings: { react: { version: 'detect' } } } ================================================ FILE: .github/CODEOWNERS ================================================ * @jens-ox ================================================ FILE: .github/workflows/gh-pages.yml ================================================ name: Deploy GitHub Pages on: push: branches: [main] jobs: build-and-deploy: name: Deploy to GitHub Pages runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: "16" cache: "yarn" - run: yarn - name: Build library run: yarn build working-directory: ./lib - name: Build frontend run: yarn build working-directory: ./app - name: Deploy uses: JamesIves/github-pages-deploy-action@v4.3.0 with: branch: gh-pages folder: ./app/out ================================================ FILE: .github/workflows/pr-gate.yml ================================================ name: PR Gate on: push: branches-ignore: - gh-pages jobs: lint-lib: name: Lint Library runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: "16" cache: "yarn" - run: yarn - name: Run ESLint run: yarn lint working-directory: ./lib ================================================ FILE: .github/workflows/publish.yml ================================================ name: Publish Package to NPM on: release: types: [created] jobs: build: runs-on: ubuntu-latest steps: - uses: actions/checkout@v3 - uses: actions/setup-node@v3 with: node-version: '16' registry-url: 'https://registry.npmjs.org' cache: 'yarn' - run: yarn - name: Build library run: yarn build working-directory: ./lib - run: npm publish working-directory: ./lib env: NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }} ================================================ FILE: .gitignore ================================================ node_modules .vscode .DS_Store ================================================ FILE: README.md ================================================ [![MetricsGraphics Logo](.github/logo.svg)](https://metricsgraphicsjs.org) [![BundlePhobia](https://badgen.net/bundlephobia/minzip/mg2)](https://bundlephobia.com/result?p=mg2) [![CodeClimate](https://api.codeclimate.com/v1/badges/dc22d28ce4d8bece4504/maintainability)](https://codeclimate.com/github/jens-ox/metrics-graphics/maintainability) [![Netlify Status](https://api.netlify.com/api/v1/badges/797ef16b-da9e-461f-851b-e50ddfd905ab/deploy-status)](https://app.netlify.com/sites/affectionate-benz-6e3cf9/deploys) *MetricsGraphics* is a library built for visualizing and laying out time-series data. At around 15kB (gzipped), it provides a simple way to produce common types of graphics in a principled and consistent way. The library currently supports line charts, scatterplots and histograms, as well as features like rug plots. ## Example All you need to do is add an entry node to your document: ```html
``` Then, use the id to mount the chart: ```js import LineChart from 'metrics-graphics' new LineChart({ data, // some array of data objects width: 600, height: 200, target: '#chart', area: true, xAccessor: 'date', yAccessor: 'value' }) ``` That's it! ![Sample Screenshot](.img/screenshot.png) The raw data for this example can be found [here](packages/examples/src/assets/data/ufoSightings.js) ## Documentation If you want to use *MetricsGraphics*, you can find the public API [here](packages/lib/docs/API.md). If you want to extend *MetricsGraphics*, you can read up on the [components](packages/lib/docs/Components.md) and [utilities](packages/lib/docs/Utility.md). ## Development Setup This project uses [Yarn Workspaces](https://classic.yarnpkg.com/lang/en/docs/workspaces/). Please make sure that Yarn is installed. ```bash # clone and setup git clone https://github.com/metricsgraphics/metrics-graphics cd metrics-graphics yarn install ``` Run both the development setup of the library and the development setup of the examples ```bash # inside packages/lib yarn dev # inside packages/examples yarn dev ``` ================================================ FILE: app/.gitignore ================================================ # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. # dependencies /node_modules /.pnp .pnp.js # testing /coverage # next.js /.next/ /out/ # production /build # misc .DS_Store *.pem # debug npm-debug.log* yarn-debug.log* yarn-error.log* .pnpm-debug.log* # local env files .env*.local # vercel .vercel # typescript *.tsbuildinfo ================================================ FILE: app/README.md ================================================ This is a [Next.js](https://nextjs.org/) project bootstrapped with [`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). ## Getting Started First, run the development server: ```bash npm run dev # or yarn dev ``` Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. You can start editing the page by modifying `pages/index.tsx`. The page auto-updates as you edit the file. [API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on [http://localhost:3000/api/hello](http://localhost:3000/api/hello). This endpoint can be edited in `pages/api/hello.ts`. The `pages/api` directory is mapped to `/api/*`. Files in this directory are treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead of React pages. ## Learn More To learn more about Next.js, take a look at the following resources: - [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js features and API. - [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. You can check out [the Next.js GitHub repository](https://github.com/vercel/next.js/) - your feedback and contributions are welcome! ## Deploy on Vercel The easiest way to deploy your Next.js app is to use the [Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) from the creators of Next.js. Check out our [Next.js deployment documentation](https://nextjs.org/docs/deployment) for more details. ================================================ FILE: app/components/Layout.tsx ================================================ import Head from 'next/head' import { PropsWithChildren } from 'react' interface LayoutProps { title: string } const Layout: React.FC> = ({ title, children }) => ( <> {title} {children} ) export default Layout ================================================ FILE: app/components/Logo.tsx ================================================ const Logo = () => ( ) export default Logo ================================================ FILE: app/components/NavLink.tsx ================================================ import Link, { LinkProps } from 'next/link' import { useRouter } from 'next/router' import { PropsWithChildren } from 'react' import cx from 'classnames' const NavLink: React.FC> = ({ href, children, ...linkProps }) => { const router = useRouter() return ( {children} ) } export default NavLink ================================================ FILE: app/components/ParameterTable.tsx ================================================ interface ParameterTableProps { props: Array<{ name: string type: string default?: string description: string }> } const ParameterTable: React.FC = ({ props }) => ( {props.map((p) => ( ))}
Name Type Default Description
{p.name} {p.type} {p.default ? {p.default} : '-'} {p.description}
) export default ParameterTable ================================================ FILE: app/components/charts/Renderer.tsx ================================================ import { MutableRefObject, PropsWithChildren, useEffect, useRef } from 'react' interface RendererProps { chartRenderer: (chartRef: MutableRefObject) => unknown } const Renderer: React.FC> = ({ chartRenderer, children }) => { const chartRef = useRef(null) // render chart useEffect(() => { // if react is still rendering, wait if (!chartRef.current) return // call render function with ref chartRenderer(chartRef.current) }) return (
{children}
) } export default Renderer ================================================ FILE: app/components/charts/histogram/Simple.tsx ================================================ import { HistogramChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import ufoData from '../../../data/ufoDates.json' const Simple: React.FC> = ({ children }) => ( new HistogramChart({ data: ufoData.map((date) => date / 30).sort(), width: 600, height: 200, binCount: 150, target: ref as any, brush: 'x', yAxis: { extendedTicks: true }, tooltipFunction: (bar) => `${bar.time} months, volume ${bar.count}` }) } > {children} ) export default Simple ================================================ FILE: app/components/charts/line/Active.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import { formatCompact, formatDate } from '../../../helpers/format' import fakeUsers from '../../../data/fakeUsers1.json' const Active: React.FC> = ({ children }) => ( new LineChart({ data: [ fakeUsers.map((entry, i) => ({ ...entry, date: new Date(entry.date), active: i % 5 === 0 })) ], width: 600, height: 200, target: ref as any, activeAccessor: 'active', activePoint: { radius: 2 }, tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) } > {children} ) export default Active ================================================ FILE: app/components/charts/line/Aggregated.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import { formatCompact, formatDate } from '../../../helpers/format' import fakeUsers from '../../../data/fakeUsers2.json' const Aggregated: React.FC> = ({ children }) => ( new LineChart({ data: fakeUsers.map((fakeArray) => fakeArray.map((fakeEntry) => ({ ...fakeEntry, date: new Date(fakeEntry.date) })) ), width: 600, height: 200, target: ref as any, xAccessor: 'date', yAccessor: 'value', legend: ['Line 1', 'Line 2', 'Line 3'], voronoi: { aggregate: true }, tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) } > {children} ) export default Aggregated ================================================ FILE: app/components/charts/line/Baseline.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import { formatCompact, formatDate } from '../../../helpers/format' import fakeUsers from '../../../data/fakeUsers1.json' const Baseline: React.FC> = ({ children }) => ( new LineChart({ data: [ fakeUsers.map((entry) => ({ ...entry, date: new Date(entry.date) })) ], baselines: [{ value: 160000000, label: 'a baseline' }], width: 600, height: 200, target: ref as any, tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) } > {children} ) export default Baseline ================================================ FILE: app/components/charts/line/Broken.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import { formatDate } from '../../../helpers/format' import missing from '../../../data/missing.json' const Broken: React.FC> = ({ children }) => ( new LineChart({ data: [missing.map((e) => ({ ...e, date: new Date(e.date) }))], width: 600, height: 200, target: ref as any, defined: (d) => !d.dead, area: true, tooltipFunction: (point) => `${formatDate(point.date)}: ${point.value}` }) } > {children} ) export default Broken ================================================ FILE: app/components/charts/line/Confidence.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import confidence from '../../../data/confidenceBand.json' import { formatDate, formatPercent } from '../../../helpers/format' const Confidence: React.FC> = ({ children }) => ( new LineChart({ data: [ confidence.map((entry) => ({ ...entry, date: new Date(entry.date) })) ], xAxis: { extendedTicks: true }, yAxis: { tickFormat: 'percentage' }, width: 600, height: 200, target: ref as any, confidenceBand: ['l', 'u'], tooltipFunction: (point) => `${formatDate(point.date)}: ${formatPercent(point.value)}` }) } > {children} ) export default Confidence ================================================ FILE: app/components/charts/line/Multi.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import fakeUsers from '../../../data/fakeUsers2.json' import { formatCompact, formatDate } from '../../../helpers/format' const Multi: React.FC> = ({ children }) => ( new LineChart({ data: fakeUsers.map((fakeArray) => fakeArray.map((fakeEntry) => ({ ...fakeEntry, date: new Date(fakeEntry.date) })) ), width: 600, height: 200, target: ref as any, xAccessor: 'date', yAccessor: 'value', legend: ['Line 1', 'Line 2', 'Line 3'], tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) } > {children} ) export default Multi ================================================ FILE: app/components/charts/line/Simple.tsx ================================================ import { LineChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import fakeUsers from '../../../data/fakeUsers1.json' import { formatCompact, formatDate } from '../../../helpers/format' const Simple: React.FC> = ({ children }) => ( new LineChart({ data: [fakeUsers.map(({ date, value }) => ({ date: new Date(date), value }))], width: 600, height: 200, yScale: { minValue: 0 }, target: ref as any, brush: 'xy', area: true, xAccessor: 'date', yAccessor: 'value', tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) } > {children} ) export default Simple ================================================ FILE: app/components/charts/scatter/Categories.tsx ================================================ import { ScatterChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import points1 from '../../../data/points1.json' import { formatDecimal } from '../../../helpers/format' const groupByArray = (xs: Array, key: string) => xs.reduce((rv, x) => { const v = x[key] const el = rv.find((r: any) => r && r.key === v) if (el) el.values.push(x) else rv.push({ key: v, values: [x] }) return rv }, []) const points2 = groupByArray(points1, 'v') const Categories: React.FC> = ({ children }) => ( new ScatterChart({ data: points2.map((x: any) => x.values), legend: points2.map((x: any) => x.key), width: 500, height: 200, xAccessor: 'x', yAccessor: 'y', yRug: true, target: ref as any, tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}` }) } > {children} ) export default Categories ================================================ FILE: app/components/charts/scatter/Complex.tsx ================================================ import { ScatterChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import points1 from '../../../data/points1.json' import { formatDecimal } from '../../../helpers/format' const groupByArray = (xs: Array, key: string) => xs.reduce((rv, x) => { const v = x[key] const el = rv.find((r: any) => r && r.key === v) if (el) el.values.push(x) else rv.push({ key: v, values: [x] }) return rv }, []) const points2 = groupByArray(points1, 'v') const Complex: React.FC> = ({ children }) => ( new ScatterChart({ data: points2.map((x: any) => x.values), legend: points2.map((x: any) => x.key), width: 500, height: 200, target: ref as any, xAccessor: 'x', yAccessor: 'y', sizeAccessor: (x: any) => Math.abs(x.w) * 3, tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}: ${formatDecimal(point.w)}` }) } > {children} ) export default Complex ================================================ FILE: app/components/charts/scatter/Simple.tsx ================================================ import { ScatterChart } from 'metrics-graphics' import { PropsWithChildren } from 'react' import Renderer from '../Renderer' import points1 from '../../../data/points1.json' import { formatDecimal } from '../../../helpers/format' const Simple: React.FC> = ({ children }) => ( new ScatterChart({ data: [points1], width: 500, height: 200, target: ref as any, xAccessor: 'x', yAccessor: 'y', brush: 'xy', xRug: true, tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}` }) } > {children} ) export default Simple ================================================ FILE: app/data/confidenceBand.json ================================================ [ { "value": -1.1618426259, "date": "2012-08-28", "l": -2.6017329022, "u": 0.2949717757 }, { "value": -0.5828247293, "date": "2012-08-29", "l": -1.3166963635, "u": 0.1324086347 }, { "value": -0.3790770636, "date": "2012-08-30", "l": -0.8712221305, "u": 0.0956413566 }, { "value": -0.2792926002, "date": "2012-08-31", "l": -0.6541832008, "u": 0.0717120241 }, { "value": -0.2461165469, "date": "2012-09-01", "l": -0.5222677907, "u": 0.0594188803 }, { "value": -0.2017354137, "date": "2012-09-02", "l": -0.4434280535, "u": 0.0419213465 }, { "value": -0.1457476871, "date": "2012-09-03", "l": -0.3543957712, "u": 0.0623761171 }, { "value": -0.002610973, "date": "2012-09-04", "l": -0.3339911495, "u": 0.031286929 }, { "value": -0.0080692734, "date": "2012-09-05", "l": -0.2951839941, "u": 0.0301762553 }, { "value": -0.0296490933, "date": "2012-09-06", "l": -0.2964395801, "u": -0.0029821004 }, { "value": 0.001317397, "date": "2012-09-07", "l": -0.2295443759, "u": 0.037903312 }, { "value": -0.0117649838, "date": "2012-09-08", "l": -0.2226376418, "u": 0.0239720183 }, { "value": 0.0059394263, "date": "2012-09-09", "l": -0.2020479849, "u": 0.0259489347 }, { "value": -0.0115565898, "date": "2012-09-10", "l": -0.2042048037, "u": 0.0077863806 }, { "value": 0.0041183019, "date": "2012-09-11", "l": -0.1837263172, "u": 0.0137898406 }, { "value": 0.0353559544, "date": "2012-09-12", "l": -0.136610008, "u": 0.051403828 }, { "value": 0.0070046011, "date": "2012-09-13", "l": -0.1569988647, "u": 0.0202266411 }, { "value": -0.0004251807, "date": "2012-09-14", "l": -0.1410340292, "u": 0.0273410185 }, { "value": -0.0035461023, "date": "2012-09-15", "l": -0.1438653689, "u": 0.0165445684 }, { "value": 0.007797889, "date": "2012-09-16", "l": -0.1291975355, "u": 0.0232461153 }, { "value": 0.0025402723, "date": "2012-09-17", "l": -0.133972479, "u": 0.0116753921 }, { "value": -0.005317381, "date": "2012-09-18", "l": -0.1269266586, "u": 0.0129723291 }, { "value": -0.0075841521, "date": "2012-09-19", "l": -0.1283478383, "u": 0.0056371616 }, { "value": -0.0391388721, "date": "2012-09-20", "l": -0.1571172198, "u": -0.0311678828 }, { "value": 0.0075430252, "date": "2012-09-21", "l": -0.1097354417, "u": 0.0141132062 }, { "value": 0.1850284663, "date": "2012-09-22", "l": 0.0333682152, "u": 0.2140709422 }, { "value": 0.076629596, "date": "2012-09-23", "l": -0.0068472967, "u": 0.1101280569 }, { "value": -0.0314292271, "date": "2012-09-24", "l": -0.1074281762, "u": 0.0032669363 }, { "value": -0.0232608674, "date": "2012-09-25", "l": -0.0905197842, "u": 0.0164250295 }, { "value": -0.01968615, "date": "2012-09-26", "l": -0.084319856, "u": 0.0193319465 }, { "value": -0.0310196816, "date": "2012-09-27", "l": -0.0914356781, "u": 0.0094436256 }, { "value": -0.0758746967, "date": "2012-09-28", "l": -0.1169814745, "u": -0.019659551 }, { "value": 0.0233974572, "date": "2012-09-29", "l": -0.0356839258, "u": 0.0610712506 }, { "value": 0.011073579, "date": "2012-09-30", "l": -0.0558712863, "u": 0.0346160081 }, { "value": -0.002094822, "date": "2012-10-01", "l": -0.0707143388, "u": 0.0152899266 }, { "value": -0.1083707096, "date": "2012-10-02", "l": -0.1718101335, "u": -0.0886271057 }, { "value": -0.1098258972, "date": "2012-10-03", "l": -0.1881274065, "u": -0.1072157972 }, { "value": -0.0872970297, "date": "2012-10-04", "l": -0.1731903321, "u": -0.064381434 }, { "value": -0.0761992047, "date": "2012-10-05", "l": -0.1770373817, "u": 0.100085727 }, { "value": -0.0416654249, "date": "2012-10-06", "l": -0.1502479611, "u": 0.0751148102 }, { "value": -0.0410128962, "date": "2012-10-07", "l": -0.1618694445, "u": 0.0881453482 }, { "value": -0.0214289042, "date": "2012-10-08", "l": -0.1590852977, "u": 0.0871880288 }, { "value": 0.2430880604, "date": "2012-10-09", "l": 0.063624221, "u": 0.2455101587 }, { "value": 0.3472823479, "date": "2012-10-10", "l": 0.1553854927, "u": 0.3583991097 }, { "value": 0.3360734074, "date": "2012-10-11", "l": 0.2055952772, "u": 0.3812162823 }, { "value": -0.0463648355, "date": "2012-10-12", "l": -0.0626466998, "u": 0.0037342957 }, { "value": -0.0867009379, "date": "2012-10-13", "l": -0.0867594055, "u": -0.0223791074 }, { "value": -0.1288672826, "date": "2012-10-14", "l": -0.1161709129, "u": -0.0534789124 }, { "value": -0.1474426821, "date": "2012-10-15", "l": -0.1559759048, "u": -0.0646995092 }, { "value": -0.1502405066, "date": "2012-10-16", "l": -0.1604364638, "u": -0.0602562376 }, { "value": -0.1203765529, "date": "2012-10-17", "l": -0.1569023195, "u": -0.0578129637 }, { "value": -0.0649122919, "date": "2012-10-18", "l": -0.0782987564, "u": -0.0501999174 }, { "value": -0.015525562, "date": "2012-10-19", "l": -0.1103873808, "u": -0.0132131311 }, { "value": -0.006051357, "date": "2012-10-20", "l": -0.1089644497, "u": 0.0230384197 }, { "value": 0.0003154213, "date": "2012-10-21", "l": -0.1073849227, "u": 0.0017290437 }, { "value": -0.0063018298, "date": "2012-10-22", "l": -0.1120298155, "u": 0.0173284555 }, { "value": -0.004294834, "date": "2012-10-23", "l": -0.1076841119, "u": 0.0547933965 }, { "value": -0.0053400832, "date": "2012-10-24", "l": -0.1096991408, "u": 0.0560555803 }, { "value": 0.0070057212, "date": "2012-10-25", "l": -0.0940613813, "u": 0.0425517607 }, { "value": 0.0082121656, "date": "2012-10-26", "l": -0.0906810455, "u": 0.0396884383 }, { "value": 0.0141422884, "date": "2012-10-27", "l": -0.0841305678, "u": 0.0340050012 }, { "value": 0.0041613553, "date": "2012-10-28", "l": -0.0886723749, "u": 0.039426727 }, { "value": -0.0013614287, "date": "2012-10-29", "l": -0.0923481608, "u": 0.0438725574 }, { "value": -0.0052144933, "date": "2012-10-30", "l": -0.0937763043, "u": 0.0459998555 }, { "value": 0.0078904741, "date": "2012-10-31", "l": -0.0807028001, "u": 0.0334824169 }, { "value": 0.0099598702, "date": "2012-11-01", "l": -0.0740001323, "u": 0.0280264274 }, { "value": 0.0001146029, "date": "2012-11-02", "l": -0.0820430294, "u": 0.0326771125 }, { "value": 0.0047572651, "date": "2012-11-03", "l": -0.0754113825, "u": 0.0294912577 }, { "value": 0.006204557, "date": "2012-11-04", "l": -0.0750627059, "u": 0.029693607 }, { "value": 0.0115231406, "date": "2012-11-05", "l": -0.0663484142, "u": 0.0214084056 }, { "value": -0.0032634994, "date": "2012-11-06", "l": -0.0793170451, "u": 0.0355159827 }, { "value": -0.0108985452, "date": "2012-11-07", "l": -0.0846123893, "u": 0.0409797057 }, { "value": -0.0092766813, "date": "2012-11-08", "l": -0.0802668328, "u": 0.0373886301 }, { "value": 0.0095972086, "date": "2012-11-09", "l": -0.0623739694, "u": 0.0194918693 }, { "value": -0.0111809358, "date": "2012-11-10", "l": -0.0819555908, "u": 0.038335749 }, { "value": -0.0023572296, "date": "2012-11-11", "l": -0.0745443377, "u": 0.0306093592 }, { "value": 0.0084213775, "date": "2012-11-12", "l": -0.0657707155, "u": 0.0227270619 }, { "value": 0.0107446453, "date": "2012-11-13", "l": -0.0617995017, "u": 0.0196547867 }, { "value": 0.009457792, "date": "2012-11-14", "l": -0.0597697849, "u": 0.0191832343 }, { "value": 0.0031194779, "date": "2012-11-15", "l": -0.0589126783, "u": 0.0186409442 }, { "value": -0.0115128213, "date": "2012-11-16", "l": -0.0767105447, "u": 0.0370292452 }, { "value": 0.0058347339, "date": "2012-11-17", "l": -0.0592236472, "u": 0.0198181452 }, { "value": -0.0235630436, "date": "2012-11-18", "l": -0.083529944, "u": 0.046280909 }, { "value": -0.0479795964, "date": "2012-11-19", "l": -0.1086422529, "u": 0.0113044645 }, { "value": -0.0218184359, "date": "2012-11-21", "l": -0.0881634878, "u": 0.0448568265 }, { "value": -0.0071361172, "date": "2012-11-28", "l": -0.0807350229, "u": 0.0453599734 }, { "value": -0.0151966912, "date": "2012-12-05", "l": -0.089995793, "u": 0.0558329569 }, { "value": -0.0097784855, "date": "2012-12-12", "l": -0.089466481, "u": 0.0550191387 }, { "value": -0.0095681495, "date": "2012-12-19", "l": -0.090513354, "u": 0.057073314 }, { "value": -0.0034165915, "date": "2012-12-27", "l": -0.0907151292, "u": 0.0561479112 }, { "value": 0.3297981389, "date": "2012-12-31", "l": 0.1537781522, "u": 0.3499473316 } ] ================================================ FILE: app/data/fakeUsers1.json ================================================ [ { "date": "2014-01-01", "value": 190000000 }, { "date": "2014-01-02", "value": 190379978 }, { "date": "2014-01-03", "value": 90493749 }, { "date": "2014-01-04", "value": 190785250 }, { "date": "2014-01-05", "value": 197391904 }, { "date": "2014-01-06", "value": 191576838 }, { "date": "2014-01-07", "value": 191413854 }, { "date": "2014-01-08", "value": 142177211 }, { "date": "2014-01-09", "value": 103762210 }, { "date": "2014-01-10", "value": 144381072 }, { "date": "2014-01-11", "value": 154352310 }, { "date": "2014-01-12", "value": 165531790 }, { "date": "2014-01-13", "value": 175748881 }, { "date": "2014-01-14", "value": 187064037 }, { "date": "2014-01-15", "value": 197520685 }, { "date": "2014-01-16", "value": 210176418 }, { "date": "2014-01-17", "value": 196122924 }, { "date": "2014-01-18", "value": 157337480 }, { "date": "2014-01-19", "value": 200258882 }, { "date": "2014-01-20", "value": 186829538 }, { "date": "2014-01-21", "value": 112456897 }, { "date": "2014-01-22", "value": 114299711 }, { "date": "2014-01-23", "value": 122759017 }, { "date": "2014-01-24", "value": 203596183 }, { "date": "2014-01-25", "value": 208107346 }, { "date": "2014-01-26", "value": 196359852 }, { "date": "2014-01-27", "value": 192570783 }, { "date": "2014-01-28", "value": 177967768 }, { "date": "2014-01-29", "value": 190632803 }, { "date": "2014-01-30", "value": 203725316 }, { "date": "2014-01-31", "value": 118226177 }, { "date": "2014-02-01", "value": 210698669 }, { "date": "2014-02-02", "value": 217640656 }, { "date": "2014-02-03", "value": 216142362 }, { "date": "2014-02-04", "value": 201410971 }, { "date": "2014-02-05", "value": 196704289 }, { "date": "2014-02-06", "value": 190436945 }, { "date": "2014-02-07", "value": 178891686 }, { "date": "2014-02-08", "value": 171613962 }, { "date": "2014-02-09", "value": 107579773 }, { "date": "2014-02-10", "value": 158677098 }, { "date": "2014-02-11", "value": 147129977 }, { "date": "2014-02-12", "value": 151561876 }, { "date": "2014-02-13", "value": 151627421 }, { "date": "2014-02-14", "value": 143543872 }, { "date": "2014-02-15", "value": 136581057 }, { "date": "2014-02-16", "value": 135560715 }, { "date": "2014-02-17", "value": 122625263 }, { "date": "2014-02-18", "value": 112091484 }, { "date": "2014-02-19", "value": 98810329 }, { "date": "2014-02-20", "value": 99882912 }, { "date": "2014-02-21", "value": 94943095 }, { "date": "2014-02-22", "value": 104875743 }, { "date": "2014-02-23", "value": 116383678 }, { "date": "2014-02-24", "value": 105028841 }, { "date": "2014-02-25", "value": 123967310 }, { "date": "2014-02-26", "value": 133167029 }, { "date": "2014-02-27", "value": 128577263 }, { "date": "2014-02-28", "value": 115836969 }, { "date": "2014-03-01", "value": 119264529 }, { "date": "2014-03-02", "value": 109363374 }, { "date": "2014-03-03", "value": 113985628 }, { "date": "2014-03-04", "value": 114650999 }, { "date": "2014-03-05", "value": 110866108 }, { "date": "2014-03-06", "value": 96473454 }, { "date": "2014-03-07", "value": 84075886 }, { "date": "2014-03-08", "value": 103568384 }, { "date": "2014-03-09", "value": 101534883 }, { "date": "2014-03-10", "value": 115825447 }, { "date": "2014-03-11", "value": 126133916 }, { "date": "2014-03-12", "value": 116502109 }, { "date": "2014-03-13", "value": 80169411 }, { "date": "2014-03-14", "value": 84296886 }, { "date": "2014-03-15", "value": 86347399 }, { "date": "2014-03-16", "value": 31483669 }, { "date": "2014-03-17", "value": 142811333 }, { "date": "2014-03-18", "value": 89675396 }, { "date": "2014-03-19", "value": 115514483 }, { "date": "2014-03-20", "value": 117630630 }, { "date": "2014-03-21", "value": 122340239 }, { "date": "2014-03-22", "value": 132349091 }, { "date": "2014-03-23", "value": 125613305 }, { "date": "2014-03-24", "value": 135592466 }, { "date": "2014-03-25", "value": 123408762 }, { "date": "2014-03-26", "value": 111991454 }, { "date": "2014-03-27", "value": 116123955 }, { "date": "2014-03-28", "value": 112817214 }, { "date": "2014-03-29", "value": 113029590 }, { "date": "2014-03-30", "value": 108753398 }, { "date": "2014-03-31", "value": 99383763 }, { "date": "2014-04-01", "value": 100151737 }, { "date": "2014-04-02", "value": 94985209 }, { "date": "2014-04-03", "value": 82913669 }, { "date": "2014-04-04", "value": 78748268 }, { "date": "2014-04-05", "value": 63829135 }, { "date": "2014-04-06", "value": 78694727 }, { "date": "2014-04-07", "value": 80868994 }, { "date": "2014-04-08", "value": 93799013 }, { "date": "2014-04-09", "value": 9042416 }, { "date": "2014-04-10", "value": 97298692 }, { "date": "2014-04-11", "value": 53353499 }, { "date": "2014-04-12", "value": 71248129 }, { "date": "2014-04-13", "value": 75253744 }, { "date": "2014-04-14", "value": 68976648 }, { "date": "2014-04-15", "value": 71002284 }, { "date": "2014-04-16", "value": 75052401 }, { "date": "2014-04-17", "value": 83894030 }, { "date": "2014-04-18", "value": 50236528 }, { "date": "2014-04-19", "value": 59739114 }, { "date": "2014-04-20", "value": 56407136 }, { "date": "2014-04-21", "value": 108323177 }, { "date": "2014-04-22", "value": 101578914 }, { "date": "2014-04-23", "value": 115877608 }, { "date": "2014-04-24", "value": 132088857 }, { "date": "2014-04-25", "value": 112071353 }, { "date": "2014-04-26", "value": 81790062 }, { "date": "2014-04-27", "value": 105003761 }, { "date": "2014-04-28", "value": 100457727 }, { "date": "2014-04-29", "value": 118253926 }, { "date": "2014-04-30", "value": 67956992 } ] ================================================ FILE: app/data/fakeUsers2.json ================================================ [ [ { "date": "2014-01-01", "value": 10000000 }, { "date": "2014-01-02", "value": 10379978 }, { "date": "2014-01-03", "value": 10493749 }, { "date": "2014-01-04", "value": 10785250 }, { "date": "2014-01-05", "value": 13901904 }, { "date": "2014-01-06", "value": 11576838 }, { "date": "2014-01-07", "value": 14413854 }, { "date": "2014-01-08", "value": 15177211 }, { "date": "2014-01-09", "value": 16622100 }, { "date": "2014-01-10", "value": 17381072 }, { "date": "2014-01-11", "value": 18802310 }, { "date": "2014-01-12", "value": 15531790 }, { "date": "2014-01-13", "value": 15748881 }, { "date": "2014-01-14", "value": 18706437 }, { "date": "2014-01-15", "value": 19752685 }, { "date": "2014-01-16", "value": 21016418 }, { "date": "2014-01-17", "value": 25622924 }, { "date": "2014-01-18", "value": 25337480 }, { "date": "2014-01-19", "value": 22258882 }, { "date": "2014-01-20", "value": 23829538 }, { "date": "2014-01-21", "value": 24245689 }, { "date": "2014-01-22", "value": 26429711 }, { "date": "2014-01-23", "value": 26259017 }, { "date": "2014-01-24", "value": 25396183 }, { "date": "2014-01-25", "value": 23107346 }, { "date": "2014-01-26", "value": 28659852 }, { "date": "2014-01-27", "value": 25270783 }, { "date": "2014-01-28", "value": 26270783 }, { "date": "2014-01-29", "value": 27270783 }, { "date": "2014-01-30", "value": 28270783 }, { "date": "2014-01-31", "value": 29270783 }, { "date": "2014-02-01", "value": 30270783 }, { "date": "2014-02-02", "value": 31270783 }, { "date": "2014-02-03", "value": 32270783 }, { "date": "2014-02-04", "value": 33270783 }, { "date": "2014-02-05", "value": 28270783 }, { "date": "2014-02-06", "value": 27270783 }, { "date": "2014-02-07", "value": 35270783 }, { "date": "2014-02-08", "value": 34270783 }, { "date": "2014-02-09", "value": 28270783 }, { "date": "2014-02-10", "value": 35270783 }, { "date": "2014-02-11", "value": 36270783 }, { "date": "2014-02-12", "value": 34127078 }, { "date": "2014-02-13", "value": 33124078 }, { "date": "2014-02-14", "value": 36227078 }, { "date": "2014-02-15", "value": 37827078 }, { "date": "2014-02-16", "value": 36427073 }, { "date": "2014-02-17", "value": 37570783 }, { "date": "2014-02-18", "value": 38627073 }, { "date": "2014-02-19", "value": 37727078 }, { "date": "2014-02-20", "value": 38827073 }, { "date": "2014-02-21", "value": 40927078 }, { "date": "2014-02-22", "value": 41027078 }, { "date": "2014-02-23", "value": 42127073 }, { "date": "2014-02-24", "value": 43220783 }, { "date": "2014-02-25", "value": 44327078 }, { "date": "2014-02-26", "value": 40427078 }, { "date": "2014-02-27", "value": 41027078 }, { "date": "2014-02-28", "value": 45627078 }, { "date": "2014-03-01", "value": 44727078 }, { "date": "2014-03-02", "value": 44227078 }, { "date": "2014-03-03", "value": 45227078 }, { "date": "2014-03-04", "value": 46027078 }, { "date": "2014-03-05", "value": 46927078 }, { "date": "2014-03-06", "value": 47027078 }, { "date": "2014-03-07", "value": 46227078 }, { "date": "2014-03-08", "value": 47027078 }, { "date": "2014-03-09", "value": 48027078 }, { "date": "2014-03-10", "value": 47027078 }, { "date": "2014-03-11", "value": 47027078 }, { "date": "2014-03-12", "value": 48017078 }, { "date": "2014-03-13", "value": 48077078 }, { "date": "2014-03-14", "value": 48087078 }, { "date": "2014-03-15", "value": 48017078 }, { "date": "2014-03-16", "value": 48047078 }, { "date": "2014-03-17", "value": 48067078 }, { "date": "2014-03-18", "value": 48077078 }, { "date": "2014-03-19", "value": 48027074 }, { "date": "2014-03-20", "value": 48927079 }, { "date": "2014-03-21", "value": 48727071 }, { "date": "2014-03-22", "value": 48127072 }, { "date": "2014-03-23", "value": 48527072 }, { "date": "2014-03-24", "value": 48627027 }, { "date": "2014-03-25", "value": 48027040 }, { "date": "2014-03-26", "value": 48027043 }, { "date": "2014-03-27", "value": 48057022 }, { "date": "2014-03-28", "value": 49057022 }, { "date": "2014-03-29", "value": 50057022 }, { "date": "2014-03-30", "value": 51057022 }, { "date": "2014-03-31", "value": 52057022 }, { "date": "2014-04-01", "value": 53057022 }, { "date": "2014-04-02", "value": 54057022 }, { "date": "2014-04-03", "value": 52057022 }, { "date": "2014-04-04", "value": 55057022 }, { "date": "2014-04-05", "value": 58270783 }, { "date": "2014-04-06", "value": 56270783 }, { "date": "2014-04-07", "value": 55270783 }, { "date": "2014-04-08", "value": 58270783 }, { "date": "2014-04-09", "value": 59270783 }, { "date": "2014-04-10", "value": 60270783 }, { "date": "2014-04-11", "value": 61270783 }, { "date": "2014-04-12", "value": 62270783 }, { "date": "2014-04-13", "value": 63270783 }, { "date": "2014-04-14", "value": 64270783 }, { "date": "2014-04-15", "value": 65270783 }, { "date": "2014-04-16", "value": 66270783 }, { "date": "2014-04-17", "value": 67270783 }, { "date": "2014-04-18", "value": 68270783 }, { "date": "2014-04-19", "value": 69270783 }, { "date": "2014-04-20", "value": 70270783 }, { "date": "2014-04-21", "value": 71270783 }, { "date": "2014-04-22", "value": 72270783 }, { "date": "2014-04-23", "value": 73270783 }, { "date": "2014-04-24", "value": 74270783 }, { "date": "2014-04-25", "value": 75270783 }, { "date": "2014-04-26", "value": 76660783 }, { "date": "2014-04-27", "value": 77270783 }, { "date": "2014-04-28", "value": 78370783 }, { "date": "2014-04-29", "value": 79470783 }, { "date": "2014-04-30", "value": 80170783 } ], [ { "date": "2014-01-01", "value": 150000000 }, { "date": "2014-01-02", "value": 160379978 }, { "date": "2014-01-03", "value": 170493749 }, { "date": "2014-01-04", "value": 160785250 }, { "date": "2014-01-05", "value": 167391904 }, { "date": "2014-01-06", "value": 161576838 }, { "date": "2014-01-07", "value": 161413854 }, { "date": "2014-01-08", "value": 152177211 }, { "date": "2014-01-09", "value": 143762210 }, { "date": "2014-01-10", "value": 144381072 }, { "date": "2014-01-11", "value": 154352310 }, { "date": "2014-01-12", "value": 165531790 }, { "date": "2014-01-13", "value": 175748881 }, { "date": "2014-01-14", "value": 187064037 }, { "date": "2014-01-15", "value": 197520685 }, { "date": "2014-01-16", "value": 210176418 }, { "date": "2014-01-17", "value": 196122924 }, { "date": "2014-01-18", "value": 207337480 }, { "date": "2014-01-19", "value": 200258882 }, { "date": "2014-01-20", "value": 186829538 }, { "date": "2014-01-21", "value": 192456897 }, { "date": "2014-01-22", "value": 204299711 }, { "date": "2014-01-23", "value": 192759017 }, { "date": "2014-01-24", "value": 203596183 }, { "date": "2014-01-25", "value": 208107346 }, { "date": "2014-01-26", "value": 196359852 }, { "date": "2014-01-27", "value": 192570783 }, { "date": "2014-01-28", "value": 177967768 }, { "date": "2014-01-29", "value": 190632803 }, { "date": "2014-01-30", "value": 203725316 }, { "date": "2014-01-31", "value": 218226177 }, { "date": "2014-02-01", "value": 210698669 }, { "date": "2014-02-02", "value": 217640656 }, { "date": "2014-02-03", "value": 216142362 }, { "date": "2014-02-04", "value": 201410971 }, { "date": "2014-02-05", "value": 196704289 }, { "date": "2014-02-06", "value": 190436945 }, { "date": "2014-02-07", "value": 178891686 }, { "date": "2014-02-08", "value": 171613962 }, { "date": "2014-02-09", "value": 157579773 }, { "date": "2014-02-10", "value": 158677098 }, { "date": "2014-02-11", "value": 147129977 }, { "date": "2014-02-12", "value": 151561876 }, { "date": "2014-02-13", "value": 151627421 }, { "date": "2014-02-14", "value": 143543872 }, { "date": "2014-02-15", "value": 136581057 }, { "date": "2014-02-16", "value": 135560715 }, { "date": "2014-02-17", "value": 122625263 }, { "date": "2014-02-18", "value": 112091484 }, { "date": "2014-02-19", "value": 98810329 }, { "date": "2014-02-20", "value": 99882912 }, { "date": "2014-02-21", "value": 94943095 }, { "date": "2014-02-22", "value": 104875743 }, { "date": "2014-02-23", "value": 116383678 }, { "date": "2014-02-24", "value": 125028841 }, { "date": "2014-02-25", "value": 123967310 }, { "date": "2014-02-26", "value": 133167029 }, { "date": "2014-02-27", "value": 128577263 }, { "date": "2014-02-28", "value": 115836969 }, { "date": "2014-03-01", "value": 119264529 }, { "date": "2014-03-02", "value": 109363374 }, { "date": "2014-03-03", "value": 113985628 }, { "date": "2014-03-04", "value": 114650999 }, { "date": "2014-03-05", "value": 110866108 }, { "date": "2014-03-06", "value": 96473454 }, { "date": "2014-03-07", "value": 104075886 }, { "date": "2014-03-08", "value": 103568384 }, { "date": "2014-03-09", "value": 101534883 }, { "date": "2014-03-10", "value": 115825447 }, { "date": "2014-03-11", "value": 126133916 }, { "date": "2014-03-12", "value": 116502109 }, { "date": "2014-03-13", "value": 130169411 }, { "date": "2014-03-14", "value": 124296886 }, { "date": "2014-03-15", "value": 126347399 }, { "date": "2014-03-16", "value": 131483669 }, { "date": "2014-03-17", "value": 142811333 }, { "date": "2014-03-18", "value": 129675396 }, { "date": "2014-03-19", "value": 115514483 }, { "date": "2014-03-20", "value": 117630630 }, { "date": "2014-03-21", "value": 122340239 }, { "date": "2014-03-22", "value": 132349091 }, { "date": "2014-03-23", "value": 125613305 }, { "date": "2014-03-24", "value": 135592466 }, { "date": "2014-03-25", "value": 123408762 }, { "date": "2014-03-26", "value": 111991454 }, { "date": "2014-03-27", "value": 116123955 }, { "date": "2014-03-28", "value": 112817214 }, { "date": "2014-03-29", "value": 113029590 }, { "date": "2014-03-30", "value": 108753398 }, { "date": "2014-03-31", "value": 99383763 }, { "date": "2014-04-01", "value": 100151737 }, { "date": "2014-04-02", "value": 94985209 }, { "date": "2014-04-03", "value": 82913669 }, { "date": "2014-04-04", "value": 78748268 }, { "date": "2014-04-05", "value": 63829135 }, { "date": "2014-04-06", "value": 78694727 }, { "date": "2014-04-07", "value": 80868994 }, { "date": "2014-04-08", "value": 93799013 }, { "date": "2014-04-09", "value": 99042416 }, { "date": "2014-04-10", "value": 97298692 }, { "date": "2014-04-11", "value": 83353499 }, { "date": "2014-04-12", "value": 71248129 }, { "date": "2014-04-13", "value": 75253744 }, { "date": "2014-04-14", "value": 68976648 }, { "date": "2014-04-15", "value": 71002284 }, { "date": "2014-04-16", "value": 75052401 }, { "date": "2014-04-17", "value": 83894030 }, { "date": "2014-04-18", "value": 90236528 }, { "date": "2014-04-19", "value": 99739114 }, { "date": "2014-04-20", "value": 96407136 }, { "date": "2014-04-21", "value": 108323177 }, { "date": "2014-04-22", "value": 101578914 }, { "date": "2014-04-23", "value": 115877608 }, { "date": "2014-04-24", "value": 112088857 }, { "date": "2014-04-25", "value": 112071353 }, { "date": "2014-04-26", "value": 101790062 }, { "date": "2014-04-27", "value": 115003761 }, { "date": "2014-04-28", "value": 120457727 }, { "date": "2014-04-29", "value": 118253926 }, { "date": "2014-04-30", "value": 117956992 } ], [ { "date": "2014-01-01", "value": 60000000 }, { "date": "2014-01-02", "value": 60379978 }, { "date": "2014-01-03", "value": 40493749 }, { "date": "2014-01-04", "value": 60785250 }, { "date": "2014-01-05", "value": 67391904 }, { "date": "2014-01-06", "value": 61576838 }, { "date": "2014-01-07", "value": 61413854 }, { "date": "2014-01-08", "value": 82177211 }, { "date": "2014-01-09", "value": 103762210 }, { "date": "2014-01-10", "value": 84381072 }, { "date": "2014-01-11", "value": 54352310 }, { "date": "2014-01-12", "value": 65531790 }, { "date": "2014-01-13", "value": 75748881 }, { "date": "2014-01-14", "value": 47064037 }, { "date": "2014-01-15", "value": 67520685 }, { "date": "2014-01-16", "value": 60176418 }, { "date": "2014-01-17", "value": 66122924 }, { "date": "2014-01-18", "value": 57337480 }, { "date": "2014-01-19", "value": 100258882 }, { "date": "2014-01-20", "value": 46829538 }, { "date": "2014-01-21", "value": 92456897 }, { "date": "2014-01-22", "value": 94299711 }, { "date": "2014-01-23", "value": 62759017 }, { "date": "2014-01-24", "value": 103596183 }, { "date": "2014-01-25", "value": 108107346 }, { "date": "2014-01-26", "value": 66359852 }, { "date": "2014-01-27", "value": 62570783 }, { "date": "2014-01-28", "value": 77967768 }, { "date": "2014-01-29", "value": 60632803 }, { "date": "2014-01-30", "value": 103725316 }, { "date": "2014-01-31", "value": 98226177 }, { "date": "2014-02-01", "value": 60698669 }, { "date": "2014-02-02", "value": 67640656 }, { "date": "2014-02-03", "value": 66142362 }, { "date": "2014-02-04", "value": 101410971 }, { "date": "2014-02-05", "value": 66704289 }, { "date": "2014-02-06", "value": 60436945 }, { "date": "2014-02-07", "value": 78891686 }, { "date": "2014-02-08", "value": 71613962 }, { "date": "2014-02-09", "value": 107579773 }, { "date": "2014-02-10", "value": 58677098 }, { "date": "2014-02-11", "value": 87129977 }, { "date": "2014-02-12", "value": 51561876 }, { "date": "2014-02-13", "value": 51627421 }, { "date": "2014-02-14", "value": 83543872 }, { "date": "2014-02-15", "value": 66581057 }, { "date": "2014-02-16", "value": 65560715 }, { "date": "2014-02-17", "value": 62625263 }, { "date": "2014-02-18", "value": 92091484 }, { "date": "2014-02-19", "value": 48810329 }, { "date": "2014-02-20", "value": 49882912 }, { "date": "2014-02-21", "value": 44943095 }, { "date": "2014-02-22", "value": 104875743 }, { "date": "2014-02-23", "value": 96383678 }, { "date": "2014-02-24", "value": 105028841 }, { "date": "2014-02-25", "value": 63967310 }, { "date": "2014-02-26", "value": 63167029 }, { "date": "2014-02-27", "value": 68577263 }, { "date": "2014-02-28", "value": 95836969 }, { "date": "2014-03-01", "value": 99264529 }, { "date": "2014-03-02", "value": 109363374 }, { "date": "2014-03-03", "value": 93985628 }, { "date": "2014-03-04", "value": 94650999 }, { "date": "2014-03-05", "value": 90866108 }, { "date": "2014-03-06", "value": 46473454 }, { "date": "2014-03-07", "value": 84075886 }, { "date": "2014-03-08", "value": 103568384 }, { "date": "2014-03-09", "value": 101534883 }, { "date": "2014-03-10", "value": 95825447 }, { "date": "2014-03-11", "value": 66133916 }, { "date": "2014-03-12", "value": 96502109 }, { "date": "2014-03-13", "value": 80169411 }, { "date": "2014-03-14", "value": 84296886 }, { "date": "2014-03-15", "value": 86347399 }, { "date": "2014-03-16", "value": 31483669 }, { "date": "2014-03-17", "value": 82811333 }, { "date": "2014-03-18", "value": 89675396 }, { "date": "2014-03-19", "value": 95514483 }, { "date": "2014-03-20", "value": 97630630 }, { "date": "2014-03-21", "value": 62340239 }, { "date": "2014-03-22", "value": 62349091 }, { "date": "2014-03-23", "value": 65613305 }, { "date": "2014-03-24", "value": 65592466 }, { "date": "2014-03-25", "value": 63408762 }, { "date": "2014-03-26", "value": 91991454 }, { "date": "2014-03-27", "value": 96123955 }, { "date": "2014-03-28", "value": 92817214 }, { "date": "2014-03-29", "value": 93029590 }, { "date": "2014-03-30", "value": 108753398 }, { "date": "2014-03-31", "value": 49383763 }, { "date": "2014-04-01", "value": 100151737 }, { "date": "2014-04-02", "value": 44985209 }, { "date": "2014-04-03", "value": 52913669 }, { "date": "2014-04-04", "value": 48748268 }, { "date": "2014-04-05", "value": 23829135 }, { "date": "2014-04-06", "value": 58694727 }, { "date": "2014-04-07", "value": 50868994 }, { "date": "2014-04-08", "value": 43799013 }, { "date": "2014-04-09", "value": 4042416 }, { "date": "2014-04-10", "value": 47298692 }, { "date": "2014-04-11", "value": 53353499 }, { "date": "2014-04-12", "value": 71248129 }, { "date": "2014-04-13", "value": 75253744 }, { "date": "2014-04-14", "value": 68976648 }, { "date": "2014-04-15", "value": 71002284 }, { "date": "2014-04-16", "value": 75052401 }, { "date": "2014-04-17", "value": 83894030 }, { "date": "2014-04-18", "value": 50236528 }, { "date": "2014-04-19", "value": 59739114 }, { "date": "2014-04-20", "value": 56407136 }, { "date": "2014-04-21", "value": 108323177 }, { "date": "2014-04-22", "value": 101578914 }, { "date": "2014-04-23", "value": 95877608 }, { "date": "2014-04-24", "value": 62088857 }, { "date": "2014-04-25", "value": 92071353 }, { "date": "2014-04-26", "value": 81790062 }, { "date": "2014-04-27", "value": 105003761 }, { "date": "2014-04-28", "value": 100457727 }, { "date": "2014-04-29", "value": 98253926 }, { "date": "2014-04-30", "value": 67956992 } ] ] ================================================ FILE: app/data/missing.json ================================================ [ { "date": "2014-01-08", "value": 500 }, { "date": "2014-01-09", "value": 500 }, { "date": "2014-01-10", "value": 400 }, { "date": "2014-01-11", "value": 500, "dead": true }, { "date": "2014-01-12", "value": 400 }, { "date": "2014-01-13", "value": 430 }, { "date": "2014-01-14", "value": 410 }, { "date": "2014-01-15", "value": 200, "dead": true }, { "date": "2014-01-16", "value": 500 }, { "date": "2014-01-17", "value": 100 }, { "date": "2014-01-18", "value": 30 }, { "date": "2014-01-19", "value": 300 }, { "date": "2014-01-20", "value": 200 } ] ================================================ FILE: app/data/points1.json ================================================ [ { "u": "cat_10", "w": 1.243871075541485, "v": "other", "y": 211.80029085913867, "x": 156.56698521169255, "z": 1.2592730408041488 }, { "u": "cat_9", "w": 0.18317089873596637, "v": "other", "y": 196.93116746887526, "x": 182.9226627644747, "z": 1.5420852412869692 }, { "u": "cat_11", "w": 1.6440310398846552, "v": "other", "y": 198.15275935129918, "x": 180.46587284398524, "z": 1.0607952297441374 }, { "u": "cat_7", "w": -0.7500939816017782, "v": "other", "y": 146.31202991730444, "x": 102.35636312891461, "z": 0.30940991631448456 }, { "u": "cat_10", "w": 0.46988959503208527, "v": "other", "y": 118.66304545624911, "x": 175.8035980586206, "z": 1.589820005614669 }, { "u": "cat_3", "w": 2.4359184943127667, "v": "other", "y": 214.0123663650676, "x": 146.24883586964125, "z": -0.8716888194991463 }, { "u": "cat_8", "w": -1.2794477449179462, "v": "other", "y": 165.45000531931404, "x": 138.83167553877533, "z": 0.365531221729956 }, { "u": "other", "w": 0.6533051004485967, "v": "cat_0", "y": 133.99465910929834, "x": 119.39730303633817, "z": 1.270978774871001 }, { "u": "cat_13", "w": -0.4527608603464446, "v": "other", "y": 262.89541671133776, "x": 209.42459012646566, "z": 0.15317285949553272 }, { "u": "cat_12", "w": 0.06915365942882012, "v": "cat_0", "y": 139.0123425273913, "x": 140.27809963809628, "z": 1.0850789531923752 }, { "u": "cat_5", "w": 0.18422289588498686, "v": "other", "y": 123.5696526089444, "x": 178.47540577185424, "z": 0.40291991519951875 }, { "u": "cat_4", "w": -0.4338210953783319, "v": "cat_1", "y": 161.93728020049016, "x": 166.16502625602917, "z": 0.5093424182003234 }, { "u": "cat_7", "w": 1.40583885575462, "v": "other", "y": 155.63962440916566, "x": 99.85204107456539, "z": 1.2530442449107233 }, { "u": "cat_10", "w": -0.4275099099676807, "v": "other", "y": 176.85285727542032, "x": 161.42701652535786, "z": 0.8230669881454445 }, { "u": "cat_4", "w": 1.463656501437303, "v": "cat_1", "y": 246.6642430026098, "x": 73.48368170456627, "z": 1.0052929735375302 }, { "u": "cat_11", "w": 0.013089161287933138, "v": "other", "y": 156.36354536529558, "x": 243.2026715373837, "z": 0.39667694750274274 }, { "u": "cat_12", "w": 0.36730326802039404, "v": "other", "y": 156.71697413402487, "x": 148.27450037397765, "z": -1.4105618351561287 }, { "u": "cat_14", "w": -0.06953747774947772, "v": "other", "y": 141.22433267951084, "x": 69.06616491304716, "z": 0.475924622911404 }, { "u": "other", "w": 0.517415189557197, "v": "other", "y": 115.95680666029197, "x": 153.0898637311175, "z": 0.9443947812526814 }, { "u": "cat_3", "w": 0.5670223685982718, "v": "other", "y": 227.27960266143467, "x": 153.22490080491232, "z": 1.32067405076989 }, { "u": "cat_7", "w": 0.5376290623874869, "v": "other", "y": 260.9119300068415, "x": 158.76997596111525, "z": 0.26196386810779426 }, { "u": "cat_8", "w": 2.168516664994767, "v": "other", "y": 170.77570545745968, "x": 135.65940169018805, "z": 0.9162849263421061 }, { "u": "cat_5", "w": 2.311955371948698, "v": "other", "y": 243.37468134084048, "x": 20.66820288532847, "z": -0.322645627898664 }, { "u": "cat_4", "w": 1.8314759939943595, "v": "other", "y": 214.1727802647768, "x": 216.61746891013505, "z": 2.4147498286441165 }, { "u": "other", "w": 0.8365279958031904, "v": "other", "y": 100.90575192733515, "x": 151.6306779403549, "z": 0.8606212265228668 }, { "u": "cat_13", "w": -0.26452281419648993, "v": "cat_0", "y": 194.59598730955793, "x": 129.361227705571, "z": 1.0322894496099724 }, { "u": "cat_13", "w": 2.6043512596594365, "v": "other", "y": 213.8128177957785, "x": 194.6414121394208, "z": 3.280204884184917 }, { "u": "cat_6", "w": 1.6310983407120137, "v": "other", "y": 163.2658097189387, "x": 187.70506769054072, "z": 1.3488889788600984 }, { "u": "cat_8", "w": 0.6487974580274094, "v": "other", "y": 194.3209257079902, "x": 192.10028088047798, "z": -0.07036372606337338 }, { "u": "cat_10", "w": 1.3927144738318111, "v": "other", "y": 161.3486689563104, "x": 86.73894049392862, "z": 0.1537876062955914 }, { "u": "cat_9", "w": -0.3771368838057665, "v": "other", "y": 182.55687300867896, "x": 201.1112292465731, "z": -0.058098755927163515 }, { "u": "cat_0", "w": -0.6345913552330389, "v": "other", "y": 165.80314397714827, "x": 206.7182591446124, "z": 1.4845564495064427 }, { "u": "cat_0", "w": 0.6855019579009463, "v": "cat_1", "y": 159.66118937446728, "x": 192.39649008863876, "z": 0.055873071009385766 }, { "u": "cat_6", "w": 2.964882131756106, "v": "other", "y": 241.84769149238159, "x": 111.35023940160411, "z": 0.167414971004892 }, { "u": "other", "w": -0.4506378010737888, "v": "other", "y": 90.4639669582562, "x": 158.90001697899683, "z": 1.1696787253371819 }, { "u": "cat_0", "w": 1.2656151949587624, "v": "other", "y": 183.02945581640645, "x": 180.4213167593254, "z": 2.0539930046863035 }, { "u": "cat_13", "w": 1.228801369090003, "v": "other", "y": 277.13369884311936, "x": 80.15664163346004, "z": 2.2937904251948638 }, { "u": "cat_5", "w": 2.0896213510871937, "v": "other", "y": 163.72382240169802, "x": 215.41216187620037, "z": 2.553028570447125 }, { "u": "cat_15", "w": 1.0981586322470924, "v": "other", "y": 109.2838491053391, "x": 184.09570421897956, "z": 0.44759620112619647 }, { "u": "other", "w": 1.3457067544720736, "v": "other", "y": 171.16629782677862, "x": 213.12963803437316, "z": 0.7270493828061404 }, { "u": "cat_13", "w": -0.7076617244518462, "v": "other", "y": 144.05587078713071, "x": 184.28906651578978, "z": 1.382134562867984 }, { "u": "cat_0", "w": -0.2800595737017382, "v": "other", "y": 193.27473606725474, "x": 154.94633537134789, "z": -0.33791235399367947 }, { "u": "cat_14", "w": 0.4456793621586681, "v": "other", "y": 125.1308061934427, "x": 123.90267987241343, "z": 2.3230978938654645 }, { "u": "cat_5", "w": 3.075103103171694, "v": "cat_0", "y": 154.8755877624397, "x": 61.020238047163375, "z": 1.6674654330131888 }, { "u": "other", "w": 0.16319305741807733, "v": "cat_0", "y": 114.08645682777497, "x": 225.28654361195518, "z": 0.4242182000961613 }, { "u": "cat_6", "w": 1.9417162589422323, "v": "other", "y": 185.28537858495014, "x": 155.5736376536581, "z": 1.1747492195973144 }, { "u": "cat_4", "w": 1.155787735870216, "v": "cat_1", "y": 183.24930292147863, "x": 115.40643586463635, "z": 0.19242660628339903 }, { "u": "other", "w": 0.6070329867687532, "v": "other", "y": 57.398818613660296, "x": 219.87611544574744, "z": 1.1095208041769122 }, { "u": "cat_6", "w": 0.4083905726447342, "v": "other", "y": 175.40387812166918, "x": 224.68335734038368, "z": -0.42207104629857617 }, { "u": "cat_5", "w": 0.6585907631358738, "v": "cat_1", "y": 124.05051069396585, "x": 127.07766432478591, "z": 0.1354114111502046 }, { "u": "cat_10", "w": 1.734882212854999, "v": "cat_1", "y": 143.78518104207086, "x": 198.75776145611215, "z": -0.12283925137929064 }, { "u": "other", "w": 0.20503963437937356, "v": "other", "y": 151.75327292745928, "x": 148.9695770940796, "z": 0.564428194218838 }, { "u": "cat_15", "w": 1.8574692523422356, "v": "other", "y": 306.0898140884456, "x": 147.43144660079602, "z": -0.22413411708624853 }, { "u": "cat_4", "w": 1.1062688896220425, "v": "other", "y": 212.44397654702615, "x": 195.86829581464062, "z": 0.7453160939357952 }, { "u": "cat_15", "w": -0.27774340110996487, "v": "cat_0", "y": 122.63707978879633, "x": 95.64182307323996, "z": 0.6430476399500114 }, { "u": "cat_11", "w": 1.693891428609414, "v": "other", "y": 161.59041244043587, "x": 64.83892325218056, "z": 0.6409468598992659 }, { "u": "cat_0", "w": 1.8192638452039414, "v": "cat_0", "y": 203.44169192711857, "x": 175.9035258508178, "z": 1.0101903553514529 }, { "u": "cat_10", "w": 1.6693901234237167, "v": "other", "y": 266.02281722067806, "x": 193.7229721388815, "z": 1.3287927803604402 }, { "u": "cat_2", "w": 1.6276382654036277, "v": "cat_0", "y": 174.54476940927518, "x": 85.70090208863968, "z": 1.3166929052154481 }, { "u": "cat_4", "w": 0.893609545984623, "v": "other", "y": 135.20127141724655, "x": 161.0852992807473, "z": 0.7423369081120028 }, { "u": "cat_8", "w": -0.25726080091728387, "v": "other", "y": 87.98074634203813, "x": 194.6466767641028, "z": 1.171709779521613 }, { "u": "cat_6", "w": 1.4386749809763226, "v": "other", "y": 154.56889252680085, "x": 137.16494490842896, "z": 1.8319953052292166 }, { "u": "cat_1", "w": 1.9751827147081238, "v": "other", "y": 150.52324196509258, "x": 51.69078624012406, "z": -0.23529144151246717 }, { "u": "cat_14", "w": 1.3843184328271165, "v": "other", "y": 160.51323171649904, "x": 169.7361988952806, "z": 1.3970600816965812 }, { "u": "cat_15", "w": -0.475868599212677, "v": "other", "y": 132.27225542990598, "x": 103.56729490389614, "z": 0.4512210085364755 }, { "u": "cat_4", "w": 1.2081442447975173, "v": "cat_0", "y": 56.102440394233255, "x": 124.56829572524175, "z": 1.2994110022657026 }, { "u": "cat_13", "w": 1.736143244910195, "v": "cat_0", "y": 212.5650565277553, "x": 140.4278102663895, "z": 2.3771380059458744 }, { "u": "cat_14", "w": -0.461785512082463, "v": "cat_1", "y": 101.5707842719089, "x": 196.16957370342342, "z": 2.0950787429883846 }, { "u": "cat_5", "w": 1.3260330340794257, "v": "cat_1", "y": 195.74556071781365, "x": 36.939138857293585, "z": -0.05847270264086335 }, { "u": "cat_9", "w": 0.3220908087517964, "v": "other", "y": 221.78294482102933, "x": 74.76586558666337, "z": -0.05817419869022866 }, { "u": "cat_5", "w": 0.8170251870816604, "v": "other", "y": 179.17790605043118, "x": 232.48747575985655, "z": 1.7029885149441673 }, { "u": "cat_3", "w": 0.2659811986182221, "v": "cat_1", "y": 192.81824199631728, "x": 140.710358385573, "z": 1.5793646916427102 }, { "u": "cat_8", "w": 1.2271687489820546, "v": "other", "y": 111.59013545108343, "x": 101.3489243773156, "z": 3.21128318091031 }, { "u": "cat_13", "w": 1.3499209090064648, "v": "other", "y": 91.89209852687142, "x": 154.6035518322702, "z": 0.6817267324899431 }, { "u": "cat_0", "w": 2.159235435849202, "v": "other", "y": 158.63631854616588, "x": 120.35802170671863, "z": 0.6067162231097979 }, { "u": "cat_14", "w": 0.8523794752014957, "v": "other", "y": 76.05793322732642, "x": 138.4115475783541, "z": 0.2967991752860232 }, { "u": "cat_12", "w": 1.0558373735944235, "v": "other", "y": 124.74002651703651, "x": 157.02907657551447, "z": -0.025374565392791038 }, { "u": "cat_0", "w": 1.3648422432834806, "v": "cat_1", "y": 203.82847317695288, "x": 152.02003088030492, "z": -0.4421819240850271 }, { "u": "cat_4", "w": 0.8156055831409262, "v": "other", "y": 95.97296459484079, "x": 78.51455593195435, "z": 1.1994133990162583 }, { "u": "cat_3", "w": 0.727605537039985, "v": "other", "y": 168.70196209212494, "x": 212.41730028904536, "z": 0.6997491454171789 }, { "u": "cat_6", "w": 1.262490286926595, "v": "other", "y": 134.65200754480446, "x": 42.54634367887225, "z": 0.5177600909542267 }, { "u": "cat_8", "w": 1.4837053114286998, "v": "cat_0", "y": 112.28208956177541, "x": 193.95863032046006, "z": 1.0019859410064678 }, { "u": "cat_8", "w": -0.16895357221403362, "v": "cat_0", "y": 192.98985884826888, "x": 144.96182365337268, "z": 1.4190462447457899 }, { "u": "cat_16", "w": 1.0468806482899717, "v": "cat_0", "y": 152.86277692393685, "x": 137.2022037296142, "z": 0.4593974450208086 }, { "u": "cat_6", "w": 2.462089222004976, "v": "cat_1", "y": 178.5621123552027, "x": 142.01082685227874, "z": 0.580699096900331 }, { "u": "other", "w": -0.9097490420343397, "v": "other", "y": 137.21823856264854, "x": 94.98376759227347, "z": 2.118286289288478 }, { "u": "cat_5", "w": 0.6155123359814616, "v": "other", "y": 52.94291552982141, "x": 85.57431217669814, "z": -0.09704681018895633 }, { "u": "cat_11", "w": 1.9468348457441005, "v": "other", "y": 243.07706417763518, "x": 163.35061475046334, "z": 1.178015608927323 }, { "u": "cat_13", "w": -0.11396040656336393, "v": "other", "y": 102.69550510842956, "x": 105.80547059051209, "z": 1.7309952065474825 }, { "u": "cat_0", "w": 1.0201819734167836, "v": "other", "y": 226.24093931458543, "x": 128.26413056781655, "z": 0.602354545792653 }, { "u": "cat_9", "w": 0.41269060095932775, "v": "other", "y": 22.06560060765568, "x": 169.41836118747312, "z": 0.6422396319927962 }, { "u": "cat_13", "w": 1.1423761297271733, "v": "other", "y": 122.16006750791158, "x": 64.32267243426844, "z": 0.5677725122287971 }, { "u": "cat_0", "w": -0.4940883354815302, "v": "other", "y": 146.45339448820994, "x": 172.009924725858, "z": 0.5733149663059203 }, { "u": "cat_12", "w": 2.0427267231236836, "v": "other", "y": 105.09233739863171, "x": 151.8604441328228, "z": -1.0417341971519445 }, { "u": "cat_0", "w": -0.06844772614894712, "v": "cat_0", "y": 208.74646965359665, "x": 211.0589178490544, "z": 3.033892234816319 }, { "u": "cat_10", "w": 0.1407531030532979, "v": "other", "y": 212.1295737404453, "x": 157.62156278215423, "z": -0.17802781876760476 }, { "u": "cat_7", "w": 0.654514275645782, "v": "cat_1", "y": 127.45107550739947, "x": 94.87901525572023, "z": 1.169027403658316 }, { "u": "cat_15", "w": 2.7361843748627708, "v": "other", "y": 184.8888620082486, "x": 116.81017887336674, "z": -0.5196787907040106 }, { "u": "other", "w": 0.7134526835944346, "v": "other", "y": 169.9779808978828, "x": 108.48468655071922, "z": 2.4985146493801524 }, { "u": "cat_1", "w": 2.0017599837707474, "v": "other", "y": 193.69331303548242, "x": 161.953677145996, "z": 0.9928254618909004 } ] ================================================ FILE: app/data/ufoDates.json ================================================ [ 30, 0, 203, 0, 30, 0, 0, 116, 180, 57, 0, 0, 2, 75, 0, 0, 21, 25, 2, 0, 29, 0, 101, 27, 43, 0, 770, 0, 24, 0, 0, 39, 0, 2, 24, 21, 25, 1, 27, 1866, 113, 0, 1, 1, 876, 1, 0, 0, 68, 287, 1, 257, 31, 299, 176, 21, 51, 51, 51, 25, 20, 91, 24, 0, 0, 48, 279, 70, 52, 22, 100, 50, 80, 1, 10, 0, 3059, 3059, 3059, 4, 74, 26, 383, 0, 3227, 32, 315, 0, 0, 28, 34, 1, 35, 84, 20, 0, 94, 21, 730, 203, 3, 30, 5, 0, 1, 1013, 84, 8, 2056, 7, 75, 291, 291, 291, 570, 4582, 4582, 4582, 148, 415, 139, 30, 0, 6, 40, 237, 3318, 3318, 3318, 253, 106, 162, 356, 121, 1172, 41, 525, 320, 320, 320, 1632, 1632, 1632, 1437, 1267, 64, 149, 67, 0, 29, 33, 115, 482, 1, 434, 65, 219, 0, 142, 157, 13, 0, 27, 24, 1464, 1464, 1464, 56, 422, 1, 775, 367, 90, 189, 0, 1636, 631, 3261, 3261, 3261, 137, 20, 30, 1268, 1268, 1268, 115, 153, 193, 3, 20, 0, 1, 0, 162, 726, 16, 2069, 53, 786, 552, 46, 148, 28, 205, 3, 0, 0, 98, 4006, 4006, 4006, 37, 2, 49, 25, 211, 135, 541, 549, 56, 184, 1398, 1398, 1398, 2602, 2602, 2602, 178, 331, 49, 598, 2219, 28, 8, 65, 3653, 3653, 3653, 2552, 2552, 2552, 31, 1233, 28, 69, 126, 585, 22, 89, 35, 97, 36, 32, 430, 4241, 4241, 4241, 4513, 4513, 4513, 132, 701, 21, 493, 119, 784, 346, 149, 0, 43, 101, 20, 28, 398, 23, 980, 343, 51, 1183, 58, 61, 358, 977, 938, 1, 22, 567, 622, 2341, 1166, 194, 1044, 292, 942, 754, 39, 2, 642, 99, 35, 23, 140, 2534, 280, 3228, 3228, 3228, 36, 40, 37, 1424, 40, 309, 36, 48, 87, 1, 627, 155, 155, 155, 326, 178, 481, 1321, 1321, 1321, 2310, 2310, 2310, 32, 3773, 3773, 3773, 63, 729, 406, 369, 119, 119, 119, 4193, 4193, 4193, 799, 677, 912, 2197, 2197, 2197, 23, 56, 1203, 1203, 1203, 1030, 224, 363, 1746, 1746, 1746, 23, 417, 2340, 4634, 4634, 4634, 610, 350, 320, 3, 115, 3, 23, 202, 47, 4001, 4001, 4001, 0, 0, 211, 211, 211, 0, 2, 133, 1588, 1588, 1588, 53, 34, 4, 12, 21, 238, 144, 144, 144, 11, 74, 280, 107, 24, 343, 68, 46, 38, 339, 1922, 0, 1947, 1947, 1947, 3187, 29, 61, 55, 47, 104, 179, 1446, 1, 238, 669, 3, 79, 61, 5, 581, 1112, 24, 52, 316, 203, 39, 226, 106, 106, 106, 0, 203, 137, 4411, 4411, 4411, 120, 36, 722, 27, 681, 105, 135, 21, 215, 0, 69, 81, 65, 4, 104, 792, 2327, 74, 20, 30, 42, 0, 4300, 4300, 4300, 92, 113, 28, 392, 20, 37, 115, 31, 607, 241, 169, 104, 27, 84, 403, 2205, 3447, 3447, 3447, 213, 21, 36, 989, 888, 888, 888, 0, 206, 14, 98, 98, 98, 325, 87, 172, 299, 1193, 208, 2862, 203, 727, 727, 727, 409, 3770, 3770, 3770, 56, 87, 582, 582, 582, 614, 3067, 3067, 3067, 252, 2272, 2272, 2272, 3911, 21, 451, 894, 49, 268, 268, 268, 0, 151, 212, 575, 23, 1063, 2, 21, 159, 440, 979, 3183, 3183, 3183, 1805, 217, 280, 90, 1110, 2480, 444, 1382, 2523, 2523, 2523, 22, 131, 35, 125, 388, 3502, 3502, 3502, 30, 26, 64, 1830, 1830, 1830, 1268, 3604, 3604, 3604, 967, 41, 483, 46, 972, 84, 21, 906, 0, 0, 3, 576, 365, 2885, 2885, 2885, 365, 1, 236, 634, 99, 477, 49, 114, 34, 1381, 702, 395, 775, 255, 4660, 4660, 4660, 116, 803, 289, 2432, 2432, 2432, 148, 28, 1206, 98, 67, 2639, 185, 1205, 1511, 1463, 24, 1290, 450, 1, 1370, 3315, 2558, 181, 0, 1380, 1380, 1380, 174, 2507, 2507, 2507, 29, 286, 525, 1732, 70, 99, 8, 21, 95, 2163, 664, 664, 664, 21, 33, 56, 3138, 28, 1, 1361, 37, 0, 36, 33, 38, 260, 90, 0, 582, 972, 302, 4854, 4854, 4854, 7, 485, 53, 4636, 4636, 4636, 55, 89, 255, 186, 93, 22, 2032, 23, 63, 3524, 3524, 3524, 2596, 2596, 2596, 2843, 4589, 4589, 4589, 1172, 367, 26, 22, 350, 15, 278, 122, 1202, 185, 0, 1593, 1593, 1593, 32, 39, 916, 23, 577, 526, 1231, 36, 34, 502, 52, 0, 2084, 2084, 2084, 853, 853, 853, 21, 82, 195, 1592, 1592, 1592, 22, 4372, 4372, 4372, 1, 9, 904, 904, 904, 474, 1135, 100, 1490, 1284, 25, 2415, 2415, 2415, 44, 140, 352, 220, 345, 48, 25, 147, 82, 360, 1487, 1487, 1487, 1601, 1601, 1601, 20, 1536, 29, 410, 1077, 0, 161, 161, 161, 3949, 3949, 3949, 1139, 257, 29, 44, 62, 62, 62, 582, 582, 582, 130, 1076, 320, 1, 61, 214, 2782, 64, 41, 283, 30, 520, 454, 2454, 2454, 2454, 388, 7, 950, 45, 80, 190, 5, 189, 1933, 1933, 1933, 26, 2, 470, 73, 1513, 434, 1410, 1410, 1410, 559, 3363, 3363, 3363, 0, 441, 525, 1070, 0, 1834, 1506, 41, 32, 404, 0, 808, 166, 53, 2, 834, 0, 136, 24, 404, 1056, 1, 3284, 3284, 3284, 4662, 4662, 4662, 1009, 1009, 1009, 40, 1326, 25, 1542, 195, 49, 31, 45, 21, 1436, 25, 1476, 1476, 1476, 1194, 49, 2002, 51, 2, 3734, 3734, 3734, 455, 1209, 243, 48, 34, 393, 1160, 1160, 1160, 1020, 368, 34, 1, 31, 47, 103, 109, 540, 3212, 3212, 3212, 460, 1958, 1958, 1958, 30, 1121, 1959, 1959, 1959, 411, 93, 203, 1425, 190, 245, 2088, 280, 280, 280, 2290, 94, 4755, 4755, 4755, 1, 25, 3512, 3512, 3512, 53, 59, 1887, 1887, 1887, 33, 45, 55, 24, 1872, 741, 1405, 1405, 1405, 1098, 85, 31, 92, 94, 148, 397, 393, 445, 2476, 56, 1182, 711, 789, 0, 48, 264, 104, 839, 780, 780, 780, 360, 533, 0, 27, 2625, 1851, 697, 53, 1342, 4443, 4443, 4443, 23, 1, 112, 3118, 1535, 4705, 4705, 4705, 1, 3, 397, 679, 1489, 202, 202, 202, 72, 1199, 1275, 1259, 2028, 2028, 2028, 32, 360, 1076, 1076, 1076, 1042, 1776, 155, 63, 39, 3698, 563, 146, 40, 125, 1218, 3873, 4683, 4683, 4683, 68, 811, 79, 22, 514, 31, 362, 153, 714, 1188, 1188, 1188, 501, 4037, 4037, 4037, 900, 2653, 2653, 2653, 1557, 1557, 1557, 2174, 29, 0, 32, 3332, 3332, 3332, 32, 31, 349, 2, 307, 349, 828, 4, 764, 27, 4044, 1, 14, 3327, 3327, 3327, 480, 480, 480, 171, 99, 22, 4321, 4321, 4321, 35, 101, 20, 68, 101, 59, 0, 489, 27, 55, 43, 1648, 1648, 1648, 1, 4, 1769, 68, 1273, 646, 639, 1557, 452, 216, 1070, 1229, 1229, 1229, 701, 142, 3494, 2, 149, 365, 608, 370, 30, 0, 2388, 2388, 2388, 27, 314, 603, 24, 333, 333, 333, 2736, 2736, 2736, 365, 417, 2808, 2808, 2808, 2201, 3341, 3341, 3341, 1327, 42, 366, 366, 366, 249, 23, 56, 1258, 486, 93, 210, 2581, 2581, 2581, 810, 49, 251, 251, 251, 205, 1100, 135, 75, 155, 160, 82, 960, 2037, 2110, 75, 3421, 3421, 3421, 158, 37, 873, 70, 674, 4606, 4606, 4606, 192, 4435, 4435, 4435, 2251, 1, 848, 220, 0, 155, 768, 768, 768, 54, 31, 1460, 1460, 1460, 168, 102, 342, 3147, 3147, 3147, 128, 37, 1856, 161, 614, 520, 27, 480, 54, 4166, 838, 92, 512, 219, 219, 219, 661, 75, 220, 812, 27, 1976, 1899, 41, 172, 4975, 4975, 4975, 4709, 4709, 4709, 2734, 2734, 2734, 3147, 3147, 3147, 505, 231, 231, 231, 44, 31, 271, 62, 862, 276, 36, 18, 228, 497, 4279, 4279, 4279, 606, 1, 29, 496, 152, 223, 63, 1196, 156, 78, 221, 368, 1954, 1954, 1954, 271, 4, 101, 2336, 398, 262, 2297, 2060, 4252, 2905, 2905, 2905, 35, 598, 1417, 175, 1280, 1280, 1280, 55, 1176, 2453, 1921, 1921, 1921, 48, 1729, 1397, 71, 0, 1748, 2, 223, 336, 1603, 1332, 28, 90, 1545, 2630, 1347, 120, 3668, 3668, 3668, 0, 477, 2780, 2399, 2399, 2399, 2497, 46, 1250, 282, 26, 28, 2064, 7, 58, 4926, 4926, 4926, 160, 392, 281, 1006, 1025, 133, 4877, 4877, 4877, 185, 139, 399, 276, 4065, 4065, 4065, 4840, 4840, 4840, 1948, 25, 184, 184, 184, 154, 1636, 30, 71, 497, 698, 698, 698, 1813, 21, 3, 135, 47, 729, 207, 804, 31, 5, 252, 32, 657, 2, 1342, 497, 166, 522, 102, 1657, 1657, 1657, 157, 1282, 1282, 1282, 365, 365, 365, 3726, 3726, 3726, 263, 84, 170, 562, 27, 43, 2045, 2045, 2045, 3, 325, 144, 4646, 4646, 4646, 1611, 82, 1601, 1601, 1601, 1656, 1656, 1656, 259, 963, 900, 1107, 1225, 543, 56, 0, 876, 2235, 2235, 2235, 218, 378, 378, 378, 4806, 4806, 4806, 276, 53, 176, 2050, 3659, 1167, 804, 117, 3113, 3113, 3113, 130, 1118, 133, 48, 2, 1, 206, 55, 55, 55, 2049, 366, 558, 64, 1729, 85, 95, 608, 91, 28, 105, 153, 342, 15, 0, 438, 20, 644, 1750, 276, 3458, 3458, 3458, 89, 1274, 551, 971, 294, 302, 1000, 172, 107, 21, 23, 1, 371, 104, 2222, 2, 27, 4976, 4976, 4976, 1663, 1663, 1663, 3121, 3121, 3121, 296, 672, 754, 83, 38, 710, 4678, 4678, 4678, 2, 2128, 2128, 2128, 48, 198, 489, 8, 798, 580, 0, 34, 4840, 4840, 4840, 44, 1419, 2838, 2838, 2838, 22, 463, 4657, 4657, 4657, 1651, 310, 0, 35, 31, 3618, 3618, 3618, 3795, 3795, 3795, 1498, 2, 1377, 347, 147, 32, 114, 303, 52, 510, 510, 510, 30, 35, 683, 0, 4983, 4983, 4983, 579, 42, 1162, 3189, 3189, 3189, 165, 1, 2872, 2872, 2872, 47, 1355, 1092, 2108, 2108, 2108, 4373, 15, 322, 1053, 213, 331, 344, 23, 1477, 1477, 1477, 2190, 2190, 2190, 114, 62, 650, 41, 1439, 1439, 1439, 30, 595, 1882, 1186, 25, 334, 4677, 4677, 4677, 91, 4091, 528, 1756, 1756, 1756, 45, 40, 316, 0, 279, 1634, 673, 61, 1517, 66, 407, 106, 251, 22, 3731, 3731, 3731, 218, 533, 85, 1050, 1050, 1050, 458, 1435, 363, 94, 1431, 126, 930, 3655, 1461, 1, 755, 231, 36, 271, 2843, 92, 48, 0, 603, 30, 320, 131, 24, 1369, 30, 1390, 308, 1, 2823, 2823, 2823, 3691, 3691, 3691, 1934, 373, 548, 726, 50, 1406, 783, 304, 353, 35, 670, 365, 344, 628, 1885, 1885, 1885, 30, 60, 34, 34, 2550, 691, 3172, 3172, 3172, 35, 978, 4810, 4810, 4810, 127, 7, 4430, 4430, 4430, 2173, 378, 340, 719, 26, 642, 646, 4585, 4585, 4585, 549, 3227, 3227, 3227, 50, 378, 67, 2, 66, 89, 308, 964, 467, 4986, 4986, 4986, 4343, 4343, 4343, 789, 139, 32, 18, 172, 954, 44, 3285, 3285, 3285, 2, 1485, 24, 885, 81, 12, 2364, 292, 415, 1376, 4366, 4366, 4366, 29, 902, 140, 85, 1208, 0, 522, 26, 1847, 622, 701, 701, 701, 1072, 1072, 1072, 59, 25, 190, 921, 55, 77, 53, 4387, 4387, 4387, 2173, 2173, 2173, 749, 63, 0, 703, 703, 703, 143, 125, 181, 15, 190, 715, 4029, 4029, 4029, 27, 2042, 2042, 2042, 2221, 195, 253, 605, 96, 62, 48, 47, 36, 2387, 2387, 2387, 22, 192, 38, 91, 1721, 396, 396, 396, 42, 374, 64, 85, 584, 25, 1944, 46, 1052, 1052, 1052, 340, 22, 33, 104, 0, 852, 21, 419, 2292, 2292, 2292, 57, 64, 1815, 312, 1843, 1843, 1843, 320, 79, 269, 369, 369, 369, 78, 3141, 3141, 3141, 44, 64, 4418, 30, 92, 175, 97, 4724, 4724, 4724, 828, 3451, 415, 4148, 4148, 4148, 46, 224, 0, 2198, 2198, 2198, 1212, 1212, 1212, 31, 1129, 161, 1908, 1908, 1908, 714, 322, 42, 3816, 3816, 3816, 33, 249, 249, 249, 3, 22, 48, 1641, 3635, 3788, 3788, 3788, 215, 592, 1660, 1471, 447, 2, 0, 1, 665, 1202, 615, 1575, 277, 277, 277, 38, 397, 30, 1166, 1118, 116, 76, 52, 946, 21, 57, 153, 55, 41, 1900, 31, 2964, 2964, 2964, 473, 4095, 4095, 4095, 0, 1771, 733, 21, 162, 625, 1118, 20, 376, 395, 395, 395, 4, 4023, 4023, 4023, 628, 3671, 3671, 3671, 1, 781, 675, 334, 83, 619, 580, 56, 95, 85, 44, 23, 1096, 150, 31, 1811, 1811, 1811, 3033, 3033, 3033, 747, 747, 747, 146, 243, 2149, 497, 25, 206, 764, 764, 764, 4357, 4357, 4357, 4720, 4720, 4720, 339, 25, 0, 310, 188, 4041, 4041, 4041, 50, 706, 733, 64, 722, 4077, 4077, 4077, 4515, 4515, 4515, 1213, 1448, 1165, 0, 26, 67, 2379, 2379, 2379, 59, 84, 38, 1474, 351, 494, 808, 26, 311, 311, 311, 180, 1638, 1638, 1638, 1834, 1834, 1834, 22, 3732, 3732, 3732, 70, 237, 96, 2878, 133, 610, 4369, 4369, 4369, 53, 1017, 1017, 1017, 765, 765, 765, 1050, 1050, 1050, 23, 1253, 282, 318, 375, 7, 2054, 409, 31, 18, 0, 37, 3, 42, 370, 91, 31, 914, 270, 733, 31, 183, 31, 1, 11, 633, 1, 101, 101, 101, 27, 70, 186, 248, 24, 1836, 243, 28, 880, 30, 133, 27, 20, 792, 363, 1063, 27, 24, 5, 633, 633, 633, 37, 722, 1562, 1562, 1562, 0, 0, 16, 54, 39, 277, 857, 15, 1097, 38, 802, 1065, 34, 3223, 3223, 3223, 38, 1957, 1957, 1957, 513, 604, 23, 3337, 3337, 3337, 881, 590, 30, 9, 7, 274, 22, 23, 3253, 3253, 3253, 105, 58, 130, 843, 843, 843, 160, 191, 223, 223, 223, 196, 1844, 1844, 1844, 1, 9, 1, 53, 25, 908, 769, 398, 2116, 22, 263, 2974, 3442, 3442, 3442, 49, 801, 24, 24, 911, 68, 69, 255, 321, 26, 41, 0, 337, 20, 817, 1865, 2922, 2922, 2922, 350, 55, 71, 1974, 1974, 1974, 131, 911, 911, 911, 4947, 4947, 4947, 1, 25, 21, 372, 41, 141, 44, 3, 1, 761, 23, 1960, 1960, 1960, 25, 76, 269, 799, 799, 799, 903, 903, 903, 11, 7, 48, 3, 28, 4737, 4737, 4737, 176, 1, 3344, 800, 0, 132, 1869, 1869, 1869, 21, 24, 199, 27, 43, 1, 71, 1, 4176, 4176, 4176, 1843, 1843, 1843, 4106, 4106, 4106, 80, 1015, 1015, 1015, 110, 1460, 122, 2947, 28, 12, 0, 30, 36, 112, 141, 756, 61, 71, 282, 27, 1816, 1816, 1816, 2302, 1726, 125, 89, 41, 234, 0, 124, 22, 4127, 4127, 4127, 4546, 4546, 4546, 805, 70, 0, 1592, 568, 851, 28, 4449, 4449, 4449, 0, 0, 327, 884, 1, 1261, 338, 322, 64, 90, 85, 0, 43, 239, 8, 118, 1512, 841, 452, 251, 859, 45, 789, 1550, 22, 1, 26, 120, 1370, 24, 50, 0, 231, 1056, 21, 218, 885, 129, 20, 2590, 2590, 2590, 377, 0, 2639, 2639, 2639, 1556, 1556, 1556, 33, 872, 24, 0, 1080, 0, 4145, 4145, 4145, 32, 0, 33, 1122, 3058, 51, 1561, 2263, 2263, 2263, 34, 39, 0, 4443, 4443, 4443, 889, 346, 1295, 1, 1894, 1894, 1894, 21, 32, 3303, 3303, 3303, 23, 102, 1, 59, 46, 836, 3319, 3319, 3319, 1408, 20, 924, 563, 563, 563, 2846, 2846, 2846, 1, 370, 1646, 4339, 46, 915, 952, 3609, 548, 1220, 2, 369, 539, 539, 539, 4528, 4528, 4528, 513, 148, 3166, 1910, 1910, 1910, 930, 79, 127, 21, 545, 864, 591, 3723, 539, 120, 367, 20, 24, 222, 162, 56, 23, 484, 4, 59, 1, 162, 240, 9, 458, 952, 1022, 32, 20, 155, 131, 51, 26, 1, 4414, 4414, 4414, 1134, 0, 360, 0, 147, 70, 890, 126, 29, 114, 771, 860, 609, 22, 68, 977, 173, 1181, 20, 2668, 2668, 2668, 45, 40, 367, 113, 958, 863, 863, 863, 180, 26, 1, 43, 1611, 1611, 1611, 1376, 24, 4714, 4714, 4714, 2983, 2983, 2983, 3, 0, 0, 1096, 31, 64, 4195, 4195, 4195, 185, 3939, 3939, 3939, 784, 334, 22, 26, 3531, 3531, 3531, 1599, 1599, 1599, 4127, 4127, 4127, 54, 126, 1055, 79, 371, 1187, 28, 0, 116, 1645, 170, 22, 1960, 458, 550, 25, 39, 43, 269, 892, 1, 0, 592, 592, 592, 1, 555, 555, 555, 1822, 1822, 1822, 14, 1463, 1463, 1463, 52, 365, 92, 41, 36, 3079, 3079, 3079, 1156, 525, 604, 2606, 1671, 201, 2249, 2249, 2249, 29, 345, 2938, 24, 3875, 3875, 3875, 925, 925, 925, 366, 31, 298, 177, 185, 36, 189, 546, 486, 1, 52, 1267, 71, 1718, 2325, 2325, 2325, 4059, 47, 1646, 1687, 38, 739, 499, 37, 608, 23, 22, 6, 103, 38, 0, 101, 3431, 3431, 3431, 4044, 4044, 4044, 225, 527, 905, 905, 905, 3387, 3387, 3387, 46, 519, 376, 376, 376, 2344, 216, 743, 743, 743, 3671, 3671, 3671, 328, 508, 41, 4001, 4001, 4001, 88, 1, 25, 365, 40, 1543, 374, 461, 324, 2402, 2, 1983, 1983, 1983, 2073, 441, 24, 145, 137, 4993, 4993, 4993, 36, 1, 155, 317, 54, 276, 260, 2396, 3463, 3463, 3463, 1137, 4, 96, 3201, 3201, 3201, 2, 60, 2369, 1567, 1, 235, 113, 52, 392, 2360, 175, 175, 175, 415, 1269, 1269, 1269, 0, 30, 632, 207, 365, 3434, 3434, 3434, 222, 167, 1428, 3867, 3867, 3867, 1723, 172, 99, 1030, 192, 316, 911, 124, 1066, 43, 236, 3589, 575, 449, 65, 366, 76, 1382, 547, 104, 2, 1947, 1947, 1947, 187, 198, 3554, 3554, 3554, 1378, 51, 4624, 185, 217, 3, 258, 4650, 4650, 4650, 47, 1071, 61, 976, 37, 978, 978, 978, 1717, 1717, 1717, 12, 493, 0, 784, 22, 1193, 1193, 1193, 50, 2310, 1299, 7, 1271, 1271, 1271, 3098, 62, 29, 667, 341, 358, 4075, 4075, 4075, 2738, 2738, 2738, 3564, 3564, 3564, 2472, 186, 2, 132, 409, 545, 1283, 1283, 1283, 1479, 593, 592, 231, 231, 231, 1, 2524, 2524, 2524, 157, 3725, 151, 334, 2503, 1063, 1063, 1063, 11, 761, 29, 53, 579, 74, 129, 32, 233, 3821, 3821, 3821, 1287, 102, 923, 339, 79, 146, 2470, 2470, 2470, 101, 64, 2965, 2965, 2965, 209, 1, 1731, 367, 156, 223, 194, 20, 1081, 1081, 1081, 62, 40, 518, 220, 317, 1081, 4213, 4213, 4213, 1743, 3607, 3607, 3607, 1487, 664, 519, 1, 2511, 321, 3370, 3370, 3370, 32, 36, 1738, 111, 1228, 1228, 1228, 30, 35, 421, 942, 942, 942, 18, 29, 611, 205, 4981, 4981, 4981, 998, 974, 2763, 2856, 2856, 2856, 3996, 3996, 3996, 99, 1036, 1036, 1036, 367, 1664, 367, 367, 367, 1167, 111, 372, 796, 796, 796, 113, 113, 113, 210, 56, 127, 791, 47, 855, 65, 1140, 22, 448, 1224, 21, 33, 1147, 113, 119, 557, 26, 48, 226, 315, 0, 302, 60, 1189, 1189, 1189, 3124, 3124, 3124, 5, 25, 47, 37, 923, 1733, 1733, 1733, 22, 0, 21, 179, 0, 679, 692, 1, 1059, 1059, 1059, 24, 43, 0, 3843, 3843, 3843, 4, 1, 2728, 1727, 2536, 1123, 0, 2947, 10, 3874, 3874, 3874, 4260, 962, 225, 1821, 84, 0, 3576, 3576, 3576, 138, 3474, 3474, 3474, 4045, 4045, 4045, 1093, 36, 3406, 133, 113, 236, 249, 2737, 53, 1757, 157, 968, 0, 848, 59, 2094, 2094, 2094, 304, 1978, 29, 921, 1, 3757, 3757, 3757, 306, 20, 145, 26, 189, 4678, 4678, 4678, 202, 76, 28, 94, 74, 18, 1429, 634, 0, 1420, 35, 147, 339, 2240, 2240, 2240, 22, 1752, 101, 4878, 4878, 4878, 230, 112, 38, 71, 359, 39, 74, 1795, 30, 3990, 3990, 3990, 40, 2572, 2572, 2572, 383, 30, 836, 55, 29, 356, 1738, 35, 1839, 1839, 1839, 2125, 2125, 2125, 761, 96, 23, 204, 6, 53, 1, 1829, 125, 284, 743, 26, 20, 301, 1867, 3889, 3889, 3889, 327, 281, 2999, 2999, 2999, 1151, 22, 66, 725, 1367, 4, 4601, 4601, 4601, 6, 706, 89, 25, 545, 44, 30, 91, 26, 21, 1218, 52, 1520, 456, 1741, 2496, 2496, 2496, 278, 1050, 362, 54, 1, 37, 249, 21, 1269, 38, 1, 2021, 2021, 2021, 89, 179, 1126, 1126, 1126, 2, 752, 752, 752, 29, 2356, 2356, 2356, 373, 1120, 190, 31, 1376, 4318, 4683, 20, 45, 55, 0, 111, 930, 464, 25, 1812, 265, 696, 906, 326, 326, 326, 51, 294, 685, 2309, 2309, 2309, 298, 333, 2545, 2545, 2545, 70, 1540, 559, 501, 710, 1159, 41, 617, 1200, 1125, 849, 1437, 1437, 1437, 916, 390, 138, 175, 0, 227, 332, 1472, 2550, 2550, 2550, 1130, 16, 1796, 0, 393, 366, 26, 2817, 1, 711, 907, 26, 41, 4320, 4320, 4320, 1510, 1510, 1510, 2, 132, 1379, 1501, 605, 64, 186, 1101, 89, 1574, 80, 187, 329, 118, 59, 56, 2, 212, 1025, 174, 1, 25, 253, 1431, 2193, 2193, 2193, 1956, 916, 916, 916, 2446, 2620, 21, 43, 6, 139, 0, 2607, 2607, 2607, 0, 1365, 274, 33, 241, 2285, 52, 1, 61, 235, 235, 235, 183, 30, 0, 1, 1, 765, 1, 3533, 3533, 3533, 1042, 29, 4190, 4190, 4190, 26, 1615, 27, 229, 368, 368, 368, 250, 8, 1, 0, 32, 355, 31, 432, 32, 20, 22, 22, 44, 146, 1763, 491, 491, 491, 0, 180, 39, 30, 50, 941, 1180, 328, 1, 100, 1778, 707, 293, 32, 1790, 31, 825, 31, 11, 24, 429, 0, 20, 1852, 79, 109, 0, 0, 2579, 2579, 2579, 74, 30, 29, 112, 3392, 3087, 3087, 3087, 19, 1554, 1554, 1554, 23, 2393, 131, 347, 444, 1842, 1681, 3, 6, 999, 34, 1193, 183, 880, 880, 880, 919, 919, 919, 966, 966, 966, 1242, 3275, 3275, 3275, 1, 0, 137, 665, 25, 31, 65, 70, 1389, 3097, 845, 2669, 91, 370, 213, 1850, 38, 138, 218, 624, 624, 624, 93, 1955, 1955, 1955, 265, 1297, 21, 1577, 1994, 1994, 1994, 113, 552, 57, 834, 75, 0, 1187, 3400, 3400, 3400, 2250, 34, 61, 2885, 2885, 2885, 0, 35, 35, 35, 1892, 1862, 1897, 1897, 1897, 235, 45, 43, 3906, 3906, 3906, 121, 2751, 21, 2072, 2072, 2072, 36, 83, 1881, 483, 2506, 2987, 2987, 2987, 419, 6, 32, 4860, 4860, 4860, 82, 385, 4, 1578, 1578, 1578, 3072, 3072, 3072, 7, 574, 104, 265, 853, 0, 60, 1626, 91, 242, 58, 1, 4465, 3005, 3005, 3005, 250, 1864, 2215, 1858, 20, 105, 458, 20, 46, 26, 29, 220, 3818, 3818, 3818, 88, 22, 462, 339, 0, 2, 0, 1239, 1239, 1239, 33, 40, 87, 2687, 2687, 2687, 0, 856, 28, 35, 2496, 2496, 2496, 20, 44, 498, 205, 61, 557, 60, 1984, 646, 1511, 182, 6, 625, 29, 246, 2044, 475, 4162, 4162, 4162, 21, 1971, 0, 1998, 3016, 20, 44, 29, 32, 35, 110, 125, 1470, 737, 33, 803, 1036, 1861, 31, 0, 4866, 4866, 4866, 12, 44, 889, 889, 889, 367, 1810, 1172, 1172, 1172, 24, 892, 307, 1585, 900, 191, 2985, 0, 1946, 1946, 1946, 344, 344, 344, 4551, 4551, 4551, 1670, 1670, 1670, 852, 123, 1598, 22, 366, 23, 69, 132, 3373, 3373, 3373, 366, 27, 148, 1654, 599, 72, 4561, 4561, 4561, 502, 1731, 1731, 1731, 2186, 2184, 197, 22, 189, 933, 457, 2372, 2504, 488, 889, 3976, 3976, 3976, 1122, 988, 38, 1393, 1393, 1393, 1877, 393, 470, 1513, 343, 362, 175, 42, 390, 818, 0, 68, 3096, 3096, 3096, 1002, 1277, 332, 1189, 2058, 171, 650, 650, 650, 792, 105, 2215, 21, 112, 23, 118, 2470, 46, 4422, 4422, 4422, 294, 105, 716, 28, 57, 222, 4616, 4616, 4616, 372, 1146, 1202, 1202, 1202, 4119, 4119, 4119, 444, 1326, 1326, 1326, 1, 4898, 4898, 4898, 941, 603, 4385, 4385, 4385, 46, 573, 181, 219, 3481, 3481, 3481, 518, 0, 4143, 4143, 4143, 366, 20, 1618, 104, 157, 74, 46, 173, 1, 3373, 3373, 3373, 950, 950, 950, 1, 492, 2372, 2372, 2372, 1, 28, 1873, 1873, 1873, 1108, 1108, 1108, 566, 302, 2848, 2848, 2848, 39, 2366, 2366, 2366, 40, 2379, 2379, 2379, 542, 134, 4232, 4232, 4232, 866, 920, 3135, 3135, 3135, 533, 97, 22, 258, 2166, 3157, 1101, 1101, 1101, 43, 64, 340, 25, 4973, 4973, 4973, 3421, 3421, 3421, 377, 1163, 1220, 22, 1299, 1664, 1664, 1664, 42, 185, 171, 58, 705, 26, 43, 33, 671, 49, 0, 53, 1107, 165, 1743, 556, 3062, 3062, 3062, 4932, 4932, 4932, 366, 38, 44, 4845, 4845, 4845, 746, 3155, 36, 119, 2979, 218, 4093, 129, 1485, 73, 30, 43, 25, 4201, 4201, 4201, 38, 21, 896, 2, 70, 49, 34, 1905, 467, 2748, 132, 478, 500, 1, 38, 365, 2442, 521, 0, 101, 1383, 62, 4633, 4633, 4633, 601, 2061, 64, 2353, 2353, 2353, 718, 717, 2245, 786, 1562, 41, 27, 1254, 1254, 1254, 588, 190, 102, 24, 43, 2217, 24, 2452, 2452, 2452, 26, 1452, 1187, 1187, 1187, 211, 446, 81, 21, 48, 1, 85, 255, 1874, 1874, 1874, 3813, 97, 2221, 154, 429, 1463, 1463, 1463, 1032, 28, 479, 48, 2047, 4980, 4980, 4980, 1927, 1927, 1927, 4605, 4605, 4605, 1, 0, 1486, 4299, 4299, 4299, 369, 506, 367, 37, 1313, 1313, 1313, 1621, 9, 4727, 4727, 4727, 3164, 3164, 3164, 1252, 1252, 1252, 1144, 1144, 1144, 1514, 1514, 1514, 0, 1435, 213, 575, 58, 1548, 187, 339, 64, 60, 205, 1176, 1176, 1176, 378, 1119, 3780, 3780, 3780, 1, 246, 25, 1083, 1083, 1083, 66, 101, 2463, 3925, 3925, 3925, 471, 2171, 366, 244, 478, 3174, 3174, 3174, 247, 201, 0, 2431, 4348, 4348, 4348, 29, 808, 263, 1444, 1444, 1444, 80, 122, 378, 174, 2659, 2659, 2659, 415, 21, 42, 3059, 3059, 3059, 1, 1222, 2060, 40, 49, 288, 572, 3942, 3942, 3942, 1449, 2106, 2106, 2106, 1186, 40, 1201, 1952, 203, 48, 898, 421, 31, 2226, 2226, 2226, 45, 400, 184, 195, 2790, 2790, 2790, 99, 4239, 4239, 4239, 78, 177, 793, 545, 3252, 3252, 3252, 78, 86, 2310, 2310, 2310, 1345, 1721, 1, 115, 174, 3626, 57, 1696, 1696, 1696, 492, 492, 492, 2330, 2285, 2285, 2285, 40, 2867, 2867, 2867, 2513, 2513, 2513, 85, 2099, 1759, 4508, 4508, 4508, 4951, 4951, 4951, 21, 564, 1068, 29, 1696, 433, 55, 1943, 4264, 4264, 4264, 994, 21, 2707, 0, 10, 258, 258, 258, 948, 51, 504, 268, 251, 1, 856, 2629, 2629, 2629, 19, 407, 4431, 4431, 4431, 1, 505, 3883, 607, 48, 115, 3477, 3477, 3477, 54, 80, 2827, 2827, 2827, 1101, 526, 1034, 102, 47, 921, 228, 32, 1, 58, 20, 2398, 893, 1730, 414, 47, 224, 334, 246, 928, 338, 1948, 1948, 1948, 4161, 4161, 4161, 1517, 1241, 2094, 2094, 2094, 2380, 98, 3690, 3690, 3690, 578, 439, 0, 145, 190, 1217, 1, 3538, 3538, 3538, 512, 1125, 2, 138, 713, 367, 476, 73, 62, 544, 1387, 76, 550, 0, 126, 248, 967, 967, 967, 826, 975, 181, 446, 1266, 34, 460, 31, 1568, 1, 2, 2201, 2201, 2201, 13, 36, 24, 234, 234, 234, 368, 1468, 1478, 4221, 4221, 4221, 248, 2673, 2673, 2673, 4552, 4552, 4552, 4664, 4664, 4664, 227, 29, 222, 4439, 3184, 3184, 3184, 886, 98, 2492, 103, 193, 1775, 332, 332, 332, 365, 59, 108, 302, 39, 3406, 3406, 3406, 212, 599, 599, 599, 264, 2, 250, 979, 663, 325, 0, 1105, 2124, 2470, 55, 151, 1533, 1533, 1533, 507, 294, 294, 294, 38, 2150, 1562, 202, 202, 202, 323, 235, 756, 48, 4345, 4345, 4345, 371, 2863, 2863, 2863, 274, 712, 325, 529, 1019, 1019, 1019, 4481, 4481, 4481, 232, 4254, 4254, 4254, 312, 3827, 3827, 3827, 150, 1030, 2779, 2779, 2779, 4979, 4979, 4979, 373, 28, 277, 806, 658, 35, 154, 36, 1571, 148, 295, 3614, 4, 262, 1, 2019, 30, 600, 2991, 2991, 2991, 1021, 1404, 33, 38, 75, 531, 667, 376, 2050, 19, 3807, 3807, 3807, 199, 89, 2187, 3599, 3599, 3599, 389, 2123, 3409, 716, 716, 716, 1861, 1753, 1753, 1753, 107, 53, 2105, 2105, 2105, 645, 1707, 301, 36, 1812, 1785, 1785, 1785, 190, 112, 901, 2622, 2622, 2622, 0, 580, 4022, 1259, 282, 1269, 1269, 1269, 2990, 2990, 2990, 99, 2800, 64, 4621, 4621, 4621, 154, 0, 1385, 85, 240, 691, 0, 24, 1965, 191, 105, 49, 2, 273, 381, 3669, 3669, 3669, 1771, 282, 478, 708, 51, 290, 671, 122, 122, 122, 3453, 3453, 3453, 1045, 62, 4394, 4394, 4394, 2201, 310, 948, 2271, 658, 1516, 2852, 1714, 2130, 2160, 56, 60, 2447, 2447, 2447, 232, 373, 2240, 2240, 2240, 64, 3, 1119, 34, 2224, 0, 5, 1390, 1390, 1390, 3708, 3708, 3708, 345, 609, 23, 255, 352, 188, 1280, 1203, 168, 58, 703, 189, 31, 532, 1087, 627, 21, 24, 903, 1314, 33, 991, 991, 991, 561, 271, 2245, 1228, 4, 4905, 4905, 4905, 155, 203, 2821, 32, 183, 32, 1042, 1780, 7, 1597, 279, 86, 43, 4, 2084, 2084, 2084, 20, 3630, 3630, 3630, 1065, 1414, 1414, 1414, 4667, 4667, 4667, 21, 3598, 3598, 3598, 164, 1102, 546, 27, 25, 233, 910, 0, 808, 808, 808, 1800, 59, 97, 41, 10, 23, 0, 1493, 2525, 2525, 2525, 121, 6, 29, 706, 41, 143, 98, 1564, 674, 674, 674, 1119, 82, 3417, 3417, 3417, 24, 429, 2042, 1651, 3287, 3287, 3287, 27, 30, 25, 5, 0, 373, 381, 103, 24, 231, 3419, 3419, 3419, 475, 31, 60, 60, 60, 502, 1374, 477, 21, 4, 4, 3, 881, 674, 1017, 1017, 1017, 2185, 2185, 2185, 0, 30, 1053, 1053, 1053, 0, 0, 2273, 2273, 2273, 1007, 32, 400, 26, 441, 22, 61, 171, 39, 1086, 58, 2580, 2580, 2580, 4193, 4193, 4193, 43, 111, 1755, 155, 380, 1, 3978, 27, 2851, 31, 458, 1, 23, 1120, 35, 40, 3, 3491, 4734, 4734, 4734, 4750, 4750, 4750, 93, 1, 29, 72, 4012, 4012, 4012, 4448, 4448, 4448, 324, 855, 1683, 1683, 1683, 3013, 3013, 3013, 0, 1381, 10, 1393, 1513, 1513, 1513, 0, 519, 36, 692, 36, 26, 243, 174, 307, 2336, 2336, 2336, 132, 1540, 91, 229, 20, 1, 635, 4927, 4927, 4927, 4029, 4029, 4029, 803, 67, 1367, 55, 44, 206, 47, 4444, 4444, 4444, 9, 74, 134, 1071, 1071, 1071, 1443, 1443, 1443, 714, 757, 124, 282, 1258, 64, 46, 96, 365, 92, 4083, 79, 398, 2258, 2258, 2258, 30, 2858, 86, 40, 3196, 1054, 46, 1, 187, 2111, 173, 763, 59, 1026, 774, 89, 28, 3075, 3075, 3075, 753, 23, 0, 1358, 0, 3655, 3655, 3655, 89, 21, 56, 1993, 5, 14, 700, 700, 700, 2920, 2981, 1929, 1538, 5, 458, 278, 79, 33, 1017, 0, 737, 2, 43, 20, 0, 860, 39, 28, 330, 25, 1158, 173, 318, 0, 260, 71, 45, 16, 1358, 420, 1086, 122, 482, 0, 1561, 110, 3687, 3687, 3687, 2988, 1060, 32, 12, 4, 381, 59, 4287, 4287, 4287, 65, 2355, 1171, 1171, 1171, 67, 68, 87, 1012, 524, 33, 0, 1998, 1998, 1998, 823, 823, 823, 28, 21, 1086, 1086, 1086, 1, 3459, 3459, 3459, 3, 883, 4, 198, 2282, 2282, 2282, 478, 651, 2638, 28, 4010, 54, 53, 41, 336, 2251, 2907, 2907, 2907, 731, 2171, 30, 21, 3393, 1, 734, 1509, 3042, 3042, 3042, 27, 2362, 2362, 2362, 39, 26, 91, 26, 117, 656, 2284, 1, 0, 1, 2341, 0, 239, 4008, 4008, 4008, 4539, 4539, 4539, 196, 69, 24, 34, 90, 1808, 2530, 2530, 2530, 389, 377, 22, 39, 0, 1564, 1564, 1564, 22, 3745, 3745, 3745, 2061, 375, 28, 28, 796, 796, 796, 67, 2612, 87, 38, 63, 816, 10, 77, 63, 346, 68, 4032, 4032, 4032, 0, 653, 0, 41, 2243, 2243, 2243, 4365, 4365, 4365, 1, 177, 21, 408, 32, 4707, 134, 1, 5, 2564, 0, 89, 2313, 4065, 4065, 4065, 508, 508, 508, 1542, 208, 249, 1901, 103, 544, 26, 1926, 197, 1558, 1558, 1558, 26, 3740, 3740, 3740, 49, 274, 1831, 54, 388, 100, 1558, 3037, 3037, 3037, 102, 27, 1612, 3382, 1, 436, 1913, 4690, 4690, 4690, 1242, 0, 170, 4292, 4292, 4292, 37, 1793, 1793, 1793, 967, 967, 967, 1, 1, 4719, 4719, 4719, 2340, 2340, 2340, 553, 1851, 1851, 1851, 1143, 113, 71, 65, 143, 50, 0, 2392, 1298, 2, 88, 2524, 2524, 2524, 1558, 1558, 1558, 32, 120, 0, 74, 479, 705, 4094, 21, 2217, 1820, 3, 143, 3410, 3410, 3410, 2165, 1271, 1271, 1271, 44, 1, 77, 0, 45, 21, 1411, 20, 595, 97, 3, 919, 3895, 3895, 3895, 32, 587, 30, 140, 521, 521, 521, 199, 68, 26, 247, 4441, 4441, 4441, 21, 45, 2363, 2363, 2363, 1, 33, 25, 2625, 1581, 1581, 1581, 4761, 4761, 4761, 434, 4, 3101, 44, 3, 20, 3216, 3216, 3216, 118, 173, 751, 4537, 4537, 4537, 0, 31, 2362, 2362, 2362, 1423, 469, 49, 33, 222, 1176, 1, 300, 4933, 4933, 4933, 1139, 2409, 2409, 2409, 554, 45, 1144, 25, 35, 73, 120, 1988, 105, 1929, 0, 4, 208, 39, 23, 473, 2901, 2901, 2901, 1644, 1644, 1644, 2329, 2329, 2329, 46, 1642, 74, 34, 2, 537, 69, 2770, 17, 45, 601, 601, 601, 1, 641, 0, 813, 2004, 35, 105, 26, 77, 1534, 9, 922, 27, 3, 330, 0, 609, 63, 810, 17, 0, 1146, 344, 1, 365, 365, 365, 25, 685, 49, 108, 1128, 1128, 1128, 21, 3154, 3154, 3154, 792, 354, 749, 1165, 1165, 1165, 1195, 1613, 1613, 1613, 1718, 1718, 1718, 118, 22, 804, 1375, 111, 1145, 615, 6, 334, 1490, 76, 71, 521, 199, 1297, 222, 323, 507, 2, 217, 431, 38, 22, 1, 337, 4184, 4184, 4184, 371, 891, 4339, 4339, 4339, 888, 1206, 4408, 4408, 4408, 1374, 75, 2301, 1, 1726, 0, 1, 62, 1622, 392, 21, 31, 2776, 2279, 2279, 2279, 454, 90, 1, 38, 35, 3537, 3537, 3537, 454, 377, 375, 22, 1671, 1671, 1671, 2204, 2204, 2204, 37, 129, 47, 43, 2012, 44, 225, 889, 920, 38, 148, 3830, 3830, 3830, 829, 2538, 2538, 2538, 585, 611, 117, 150, 396, 1827, 1, 1336, 189, 708, 359, 1980, 70, 5, 1676, 725, 150, 150, 150, 95, 60, 213, 118, 103, 133, 965, 32, 2, 2308, 2308, 2308, 1204, 146, 4767, 21, 2156, 2156, 2156, 22, 391, 391, 391, 264, 153, 24, 50, 34, 365, 2666, 63, 4440, 1131, 1155, 1155, 1155, 29, 3500, 3500, 3500, 156, 1702, 930, 365, 124, 0, 508, 4585, 4585, 4585, 87, 84, 38, 609, 609, 609, 102, 3495, 3495, 3495, 1654, 146, 3570, 3570, 3570, 288, 1, 159, 2386, 598, 93, 23, 4913, 4913, 4913, 36, 72, 651, 1286, 2158, 2158, 2158, 71, 456, 1238, 728, 4265, 0, 2107, 1760, 1760, 1760, 22, 1284, 25, 204, 4435, 4435, 4435, 941, 424, 1395, 3126, 3126, 3126, 2688, 547, 83, 8, 146, 4390, 4390, 4390, 499, 510, 1, 2130, 51, 148, 0, 25, 171, 701, 3773, 3773, 3773, 206, 3611, 3611, 3611, 28, 1083, 5, 560, 529, 114, 3156, 115, 20, 4597, 4597, 4597, 1515, 145, 2, 712, 32, 181, 165, 695, 127, 2113, 108, 52, 775, 775, 775, 0, 28, 30, 117, 117, 117, 174, 32, 1658, 1658, 1658, 2721, 211, 255, 255, 255, 173, 63, 112, 108, 67, 2646, 69, 1022, 1422, 1422, 1422, 20, 2893, 2893, 2893, 8, 15, 3255, 3255, 3255, 778, 231, 25, 974, 1368, 217, 637, 30, 141, 2169, 117, 1, 48, 63, 708, 688, 2015, 2015, 2015, 158, 158, 158, 3284, 3284, 3284, 0, 882, 37, 2, 1444, 4343, 4343, 4343, 3084, 3084, 3084, 325, 27, 1416, 1416, 1416, 569, 1826, 1826, 1826, 927, 1285, 38, 44, 28, 190, 3197, 3197, 3197, 1471, 83, 1748, 1748, 1748, 1615, 1615, 1615, 60, 2799, 2799, 2799, 4971, 4971, 4971, 282, 134, 444, 32, 616, 427, 209, 1063, 3891, 816, 139, 1115, 932, 2152, 815, 407, 407, 407, 313, 103, 1536, 3278, 47, 1345, 512, 3204, 3204, 3204, 20, 2218, 4480, 4480, 4480, 1753, 1486, 316, 16, 1826, 67, 4002, 4002, 4002, 1764, 1764, 1764, 46, 2088, 0, 3999, 3999, 3999, 2880, 2880, 2880, 4980, 4980, 4980, 1657, 1657, 1657, 169, 2039, 2039, 2039, 237, 5, 42, 1002, 1636, 1636, 1636, 1291, 26, 10, 4502, 4502, 4502, 198, 237, 1, 1000, 187, 36, 144, 955, 79, 2051, 233, 2269, 2269, 2269, 1713, 1713, 1713, 2908, 911, 911, 911, 130, 89, 666, 22, 1969, 1969, 1969, 3234, 3234, 3234, 905, 676, 23, 11, 985, 1448, 180, 180, 180, 165, 330, 126, 6, 671, 2855, 2855, 2855, 1826, 26, 1, 322, 3252, 3252, 3252, 589, 78, 721, 1732, 1732, 1732, 749, 21, 1102, 118, 530, 2096, 2724, 2724, 2724, 1077, 110, 45, 48, 74, 30, 101, 343, 2515, 2515, 2515, 1585, 1461, 551, 1047, 354, 1959, 223, 337, 4371, 4371, 4371, 0, 1488, 254, 950, 950, 950, 576, 100, 578, 578, 578, 3650, 3917, 3917, 3917, 2466, 926, 303, 2191, 925, 1206, 1206, 1206, 0, 315, 1826, 1826, 1826, 3, 223, 31, 147, 661, 661, 661, 1081, 704, 87, 717, 9, 108, 993, 166, 27, 83, 174, 263, 28, 708, 708, 708, 1239, 2396, 2396, 2396, 998, 307, 1814, 2662, 2662, 2662, 4294, 4294, 4294, 4702, 4702, 4702, 31, 133, 54, 2, 80, 22, 1967, 4562, 4562, 4562, 158, 2467, 97, 480, 705, 1290, 1511, 3403, 1117, 1117, 1117, 1872, 283, 178, 738, 738, 738, 1431, 1753, 66, 210, 3423, 3423, 3423, 33, 473, 62, 1078, 1085, 56, 4312, 4312, 4312, 41, 20, 622, 2160, 920, 56, 118, 1, 34, 45, 20, 398, 22, 730, 481, 481, 481, 1142, 1551, 1551, 1551, 35, 3590, 3590, 3590, 357, 2973, 2973, 2973, 24, 531, 365, 365, 365, 31, 1119, 744, 2593, 2593, 2593, 90, 0, 2121, 2121, 2121, 367, 263, 4998, 4998, 4998, 52, 1127, 1127, 1127, 77, 54, 2965, 2965, 2965, 1359, 1365, 553, 91, 114, 62, 45, 1211, 1, 2599, 2599, 2599, 2218, 2218, 2218, 198, 33, 194, 1014, 1, 840, 1498, 1498, 1498, 1494, 1494, 1494, 1, 2454, 2454, 2454, 619, 393, 206, 189, 4658, 1036, 238, 439, 34, 96, 1080, 2020, 2128, 665, 1448, 1, 369, 1844, 177, 2787, 2787, 2787, 36, 827, 1302, 1435, 0, 4, 1785, 725, 607, 8, 32, 2605, 2605, 2605, 365, 1, 37, 263, 0, 24, 4658, 4658, 4658, 2187, 130, 136, 160, 0, 2, 1062, 750, 158, 2515, 1, 30, 1243, 104, 427, 207, 3280, 3280, 3280, 465, 28, 141, 161, 4705, 4705, 4705, 268, 41, 65, 65, 65, 326, 3729, 3729, 3729, 32, 1897, 1897, 1897, 1930, 94, 927, 90, 339, 254, 270, 270, 270, 11, 1333, 1333, 1333, 301, 1085, 730, 84, 1855, 20, 71, 1062, 21, 21, 3271, 3271, 3271, 1859, 245, 61, 1507, 1507, 1507, 368, 2203, 1389, 1389, 1389, 437, 51, 147, 1, 2565, 2524, 1239, 22, 290, 0, 4363, 4363, 4363, 1947, 1947, 1947, 36, 11, 3, 516, 459, 4785, 4785, 4785, 1, 303, 2470, 2470, 2470, 728, 34, 20, 41, 161, 72, 1517, 1438, 1690, 1443, 3132, 3132, 3132, 123, 51, 522, 1, 29, 23, 375, 365, 1257, 1257, 1257, 72, 1760, 1760, 1760, 1366, 968, 1, 1, 4404, 4404, 4404, 2958, 2958, 2958, 2301, 29, 261, 169, 31, 1889, 0, 328, 123, 1898, 1898, 1898, 1475, 42, 31, 737, 101, 0, 596, 596, 596, 39, 24, 231, 26, 2251, 2251, 2251, 924, 599, 24, 2981, 2981, 2981, 1379, 1379, 1379, 1060, 1525, 755, 42, 2154, 1620, 128, 2105, 1075, 193, 738, 1240, 27, 776, 3134, 3134, 3134, 4830, 4830, 4830, 241, 35, 987, 0, 1439, 1439, 1439, 53, 1728, 3718, 3718, 3718, 6, 182, 220, 3910, 3910, 3910, 1, 25, 1209, 79, 408, 110, 28, 413, 4851, 4851, 4851, 0, 411, 36, 316, 65, 2503, 2503, 2503, 193, 32, 176, 4816, 4816, 4816, 264, 223, 29, 1108, 408, 53, 162, 100, 788, 788, 788, 32, 75, 25, 29, 41, 4155, 4155, 4155, 2777, 2777, 2777, 425, 401, 1565, 445, 35, 1424, 753, 3501, 31, 2589, 1, 3271, 1112, 1112, 1112, 2129, 0, 4411, 4411, 4411, 1168, 1168, 1168, 1198, 1752, 1752, 1752, 0, 66, 33, 1501, 430, 2719, 2719, 2719, 0, 1111, 711, 4, 678, 0, 141, 1198, 1198, 1198, 0, 282, 301, 10, 3664, 3664, 3664, 23, 4, 20, 410, 3358, 3358, 3358, 37, 4637, 4637, 4637, 3386, 3386, 3386, 33, 2271, 2271, 2271, 778, 48, 1536, 580, 339, 2, 0, 3599, 2566, 2566, 2566, 1780, 1780, 1780, 645, 45, 1456, 1456, 1456, 10, 41, 33, 4, 741, 288, 25, 113, 2131, 0, 4, 21, 2172, 372, 21, 1720, 1720, 1720, 63, 63, 63, 81, 896, 896, 896, 22, 3, 470, 148, 46, 536, 3024, 1, 2954, 2954, 2954, 356, 1968, 67, 2022, 2022, 2022, 2196, 2203, 2203, 2203, 2798, 3, 20, 37, 31, 32, 230, 21, 73, 1999, 1999, 1999, 50, 0, 488, 1759, 1756, 4598, 4598, 4598, 763, 763, 763, 4260, 4260, 4260, 393, 176, 2940, 1208, 1208, 1208, 0, 302, 2559, 2351, 2351, 2351, 0, 395, 886, 381, 2924, 0, 27, 602, 260, 151, 1, 767, 767, 767, 2996, 2996, 2996, 37, 383, 383, 383, 351, 696, 190, 0, 1, 1091, 2986, 2122, 82, 2054, 335, 750, 0, 182, 776, 2633, 2582, 2582, 2582, 71, 755, 2, 1, 50, 378, 122, 2571, 1292, 1292, 1292, 1469, 39, 4873, 4873, 4873, 0, 31, 122, 120, 336, 61, 74, 31, 1487, 1159, 1159, 1159, 776, 1848, 16, 4571, 4571, 4571, 54, 225, 225, 225, 1626, 0, 4482, 4482, 4482, 41, 3, 0, 45, 45, 45, 24, 0, 391, 4871, 4871, 4871, 1286, 55, 123, 5, 46, 200, 55, 130, 1185, 51, 193, 234, 43, 43, 43, 40, 133, 2571, 32, 48, 328, 29, 3979, 3979, 3979, 487, 2680, 2680, 2680, 0, 4263, 4263, 4263, 1620, 1620, 1620, 28, 1, 31, 2111, 216, 816, 4, 229, 28, 3103, 3103, 3103, 79, 51, 120, 782, 107, 24, 435, 435, 435, 52, 9, 876, 876, 876, 503, 3043, 3043, 3043, 30, 326, 4488, 4488, 4488, 84, 35, 1, 846, 846, 846, 469, 469, 469, 0, 538, 25, 3171, 3171, 3171, 124, 51, 1, 197, 36, 53, 4747, 4747, 4747, 3010, 4526, 4526, 4526, 1794, 29, 497, 22, 914, 139, 404, 2937, 1078, 4473, 4473, 4473, 0, 2928, 2967, 2967, 2967, 50, 0, 208, 572, 572, 572, 2932, 2932, 2932, 171, 0, 1, 844, 844, 844, 2, 1, 1880, 26, 2770, 2770, 2770, 33, 42, 28, 2923, 4146, 4146, 4146, 1153, 958, 1973, 141, 29, 1570, 14, 154, 132, 3779, 3779, 3779, 176, 3823, 3823, 3823, 1470, 474, 20, 0, 1, 63, 1082, 59, 1, 32, 215, 161, 1687, 1687, 1687, 32, 0, 63, 100, 81, 20, 32, 1653, 1653, 1653, 4935, 4935, 4935, 22, 1963, 1284, 20, 43, 1954, 731, 80, 178, 1027, 783, 783, 783, 4937, 4937, 4937, 2746, 2746, 2746, 415, 153, 158, 0, 1362, 1127, 24, 21, 27, 300, 2529, 2529, 2529, 3095, 3095, 3095, 66, 2725, 2725, 2725, 30, 132, 178, 2337, 2337, 2337, 1663, 2655, 2655, 2655, 47, 816, 1017, 1043, 1576, 1576, 1576, 4719, 4719, 4719, 3041, 3041, 3041, 2281, 665, 665, 665, 722, 151, 151, 151, 795, 1648, 1648, 1648, 2762, 36, 28, 1, 114, 1202, 1202, 1202, 168, 1218, 186, 306, 2016, 2459, 1131, 68, 129, 75, 29, 0, 138, 1085, 1259, 1259, 1259, 4162, 4162, 4162, 720, 0, 26, 2522, 2522, 2522, 1139, 23, 4, 142, 150, 23, 608, 608, 608, 32, 1987, 8, 3498, 3498, 3498, 1836, 22, 29, 365, 365, 365, 34, 775, 1862, 487, 61, 3833, 3833, 3833, 708, 708, 708, 1251, 1251, 1251, 102, 52, 1670, 4379, 4379, 4379, 0, 2020, 2020, 2020, 3002, 1213, 2, 6, 546, 2170, 2170, 2170, 325, 27, 4915, 4915, 4915, 1577, 61, 3294, 2012, 87, 58, 20, 4459, 4459, 4459, 4145, 20, 0, 3834, 3834, 3834, 96, 55, 2175, 2175, 2175, 24, 365, 107, 3388, 3388, 3388, 608, 60, 4080, 4080, 4080, 2053, 31, 1640, 1568, 1568, 1568, 171, 4106, 4106, 4106, 2579, 1831, 1831, 1831, 2181, 35, 2152, 1518, 1518, 1518, 147, 209, 0, 1296, 1296, 1296, 117, 0, 214, 15, 3149, 3149, 3149, 106, 1549, 1549, 1549, 61, 495, 112, 471, 3429, 3429, 3429, 0, 181, 36, 89, 3456, 365, 26, 830, 151, 4170, 4170, 4170, 140, 860, 1517, 1517, 1517, 106, 471, 0, 223, 550, 3989, 3989, 3989, 5, 0, 2449, 2449, 2449, 2214, 307, 0, 2788, 2788, 2788, 0, 91, 1, 308, 3839, 3839, 3839, 4522, 4522, 4522, 3818, 3818, 3818, 3411, 91, 0, 3951, 3951, 3951, 60, 1550, 1550, 1550, 2015, 3006, 3006, 3006, 12, 1, 71, 212, 155, 21, 72, 24, 201, 2137, 2137, 2137, 34, 4484, 4484, 4484, 462, 64, 28, 0, 56, 2437, 2437, 2437, 1522, 1522, 1522, 116, 2083, 2083, 2083, 390, 1879, 1879, 1879, 2649, 2649, 2649, 1633, 1292, 32, 4610, 4610, 4610, 375, 164, 2076, 2076, 2076, 1866, 2978, 4, 4844, 4844, 4844, 4229, 4229, 4229, 45, 28, 156, 546, 1336, 1201, 3879, 3879, 3879, 857, 2090, 3147, 46, 190, 3154, 3154, 3154, 3511, 3511, 3511, 34, 1314, 161, 2149, 2149, 2149, 162, 4985, 4985, 4985, 4462, 4462, 4462, 4769, 4769, 4769, 627, 233, 175, 2647, 4225, 4225, 4225, 3653, 1834, 471, 1241, 1241, 1241, 899, 35, 150, 705, 1652, 1306, 0, 1297, 1297, 1297, 2071, 499, 1, 67, 1246, 586, 6, 1, 50, 3857, 3857, 3857, 29, 0, 374, 1639, 156, 3549, 3549, 3549, 9, 175, 42, 563, 0, 1, 226, 2296, 111, 23, 36, 479, 3403, 3403, 3403, 3167, 206, 1874, 87, 20, 64, 2685, 1654, 1654, 1654, 1334, 90, 2225, 242, 242, 242, 31, 230, 59, 1, 883, 1377, 818, 448, 4184, 4184, 4184, 362, 913, 106, 950, 950, 950, 562, 38, 144, 2807, 37, 102, 4110, 4110, 4110, 2422, 2422, 2422, 4277, 4277, 4277, 99, 377, 0, 169, 102, 501, 165, 0, 611, 1115, 39, 4785, 4785, 4785, 1140, 3539, 3539, 3539, 645, 841, 841, 841, 378, 3897, 3897, 3897, 2699, 1, 62, 234, 1950, 1428, 1428, 1428, 211, 211, 1825, 0, 1, 26, 31, 1349, 1349, 1349, 925, 75, 185, 32, 56, 368, 171, 2, 389, 485, 31, 1557, 1079, 4813, 4813, 4813, 155, 498, 113, 3898, 3898, 3898, 1293, 42, 4972, 4972, 4972, 236, 42, 1782, 1782, 1782, 1667, 3010, 3010, 3010, 26, 2446, 2446, 2446, 538, 3913, 3913, 3913, 367, 248, 433, 2257, 519, 461, 2263, 2263, 2263, 130, 40, 54, 166, 46, 231, 0, 3937, 3937, 3937, 1575, 4460, 4460, 4460, 0, 692, 27, 842, 842, 842, 163, 618, 0, 186, 230, 2714, 838, 1134, 113, 504, 20, 598, 284, 7, 176, 66, 3873, 3873, 3873, 0, 368, 368, 368, 187, 203, 75, 3183, 3183, 3183, 93, 326, 1331, 186, 2577, 2577, 2577, 29, 1050, 3593, 3593, 3593, 1076, 573, 2239, 31, 1536, 1536, 1536, 41, 0, 4378, 4378, 4378, 3238, 3238, 3238, 77, 0, 584, 847, 4890, 4890, 4890, 205, 545, 978, 2504, 36, 296, 190, 1566, 33, 701, 701, 701, 961, 2218, 4266, 4266, 4266, 0, 23, 36, 2056, 2056, 2056, 5, 331, 571, 30, 166, 32, 4628, 4628, 4628, 641, 681, 40, 65, 2463, 276, 2191, 2191, 2191, 71, 90, 2124, 2124, 2124, 266, 32, 28, 4067, 4067, 4067, 39, 649, 4228, 85, 3345, 3345, 3345, 73, 3999, 3999, 3999, 25, 844, 2502, 2502, 2502, 3, 219, 323, 25, 917, 2508, 2508, 2508, 1514, 1514, 1514, 922, 62, 2764, 2764, 2764, 48, 29, 2072, 184, 1921, 741, 741, 741, 25, 31, 40, 306, 65, 1513, 1400, 1400, 1400, 355, 3623, 3623, 3623, 4703, 4703, 4703, 1429, 1440, 42, 3721, 3721, 3721, 69, 705, 2718, 265, 29, 21, 21, 1727, 192, 2820, 98, 19, 269, 2, 5, 2195, 2195, 2195, 37, 25, 2050, 1718, 1718, 1718, 23, 21, 3155, 3155, 3155, 190, 1, 99, 1213, 1213, 1213, 0, 114, 1693, 1693, 1693, 168, 43, 0, 368, 1457, 21, 1489, 1489, 1489, 900, 1142, 0, 616, 27, 2113, 2113, 2113, 29, 47, 875, 305, 27, 252, 3722, 3722, 3722, 1636, 3558, 3558, 3558, 57, 2082, 789, 344, 1246, 4286, 247, 20, 66, 10, 197, 666, 111, 59, 2179, 2179, 2179, 326, 3732, 3732, 3732, 59, 20, 818, 1941, 30, 317, 142, 52, 42, 895, 35, 561, 42, 137, 640, 1276, 105, 4943, 4943, 4943, 297, 65, 1, 628, 161, 3712, 3712, 3712, 1, 653, 966, 80, 251, 21, 2490, 43, 276, 80, 262, 1262, 1383, 23, 692, 1271, 80, 115, 136, 1, 1044, 151, 79, 1735, 1361, 1361, 1361, 90, 3191, 152, 48, 29, 61, 1389, 240, 2468, 2433, 88, 696, 696, 696, 1755, 1755, 1755, 906, 906, 906, 293, 532, 526, 240, 1, 845, 845, 845, 2500, 1766, 85, 87, 671, 245, 914, 689, 37, 86, 332, 481, 735, 112, 2, 0, 1, 4646, 4646, 4646, 4298, 4298, 4298, 179, 181, 1367, 365, 164, 2529, 9, 946, 216, 30, 23, 4564, 4564, 4564, 4657, 4657, 4657, 293, 284, 233, 94, 1418, 1418, 1418, 258, 1002, 139, 398, 608, 56, 2504, 2504, 2504, 204, 87, 274, 49, 542, 62, 27, 1, 3664, 2716, 2716, 2716, 25, 706, 1370, 2590, 1, 396, 31, 1070, 1070, 1070, 2312, 2312, 2312, 92, 0, 673, 30, 38, 2499, 2499, 2499, 1412, 427, 2129, 3284, 3284, 3284, 162, 305, 3258, 3258, 3258, 703, 645, 3615, 3615, 3615, 341, 276, 1366, 93, 697, 697, 697, 54, 355, 37, 57, 4015, 4015, 4015, 1100, 1100, 1100, 149, 1762, 1762, 1762, 1262, 65, 20, 4897, 4897, 4897, 753, 0, 679, 63, 3279, 32, 4856, 4856, 4856, 1, 28, 4716, 4716, 4716, 65, 750, 2, 29, 23, 4790, 4790, 4790, 127, 894, 260, 2164, 3, 1175, 236, 583, 1098, 1, 42, 335, 4629, 4629, 4629, 2, 1799, 399, 121, 2266, 441, 2122, 72, 172, 1472, 0, 3059, 3059, 3059, 1403, 1403, 1403, 44, 4425, 4425, 4425, 339, 339, 339, 0, 3364, 3364, 3364, 1114, 1753, 1753, 1753, 755, 30, 1136, 399, 82, 1102, 617, 61, 3422, 173, 105, 3778, 3778, 3778, 712, 318, 3635, 30, 1419, 49, 65, 65, 0, 324, 787, 18, 1, 2718, 2718, 2718, 4, 1391, 34, 33, 3826, 3826, 3826, 73, 0, 6, 59, 1005, 165, 4732, 4732, 4732, 56, 1823, 334, 4759, 4759, 4759, 732, 55, 182, 37, 361, 26, 3965, 3965, 3965, 365, 382, 1531, 115, 4758, 4758, 4758, 1417, 110, 1110, 121, 219, 4784, 4784, 4784, 0, 4034, 3942, 3942, 3942, 46, 2595, 2197, 3665, 3665, 3665, 30, 76, 2859, 2859, 2859, 4380, 4380, 4380, 1850, 731, 2507, 800, 0, 34, 1327, 24, 325, 57, 3, 24, 70, 30, 1339, 4, 64, 324, 324, 324, 4830, 4830, 4830, 681, 133, 2202, 2202, 2202, 203, 2, 2239, 381, 1108, 1108, 1108, 3156, 3156, 3156, 3, 307, 40, 3315, 30, 2918, 22, 3716, 3716, 3716, 2528, 3284, 3284, 3284, 254, 56, 1, 365, 3164, 3164, 3164, 53, 0, 0, 2531, 634, 300, 4610, 4610, 4610, 3121, 4397, 4397, 4397, 1388, 1388, 1388, 31, 371, 70, 0, 3656, 3656, 3656, 5, 2137, 2389, 2389, 2389, 26, 6, 4737, 4737, 4737, 1513, 1195, 22, 233, 328, 182, 180, 100, 1897, 1897, 1897, 26, 171, 2602, 1815, 1815, 1815, 11, 88, 178, 0, 27, 4741, 4741, 4741, 21, 121, 4734, 4734, 4734, 505, 505, 505, 31, 703, 4083, 4083, 4083, 2428, 1867, 1992, 3168, 3168, 3168, 188, 509, 509, 509, 2823, 1320, 3144, 152, 3082, 3710, 3710, 3710, 2998, 50, 50, 50, 1559, 689, 1372, 1372, 1372, 2091, 1010, 1010, 1010, 2267, 1835, 3246, 3246, 3246, 2900, 2900, 2900, 21, 1, 4476, 4476, 4476, 337, 201, 29, 4057, 4057, 4057, 42, 33, 3318, 3318, 3318, 1047, 84, 64, 24, 4042, 4042, 4042, 20, 2367, 33, 3555, 3555, 3555, 0, 105, 1684, 1, 1379, 25, 29, 92, 455, 455, 455, 1541, 1541, 1541, 1995, 2290, 447, 33, 101, 1455, 1455, 1455, 31, 2507, 2045, 2045, 2045, 7, 20, 31, 21, 0, 387, 374, 100, 32, 3349, 3349, 3349, 37, 1267, 373, 1, 200, 68, 339, 40, 532, 532, 532, 1492, 1886, 5, 1400, 7, 468, 951, 472, 1193, 1930, 1930, 1930, 29, 4211, 4211, 4211, 119, 1, 0, 94, 371, 28, 183, 21, 1502, 1502, 1502, 46, 491, 491, 491, 1416, 1416, 1416, 3359, 3359, 3359, 2511, 4, 773, 0, 3, 100, 0, 21, 0, 45, 1496, 1496, 1496, 116, 4727, 4727, 4727, 394, 1993, 138, 2229, 2229, 2229, 1476, 3652, 3652, 3652, 21, 351, 3781, 3781, 3781, 28, 2113, 1510, 2930, 2930, 2930, 22, 22, 3254, 3254, 3254, 203, 4056, 3024, 1159, 37, 58, 46, 1779, 355, 1091, 40, 21, 0, 880, 2882, 2882, 2882, 1144, 3614, 3614, 3614, 0, 399, 20, 30, 92, 1673, 256, 2735, 2735, 2735, 4, 40, 2964, 2964, 2964, 45, 436, 3090, 3090, 3090, 403, 983, 1549, 1058, 1712, 22, 1539, 376, 357, 24, 9, 3066, 3066, 3066, 2897, 2910, 34, 8, 4, 549, 3589, 3589, 3589, 717, 191, 60, 24, 0, 33, 25, 4825, 4825, 4825, 1860, 52, 35, 4401, 4401, 4401, 3221, 83, 1893, 39, 603, 53, 991, 2615, 197, 197, 197, 7, 75, 2825, 31, 775, 775, 775, 2854, 2854, 2854, 714, 3093, 3093, 3093, 80, 745, 5, 1815, 69, 618, 1840, 2279, 2279, 2279, 847, 426, 390, 753, 178, 284, 284, 284, 248, 1, 8, 1537, 594, 1537, 1537, 1537, 74, 0, 2352, 2352, 2352, 3487, 3487, 3487, 2989, 2989, 2989, 1, 26, 4110, 4110, 4110, 1824, 2318, 2318, 2318, 3669, 139, 391, 704, 1, 49, 1, 37, 21, 2930, 2863, 2863, 2863, 785, 785, 785, 924, 3519, 40, 27, 1822, 0, 25, 0, 1108, 4700, 4700, 4700, 507, 1831, 1, 4432, 4432, 4432, 2566, 0, 1810, 212, 82, 22, 28, 685, 33, 143, 638, 638, 638, 203, 1166, 1166, 1166, 37, 22, 35, 36, 798, 798, 798, 330, 283, 42, 284, 1994, 73, 2941, 2638, 2638, 2638, 35, 1311, 3, 274, 1059, 1059, 1059, 757, 2304, 4628, 4628, 4628, 5, 3258, 3258, 3258, 799, 2373, 11, 635, 2634, 2634, 2634, 2537, 2654, 28, 4450, 2304, 0, 378, 2478, 2478, 2478, 35, 1380, 1090, 396, 396, 396, 428, 428, 428, 28, 34, 692, 692, 692, 3534, 3534, 3534, 1, 99, 58, 3, 1, 4608, 4608, 4608, 1, 506, 293, 3326, 882, 2188, 3033, 3033, 3033, 29, 5, 27, 514, 2690, 2690, 2690, 207, 130, 23, 67, 30, 1356, 1356, 1356, 3933, 3933, 3933, 3610, 3610, 3610, 430, 26, 1786, 2652, 2652, 2652, 62, 460, 760, 3787, 3787, 3787, 43, 2, 91, 3628, 3628, 3628, 3825, 3825, 3825, 1952, 45, 1740, 21, 2642, 21, 109, 1118, 1509, 1509, 1509, 30, 4, 20, 522, 295, 60, 131, 2263, 2263, 2263, 1801, 1801, 1801, 0, 111, 731, 731, 731, 0, 2133, 96, 20, 3970, 3970, 3970, 203, 4146, 4146, 4146, 518, 518, 518, 24, 3040, 3040, 3040, 2091, 1908, 795, 795, 795, 21, 1849, 51, 150, 230, 4, 36, 61, 1128, 472, 473, 473, 473, 35, 387, 34, 3426, 2111, 22, 697, 1241, 26, 1470, 1269, 849, 3350, 3350, 3350, 3058, 3058, 3058, 52, 9, 3363, 3363, 3363, 21, 3720, 3720, 3720, 65, 36, 2900, 2900, 2900, 986, 30, 0, 38, 748, 1747, 1126, 4, 4406, 4406, 4406, 4202, 86, 2688, 1529, 0, 33, 1591, 1591, 1591, 15, 1957, 3119, 30, 5, 4629, 4629, 4629, 34, 1490, 1490, 1490, 55, 1862, 1862, 1862, 96, 190, 1433, 416, 850, 3494, 3494, 3494, 830, 28, 169, 4658, 4658, 4658, 2577, 140, 652, 1586, 0, 370, 1365, 201, 1, 82, 3030, 61, 74, 380, 1080, 4217, 4217, 4217, 5, 1, 3748, 3748, 3748, 2255, 411, 508, 201, 3, 21, 198, 29, 2196, 2237, 24, 1376, 1421, 5, 1295, 3604, 3604, 3604, 149, 149, 149, 376, 1473, 1473, 1473, 2371, 215, 489, 184, 184, 184, 62, 1418, 1418, 1418, 23, 23, 820, 96, 574, 32, 3492, 3492, 3492, 1454, 2985, 2985, 2985, 119, 38, 1591, 2271, 2271, 2271, 10, 2232, 3009, 3009, 3009, 3785, 3785, 3785, 1399, 2856, 2856, 2856, 4201, 4201, 4201, 22, 545, 38, 69, 1904, 1904, 1904, 2818, 97, 25, 510, 1524, 122, 1931, 1931, 1931, 3444, 3444, 3444, 878, 803, 41, 146, 31, 3359, 3359, 3359, 3724, 3724, 3724, 2938, 2938, 2938, 50, 478, 13, 2, 286, 112, 2626, 2626, 2626, 766, 156, 42, 2895, 1052, 60, 3655, 3655, 3655, 181, 634, 2625, 3149, 1821, 24, 402, 219, 20, 44, 48, 57, 73, 468, 1194, 32, 5, 49, 4729, 46, 205, 3782, 1, 2, 302, 111, 3749, 28, 412, 1520, 36, 2892, 2892, 2892, 68, 1626, 2226, 1198, 0, 173, 216, 216, 216, 1965, 20, 1776, 757, 23, 4366, 4366, 4366, 95, 139, 1566, 188, 1375, 0, 2248, 2248, 2248, 4836, 4836, 4836, 1002, 32, 4533, 4533, 4533, 2207, 104, 0, 592, 458, 21, 1986, 1986, 1986, 256, 1954, 1954, 1954, 829, 115, 1532, 1532, 1532, 1, 214, 2976, 669, 4860, 4860, 4860, 1601, 1601, 1601, 29, 31, 216, 2227, 113, 4351, 4351, 4351, 1230, 3110, 397, 41, 3, 1, 110, 77, 1994, 1994, 1994, 4041, 1219, 588, 338, 22, 27, 2667, 2667, 2667, 2009, 2009, 2009, 31, 222, 91, 2, 3012, 4582, 4582, 4582, 0, 1736, 2442, 88, 505, 2718, 4497, 4497, 4497, 155, 3352, 3352, 3352, 10, 24, 4889, 4889, 4889, 520, 1856, 53, 2, 33, 2187, 2187, 2187, 1, 2965, 2965, 2965, 117, 30, 3991, 3991, 3991, 633, 40, 385, 1964, 57, 34, 3962, 2163, 2281, 3828, 3828, 3828, 157, 4493, 4493, 4493, 2782, 577, 70, 4448, 4448, 4448, 56, 3344, 3344, 3344, 3, 39, 149, 149, 149, 352, 759, 61, 89, 22, 1128, 1128, 1128, 35, 142, 2367, 2367, 2367, 159, 966, 2992, 2992, 2992, 3398, 3398, 3398, 372, 376, 21, 107, 3824, 3824, 3824, 4854, 4854, 4854, 1867, 339, 383, 755, 819, 81, 864, 75, 32, 258, 396, 3080, 3080, 3080, 45, 1243, 107, 3100, 3061, 3061, 3061, 1, 62, 61, 3236, 3236, 3236, 1955, 1955, 1955, 1336, 0, 0, 1292, 1292, 1292, 95, 1953, 30, 488, 4836, 4836, 4836, 153, 135, 839, 839, 839, 1284, 2916, 3056, 1555, 206, 1924, 1924, 1924, 2928, 3138, 3138, 3138, 2589, 2589, 2589, 59, 2659, 25, 0, 20, 106, 31, 31, 233, 4495, 4495, 4495, 835, 847, 1149, 381, 51, 27, 2619, 120, 836, 836, 836, 4878, 4878, 4878, 1585, 1585, 1585, 32, 1243, 90, 329, 44, 2166, 2166, 2166, 4033, 4033, 4033, 3051, 1, 34, 845, 285, 1, 2101, 0, 4137, 4137, 4137, 141, 52, 3824, 3824, 3824, 2450, 2, 69, 2619, 0, 36, 1530, 1201, 69, 1153, 4076, 4076, 4076, 1829, 1829, 1829, 132, 4701, 4701, 4701, 32, 99, 2327, 3074, 3074, 3074, 55, 2403, 2403, 2403, 27, 2156, 381, 3, 124, 1092, 3818, 3818, 3818, 4827, 4827, 4827, 625, 68, 29, 0, 2, 109, 1242, 1242, 1242, 187, 33, 225, 93, 35, 117, 2171, 18, 71, 49, 0, 3755, 1158, 137, 137, 137, 2402, 2402, 2402, 100, 1893, 2618, 2618, 2618, 309, 953, 1426, 1426, 1426, 3651, 3651, 3651, 458, 1, 161, 415, 3844, 3844, 3844, 2337, 3039, 3039, 3039, 1892, 2, 1417, 1417, 1417, 1770, 140, 53, 801, 2367, 2816, 2816, 2816, 2553, 4194, 4194, 4194, 723, 6, 25, 219, 1852, 103, 1822, 43, 365, 34, 1847, 34, 58, 4929, 4929, 4929, 731, 2540, 2540, 2540, 1611, 99, 2502, 2328, 1549, 1273, 1273, 1273, 6, 736, 4045, 4045, 4045, 1084, 24, 438, 0, 572, 4206, 4206, 4206, 1, 237, 2605, 2605, 2605, 3100, 1566, 1566, 1566, 1372, 1372, 1372, 31, 120, 176, 2680, 2680, 2680, 362, 214, 2787, 210, 1976, 1976, 1976, 77, 1803, 49, 25, 2012, 2012, 2012, 438, 438, 438, 1973, 361, 28, 366, 4032, 4032, 4032, 91, 4110, 4110, 4110, 63, 2410, 28, 9, 49, 194, 26, 95, 99, 982, 3277, 3277, 3277, 116, 923, 697, 1170, 54, 2537, 2537, 2537, 1267, 1204, 3565, 3565, 3565, 2498, 107, 42, 1708, 66, 28, 573, 997, 0, 1512, 1512, 1512, 4477, 4477, 4477, 46, 30, 81, 67, 186, 4, 31, 78, 4382, 2174, 366, 1933, 1034, 179, 6, 231, 1737, 1737, 1737, 1161, 156, 97, 4917, 4917, 4917, 4236, 4236, 4236, 0, 446, 27, 71, 55, 36, 825, 1, 823, 823, 823, 327, 327, 327, 81, 173, 0, 2740, 46, 46, 2719, 2719, 2719, 845, 26, 21, 1, 4276, 4276, 4276, 1282, 0, 2110, 3971, 63, 4614, 4614, 4614, 495, 3572, 2314, 1412, 79, 3128, 3128, 3128, 578, 2536, 2536, 2536, 4490, 86, 1872, 3543, 3543, 3543, 977, 977, 977, 303, 0, 2087, 2574, 2574, 2574, 907, 28, 589, 71, 32, 31, 3593, 3593, 3593, 84, 338, 153, 2408, 2408, 2408, 62, 814, 3170, 3170, 3170, 83, 22, 1288, 212, 1788, 47, 1, 2346, 2346, 2346, 4922, 4922, 4922, 2, 561, 50, 4086, 4086, 4086, 135, 22, 1085, 1085, 1085, 177, 80, 0, 23, 20, 2506, 2122, 2122, 2122, 367, 2837, 2837, 2837, 23, 985, 10, 1323, 1323, 1323, 2795, 1527, 4083, 4083, 4083, 72, 2, 31, 432, 1723, 534, 3075, 127, 2708, 2708, 2708, 365, 538, 2771, 2771, 2771, 119, 920, 4669, 4669, 4669, 861, 366, 173, 67, 159, 49, 2738, 124, 22, 123, 72, 27, 3428, 39, 57, 2769, 64, 956, 11, 63, 13, 588, 2415, 2415, 2415, 383, 1120, 3658, 3658, 3658, 661, 661, 661, 1984, 153, 29, 2163, 988, 37, 43, 0, 0, 980, 6, 27, 1985, 875, 2017, 2927, 2927, 2927, 2757, 613, 4718, 4718, 4718, 367, 17, 242, 200, 28, 1331, 216, 257, 257, 257, 29, 251, 2021, 2527, 2527, 2527, 1153, 29, 177, 75, 1185, 485, 2212, 389, 43, 36, 590, 1812, 1812, 1812, 1620, 59, 80, 3192, 3192, 3192, 21, 925, 245, 630, 32, 2961, 29, 2636, 1, 390, 935, 336, 25, 4567, 4567, 4567, 128, 95, 1, 2117, 4, 30, 574, 554, 2328, 2328, 2328, 97, 43, 106, 25, 1364, 573, 0, 622, 0, 2066, 4978, 4978, 4978, 2185, 2185, 2185, 151, 338, 0, 2375, 31, 1, 0, 250, 94, 4163, 4163, 4163, 282, 165, 3546, 3546, 3546, 3199, 229, 3774, 3774, 3774, 2001, 192, 40, 2534, 2534, 2534, 0, 109, 4812, 4812, 4812, 91, 1181, 1181, 1181, 125, 269, 4737, 4737, 4737, 2797, 2797, 2797, 315, 34, 0, 20, 66, 1, 334, 4991, 4991, 4991, 84, 202, 488, 28, 1009, 1009, 1009, 1626, 2283, 2283, 2283, 2450, 1168, 143, 38, 582, 160, 1936, 1936, 1936, 147, 31, 4560, 4560, 4560, 139, 26, 1, 75, 72, 2884, 2884, 2884, 732, 66, 163, 16, 5, 366, 249, 4203, 4203, 4203, 23, 3128, 3128, 3128, 0, 1008, 1008, 1008, 55, 560, 560, 560, 1346, 0, 1919, 26, 0, 26, 635, 658, 4, 44, 112, 112, 112, 0, 5, 221, 4683, 4683, 4683, 264, 264, 264, 0, 32, 148, 29, 835, 881, 1, 2434, 2434, 2434, 98, 176, 1382, 80, 48, 62, 42, 57, 47, 1511, 147, 235, 2891, 2891, 2891, 410, 3400, 81, 4984, 4984, 4984, 2534, 2534, 2534, 3598, 3598, 3598, 732, 732, 732, 54, 422, 21, 1855, 3197, 3197, 3197, 117, 2122, 2122, 2122, 1024, 41, 138, 2859, 2859, 2859, 0, 66, 0, 768, 768, 768, 1, 4794, 4794, 4794, 38, 2635, 226, 3958, 3958, 3958, 662, 71, 71, 71, 0, 2827, 2827, 2827, 96, 367, 2768, 2768, 2768, 277, 2196, 0, 1969, 60, 688, 2288, 23, 46, 4986, 4986, 4986, 1741, 2397, 2397, 2397, 604, 117, 47, 1, 3665, 2241, 72, 208, 1570, 1570, 1570, 145, 67, 23, 170, 2, 247, 35, 2574, 2852, 1639, 1639, 1639, 22, 1385, 2641, 20, 77, 72, 3506, 365, 0, 68, 77, 2743, 2743, 2743, 26, 4514, 4514, 4514, 2, 30, 3, 230, 3667, 1371, 1371, 1371, 3923, 3923, 3923, 128, 59, 59, 59, 4327, 4327, 4327, 86, 1678, 3, 2504, 1579, 1579, 1579, 0, 1033, 2398, 2398, 2398, 4238, 4238, 4238, 3307, 3480, 37, 1460, 116, 4, 2015, 2015, 2015, 2220, 2220, 2220, 232, 583, 667, 3689, 3689, 3689, 3, 4083, 4083, 4083, 394, 83, 310, 0, 168, 4419, 4419, 4419, 969, 969, 969, 528, 402, 1587, 4859, 4859, 4859, 572, 572, 572, 674, 3903, 3903, 3903, 0, 26, 2255, 68, 3, 34, 51, 3293, 3293, 3293, 1061, 2456, 2456, 2456, 176, 188, 1, 2130, 31, 30, 339, 368, 368, 368, 1, 166, 275, 255, 341, 751, 31, 657, 657, 657, 330, 841, 53, 1760, 1760, 1760, 210, 258, 1000, 3881, 3881, 3881, 41, 3974, 3974, 3974, 1827, 1547, 1547, 1547, 1499, 1499, 1499, 30, 318, 52, 41, 37, 37, 37, 21, 99, 677, 2534, 2156, 2156, 2156, 1742, 637, 1690, 1690, 1690, 2511, 1291, 3297, 3297, 3297, 131, 505, 452, 0, 3670, 3670, 3670, 1, 28, 3173, 3173, 3173, 25, 1366, 28, 103, 56, 63, 2495, 2495, 2495, 2255, 2255, 2255, 2872, 33, 1166, 68, 1, 1086, 69, 69, 69, 2609, 2609, 2609, 269, 20, 2770, 2770, 2770, 2, 1130, 1130, 1130, 1285, 1225, 527, 33, 2308, 45, 2164, 2164, 2164, 2369, 2369, 2369, 20, 642, 642, 642, 1127, 1590, 626, 3462, 3462, 3462, 1788, 78, 129, 0, 2089, 2089, 2089, 30, 26, 1030, 59, 3961, 568, 1, 1376, 171, 23, 9, 0, 96, 75, 264, 1348, 1348, 1348, 3235, 3235, 3235, 0, 2, 2840, 2840, 2840, 405, 3933, 1719, 3192, 22, 32, 664, 689, 159, 292, 55, 2855, 2855, 2855, 109, 2457, 2457, 2457, 2158, 812, 1, 600, 302, 852, 0, 395, 223, 2572, 2572, 2572, 105, 40, 1730, 4361, 20, 0, 2101, 22, 57, 4667, 4667, 4667, 526, 177, 177, 177, 284, 783, 25, 68, 562, 4053, 4053, 4053, 169, 26, 524, 89, 2, 0, 326, 256, 26, 0, 1283, 756, 1236, 104, 35, 302, 4304, 4304, 4304, 2351, 2351, 2351, 1868, 3622, 1298, 12, 21, 2931, 2931, 2931, 2802, 2802, 2802, 138, 63, 2816, 2816, 2816, 254, 6, 99, 11, 32, 1007, 2512, 88, 88, 88, 375, 61, 44, 4568, 4568, 4568, 3389, 3389, 3389, 39, 24, 4673, 4673, 4673, 4685, 4685, 4685, 2911, 2911, 2911, 0, 153, 344, 344, 344, 3270, 2192, 264, 2803, 2803, 2803, 0, 114, 650, 2859, 2859, 2859, 204, 279, 6, 525, 26, 20, 1070, 63, 132, 132, 132, 756, 61, 258, 269, 436, 0, 2656, 37, 41, 805, 1551, 1551, 1551, 110, 33, 10, 1753, 1753, 1753, 0, 103, 103, 103, 876, 876, 876, 3290, 3290, 3290, 3430, 58, 0, 336, 92, 1460, 1507, 1818, 1818, 1818, 25, 2542, 1006, 1006, 1006, 3306, 3306, 3306, 97, 33, 23, 26, 30, 0, 2862, 2, 20, 141, 1276, 825, 365, 360, 42, 103, 698, 413, 1321, 2517, 2517, 2517, 62, 1100, 687, 1116, 1331, 62, 36, 3430, 2915, 1366, 277, 2970, 2970, 2970, 10, 2274, 24, 4169, 4169, 4169, 36, 1, 366, 21, 1752, 1752, 1752, 26, 3355, 3355, 3355, 325, 351, 522, 22, 722, 950, 950, 950, 0, 23, 50, 34, 1621, 1621, 1621, 2028, 2028, 2028, 36, 4793, 4793, 4793, 957, 1387, 91, 756, 1, 139, 328, 450, 3003, 71, 1, 224, 4866, 4866, 4866, 2347, 2347, 2347, 2330, 2330, 2330, 24, 35, 130, 301, 1784, 146, 731, 3914, 3914, 3914, 1, 3192, 27, 1598, 172, 990, 24, 1141, 286, 310, 1673, 1673, 1673, 40, 3653, 3653, 3653, 2039, 2039, 2039, 25, 20, 27, 3264, 3264, 3264, 303, 751, 4467, 4467, 4467, 1, 101, 1443, 120, 98, 4, 4281, 4281, 4281, 5, 121, 20, 3245, 3245, 3245, 75, 1555, 1555, 1555, 428, 82, 27, 1060, 4364, 4364, 4364, 2981, 2981, 2981, 186, 4437, 4437, 4437, 125, 0, 2298, 2298, 2298, 1337, 109, 2560, 2560, 2560, 30, 2241, 1877, 30, 2299, 22, 241, 580, 91, 2759, 2759, 2759, 704, 463, 51, 435, 0, 204, 31, 2676, 0, 4295, 4295, 4295, 40, 1539, 37, 1531, 1, 1525, 290, 2184, 26, 28, 171, 2313, 84, 184, 368, 4, 2303, 3719, 3719, 3719, 7, 3288, 3288, 3288, 4, 110, 443, 127, 314, 20, 7, 1537, 1537, 1537, 67, 21, 2, 2585, 214, 589, 0, 456, 3653, 3653, 3653, 128, 1, 519, 151, 0, 67, 360, 0, 41, 2565, 2565, 2565, 31, 3, 730, 1167, 2220, 84, 28, 24, 43, 0, 1, 1828, 2413, 2413, 2413, 1081, 1081, 1081, 1864, 2123, 410, 2257, 2257, 2257, 2559, 25, 1598, 1598, 1598, 910, 0, 784, 2589, 2589, 2589, 38, 951, 316, 316, 316, 14, 200, 526, 23, 54, 3213, 3213, 3213, 75, 40, 675, 741, 23, 164, 5, 2447, 2447, 2447, 23, 0, 4344, 4344, 4344, 2, 2684, 2684, 2684, 719, 719, 719, 2273, 1068, 1856, 1856, 1856, 159, 1045, 0, 62, 172, 26, 874, 2785, 2973, 2973, 2973, 1259, 3211, 24, 45, 0, 2534, 1, 7, 32, 23, 21, 4134, 4134, 4134, 1873, 50, 22, 2912, 99, 5, 2094, 41, 29, 32, 24, 2594, 29, 28, 2927, 1740, 1740, 1740, 195, 72, 103, 4729, 4729, 4729, 36, 3783, 3783, 3783, 4091, 4091, 4091, 348, 4989, 2763, 3049, 4, 22, 349, 57, 2711, 1012, 299, 0, 245, 2317, 123, 41, 23, 1096, 31, 1009, 1108, 1108, 1108, 73, 61, 2, 56, 33, 0, 71, 311, 311, 918, 32, 274, 97, 767, 767, 767, 2641, 4746, 4746, 4746, 62, 0, 34, 777, 53, 129, 54, 21, 398, 3293, 3293, 3293, 1348, 35, 806, 259, 150, 1090, 792, 1189, 27, 2315, 48, 0, 0, 759, 40, 363, 93, 104, 37, 3687, 3687, 3687, 68, 26, 71, 37, 63, 57, 20, 2662, 2662, 2662, 21, 35, 470, 2998, 2998, 2998, 40, 848, 54, 72, 93, 322, 5, 26, 29, 2965, 2965, 2965, 276, 23, 32, 127, 239, 239, 239, 1160, 53, 1548, 27, 57, 34, 0, 60, 58, 8, 1928, 1928, 1928, 300, 434, 45, 410, 4278, 4278, 4278, 1154, 3683, 3683, 3683, 31, 1, 198, 32, 796, 4024, 4024, 4024, 1110, 53, 32, 58, 4540, 4540, 4540, 4116, 4116, 4116, 761, 67, 328, 603, 21, 3953, 3953, 3953, 4387, 4387, 4387, 476, 29, 1, 0, 1259, 73, 0, 203, 1509, 2505, 3305, 2439, 2340, 214, 2283, 0, 34, 381, 0, 7, 3049, 3049, 3049, 364, 3090, 3090, 3090, 844, 844, 844, 0, 178, 5, 2995, 2995, 2995, 21, 387, 4709, 4709, 4709, 2740, 2740, 2740, 26, 213, 3581, 3581, 3581, 221, 59, 2664, 2664, 2664, 380, 380, 380, 498, 25, 56, 3195, 3195, 3195, 225, 670, 3122, 3122, 3122, 0, 65, 1098, 49, 132, 945, 945, 945, 50, 731, 620, 620, 620, 58, 1464, 100, 59, 131, 65, 58, 58, 21, 0, 357, 536, 4844, 4844, 4844, 2947, 2947, 2947, 93, 769, 28, 20, 21, 48, 58, 1144, 83, 58, 1095, 1531, 0, 44, 3959, 3959, 3959, 95, 4045, 69, 3073, 3073, 3073, 182, 27, 66, 26, 120, 30, 4060, 4060, 4060, 27, 0, 29, 194, 86, 44, 4, 28, 431, 789, 1489, 743, 155, 22, 733, 132, 0, 115, 67, 1, 1087, 30, 117, 0, 1, 2318, 4068, 104, 2358, 2358, 2358, 88, 1913, 1913, 1913, 4826, 4826, 4826, 2612, 41, 20, 624, 4, 98, 796, 1777, 589, 589, 589, 3514, 3514, 3514, 1026, 434, 2644, 0, 5, 0, 59, 21, 4852, 4852, 4852, 2201, 35, 1198, 4382, 4382, 4382, 35, 71, 800, 33, 32, 20, 42, 52, 34, 29, 772, 2267, 2267, 2267, 1097, 107, 0, 2208, 4, 1103, 134, 3168, 3168, 3168, 7, 48, 1753, 29, 107, 0, 310, 82, 124, 1171, 3788, 3788, 3788, 1, 62, 66, 93, 0, 4748, 4748, 4748, 94, 418, 53, 4966, 4966, 4966, 29, 27, 1097, 3442, 176, 1672, 837, 0, 185, 0, 1023, 128, 64, 1464, 31, 31, 1, 2076, 2076, 2076, 214, 616, 1549, 32, 3090, 3090, 3090, 4502, 4502, 4502, 37, 98, 89, 3328, 3328, 3328, 3774, 3774, 3774, 2775, 517, 78, 30, 869, 0, 32, 186, 2256, 66, 3451, 3451, 3451, 836, 2208, 98, 85, 32, 260, 3005, 3005, 3005, 441, 441, 441, 139, 91, 102, 47, 517, 76, 41, 1792, 1792, 1792, 1705, 4153, 4153, 4153, 933, 90, 2221, 2221, 2221, 2040, 1769, 1769, 1769, 7, 2753, 37, 812, 139, 94, 3636, 67, 24, 4786, 4786, 4786, 2846, 4, 29, 1296, 46, 33, 62, 39, 1, 2772, 0, 183, 319, 188, 914, 1278, 2992, 3595, 136, 3388, 3388, 3388, 62, 681, 1, 50, 26, 122, 26, 147, 94, 150, 63, 366, 915, 1, 133, 3051, 1403, 99, 486, 0, 1290, 515, 1670, 30, 58, 1741, 1741, 1741, 641, 23, 52, 0, 3409, 3409, 3409, 133, 1942, 1942, 1942, 559, 407, 2054, 367, 93, 109, 367, 80, 201, 0, 2922, 106, 106, 106, 56, 4284, 4284, 4284, 1464, 72, 2307, 71, 31, 1299, 1299, 1299, 4382, 4382, 4382, 28, 310, 1, 2042, 3141, 371, 2827, 2827, 2827, 2051, 71, 0, 24, 123, 191, 2373, 2373, 2373, 1, 24, 0, 25, 634, 4, 3, 140, 148, 369, 0, 55, 372, 216, 4516, 4516, 4516, 41, 129, 1, 4081, 2645, 124, 3766, 246, 116, 62, 243, 659, 659, 659, 0, 126, 23, 150, 3544, 276, 276, 276, 830, 173, 210, 854, 514, 34, 195, 105, 2625, 2625, 2625, 1489, 1, 20, 1548, 21, 1, 5, 857, 78, 26, 2270, 2648, 2648, 2648, 2889, 2889, 2889, 861, 4942, 4942, 4942, 37, 1, 0, 3309, 3309, 3309, 3613, 3613, 3613, 25, 338, 898, 113, 32, 2336, 2336, 2336, 2024, 1623, 3302, 3302, 3302, 3167, 3167, 3167, 1268, 2762, 2762, 2762, 151, 73, 48, 114, 2945, 2945, 2945, 4136, 4136, 4136, 102, 2057, 2057, 2057, 79, 928, 928, 928, 320, 4537, 4537, 4537, 0, 626, 3653, 72, 58, 814, 2408, 2408, 2408, 54, 168, 3622, 3622, 3622, 2288, 71, 1255, 1735, 1735, 1735, 221, 103, 297, 435, 435, 435, 858, 5, 0, 248, 1436, 1436, 1436, 1766, 1766, 1766, 2525, 2525, 2525, 34, 60, 299, 24, 3843, 3843, 3843, 508, 3116, 3116, 3116, 35, 0, 839, 2700, 79, 3013, 3628, 3628, 3628, 2732, 2732, 2732, 1, 275, 73, 945, 98, 2365, 2365, 2365, 1266, 568, 568, 568, 3, 367, 111, 2106, 1741, 896, 3961, 510, 510, 510, 4134, 4134, 4134, 60, 3499, 3499, 3499, 4189, 4189, 4189, 101, 101, 101, 20, 20, 11, 3560, 3560, 3560, 104, 23, 506, 31, 217, 1411, 1, 2291, 2291, 2291, 21, 101, 1254, 1254, 1254, 93, 3, 377, 105, 1761, 39, 0, 3, 2, 62, 53, 60, 152, 450, 44, 502, 4847, 4847, 4847, 1264, 1509, 1509, 1509, 25, 1778, 2380, 2380, 2380, 74, 2803, 2803, 2803, 299, 1027, 1466, 4635, 4635, 4635, 119, 127, 1334, 23, 1731, 231, 381, 2781, 2781, 2781, 304, 29, 28, 4364, 1459, 2268, 4590, 4590, 4590, 2225, 2225, 2225, 216, 2441, 4082, 101, 266, 3542, 368, 1218, 27, 615, 4206, 785, 3851, 3851, 3851, 1262, 1, 101, 1263, 1263, 1263, 2919, 29, 1275, 1641, 624, 1056, 4759, 4759, 4759, 4604, 4604, 4604, 2, 261, 4704, 4704, 4704, 632, 1586, 2460, 2460, 2460, 137, 61, 1114, 785, 625, 2003, 1891, 81, 133, 2854, 2854, 2854, 2888, 2382, 2382, 2382, 1660, 4252, 4252, 4252, 2811, 2811, 2811, 1947, 1947, 1947, 593, 4553, 4553, 4553, 4839, 4839, 4839, 1386, 1386, 1386, 2360, 2360, 2360, 4930, 4930, 4930, 463, 55, 294, 294, 294, 815, 565, 3, 549, 4973, 4973, 4973, 4423, 4423, 4423, 545, 3983, 3983, 3983, 1165, 2013, 327, 327, 327, 1422, 1422, 1422, 620, 1853, 3173, 3173, 3173, 2772, 2772, 2772, 69, 682, 523, 3946, 3946, 3946, 1275, 1275, 1275, 4182, 4182, 4182, 1876, 1876, 1876, 2383, 2383, 2383, 2442, 581, 684, 564, 1009, 1267, 418, 367, 4580, 4580, 4580, 188, 1002, 7, 495, 4933, 4933, 4933, 1752, 62, 559, 989, 989, 989, 2, 124, 4471, 4471, 4471, 788, 691, 2081, 0, 1729, 3171, 2905, 2905, 2905, 2386, 2386, 2386, 33, 52, 2013, 0, 65, 2989, 4495, 4495, 4495, 0, 409, 2081, 1314, 190, 2262, 2262, 2262, 76, 127, 2314, 0, 4089, 4089, 4089, 237, 375, 1965, 252, 137, 137, 137, 602, 2031, 2031, 2031, 2081, 2081, 2081, 299, 23, 3165, 3165, 3165, 72, 1771, 309, 71, 1903, 1836, 3434, 3434, 3434, 2173, 4024, 1036, 485, 695, 695, 695, 4666, 4666, 4666, 4877, 4877, 4877, 203, 3221, 3221, 3221, 1114, 1940, 223, 2905, 2905, 2905, 69, 0, 2781, 254, 3974, 63, 1027, 1027, 1027, 70, 2008, 2008, 2008, 4729, 4729, 4729, 1514, 60, 4511, 3558, 3558, 3558, 623, 18, 50, 1365, 1365, 1365, 134, 3455, 3455, 3455, 82, 1041, 254, 502, 1350, 879, 967, 967, 967, 248, 3115, 3115, 3115, 509, 2906, 4009, 4009, 4009, 374, 208, 1819, 1819, 1819, 1928, 4987, 4987, 4987, 3609, 3609, 3609, 2102, 1, 360, 918, 0, 3748, 3748, 3748, 327, 2283, 1263, 627, 2084, 1, 325, 1776, 1776, 1776, 4042, 4042, 4042, 2823, 269, 687, 3157, 3157, 3157, 159, 88, 509, 20, 570, 4759, 4759, 4759, 163, 22, 4623, 4623, 4623, 1979, 3252, 3252, 3252, 70, 2905, 2905, 2905, 1936, 4269, 4269, 4269, 1, 1200, 2769, 4863, 4863, 4863, 4222, 1898, 1898, 1898, 890, 4624, 4624, 4624, 1830, 1830, 1830, 23, 2823, 2823, 2823, 467, 82, 2038, 2038, 2038, 61, 3671, 4430, 4430, 4430, 40, 1114, 1114, 1114, 3436, 27, 1668, 3119, 4916, 4916, 4916, 349, 30, 60, 1313, 1, 1930, 643, 985, 29, 1624, 1624, 1624, 2016, 1295, 226, 1309, 1309, 1309, 3888, 3888, 3888, 2415, 1754, 2372, 285, 4244, 4244, 4244, 2459, 3968, 3968, 3968, 1071, 36, 1458, 1458, 1458, 78, 1824, 385, 1236, 7, 942, 20, 1446, 1446, 1446, 2859, 2859, 2859, 51, 20, 284, 2715, 2715, 2715, 2406, 22, 1616, 0, 1530, 42, 49, 995, 33, 20, 1216, 1, 24, 582, 499, 852, 852, 852, 726, 1532, 49, 88, 100, 2903, 2903, 2903, 1188, 32, 556, 3923, 3923, 3923, 662, 775, 595, 2075, 175, 2487, 2487, 2487, 2963, 4205, 4205, 4205, 236, 3924, 3924, 3924, 53, 55, 604, 604, 604, 293, 125, 54, 2246, 22, 8, 25, 224, 1, 1678, 365, 4123, 4123, 4123, 1024, 1307, 1307, 1307, 247, 4610, 4610, 4610, 3215, 727, 1502, 1, 53, 2829, 3968, 3968, 3968, 1420, 1420, 1420, 29, 29, 29, 179, 39, 611, 1084, 1821, 1821, 1821, 261, 2794, 2794, 2794, 1633, 2176, 2176, 2176, 582, 3234, 359, 359, 359, 0, 365, 576, 4305, 4305, 4305, 61, 4567, 4567, 4567, 2573, 2573, 2573, 366, 1247, 1247, 1247, 1283, 446, 3591, 3591, 3591, 2142, 343, 3152, 3152, 3152, 42, 93, 3163, 236, 630, 2920, 2920, 2920, 64, 1602, 1602, 1602, 1745, 1745, 1745, 235, 365, 31, 901, 1176, 1, 335, 13, 24, 29, 888, 888, 888, 1051, 2773, 2773, 2773, 2918, 2918, 2918, 60, 99, 30, 1603, 54, 33, 835, 1082, 3878, 3878, 3878, 67, 906, 2, 9, 1244, 1244, 1244, 369, 30, 53, 0, 3973, 3973, 3973, 2491, 455, 887, 73, 37, 269, 29, 1, 38, 28, 410, 1076, 3948, 3948, 3948, 973, 26, 280, 203, 2566, 2566, 2566, 632, 260, 151, 3616, 3616, 3616, 2473, 2285, 2372, 0, 0, 34, 706, 2765, 2765, 2765, 2619, 2619, 2619, 34, 0, 60, 936, 51, 2, 109, 167, 33, 391, 23, 2434, 253, 106, 227, 404, 254, 3503, 3503, 3503, 1175, 37, 140, 1, 23, 28, 2319, 104, 2423, 2423, 2423, 0, 2115, 700, 462, 0, 1511, 2448, 2448, 2448, 61, 40, 2451, 1651, 1053, 1053, 1053, 635, 1677, 177, 985, 985, 985, 3351, 3351, 3351, 32, 2954, 96, 279, 257, 24, 24, 24, 108, 2369, 272, 2031, 23, 2954, 2954, 2954, 306, 318, 365, 2583, 2583, 2583, 271, 254, 48, 0, 3643, 3643, 3643, 5, 51, 1081, 50, 36, 3028, 3028, 3028, 710, 2, 447, 466, 4844, 4844, 4844, 1887, 1887, 1887, 1802, 8, 41, 73, 96, 1082, 1082, 1082, 1882, 281, 229, 2510, 2510, 2510, 780, 780, 780, 33, 31, 163, 92, 136, 3029, 3029, 3029, 150, 67, 3660, 727, 2150, 729, 28, 291, 0, 61, 35, 105, 1086, 34, 159, 0, 38, 75, 2907, 2907, 2907, 1256, 2143, 27, 368, 249, 1, 342, 342, 342, 2405, 327, 61, 3032, 86, 3738, 3738, 3738, 21, 4003, 4003, 4003, 4, 1313, 9, 633, 2, 3666, 49, 59, 1821, 4732, 4732, 4732, 184, 1734, 3636, 2918, 2918, 2918, 1355, 36, 255, 0, 91, 33, 47, 159, 29, 1916, 1916, 1916, 117, 584, 584, 584, 303, 303, 303, 352, 452, 33, 115, 1197, 4064, 4064, 4064, 369, 2826, 2826, 2826, 425, 1, 3696, 3696, 3696, 3300, 3300, 3300, 1, 3408, 3408, 3408, 74, 407, 271, 319, 24, 43, 96, 90, 2924, 49, 32, 746, 277, 3176, 3976, 3976, 3976, 356, 356, 356, 375, 34, 1778, 2, 29, 1486, 4027, 4027, 4027, 1848, 1848, 1848, 262, 9, 1195, 31, 2909, 2909, 2909, 1172, 1172, 1172, 49, 2, 3302, 3302, 3302, 4076, 4076, 4076, 1, 27, 3271, 25, 676, 90, 1662, 20, 3214, 11, 57, 4781, 4781, 4781, 47, 1977, 281, 0, 325, 112, 60, 1, 2158, 2379, 2379, 2379, 434, 65, 53, 87, 2501, 2501, 2501, 64, 20, 33, 3149, 3149, 3149, 25, 90, 30, 1366, 73, 594, 3244, 3244, 3244, 696, 696, 696, 11, 687, 208, 1444, 1444, 1444, 162, 47, 3956, 3956, 3956, 51, 2916, 709, 2984, 2984, 2984, 0, 1, 79, 256, 393, 393, 393, 275, 3, 191, 2912, 2912, 2912, 57, 348, 670, 4093, 4093, 4093, 526, 3040, 3040, 3040, 367, 33, 1039, 1039, 1039, 1732, 1279, 0, 535, 317, 1027, 35, 1, 4551, 4551, 4551, 4662, 4662, 4662, 183, 25, 1147, 1147, 1147, 3673, 3673, 3673, 60, 2121, 83, 3667, 3667, 3667, 75, 365, 1797, 305, 10, 1403, 4, 3205, 3205, 3205, 3623, 3623, 3623, 370, 1407, 54, 1311, 0, 441, 31, 4772, 4772, 4772, 27, 1412, 2750, 2750, 2750, 540, 388, 936, 1528, 2, 32, 1736, 1736, 1736, 57, 26, 1392, 3293, 3293, 3293, 3326, 282, 1057, 143, 7, 12, 23, 2595, 2595, 2595, 0, 32, 310, 54, 130, 86, 6, 2644, 2644, 2644, 28, 3048, 3048, 3048, 681, 2182, 2182, 2182, 136, 41, 92, 64, 2133, 2133, 2133, 1393, 1393, 1393, 4360, 4360, 4360, 314, 114, 1512, 1349, 1349, 1349, 1555, 423, 3, 29, 72, 23, 728, 329, 3695, 3695, 3695, 1745, 20, 1138, 133, 7, 39, 103, 2201, 2201, 2201, 2202, 2202, 2202, 37, 378, 4694, 4694, 4694, 25, 401, 63, 2681, 4354, 4354, 4354, 290, 557, 463, 272, 382, 44, 22, 124, 2274, 2274, 2274, 35, 1, 188, 2581, 4668, 62, 1507, 33, 3123, 3123, 3123, 1369, 0, 59, 34, 46, 20, 795, 247, 7, 789, 4220, 736, 31, 2679, 138, 120, 30, 2114, 4174, 4174, 4174, 47, 331, 49, 147, 2798, 3170, 3170, 3170, 44, 160, 0, 649, 1191, 4844, 4844, 4844, 15, 58, 45, 969, 32, 4264, 4264, 4264, 173, 2566, 2566, 2566, 0, 361, 2690, 25, 47, 4637, 4637, 4637, 400, 2682, 2682, 2682, 174, 0, 1, 1467, 2985, 0, 65, 2615, 2615, 2615, 86, 2816, 2816, 2816, 2827, 2827, 2827, 1150, 1150, 1150, 99, 185, 2934, 2133, 3964, 3964, 3964, 2938, 2938, 2938, 4854, 4854, 4854, 34, 1694, 1694, 1694, 2610, 32, 88, 373, 2988, 3659, 3659, 3659, 2900, 779, 248, 2411, 26, 16, 1067, 154, 197, 36, 63, 137, 3256, 25, 49, 73, 45, 279, 2708, 2708, 2708, 47, 41, 2223, 3931, 3931, 3931, 52, 141, 95, 251, 28, 29, 4445, 4445, 4445, 4054, 4054, 4054, 262, 1427, 2621, 2621, 2621, 4917, 4917, 4917, 458, 2193, 2193, 2193, 3934, 3934, 3934, 35, 81, 25, 309, 2257, 2257, 2257, 30, 26, 76, 2021, 2021, 2021, 93, 2596, 2596, 2596, 73, 294, 49, 435, 494, 2497, 497, 1315, 1878, 2, 243, 529, 39, 787, 787, 787, 67, 21, 0, 1, 4410, 4410, 4410, 36, 158, 2633, 4054, 4054, 4054, 1, 59, 1463, 57, 2231, 188, 701, 276, 1629, 902, 902, 902, 502, 0, 2829, 0, 501, 2813, 2813, 2813, 354, 310, 1569, 3391, 3391, 3391, 2806, 2806, 2806, 2519, 2519, 2519, 27, 33, 3673, 3673, 3673, 860, 1888, 126, 70, 451, 366, 61, 1, 873, 2954, 155, 722, 722, 722, 145, 365, 13, 1219, 1219, 1219, 1, 0, 2707, 259, 130, 41, 751, 2, 882, 145, 36, 0, 4, 3284, 3284, 3284, 4847, 4847, 4847, 104, 368, 2583, 1620, 1620, 1620, 94, 2940, 2940, 2940, 10, 110, 23, 365, 252, 20, 1, 2218, 4368, 4368, 4368, 1046, 4798, 4798, 4798, 49, 485, 0, 1184, 4830, 4830, 4830, 2195, 2195, 2195, 243, 0, 2544, 1834, 1834, 1834, 1473, 790, 321, 23, 1053, 41, 1109, 3690, 3690, 3690, 50, 55, 2521, 2521, 2521, 2631, 406, 202, 202, 202, 119, 55, 61, 1363, 711, 686, 3428, 3428, 3428, 785, 452, 45, 11, 1706, 460, 460, 460, 1478, 2483, 225, 2120, 388, 296, 1454, 113, 102, 382, 181, 117, 70, 99, 38, 1213, 1213, 1213, 2639, 2639, 2639, 2944, 1509, 70, 109, 23, 340, 38, 39, 156, 105, 0, 3006, 332, 234, 0, 3, 3656, 3749, 3749, 3749, 4410, 4410, 4410, 2006, 133, 819, 1526, 37, 344, 0, 4383, 4383, 4383, 512, 753, 235, 0, 385, 95, 2, 53, 120, 21, 380, 50, 4005, 4005, 4005, 0, 4088, 4088, 4088, 298, 3713, 3713, 3713, 21, 37, 91, 1, 431, 24, 561, 62, 62, 36, 130, 751, 3096, 3096, 3096, 56, 89, 113, 0, 2, 415, 583, 782, 54, 782, 73, 0, 3694, 2, 25, 2323, 2323, 2323, 4066, 3019, 428, 428, 428, 0, 70, 70, 117, 117, 117, 74, 3561, 3561, 3561, 1, 1, 1, 3258, 3258, 3258, 0, 0, 2345, 2345, 2345, 3744, 3744, 3744, 413, 443, 144, 42, 1428, 1428, 1428, 345, 231, 27, 4527, 4527, 4527, 682, 410, 3710, 3710, 3710, 48, 380, 97, 3301, 3301, 3301, 549, 0, 71, 1558, 1558, 1558, 1273, 688, 107, 2967, 423, 0, 1625, 163, 3071, 33, 364, 2410, 3211, 3211, 3211, 2259, 31, 1084, 1084, 1084, 58, 0, 2181, 2181, 2181, 44, 287, 38, 1, 39, 26, 26, 3440, 3440, 3440, 3313, 29, 148, 148, 148, 2955, 2955, 2955, 2213, 61, 68, 27, 155, 21, 2, 92, 47, 1, 3823, 305, 683, 683, 683, 4, 21, 2029, 1, 20, 4772, 4772, 4772, 52, 65, 2253, 38, 181, 209, 1843, 1843, 1843, 45, 859, 32, 125, 2983, 2983, 2983, 28, 4108, 4108, 4108, 1963, 170, 32, 1, 1354, 86, 1459, 1459, 1459, 23, 0, 56, 84, 26, 34, 66, 319, 32, 1018, 73, 3526, 3526, 3526, 28, 271, 2042, 2042, 2042, 489, 341, 1, 26, 81, 48, 4077, 4077, 4077, 32, 0, 32, 689, 0, 1005, 31, 4245, 1, 0, 2, 3368, 3368, 3368, 4407, 170, 3135, 849, 222, 128, 41, 222, 222, 222, 32, 1868, 1868, 1868, 140, 547, 1004, 111, 24, 424, 3508, 3508, 3508, 1046, 1046, 1046, 2326, 2326, 2326, 2395, 42, 95, 142, 229, 304, 0, 368, 262, 262, 262, 80, 20, 28, 148, 57, 48, 46, 3488, 3488, 3488, 36, 30, 43, 816, 2928, 1523, 40, 907, 22, 3764, 3575, 3575, 3575, 222, 3, 275, 371, 773, 4866, 4866, 4866, 1243, 1128, 4190, 4190, 4190, 6, 35, 135, 138, 206, 1754, 22, 21, 241, 278, 1273, 6, 171, 22, 274, 1575, 1575, 1575, 403, 2650, 2650, 2650, 314, 1969, 310, 190, 163, 1346, 405, 167, 2370, 2370, 2370, 135, 65, 31, 895, 1740, 0, 0, 339, 0, 79, 4672, 4672, 4672, 1421, 921, 452, 1182, 372, 0, 763, 4158, 4158, 4158, 38, 946, 177, 1919, 1100, 4265, 4265, 4265, 1869, 48, 511, 511, 511, 2300, 589, 372, 372, 372, 2261, 64, 24, 0, 2373, 2373, 2373, 533, 2995, 2995, 2995, 110, 141, 123, 648, 123, 910, 31, 0, 518, 1156, 3056, 44, 142, 99, 99, 99, 131, 4185, 4185, 4185, 1593, 746, 94, 268, 2684, 2684, 2684, 415, 38, 140, 149, 424, 1388, 24, 2742, 160, 1, 1, 577, 136, 925, 925, 925, 25, 661, 79, 1086, 383, 1, 4570, 4570, 4570, 55, 3347, 3, 26, 376, 14, 2734, 2734, 2734, 193, 193, 193, 1398, 1398, 1398, 805, 3918, 3918, 3918, 1680, 178, 196, 2765, 2765, 2765, 1146, 500, 853, 4969, 4969, 4969, 3209, 3993, 3993, 3993, 264, 60, 4544, 372, 2627, 2627, 2627, 2, 1, 2305, 2305, 2305, 365, 4552, 4552, 4552, 217, 3825, 3825, 3825, 2573, 2573, 2573, 3088, 3088, 3088, 106, 205, 3280, 3280, 3280, 4942, 4942, 4942, 83, 2798, 2798, 2798, 16, 868, 868, 868, 938, 30, 22, 23, 809, 95, 84, 70, 261, 894, 3556, 3556, 3556, 390, 4179, 4179, 4179, 3861, 3861, 3861, 2, 1010, 1010, 1010, 175, 21, 3778, 3778, 3778, 405, 156, 8, 4905, 4905, 4905, 2027, 2027, 2027, 947, 38, 30, 1677, 1677, 1677, 2, 135, 1992, 1992, 1992, 1633, 170, 859, 85, 742, 634, 634, 634, 107, 22, 132, 9, 189, 47, 33, 2881, 763, 2971, 2971, 2971, 1826, 147, 314, 314, 314, 55, 62, 681, 96, 1475, 0, 3, 109, 847, 4626, 4626, 4626, 4941, 4941, 4941, 28, 47, 4682, 4682, 4682, 1273, 0, 81, 172, 24, 337, 2, 1937, 115, 157, 96, 914, 3147, 3147, 3147, 106, 142, 859, 7, 511, 1519, 1519, 1519, 4666, 4666, 4666, 309, 365, 63, 24, 429, 3441, 3441, 3441, 2034, 2034, 2034, 2358, 51, 80, 20, 3077, 1032, 3398, 3398, 3398, 1259, 888, 269, 600, 64, 643, 232, 4860, 4860, 4860, 615, 45, 3180, 3180, 3180, 159, 159, 159, 3465, 3465, 3465, 915, 2001, 2018, 1519, 38, 2050, 2050, 2050, 764, 4974, 4974, 4974, 4302, 4302, 4302, 1551, 1551, 1551, 30, 21, 67, 67, 67, 3451, 3451, 3451, 3834, 3834, 3834, 2, 0, 0, 365, 1540, 1540, 1540, 24, 336, 2642, 2642, 2642, 175, 163, 470, 0, 31, 908, 103, 27, 108, 80, 3291, 3291, 3291, 273, 293, 111, 1350, 447, 96, 247, 40, 0, 3285, 3285, 3285, 119, 96, 0, 31, 29, 127, 2786, 2786, 2786, 438, 241, 42, 1236, 1236, 1236, 1962, 636, 704, 21, 305, 126, 119, 256, 2081, 590, 1351, 4962, 4962, 4962, 214, 580, 1668, 1668, 1668, 4258, 4258, 4258, 1, 228, 228, 228, 1, 129, 2842, 23, 58, 110, 4204, 180, 134, 3235, 3235, 3235, 2087, 77, 161, 142, 65, 72, 68, 1089, 3286, 3286, 3286, 135, 1627, 1818, 2047, 36, 1, 112, 112, 112, 124, 0, 72, 855, 855, 855, 3170, 3170, 3170, 1668, 1668, 1668, 698, 517, 108, 39, 36, 0, 60, 54, 2811, 300, 4, 1586, 599, 243, 1762, 0, 969, 969, 969, 26, 555, 555, 555, 1, 492, 206, 308, 105, 3291, 3291, 3291, 883, 2753, 0, 342, 138, 190, 21, 4298, 4298, 4298, 48, 105, 122, 622, 171, 3149, 1, 2731, 115, 2928, 2928, 2928, 4258, 4258, 4258, 3270, 3270, 3270, 1298, 2227, 34, 2295, 65, 36, 36, 142, 256, 1937, 650, 1497, 25, 259, 55, 219, 212, 212, 212, 0, 365, 2816, 2816, 2816, 319, 56, 4191, 4191, 4191, 301, 134, 272, 620, 1355, 1347, 151, 2859, 1, 559, 215, 1097, 9, 251, 1972, 1972, 1972, 110, 3108, 3108, 3108, 533, 2424, 3511, 138, 56, 105, 1, 3642, 3642, 3642, 180, 1, 39, 139, 656, 346, 2484, 1, 1691, 1691, 1691, 38, 37, 3299, 3299, 3299, 374, 1, 2211, 2211, 2211, 2245, 4258, 4258, 4258, 365, 43, 25, 2072, 1751, 12, 81, 367, 129, 3883, 3883, 3883, 2803, 2, 1, 32, 42, 241, 1075, 112, 179, 4654, 4654, 4654, 56, 588, 225, 351, 44, 1029, 453, 3402, 3402, 3402, 369, 4654, 4654, 4654, 3281, 3281, 3281, 106, 3850, 4302, 4302, 4302, 471, 0, 976, 976, 976, 2725, 2372, 2372, 2372, 201, 585, 547, 99, 134, 252, 437, 85, 3167, 651, 2913, 38, 95, 857, 857, 857, 27, 34, 2152, 1462, 591, 3446, 3446, 3446, 1789, 112, 2193, 2193, 2193, 887, 605, 4889, 4889, 4889, 3286, 3286, 3286, 1331, 1569, 1569, 1569, 1, 1725, 366, 734, 4018, 4018, 4018, 11, 2411, 2411, 2411, 1990, 3811, 1096, 51, 126, 0, 36, 999, 3596, 3596, 3596, 154, 376, 1043, 226, 330, 3965, 3965, 3965, 365, 4877, 4877, 4877, 3880, 3880, 3880, 292, 1898, 1898, 1898, 2870, 169, 4997, 4997, 4997, 21, 3535, 3535, 3535, 30, 3809, 364, 338, 3521, 3521, 3521, 285, 49, 1913, 640, 1408, 259, 144, 1026, 164, 3591, 3591, 3591, 369, 4524, 4524, 4524, 1438, 1438, 1438, 704, 704, 704, 609, 67, 358, 2973, 2973, 2973, 63, 299, 3277, 3277, 3277, 306, 3582, 16, 3970, 3970, 3970, 1013, 1013, 1013, 1410, 1410, 1410, 376, 2963, 88, 579, 2174, 2174, 2174, 87, 59, 2875, 549, 966, 155, 362, 38, 37, 1, 1, 169, 45, 883, 1050, 29, 116, 1778, 1013, 1013, 1013, 71, 66, 1687, 47, 482, 1098, 22, 2849, 1256, 1256, 1256, 276, 73, 175, 225, 20, 84, 382, 770, 1601, 1601, 1601, 2085, 4028, 4028, 4028, 3255, 3255, 3255, 62, 664, 664, 664, 369, 0, 1325, 4158, 4158, 4158, 35, 6, 1, 0, 2891, 2891, 2891, 32, 422, 928, 18, 3963, 3963, 3963, 94, 2848, 2848, 2848, 758, 1, 2901, 2901, 2901, 335, 0, 799, 21, 1820, 1820, 1820, 4, 3980, 3980, 3980, 3253, 3253, 3253, 186, 1745, 44, 4355, 4355, 4355, 0, 1992, 1992, 1992, 1013, 456, 0, 42, 152, 758, 758, 758, 1548, 83, 67, 44, 54, 680, 3039, 3039, 3039, 45, 1276, 33, 1733, 1772, 90, 1010, 25, 2343, 2343, 2343, 1688, 105, 2972, 2972, 2972, 0, 648, 694, 694, 694, 1011, 1, 326, 15, 312, 2877, 1799, 3543, 3543, 3543, 97, 868, 163, 3713, 3713, 3713, 27, 328, 4490, 186, 1404, 4709, 514, 2146, 654, 337, 243, 559, 582, 1124, 3203, 3203, 3203, 814, 28, 1733, 1733, 1733, 0, 3885, 3885, 3885, 557, 1796, 1832, 2484, 2484, 2484, 186, 3998, 3998, 3998, 69, 3223, 139, 137, 1762, 1, 298, 158, 0, 2022, 3123, 3123, 3123, 31, 242, 25, 3039, 3039, 3039, 2822, 2822, 2822, 747, 156, 3269, 2289, 3670, 3670, 3670, 4412, 4412, 4412, 3870, 293, 460, 53, 660, 4, 2561, 3257, 3257, 3257, 2119, 2119, 2119, 90, 216, 62, 29, 2272, 0, 151, 49, 106, 43, 2, 774, 27, 217, 540, 34, 118, 0, 67, 27, 140, 0, 3576, 3576, 3576, 3659, 3659, 3659, 640, 1587, 32, 4459, 4459, 4459, 175, 4768, 4768, 4768, 242, 1323, 1, 128, 34, 1834, 1834, 1834, 0, 2438, 2095, 1806, 30, 62, 4784, 4784, 4784, 3045, 3045, 3045, 3316, 3316, 3316, 4495, 4495, 4495, 4116, 4116, 4116, 63, 1611, 1611, 1611, 49, 74, 0, 20, 621, 94, 289, 20, 64, 84, 31, 74, 23, 500, 3435, 3435, 3435, 516, 1485, 0, 123, 955, 1485, 232, 138, 59, 23, 58, 545, 30, 2376, 119, 424, 0, 264, 1065, 3412, 2, 93, 48, 1781, 381, 1, 40, 2623, 2623, 2623, 4968, 4968, 4968, 141, 21, 727, 727, 727, 1097, 1097, 1097, 61, 0, 21, 274, 1092, 1092, 1092, 4007, 21, 358, 358, 358, 606, 260, 20, 2295, 8, 2337, 2337, 2337, 120, 60, 4172, 3, 0, 31, 3223, 0, 0, 0, 848, 332, 3015, 275, 1105, 0, 3335, 3335, 3335, 57, 1500, 21, 53, 61, 814, 2483, 2483, 2483, 2155, 32, 1, 77, 1, 4314, 4314, 4314, 108, 828, 21, 4, 252, 1802, 72, 264, 169, 4609, 4609, 4609, 1054, 31, 30, 2474, 32, 13, 186, 3373, 3373, 3373, 0, 672, 976, 976, 976, 31, 50, 4863, 4863, 4863, 4029, 665, 665, 665, 353, 723, 1, 2956, 86, 26, 365, 1, 2232, 0, 2319, 2319, 2319, 298, 34, 42, 72, 56, 2935, 91, 147, 0, 151, 438, 468, 404, 202, 766, 26, 34, 68, 35, 43, 83, 0, 3297, 3297, 3297, 0, 177, 3229, 4142, 4142, 4142, 184, 31, 1, 2192, 2192, 2192, 31, 4803, 4803, 4803, 2780, 1608, 60, 4509, 4509, 4509, 23, 23, 23, 1, 135, 781, 35, 181, 380, 152, 416, 1513, 1513, 1513, 24, 1, 827, 376, 762, 119, 32, 2199, 206, 206, 206, 4854, 4854, 4854, 137, 2582, 2582, 2582, 60, 310, 93, 0, 1876, 54, 329, 329, 329, 310, 40, 3690, 3690, 3690, 35, 0, 2230, 2230, 2230, 4422, 4422, 4422, 35, 744, 5, 4388, 4388, 4388, 48, 724, 43, 3432, 67, 281, 4754, 4754, 4754, 3, 9, 764, 336, 351, 651, 178, 147, 699, 55, 395, 38, 2000, 23, 1253, 1253, 1253, 155, 3161, 33, 0, 34, 0, 122, 2013, 3297, 3297, 3297, 1880, 3442, 3442, 3442, 1552, 1552, 1552, 26, 322, 31, 525, 313, 2528, 2528, 2528, 1464, 2485, 2485, 2485, 2177, 25, 0, 4803, 4803, 4803, 28, 1, 35, 2289, 2289, 2289, 574, 36, 1831, 55, 26, 2240, 3, 408, 22, 31, 1172, 24, 33, 31, 136, 1057, 0, 2228, 33, 28, 2, 4391, 4391, 4391, 32, 50, 31, 64, 1048, 4149, 4149, 4149, 0, 36, 40, 31, 61, 1524, 1524, 1524, 332, 1904, 36, 28, 3, 3621, 3621, 3621, 805, 86, 28, 498, 2900, 2900, 2900, 4963, 4963, 4963, 273, 2557, 27, 89, 51, 37, 62, 682, 1934, 160, 1, 33, 264, 3985, 3985, 3985, 47, 303, 970, 970, 970, 2249, 0, 59, 31, 22, 121, 4357, 4357, 4357, 419, 2803, 1, 26, 2, 89, 47, 124, 160, 38, 720, 720, 720, 47, 2644, 2927, 2927, 2927, 457, 365, 365, 365, 1385, 369, 1871, 288, 624, 315, 1090, 29, 2, 83, 1336, 488, 85, 75, 15, 0, 24, 461, 897, 21, 29, 62, 377, 194, 700, 4974, 4974, 4974, 102, 104, 789, 1186, 1186, 1186, 2681, 20, 443, 443, 443, 30, 100, 148, 1569, 1569, 1569, 672, 3748, 3748, 3748, 62, 62, 62, 24, 367, 313, 3783, 3783, 3783, 32, 0, 1, 108, 31, 140, 4, 6, 366, 80, 24, 33, 62, 569, 1, 281, 6, 454, 4045, 4045, 4045, 2300, 4433, 4433, 4433, 964, 180, 150, 37, 63, 3827, 3827, 3827, 2074, 2, 34, 26, 446, 852, 155, 243, 90, 1309, 2283, 170, 71, 94, 2342, 2342, 2342, 3116, 3116, 3116, 347, 780, 780, 780, 130, 836, 836, 836, 455, 3283, 3283, 3283, 111, 2, 3424, 0, 0, 22, 0, 526, 20, 734, 68, 302, 94, 107, 1031, 1031, 1031, 2071, 590, 4133, 4133, 4133, 890, 67, 22, 21, 2954, 2885, 2308, 37, 40, 135, 34, 1, 160, 29, 1292, 1292, 1292, 150, 4550, 4550, 4550, 20, 1145, 1, 1, 2728, 138, 42, 30, 1544, 2451, 2451, 2451, 1352, 1352, 1352, 121, 32, 2266, 3377, 3377, 3377, 65, 310, 33, 156, 61, 34, 41, 26, 31, 3679, 2, 1307, 120, 37, 41, 1803, 1803, 1803, 30, 196, 26, 2, 2630, 2630, 2630, 958, 811, 113, 20, 36, 97, 394, 907, 1122, 59, 227, 4401, 4401, 4401, 4975, 4975, 4975, 4129, 4129, 4129, 4386, 4386, 4386, 2039, 122, 37, 0, 3047, 3047, 3047, 2448, 2448, 2448, 4003, 125, 138, 2542, 2542, 2542, 37, 0, 3068, 32, 128, 128, 128, 538, 178, 0, 1767, 1767, 1767, 2569, 2569, 2569, 3057, 3770, 3770, 3770, 852, 0, 1564, 30, 52, 776, 69, 4562, 4562, 4562, 3517, 3517, 3517, 45, 23, 1, 607, 0, 4924, 4924, 4924, 0, 1496, 119, 471, 43, 779, 1124, 1124, 1124, 2487, 4511, 4511, 4511, 30, 392, 35, 126, 19, 43, 86, 36, 2, 1944, 53, 89, 89, 89, 124, 4, 4487, 4487, 4487, 412, 94, 78, 116, 2343, 2343, 2343, 851, 53, 1596, 1596, 1596, 401, 401, 401, 2194, 33, 471, 158, 26, 125, 1034, 9, 32, 45, 425, 60, 4580, 4580, 4580, 53, 21, 3008, 3008, 3008, 2275, 2275, 2275, 30, 38, 25, 148, 148, 148, 171, 3031, 3031, 3031, 480, 66, 236, 4546, 4546, 4546, 39, 4507, 4507, 4507, 31, 0, 1140, 1140, 1140, 2609, 3, 207, 60, 31, 3974, 50, 58, 479, 479, 479, 68, 244, 1, 91, 0, 262, 2366, 2366, 2366, 54, 84, 132, 30, 20, 0, 71, 451, 1900, 1865, 1247, 1247, 1247, 353, 353, 353, 2439, 1, 630, 4191, 4191, 4191, 367, 4893, 4893, 4893, 44, 20, 4952, 4952, 4952, 50, 1739, 23, 2989, 2989, 2989, 242, 0, 732, 10, 2258, 1, 128, 35, 1020, 1020, 1020, 748, 57, 69, 367, 108, 534, 1519, 2, 73, 2699, 219, 694, 694, 694, 7, 2065, 3492, 3492, 3492, 2381, 228, 873, 4220, 4220, 4220, 1464, 0, 830, 20, 4285, 4285, 4285, 1001, 4353, 4353, 4353, 380, 439, 492, 719, 802, 81, 333, 900, 896, 3391, 26, 4554, 4554, 4554, 4566, 4566, 4566, 377, 513, 0, 121, 88, 2, 1438, 3819, 3819, 3819, 249, 4834, 4834, 4834, 108, 102, 3659, 3659, 3659, 3604, 3604, 3604, 182, 447, 520, 1542, 1542, 1542, 4479, 4479, 4479, 5, 21, 137, 812, 812, 812, 23, 84, 45, 1, 2305, 60, 3100, 3100, 3100, 0, 411, 3149, 54, 29, 366, 43, 0, 3464, 3049, 3049, 3049, 498, 4567, 4567, 4567, 519, 22, 50, 544, 218, 139, 3105, 366, 148, 4705, 4705, 4705, 100, 839, 4576, 4576, 4576, 166, 1181, 516, 378, 2065, 30, 3512, 3512, 3512, 1378, 27, 3799, 3799, 3799, 29, 0, 0, 365, 2012, 722, 37, 588, 876, 3721, 3721, 3721, 1668, 3315, 3315, 3315, 112, 428, 129, 4150, 4150, 4150, 422, 4378, 3584, 505, 2, 7, 477, 191, 4829, 4829, 4829, 852, 108, 834, 58, 366, 799, 4932, 4932, 4932, 0, 32, 10, 0, 172, 2315, 68, 61, 84, 365, 57, 163, 35, 4623, 4623, 4623, 74, 291, 27, 357, 2, 2749, 2749, 2749, 1, 30, 145, 1638, 1, 4297, 4297, 4297, 4641, 4641, 4641, 1793, 1605, 1605, 1605, 574, 39, 3297, 3297, 3297, 35, 582, 57, 944, 944, 944, 366, 2122, 2122, 2122, 24, 2003, 280, 40, 4, 28, 938, 29, 81, 343, 361, 361, 361, 1165, 1165, 1165, 2, 1953, 3835, 3835, 3835, 240, 0, 3889, 3889, 3889, 209, 2671, 20, 509, 20, 366, 506, 58, 36, 4125, 4125, 4125, 142, 1903, 51, 72, 1644, 1602, 1512, 1512, 1512, 94, 180, 4103, 121, 356, 1, 1258, 1258, 1258, 108, 4557, 4557, 4557, 3645, 97, 3043, 3043, 3043, 0, 1614, 58, 3431, 3425, 196, 464, 212, 809, 82, 4261, 4261, 4261, 1206, 1206, 1206, 140, 14, 0, 196, 4, 179, 143, 143, 143, 4351, 4959, 4959, 4959, 28, 29, 116, 2936, 4112, 4112, 4112, 870, 112, 112, 112, 71, 4190, 4190, 4190, 572, 341, 23, 4537, 4537, 4537, 1953, 213, 31, 173, 0, 3389, 292, 1, 152, 31, 235, 2990, 2990, 2990, 4897, 4897, 4897, 856, 366, 20, 536, 161, 187, 20, 500, 500, 500, 25, 34, 1163, 4620, 4620, 4620, 21, 2998, 96, 296, 296, 296, 787, 11, 1, 95, 2725, 2725, 2725, 138, 3756, 3756, 3756, 38, 124, 217, 3300, 3300, 3300, 4096, 4096, 4096, 2419, 2419, 2419, 249, 0, 186, 26, 1, 5, 7, 1492, 1492, 1492, 2664, 2664, 2664, 90, 962, 2411, 32, 34, 0, 772, 1673, 2500, 2500, 2500, 4097, 4097, 4097, 120, 343, 961, 1648, 26, 47, 311, 21, 105, 26, 297, 297, 297, 223, 1312, 518, 120, 1655, 1655, 1655, 1462, 21, 2332, 2332, 2332, 1564, 1564, 1564, 1, 10, 56, 1951, 1951, 1951, 2326, 2326, 2326, 487, 1976, 1976, 1976, 123, 121, 98, 2592, 2592, 2592, 345, 80, 1745, 1745, 1745, 25, 1594, 98, 2894, 253, 3907, 3907, 3907, 81, 29, 678, 4653, 4653, 4653, 22, 34, 389, 24, 963, 148, 22, 3786, 3786, 3786, 2629, 2629, 2629, 37, 45, 22, 31, 28, 27, 4185, 4185, 4185, 1, 4341, 4341, 4341, 489, 605, 81, 2, 1083, 3, 365, 31, 1458, 1458, 1458, 111, 1620, 453, 2841, 2841, 2841, 168, 219, 2439, 700, 700, 700, 1, 49, 4851, 4851, 4851, 139, 0, 2649, 2649, 2649, 4199, 4199, 4199, 85, 4, 645, 29, 305, 264, 112, 27, 2799, 262, 171, 38, 366, 1, 0, 78, 50, 595, 43, 116, 470, 2744, 2744, 2744, 1298, 4651, 4651, 4651, 282, 2049, 107, 69, 2422, 131, 130, 73, 137, 729, 2458, 40, 8, 559, 3655, 3655, 3655, 3497, 154, 327, 94, 2391, 2391, 2391, 475, 2432, 128, 329, 2449, 368, 3916, 3916, 3916, 3620, 3620, 3620, 29, 0, 949, 137, 66, 581, 3609, 55, 1310, 160, 175, 2121, 2121, 2121, 57, 2894, 2894, 2894, 2550, 2550, 2550, 389, 33, 246, 52, 31, 299, 513, 1714, 21, 108, 210, 1684, 1684, 1684, 20, 36, 857, 4210, 78, 498, 344, 1518, 271, 550, 23, 4621, 4621, 4621, 375, 364, 4996, 4996, 4996, 1086, 3636, 3636, 3636, 516, 3443, 3443, 3443, 37, 123, 24, 65, 600, 22, 92, 0, 369, 57, 31, 0, 125, 4, 49, 158, 93, 37, 516, 3174, 38, 2187, 2187, 2187, 4765, 4765, 4765, 188, 1, 2, 1385, 726, 726, 726, 171, 4640, 4640, 4640, 496, 424, 594, 29, 1016, 1778, 2867, 2867, 2867, 804, 6, 308, 3611, 3611, 3611, 789, 789, 789, 2786, 2786, 2786, 641, 138, 1206, 317, 219, 47, 14, 3227, 3227, 3227, 314, 3149, 2757, 30, 59, 16, 3295, 3295, 3295, 367, 2315, 46, 550, 1035, 1035, 1035, 218, 3987, 3987, 3987, 67, 1098, 3817, 3817, 3817, 2517, 573, 185, 133, 244, 244, 244, 1785, 102, 367, 30, 147, 248, 1191, 1191, 1191, 89, 0, 4379, 4379, 4379, 59, 59, 59, 235, 30, 3991, 116, 302, 1, 316, 20, 1016, 701, 701, 701, 1096, 3992, 3992, 3992, 0, 317, 1, 297, 297, 297, 31, 3607, 3607, 3607, 21, 153, 732, 4091, 4091, 4091, 21, 0, 27, 1, 54, 292, 150, 8, 253, 69, 1, 3565, 3565, 3565, 1796, 1796, 1796, 512, 2996, 86, 287, 321, 2529, 3267, 3267, 3267, 2898, 2898, 2898, 38, 40, 125, 388, 2251, 2251, 2251, 1108, 69, 132, 2672, 0, 3654, 3654, 3654, 3858, 3858, 3858, 287, 4488, 4488, 4488, 113, 141, 1, 31, 2259, 2259, 2259, 51, 63, 3235, 3235, 3235, 1, 4137, 4137, 4137, 2919, 2610, 2610, 2610, 2816, 2816, 2816, 32, 1, 4, 84, 1594, 3614, 3614, 3614, 30, 32, 3224, 3224, 3224, 55, 2443, 2443, 2443, 54, 1294, 1294, 1294, 221, 28, 146, 317, 317, 317, 1783, 4355, 4355, 4355, 914, 126, 151, 168, 345, 692, 637, 637, 637, 2986, 2986, 2986, 230, 338, 43, 269, 4350, 4350, 4350, 23, 226, 0, 120, 23, 0, 24, 20, 505, 31, 4371, 4371, 4371, 1, 61, 3117, 3117, 3117, 394, 973, 973, 973, 213, 4140, 4140, 4140, 30, 85, 2003, 636, 31, 390, 537, 52, 198, 254, 1, 189, 4641, 4641, 4641, 4273, 4273, 4273, 299, 139, 1098, 128, 128, 128, 685, 6, 22, 0, 52, 2069, 2069, 2069, 100, 4729, 4729, 4729, 620, 554, 1399, 96, 209, 209, 209, 63, 1, 207, 289, 988, 358, 1, 25, 679, 679, 679, 20, 1, 28, 35, 1037, 1379, 2180, 32, 365, 22, 22, 3968, 3968, 3968, 62, 665, 206, 94, 4670, 4670, 4670, 98, 212, 2947, 2, 38, 38, 38, 668, 0, 418, 2000, 2000, 2000, 4013, 4013, 4013, 337, 4417, 4417, 4417, 79, 1415, 1415, 1415, 3927, 3927, 3927, 2168, 2168, 2168, 20, 30, 96, 580, 1100, 221, 4040, 4040, 4040, 0, 2577, 2101, 2, 249, 1104, 488, 95, 0, 2042, 43, 0, 36, 4404, 4404, 4404, 44, 1, 653, 550, 550, 550, 37, 2898, 2898, 2898, 1861, 1861, 1861, 3287, 196, 35, 104, 30, 3653, 4015, 4015, 4015, 2601, 800, 49, 140, 106, 28, 54, 228, 44, 1844, 33, 35, 0, 135, 2, 96, 713, 5, 94, 3807, 3807, 3807, 26, 2175, 29, 41, 4600, 4600, 4600, 110, 358, 21, 53, 0, 104, 4332, 4332, 4332, 24, 42, 341, 21, 624, 918, 3, 22, 21, 42, 322, 322, 322, 1867, 0, 922, 922, 922, 3750, 3750, 3750, 452, 452, 452, 1675, 0, 27, 608, 2818, 575, 575, 575, 0, 0, 1387, 1387, 1387, 175, 121, 0, 4361, 4361, 4361, 749, 368, 366, 2602, 2602, 2602, 3232, 4705, 4705, 4705, 3296, 0, 1199, 21, 1768, 1768, 1768, 1, 3796, 3796, 3796, 156, 2577, 235, 20, 4052, 4052, 4052, 0, 4, 249, 77, 77, 77, 415, 115, 0, 281, 1, 2095, 371, 355, 3752, 3752, 3752, 26, 185, 342, 27, 6, 32, 1, 365, 37, 0, 0, 5, 2379, 2379, 2379, 0, 233, 4, 3774, 3774, 3774, 139, 680, 3366, 96, 96, 96, 1057, 230, 4636, 4636, 4636, 1784, 31, 3263, 3263, 3263, 4568, 4568, 4568, 1946, 1356, 4785, 4785, 4785, 120, 31, 48, 244, 1466, 354, 0, 1436, 41, 29, 3966, 3966, 3966, 4359, 4359, 4359, 49, 365, 4552, 4552, 4552, 31, 3, 30, 294, 49, 1234, 38, 820, 1481, 1481, 1481, 465, 79, 770, 2264, 2264, 2264, 21, 40, 309, 25, 100, 3014, 3014, 3014, 80, 34, 4668, 4668, 4668, 140, 34, 74, 31, 149, 48, 3710, 152, 1, 2157, 445, 30, 2061, 701, 282, 0, 206, 2, 0, 804, 28, 2987, 2987, 2987, 0, 34, 4704, 4704, 4704, 0, 147, 2874, 1, 710, 3700, 396, 40, 50, 163, 1766, 75, 824, 1, 31, 85, 51, 3339, 3023, 1099, 209, 60, 40, 2, 4480, 4480, 4480, 93, 2262, 2262, 2262, 33, 0, 71, 32, 1571, 2258, 11, 32, 31, 25, 1800, 267, 445, 0, 54, 337, 28, 1, 20, 91, 180, 53, 33, 23, 24, 478, 1, 4783, 4783, 4783, 23, 22, 12, 523, 3331, 3331, 3331, 33, 4307, 4307, 4307, 26, 3442, 3442, 3442, 2, 214, 24, 35, 80, 105, 0, 13, 104, 1, 2241, 42, 2585, 2585, 2585, 0, 2302, 145, 23, 96, 0, 33, 27, 32, 1836, 0, 369, 287, 396, 581, 148, 199, 40, 47, 23, 0, 70, 3, 2494, 2494, 2494, 3199, 1, 31, 0, 240, 87, 1468, 2, 3347, 3347, 3347, 204, 20, 1076, 21, 35, 4288, 4288, 4288, 33, 100, 190, 2774, 179, 1, 22, 57, 2004, 2004, 2004, 114, 2, 3636, 3636, 3636, 20, 1, 91, 3824, 3824, 3824, 25, 350, 3362, 3362, 3362, 22, 3312, 4797, 4797, 4797, 2184, 981, 3516, 3516, 3516, 279, 31, 32, 25, 125, 68, 0, 1219, 113, 34, 25, 0, 0, 3203, 2082, 166, 4881, 4881, 4881, 4016, 4016, 4016, 59, 533, 1451, 1451, 1451, 4160, 4160, 4160, 27, 97, 32, 4058, 4058, 4058, 414, 49, 421, 89, 31, 74, 911, 3898, 3898, 3898, 3423, 3423, 3423, 1, 39, 28, 1901, 197, 86, 47, 2359, 2359, 2359, 4159, 4159, 4159, 26, 35, 25, 30, 410, 31, 68, 1920, 1920, 1920, 22, 866, 22, 4865, 4865, 4865, 2776, 3256, 3256, 3256, 32, 30, 64, 577, 31, 1, 1123, 1123, 1123, 23, 3415, 3415, 3415, 1139, 1139, 1139, 0, 4792, 4792, 4792, 4822, 4822, 4822, 805, 95, 1369, 1369, 1369, 3957, 3957, 3957, 27, 61, 46, 1080, 1080, 1080, 4243, 4243, 4243, 870, 3, 98, 98, 98, 3993, 3993, 3993, 1273, 1273, 1273, 0, 1939, 25, 4516, 4516, 4516, 140, 1, 209, 4384, 4384, 4384, 90, 31, 1545, 25, 3, 1, 27, 2198, 37, 1889, 1, 115, 443, 992, 276, 812, 5, 29, 300, 43, 43, 43, 1036, 134, 3152, 3152, 3152, 3, 365, 884, 3764, 3764, 3764, 31, 86, 547, 2194, 43, 2993, 2993, 2993, 70, 361, 1232, 528, 0, 867, 95, 3212, 669, 705, 4522, 4522, 4522, 1918, 374, 21, 134, 1, 237, 3107, 3107, 3107, 0, 128, 107, 286, 126, 0, 18, 61, 45, 45, 45, 232, 2077, 2077, 2077, 178, 2675, 2823, 2823, 2823, 1105, 0, 76, 22, 39, 915, 36, 6, 10, 959, 0, 37, 3820, 2008, 10, 60, 23, 209, 1076, 0, 4336, 10, 4696, 4696, 4696, 238, 115, 3787, 21, 77, 0, 4849, 4523, 4523, 4523, 3811, 3811, 3811, 38, 0, 31, 3894, 3894, 3894, 299, 511, 1938, 1938, 1938, 4818, 4818, 4818, 8, 1353, 1353, 1353, 740, 2669, 2669, 2669, 102, 264, 514, 4359, 4359, 4359, 148, 29, 2490, 2490, 2490, 54, 31, 1, 38, 51, 32, 1602, 25, 885, 148, 3639, 3639, 3639, 135, 135, 135, 231, 3, 182, 1374, 1374, 1374, 2692, 2692, 2692, 1213, 1213, 1213, 30, 53, 3905, 3905, 3905, 462, 34, 3, 366, 366, 366, 3839, 3839, 3839, 31, 6, 0, 4225, 4225, 4225, 2726, 1946, 67, 258, 4412, 4412, 4412, 3482, 3482, 3482, 365, 3278, 3278, 3278, 76, 55, 1997, 1997, 1997, 365, 565, 125, 841, 841, 841, 45, 3404, 3404, 3404, 184, 2344, 4511, 4511, 4511, 223, 56, 2, 33, 365, 31, 2675, 3, 71, 2741, 2741, 2741, 0, 4935, 4935, 4935, 21, 690, 56, 3709, 3709, 3709, 481, 481, 481, 55, 162, 361, 1107, 2999, 2999, 2999, 106, 16, 38, 559, 1, 24, 2556, 905, 31, 106, 387, 192, 8, 4101, 3479, 3479, 3479, 101, 0, 230, 0, 58, 2424, 2424, 2424, 72, 3429, 3429, 3429, 554, 52, 70, 0, 28, 169, 4193, 4193, 4193, 3, 36, 248, 9, 4193, 4193, 4193, 4526, 4526, 4526, 0, 43, 228, 524, 144, 144, 144, 650, 741, 31, 567, 30, 368, 169, 4459, 40, 184, 2241, 1260, 793, 90, 1160, 0, 47, 345, 514, 62, 1262, 1495, 3475, 3475, 3475, 3075, 221, 90, 25, 51, 55, 38, 746, 39, 869, 24, 33, 0, 595, 3883, 3883, 3883, 71, 1256, 1256, 1256, 238, 293, 528, 2, 368, 75, 1146, 4726, 4726, 4726, 163, 106, 452, 3873, 3873, 3873, 46, 25, 184, 26, 1363, 1996, 78, 30, 641, 380, 62, 733, 235, 53, 0, 90, 163, 145, 52, 24, 2266, 128, 25, 98, 206, 834, 239, 372, 34, 164, 537, 88, 151, 0, 1639, 1639, 1639, 27, 20, 60, 4560, 4560, 4560, 78, 1, 0, 40, 0, 44, 32, 413, 22, 158, 115, 21, 1504, 1504, 1504, 546, 546, 546, 471, 180, 180, 180, 0, 2433, 40, 3850, 3850, 3850, 4440, 4440, 4440, 1036, 20, 60, 3332, 3332, 3332, 1151, 1151, 1151, 115, 24, 46, 63, 2948, 105, 0, 610, 229, 229, 229, 0, 88, 169, 123, 407, 136, 862, 2905, 2905, 2905, 0, 480, 391, 30, 5, 190, 17, 266, 52, 76, 196, 367, 28, 366, 2, 60, 1, 2270, 259, 135, 1436, 365, 55, 338, 0, 70, 580, 46, 532, 29, 96, 91, 91, 31, 22, 71, 71, 71, 40, 4145, 4145, 4145, 22, 365, 184, 1360, 176, 1, 122, 991, 80, 4386, 4386, 4386, 3278, 58, 181, 21, 832, 37, 4283, 4283, 4283, 156, 3153, 34, 125, 276, 33, 3869, 3869, 3869, 496, 318, 88, 1370, 0, 4601, 4601, 4601, 75, 65, 3175, 3175, 3175, 58, 525, 1483, 365, 565, 1307, 184, 26, 4640, 4640, 4640, 4333, 4333, 4333, 3, 4645, 4645, 4645, 1844, 434, 1659, 1659, 1659, 1, 952, 952, 952, 2923, 51, 3579, 3579, 3579, 1240, 28, 23, 1871, 49, 874, 366, 53, 123, 0, 1, 3816, 25, 36, 888, 3099, 41, 597, 1518, 1518, 1518, 562, 0, 28, 21, 3954, 3954, 3954, 148, 188, 30, 54, 520, 53, 2320, 3894, 3894, 3894, 40, 8, 104, 650, 4187, 4187, 4187, 2961, 2961, 2961, 48, 1276, 34, 572, 796, 23, 21, 0, 0, 4815, 4815, 4815, 27, 174, 4671, 4671, 4671, 145, 356, 2761, 2145, 149, 2522, 127, 3553, 3553, 3553, 48, 22, 1515, 71, 1449, 206, 0, 1001, 69, 24, 21, 226, 53, 4804, 4804, 4804, 4439, 4439, 4439, 56, 0, 42, 509, 0, 201, 1992, 72, 25, 2, 0, 588, 588, 588, 1360, 1022, 938, 938, 938, 1728, 179, 654, 32, 2256, 1002, 65, 1065, 1065, 1065, 118, 440, 151, 1, 3964, 3964, 3964, 205, 1067, 7, 243, 27, 4637, 4637, 4637, 328, 3577, 3577, 3577, 165, 950, 137, 50, 860, 225, 3897, 554, 931, 365, 23, 852, 3169, 2, 186, 24, 3976, 3976, 3976, 3980, 3980, 3980, 0, 2, 4129, 4129, 4129, 1426, 36, 0, 4569, 4569, 4569, 2809, 3549, 3549, 3549, 45, 365, 883, 883, 883, 677, 23, 368, 365, 196, 1621, 1334, 3880, 1419, 1, 2, 1297, 1772, 1951, 206, 33, 3461, 1, 26, 57, 4237, 3717, 3717, 3717, 22, 20, 3967, 3967, 3967, 29, 3132, 3132, 3132, 33, 1, 3764, 93, 97, 16, 983, 983, 983, 3967, 3967, 3967, 1380, 20, 937, 1, 3882, 3882, 3882, 36, 54, 0, 21, 29, 55, 2822, 2822, 2822, 120, 365, 20, 44, 97, 132, 220, 149, 3045, 2124, 2124, 2124, 22, 4993, 4993, 4993, 983, 365, 106, 0, 182, 4144, 4144, 4144, 4046, 4046, 4046, 1038, 0, 143, 100, 1470, 1470, 1470, 880, 17, 1749, 74, 1, 110, 0, 20, 216, 261, 153, 26, 877, 3910, 58, 293, 2401, 2401, 2401, 0, 611, 115, 100, 847, 304, 113, 22, 255, 2497, 97, 992, 34, 31, 0, 52, 1727, 1727, 1727, 37, 3513, 3513, 3513, 4885, 4885, 4885, 31, 25, 632, 632, 632, 3965, 3965, 3965, 1045, 265, 265, 265, 4688, 4688, 4688, 3430, 705, 2367, 285, 0, 2532, 2532, 2532, 614, 494, 2312, 2312, 2312, 303, 303, 303, 74, 40, 3184, 3184, 3184, 4974, 4974, 4974, 612, 378, 4058, 4058, 4058, 358, 1, 84, 795, 4577, 4577, 4577, 727, 174, 2312, 0, 4045, 4045, 4045, 2182, 4823, 4823, 4823, 54, 368, 2381, 56, 60, 2739, 2739, 2739, 0, 3004, 3004, 3004, 98, 8, 37, 367, 367, 50, 102, 70, 53, 3788, 3788, 3788, 697, 201, 0, 4874, 4874, 4874, 126, 126, 126, 88, 1036, 1036, 1036, 1732, 8, 244, 4822, 4822, 4822, 31, 305, 1, 206, 1, 74, 0, 58, 4070, 4070, 4070, 2922, 2922, 2922, 1, 1305, 1305, 1305, 24, 28, 0, 34, 38, 130, 40, 0, 26, 2573, 2573, 2573, 44, 2200, 253, 253, 253, 346, 76, 4306, 4306, 4306, 83, 671, 0, 266, 1, 931, 229, 2369, 2369, 2369, 195, 38, 65, 28, 39, 2782, 42, 46, 924, 116, 3188, 3188, 3188, 1, 37, 37, 37, 4910, 4910, 4910, 26, 0, 70, 112, 784, 163, 411, 2, 3158, 3158, 3158, 2375, 4249, 4249, 4249, 33, 65, 39, 31, 454, 230, 0, 74, 597, 139, 26, 3249, 3249, 3249, 2464, 92, 38, 33, 4627, 2122, 2122, 2122, 25, 0, 386, 8, 344, 1000, 1000, 1000, 622, 1962, 101, 2, 1365, 1365, 1365, 330, 46, 401, 36, 1, 21, 3607, 3607, 3607, 70, 29, 45, 199, 26, 21, 20, 31, 1, 1947, 53, 31, 4842, 4842, 4842, 28, 71, 23, 42, 31, 474, 1077, 188, 201, 217, 33, 0, 29, 34, 0, 3, 3990, 3990, 3990, 39, 25, 24, 64, 47, 31, 4361, 4361, 4361, 76, 55, 40, 29, 4306, 4306, 4306, 32, 49, 235, 1762, 1762, 1762, 38, 335, 4, 3961, 3961, 3961, 73, 396, 553, 0, 44, 25, 2518, 43, 30, 0, 33, 0, 35, 159, 159, 159, 2825, 2825, 2825, 40, 3895, 29, 74, 0, 723, 189, 642, 642, 642, 30, 481, 51, 64, 68, 1157, 1157, 1157, 288, 38, 21, 31, 440, 256, 170, 3, 0, 4871, 4871, 4871, 29, 37, 26, 1337, 298, 393, 2436, 2436, 2436, 2, 1571, 1571, 1571, 27, 291, 27, 39, 400, 278, 25, 4068, 28, 1290, 1290, 1290, 54, 919, 319, 808, 2, 35, 4338, 4338, 4338, 594, 668, 32, 3975, 3975, 3975, 480, 179, 0, 95, 395, 4359, 4359, 4359, 897, 4646, 4646, 4646, 1466, 1466, 1466, 687, 35, 33, 336, 109, 195, 45, 174, 4713, 4713, 4713, 59, 525, 274, 2, 29, 26, 692, 692, 692, 34, 62, 4707, 4707, 4707, 1, 1, 28, 427, 873, 873, 873, 33, 36, 59, 174, 2825, 2825, 2825, 33, 45, 43, 1735, 0, 27, 182, 25, 42, 0, 90, 0, 0, 0, 29, 3170, 4125, 4125, 4125, 231, 4346, 4346, 4346, 32, 242, 28, 33, 3609, 141, 1, 44, 34, 28, 3658, 3658, 3658, 310, 2717, 4967, 4967, 4967, 353, 293, 1157, 100, 4072, 4072, 4072, 4594, 156, 31, 0, 37, 298, 1773, 1773, 1773, 22, 2130, 96, 1724, 37, 34, 245, 35, 256, 33, 34, 263, 525, 38, 731, 1, 36, 53, 29, 76, 20, 894, 561, 32, 389, 61, 29, 33, 24, 38, 2494, 29, 4158, 4158, 4158, 28, 40, 418, 3054, 3054, 3054, 29, 56, 25, 34, 780, 780, 780, 1, 2474, 2474, 2474, 3531, 3531, 3531, 0, 269, 939, 26, 148, 40, 47, 79, 945, 45, 44, 64, 156, 648, 1, 403, 94, 27, 4400, 4400, 4400, 24, 33, 21, 30, 204, 33, 2049, 736, 1415, 37, 28, 2571, 2571, 2571, 30, 2505, 0, 77, 1, 1, 0, 24, 0, 71, 4184, 1103, 818, 553, 2553, 914, 230, 4795, 4795, 4795, 86, 359, 163, 389, 20, 0, 2302, 2302, 2302, 88, 29, 36, 4031, 4031, 4031, 3164, 688, 207, 71, 1, 0, 4339, 4339, 4339, 3326, 258, 30, 1395, 28, 1570, 2574, 33, 432, 2819, 2819, 2819, 1, 3348, 26, 396, 20, 1554, 20, 0, 1379, 27, 3083, 3083, 3083, 3028, 3028, 3028, 4385, 4385, 4385, 134, 101, 53, 24, 205, 59, 22, 205, 22, 1, 45, 1395, 413, 118, 1973, 1973, 1973, 122, 4141, 562, 149, 2151, 2151, 2151, 2936, 2936, 2936, 845, 845, 845, 1203, 1098, 1098, 1098, 44, 1536, 1536, 1536, 4879, 4879, 4879, 34, 31, 615, 36, 2, 92, 0, 92, 92, 69, 103, 1206, 1206, 1206, 1, 4309, 4309, 4309, 41, 731, 20, 34, 2940, 183, 4299, 2205, 2205, 2205, 16, 71, 699, 53, 67, 2572, 2572, 2572, 776, 0, 99, 80, 369, 2, 2922, 2922, 2922, 38, 60, 951, 951, 951, 21, 4811, 4811, 4811, 2, 2993, 2993, 2993, 24, 4343, 4343, 4343, 82, 297, 44, 1268, 2536, 2536, 2536, 21, 3606, 3606, 3606, 0, 2096, 0, 673, 47, 342, 27, 42, 132, 22, 44, 127, 102, 654, 1810, 2820, 26, 630, 45, 30, 147, 4225, 4225, 4225, 1, 92, 2465, 44, 279, 322, 68, 30, 231, 3571, 2193, 3104, 4060, 4060, 4060, 31, 1075, 20, 32, 1492, 146, 1178, 4, 27, 314, 33, 20, 127, 64, 558, 0, 34, 1445, 1445, 1445, 146, 1, 70, 1, 978, 4289, 4289, 4289, 177, 44, 1, 54, 3757, 3757, 3757, 35, 35, 35, 240, 1, 269, 32, 83, 408, 21, 31, 1789, 41, 413, 58, 1096, 191, 33, 1203, 0, 994, 2, 443, 756, 756, 756, 1050, 39, 21, 153, 1174, 162, 357, 69, 4270, 4270, 4270, 32, 27, 364, 33, 0, 103, 491, 75, 72, 182, 48, 615, 615, 615, 439, 509, 84, 31, 274, 61, 392, 4127, 366, 1, 734, 55, 83, 22, 101, 22, 333, 0, 50, 113, 21, 404, 3081, 3081, 3081, 0, 27, 178, 62, 38, 374, 2, 0, 95, 1, 38, 55, 32, 35, 4201, 489, 489, 489, 1174, 987, 125, 4462, 4462, 4462, 822, 1036, 302, 178, 46, 21, 34, 171, 171, 171, 1538, 1, 1829, 1829, 1829, 21, 2, 3033, 3033, 3033, 68, 731, 33, 863, 4218, 4218, 4218, 287, 753, 55, 21, 0, 488, 61, 82, 2518, 54, 35, 25, 43, 367, 852, 852, 852, 26, 23, 20, 21, 168, 31, 18, 417, 235, 8, 35, 0, 295, 10, 3380, 3380, 3380, 3712, 3712, 3712, 1529, 1624, 3, 45, 323, 64, 3, 785, 1097, 23, 30, 3033, 9, 0, 76, 2, 25, 0, 65, 1147, 84, 218, 41, 4448, 91, 30, 4728, 4728, 4728, 35, 32, 3536, 3536, 3536, 0, 2193, 88, 371, 910, 0, 1, 999, 350, 260, 31, 20, 311, 2106, 0, 1159, 189, 1, 3230, 3230, 3230, 55, 145, 86, 1, 59, 379, 0, 2192, 21, 1, 104, 264, 1428, 2829, 2829, 2829, 91, 29, 1948, 1948, 1948, 1, 28, 97, 1209, 366, 26, 4846, 4846, 4846, 272, 0, 1401, 1401, 1401, 2, 50, 3654, 3654, 3654, 2, 221, 4929, 4929, 4929, 92, 56, 1, 1097, 4814, 4814, 4814, 148, 156, 1, 24, 270, 270, 270, 22, 29, 234, 954, 3444, 3444, 3444, 690, 690, 690, 79, 3653, 30, 2560, 2560, 2560, 1126, 476, 8, 280, 2196, 100, 1584, 1234, 1, 0, 22, 5, 0, 4, 2065, 2065, 2065, 181, 145, 0, 129, 463, 89, 839, 0, 894, 3322, 3322, 3322, 75, 3, 3862, 3862, 3862, 393, 412, 113, 653, 47, 45, 0, 0, 63, 2, 1570, 353, 136, 31, 118, 134, 1823, 431, 89, 2, 74, 733, 733, 733, 440, 20, 35, 84, 43, 33, 828, 16, 821, 202, 121, 1327, 1327, 1327, 645, 6, 305, 112, 401, 26, 67, 61, 41, 450, 317, 1, 4121, 4121, 4121, 100, 0, 2014, 2014, 2014, 2, 1, 27, 31, 277, 4140, 4140, 4140, 118, 3, 29, 26, 3301, 3301, 3301, 22, 22, 1, 0, 230, 0, 875, 39, 4121, 4121, 4121, 910, 910, 910, 8, 0, 93, 153, 12, 11, 295, 3300, 3300, 3300, 2505, 2505, 2505, 484, 484, 484, 216, 150, 0, 35, 47, 0, 0, 0, 495, 4512, 64, 205, 0, 352, 274, 128, 4940, 4940, 4940, 367, 39, 149, 4781, 4781, 4781, 296, 74, 60, 44, 2820, 0, 0, 86, 288, 734, 119, 30, 44, 1, 135, 370, 21, 3702, 3702, 3702, 1, 304, 26, 58, 24, 4184, 4184, 4184, 1191, 1191, 1191, 356, 3656, 7, 1526, 1526, 1526, 2, 208, 1200, 21, 3506, 3506, 3506, 40, 63, 804, 266, 1161, 1161, 1161, 24, 2685, 31, 140, 25, 251, 3862, 3862, 3862, 24, 263, 61, 55, 33, 48, 108, 31, 495, 2017, 2017, 2017, 49, 114, 439, 1022, 32, 29, 475, 2, 29, 3268, 3268, 3268, 1539, 50, 268, 45, 160, 513, 0, 64, 1239, 342, 342, 342, 172, 4027, 4027, 4027, 1237, 1237, 1237, 210, 279, 279, 279, 6, 515, 1, 20, 0, 104, 23, 3, 32, 389, 3737, 3737, 3737, 1, 3259, 3259, 3259, 3830, 911, 566, 0, 54, 169, 283, 30, 304, 2908, 712, 31, 0, 23, 1, 0, 79, 94, 834, 170, 0, 4292, 4292, 4292, 0, 326, 68, 779, 25, 3844, 3844, 3844, 64, 5, 232, 4128, 4128, 4128, 4162, 4162, 4162, 109, 728, 235, 406, 164, 41, 3091, 4577, 4577, 4577, 23, 1, 267, 161, 510, 55, 1151, 136, 0, 44, 683, 9, 356, 38, 4028, 4028, 4028, 3374, 3374, 3374, 2995, 407, 39, 31, 236, 895, 196, 3275, 3275, 3275, 1656, 338, 2142, 2662, 4013, 4013, 4013, 666, 0, 67, 184, 182, 397, 450, 450, 450, 578, 3938, 1373, 544, 578, 372, 48, 0, 48, 2424, 590, 919, 13, 0, 859, 2800, 2800, 2800, 60, 79, 0, 549, 0, 4138, 4138, 4138, 2380, 2380, 2380, 10, 4534, 4534, 4534, 3872, 3872, 3872, 30, 147, 802, 48, 2661, 2661, 2661, 4072, 1613, 44, 560, 24, 169, 35, 4281, 4281, 4281, 309, 468, 3268, 3268, 3268, 148, 0, 124, 318, 60, 179, 62, 1, 29, 30, 50, 3368, 22, 738, 216, 367, 367, 367, 1877, 107, 224, 111, 1, 22, 2402, 3, 21, 39, 0, 278, 366, 602, 3343, 3343, 3343, 32, 189, 205, 48, 22, 2709, 160, 2728, 4991, 4991, 4991, 3232, 3232, 3232, 189, 0, 23, 595, 606, 1218, 1218, 1218, 38, 214, 1219, 1219, 1219, 1319, 590, 590, 590, 233, 4131, 4131, 4131, 940, 622, 588, 1698, 4700, 4700, 4700, 110, 3813, 3813, 3813, 26, 0, 4, 1116, 37, 3129, 3129, 3129, 0, 95, 95, 95, 33, 308, 413, 69, 49, 908, 220, 577, 577, 577, 366, 3092, 3092, 3092, 1, 64, 9, 1, 4405, 4405, 4405, 97, 218, 0, 29, 1, 50, 1, 94, 3539, 77, 1661, 20, 110, 0, 1304, 257, 815, 211, 23, 1, 91, 688, 45, 230, 864, 0, 2218, 2218, 2218, 106, 2, 2696, 2696, 2696, 202, 397, 2798, 1317, 30, 382, 2728, 4334, 4334, 4334, 3914, 3914, 3914, 32, 32, 4834, 4834, 4834, 4833, 4833, 4833, 1598, 1598, 1598, 473, 1, 2, 438, 4213, 4213, 4213, 3221, 3221, 3221, 26, 103, 135, 0, 3834, 3834, 3834, 3861, 3861, 3861, 84, 82, 82, 82, 598, 2559, 21, 28, 367, 367, 367, 1, 78, 895, 33, 236, 123, 907, 4018, 4018, 4018, 352, 352, 352, 380, 575, 1638, 1638, 1638, 666, 2944, 115, 2029, 2029, 2029, 857, 178, 45, 27, 96, 282, 582, 176, 44, 1, 368, 4880, 4880, 4880, 1622, 2064, 0, 1, 237, 30, 101, 0, 204, 248, 248, 248, 82, 1290, 1290, 1290, 489, 47, 56, 31, 31, 210, 1159, 1664, 1664, 1664, 30, 1185, 1074, 1074, 1074, 367, 1024, 45, 4995, 4995, 4995, 548, 548, 548, 5, 322, 1197, 581, 46, 2134, 2134, 2134, 211, 622, 0, 49, 31, 1550, 239, 129, 2, 20, 991, 0, 576, 576, 576, 337, 4329, 4329, 4329, 57, 2733, 41, 46, 4367, 4367, 4367, 4635, 4635, 4635, 0, 868, 868, 868, 863, 25, 113, 125, 56, 32, 367, 0, 883, 2770, 2770, 2770, 3852, 46, 24, 28, 32, 926, 112, 3834, 0, 67, 0, 1650, 1650, 1650, 0, 474, 474, 474, 1, 369, 104, 47, 253, 253, 253, 1373, 2020, 2020, 2020, 0, 313, 1050, 1352, 1352, 1352, 2316, 2316, 2316, 0, 4286, 4286, 4286, 1004, 1348, 73, 292, 0, 966, 63, 176, 176, 176, 3331, 3331, 3331, 286, 3477, 21, 4172, 4172, 4172, 2, 659, 41, 718, 718, 718, 67, 28, 977, 42, 50, 32, 61, 4299, 4299, 4299, 262, 70, 54, 1364, 1364, 1364, 1, 1, 333, 107, 0, 189, 50, 287, 1659, 0, 3114, 3114, 3114, 732, 90, 3449, 3449, 3449, 2126, 2126, 2126, 522, 942, 307, 29, 1472, 1278, 2421, 1617, 109, 281, 42, 50, 2509, 2509, 2509, 367, 0, 1998, 1998, 1998, 4015, 4015, 4015, 142, 69, 9, 244, 2246, 2607, 72, 2521, 2521, 2521, 3119, 3119, 3119, 1, 452, 225, 0, 38, 3976, 74, 0, 93, 4565, 4565, 4565, 78, 32, 62, 2849, 2849, 2849, 63, 314, 12, 0, 362, 562, 34, 931, 275, 52, 155, 281, 4391, 4391, 4391, 276, 120, 120, 120, 1764, 44, 34, 3615, 1, 29, 53, 90, 369, 22, 26, 2543, 2543, 2543, 226, 29, 331, 95, 337, 635, 197, 0, 35, 1404, 1134, 0, 54, 118, 985, 1570, 28, 370, 163, 3936, 975, 975, 975, 238, 300, 51, 246, 22, 652, 365, 73, 117, 117, 117, 497, 269, 1995, 2024, 2856, 53, 22, 82, 189, 1, 48, 152, 4032, 4032, 4032, 28, 1147, 1147, 1147, 90, 2539, 0, 3285, 3285, 3285, 586, 15, 2737, 4276, 4276, 4276, 98, 86, 2958, 2106, 3483, 3634, 0, 4382, 1294, 1294, 1294, 57, 559, 559, 559, 61, 202, 2745, 27, 700, 700, 700, 115, 0, 1, 1823, 1, 4204, 178, 2355, 27, 1, 236, 28, 284, 197, 0, 8, 171, 749, 157, 37, 590, 457, 1224, 2576, 687, 687, 687, 33, 829, 202, 2139, 24, 1328, 1328, 1328, 0, 1, 31, 31, 0, 76, 0, 257, 28, 101, 2142, 2142, 2142, 1766, 306, 30, 42, 0, 1285, 1, 216, 2360, 2360, 2360, 20, 82, 46, 37, 335, 408, 1462, 1462, 1462, 4342, 4342, 4342, 22, 468, 1, 4007, 4007, 4007, 1097, 1, 3655, 42, 2150, 1809, 1809, 1809, 0, 1, 1793, 1793, 1793, 335, 223, 1253, 306, 1766, 4052, 1, 2001, 2001, 2001, 1562, 1562, 1562, 611, 28, 4355, 1521, 196, 0, 1732, 5, 2574, 2574, 2574, 173, 40, 623, 1313, 430, 88, 1, 769, 769, 769, 0, 345, 4768, 4768, 4768, 1, 385, 1176, 1176, 1176, 26, 30, 79, 129, 4, 44, 224, 641, 0, 355, 82, 142, 24, 122, 621, 1709, 3657, 3657, 3657, 154, 0, 3704, 0, 424, 280, 280, 280, 3610, 3610, 3610, 31, 1, 32, 335, 1, 20, 0, 0, 3, 1, 4678, 4678, 4678, 27, 109, 121, 2231, 701, 814, 814, 814, 36, 304, 691, 210, 1, 1842, 1, 0, 31, 0, 95, 1464, 1464, 1464, 5, 281, 0, 49, 4073, 4073, 4073, 4411, 4411, 4411, 640, 640, 640, 0, 55, 67, 55, 3906, 3906, 3906, 31, 2, 1, 60, 31, 6, 31, 1475, 226, 2931, 670, 670, 670, 373, 373, 373, 331, 0, 1476, 3, 1578, 519, 2, 183, 69, 294, 2057, 2057, 2057, 0, 102, 62, 41, 4278, 4278, 4278, 3612, 3612, 3612, 53, 1, 26, 31, 1680, 329, 32, 311, 40, 30, 37, 31, 46, 4788, 3210, 3210, 3210, 20, 49, 1134, 3771, 3771, 3771, 683, 0, 0, 1088, 25, 29, 2912, 2912, 2912, 0, 1, 177, 0, 3668, 3668, 3668, 294, 40, 33, 30, 1, 4705, 4705, 4705, 0, 0, 357, 103, 11, 298, 4784, 4784, 4784, 26, 1, 4382, 4382, 4382, 167, 22, 0, 3061, 3061, 3061, 119, 531, 367, 201, 30, 0, 177, 31, 0, 58, 29, 4, 155, 4095, 4095, 4095, 682, 55, 2256, 2256, 2256, 101, 693, 20, 240, 31, 41, 4494, 4494, 4494, 769, 4, 800, 25, 752, 1, 238, 24, 32, 53, 0, 0, 28, 1, 2109, 46, 200, 168, 398, 87, 3297, 351, 0, 67, 338, 2249, 1190, 24, 340, 340, 340, 3117, 3117, 3117, 229, 408, 31, 1887, 1887, 1887, 574, 574, 574, 2, 2563, 2563, 2563, 24, 378, 53, 3754, 3754, 3754, 0, 47, 50, 2151, 85, 4019, 4019, 4019, 4390, 4390, 4390, 946, 18, 2830, 374, 410, 410, 410, 1, 1081, 54, 1, 3274, 82, 375, 945, 139, 0, 3273, 3273, 3273, 2219, 2219, 2219, 4753, 4753, 4753, 354, 28, 395, 25, 332, 63, 0, 2, 3285, 29, 0, 49, 106, 75, 30, 0, 4100, 4100, 4100, 1, 1, 327, 15, 31, 27, 1, 1876, 31, 1153, 30, 46, 308, 1545, 1545, 1545, 21, 180, 3, 22, 119, 174, 202, 700, 27, 31, 4163, 4163, 4163, 2200, 2200, 2200, 1, 140, 31, 55, 20, 47, 36, 253, 0, 168, 27, 31, 1, 200, 1903, 1903, 1903, 437, 27, 601, 1, 32, 51, 983, 1, 3472, 3472, 3472, 91, 35, 37, 1173, 1173, 1173, 1, 59, 20, 0, 1, 4090, 4090, 4090, 77, 530, 2556, 1807, 1807, 1807, 3184, 3184, 3184, 10, 23, 1630, 62, 34, 7, 55, 0, 1572, 0, 28, 2, 35, 84, 1, 79, 1769, 1769, 1769, 92, 3086, 3086, 3086, 419, 10, 4877, 4877, 4877, 1857, 4504, 4504, 4504, 34, 0, 4010, 4010, 4010, 37, 24, 40, 0, 135, 437, 0, 0, 0, 3784, 3784, 3784, 31, 20, 78, 1, 31, 32, 0, 92, 60, 268, 140, 480, 2962, 2962, 2962, 23, 58, 44, 1582, 1582, 1582, 665, 22, 0, 44, 28, 87, 489, 3, 2917, 90, 418, 32, 24, 3291, 562, 93, 3792, 3792, 3792, 90, 3046, 31, 1, 1832, 1832, 1832, 22, 4068, 4042, 4042, 4042, 257, 20, 22, 0, 345, 440, 421, 68, 0, 3795, 4038, 4038, 4038, 31, 1090, 98, 25, 25, 25, 2383, 65, 98, 358, 2269, 2269, 2269, 42, 173, 59, 0, 143, 0, 2303, 3988, 3988, 3988, 767, 176, 1, 746, 827, 33, 730, 197, 269, 47, 24, 1, 1498, 1498, 1498, 2683, 6, 51, 0, 440, 4515, 4515, 4515, 30, 1586, 33, 597, 52, 1079, 915, 915, 915, 21, 79, 106, 62, 611, 102, 2924, 132, 2981, 2981, 2981, 2716, 2716, 2716, 51, 2954, 78, 24, 61, 532, 660, 1523, 1523, 1523, 2484, 0, 95, 233, 25, 16, 1485, 28, 181, 3127, 31, 0, 1, 1244, 49, 59, 4, 255, 155, 30, 0, 2576, 171, 3840, 3840, 3840, 484, 3443, 3443, 3443, 61, 4808, 4808, 4808, 67, 2016, 2016, 2016, 4513, 4513, 4513, 3472, 3472, 3472, 57, 2, 22, 45, 127, 34, 30, 1, 619, 142, 0, 118, 507, 1636, 1069, 634, 46, 2991, 3, 1590, 61, 466, 741, 1837, 1837, 1837, 36, 3638, 24, 4633, 4633, 4633, 103, 21, 437, 20, 23, 513, 565, 58, 991, 112, 3795, 3795, 3795, 1846, 1846, 1846, 481, 60, 559, 27, 204, 2758, 2758, 2758, 32, 1346, 255, 1, 258, 68, 238, 28, 0, 370, 72, 1505, 1505, 1505, 1371, 61, 1, 61, 809, 463, 1140, 505, 3468, 741, 100, 357, 357, 357, 1, 1, 149, 2597, 2597, 2597, 486, 486, 486, 67, 211, 2251, 761, 14, 0, 664, 4, 213, 258, 476, 65, 4958, 4958, 4958, 851, 91, 20, 841, 841, 841, 41, 1581, 1581, 1581, 23, 2477, 143, 174, 127, 52, 73, 107, 59, 1446, 1446, 1446, 261, 1, 24, 489, 1, 458, 58, 305, 45, 397, 1, 26, 4004, 4004, 4004, 465, 1, 4687, 4687, 4687, 4210, 4210, 4210, 433, 3750, 3750, 3750, 97, 31, 89, 112, 0, 1526, 1526, 1526, 564, 28, 564, 1200, 25, 21, 1933, 1933, 1933, 359, 4131, 4131, 4131, 320, 2994, 98, 4361, 4361, 4361, 0, 138, 191, 103, 124, 0, 67, 1776, 3321, 3321, 3321, 500, 0, 918, 1553, 1553, 1553, 474, 21, 0, 1187, 700, 95, 4548, 4548, 4548, 583, 583, 583, 2484, 2484, 2484, 58, 878, 134, 3548, 3548, 3548, 532, 63, 26, 130, 2, 101, 27, 23, 248, 58, 31, 0, 1962, 157, 52, 0, 0, 1, 376, 233, 315, 1337, 2401, 522, 57, 188, 156, 249, 350, 39, 225, 276, 92, 276, 31, 2, 37, 460, 2555, 2555, 2555, 4609, 4609, 4609, 0, 26, 366, 1178, 390, 57, 0, 112, 605, 645, 365, 483, 22, 221, 59, 54, 94, 23, 4419, 4419, 4419, 4585, 3843, 3843, 3843, 250, 250, 250, 1695, 1695, 1695, 611, 46, 65, 3, 1008, 1008, 1008, 115, 68, 0, 561, 42, 50, 3032, 3032, 3032, 2391, 0, 1975, 28, 1409, 1409, 1409, 36, 463, 206, 0, 71, 90, 0, 0, 605, 52, 78, 4809, 4809, 4809, 336, 38, 0, 244, 42, 493, 0, 50, 406, 406, 406, 24, 4433, 4433, 4433, 0, 3909, 3909, 3909, 4589, 4589, 4589, 68, 46, 1666, 21, 1, 2479, 113, 1, 230, 2832, 2832, 2832, 46, 1150, 1150, 1150, 4666, 4666, 4666, 32, 364, 0, 0, 178, 109, 96, 2, 2282, 2282, 2282, 48, 717, 3080, 32, 78, 1937, 1937, 1937, 1, 96, 186, 607, 80, 4985, 4985, 4985, 281, 254, 1, 168, 2, 88, 2476, 2476, 2476, 32, 20, 4782, 4782, 4782, 2482, 193, 698, 791, 791, 791, 243, 122, 173, 270, 980, 612, 574, 21, 1432, 27, 30, 23, 5, 24, 105, 3778, 3778, 3778, 147, 118, 1697, 1697, 1697, 32, 1466, 26, 1548, 1078, 1078, 1078, 1561, 3757, 3757, 3757, 0, 109, 252, 125, 110, 58, 216, 237, 0, 119, 1826, 1748, 0, 75, 6, 321, 61, 285, 28, 78, 587, 46, 1349, 328, 295, 879, 273, 71, 224, 21, 270, 27, 0, 246, 3173, 32, 2142, 129, 3805, 392, 290, 39, 394, 28, 0, 0, 53, 0, 32, 94, 1710, 0, 101, 111, 242, 1, 3507, 3507, 3507, 34, 1427, 1427, 1427, 3863, 3863, 3863, 1, 601, 215, 981, 981, 981, 0, 48, 0, 21, 249, 249, 249, 0, 286, 38, 1754, 1404, 1404, 1404, 3, 27, 1740, 1740, 1740, 323, 30, 134, 118, 202, 2390, 384, 365, 60, 78, 31, 73, 1813, 3616, 3616, 3616, 735, 15, 0, 3827, 3827, 3827, 562, 1821, 640, 1016, 0, 21, 2, 1, 0, 33, 95, 21, 1758, 3208, 1, 0, 1, 0, 587, 0, 365, 4456, 4456, 4456, 3253, 51, 247, 918, 50, 3298, 3298, 3298, 461, 3827, 1, 3590, 3590, 3590, 1, 1471, 370, 4839, 4839, 4839, 32, 42, 32, 356, 3515, 14, 4, 0, 0, 1042, 5, 1, 0, 14, 20, 1, 33, 727, 3, 27, 41, 146, 0, 1159, 1824, 1, 20, 1442, 1442, 1442, 0, 212, 2303, 2303, 2303, 3875, 636, 0, 0, 29, 1, 2, 36, 1402, 1402, 1402, 118, 673, 4732, 4732, 4732, 36, 61, 1064, 33, 708, 125, 3, 319, 1013, 1, 1, 373, 373, 373, 180, 362, 1, 21, 1324, 380, 123, 123, 123, 1, 106, 2500, 804, 646, 91, 575, 229, 309, 0, 215, 33, 3609, 36, 771, 38, 4978, 4978, 4978, 477, 30, 24, 0, 1457, 1457, 1457, 31, 2264, 0, 4, 1, 0, 885, 3, 722, 303, 539, 122, 31, 95, 36, 254, 345, 5, 0, 0, 13, 1, 34, 1306, 1468, 808, 808, 808, 0, 543, 77, 415, 4656, 4656, 4656, 374, 1189, 30, 2303, 2303, 2303, 214, 22, 26, 160, 25, 4694, 21, 25, 27, 20, 1, 406, 0, 21, 6, 30, 368, 1, 26, 4161, 4161, 4161, 1, 33, 835, 146, 3269, 3269, 3269, 0, 2, 35, 33, 0, 0, 23, 13, 0, 1581, 302, 4763, 4763, 4763, 4794, 4794, 4794, 24, 365, 1, 2, 266, 30, 4327, 4327, 4327, 29, 146, 3234, 35, 5, 156, 1, 1, 1, 369, 22, 641, 2, 3482, 3482, 3482, 25, 30, 4684, 4684, 4684, 2, 436, 0, 62, 48, 1, 6, 1, 0, 37, 2564, 2564, 2564, 0, 4775, 4775, 4775, 26, 1220, 1220, 1220, 3993, 3993, 3993, 2193, 2563, 0, 156, 22, 0, 3, 926, 2047, 2047, 2047, 364, 3829, 3829, 3829, 53, 27, 1063, 2056, 40, 208, 0, 2111, 157, 20, 266, 34, 0, 88, 819, 7, 433, 3895, 3895, 3895, 39, 27, 90, 3, 41, 111, 30, 2828, 2828, 2828, 12, 464, 729, 729, 729, 417, 408, 0, 25, 1514, 35, 0, 415, 35, 4389, 4389, 4389, 55, 99, 4845, 4845, 4845, 3980, 52, 901, 0, 408, 4894, 4894, 4894, 59, 756, 46, 4822, 4822, 4822, 35, 1512, 155, 58, 2232, 447, 1, 246, 32, 38, 514, 50, 1100, 0, 745, 225, 225, 225, 33, 41, 37, 47, 20, 2, 1097, 32, 0, 59, 31, 447, 24, 37, 58, 36, 333, 4429, 4429, 4429, 248, 1497, 477, 63, 21, 0, 34, 0, 477, 0, 30, 23, 22, 145, 4791, 4791, 4791, 0, 31, 3129, 3129, 3129, 2477, 2477, 2477, 2191, 2191, 2191, 2, 31, 79, 36, 243, 120, 54, 1975, 1975, 1975, 34, 948, 948, 948, 0, 1975, 1975, 1975, 54, 239, 44, 857, 119, 0, 222, 58, 58, 58, 483, 1940 ] ================================================ FILE: app/data/ufoSightings.json ================================================ [ { "year": "1945", "sightings": 6 }, { "year": "1946", "sightings": 8 }, { "year": "1947", "sightings": 34 }, { "year": "1948", "sightings": 8 }, { "year": "1949", "sightings": 15 }, { "year": "1950", "sightings": 25 }, { "year": "1951", "sightings": 20 }, { "year": "1952", "sightings": 48 }, { "year": "1953", "sightings": 34 }, { "year": "1954", "sightings": 50 }, { "year": "1955", "sightings": 31 }, { "year": "1956", "sightings": 38 }, { "year": "1957", "sightings": 67 }, { "year": "1958", "sightings": 40 }, { "year": "1959", "sightings": 47 }, { "year": "1960", "sightings": 64 }, { "year": "1961", "sightings": 39 }, { "year": "1962", "sightings": 55 }, { "year": "1963", "sightings": 75 }, { "year": "1964", "sightings": 77 }, { "year": "1965", "sightings": 167 }, { "year": "1966", "sightings": 169 }, { "year": "1967", "sightings": 178 }, { "year": "1968", "sightings": 183 }, { "year": "1969", "sightings": 138 }, { "year": "1970", "sightings": 126 }, { "year": "1971", "sightings": 110 }, { "year": "1972", "sightings": 146 }, { "year": "1973", "sightings": 209 }, { "year": "1974", "sightings": 241 }, { "year": "1975", "sightings": 279 }, { "year": "1976", "sightings": 246 }, { "year": "1977", "sightings": 239 }, { "year": "1978", "sightings": 301 }, { "year": "1979", "sightings": 221 }, { "year": "1980", "sightings": 211 }, { "year": "1981", "sightings": 146 }, { "year": "1982", "sightings": 182 }, { "year": "1983", "sightings": 132 }, { "year": "1984", "sightings": 172 }, { "year": "1985", "sightings": 192 }, { "year": "1986", "sightings": 173 }, { "year": "1987", "sightings": 193 }, { "year": "1988", "sightings": 203 }, { "year": "1989", "sightings": 220 }, { "year": "1990", "sightings": 217 }, { "year": "1991", "sightings": 210 }, { "year": "1992", "sightings": 228 }, { "year": "1993", "sightings": 285 }, { "year": "1994", "sightings": 381 }, { "year": "1995", "sightings": 1336 }, { "year": "1996", "sightings": 862 }, { "year": "1997", "sightings": 1248 }, { "year": "1998", "sightings": 1812 }, { "year": "1999", "sightings": 2906 }, { "year": "2000", "sightings": 2780 }, { "year": "2001", "sightings": 3105 }, { "year": "2002", "sightings": 3176 }, { "year": "2003", "sightings": 3896 }, { "year": "2004", "sightings": 4208 }, { "year": "2005", "sightings": 3996 }, { "year": "2006", "sightings": 3590 }, { "year": "2007", "sightings": 4195 }, { "year": "2008", "sightings": 4705 }, { "year": "2009", "sightings": 4297 }, { "year": "2010", "sightings": 2531 } ] ================================================ FILE: app/helpers/format.ts ================================================ const percent = new Intl.NumberFormat(undefined, { style: 'percent', minimumFractionDigits: 2, maximumFractionDigits: 2 }) const compact = new Intl.NumberFormat(undefined, { notation: 'compact' }) const decimal = new Intl.NumberFormat(undefined, { minimumFractionDigits: 2, maximumFractionDigits: 2 }) export const formatDecimal = (number: number) => decimal.format(number) export const formatDate = (date: Date) => date.toISOString().substring(0, 10) export const formatPercent = (number: number) => percent.format(number) export const formatCompact = (number: number) => compact.format(number) ================================================ FILE: app/next-env.d.ts ================================================ /// /// // NOTE: This file should not be edited // see https://nextjs.org/docs/basic-features/typescript for more information. ================================================ FILE: app/next.config.js ================================================ /* eslint-disable @typescript-eslint/no-var-requires */ /** @type {import('next').NextConfig} */ const withMDX = require('@next/mdx')({ extension: /\.mdx?$/, options: { remarkPlugins: [], rehypePlugins: [require('@mapbox/rehype-prism')] // If you use `MDXProvider`, uncomment the following line. // providerImportSource: "@mdx-js/react", } }) module.exports = withMDX({ // Append the default value with md extensions pageExtensions: ['ts', 'tsx', 'js', 'jsx', 'md', 'mdx'], reactStrictMode: true }) ================================================ FILE: app/package.json ================================================ { "name": "metrics-graphics-app", "version": "0.1.0", "private": true, "scripts": { "dev": "next dev", "build": "next build && next export", "start": "next start", "lint": "next lint" }, "dependencies": { "@mapbox/rehype-prism": "^0.8.0", "@mdx-js/loader": "^2.1.1", "@next/mdx": "^12.1.6", "classnames": "^2.3.1", "metrics-graphics": "3.0.1", "next": "^12.1.6", "react": "^17.0.2", "react-dom": "^17.0.2" }, "devDependencies": { "@tailwindcss/typography": "^0.5.2", "@types/node": "^17.0.35", "@types/react": "^18.0.9", "@types/react-dom": "^18.0.4", "autoprefixer": "^10.4.7", "postcss": "^8.4.14", "tailwindcss": "^3.0.24", "typescript": "^4.6.4" } } ================================================ FILE: app/pages/_app.tsx ================================================ import '../styles/globals.css' import 'metrics-graphics/dist/mg.css' import type { AppProps } from 'next/app' import Link from 'next/link' import NavLink from '../components/NavLink' import Logo from '../components/Logo' function MyApp({ Component, pageProps }: AppProps) { return (

MetricsGraphics

Lines Scatterplots Histograms API
) } export default MyApp ================================================ FILE: app/pages/_document.tsx ================================================ import Document, { Html, Head, Main, NextScript } from 'next/document' class MyDocument extends Document { render() { return (
) } } export default MyDocument ================================================ FILE: app/pages/histogram.mdx ================================================ import Layout from '../components/Layout' import ParameterTable from '../components/ParameterTable' import Simple from '../components/charts/histogram/Simple' # Histograms ## API Extends the [base chart options](./mg-api). All options below are optional. ## Examples ### Difference in UFO Sighting and Reporting Dates (in months) Semi-real data about the reported differences between the supposed sighting of a UFO and the date it was reported. ```js new HistogramChart({ data: ufoData.map((date) => date / 30).sort(), width: 600, height: 200, binCount: 150, target: '#my-div', brush: 'x', yAxis: { extendedTicks: true }, tooltipFunction: (bar) => `${bar.time} months, volume ${bar.count}` }) ``` ================================================ FILE: app/pages/index.tsx ================================================ import type { NextPage } from 'next' import Head from 'next/head' import { useEffect, useRef } from 'react' import { LineChart } from 'metrics-graphics' import sightings from '../data/ufoSightings.json' const Home: NextPage = () => { const chartRef = useRef(null) useEffect(() => { if (!chartRef.current) return const lineChart = new LineChart({ data: [sightings], markers: [{ year: 1964, label: '"The Creeping Terror" released' }], width: 650, height: 180, target: chartRef.current as any, xAccessor: 'year', yAccessor: 'sightings', area: true, yScale: { minValue: 0 }, xAxis: { extendedTicks: true, label: 'Year', tickFormat: '.4r' }, yAxis: { label: 'Count' } }) }, [chartRef]) return (
MetricsGraphics

MetricsGraphics is a library built on top of D3 that is optimized for visualizing and laying out time-series data. It provides a simple way to produce common types of graphics in a principled, consistent and responsive way.

) } export default Home ================================================ FILE: app/pages/line.mdx ================================================ import ParameterTable from '../components/ParameterTable' import Layout from '../components/Layout' import Simple from '../components/charts/line/Simple' import Confidence from '../components/charts/line/Confidence' import Multi from '../components/charts/line/Multi' import Aggregated from '../components/charts/line/Aggregated' import Broken from '../components/charts/line/Broken' import Active from '../components/charts/line/Active' import Baseline from '../components/charts/line/Baseline' # Line Charts ## API Extends the [base chart options](./mg-api). All options below are optional. | boolean', description: 'Specifies for which sub-array of data an area should be shown. If the chart is only one line, you can set it to true.' }, { name: 'confidenceBand', type: '[Accessor, Accessor]', description: 'Two-element array specifying how to access the lower (first) and upper (second) value for the confidence band. The two elements work like accessors (either a string or a function).' }, { name: 'voronoi', type: 'Partial', description: 'Custom parameters passed to the voronoi generator.' }, { name: 'defined', type: '(point: Data) => boolean', description: 'Function specifying whether or not to show a given datapoint. This is mainly used to create partially defined graphs.' }, { name: 'activeAccessor', type: 'Accessor', description: 'Accessor that defines whether or not a given data point should be shown as active' }, { name: 'activePoint', type: 'Partial', description: 'Custom parameters passed to the active point generator.' }]} /> ## Examples ### Simple Line Chart This is a simple line chart. You can remove the area portion by adding `area: false` to the arguments list. ```js new LineChart({ data: [fakeUsers.map(({ date, value }) => ({ date: new Date(date), value }))], width: 600, height: 200, yScale: { minValue: 0 }, target: '#my-div', brush: 'xy', area: true, xAccessor: 'date', yAccessor: 'value', tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) ``` ### Confidence Band This is an example of a graph with a confidence band and extended x-axis ticks enabled. ```js new LineChart({ data: [ confidence.map((entry) => ({ ...entry, date: new Date(entry.date) })) ], xAxis: { extendedTicks: true }, yAxis: { tickFormat: 'percentage' }, width: 600, height: 200, target: '#my-div', confidenceBand: ['l', 'u'], tooltipFunction: (point) => `${formatDate(point.date)}: ${formatPercent(point.value)}` }) ``` ### Multiple Lines This line chart contains multiple lines. ```js new LineChart({ data: fakeUsers.map((fakeArray) => fakeArray.map((fakeEntry) => ({ ...fakeEntry, date: new Date(fakeEntry.date) })) ), width: 600, height: 200, target: '#my-div', xAccessor: 'date', yAccessor: 'value', legend: ['Line 1', 'Line 2', 'Line 3'], tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) ``` ### Aggregate Rollover One rollover for all lines. ```js new LineChart({ data: fakeUsers.map((fakeArray) => fakeArray.map((fakeEntry) => ({ ...fakeEntry, date: new Date(fakeEntry.date) })) ), width: 600, height: 200, target: '#my-div', xAccessor: 'date', yAccessor: 'value', legend: ['Line 1', 'Line 2', 'Line 3'], voronoi: { aggregate: true }, tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) ``` ### Broken lines (missing data points) You can hide individual data points on a particular attribute by setting the defined accessor (which has to return true for visible points). Data points whose y-accessor values are null are also hidden. ```js new LineChart({ data: [missing.map((e) => ({ ...e, date: new Date(e.date) }))], width: 600, height: 200, target: '#my-div', defined: (d) => !d.dead, area: true, tooltipFunction: (point) => `${formatDate(point.date)}: ${point.value}` }) ``` ### Active Points This line chart displays pre-defined active points. ```js new LineChart({ data: [ fakeUsers.map((entry, i) => ({ ...entry, date: new Date(entry.date), active: i % 5 === 0 })) ], width: 600, height: 200, target: '#my-div', activeAccessor: 'active', activePoint: { radius: 2 }, tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) ``` ### Baseline Baselines are horizontal lines that can added at arbitrary points. ```js new LineChart({ data: [ fakeUsers.map((entry) => ({ ...entry, date: new Date(entry.date) })) ], baselines: [{ value: 160000000, label: 'a baseline' }], width: 600, height: 200, target: '#my-div', tooltipFunction: (point) => `${formatDate(point.date)}: ${formatCompact(point.value)}` }) ``` ================================================ FILE: app/pages/mg-api.mdx ================================================ import ParameterTable from '../components/ParameterTable' import Layout from '../components/Layout' # API All MetricsGraphics charts are classes that can be instantiated with a set of parameters (e.g. `new LineChart({ ... })`). The chart is then mounted to the given `target` (see below), which is for example the `id` of an empty `div` in your DOM or a React `ref`. ## Data formats MetricsGraphics assumes that your data is either an array of objects or an array of arrays of objects. For example, your data could look like this: ```js [{ date: '2020-02-01', value: 10 }, { date: '2020-02-02', value: 12 }] ``` ## Common Parameters All charts inherit from an abstract chart, which has the following parameters (optional parameters marked with `?`): ', description: 'Data that is to be visualized.' }, { name: 'target', type: 'string', description: 'DOM node to which the graph will be mounted (compatible D3 selection or D3 selection specifier).' }, { name: 'width', type: 'number', description: 'Total width of the graph.' }, { name: 'height', type: 'number', description: 'Total height of the graph.' }, { name: 'markers?', type: 'Array', description: 'Markers that should be added to the chart. Each marker object should be accessible through the xAccessor and contain a label field.' }, { name: 'baselines?', type: 'Array', description: 'Baselines that should be added to the chart. Each baseline object should be accessible through the yAccessor and contain a label field.' }, { name: 'xAccessor?', type: 'string | Accessor', default: 'date', description: 'Either the name of the field that contains the x value or a function that receives a data object and returns its x value.' }, { name: 'yAccessor?', type: 'string | Accessor', default: 'value', description: 'Either the name of the field that contains the y value or a function that receives a data object and returns its y value.' }, { name: 'margin?', type: 'Margin', default: 'top: 10, left: 60, right: 20, bottom: 40', description: 'Margin around the chart for labels.' }, { name: 'buffer?', type: 'number', default: '10', description: 'Amount of buffer space between the axes and the actual graph.' }, { name: 'colors?', type: 'Array', default: 'd3.schemeCategory10', description: 'Custom color scheme for the graph.' }, { name: 'xScale?', type: 'Partial', description: 'Overwrite parameters of the auto-generated x scale.' }, { name: 'yScale?', type: 'Partial', description: 'Overwrite parameters of the auto-generated y scale.' }, { name: 'xAxis?', type: 'Partial', description: 'Overwrite parameters of the auto-generated x axis.' }, { name: 'yAxis?', type: 'Partial', description: 'Overwrite parameters of the auto-generated y axis.' }, { name: 'showTooltip?', type: 'boolean', default: 'true', description: 'Whether or not to show a tooltip.' }, { name: 'tooltipFunction', type: 'Accessor', description: 'Generate a custom tooltip string.' }, { name: 'legend?', type: 'Array', description: 'Used if data is an array of arrays. Names of the sub-arrays of data, used as legend labels.' }, { name: 'brush?', type: '"xy" | "x" | "y"', description: 'Adds either a one- or two-dimensional brush to the chart.' }]} /> ## Common Types ```ts type Accessor = (dataObject: X) => Y type Margin = { left: number right: number bottom: number top: number } type Scale = { type: 'linear' // this will be extended in the future range?: [number, number] domain?: [number, number] } type Axis = { scale: Scale buffer: number show?: boolean orientation?: 'top' | 'bottom' | 'left' | 'right' label?: string labelOffset?: number top?: number left?: number // a function to format a given tick, or one of the standard types (date, number, percentage), or string for d3-format tickFormat?: TextFunction | AxisFormat | string // defaults to 3 for vertical and 6 for horizontal axes tickCount?: number compact?: boolean // tick label prefix prefix?: string // tick label suffix suffix?: string // overwrite d3's default tick lengths tickLength?: number // draw extended tick lines extendedTicks?: boolean } ``` ================================================ FILE: app/pages/scatter.mdx ================================================ import Layout from '../components/Layout' import ParameterTable from '../components/ParameterTable' import Simple from '../components/charts/scatter/Simple' import Categories from '../components/charts/scatter/Categories' import Complex from '../components/charts/scatter/Complex' # Scatterplots ## API Extends the [base chart options](./mg-api). All options below are optional. 3' }, { name: 'xRug', type: 'boolean', description: 'Whether or not to generate a rug for the x axis.' }, { name: 'yRug', type: 'boolean', description: 'Whether or not to generate a rug for the y axis.' }]} /> ## Examples ### Simple Scatterplot This is an example scatterplot, in which we have enabled rug plots on the y-axis by setting the rug option to `true`. ```js new ScatterChart({ data: [points1], width: 500, height: 200, target: '#my-div', xAccessor: 'x', yAccessor: 'y', brush: 'xy', xRug: true, tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}` }) ``` ### Multi-Category Scatterplot This scatterplot contains data of multiple categories. ```js new ScatterChart({ data: points2.map((x: any) => x.values), legend: points2.map((x: any) => x.key), width: 500, height: 200, xAccessor: 'x', yAccessor: 'y', yRug: true, target: '#my-div', tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}` }) ``` ### Scatterplot with Size and Color Scatterplots have xAccessor, yAccessor and sizeAccessor. ```js new ScatterChart({ data: points2.map((x: any) => x.values), legend: points2.map((x: any) => x.key), width: 500, height: 200, target: '#my-div', xAccessor: 'x', yAccessor: 'y', sizeAccessor: (x: any) => Math.abs(x.w) * 3, tooltipFunction: (point) => `${formatDecimal(point.x)} - ${formatDecimal(point.y)}: ${formatDecimal(point.w)}` }) ``` ================================================ FILE: app/postcss.config.js ================================================ module.exports = { plugins: { tailwindcss: {}, autoprefixer: {} } } ================================================ FILE: app/styles/globals.css ================================================ @tailwind base; @tailwind components; @tailwind utilities; .token.prolog, .token.doctype, .token.cdata { @apply text-gray-700; } .token.comment { @apply text-gray-500; } .token.punctuation { @apply text-gray-700; } .token.property, .token.tag, .token.boolean, .token.number, .token.constant, .token.symbol, .token.deleted { @apply text-green-500; } .token.selector, .token.attr-name, .token.string, .token.char, .token.builtin, .token.inserted { @apply text-purple-500; } .token.operator, .token.entity, .token.url, .language-css .token.string, .style .token.string { @apply text-yellow-500; } .token.atrule, .token.attr-value, .token.keyword { @apply text-blue-500; } .token.function, .token.class-name { @apply text-pink-500; } .token.regex, .token.important, .token.variable { @apply text-yellow-500; } code[class*='language-'], pre[class*='language-'] { @apply text-gray-800; } pre::-webkit-scrollbar { display: none; } pre { @apply bg-gray-50; -ms-overflow-style: none; /* IE and Edge */ scrollbar-width: none; /* Firefox */ } ================================================ FILE: app/tailwind.config.js ================================================ // eslint-disable-next-line @typescript-eslint/no-var-requires const defaultTheme = require('tailwindcss/defaultTheme') module.exports = { content: ['./pages/**/*.{js,ts,jsx,tsx}', './components/**/*.{js,ts,jsx,tsx}'], theme: { extend: { typography: ({ theme }) => ({ DEFAULT: { css: { pre: { backgroundColor: theme('colors.indigo[50]'), fontSize: '0.7rem' } } } }), fontFamily: { sans: ['Inter var', ...defaultTheme.fontFamily.sans] } } }, plugins: [require('@tailwindcss/typography')] } ================================================ FILE: app/tsconfig.json ================================================ { "compilerOptions": { "target": "es5", "lib": ["dom", "dom.iterable", "esnext"], "allowJs": true, "skipLibCheck": true, "strict": true, "forceConsistentCasingInFileNames": true, "noEmit": true, "esModuleInterop": true, "module": "esnext", "moduleResolution": "node", "resolveJsonModule": true, "isolatedModules": true, "jsx": "preserve", "incremental": true }, "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx"], "exclude": ["node_modules"] } ================================================ FILE: lib/.gitignore ================================================ # Dependencies bower_components node_modules # Logs npm-debug.log # IDE .idea # FS .DS_Store # Others other/divider.psd other/htaccess.txt bare.html yarn.lock yarn-error.log # Dist files dist build ================================================ FILE: lib/esbuild.mjs ================================================ import esbuild from 'esbuild' const baseConfig = { entryPoints: ['src/index.ts'], bundle: true, sourcemap: true, target: 'esnext' } // esm esbuild.build({ ...baseConfig, outdir: 'dist/esm', splitting: true, format: 'esm' }) // cjs esbuild.build({ ...baseConfig, outdir: 'dist/cjs', format: 'cjs' }) ================================================ FILE: lib/package.json ================================================ { "name": "metrics-graphics", "version": "3.0.1", "description": "A library optimized for concise, principled data graphics and layouts", "main": "dist/cjs/index.js", "module": "dist/esm/index.js", "types": "dist/index.d.ts", "scripts": { "ts-types": "tsc --emitDeclarationOnly --outDir dist", "build": "rimraf dist && concurrently \"node ./esbuild.mjs\" \"npm run ts-types\" && cp src/mg.css dist/mg.css", "lint": "eslint src", "test": "echo \"no tests set up, will do later\"", "analyze": "source-map-explorer dist/esm/index.js" }, "repository": { "type": "git", "url": "git://github.com/metricsgraphics/metrics-graphics.git" }, "files": [ "dist" ], "keywords": [ "metrics-graphics", "metricsgraphicsjs", "metricsgraphics", "metricsgraphics.js", "d3 charts" ], "author": "Mozilla", "contributors": [ "Ali Almossawi", "Hamilton Ulmer", "William Lachance", "Jens Ochsenmeier" ], "license": "MPL-2.0", "bugs": { "url": "https://github.com/metricsgraphics/metrics-graphics/issues" }, "engines": { "node": ">=0.8.0" }, "homepage": "http://metricsgraphicsjs.org", "dependencies": { "d3": "^7.4.4" }, "devDependencies": { "@types/d3": "^7.1.0", "concurrently": "^7.2.0", "deepmerge": "^4.2.2", "esbuild": "^0.14.39", "rimraf": "^3.0.2", "source-map-explorer": "^2.5.2" } } ================================================ FILE: lib/src/charts/abstractChart.ts ================================================ import { select, extent, max, brush as d3brush, brushX, brushY } from 'd3' import { randomId, makeAccessorFunction } from '../misc/utility' import Scale from '../components/scale' import Axis, { IAxis, AxisOrientation } from '../components/axis' import Tooltip from '../components/tooltip' import Legend from '../components/legend' import constants from '../misc/constants' import Point, { IPoint } from '../components/point' import { SvgD3Selection, AccessorFunction, Margin, GenericD3Selection, BrushType, DomainObject, Domain, LegendSymbol } from '../misc/typings' type TooltipFunction = (datapoint: any) => string export interface IAbstractChart { /** data that is to be visualized */ data: Array /** DOM node to which the graph will be mounted (D3 selection or D3 selection specifier) */ target: string /** total width of the graph */ width: number /** total height of the graph */ height: number /** markers that should be added to the chart. Each marker object should be accessible through the xAccessor and contain a label field */ markers?: Array /** baselines that should be added to the chart. Each baseline object should be accessible through the yAccessor and contain a label field */ baselines?: Array /** either name of the field that contains the x value or function that receives a data object and returns its x value */ xAccessor?: string | AccessorFunction /** either name of the field that contains the y value or function that receives a data object and returns its y value */ yAccessor?: string | AccessorFunction /** margins of the visualization for labels */ margin?: Margin /** amount of buffer between the axes and the graph */ buffer?: number /** custom color scheme for the graph */ colors?: Array /** overwrite parameters of the auto-generated x scale */ xScale?: Partial /** overwrite parameters of the auto-generated y scale */ yScale?: Partial /** overwrite parameters of the auto-generated x axis */ xAxis?: Partial /** overwrite parameters of the auto-generated y axis */ yAxis?: Partial /** whether or not to show a tooltip */ showTooltip?: boolean /** generate a custom tooltip string */ tooltipFunction?: (datapoint: any) => string /** names of the sub-arrays of data, used as legend labels */ legend?: Array /** add an optional brush */ brush?: BrushType /** custom domain computations */ computeDomains?: () => DomainObject } /** * This abstract chart class implements all functionality that is shared between all available chart types. */ export default abstract class AbstractChart { id: string // base chart fields data: Array markers: Array baselines: Array target: SvgD3Selection svg?: GenericD3Selection content?: GenericD3Selection container?: GenericD3Selection // accessors xAccessor: AccessorFunction yAccessor: AccessorFunction colors: Array // scales xDomain: Domain yDomain: Domain xScale: Scale yScale: Scale // axes xAxis?: Axis xAxisParams: any yAxis?: Axis yAxisParams: any // tooltip and legend stuff showTooltip: boolean tooltipFunction?: TooltipFunction tooltip?: Tooltip legend?: Array // dimensions width: number height: number // margins margin: Margin buffer: number // brush brush?: BrushType idleDelay = 350 idleTimeout: unknown constructor({ data, target, markers, baselines, xAccessor, yAccessor, margin, buffer, width, height, colors, xScale, yScale, xAxis, yAxis, showTooltip, tooltipFunction, legend, brush, computeDomains }: IAbstractChart) { // convert string accessors to functions if necessary this.xAccessor = makeAccessorFunction(xAccessor ?? 'date') this.yAccessor = makeAccessorFunction(yAccessor ?? 'value') // set parameters this.data = data this.target = select(target) this.markers = markers ?? [] this.baselines = baselines ?? [] this.legend = legend ?? this.legend this.brush = brush ?? undefined this.xAxisParams = xAxis ?? this.xAxisParams this.yAxisParams = yAxis ?? this.yAxisParams this.showTooltip = showTooltip ?? true this.tooltipFunction = tooltipFunction this.margin = margin ?? { top: 10, left: 60, right: 20, bottom: 40 } this.buffer = buffer ?? 10 // set unique id for chart this.id = randomId() // compute dimensions this.width = width this.height = height // normalize color and colors arguments this.colors = colors ?? constants.defaultColors // clear target this.target.selectAll('*').remove() // attach base elements to svg this.mountSvg() // set up scales this.xScale = new Scale({ range: [0, this.innerWidth], ...xScale }) this.yScale = new Scale({ range: [this.innerHeight, 0], ...yScale }) // compute domains and set them const { x, y } = computeDomains ? computeDomains() : this.computeDomains() this.xDomain = x this.yDomain = y this.xScale.domain = x this.yScale.domain = y this.abstractRedraw() } /** * Draw the abstract chart. */ abstractRedraw(): void { // if not drawn yet, abort if (!this.content) return // clear this.content.selectAll('*').remove() // set up axes if not disabled this.mountXAxis(this.xAxisParams) this.mountYAxis(this.yAxisParams) // pre-attach tooltip text container this.mountTooltip(this.showTooltip, this.tooltipFunction) // set up main container this.mountContainer() } /** * Draw the actual chart. * This is meant to be overridden by chart implementations. */ abstract redraw(): void mountBrush(whichBrush?: BrushType): void { // if no brush is specified, there's nothing to mount if (!whichBrush) return // brush can only be mounted after content is set if (!this.content || !this.container) { console.error('error: content not set yet') return } const brush = whichBrush === 'x' ? brushX() : whichBrush === 'y' ? brushY() : d3brush() brush.on('end', ({ selection }) => { // if no content is set, do nothing if (!this.content) { console.error('error: content is not set yet') return } // compute domains and re-draw if (selection === null) { if (!this.idleTimeout) { this.idleTimeout = setTimeout(() => { this.idleTimeout = null }, 350) return } // set original domains this.xScale.domain = this.xDomain this.yScale.domain = this.yDomain } else { if (this.brush === 'x') { this.xScale.domain = [selection[0], selection[1]].map(this.xScale.scaleObject.invert) } else if (this.brush === 'y') { this.yScale.domain = [selection[0], selection[1]].map(this.yScale.scaleObject.invert) } else { this.xScale.domain = [selection[0][0], selection[1][0]].map(this.xScale.scaleObject.invert) this.yScale.domain = [selection[1][1], selection[0][1]].map(this.yScale.scaleObject.invert) } this.content.select('.brush').call((brush as any).move, null) } // re-draw abstract elements this.abstractRedraw() // re-draw specific chart this.redraw() }) this.container.append('g').classed('brush', true).call(brush) } /** * Mount a new legend if necessary * @param {String} symbolType symbol type (circle, square, line) */ mountLegend(symbolType: LegendSymbol): void { if (!this.legend || !this.legend.length) return const legend = new Legend({ legend: this.legend, colorScheme: this.colors, symbolType }) legend.mountTo(this.target) } /** * Mount new x axis. * * @param xAxis object that can be used to overwrite parameters of the auto-generated x {@link Axis}. */ mountXAxis(xAxis: Partial): void { // axis only mountable after content is mounted if (!this.content) { console.error('error: content needs to be mounted first') return } if (typeof xAxis?.show !== 'undefined' && !xAxis.show) return this.xAxis = new Axis({ scale: this.xScale, orientation: AxisOrientation.BOTTOM, top: this.bottom, left: this.left, height: this.innerHeight, buffer: this.buffer, ...xAxis }) if (!xAxis?.tickFormat) this.computeXAxisType() // attach axis if (this.xAxis) this.xAxis.mountTo(this.content) } /** * Mount new y axis. * * @param yAxis object that can be used to overwrite parameters of the auto-generated y {@link Axis}. */ mountYAxis(yAxis: Partial): void { // axis only mountable after content is mounted if (!this.content) { console.error('error: content needs to be mounted first') return } if (typeof yAxis?.show !== 'undefined' && !yAxis.show) return this.yAxis = new Axis({ scale: this.yScale, orientation: AxisOrientation.LEFT, top: this.top, left: this.left, height: this.innerWidth, buffer: this.buffer, ...yAxis }) if (!yAxis?.tickFormat) this.computeYAxisType() if (this.yAxis) this.yAxis.mountTo(this.content) } /** * Mount a new tooltip if necessary. * * @param showTooltip whether or not to show a tooltip. * @param tooltipFunction function that receives a data object and returns the string displayed as tooltip. */ mountTooltip(showTooltip?: boolean, tooltipFunction?: TooltipFunction): void { // only mount of content is defined if (!this.content) { console.error('error: content is not defined yet') return } if (typeof showTooltip !== 'undefined' && !showTooltip) return this.tooltip = new Tooltip({ top: this.buffer, left: this.width - 2 * this.buffer, xAccessor: this.xAccessor, yAccessor: this.yAccessor, textFunction: tooltipFunction, colors: this.colors, legend: this.legend }) this.tooltip.mountTo(this.content) } /** * Mount the main container. */ mountContainer(): void { // content needs to be mounted first if (!this.content) { console.error('content needs to be mounted first') return } const width = max(this.xScale.range) const height = max(this.yScale.range) if (!width || !height) { console.error(`error: width or height is null (width: "${width}", height: "${height}")`) return } this.container = this.content .append('g') .attr('transform', `translate(${this.left},${this.top})`) .attr('clip-path', `url(#mg-plot-window-${this.id})`) .append('g') .attr('transform', `translate(${this.buffer},${this.buffer})`) this.container .append('rect') .attr('x', 0) .attr('y', 0) .attr('opacity', 0) .attr('pointer-events', 'all') .attr('width', width) .attr('height', height) } /** * This method is called by the abstract chart constructor. * Append the local svg node to the specified target, if necessary. * Return existing svg node if it's already present. */ mountSvg(): void { const svg = this.target.select('svg') // warn user if svg is not empty if (!svg.empty()) { console.warn('Warning: SVG is not empty. Rendering might be unnecessary.') } // clear svg svg.remove() this.svg = this.target.append('svg').classed('mg-graph', true).attr('width', this.width).attr('height', this.height) // prepare clip path this.svg.select('.mg-clip-path').remove() this.svg .append('defs') .attr('class', 'mg-clip-path') .append('clipPath') .attr('id', `mg-plot-window-${this.id}`) .append('svg:rect') .attr('width', this.width - this.margin.left - this.margin.right) .attr('height', this.height - this.margin.top - this.margin.bottom) // set viewbox this.svg.attr('viewBox', `0 0 ${this.width} ${this.height}`) // append content this.content = this.svg.append('g').classed('mg-content', true) } /** * If needed, charts can implement data normalizations, which are applied when instantiating a new chart. * TODO this is currently unused */ // abstract normalizeData(): void /** * Usually, the domains of the chart's scales depend on the chart type and the passed data, so this should usually be overwritten by chart implementations. * @returns domains for x and y axis as separate properties. */ computeDomains(): DomainObject { const flatData = this.data.flat() const x = extent(flatData, this.xAccessor) const y = extent(flatData, this.yAccessor) return { x: x as [number, number], y: y as [number, number] } } /** * Set tick format of the x axis. */ computeXAxisType(): void { // abort if no x axis is used if (!this.xAxis) { console.error('error: no x axis set') return } const flatData = this.data.flat() const xValue = this.xAccessor(flatData[0]) if (xValue instanceof Date) { this.xAxis.tickFormat = 'date' } else if (Number(xValue) === xValue) { this.xAxis.tickFormat = 'number' } } /** * Set tick format of the y axis. */ computeYAxisType(): void { // abort if no y axis is used if (!this.yAxis) { console.error('error: no y axis set') return } const flatData = this.data.flat() const yValue = this.yAccessor(flatData[0]) if (yValue instanceof Date) { this.yAxis.tickFormat = constants.axisFormat.date } else if (Number(yValue) === yValue) { this.yAxis.tickFormat = constants.axisFormat.number } } generatePoint(args: Partial): Point { return new Point({ ...args, xAccessor: this.xAccessor, yAccessor: this.yAccessor, xScale: this.xScale, yScale: this.yScale }) } get top(): number { return this.margin.top } get left(): number { return this.margin.left } get bottom(): number { return this.height - this.margin.bottom } // returns the pixel location of the respective side of the plot area. get plotTop(): number { return this.top + this.buffer } get plotLeft(): number { return this.left + this.buffer } get innerWidth(): number { return this.width - this.margin.left - this.margin.right - 2 * this.buffer } get innerHeight(): number { return this.height - this.margin.top - this.margin.bottom - 2 * this.buffer } } ================================================ FILE: lib/src/charts/histogram.ts ================================================ import { max, bin } from 'd3' import Delaunay from '../components/delaunay' import Rect from '../components/rect' import { TooltipSymbol } from '../components/tooltip' import { LegendSymbol, InteractionFunction } from '../misc/typings' import AbstractChart, { IAbstractChart } from './abstractChart' interface IHistogramChart extends IAbstractChart { binCount?: number } /** * Creates a new histogram graph. * * @param {Object} args argument object. See {@link AbstractChart} for general parameters. * @param {Number} [args.binCount] approximate number of bins that should be used for the histogram. Defaults to what d3.bin thinks is best. */ export default class HistogramChart extends AbstractChart { bins: Array rects?: Array delaunay?: any delaunayBar?: any _activeBar = -1 constructor({ binCount, ...args }: IHistogramChart) { super({ ...args, computeDomains: () => { // set up histogram const dataBin = bin() if (binCount) dataBin.thresholds(binCount) const bins = dataBin(args.data) // update domains return { x: [0, bins.length], y: [0, max(bins, (bin: Array) => +bin.length)!] } } }) // set up histogram const dataBin = bin() if (binCount) dataBin.thresholds(binCount) this.bins = dataBin(this.data) this.redraw() } redraw(): void { // set up histogram rects this.mountRects() // set tooltip type if (this.tooltip) { this.tooltip.update({ legendObject: TooltipSymbol.SQUARE }) this.tooltip.hide() } // generate delaunator this.mountDelaunay() // mount legend if any this.mountLegend(LegendSymbol.SQUARE) // mount brush if necessary this.mountBrush(this.brush) } /** * Mount the histogram rectangles. */ mountRects(): void { this.rects = this.bins.map((bin) => { const rect = new Rect({ data: bin, xScale: this.xScale, yScale: this.yScale, color: this.colors[0], fillOpacity: 0.5, strokeWidth: 0, xAccessor: (bin) => bin.x0, yAccessor: (bin) => bin.length, widthAccessor: (bin) => this.xScale.scaleObject(bin.x1)! - this.xScale.scaleObject(bin.x0)!, heightAccessor: (bin) => -bin.length }) rect.mountTo(this.container!) return rect }) } /** * Handle move events from the delaunay triangulation. * * @returns handler function. */ onPointHandler(): InteractionFunction { return ([point]) => { this.activeBar = point.index // set tooltip if necessary if (!this.tooltip) return this.tooltip.update({ data: [point] }) } } /** * Handle leaving the delaunay triangulation area. * * @returns handler function. */ onLeaveHandler() { return () => { this.activeBar = -1 if (this.tooltip) this.tooltip.hide() } } /** * Mount new delaunay triangulation. */ mountDelaunay(): void { this.delaunayBar = new Rect({ xScale: this.xScale, yScale: this.yScale, xAccessor: (bin) => bin.x0, yAccessor: (bin) => bin.length, widthAccessor: (bin) => bin.x1 - bin.x0, heightAccessor: (bin) => -bin.length }) this.delaunay = new Delaunay({ points: this.bins.map((bin) => ({ x: (bin.x1 + bin.x0) / 2, y: 0, time: bin.x0, count: bin.length })), xAccessor: (d) => d.x, yAccessor: (d) => d.y, xScale: this.xScale, yScale: this.yScale, onPoint: this.onPointHandler(), onLeave: this.onLeaveHandler() }) this.delaunay.mountTo(this.container) } get activeBar() { return this._activeBar } set activeBar(i: number) { // if rexts are not set yet, abort if (!this.rects) { console.error('error: can not set active bar, rects are empty') return } // if a bar was previously set, de-set it if (this._activeBar !== -1) { this.rects[this._activeBar].update({ fillOpacity: 0.5 }) } // set state this._activeBar = i // set point to active if (i !== -1) this.rects[i].update({ fillOpacity: 1 }) } } ================================================ FILE: lib/src/charts/line.ts ================================================ import Line from '../components/line' import Area from '../components/area' import constants from '../misc/constants' import Delaunay, { IDelaunay } from '../components/delaunay' import { makeAccessorFunction } from '../misc/utility' import { AccessorFunction, LegendSymbol, InteractionFunction, EmptyInteractionFunction } from '../misc/typings' import { IPoint } from '../components/point' import { TooltipSymbol } from '../components/tooltip' import AbstractChart, { IAbstractChart } from './abstractChart' type ConfidenceBand = [AccessorFunction | string, AccessorFunction | string] interface ILineChart extends IAbstractChart { /** specifies for which sub-array of data an area should be shown. Boolean if data is a simple array */ area?: Array | boolean /** array with two elements specifying how to access the lower (first) and upper (second) value for the confidence band. The two elements work like accessors and are either a string or a function */ confidenceBand?: ConfidenceBand /** custom parameters passed to the voronoi generator */ voronoi?: Partial /** function specifying whether or not to show a given datapoint */ defined?: (point: any) => boolean /** accessor specifying for a given data point whether or not to show it as active */ activeAccessor?: AccessorFunction | string /** custom parameters passed to the active point generator. See {@see Point} for a list of parameters */ activePoint?: Partial } export default class LineChart extends AbstractChart { delaunay?: Delaunay defined?: (point: any) => boolean activeAccessor?: AccessorFunction activePoint?: Partial area?: Array | boolean confidenceBand?: ConfidenceBand delaunayParams?: Partial // one delaunay point per line delaunayPoints: Array = [] constructor({ area, confidenceBand, voronoi, defined, activeAccessor, activePoint, ...args }: ILineChart) { super(args) // if data is not a 2d array, die if (!Array.isArray(args.data[0])) throw new Error('data is not a 2-dimensional array.') if (defined) this.defined = defined if (activeAccessor) this.activeAccessor = makeAccessorFunction(activeAccessor) this.activePoint = activePoint ?? this.activePoint this.area = area ?? this.area this.confidenceBand = confidenceBand ?? this.confidenceBand this.delaunayParams = voronoi ?? this.delaunayParams this.redraw() } redraw(): void { this.mountLines() this.mountActivePoints(this.activePoint ?? {}) // generate areas if necessary this.mountAreas(this.area || false) // set tooltip type if (this.tooltip) { this.tooltip.update({ legendObject: TooltipSymbol.LINE }) this.tooltip.hide() } // generate confidence band if necessary if (this.confidenceBand) { this.mountConfidenceBand(this.confidenceBand) } // add markers and baselines this.mountMarkers() this.mountBaselines() // set up delaunay triangulation this.mountDelaunay(this.delaunayParams ?? {}) // mount legend if any this.mountLegend(LegendSymbol.LINE) // mount brush if necessary this.mountBrush(this.brush) } /** * Mount lines for each array of data points. */ mountLines(): void { // abort if container is not defined yet if (!this.container) { console.error('error: container is not defined yet') return } // compute lines and delaunay points this.data.forEach((lineData, index) => { const line = new Line({ data: lineData, xAccessor: this.xAccessor, yAccessor: this.yAccessor, xScale: this.xScale, yScale: this.yScale, color: this.colors[index], defined: this.defined }) this.delaunayPoints[index] = this.generatePoint({ radius: 3 }) line.mountTo(this.container!) }) } /** * If an active accessor is specified, mount active points. * @param params custom parameters for point generation. See {@see Point} for a list of options. */ mountActivePoints(params: Partial): void { // abort if container is not defined yet if (!this.container) { console.error('error: container is not defined yet') return } if (!this.activeAccessor) return this.data.forEach((pointArray, index) => { pointArray.filter(this.activeAccessor).forEach((data: any) => { const point = this.generatePoint({ data, color: this.colors[index], radius: 3, ...params }) point.mountTo(this.container!) }) }) } /** * Mount all specified areas. * * @param area specifies for which sub-array of data an area should be shown. Boolean if data is a simple array. */ mountAreas(area: Array | boolean): void { if (typeof area === 'undefined') return let areas: Array = [] const areaGenerator = (lineData: any, index: number) => new Area({ data: lineData, xAccessor: this.xAccessor, yAccessor: this.yAccessor, xScale: this.xScale, yScale: this.yScale, color: this.colors[index], defined: this.defined }) // if area is boolean and truthy, generate areas for each line if (typeof area === 'boolean' && area) { areas = this.data.map(areaGenerator) // if area is array, only show areas for the truthy lines } else if (Array.isArray(area)) { areas = this.data.filter((lineData, index) => area[index]).map(areaGenerator) } // mount areas areas.forEach((area) => area.mountTo(this.container)) } /** * Mount the confidence band specified by two accessors. * * @param lowerAccessor for the lower confidence bound. Either a string (specifying the property of the object representing the lower bound) or a function (returning the lower bound when given a data point). * @param upperAccessor for the upper confidence bound. Either a string (specifying the property of the object representing the upper bound) or a function (returning the upper bound when given a data point). */ mountConfidenceBand([lowerAccessor, upperAccessor]: ConfidenceBand): void { // abort if container is not set if (!this.container) { console.error('error: container not defined yet') return } const confidenceBandGenerator = new Area({ data: this.data[0], // confidence band only makes sense for one line xAccessor: this.xAccessor, y0Accessor: makeAccessorFunction(lowerAccessor), yAccessor: makeAccessorFunction(upperAccessor), xScale: this.xScale, yScale: this.yScale, color: '#aaa' }) confidenceBandGenerator.mountTo(this.container) } /** * Mount markers, if any. */ mountMarkers(): void { // abort if content is not set yet if (!this.content) { console.error('error: content container not set yet') return } const markerContainer = this.content.append('g').attr('transform', `translate(${this.left},${this.top})`) this.markers.forEach((marker) => { const x = this.xScale.scaleObject(this.xAccessor(marker)) markerContainer .append('line') .classed('line-marker', true) .attr('x1', x!) .attr('x2', x!) .attr('y1', this.yScale.range[0] + this.buffer) .attr('y2', this.yScale.range[1] + this.buffer) markerContainer.append('text').classed('text-marker', true).attr('x', x!).attr('y', 8).text(marker.label) }) } mountBaselines(): void { // abort if content is not set yet if (!this.content) { console.error('error: content container not set yet') return } const baselineContainer = this.content.append('g').attr('transform', `translate(${this.left},${this.top})`) this.baselines.forEach((baseline) => { const y = this.yScale.scaleObject(this.yAccessor(baseline)) baselineContainer .append('line') .classed('line-baseline', true) .attr('x1', this.xScale.range[0] + this.buffer) .attr('x2', this.xScale.range[1] + this.buffer) .attr('y1', y!) .attr('y2', y!) baselineContainer .append('text') .classed('text-baseline', true) .attr('x', this.xScale.range[1] + this.buffer) .attr('y', y! - 2) .text(baseline.label) }) } /** * Handle incoming points from the delaunay move handler. * * @returns handler function. */ onPointHandler(): InteractionFunction { return (points) => { // pre-hide all points this.delaunayPoints.forEach((dp) => dp.dismount()) points.forEach((point) => { const index = point.arrayIndex || 0 // set hover point this.delaunayPoints[index].update({ data: point, color: this.colors[index] }) this.delaunayPoints[index].mountTo(this.container) }) // set tooltip if necessary if (!this.tooltip) return this.tooltip.update({ data: points }) } } /** * Handles leaving the delaunay area. * * @returns handler function. */ onLeaveHandler(): EmptyInteractionFunction { return () => { this.delaunayPoints.forEach((dp) => dp.dismount()) if (this.tooltip) this.tooltip.hide() } } /** * Mount a new delaunay triangulation instance. * * @param customParameters custom parameters for {@link Delaunay}. */ mountDelaunay(customParameters: Partial): void { // abort if container is not set yet if (!this.container) { console.error('error: container not set yet') return } this.delaunay = new Delaunay({ points: this.data, xAccessor: this.xAccessor, yAccessor: this.yAccessor, xScale: this.xScale, yScale: this.yScale, onPoint: this.onPointHandler(), onLeave: this.onLeaveHandler(), defined: this.defined, ...customParameters }) this.delaunay.mountTo(this.container) } computeYAxisType(): void { // abort if no y axis is used if (!this.yAxis) { console.error('error: no y axis set') return } const flatData = this.data.flat() const yValue = this.yAccessor(flatData[0]) if (yValue instanceof Date) { this.yAxis.tickFormat = constants.axisFormat.date } else if (Number(yValue) === yValue) { this.yAxis.tickFormat = constants.axisFormat.number } } } ================================================ FILE: lib/src/charts/scatter.ts ================================================ import Delaunay from '../components/delaunay' import Rug, { RugOrientation } from '../components/rug' import { makeAccessorFunction } from '../misc/utility' import { AccessorFunction, LegendSymbol, InteractionFunction, EmptyInteractionFunction } from '../misc/typings' import Point from '../components/point' import { TooltipSymbol } from '../components/tooltip' import AbstractChart, { IAbstractChart } from './abstractChart' interface IScatterChart extends IAbstractChart { /** accessor specifying the size of a data point. Can be either a string (name of the size field) or a function (receiving a data point and returning its size) */ sizeAccessor?: string | AccessorFunction /** whether or not to generate a rug for the x axis */ xRug?: boolean /** whether or not to generate a rug for the x axis */ yRug?: boolean } interface ActivePoint { i: number j: number } export default class ScatterChart extends AbstractChart { points?: Array delaunay?: Delaunay delaunayPoint?: Point sizeAccessor: AccessorFunction showXRug: boolean xRug?: Rug showYRug: boolean yRug?: Rug _activePoint: ActivePoint = { i: -1, j: -1 } constructor({ sizeAccessor, xRug, yRug, ...args }: IScatterChart) { super(args) this.showXRug = xRug ?? false this.showYRug = yRug ?? false this.sizeAccessor = sizeAccessor ? makeAccessorFunction(sizeAccessor) : () => 3 this.redraw() } redraw(): void { // set up rugs if necessary this.mountRugs() // set tooltip type if (this.tooltip) { this.tooltip.update({ legendObject: TooltipSymbol.CIRCLE }) this.tooltip.hide() } // set up points this.mountPoints() // generate delaunator this.mountDelaunay() // mount legend if any this.mountLegend(LegendSymbol.CIRCLE) // mount brush if necessary this.mountBrush(this.brush) } /** * Mount new rugs. */ mountRugs(): void { // if content is not set yet, abort if (!this.content) { console.error('error: content not set yet') return } if (this.showXRug) { this.xRug = new Rug({ accessor: this.xAccessor, scale: this.xScale, colors: this.colors, data: this.data, left: this.plotLeft, top: this.innerHeight + this.plotTop + this.buffer, orientation: RugOrientation.HORIZONTAL // TODO how to pass tickLength etc? }) this.xRug.mountTo(this.content) } if (this.showYRug) { this.yRug = new Rug({ accessor: this.yAccessor, scale: this.yScale, colors: this.colors, data: this.data, left: this.left, top: this.plotTop, orientation: RugOrientation.VERTICAL }) this.yRug.mountTo(this.content) } } /** * Mount scatter points. */ mountPoints(): void { // if container is not set yet, abort if (!this.container) { console.error('error: container not set yet') return } this.points = this.data.map((pointSet, i) => pointSet.map((data: any) => { const point = this.generatePoint({ data, color: this.colors[i], radius: this.sizeAccessor(data) as number, fillOpacity: 0.3, strokeWidth: 1 }) point.mountTo(this.container!) return point }) ) } /** * Handle incoming points from the delaunay triangulation. * * @returns handler function */ onPointHandler(): InteractionFunction { return ([point]) => { this.activePoint = { i: point.arrayIndex ?? 0, j: point.index } // set tooltip if necessary if (!this.tooltip) return this.tooltip.update({ data: [point] }) } } /** * Handle leaving the delaunay area. * * @returns handler function */ onLeaveHandler(): EmptyInteractionFunction { return () => { this.activePoint = { i: -1, j: -1 } if (this.tooltip) this.tooltip.hide() } } /** * Mount new delaunay triangulation instance. */ mountDelaunay(): void { // if container is not set yet, abort if (!this.container) { console.error('error: container not set yet') return } this.delaunayPoint = this.generatePoint({ radius: 3 }) this.delaunay = new Delaunay({ points: this.data, xAccessor: this.xAccessor, yAccessor: this.yAccessor, xScale: this.xScale, yScale: this.yScale, nested: true, onPoint: this.onPointHandler(), onLeave: this.onLeaveHandler() }) this.delaunay.mountTo(this.container) } get activePoint() { return this._activePoint } set activePoint({ i, j }: ActivePoint) { // abort if points are not set yet if (!this.points) { console.error('error: cannot set point, as points are not set') return } // if a point was previously set, de-set it if (this._activePoint.i !== -1 && this._activePoint.j !== -1) { this.points[this._activePoint.i][this._activePoint.j].update({ fillOpacity: 0.3 }) } // set state this._activePoint = { i, j } // set point to active if (i !== -1 && j !== -1) this.points[i][j].update({ fillOpacity: 1 }) } } ================================================ FILE: lib/src/components/abstractShape.ts ================================================ import { SvgD3Selection } from '../misc/typings' import Scale from './scale' export interface IAbstractShape { /** datapoint used to generate shape */ data?: any /** scale used to compute x values */ xScale: Scale /** scale used to compute y values */ yScale: Scale /** color used for fill and strokes */ color?: string /** opacity of the shape fill */ fillOpacity?: number /** width of the stroke around the shape */ strokeWidth?: number } export default abstract class AbstractShape { data: any shapeObject: any xScale: Scale yScale: Scale color: string fillOpacity = 1 strokeWidth = 0 constructor({ data, xScale, yScale, color, fillOpacity, strokeWidth }: IAbstractShape) { this.data = data this.xScale = xScale this.yScale = yScale this.color = color ?? 'black' this.fillOpacity = fillOpacity ?? this.fillOpacity this.strokeWidth = strokeWidth ?? this.strokeWidth } /** * Render the shape and mount it to the given node. * Implemented by classes extending AbstractShape. * * @param svg D3 node to mount the shape to */ abstract mountTo(svg: SvgD3Selection): void /** * Hide the shape by setting the opacity to 0. This doesn't remove the shape. */ hide(): void { if (this.shapeObject) this.shapeObject.attr('opacity', 0) } /** * Update the given parameters of the object. * Implemented by classes extending AbstractShape. * * @param args parameters to be updated */ abstract update(args: any): void /** * Update generic properties of the shape. * This method can be used in the implementations of {@link AbstractShape#update}. * * @param color new color of the shape. * @param fillOpacity new fill opacity of the shape. * @param strokeWidth new stroke width of the shape. */ updateGeneric({ color, fillOpacity, strokeWidth }: Pick): void { if (color) this.updateColor(color) if (fillOpacity) this.updateOpacity(fillOpacity) if (strokeWidth) this.updateStroke(strokeWidth) } /** * Update the color of the shape. * * @param color new color of the shape. */ updateColor(color: string): void { this.color = color this.updateProp('fill', color) } /** * Update the fill opacity of the shape. * * @param fillOpacity new fill opacity of the shape. */ updateOpacity(fillOpacity: number): void { this.fillOpacity = fillOpacity this.updateProp('fill-opacity', fillOpacity) } /** * Update the stroke width of the shape. * * @param strokeWidth new stroke width of the shape. */ updateStroke(strokeWidth: number): void { this.strokeWidth = strokeWidth this.updateProp('stroke-width', strokeWidth) } /** * Update an attribute of the raw shape node. * * @param name attribute name * @param value new value */ updateProp(name: string, value: number | string): void { if (this.shapeObject) this.shapeObject.attr(name, value) } /** * Remove the shape. */ dismount(): void { if (this.shapeObject) this.shapeObject.remove() } } ================================================ FILE: lib/src/components/area.ts ================================================ import { area, curveCatmullRom, CurveFactory } from 'd3' import { AccessorFunction, DefinedFunction, SvgD3Selection } from '../misc/typings' import Scale from './scale' interface IArea { /** data for which the area should be created */ data: Array /** x accessor function */ xAccessor: AccessorFunction /** y accessor function */ yAccessor: AccessorFunction /** y base accessor function (defaults to 0) */ y0Accessor?: AccessorFunction /** alternative to yAccessor */ y1Accessor?: AccessorFunction /** scale used to scale elements in x direction */ xScale: Scale /** scale used to scale elements in y direction */ yScale: Scale /** curving function. See {@link https://github.com/d3/d3-shape#curves} for available curves in d3 */ curve?: CurveFactory /** color of the area */ color?: string /** specifies whether or not to show a given datapoint */ defined?: DefinedFunction } export default class Area { data: Array areaObject?: any index = 0 color = 'none' constructor({ data, xAccessor, yAccessor, y0Accessor, y1Accessor, xScale, yScale, curve, color, defined }: IArea) { this.data = data this.color = color ?? this.color const y0 = y0Accessor ?? ((d) => 0) const y1 = y1Accessor ?? yAccessor // set up line object this.areaObject = area() .defined((d) => { if (y0(d) === null || y1(d) === null) return false return !defined ? true : defined(d) }) .x((d) => xScale.scaleObject(xAccessor(d))) .y1((d) => yScale.scaleObject(y1(d))) .y0((d) => yScale.scaleObject(y0(d))) .curve(curve ?? curveCatmullRom) } /** * Mount the area to a given d3 node. * * @param svg d3 node to mount the area to. */ mountTo(svg: SvgD3Selection): void { svg.append('path').classed('mg-area', true).attr('fill', this.color).datum(this.data).attr('d', this.areaObject) } } ================================================ FILE: lib/src/components/axis.ts ================================================ import { axisTop, axisLeft, axisRight, axisBottom, format, timeFormat } from 'd3' import constants from '../misc/constants' import { GD3Selection, LineD3Selection, TextD3Selection, TextFunction } from '../misc/typings' import Scale from './scale' const DEFAULT_VERTICAL_OFFSET = 35 const DEFAULT_HORIZONTAL_OFFSET = 45 type NumberFormatFunction = (x: number) => string type DateFormatFunction = (x: Date) => string type FormatFunction = NumberFormatFunction | DateFormatFunction export enum AxisOrientation { TOP = 'top', BOTTOM = 'bottom', RIGHT = 'right', LEFT = 'left' } enum AxisFormat { DATE = 'date', NUMBER = 'number', PERCENTAGE = 'percentage' } export interface IAxis { /** scale of the axis */ scale: Scale /** buffer used by the chart, necessary to compute margins */ buffer: number /** whether or not to show the axis */ show?: boolean /** orientation of the axis */ orientation?: AxisOrientation /** optional label to place beside the axis */ label?: string /** offset between label and axis */ labelOffset?: number /** translation from the top of the chart's box to render the axis */ top?: number /** translation from the left of the chart's to render the axis */ left?: number /** can be 1) a function to format a given tick or a specifier, or 2) one of the available standard formatting types (date, number, percentage) or a string for d3-format */ tickFormat?: TextFunction | AxisFormat | string /** number of ticks to render, defaults to 3 for vertical and 6 for horizontal axes */ tickCount?: number /** whether or not to render a compact version of the axis (clamps the main axis line at the outermost ticks) */ compact?: boolean /** prefix for tick labels */ prefix?: string /** suffix for tick labels */ suffix?: string /** overwrite d3's default tick lengths */ tickLength?: number /** draw extended ticks into the graph (used to make a grid) */ extendedTicks?: boolean /** if extended ticks are used, this parameter specifies the inner length of ticks */ height?: number } export default class Axis { label = '' labelOffset = 0 top = 0 left = 0 scale: Scale orientation = AxisOrientation.BOTTOM axisObject: any compact = false extendedTicks = false buffer = 0 height = 0 prefix = '' suffix = '' constructor({ orientation, label, labelOffset, top, left, height, scale, tickFormat, tickCount, compact, buffer, prefix, suffix, tickLength, extendedTicks }: IAxis) { this.scale = scale this.label = label ?? this.label this.buffer = buffer ?? this.buffer this.top = top ?? this.top this.left = left ?? this.left this.height = height ?? this.height this.orientation = orientation ?? this.orientation this.compact = compact ?? this.compact this.prefix = prefix ?? this.prefix this.suffix = suffix ?? this.suffix if (typeof tickLength !== 'undefined') this.tickLength = tickLength this.extendedTicks = extendedTicks ?? this.extendedTicks this.setLabelOffset(labelOffset) this.setupAxisObject() // set or compute tickFormat if (tickFormat) this.tickFormat = tickFormat this.tickCount = tickCount ?? (this.isVertical ? 3 : 6) } /** * Set the label offset. * * @param labelOffset offset of the label. */ setLabelOffset(labelOffset?: number): void { this.labelOffset = typeof labelOffset !== 'undefined' ? labelOffset : this.isVertical ? DEFAULT_HORIZONTAL_OFFSET : DEFAULT_VERTICAL_OFFSET } /** * Set up the main axis object. */ setupAxisObject(): void { switch (this.orientation) { case constants.axisOrientation.top: this.axisObject = axisTop(this.scale.scaleObject) break case constants.axisOrientation.left: this.axisObject = axisLeft(this.scale.scaleObject) break case constants.axisOrientation.right: this.axisObject = axisRight(this.scale.scaleObject) break default: this.axisObject = axisBottom(this.scale.scaleObject) break } } /** * Get the domain object call function. * @returns that mounts the domain when called. */ domainObject() { return (g: GD3Selection): LineD3Selection => g .append('line') .classed('domain', true) .attr('x1', this.isVertical ? 0.5 : this.compact ? this.buffer : 0) .attr('x2', this.isVertical ? 0.5 : this.compact ? this.scale.range[1] : this.scale.range[1] + 2 * this.buffer) .attr('y1', this.isVertical ? (this.compact ? this.top + 0.5 : 0.5) : 0) .attr( 'y2', this.isVertical ? (this.compact ? this.scale.range[0] + 0.5 : this.scale.range[0] + 2 * this.buffer + 0.5) : 0 ) } /** * Get the label object call function. * @returns {Function} that mounts the label when called. */ labelObject(): (node: GD3Selection) => TextD3Selection { const value = Math.abs(this.scale.range[0] - this.scale.range[1]) / 2 const xValue = this.isVertical ? -this.labelOffset : value const yValue = this.isVertical ? value : this.labelOffset return (g) => g .append('text') .attr('x', xValue) .attr('y', yValue) .attr('text-anchor', 'middle') .classed('label', true) .attr('transform', this.isVertical ? `rotate(${-90} ${xValue},${yValue})` : '') .text(this.label) } get isVertical(): boolean { return [constants.axisOrientation.left, constants.axisOrientation.right].includes(this.orientation) } get innerLeft(): number { return this.isVertical ? 0 : this.buffer } get innerTop(): number { return this.isVertical ? this.buffer : 0 } get tickAttribute(): string { return this.isVertical ? 'x1' : 'y1' } get extendedTickLength(): number { const factor = this.isVertical ? 1 : -1 return factor * (this.height + 2 * this.buffer) } /** * Mount the axis to the given d3 node. * @param svg d3 node. */ mountTo(svg: GD3Selection): void { // set up axis container const axisContainer = svg .append('g') .attr('transform', `translate(${this.left},${this.top})`) .classed('mg-axis', true) // if no extended ticks are used, draw the domain line if (!this.extendedTicks) axisContainer.call(this.domainObject()) // mount axis but remove default-generated domain axisContainer .append('g') .attr('transform', `translate(${this.innerLeft},${this.innerTop})`) .call(this.axisObject) .call((g) => g.select('.domain').remove()) // if necessary, make ticks longer if (this.extendedTicks) { axisContainer.call((g) => g.selectAll('.tick line').attr(this.tickAttribute, this.extendedTickLength).attr('opacity', 0.3) ) } // if necessary, add label if (this.label !== '') axisContainer.call(this.labelObject()) } /** * Compute the time formatting function based on the time domain. * @returns d3 function for formatting time. */ diffToTimeFormat(): FormatFunction { const diff = Math.abs(this.scale.domain[1] - this.scale.domain[0]) / 1000 const millisecondDiff = diff < 1 const secondDiff = diff < 60 const dayDiff = diff / (60 * 60) < 24 const fourDaysDiff = diff / (60 * 60) < 24 * 4 const manyDaysDiff = diff / (60 * 60 * 24) < 60 const manyMonthsDiff = diff / (60 * 60 * 24) < 365 return millisecondDiff ? timeFormat('%M:%S.%L') : secondDiff ? timeFormat('%M:%S') : dayDiff ? timeFormat('%H:%M') : fourDaysDiff || manyDaysDiff || manyMonthsDiff ? timeFormat('%b %d') : timeFormat('%Y') } /** * Get the d3 number formatting function for an abstract number type. * * @param formatType abstract format to be converted (number, date, percentage) * @returns d3 formatting function for the given abstract number type. */ stringToFormat(formatType: AxisFormat | string): FormatFunction { switch (formatType) { case constants.axisFormat.number: return this.isVertical ? format('~s') : format('') case constants.axisFormat.date: return this.diffToTimeFormat() case constants.axisFormat.percentage: return format('.0%') default: return format(formatType) } } get tickFormat() { return this.axisObject.tickFormat() } set tickFormat(tickFormat: FormatFunction | string) { // if tickFormat is a function, apply it directly const formatFunction = typeof tickFormat === 'function' ? tickFormat : this.stringToFormat(tickFormat) this.axisObject.tickFormat((d: any) => `${this.prefix}${formatFunction(d)}${this.suffix}`) } get tickCount() { return this.axisObject.ticks() } set tickCount(tickCount: number) { this.axisObject.ticks(tickCount) } get tickLength() { return this.axisObject.tickSize() } set tickLength(length: number) { this.axisObject.tickSize(length) } } ================================================ FILE: lib/src/components/delaunay.ts ================================================ import { Delaunay as DelaunayObject, pointer } from 'd3' import { AccessorFunction, InteractionFunction, EmptyInteractionFunction, DefinedFunction, GenericD3Selection } from '../misc/typings' import Scale from './scale' export interface IDelaunay { /** raw data basis for delaunay computations, can be nested */ points: Array /** function to access the x value for a given data point */ xAccessor: AccessorFunction /** function to access the y value for a given data point */ yAccessor: AccessorFunction /** scale used to scale elements in x direction */ xScale: Scale /** scale used to scale elements in y direction */ yScale: Scale /** function called with the array of nearest points on mouse movement -- if aggregate is false, the array will contain at most one element */ onPoint?: InteractionFunction /** function called when the delaunay area is left */ onLeave?: EmptyInteractionFunction /** function called with the array of nearest points on mouse click in the delaunay area -- if aggregate is false, the array will contain at most one element */ onClick?: InteractionFunction /** whether or not the points array contains sub-arrays */ nested?: boolean /** if multiple points have the same x value and should be shown together, aggregate can be set to true */ aggregate?: boolean /** optional function specifying whether or not to show a given datapoint */ defined?: DefinedFunction } export default class Delaunay { points?: Array aggregatedPoints: any delaunay: any xScale: Scale yScale: Scale xAccessor: AccessorFunction yAccessor: AccessorFunction aggregate = false onPoint: InteractionFunction onClick?: InteractionFunction onLeave: EmptyInteractionFunction constructor({ points, xAccessor, yAccessor, xScale, yScale, onPoint, onLeave, onClick, nested, aggregate, defined }: IDelaunay) { this.xAccessor = xAccessor this.yAccessor = yAccessor this.xScale = xScale this.yScale = yScale this.onPoint = onPoint ?? (() => null) this.onLeave = onLeave ?? (() => null) this.onClick = onClick ?? this.onClick this.aggregate = aggregate ?? this.aggregate // normalize passed points const isNested = nested ?? (Array.isArray(points[0]) && points.length > 1) this.normalizePoints({ points, nested: isNested, aggregate, defined }) // set up delaunay this.mountDelaunay(isNested, this.aggregate) } /** * Create a new delaunay triangulation. * * @param isNested whether or not the data is nested * @param aggregate whether or not to aggregate points based on their x value */ mountDelaunay(isNested: boolean, aggregate: boolean): void { // if points are not set yet, stop if (!this.points) { console.error('error: points not defined') return } this.delaunay = DelaunayObject.from( this.points.map((point) => [ this.xAccessor(point) as number, (isNested && !aggregate ? this.yAccessor(point) : 0) as number ]) ) } /** * Normalize the passed data points. * * @param {Object} args argument object * @param {Array} args.points raw data array * @param {Boolean} args.isNested whether or not the points are nested * @param {Boolean} args.aggregate whether or not to aggregate points based on their x value * @param {Function} [args.defined] optional function specifying whether or not to show a given datapoint. */ normalizePoints({ points, nested, aggregate, defined }: Pick): void { this.points = nested ? points .map((pointArray, arrayIndex) => pointArray .filter((p: any) => !defined || defined(p)) .map((point: any, index: number) => ({ ...point, index, arrayIndex })) ) .flat(Infinity) : points .flat(Infinity) .filter((p) => !defined || defined(p)) .map((p, index) => ({ ...p, index })) // if points should be aggregated, hash-map them based on their x accessor value if (!aggregate) return this.aggregatedPoints = this.points.reduce((acc, val) => { const key = JSON.stringify(this.xAccessor(val)) if (!acc.has(key)) { acc.set(key, [val]) } else { acc.set(key, [val, ...acc.get(key)]) } return acc }, new Map()) } /** * Handle raw mouse movement inside the delaunay rect. * Finds the nearest data point(s) and calls onPoint. * * @param rawX raw x coordinate of the cursor. * @param rawY raw y coordinate of the cursor. */ gotPoint(rawX: number, rawY: number): void { // if points are empty, return if (!this.points) { console.error('error: points are empty') return } const x = this.xScale.scaleObject.invert(rawX) const y = this.yScale.scaleObject.invert(rawY) // find nearest point const index = this.delaunay.find(x, y) // if points should be aggregated, get all points with the same x value if (this.aggregate) { this.onPoint(this.aggregatedPoints.get(JSON.stringify(this.xAccessor(this.points[index])))) } else { this.onPoint([this.points[index]]) } } /** * Handle raw mouse clicks inside the delaunay rect. * Finds the nearest data point(s) and calls onClick. * * @param rawX raw x coordinate of the cursor. * @param rawY raw y coordinate of the cursor. */ clickedPoint(rawX: number, rawY: number): void { // if points empty, abort if (!this.points) { console.error('error: points empty') return } const x = this.xScale.scaleObject.invert(rawX) const y = this.yScale.scaleObject.invert(rawY) // find nearest point const index = this.delaunay.find(x, y) if (this.onClick) this.onClick({ ...this.points[index], index }) } /** * Mount the delaunator to a given d3 node. * * @param svg d3 selection to mount the delaunay elements to. */ mountTo(svg: GenericD3Selection): void { svg.on('mousemove', (event) => { const coords = pointer(event) this.gotPoint(coords[0], coords[1]) }) svg.on('mouseleave', () => { this.onLeave() }) svg.on('click', (event) => { const coords = pointer(event) this.clickedPoint(coords[0], coords[1]) }) } } ================================================ FILE: lib/src/components/legend.ts ================================================ import { select } from 'd3' import constants from '../misc/constants' import { LegendSymbol } from '../misc/typings' interface ILegend { /** array of descriptive legend strings */ legend: Array /** colors used for the legend -- will be darkened for better visibility */ colorScheme: Array /** symbol used in the legend */ symbolType: LegendSymbol } export default class Legend { legend: Array colorScheme: Array symbolType: LegendSymbol constructor({ legend, colorScheme, symbolType }: ILegend) { this.legend = legend this.colorScheme = colorScheme this.symbolType = symbolType } /** * Darken a given color by a given amount. * * @see https://css-tricks.com/snippets/javascript/lighten-darken-color/ * @param color hex color specifier * @param amount how much to darken the color * @returns darkened color in hex representation. */ darkenColor(color: string, amount: number): string { // remove hash color = color.slice(1) const num = parseInt(color, 16) const r = this.clamp((num >> 16) + amount) const b = this.clamp(((num >> 8) & 0x00ff) + amount) const g = this.clamp((num & 0x0000ff) + amount) return '#' + (g | (b << 8) | (r << 16)).toString(16) } /** * Clamp a number between 0 and 255. * * @param number number to be clamped. * @returns clamped number. */ clamp(number: number): number { return number > 255 ? 255 : number < 0 ? 0 : number } /** * Mount the legend to the given node. * * @param node d3 specifier or d3 node to mount the legend to. */ mountTo(node: any) { const symbol = constants.symbol[this.symbolType] // create d3 selection if necessary const target = typeof node === 'string' ? select(node).append('div') : node.append('div') target.classed('mg-legend', true) this.legend.forEach((item, index) => { target .append('span') .classed('text-legend', true) .style('color', this.darkenColor(this.colorScheme[index], -10)) .text(`${symbol} ${item}`) }) } } ================================================ FILE: lib/src/components/line.ts ================================================ import { line, curveCatmullRom, CurveFactory } from 'd3' import { AccessorFunction, SvgD3Selection } from '../misc/typings' import Scale from './scale' interface ILine { /** array of datapoints used to create the line */ data: Array /** function to access the x value for a given datapoint */ xAccessor: AccessorFunction /** function to access the y value for a given datapoint */ yAccessor: AccessorFunction /** scale used to compute x values */ xScale: Scale /** scale used to compute y values */ yScale: Scale /** curving function used to draw the line. See {@link https://github.com/d3/d3-shape#curves} for curves available in d3 */ curve?: CurveFactory /** color of the line */ color?: string /** function specifying whether or not to show a given datapoint */ defined?: (datapoint: any) => boolean } export default class Line { lineObject?: any data: Array color: string constructor({ data, xAccessor, yAccessor, xScale, yScale, curve, color, defined }: ILine) { // cry if no data was passed if (!data) throw new Error('line needs data') this.data = data this.color = color ?? 'black' // set up line object this.lineObject = line() .defined((d) => { if (yAccessor(d) === null) return false if (typeof defined === 'undefined') return true return defined(d) }) .x((d) => xScale.scaleObject(xAccessor(d))) .y((d) => yScale.scaleObject(yAccessor(d))) .curve(curve ?? curveCatmullRom) } /** * Mount the line to the given d3 node. * * @param svg d3 node to mount the line to. */ mountTo(svg: SvgD3Selection): void { svg.append('path').classed('mg-line', true).attr('stroke', this.color).datum(this.data).attr('d', this.lineObject) } } ================================================ FILE: lib/src/components/point.ts ================================================ import { AccessorFunction, SvgD3Selection } from '../misc/typings' import AbstractShape, { IAbstractShape } from './abstractShape' export interface IPoint extends IAbstractShape { /** function to access the x value of the point */ xAccessor: AccessorFunction /** function to access the y value of the point */ yAccessor: AccessorFunction /** radius of the point */ radius?: number } export default class Point extends AbstractShape { xAccessor: AccessorFunction yAccessor: AccessorFunction radius = 1 constructor({ xAccessor, yAccessor, radius, ...args }: IPoint) { super(args) this.xAccessor = xAccessor this.yAccessor = yAccessor this.radius = radius ?? this.radius } get cx(): number { return this.xScale.scaleObject(this.xAccessor(this.data)) } get cy(): number { return this.yScale.scaleObject(this.yAccessor(this.data)) } /** * Mount the point to the given node. * * @param svg d3 node to mount the point to. */ mountTo(svg: SvgD3Selection): void { this.shapeObject = svg .append('circle') .attr('cx', this.cx) .attr('pointer-events', 'none') .attr('cy', this.cy) .attr('r', this.radius) .attr('fill', this.color) .attr('stroke', this.color) .attr('fill-opacity', this.fillOpacity) .attr('stroke-width', this.strokeWidth) } /** * Update the point. * * @param data point object */ update({ data, ...args }: IAbstractShape): void { this.updateGeneric(args) if (data) { this.data = data if (!this.shapeObject) return this.shapeObject.attr('cx', this.cx).attr('cy', this.cy).attr('opacity', 1) } } } ================================================ FILE: lib/src/components/rect.ts ================================================ import { AccessorFunction, GenericD3Selection } from '../misc/typings' import AbstractShape, { IAbstractShape } from './abstractShape' interface IRect extends IAbstractShape { /** function to access the x value of the rectangle */ xAccessor: AccessorFunction /** function to access the y value of the rectangle */ yAccessor: AccessorFunction /** function to access the width of the rectangle */ widthAccessor: AccessorFunction /** function to access the height of the rectangle */ heightAccessor: AccessorFunction } export default class Rect extends AbstractShape { xAccessor: AccessorFunction yAccessor: AccessorFunction widthAccessor: AccessorFunction heightAccessor: AccessorFunction constructor({ xAccessor, yAccessor, widthAccessor, heightAccessor, ...args }: IRect) { super(args) this.xAccessor = xAccessor this.yAccessor = yAccessor this.widthAccessor = widthAccessor this.heightAccessor = heightAccessor } get x(): number { return this.xScale.scaleObject(this.xAccessor(this.data)) } get y(): number { return this.yScale.scaleObject(this.yAccessor(this.data)) } get width(): number { return Math.max(0, Math.abs(this.widthAccessor(this.data))) } get height(): number { return Math.max(0, this.yScale.scaleObject(this.heightAccessor(this.data))) } /** * Mount the rectangle to the given node. * * @param svg d3 node to mount the rectangle to. */ mountTo(svg: GenericD3Selection): void { this.shapeObject = svg .append('rect') .attr('x', this.x) .attr('y', this.y) .attr('width', this.width) .attr('height', this.height) .attr('pointer-events', 'none') .attr('fill', this.color) .attr('stroke', this.color) .attr('fill-opacity', this.fillOpacity) .attr('stroke-width', this.strokeWidth) } /** * Update the rectangle. * * @param data updated data object. */ update({ data, ...args }: Partial): void { this.updateGeneric(args) if (data) { this.data = data if (!this.shapeObject) return this.shapeObject .attr('x', this.x) .attr('y', this.y) .attr('width', this.width) .attr('height', this.height) .attr('opacity', 1) } } } ================================================ FILE: lib/src/components/rug.ts ================================================ import constants from '../misc/constants' import { AccessorFunction, GenericD3Selection } from '../misc/typings' import Scale from './scale' export enum RugOrientation { HORIZONTAL = 'horizontal', VERTICAL = 'vertical' } interface IRug { /** accessor used to get the rug value for a given datapoint */ accessor: AccessorFunction /** scale function of the rug */ scale: Scale /** data to be rugged */ data: Array /** length of the rug's ticks */ tickLength?: number /** color scheme of the rug ticks */ colors?: Array /** orientation of the rug */ orientation?: RugOrientation /** left margin of the rug */ left?: number /** top margin of the rug */ top?: number } export default class Rug { accessor: AccessorFunction scale: Scale rugObject: any data: Array left = 0 top = 0 tickLength = 5 colors = constants.defaultColors orientation = RugOrientation.HORIZONTAL constructor({ accessor, scale, data, tickLength, colors, orientation, left, top }: IRug) { this.accessor = accessor this.scale = scale this.data = data this.tickLength = tickLength ?? this.tickLength this.colors = colors ?? this.colors this.orientation = orientation ?? this.orientation this.left = left ?? this.left this.top = top ?? this.top } get isVertical(): boolean { return this.orientation === constants.orientation.vertical } /** * Mount the rug to the given node. * * @param svg d3 node to mount the rug to. */ mountTo(svg: GenericD3Selection): void { // add container const top = this.isVertical ? this.top : this.top - this.tickLength const container = svg.append('g').attr('transform', `translate(${this.left},${top})`) // add lines this.data.forEach((dataArray, i) => dataArray.forEach((datum: any) => { const value = this.scale.scaleObject(this.accessor(datum)) container .append('line') .attr(this.isVertical ? 'y1' : 'x1', value!) .attr(this.isVertical ? 'y2' : 'x2', value!) .attr(this.isVertical ? 'x1' : 'y1', 0) .attr(this.isVertical ? 'x2' : 'y2', this.tickLength) .attr('stroke', this.colors[i]) }) ) } } ================================================ FILE: lib/src/components/scale.ts ================================================ import { scaleLinear, ScaleLinear } from 'd3' import { Domain, Range } from '../misc/typings' enum ScaleType { LINEAR = 'linear' } type SupportedScale = ScaleLinear interface IScale { /** type of scale (currently only linear) */ type?: ScaleType /** scale range */ range?: Range /** scale domain */ domain?: Domain /** overwrites domain lower bound */ minValue?: number /** overwrites domain upper bound */ maxValue?: number } export default class Scale { type: ScaleType scaleObject: SupportedScale minValue?: number maxValue?: number constructor({ type, range, domain, minValue, maxValue }: IScale) { this.type = type ?? ScaleType.LINEAR this.scaleObject = this.getScaleObject(this.type) // set optional custom ranges and domains if (range) this.range = range if (domain) this.domain = domain // set optional min and max this.minValue = minValue this.maxValue = maxValue } /** * Get the d3 scale object for a given scale type. * * @param {String} type scale type * @returns {Object} d3 scale type */ getScaleObject(type: ScaleType): SupportedScale { switch (type) { default: return scaleLinear() } } get range(): Range { return this.scaleObject.range() } set range(range: Range) { this.scaleObject.range(range) } get domain(): Domain { return this.scaleObject.domain() } set domain(domain: Domain) { // fix custom domain values if necessary if (typeof this.minValue !== 'undefined') domain[0] = this.minValue if (typeof this.maxValue !== 'undefined') domain[1] = this.maxValue this.scaleObject.domain(domain) } } ================================================ FILE: lib/src/components/tooltip.ts ================================================ import constants from '../misc/constants' import { TextFunction, AccessorFunction, GenericD3Selection } from '../misc/typings' export enum TooltipSymbol { CIRCLE = 'circle', LINE = 'line', SQUARE = 'square' } interface ITooltip { /** symbol to show in the tooltip (defaults to line) */ legendObject?: TooltipSymbol /** description of the different data arrays shown in the legend */ legend?: Array /** array of colors for the different data arrays, defaults to schemeCategory10 */ colors?: Array /** custom text formatting function -- generated from accessors if not defined */ textFunction?: TextFunction /** entries to show in the tooltip, usually empty when first instantiating */ data?: Array /** margin to the left of the tooltip */ left?: number /** margin to the top of the tooltip */ top?: number /** if no custom text function is specified, specifies how to get the x value from a specific data point */ xAccessor?: AccessorFunction /** if no custom text function is specified, specifies how to get the y value from a specific data point */ yAccessor?: AccessorFunction } export default class Tooltip { legendObject = TooltipSymbol.LINE legend: Array colors = constants.defaultColors data: Array left = 0 top = 0 node: any textFunction = (x: any) => 'bla' constructor({ legendObject, legend, colors, textFunction, data, left, top, xAccessor, yAccessor }: ITooltip) { this.legendObject = legendObject ?? this.legendObject this.legend = legend ?? [] this.colors = colors ?? this.colors this.setTextFunction(textFunction, xAccessor, yAccessor) this.data = data ?? [] this.left = left ?? this.left this.top = top ?? this.top } /** * Sets the text function for the tooltip. * * @param textFunction custom text function for the tooltip text. Generated from xAccessor and yAccessor if not * @param xAccessor if no custom text function is specified, this function specifies how to get the x value from a specific data point. * @param yAccessor if no custom text function is specified, this function specifies how to get the y value from a specific data point. */ setTextFunction(textFunction?: TextFunction, xAccessor?: AccessorFunction, yAccessor?: AccessorFunction): void { this.textFunction = textFunction || (xAccessor && yAccessor ? this.baseTextFunction(xAccessor, yAccessor) : this.textFunction) } /** * If no textFunction was specified when creating the tooltip instance, this method generates a text function based on the xAccessor and yAccessor. * * @param xAccessor returns the x value of a given data point. * @param yAccessor returns the y value of a given data point. * @returns base text function used to render the tooltip for a given datapoint. */ baseTextFunction(xAccessor: AccessorFunction, yAccessor: AccessorFunction): TextFunction { return (point: any) => `${xAccessor(point)}: ${yAccessor(point)}` } /** * Update the tooltip. */ update({ data, legendObject, legend }: Pick): void { this.data = data ?? this.data this.legendObject = legendObject ?? this.legendObject this.legend = legend ?? this.legend this.addText() } /** * Hide the tooltip (without destroying it). */ hide(): void { this.node.attr('opacity', 0) } /** * Mount the tooltip to the given d3 node. * * @param svg d3 node to mount the tooltip to. */ mountTo(svg: GenericD3Selection): void { this.node = svg .append('g') .style('font-size', '0.7rem') .attr('transform', `translate(${this.left},${this.top})`) .attr('opacity', 0) this.addText() } /** * Adds the text to the tooltip. * For each datapoint in the data array, one line is added to the tooltip. */ addText(): void { // first, clear existing content this.node.selectAll('*').remove() // second, add one line per data entry this.node.attr('opacity', 1) this.data.forEach((datum, index) => { const symbol = constants.symbol[this.legendObject] const realIndex = datum.arrayIndex ?? index const color = this.colors[realIndex] const node = this.node .append('text') .attr('text-anchor', 'end') .attr('y', index * 12) // category node.append('tspan').classed('text-category', true).attr('fill', color).text(this.legend[realIndex]) // symbol node.append('tspan').attr('dx', '6').attr('fill', color).text(symbol) // text node .append('tspan') .attr('dx', '6') .text(`${this.textFunction(datum)}`) }) } } ================================================ FILE: lib/src/index.ts ================================================ export { default as LineChart } from './charts/line' export { default as ScatterChart } from './charts/scatter' export { default as HistogramChart } from './charts/histogram' ================================================ FILE: lib/src/mg.css ================================================ .mg-graph .domain { stroke: #b3b2b2; } .mg-graph .tick line { stroke: #b3b2b2; } .mg-graph .tick text { font-size: 0.7rem; fill: black; opacity: 0.6; } .mg-graph .label { font-size: 0.8rem; font-weight: 600; opacity: 0.8; } .mg-graph .line-marker { stroke: #ccc; stroke-width: 1px; stroke-dasharray: 2; } .mg-graph .line-baseline { stroke: #ccc; stroke-width: 1px; } .mg-graph .text-marker { text-anchor: middle; font-size: 0.7rem; fill: black; } .mg-graph .text-baseline { text-anchor: end; font-size: 0.7rem; fill: black; } .mg-graph .text-category { font-weight: bold; } .mg-line { stroke-width: 1; fill: none; } .mg-area { fill-opacity: 0.3; } .text-legend { margin-right: 1em; font-size: 0.7rem; } ================================================ FILE: lib/src/misc/constants.ts ================================================ const constants = { chartType: { line: 'line', histogram: 'histogram', bar: 'bar', point: 'point' }, axisOrientation: { top: 'top', bottom: 'bottom', left: 'left', right: 'right' }, scaleType: { categorical: 'categorical', linear: 'linear', log: 'log' }, axisFormat: { date: 'date', number: 'number', percentage: 'percentage' }, legendObject: { circle: 'circle', line: 'line', square: 'square' }, symbol: { line: '—', circle: '•', square: '■' }, orientation: { vertical: 'vertical', horizontal: 'horizontal' }, defaultColors: [ '#1f77b4', '#ff7f0e', '#2ca02c', '#d62728', '#9467bd', '#8c564b', '#e377c2', '#7f7f7f', '#bcbd22', '#17becf' ] } export default constants ================================================ FILE: lib/src/misc/typings.ts ================================================ import { Selection } from 'd3' export interface AccessorFunction { (dataObject: X): Y } export interface TextFunction { (dataObject: unknown): string } export interface InteractionFunction { (pointArray: Array): void } export interface EmptyInteractionFunction { (): void } export interface DefinedFunction { (dataObject: unknown): boolean } export interface Margin { left: number right: number bottom: number top: number } export interface DomainObject { x: Domain y: Domain } export enum LegendSymbol { LINE = 'line', CIRCLE = 'circle', SQUARE = 'square' } export type BrushType = 'xy' | 'x' | 'y' export type Domain = number[] export type Range = number[] export type GenericD3Selection = Selection export type SvgD3Selection = Selection export type GD3Selection = Selection export type LineD3Selection = Selection export type TextD3Selection = Selection ================================================ FILE: lib/src/misc/utility.ts ================================================ import { AccessorFunction } from './typings' /** * Handle cases where the user specifies an accessor string instead of an accessor function. * * @param functionOrString accessor string/function to be made an accessor function * @returns accessor function */ export function makeAccessorFunction(functionOrString: AccessorFunction | string): AccessorFunction { return typeof functionOrString === 'string' ? (d: any) => d[functionOrString] : functionOrString } /** * Generate a random id. * Used to create ids for clip paths, which need to be referenced by id. * * @returns random id string. */ export function randomId(): string { return Math.random().toString(36).substring(2, 15) } ================================================ FILE: lib/tsconfig.json ================================================ { "compilerOptions": { "target": "ESNext", "module": "ESNext", "moduleResolution": "node", "lib": ["ES2020", "DOM"], "strict": true, "sourceMap": true, "declaration": true, "esModuleInterop": true, "forceConsistentCasingInFileNames": true, "outDir": "dist" }, "include": ["src/**/*.ts"] } ================================================ FILE: package.json ================================================ { "private": true, "workspaces": [ "lib", "app" ], "repository": "github:metricsgraphics/metrics-graphics", "contributors": [ "Ali Almossawi", "Hamilton Ulmer", "William Lachance", "Jens Ochsenmeier" ], "license": "MPL-2.0", "bugs": { "url": "https://github.com/metricsgraphics/metrics-graphics/issues" }, "homepage": "http://metricsgraphicsjs.org", "dependencies": {}, "devDependencies": { "@typescript-eslint/eslint-plugin": "^5.25.0", "@typescript-eslint/parser": "^5.25.0", "eslint": "^8.15.0", "eslint-config-prettier": "^8.5.0", "eslint-config-standard": "^17.0.0", "eslint-plugin-import": "^2.26.0", "eslint-plugin-n": "^15.2.0", "eslint-plugin-prettier": "^4.0.0", "eslint-plugin-promise": "^6.0.0", "eslint-plugin-react": "^7.30.0", "eslint-plugin-react-hooks": "^4.5.0", "prettier": "^2.6.2", "typescript": "^4.6.4" } }