diff --git a/.eslintrc b/.eslintrc index 99f6029..873ec96 100644 --- a/.eslintrc +++ b/.eslintrc @@ -12,6 +12,17 @@ "sourceType": "module", "impliedStrict": true }, + "env": { + "node":true + }, + "overrides": [ + { + "files": ["test/**/*"], + "env": { + "jest": true + } + } + ], "rules": { "no-sparse-arrays": 0, "no-inner-declarations": 0, @@ -27,6 +38,11 @@ "@typescript-eslint/ban-ts-ignore": 0, "@typescript-eslint/no-empty-interface": 1, "@typescript-eslint/camelcase": 0, - "@typescript-eslint/no-explicit-any": 0 + "@typescript-eslint/no-explicit-any": 0, + "@typescript-eslint/no-unsafe-declaration-merging":"off", + "@typescript-eslint/prefer-ts-expect-error":"off", + "@typescript-eslint/ban-ts-comment":"off", + "@typescript-eslint/ban-types":"off", + "@typescript-eslint/no-var-requires":"off" } } diff --git a/bin/screenshot.js b/bin/screenshot.js index e859e9c..ae8ca4f 100755 --- a/bin/screenshot.js +++ b/bin/screenshot.js @@ -35,28 +35,29 @@ app.use('/', serveStatic(process.cwd())); const DELAY = 10000; -getPort().then(port => { +getPort().then((port) => { http.createServer(app).listen(port); const url = 'http://127.0.0.1:' + port; debug('server is ready on port ' + port + '! url: ' + url); const q = queue(MAX_POOL_SIZE > 2 ? MAX_POOL_SIZE - 1 : MAX_POOL_SIZE); - const files = ls(src).filter(filename => (extname(filename) === '.html')); - files.forEach(filename => { + const files = ls(src).filter((filename) => extname(filename) === '.html'); + files.forEach((filename) => { const name = basename(filename, '.html'); if (_.isString(commander.name) && filename.indexOf(commander.name) === -1) { debug(`>>>>>>>>> skipping because filename not matched: ${name}`); return; } - q.defer(callback => { + q.defer((callback) => { const t0 = Date.now(); const nightmare = Nightmare({ gotoTimeout: 600000, - show: false + show: false, }); const url = `http://127.0.0.1:${port}/demos/${name}.html`; const target = join(dest, `./${name}.png`); - nightmare.viewport(800, 450) // 16 x 9 + nightmare + .viewport(800, 450) // 16 x 9 .goto(url) .wait(DELAY) .screenshot(target, () => { @@ -64,14 +65,14 @@ getPort().then(port => { callback(null); }) .end() - .catch(e => { + .catch((e) => { debug(url); debug(target); debug(name + ' failed to take a screenshot: ' + e); }); }); }); - q.awaitAll(error => { + q.awaitAll((error) => { if (error) { debug(error); process.exit(1); diff --git a/bundler/app.js b/bundler/app.js index f1075d4..51d514a 100644 --- a/bundler/app.js +++ b/bundler/app.js @@ -1,184 +1,187 @@ -process.env.DEBUG = 'app:*'; -const debug = require('debug')('app:demos'); -const commander = require('commander'); -const connect = require('connect'); -const getPort = require('get-port'); -const http = require('http'); -const open = require('open'); -const serveStatic = require('serve-static'); -const bodyParser = require('body-parser'); -const parseurl = require('parseurl'); -const url = require('url'); -const assign = require('lodash').assign; -const path = require('path'); -const resolve = path.resolve; -const join = path.join; -const fs = require('fs'); -const JSZip = require('jszip'); -const readFileSync = fs.readFileSync; -const writeFileSync = fs.writeFileSync; -const nunjucks = require('nunjucks'); -const renderString = nunjucks.renderString; -const shelljs = require('shelljs'); -const webpack = require('webpack'); -const webpackConfig = require('../webpack.config'); -const pkg = require('../package.json'); -const blocks = require('./data/blocks.json'); -const template = require('./data/template'); +import('../build/index.js').then((res) => { + console.log('res', res); +}); +// process.env.DEBUG = 'app:*'; +// const debug = require('debug')('app:demos'); +// const commander = require('commander'); +// const connect = require('connect'); +// const getPort = require('get-port'); +// const http = require('http'); +// const open = require('open'); +// const serveStatic = require('serve-static'); +// const bodyParser = require('body-parser'); +// const parseurl = require('parseurl'); +// const url = require('url'); +// const assign = require('lodash').assign; +// const path = require('path'); +// const resolve = path.resolve; +// const join = path.join; +// const fs = require('fs'); +// const JSZip = require('jszip'); +// const readFileSync = fs.readFileSync; +// const writeFileSync = fs.writeFileSync; +// const nunjucks = require('nunjucks'); +// const renderString = nunjucks.renderString; +// const shelljs = require('shelljs'); +// const webpack = require('webpack'); +// const webpackConfig = require('../webpack.config'); +// const pkg = require('../package.json'); +// const blocks = require('./data/blocks.json'); +// const template = require('./data/template'); -shelljs.config.execPath = shelljs.which('node'); +// shelljs.config.execPath = shelljs.which('node'); -commander - .version(pkg.version) - .option('-w, --web') - .option('-p, --port ', 'specify a port number to run on', parseInt) - .parse(process.argv); +// commander +// .version(pkg.version) +// .option('-w, --web') +// .option('-p, --port ', 'specify a port number to run on', parseInt) +// .parse(process.argv); -function startService(port) { - const server = connect(); - server - .use(bodyParser.urlencoded({ - extended: true - })) - .use((req, res, next) => { // pre-handlers - const urlInfo = url.parse(req.url, true); - const query = urlInfo.query || {}; - const body = req.body || {}; +// function startService(port) { +// const server = connect(); +// server +// .use(bodyParser.urlencoded({ +// extended: true +// })) +// .use((req, res, next) => { // pre-handlers +// const urlInfo = url.parse(req.url, true); +// const query = urlInfo.query || {}; +// const body = req.body || {}; - req._urlInfo = urlInfo; - req._pathname = urlInfo.pathname; +// req._urlInfo = urlInfo; +// req._pathname = urlInfo.pathname; - // add req._params (combination of query and body) - const params = Object.assign({}, query, body); - req._params = params; - req._query = query; - req._body = body; +// // add req._params (combination of query and body) +// const params = Object.assign({}, query, body); +// req._params = params; +// req._query = query; +// req._body = body; - res._sendRes = (str, contentType) => { - const buf = new Buffer(str); - contentType = contentType || 'text/html;charset=utf-8'; - res.setHeader('Content-Type', contentType); - res.setHeader('Content-Length', buf.length); - res.end(buf); - }; - // res._JSONRes(data) (generate JSON response) - res._JSONRes = data => { - res._sendRes(JSON.stringify(data), 'application/json;charset=utf-8'); - }; - // TODO res._JSONError() - // res._HTMLRes(data) (generate HTML response) - res._HTMLRes = res._sendRes; +// res._sendRes = (str, contentType) => { +// const buf = new Buffer(str); +// contentType = contentType || 'text/html;charset=utf-8'; +// res.setHeader('Content-Type', contentType); +// res.setHeader('Content-Length', buf.length); +// res.end(buf); +// }; +// // res._JSONRes(data) (generate JSON response) +// res._JSONRes = data => { +// res._sendRes(JSON.stringify(data), 'application/json;charset=utf-8'); +// }; +// // TODO res._JSONError() +// // res._HTMLRes(data) (generate HTML response) +// res._HTMLRes = res._sendRes; - return next(); - }) - .use((req, res, next) => { - const pathname = parseurl(req).pathname; - if (req.method === 'GET') { - if (pathname === '/bundler/index.html') { - res.end(renderString(readFileSync(join(__dirname, './index.njk'), 'utf8'), { - blocks - })); - } else { - next(); - } - } else if (req.method === 'POST') { - if (pathname === '/bundle') { - // step1: prepare entry __index.js - const entryPath = resolve(process.cwd(), './src/__index.js'); - const ids = req.body.ids.map(id => parseInt(id, 10)); - const codeBlocks = blocks - .filter((item, index) => ids.indexOf(index) !== -1) - .map(item => item.code) - .join('\n'); - const entryFileContent = template(codeBlocks); - writeFileSync(entryPath, template(codeBlocks), 'utf8'); - // step2: build it - const distPath = resolve(process.cwd(), './__dist'); - shelljs.rm('-rf', distPath); - shelljs.mkdir('-p', distPath); - const config = Object.assign({}, webpackConfig); - config.entry = { - 'data-set': './src/__index.js' - }; - config.output.path = distPath; - webpack(config, (err, stats) => { - // shelljs.rm(entryPath); - if (err || stats.hasErrors()) { - // Handle errors here - // shelljs.rm('-rf', distPath); - shelljs.rm(entryPath); - shelljs.rm('-rf', distPath); - } - // step3: uglify - shelljs.exec('uglifyjs -c -m -o __dist/data-set.min.js -- __dist/data-set.js'); - // step4: zipping it - const zip = new JSZip(); - zip.folder('data-set-dist').file('entry.js', entryFileContent); - zip.folder('data-set-dist').file('data-set.js', readFileSync(join(distPath, './data-set.js'), 'utf8')); - zip.folder('data-set-dist').file('data-set.js.map', readFileSync(join(distPath, './data-set.js.map'), 'utf8')); - zip.folder('data-set-dist').file('data-set.min.js', readFileSync(join(distPath, './data-set.min.js'), 'utf8')); - res.writeHead(200, { - 'Content-Type': 'application/zip' - }); - zip - .generateNodeStream({ type: 'nodebuffer', streamFiles: true }) - .pipe(res) - .on('finish', function() { - // step5: clear up - shelljs.rm(entryPath); - shelljs.rm('-rf', distPath); - res.end(); - }); - }); - } - } else { - next(); - } - }); - server.use(serveStatic(process.cwd())); - http.createServer(server).listen(port); +// return next(); +// }) +// .use((req, res, next) => { +// const pathname = parseurl(req).pathname; +// if (req.method === 'GET') { +// if (pathname === '/bundler/index.html') { +// res.end(renderString(readFileSync(join(__dirname, './index.njk'), 'utf8'), { +// blocks +// })); +// } else { +// next(); +// } +// } else if (req.method === 'POST') { +// if (pathname === '/bundle') { +// // step1: prepare entry __index.js +// const entryPath = resolve(process.cwd(), './src/__index.js'); +// const ids = req.body.ids.map(id => parseInt(id, 10)); +// const codeBlocks = blocks +// .filter((item, index) => ids.indexOf(index) !== -1) +// .map(item => item.code) +// .join('\n'); +// const entryFileContent = template(codeBlocks); +// writeFileSync(entryPath, template(codeBlocks), 'utf8'); +// // step2: build it +// const distPath = resolve(process.cwd(), './__dist'); +// shelljs.rm('-rf', distPath); +// shelljs.mkdir('-p', distPath); +// const config = Object.assign({}, webpackConfig); +// config.entry = { +// 'data-set': './src/__index.js' +// }; +// config.output.path = distPath; +// webpack(config, (err, stats) => { +// // shelljs.rm(entryPath); +// if (err || stats.hasErrors()) { +// // Handle errors here +// // shelljs.rm('-rf', distPath); +// shelljs.rm(entryPath); +// shelljs.rm('-rf', distPath); +// } +// // step3: uglify +// shelljs.exec('uglifyjs -c -m -o __dist/data-set.min.js -- __dist/data-set.js'); +// // step4: zipping it +// const zip = new JSZip(); +// zip.folder('data-set-dist').file('entry.js', entryFileContent); +// zip.folder('data-set-dist').file('data-set.js', readFileSync(join(distPath, './data-set.js'), 'utf8')); +// zip.folder('data-set-dist').file('data-set.js.map', readFileSync(join(distPath, './data-set.js.map'), 'utf8')); +// zip.folder('data-set-dist').file('data-set.min.js', readFileSync(join(distPath, './data-set.min.js'), 'utf8')); +// res.writeHead(200, { +// 'Content-Type': 'application/zip' +// }); +// zip +// .generateNodeStream({ type: 'nodebuffer', streamFiles: true }) +// .pipe(res) +// .on('finish', function() { +// // step5: clear up +// shelljs.rm(entryPath); +// shelljs.rm('-rf', distPath); +// res.end(); +// }); +// }); +// } +// } else { +// next(); +// } +// }); +// server.use(serveStatic(process.cwd())); +// http.createServer(server).listen(port); - const urlPath = `http://127.0.0.1:${port}/bundler/index.html`; - debug(`server started, bundler available! ${urlPath}`); +// const urlPath = `http://127.0.0.1:${port}/bundler/index.html`; +// debug(`server started, bundler available! ${urlPath}`); - if (commander.web) { - debug('running on web!'); - open(urlPath); - } else { - debug('running on electron!'); - const app = require('electron').app; - const BrowserWindow = require('electron').BrowserWindow; - const windowBoundsConfig = require('@lite-js/torch/lib/windowBoundsConfig')( - resolve(app.getPath('userData'), './data-set-bundler-config.json') - ); +// if (commander.web) { +// debug('running on web!'); +// open(urlPath); +// } else { +// debug('running on electron!'); +// const app = require('electron').app; +// const BrowserWindow = require('electron').BrowserWindow; +// const windowBoundsConfig = require('@lite-js/torch/lib/windowBoundsConfig')( +// resolve(app.getPath('userData'), './data-set-bundler-config.json') +// ); - let win; - app.once('ready', () => { - win = new BrowserWindow(assign({ - // transparent: true - webPreferences: { - nodeIntegration: false - } - }, windowBoundsConfig.get('bundler'))); - win.loadURL(urlPath); +// let win; +// app.once('ready', () => { +// win = new BrowserWindow(assign({ +// // transparent: true +// webPreferences: { +// nodeIntegration: false +// } +// }, windowBoundsConfig.get('bundler'))); +// win.loadURL(urlPath); - win.on('close', () => { - windowBoundsConfig.set('bundler', win.getBounds()); - }); - win.on('closed', () => { - win = null; - }); - }); - app.on('window-all-closed', () => { - app.quit(); - }); - } -} +// win.on('close', () => { +// windowBoundsConfig.set('bundler', win.getBounds()); +// }); +// win.on('closed', () => { +// win = null; +// }); +// }); +// app.on('window-all-closed', () => { +// app.quit(); +// }); +// } +// } -if (commander.port) { - startService(commander.port); -} else { - getPort().then(port => { - startService(port); - }); -} +// if (commander.port) { +// startService(commander.port); +// } else { +// getPort().then(port => { +// startService(port); +// }); +// } diff --git a/jest.config.js b/jest.config.js new file mode 100644 index 0000000..e76079b --- /dev/null +++ b/jest.config.js @@ -0,0 +1,14 @@ +/** @type {import('ts-jest').JestConfigWithTsJest} */ +module.exports = { + preset: 'ts-jest', + testEnvironment: 'node', + setupFiles: ['jest-canvas-mock'], + transform: { + '^.+\\.tsx?$': [ + 'ts-jest', + { + diagnostics: false, + }, + ], + }, +}; diff --git a/package.json b/package.json index aa13bd1..8ad0aa7 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,27 @@ "name": "@antv/data-set", "version": "0.11.9", "description": "data set with state management", - "main": "lib/index.js", - "browser": "build/data-set.js", - "module": "lib/index.js", + "main": "build/index.mjs", + "browser": "build/index.mjs", + "module": "build/index.mjs", + "exports": { + ".": { + "types": "./build/index.d.ts", + "import": "./build/index.mjs", + "require": "./build/index.js" + }, + "./transform": { + "types": "./build/transform/index.d.ts", + "import": "./build/transform/index.mjs", + "require": "./build/transform/index.js" + }, + "./*": { + "types": "./build/*.d.ts", + "import": "./build/*.mjs", + "require": "./build/*.js" + } + }, + "dependencies": { "@antv/hierarchy": "^0.6.0", "@antv/util": "^2.0.0", @@ -17,7 +35,9 @@ "d3-sankey": "^0.9.1", "d3-voronoi": "^1.1.2", "dagre": "^0.8.2", + "esbuild": "^0.20.1", "point-at-length": "^1.0.2", + "prettier": "^3.2.5", "regression": "^2.0.0", "simple-statistics": "^6.1.0", "topojson-client": "^3.0.0", @@ -39,7 +59,7 @@ "author": "https://github.com/orgs/antvis/people", "license": "MIT", "scripts": { - "build": "rm -rf build && webpack", + "build": "rm -rf build && tsup && webpack", "build-lib": "rm -rf lib && tsc", "bundler": "electron ./bundler/app.js", "ci": "npm run lint && npm run test && npm run test-bugs", @@ -55,60 +75,65 @@ "prepublishOnly": "npm run build-lib && npm run build && npm run dist", "screenshot": "node ./bin/screenshot.js", "start": "npm run dev", - "test": "torch --compile --renderer --recursive ./test/unit", + "test": "jest", "test-bugs": "torch --compile --renderer --recursive ./test/bugs", "test-live": "torch --compile --interactive --watch --recursive ./test/unit", "test-bugs-live": "torch --compile --interactive --watch --recursive ./test/bugs", "watch": "webpack --config webpack-dev.config.js", - "win-dev": "node ./bin/win-dev.js" + "win-dev": "node ./bin/win-dev.js", + "analyze": "npx webpack --profile --json > stats.json" }, "pre-commit": { "run": [ "lint", - "test", - "test-bugs" + "test" ], "silent": false }, "devDependencies": { - "@antv/torch": "^1.0.6", - "@types/chai": "^4.2.7", + "@jest/globals": "^29.7.0", + "@swc/core": "^1.4.6", "@types/d3-dsv": "^1.0.36", "@types/d3-geo": "^1.11.1", "@types/d3-hierarchy": "^1.1.6", "@types/d3-sankey": "^0.11.0", "@types/d3-voronoi": "^1.1.9", "@types/dagre": "^0.7.42", + "@types/jest": "^29.5.12", "@types/lodash": "^4.14.149", "@types/regression": "^2.0.0", "@types/topojson-client": "^3.0.0", - "@typescript-eslint/eslint-plugin": "^2.0.0", - "@typescript-eslint/parser": "^2.0.0", - "awesome-typescript-loader": "^5.2.1", + "@typescript-eslint/eslint-plugin": "^7.2.0", + "@typescript-eslint/parser": "^7.2.0", "body-parser": "^1.18.2", - "chai": "~4.1.2", "cheerio": "~1.0.0-rc.2", "commander": "~2.12.2", "connect": "~3.6.5", "d3-queue": "~3.0.7", "debug": "~3.1.0", - "eslint": "^6.1.0", - "eslint-config-prettier": "^6.0.0", - "eslint-plugin-prettier": "^3.1.0", + "eslint": "^8.57.0", + "eslint-config-prettier": "^9.1.0", + "eslint-plugin-prettier": "^5.1.3", "get-port": "~3.2.0", + "glob": "^10.3.10", + "jest": "^29.7.0", + "jest-canvas-mock": "^2.5.2", + "jest-environment-jsdom": "^29.7.0", "jszip": "^3.1.5", "lodash": "~4.17.4", - "nightmare": "~2.10.0", "nunjucks": "~3.0.1", "open": "~0.0.5", "parseurl": "~1.3.2", "pre-commit": "~1.2.2", - "prettier": "^1.19.1", "serve-static": "~1.13.1", "shelljs": "~0.7.8", "string-replace-loader": "^2.1.1", - "typescript": "^3.7.3", + "ts-jest": "^29.1.2", + "ts-loader": "^8.4.0", + "tsup": "^8.0.2", + "typescript": "^5.4.2", "webpack": "^4.41.3", + "webpack-bundle-analyzer": "^4.10.1", "webpack-cli": "^3.3.10" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml new file mode 100644 index 0000000..3f0221a --- /dev/null +++ b/pnpm-lock.yaml @@ -0,0 +1,7984 @@ +lockfileVersion: '6.0' + +settings: + autoInstallPeers: true + excludeLinksFromLockfile: false + +dependencies: + '@antv/hierarchy': + specifier: ^0.6.0 + version: 0.6.11 + '@antv/util': + specifier: ^2.0.0 + version: 2.0.17 + d3-composite-projections: + specifier: ^1.2.0 + version: 1.4.0 + d3-dsv: + specifier: ^1.0.5 + version: 1.2.0 + d3-geo: + specifier: ~1.6.4 + version: 1.6.4 + d3-geo-projection: + specifier: ~2.1.2 + version: 2.1.2 + d3-hexjson: + specifier: ^1.0.1 + version: 1.1.1 + d3-hierarchy: + specifier: ^1.1.5 + version: 1.1.9 + d3-sankey: + specifier: ^0.9.1 + version: 0.9.1 + d3-voronoi: + specifier: ^1.1.2 + version: 1.1.4 + dagre: + specifier: ^0.8.2 + version: 0.8.5 + point-at-length: + specifier: ^1.0.2 + version: 1.1.0 + regression: + specifier: ^2.0.0 + version: 2.0.1 + simple-statistics: + specifier: ^6.1.0 + version: 6.1.1 + topojson-client: + specifier: ^3.0.0 + version: 3.1.0 + wolfy87-eventemitter: + specifier: ^5.1.0 + version: 5.2.9 + +devDependencies: + '@jest/globals': + specifier: ^29.7.0 + version: 29.7.0 + '@swc/core': + specifier: ^1.4.6 + version: 1.4.6 + '@types/chai': + specifier: ^4.2.7 + version: 4.3.12 + '@types/d3-dsv': + specifier: ^1.0.36 + version: 1.2.8 + '@types/d3-geo': + specifier: ^1.11.1 + version: 1.12.7 + '@types/d3-hierarchy': + specifier: ^1.1.6 + version: 1.1.11 + '@types/d3-sankey': + specifier: ^0.11.0 + version: 0.11.2 + '@types/d3-voronoi': + specifier: ^1.1.9 + version: 1.1.12 + '@types/dagre': + specifier: ^0.7.42 + version: 0.7.52 + '@types/jest': + specifier: ^29.5.12 + version: 29.5.12 + '@types/lodash': + specifier: ^4.14.149 + version: 4.17.0 + '@types/regression': + specifier: ^2.0.0 + version: 2.0.6 + '@types/topojson-client': + specifier: ^3.0.0 + version: 3.1.4 + '@typescript-eslint/eslint-plugin': + specifier: ^2.0.0 + version: 2.34.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0)(typescript@5.4.2) + '@typescript-eslint/parser': + specifier: ^2.0.0 + version: 2.34.0(eslint@6.8.0)(typescript@5.4.2) + body-parser: + specifier: ^1.18.2 + version: 1.20.2 + chai: + specifier: ~4.1.2 + version: 4.1.2 + cheerio: + specifier: ~1.0.0-rc.2 + version: 1.0.0-rc.12 + commander: + specifier: ~2.12.2 + version: 2.12.2 + connect: + specifier: ~3.6.5 + version: 3.6.6 + d3-queue: + specifier: ~3.0.7 + version: 3.0.7 + debug: + specifier: ~3.1.0 + version: 3.1.0 + eslint: + specifier: ^6.1.0 + version: 6.8.0 + eslint-config-prettier: + specifier: ^6.0.0 + version: 6.15.0(eslint@6.8.0) + eslint-plugin-prettier: + specifier: ^3.1.0 + version: 3.4.1(eslint-config-prettier@6.15.0)(eslint@6.8.0)(prettier@1.19.1) + get-port: + specifier: ~3.2.0 + version: 3.2.0 + jest: + specifier: ^29.7.0 + version: 29.7.0 + jest-environment-jsdom: + specifier: ^29.7.0 + version: 29.7.0 + jszip: + specifier: ^3.1.5 + version: 3.10.1 + lodash: + specifier: ~4.17.4 + version: 4.17.21 + nunjucks: + specifier: ~3.0.1 + version: 3.0.1 + open: + specifier: ~0.0.5 + version: 0.0.5 + parseurl: + specifier: ~1.3.2 + version: 1.3.3 + pre-commit: + specifier: ~1.2.2 + version: 1.2.2 + prettier: + specifier: ^1.19.1 + version: 1.19.1 + serve-static: + specifier: ~1.13.1 + version: 1.13.2 + shelljs: + specifier: ~0.7.8 + version: 0.7.8 + string-replace-loader: + specifier: ^2.1.1 + version: 2.3.0(webpack@4.47.0) + ts-jest: + specifier: ^29.1.2 + version: 29.1.2(@babel/core@7.24.0)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.2) + ts-loader: + specifier: ^8.4.0 + version: 8.4.0(typescript@5.4.2)(webpack@4.47.0) + tsup: + specifier: ^8.0.2 + version: 8.0.2(@swc/core@1.4.6)(typescript@5.4.2) + typescript: + specifier: ^5.4.2 + version: 5.4.2 + webpack: + specifier: ^4.41.3 + version: 4.47.0(webpack-cli@3.3.12) + webpack-bundle-analyzer: + specifier: ^4.10.1 + version: 4.10.1 + webpack-cli: + specifier: ^3.3.10 + version: 3.3.12(webpack@4.47.0) + +packages: + + /@ampproject/remapping@2.3.0: + resolution: {integrity: sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + dev: true + + /@antv/hierarchy@0.6.11: + resolution: {integrity: sha512-RJVhEMCuu4vj+Dt25lXIiNdd7jaqm/fqWGYikiELha4S5tnzdJoTUaUvvpfWlxLx4B0RsS9XRwBs1bOKN71TKg==} + dependencies: + '@antv/util': 2.0.17 + dev: false + + /@antv/util@2.0.17: + resolution: {integrity: sha512-o6I9hi5CIUvLGDhth0RxNSFDRwXeywmt6ExR4+RmVAzIi48ps6HUy+svxOCayvrPBN37uE6TAc2KDofRo0nK9Q==} + dependencies: + csstype: 3.1.3 + tslib: 2.6.2 + dev: false + + /@babel/code-frame@7.23.5: + resolution: {integrity: sha512-CgH3s1a96LipHCmSUmYFPwY7MNx8C3avkq7i4Wl3cfa662ldtUe4VM1TPXX70pfmrlWTb6jLqTYrZyT2ZTJBgA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/highlight': 7.23.4 + chalk: 2.4.2 + dev: true + + /@babel/compat-data@7.23.5: + resolution: {integrity: sha512-uU27kfDRlhfKl+w1U6vp16IuvSLtjAxdArVXPa9BvLkrr7CYIsxH5adpHObeAGY/41+syctUWOZ140a2Rvkgjw==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/core@7.24.0: + resolution: {integrity: sha512-fQfkg0Gjkza3nf0c7/w6Xf34BW4YvzNfACRLmmb7XRLa6XHdR+K9AlJlxneFfWYf6uhOzuzZVTjF/8KfndZANw==} + engines: {node: '>=6.9.0'} + dependencies: + '@ampproject/remapping': 2.3.0 + '@babel/code-frame': 7.23.5 + '@babel/generator': 7.23.6 + '@babel/helper-compilation-targets': 7.23.6 + '@babel/helper-module-transforms': 7.23.3(@babel/core@7.24.0) + '@babel/helpers': 7.24.0 + '@babel/parser': 7.24.0 + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 + convert-source-map: 2.0.0 + debug: 4.3.4 + gensync: 1.0.0-beta.2 + json5: 2.2.3 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/generator@7.23.6: + resolution: {integrity: sha512-qrSfCYxYQB5owCmGLbl8XRpX1ytXlpueOb0N0UmQwA073KZxejgQTzAmJezxvpwQD9uGtK2shHdi55QT+MbjIw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.0 + '@jridgewell/gen-mapping': 0.3.5 + '@jridgewell/trace-mapping': 0.3.25 + jsesc: 2.5.2 + dev: true + + /@babel/helper-compilation-targets@7.23.6: + resolution: {integrity: sha512-9JB548GZoQVmzrFgp8o7KxdgkTGm6xs9DW0o/Pim72UDjzr5ObUQ6ZzYPqA+g9OTS2bBQoctLJrky0RDCAWRgQ==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/compat-data': 7.23.5 + '@babel/helper-validator-option': 7.23.5 + browserslist: 4.23.0 + lru-cache: 5.1.1 + semver: 6.3.1 + dev: true + + /@babel/helper-environment-visitor@7.22.20: + resolution: {integrity: sha512-zfedSIzFhat/gFhWfHtgWvlec0nqB9YEIVrpuwjruLlXfUSnA8cJB0miHKwqDnQ7d32aKo2xt88/xZptwxbfhA==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-function-name@7.23.0: + resolution: {integrity: sha512-OErEqsrxjZTJciZ4Oo+eoZqeW9UIiOcuYKRJA4ZAgV9myA+pOXhhmpfNCKjEH/auVfEYVFJ6y1Tc4r0eIApqiw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 + dev: true + + /@babel/helper-hoist-variables@7.22.5: + resolution: {integrity: sha512-wGjk9QZVzvknA6yKIUURb8zY3grXCcOZt+/7Wcy8O2uctxhplmUPkOdlgoNhmdVee2c92JXbf1xpMtVNbfoxRw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@babel/helper-module-imports@7.22.15: + resolution: {integrity: sha512-0pYVBnDKZO2fnSPCrgM/6WMc7eS20Fbok+0r88fp+YtWVLZrp4CkafFGIp+W0VKw4a22sgebPT99y+FDNMdP4w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@babel/helper-module-transforms@7.23.3(@babel/core@7.24.0): + resolution: {integrity: sha512-7bBs4ED9OmswdfDzpz4MpWgSrV7FXlc3zIagvLFjS5H+Mk7Snr21vQ6QwrsoCGMfNC4e4LQPdoULEt4ykz0SRQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-module-imports': 7.22.15 + '@babel/helper-simple-access': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/helper-validator-identifier': 7.22.20 + dev: true + + /@babel/helper-plugin-utils@7.24.0: + resolution: {integrity: sha512-9cUznXMG0+FxRuJfvL82QlTqIzhVW9sL0KjMPHhAOOvpQGL8QtdxnBKILjBqxlHyliz0yCa1G903ZXI/FuHy2w==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-simple-access@7.22.5: + resolution: {integrity: sha512-n0H99E/K+Bika3++WNL17POvo4rKWZ7lZEp1Q+fStVbUi8nxPQEBOlTmCOxW/0JsS56SKKQ+ojAe2pHKJHN35w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@babel/helper-split-export-declaration@7.22.6: + resolution: {integrity: sha512-AsUnxuLhRYsisFiaJwvp1QF+I3KjD5FOxut14q/GzovUe6orHLesW2C7d754kRm53h5gqrz6sFl6sxc4BVtE/g==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@babel/helper-string-parser@7.23.4: + resolution: {integrity: sha512-803gmbQdqwdf4olxrX4AJyFBV/RTr3rSmOj0rKwesmzlfhYNDEs+/iOcznzpNWlJlIlTJC2QfPFcHB6DlzdVLQ==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-validator-identifier@7.22.20: + resolution: {integrity: sha512-Y4OZ+ytlatR8AI+8KZfKuL5urKp7qey08ha31L8b3BwewJAoJamTzyvxPR/5D+KkdJCGPq/+8TukHBlY10FX9A==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helper-validator-option@7.23.5: + resolution: {integrity: sha512-85ttAOMLsr53VgXkTbkx8oA6YTfT4q7/HzXSLEYmjcSTJPMPQtvq1BD79Byep5xMUYbGRzEpDsjUf3dyp54IKw==} + engines: {node: '>=6.9.0'} + dev: true + + /@babel/helpers@7.24.0: + resolution: {integrity: sha512-ulDZdc0Aj5uLc5nETsa7EPx2L7rM0YJM8r7ck7U73AXi7qOV44IHHRAYZHY6iU1rr3C5N4NtTmMRUJP6kwCWeA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/template': 7.24.0 + '@babel/traverse': 7.24.0 + '@babel/types': 7.24.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/highlight@7.23.4: + resolution: {integrity: sha512-acGdbYSfp2WheJoJm/EBBBLh/ID8KDc64ISZ9DYtBmC8/Q204PZJLHyzeB5qMzJ5trcOkybd78M4x2KWsUq++A==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-validator-identifier': 7.22.20 + chalk: 2.4.2 + js-tokens: 4.0.0 + dev: true + + /@babel/parser@7.24.0: + resolution: {integrity: sha512-QuP/FxEAzMSjXygs8v4N9dvdXzEHN4W1oF3PxuWAtPo08UdM17u89RDMgjLn/mlc56iM0HlLmVkO/wgR+rDgHg==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@babel/plugin-syntax-async-generators@7.8.4(@babel/core@7.24.0): + resolution: {integrity: sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-bigint@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-class-properties@7.12.13(@babel/core@7.24.0): + resolution: {integrity: sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-import-meta@7.10.4(@babel/core@7.24.0): + resolution: {integrity: sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-json-strings@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-jsx@7.23.3(@babel/core@7.24.0): + resolution: {integrity: sha512-EB2MELswq55OHUoRZLGg/zC7QWUKfNLpE57m/S2yr1uEneIgsTgrSzXP3NXEsMkVn76OlaVVnzN+ugObuYGwhg==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-logical-assignment-operators@7.10.4(@babel/core@7.24.0): + resolution: {integrity: sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-nullish-coalescing-operator@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-numeric-separator@7.10.4(@babel/core@7.24.0): + resolution: {integrity: sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-object-rest-spread@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-optional-catch-binding@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-optional-chaining@7.8.3(@babel/core@7.24.0): + resolution: {integrity: sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-top-level-await@7.14.5(@babel/core@7.24.0): + resolution: {integrity: sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/plugin-syntax-typescript@7.23.3(@babel/core@7.24.0): + resolution: {integrity: sha512-9EiNjVJOMwCO+43TqoTrgQ8jMwcAd0sWyXi9RPfIsLTj4R2MADDDQXELhffaUx/uJv2AYcxBgPwH6j4TIA4ytQ==} + engines: {node: '>=6.9.0'} + peerDependencies: + '@babel/core': ^7.0.0-0 + dependencies: + '@babel/core': 7.24.0 + '@babel/helper-plugin-utils': 7.24.0 + dev: true + + /@babel/template@7.24.0: + resolution: {integrity: sha512-Bkf2q8lMB0AFpX0NFEqSbx1OkTHf0f+0j82mkw+ZpzBnkk7e9Ql0891vlfgi+kHwOk8tQjiQHpqh4LaSa0fKEA==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 + dev: true + + /@babel/traverse@7.24.0: + resolution: {integrity: sha512-HfuJlI8qq3dEDmNU5ChzzpZRWq+oxCZQyMzIMEqLho+AQnhMnKQUzH6ydo3RBl/YjPCuk68Y6s0Gx0AeyULiWw==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/code-frame': 7.23.5 + '@babel/generator': 7.23.6 + '@babel/helper-environment-visitor': 7.22.20 + '@babel/helper-function-name': 7.23.0 + '@babel/helper-hoist-variables': 7.22.5 + '@babel/helper-split-export-declaration': 7.22.6 + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 + debug: 4.3.4 + globals: 11.12.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@babel/types@7.24.0: + resolution: {integrity: sha512-+j7a5c253RfKh8iABBhywc8NSfP5LURe7Uh4qpsh6jc+aLJguvmIUBdjSdEMQv2bENrCR5MfRdjGo7vzS/ob7w==} + engines: {node: '>=6.9.0'} + dependencies: + '@babel/helper-string-parser': 7.23.4 + '@babel/helper-validator-identifier': 7.22.20 + to-fast-properties: 2.0.0 + dev: true + + /@bcoe/v8-coverage@0.2.3: + resolution: {integrity: sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==} + dev: true + + /@discoveryjs/json-ext@0.5.7: + resolution: {integrity: sha512-dBVuXR082gk3jsFp7Rd/JI4kytwGHecnCoTtXFb7DB6CNHp4rg5k1bhg0nWdLGLnOV71lmDzGQaLMy8iPLY0pw==} + engines: {node: '>=10.0.0'} + dev: true + + /@esbuild/aix-ppc64@0.19.12: + resolution: {integrity: sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [aix] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm64@0.19.12: + resolution: {integrity: sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-arm@0.19.12: + resolution: {integrity: sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w==} + engines: {node: '>=12'} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/android-x64@0.19.12: + resolution: {integrity: sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew==} + engines: {node: '>=12'} + cpu: [x64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-arm64@0.19.12: + resolution: {integrity: sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g==} + engines: {node: '>=12'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/darwin-x64@0.19.12: + resolution: {integrity: sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A==} + engines: {node: '>=12'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-arm64@0.19.12: + resolution: {integrity: sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/freebsd-x64@0.19.12: + resolution: {integrity: sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg==} + engines: {node: '>=12'} + cpu: [x64] + os: [freebsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm64@0.19.12: + resolution: {integrity: sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA==} + engines: {node: '>=12'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-arm@0.19.12: + resolution: {integrity: sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w==} + engines: {node: '>=12'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ia32@0.19.12: + resolution: {integrity: sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA==} + engines: {node: '>=12'} + cpu: [ia32] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-loong64@0.19.12: + resolution: {integrity: sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA==} + engines: {node: '>=12'} + cpu: [loong64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-mips64el@0.19.12: + resolution: {integrity: sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w==} + engines: {node: '>=12'} + cpu: [mips64el] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-ppc64@0.19.12: + resolution: {integrity: sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg==} + engines: {node: '>=12'} + cpu: [ppc64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-riscv64@0.19.12: + resolution: {integrity: sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg==} + engines: {node: '>=12'} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-s390x@0.19.12: + resolution: {integrity: sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg==} + engines: {node: '>=12'} + cpu: [s390x] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/linux-x64@0.19.12: + resolution: {integrity: sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg==} + engines: {node: '>=12'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@esbuild/netbsd-x64@0.19.12: + resolution: {integrity: sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA==} + engines: {node: '>=12'} + cpu: [x64] + os: [netbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/openbsd-x64@0.19.12: + resolution: {integrity: sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw==} + engines: {node: '>=12'} + cpu: [x64] + os: [openbsd] + requiresBuild: true + dev: true + optional: true + + /@esbuild/sunos-x64@0.19.12: + resolution: {integrity: sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA==} + engines: {node: '>=12'} + cpu: [x64] + os: [sunos] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-arm64@0.19.12: + resolution: {integrity: sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A==} + engines: {node: '>=12'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-ia32@0.19.12: + resolution: {integrity: sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ==} + engines: {node: '>=12'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@esbuild/win32-x64@0.19.12: + resolution: {integrity: sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA==} + engines: {node: '>=12'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@isaacs/cliui@8.0.2: + resolution: {integrity: sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==} + engines: {node: '>=12'} + dependencies: + string-width: 5.1.2 + string-width-cjs: /string-width@4.2.3 + strip-ansi: 7.1.0 + strip-ansi-cjs: /strip-ansi@6.0.1 + wrap-ansi: 8.1.0 + wrap-ansi-cjs: /wrap-ansi@7.0.0 + dev: true + + /@istanbuljs/load-nyc-config@1.1.0: + resolution: {integrity: sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==} + engines: {node: '>=8'} + dependencies: + camelcase: 5.3.1 + find-up: 4.1.0 + get-package-type: 0.1.0 + js-yaml: 3.14.1 + resolve-from: 5.0.0 + dev: true + + /@istanbuljs/schema@0.1.3: + resolution: {integrity: sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==} + engines: {node: '>=8'} + dev: true + + /@jest/console@29.7.0: + resolution: {integrity: sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + chalk: 4.1.2 + jest-message-util: 29.7.0 + jest-util: 29.7.0 + slash: 3.0.0 + dev: true + + /@jest/core@29.7.0: + resolution: {integrity: sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + '@jest/console': 29.7.0 + '@jest/reporters': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + ci-info: 3.9.0 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-changed-files: 29.7.0 + jest-config: 29.7.0(@types/node@20.11.26) + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-resolve-dependencies: 29.7.0 + jest-runner: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + jest-watcher: 29.7.0 + micromatch: 4.0.5 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-ansi: 6.0.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + - ts-node + dev: true + + /@jest/environment@29.7.0: + resolution: {integrity: sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + jest-mock: 29.7.0 + dev: true + + /@jest/expect-utils@29.7.0: + resolution: {integrity: sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + jest-get-type: 29.6.3 + dev: true + + /@jest/expect@29.7.0: + resolution: {integrity: sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + expect: 29.7.0 + jest-snapshot: 29.7.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@jest/fake-timers@29.7.0: + resolution: {integrity: sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + '@sinonjs/fake-timers': 10.3.0 + '@types/node': 20.11.26 + jest-message-util: 29.7.0 + jest-mock: 29.7.0 + jest-util: 29.7.0 + dev: true + + /@jest/globals@29.7.0: + resolution: {integrity: sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/environment': 29.7.0 + '@jest/expect': 29.7.0 + '@jest/types': 29.6.3 + jest-mock: 29.7.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@jest/reporters@29.7.0: + resolution: {integrity: sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + '@bcoe/v8-coverage': 0.2.3 + '@jest/console': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@jridgewell/trace-mapping': 0.3.25 + '@types/node': 20.11.26 + chalk: 4.1.2 + collect-v8-coverage: 1.0.2 + exit: 0.1.2 + glob: 7.2.3 + graceful-fs: 4.2.11 + istanbul-lib-coverage: 3.2.2 + istanbul-lib-instrument: 6.0.2 + istanbul-lib-report: 3.0.1 + istanbul-lib-source-maps: 4.0.1 + istanbul-reports: 3.1.7 + jest-message-util: 29.7.0 + jest-util: 29.7.0 + jest-worker: 29.7.0 + slash: 3.0.0 + string-length: 4.0.2 + strip-ansi: 6.0.1 + v8-to-istanbul: 9.2.0 + transitivePeerDependencies: + - supports-color + dev: true + + /@jest/schemas@29.6.3: + resolution: {integrity: sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@sinclair/typebox': 0.27.8 + dev: true + + /@jest/source-map@29.6.3: + resolution: {integrity: sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + callsites: 3.1.0 + graceful-fs: 4.2.11 + dev: true + + /@jest/test-result@29.7.0: + resolution: {integrity: sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/console': 29.7.0 + '@jest/types': 29.6.3 + '@types/istanbul-lib-coverage': 2.0.6 + collect-v8-coverage: 1.0.2 + dev: true + + /@jest/test-sequencer@29.7.0: + resolution: {integrity: sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/test-result': 29.7.0 + graceful-fs: 4.2.11 + jest-haste-map: 29.7.0 + slash: 3.0.0 + dev: true + + /@jest/transform@29.7.0: + resolution: {integrity: sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@babel/core': 7.24.0 + '@jest/types': 29.6.3 + '@jridgewell/trace-mapping': 0.3.25 + babel-plugin-istanbul: 6.1.1 + chalk: 4.1.2 + convert-source-map: 2.0.0 + fast-json-stable-stringify: 2.1.0 + graceful-fs: 4.2.11 + jest-haste-map: 29.7.0 + jest-regex-util: 29.6.3 + jest-util: 29.7.0 + micromatch: 4.0.5 + pirates: 4.0.6 + slash: 3.0.0 + write-file-atomic: 4.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@jest/types@29.6.3: + resolution: {integrity: sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + '@types/istanbul-lib-coverage': 2.0.6 + '@types/istanbul-reports': 3.0.4 + '@types/node': 20.11.26 + '@types/yargs': 17.0.32 + chalk: 4.1.2 + dev: true + + /@jridgewell/gen-mapping@0.3.5: + resolution: {integrity: sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==} + engines: {node: '>=6.0.0'} + dependencies: + '@jridgewell/set-array': 1.2.1 + '@jridgewell/sourcemap-codec': 1.4.15 + '@jridgewell/trace-mapping': 0.3.25 + dev: true + + /@jridgewell/resolve-uri@3.1.2: + resolution: {integrity: sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/set-array@1.2.1: + resolution: {integrity: sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==} + engines: {node: '>=6.0.0'} + dev: true + + /@jridgewell/sourcemap-codec@1.4.15: + resolution: {integrity: sha512-eF2rxCRulEKXHTRiDrDy6erMYWqNw4LPdQ8UQA4huuxaQsVeRPFl2oM8oDGxMFhJUWZf9McpLtJasDDZb/Bpeg==} + dev: true + + /@jridgewell/trace-mapping@0.3.25: + resolution: {integrity: sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==} + dependencies: + '@jridgewell/resolve-uri': 3.1.2 + '@jridgewell/sourcemap-codec': 1.4.15 + dev: true + + /@nodelib/fs.scandir@2.1.5: + resolution: {integrity: sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + run-parallel: 1.2.0 + dev: true + + /@nodelib/fs.stat@2.0.5: + resolution: {integrity: sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==} + engines: {node: '>= 8'} + dev: true + + /@nodelib/fs.walk@1.2.8: + resolution: {integrity: sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==} + engines: {node: '>= 8'} + dependencies: + '@nodelib/fs.scandir': 2.1.5 + fastq: 1.17.1 + dev: true + + /@pkgjs/parseargs@0.11.0: + resolution: {integrity: sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==} + engines: {node: '>=14'} + requiresBuild: true + dev: true + optional: true + + /@polka/url@1.0.0-next.25: + resolution: {integrity: sha512-j7P6Rgr3mmtdkeDGTe0E/aYyWEWVtc5yFXtHCRHs28/jptDEWfaVOc5T7cblqy1XKPPfCxJc/8DwQ5YgLOZOVQ==} + dev: true + + /@rollup/rollup-android-arm-eabi@4.13.0: + resolution: {integrity: sha512-5ZYPOuaAqEH/W3gYsRkxQATBW3Ii1MfaT4EQstTnLKViLi2gLSQmlmtTpGucNP3sXEpOiI5tdGhjdE111ekyEg==} + cpu: [arm] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-android-arm64@4.13.0: + resolution: {integrity: sha512-BSbaCmn8ZadK3UAQdlauSvtaJjhlDEjS5hEVVIN3A4bbl3X+otyf/kOJV08bYiRxfejP3DXFzO2jz3G20107+Q==} + cpu: [arm64] + os: [android] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-darwin-arm64@4.13.0: + resolution: {integrity: sha512-Ovf2evVaP6sW5Ut0GHyUSOqA6tVKfrTHddtmxGQc1CTQa1Cw3/KMCDEEICZBbyppcwnhMwcDce9ZRxdWRpVd6g==} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-darwin-x64@4.13.0: + resolution: {integrity: sha512-U+Jcxm89UTK592vZ2J9st9ajRv/hrwHdnvyuJpa5A2ngGSVHypigidkQJP+YiGL6JODiUeMzkqQzbCG3At81Gg==} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm-gnueabihf@4.13.0: + resolution: {integrity: sha512-8wZidaUJUTIR5T4vRS22VkSMOVooG0F4N+JSwQXWSRiC6yfEsFMLTYRFHvby5mFFuExHa/yAp9juSphQQJAijQ==} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm64-gnu@4.13.0: + resolution: {integrity: sha512-Iu0Kno1vrD7zHQDxOmvweqLkAzjxEVqNhUIXBsZ8hu8Oak7/5VTPrxOEZXYC1nmrBVJp0ZcL2E7lSuuOVaE3+w==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-arm64-musl@4.13.0: + resolution: {integrity: sha512-C31QrW47llgVyrRjIwiOwsHFcaIwmkKi3PCroQY5aVq4H0A5v/vVVAtFsI1nfBngtoRpeREvZOkIhmRwUKkAdw==} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-riscv64-gnu@4.13.0: + resolution: {integrity: sha512-Oq90dtMHvthFOPMl7pt7KmxzX7E71AfyIhh+cPhLY9oko97Zf2C9tt/XJD4RgxhaGeAraAXDtqxvKE1y/j35lA==} + cpu: [riscv64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-x64-gnu@4.13.0: + resolution: {integrity: sha512-yUD/8wMffnTKuiIsl6xU+4IA8UNhQ/f1sAnQebmE/lyQ8abjsVyDkyRkWop0kdMhKMprpNIhPmYlCxgHrPoXoA==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-linux-x64-musl@4.13.0: + resolution: {integrity: sha512-9RyNqoFNdF0vu/qqX63fKotBh43fJQeYC98hCaf89DYQpv+xu0D8QFSOS0biA7cGuqJFOc1bJ+m2rhhsKcw1hw==} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-arm64-msvc@4.13.0: + resolution: {integrity: sha512-46ue8ymtm/5PUU6pCvjlic0z82qWkxv54GTJZgHrQUuZnVH+tvvSP0LsozIDsCBFO4VjJ13N68wqrKSeScUKdA==} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-ia32-msvc@4.13.0: + resolution: {integrity: sha512-P5/MqLdLSlqxbeuJ3YDeX37srC8mCflSyTrUsgbU1c/U9j6l2g2GiIdYaGD9QjdMQPMSgYm7hgg0551wHyIluw==} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@rollup/rollup-win32-x64-msvc@4.13.0: + resolution: {integrity: sha512-UKXUQNbO3DOhzLRwHSpa0HnhhCgNODvfoPWv2FCXme8N/ANFfhIPMGuOT+QuKd16+B5yxZ0HdpNlqPvTMS1qfw==} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@sinclair/typebox@0.27.8: + resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} + dev: true + + /@sinonjs/commons@3.0.1: + resolution: {integrity: sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==} + dependencies: + type-detect: 4.0.8 + dev: true + + /@sinonjs/fake-timers@10.3.0: + resolution: {integrity: sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==} + dependencies: + '@sinonjs/commons': 3.0.1 + dev: true + + /@swc/core-darwin-arm64@1.4.6: + resolution: {integrity: sha512-bpggpx/BfLFyy48aUKq1PsNUxb7J6CINlpAUk0V4yXfmGnpZH80Gp1pM3GkFDQyCfq7L7IpjPrIjWQwCrL4hYw==} + engines: {node: '>=10'} + cpu: [arm64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-darwin-x64@1.4.6: + resolution: {integrity: sha512-vJn+/ZuBTg+vtNkcmgZdH6FQpa0hFVdnB9bAeqYwKkyqP15zaPe6jfC+qL2y/cIeC7ASvHXEKrnCZgBLxfVQ9w==} + engines: {node: '>=10'} + cpu: [x64] + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm-gnueabihf@1.4.6: + resolution: {integrity: sha512-hEmYcB/9XBAl02MtuVHszhNjQpjBzhk/NFulnU33tBMbNZpy2TN5yTsitezMq090QXdDz8sKIALApDyg07ZR8g==} + engines: {node: '>=10'} + cpu: [arm] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-gnu@1.4.6: + resolution: {integrity: sha512-/UCYIVoGpm2YVvGHZM2QOA3dexa28BjcpLAIYnoCbgH5f7ulDhE8FAIO/9pasj+kixDBsdqewHfsNXFYlgGJjQ==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-arm64-musl@1.4.6: + resolution: {integrity: sha512-LGQsKJ8MA9zZ8xHCkbGkcPSmpkZL2O7drvwsGKynyCttHhpwVjj9lguhD4DWU3+FWIsjvho5Vu0Ggei8OYi/Lw==} + engines: {node: '>=10'} + cpu: [arm64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-gnu@1.4.6: + resolution: {integrity: sha512-10JL2nLIreMQDKvq2TECnQe5fCuoqBHu1yW8aChqgHUyg9d7gfZX/kppUsuimqcgRBnS0AjTDAA+JF6UsG/2Yg==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-linux-x64-musl@1.4.6: + resolution: {integrity: sha512-EGyjFVzVY6Do89x8sfah7I3cuP4MwtwzmA6OlfD/KASqfCFf5eIaEBMbajgR41bVfMV7lK72lwAIea5xEyq1AQ==} + engines: {node: '>=10'} + cpu: [x64] + os: [linux] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-arm64-msvc@1.4.6: + resolution: {integrity: sha512-gfW9AuXvwSyK07Vb8Y8E9m2oJZk21WqcD+X4BZhkbKB0TCZK0zk1j/HpS2UFlr1JB2zPKPpSWLU3ll0GEHRG2A==} + engines: {node: '>=10'} + cpu: [arm64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-ia32-msvc@1.4.6: + resolution: {integrity: sha512-ZuQm81FhhvNVYtVb9GfZ+Du6e7fZlkisWvuCeBeRiyseNt1tcrQ8J3V67jD2nxje8CVXrwG3oUIbPcybv2rxfQ==} + engines: {node: '>=10'} + cpu: [ia32] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core-win32-x64-msvc@1.4.6: + resolution: {integrity: sha512-UagPb7w5V0uzWSjrXwOavGa7s9iv3wrVdEgWy+/inm0OwY4lj3zpK9qDnMWAwYLuFwkI3UG4Q3dH8wD+CUUcjw==} + engines: {node: '>=10'} + cpu: [x64] + os: [win32] + requiresBuild: true + dev: true + optional: true + + /@swc/core@1.4.6: + resolution: {integrity: sha512-A7iK9+1qzTCIuc3IYcS8gPHCm9bZVKUJrfNnwveZYyo6OFp3jLno4WOM2yBy5uqedgYATEiWgBYHKq37KrU6IA==} + engines: {node: '>=10'} + requiresBuild: true + peerDependencies: + '@swc/helpers': ^0.5.0 + peerDependenciesMeta: + '@swc/helpers': + optional: true + dependencies: + '@swc/counter': 0.1.3 + '@swc/types': 0.1.5 + optionalDependencies: + '@swc/core-darwin-arm64': 1.4.6 + '@swc/core-darwin-x64': 1.4.6 + '@swc/core-linux-arm-gnueabihf': 1.4.6 + '@swc/core-linux-arm64-gnu': 1.4.6 + '@swc/core-linux-arm64-musl': 1.4.6 + '@swc/core-linux-x64-gnu': 1.4.6 + '@swc/core-linux-x64-musl': 1.4.6 + '@swc/core-win32-arm64-msvc': 1.4.6 + '@swc/core-win32-ia32-msvc': 1.4.6 + '@swc/core-win32-x64-msvc': 1.4.6 + dev: true + + /@swc/counter@0.1.3: + resolution: {integrity: sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ==} + dev: true + + /@swc/types@0.1.5: + resolution: {integrity: sha512-myfUej5naTBWnqOCc/MdVOLVjXUXtIA+NpDrDBKJtLLg2shUjBu3cZmB/85RyitKc55+lUUyl7oRfLOvkr2hsw==} + dev: true + + /@tootallnate/once@2.0.0: + resolution: {integrity: sha512-XCuKFP5PS55gnMVu3dty8KPatLqUoy/ZYzDzAGCQ8JNFCkLXzmI7vNHCR+XpbZaMWQK/vQubr7PkYq8g470J/A==} + engines: {node: '>= 10'} + dev: true + + /@types/babel__core@7.20.5: + resolution: {integrity: sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==} + dependencies: + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 + '@types/babel__generator': 7.6.8 + '@types/babel__template': 7.4.4 + '@types/babel__traverse': 7.20.5 + dev: true + + /@types/babel__generator@7.6.8: + resolution: {integrity: sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@types/babel__template@7.4.4: + resolution: {integrity: sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==} + dependencies: + '@babel/parser': 7.24.0 + '@babel/types': 7.24.0 + dev: true + + /@types/babel__traverse@7.20.5: + resolution: {integrity: sha512-WXCyOcRtH37HAUkpXhUduaxdm82b4GSlyTqajXviN4EfiuPgNYR109xMCKvpl6zPIpua0DGlMEDCq+g8EdoheQ==} + dependencies: + '@babel/types': 7.24.0 + dev: true + + /@types/chai@4.3.12: + resolution: {integrity: sha512-zNKDHG/1yxm8Il6uCCVsm+dRdEsJlFoDu73X17y09bId6UwoYww+vFBsAcRzl8knM1sab3Dp1VRikFQwDOtDDw==} + dev: true + + /@types/d3-dsv@1.2.8: + resolution: {integrity: sha512-x1m1s0lVstZQ5/Kzp4bVIMee3fFuDm+hphVnvrYA7wU16XqwgbCBfeVvHYZzVQQIy4jyi3MEtgduLVuwIRCKLQ==} + dev: true + + /@types/d3-geo@1.12.7: + resolution: {integrity: sha512-QetZrWWjuMfCe0BHLjD+dOThlgk7YGZ2gj+yhFAbDN5TularNBEQiBs5/CIgX0+IBDjt7/fbkDd5V70J1LjjKA==} + dependencies: + '@types/geojson': 7946.0.14 + dev: true + + /@types/d3-hierarchy@1.1.11: + resolution: {integrity: sha512-lnQiU7jV+Gyk9oQYk0GGYccuexmQPTp08E0+4BidgFdiJivjEvf+esPSdZqCZ2C7UwTWejWpqetVaU8A+eX3FA==} + dev: true + + /@types/d3-path@1.0.11: + resolution: {integrity: sha512-4pQMp8ldf7UaB/gR8Fvvy69psNHkTpD/pVw3vmEi8iZAB9EPMBruB1JvHO4BIq9QkUUd2lV1F5YXpMNj7JPBpw==} + dev: true + + /@types/d3-sankey@0.11.2: + resolution: {integrity: sha512-U6SrTWUERSlOhnpSrgvMX64WblX1AxX6nEjI2t3mLK2USpQrnbwYYK+AS9SwiE7wgYmOsSSKoSdr8aoKBH0HgQ==} + dependencies: + '@types/d3-shape': 1.3.12 + dev: true + + /@types/d3-shape@1.3.12: + resolution: {integrity: sha512-8oMzcd4+poSLGgV0R1Q1rOlx/xdmozS4Xab7np0eamFFUYq71AU9pOCJEFnkXW2aI/oXdVYJzw6pssbSut7Z9Q==} + dependencies: + '@types/d3-path': 1.0.11 + dev: true + + /@types/d3-voronoi@1.1.12: + resolution: {integrity: sha512-DauBl25PKZZ0WVJr42a6CNvI6efsdzofl9sajqZr2Gf5Gu733WkDdUGiPkUHXiUvYGzNNlFQde2wdZdfQPG+yw==} + dev: true + + /@types/dagre@0.7.52: + resolution: {integrity: sha512-XKJdy+OClLk3hketHi9Qg6gTfe1F3y+UFnHxKA2rn9Dw+oXa4Gb378Ztz9HlMgZKSxpPmn4BNVh9wgkpvrK1uw==} + dev: true + + /@types/eslint-visitor-keys@1.0.0: + resolution: {integrity: sha512-OCutwjDZ4aFS6PB1UZ988C4YgwlBHJd6wCeQqaLdmadZ/7e+w79+hbMUFC1QXDNCmdyoRfAFdm0RypzwR+Qpag==} + dev: true + + /@types/estree@1.0.5: + resolution: {integrity: sha512-/kYRxGDLWzHOB7q+wtSUQlFrtcdUccpfy+X+9iMBpHK8QLLhx2wIPYuS5DYtR9Wa/YlZAbIovy7qVdB1Aq6Lyw==} + dev: true + + /@types/geojson@7946.0.14: + resolution: {integrity: sha512-WCfD5Ht3ZesJUsONdhvm84dmzWOiOzOAqOncN0++w0lBw1o8OuDNJF2McvvCef/yBqb/HYRahp1BYtODFQ8bRg==} + dev: true + + /@types/graceful-fs@4.1.9: + resolution: {integrity: sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==} + dependencies: + '@types/node': 20.11.26 + dev: true + + /@types/istanbul-lib-coverage@2.0.6: + resolution: {integrity: sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==} + dev: true + + /@types/istanbul-lib-report@3.0.3: + resolution: {integrity: sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==} + dependencies: + '@types/istanbul-lib-coverage': 2.0.6 + dev: true + + /@types/istanbul-reports@3.0.4: + resolution: {integrity: sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==} + dependencies: + '@types/istanbul-lib-report': 3.0.3 + dev: true + + /@types/jest@29.5.12: + resolution: {integrity: sha512-eDC8bTvT/QhYdxJAulQikueigY5AsdBRH2yDKW3yveW7svY3+DzN84/2NUgkw10RTiJbWqZrTtoGVdYlvFJdLw==} + dependencies: + expect: 29.7.0 + pretty-format: 29.7.0 + dev: true + + /@types/jsdom@20.0.1: + resolution: {integrity: sha512-d0r18sZPmMQr1eG35u12FZfhIXNrnsPU/g5wvRKCUf/tOGilKKwYMYGqh33BNR6ba+2gkHw1EUiHoN3mn7E5IQ==} + dependencies: + '@types/node': 20.11.26 + '@types/tough-cookie': 4.0.5 + parse5: 7.1.2 + dev: true + + /@types/json-schema@7.0.15: + resolution: {integrity: sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==} + dev: true + + /@types/lodash@4.17.0: + resolution: {integrity: sha512-t7dhREVv6dbNj0q17X12j7yDG4bD/DHYX7o5/DbDxobP0HnGPgpRz2Ej77aL7TZT3DSw13fqUTj8J4mMnqa7WA==} + dev: true + + /@types/node@20.11.26: + resolution: {integrity: sha512-YwOMmyhNnAWijOBQweOJnQPl068Oqd4K3OFbTc6AHJwzweUwwWG3GIFY74OKks2PJUDkQPeddOQES9mLn1CTEQ==} + dependencies: + undici-types: 5.26.5 + dev: true + + /@types/regression@2.0.6: + resolution: {integrity: sha512-sa+sHOUxh9fywFuAFLCcyupFN0CKX654QUZGW5fAZCmV51I4e5nQy1xL2g/JMUW/PeDoF3Yq2lDXb7MoC3KDNg==} + dev: true + + /@types/stack-utils@2.0.3: + resolution: {integrity: sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==} + dev: true + + /@types/topojson-client@3.1.4: + resolution: {integrity: sha512-Ntf3ZSetMYy7z3PrVCvcqmdRoVhgKA9UKN0ZuuZf8Ts2kcyL4qK34IXBs6qO5fem62EK4k03PtkJPVoroVu4/w==} + dependencies: + '@types/geojson': 7946.0.14 + '@types/topojson-specification': 1.0.5 + dev: true + + /@types/topojson-specification@1.0.5: + resolution: {integrity: sha512-C7KvcQh+C2nr6Y2Ub4YfgvWvWCgP2nOQMtfhlnwsRL4pYmmwzBS7HclGiS87eQfDOU/DLQpX6GEscviaz4yLIQ==} + dependencies: + '@types/geojson': 7946.0.14 + dev: true + + /@types/tough-cookie@4.0.5: + resolution: {integrity: sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA==} + dev: true + + /@types/yargs-parser@21.0.3: + resolution: {integrity: sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==} + dev: true + + /@types/yargs@17.0.32: + resolution: {integrity: sha512-xQ67Yc/laOG5uMfX/093MRlGGCIBzZMarVa+gfNKJxWAIgykYpVGkBdbqEzGDDfCrVUj6Hiff4mTZ5BA6TmAog==} + dependencies: + '@types/yargs-parser': 21.0.3 + dev: true + + /@typescript-eslint/eslint-plugin@2.34.0(@typescript-eslint/parser@2.34.0)(eslint@6.8.0)(typescript@5.4.2): + resolution: {integrity: sha512-4zY3Z88rEE99+CNvTbXSyovv2z9PNOVffTWD2W8QF5s2prBQtwN2zadqERcrHpcR7O/+KMI3fcTAmUUhK/iQcQ==} + engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + peerDependencies: + '@typescript-eslint/parser': ^2.0.0 + eslint: ^5.0.0 || ^6.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@typescript-eslint/experimental-utils': 2.34.0(eslint@6.8.0)(typescript@5.4.2) + '@typescript-eslint/parser': 2.34.0(eslint@6.8.0)(typescript@5.4.2) + eslint: 6.8.0 + functional-red-black-tree: 1.0.1 + regexpp: 3.2.0 + tsutils: 3.21.0(typescript@5.4.2) + typescript: 5.4.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/experimental-utils@2.34.0(eslint@6.8.0)(typescript@5.4.2): + resolution: {integrity: sha512-eS6FTkq+wuMJ+sgtuNTtcqavWXqsflWcfBnlYhg/nS4aZ1leewkXGbvBhaapn1q6qf4M71bsR1tez5JTRMuqwA==} + engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + peerDependencies: + eslint: '*' + dependencies: + '@types/json-schema': 7.0.15 + '@typescript-eslint/typescript-estree': 2.34.0(typescript@5.4.2) + eslint: 6.8.0 + eslint-scope: 5.1.1 + eslint-utils: 2.1.0 + transitivePeerDependencies: + - supports-color + - typescript + dev: true + + /@typescript-eslint/parser@2.34.0(eslint@6.8.0)(typescript@5.4.2): + resolution: {integrity: sha512-03ilO0ucSD0EPTw2X4PntSIRFtDPWjrVq7C3/Z3VQHRC7+13YB55rcJI3Jt+YgeHbjUdJPcPa7b23rXCBokuyA==} + engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + peerDependencies: + eslint: ^5.0.0 || ^6.0.0 + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + '@types/eslint-visitor-keys': 1.0.0 + '@typescript-eslint/experimental-utils': 2.34.0(eslint@6.8.0)(typescript@5.4.2) + '@typescript-eslint/typescript-estree': 2.34.0(typescript@5.4.2) + eslint: 6.8.0 + eslint-visitor-keys: 1.3.0 + typescript: 5.4.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@typescript-eslint/typescript-estree@2.34.0(typescript@5.4.2): + resolution: {integrity: sha512-OMAr+nJWKdlVM9LOqCqh3pQQPwxHAN7Du8DR6dmwCrAmxtiXQnhHJ6tBNtf+cggqfo51SG/FCwnKhXCIM7hnVg==} + engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + peerDependencies: + typescript: '*' + peerDependenciesMeta: + typescript: + optional: true + dependencies: + debug: 4.3.4 + eslint-visitor-keys: 1.3.0 + glob: 7.2.3 + is-glob: 4.0.3 + lodash: 4.17.21 + semver: 7.6.0 + tsutils: 3.21.0(typescript@5.4.2) + typescript: 5.4.2 + transitivePeerDependencies: + - supports-color + dev: true + + /@webassemblyjs/ast@1.9.0: + resolution: {integrity: sha512-C6wW5L+b7ogSDVqymbkkvuW9kruN//YisMED04xzeBBqjHa2FYnmvOlS6Xj68xWQRgWvI9cIglsjFowH/RJyEA==} + dependencies: + '@webassemblyjs/helper-module-context': 1.9.0 + '@webassemblyjs/helper-wasm-bytecode': 1.9.0 + '@webassemblyjs/wast-parser': 1.9.0 + dev: true + + /@webassemblyjs/floating-point-hex-parser@1.9.0: + resolution: {integrity: sha512-TG5qcFsS8QB4g4MhrxK5TqfdNe7Ey/7YL/xN+36rRjl/BlGE/NcBvJcqsRgCP6Z92mRE+7N50pRIi8SmKUbcQA==} + dev: true + + /@webassemblyjs/helper-api-error@1.9.0: + resolution: {integrity: sha512-NcMLjoFMXpsASZFxJ5h2HZRcEhDkvnNFOAKneP5RbKRzaWJN36NC4jqQHKwStIhGXu5mUWlUUk7ygdtrO8lbmw==} + dev: true + + /@webassemblyjs/helper-buffer@1.9.0: + resolution: {integrity: sha512-qZol43oqhq6yBPx7YM3m9Bv7WMV9Eevj6kMi6InKOuZxhw+q9hOkvq5e/PpKSiLfyetpaBnogSbNCfBwyB00CA==} + dev: true + + /@webassemblyjs/helper-code-frame@1.9.0: + resolution: {integrity: sha512-ERCYdJBkD9Vu4vtjUYe8LZruWuNIToYq/ME22igL+2vj2dQ2OOujIZr3MEFvfEaqKoVqpsFKAGsRdBSBjrIvZA==} + dependencies: + '@webassemblyjs/wast-printer': 1.9.0 + dev: true + + /@webassemblyjs/helper-fsm@1.9.0: + resolution: {integrity: sha512-OPRowhGbshCb5PxJ8LocpdX9Kl0uB4XsAjl6jH/dWKlk/mzsANvhwbiULsaiqT5GZGT9qinTICdj6PLuM5gslw==} + dev: true + + /@webassemblyjs/helper-module-context@1.9.0: + resolution: {integrity: sha512-MJCW8iGC08tMk2enck1aPW+BE5Cw8/7ph/VGZxwyvGbJwjktKkDK7vy7gAmMDx88D7mhDTCNKAW5tED+gZ0W8g==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + dev: true + + /@webassemblyjs/helper-wasm-bytecode@1.9.0: + resolution: {integrity: sha512-R7FStIzyNcd7xKxCZH5lE0Bqy+hGTwS3LJjuv1ZVxd9O7eHCedSdrId/hMOd20I+v8wDXEn+bjfKDLzTepoaUw==} + dev: true + + /@webassemblyjs/helper-wasm-section@1.9.0: + resolution: {integrity: sha512-XnMB8l3ek4tvrKUUku+IVaXNHz2YsJyOOmz+MMkZvh8h1uSJpSen6vYnw3IoQ7WwEuAhL8Efjms1ZWjqh2agvw==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-buffer': 1.9.0 + '@webassemblyjs/helper-wasm-bytecode': 1.9.0 + '@webassemblyjs/wasm-gen': 1.9.0 + dev: true + + /@webassemblyjs/ieee754@1.9.0: + resolution: {integrity: sha512-dcX8JuYU/gvymzIHc9DgxTzUUTLexWwt8uCTWP3otys596io0L5aW02Gb1RjYpx2+0Jus1h4ZFqjla7umFniTg==} + dependencies: + '@xtuc/ieee754': 1.2.0 + dev: true + + /@webassemblyjs/leb128@1.9.0: + resolution: {integrity: sha512-ENVzM5VwV1ojs9jam6vPys97B/S65YQtv/aanqnU7D8aSoHFX8GyhGg0CMfyKNIHBuAVjy3tlzd5QMMINa7wpw==} + dependencies: + '@xtuc/long': 4.2.2 + dev: true + + /@webassemblyjs/utf8@1.9.0: + resolution: {integrity: sha512-GZbQlWtopBTP0u7cHrEx+73yZKrQoBMpwkGEIqlacljhXCkVM1kMQge/Mf+csMJAjEdSwhOyLAS0AoR3AG5P8w==} + dev: true + + /@webassemblyjs/wasm-edit@1.9.0: + resolution: {integrity: sha512-FgHzBm80uwz5M8WKnMTn6j/sVbqilPdQXTWraSjBwFXSYGirpkSWE2R9Qvz9tNiTKQvoKILpCuTjBKzOIm0nxw==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-buffer': 1.9.0 + '@webassemblyjs/helper-wasm-bytecode': 1.9.0 + '@webassemblyjs/helper-wasm-section': 1.9.0 + '@webassemblyjs/wasm-gen': 1.9.0 + '@webassemblyjs/wasm-opt': 1.9.0 + '@webassemblyjs/wasm-parser': 1.9.0 + '@webassemblyjs/wast-printer': 1.9.0 + dev: true + + /@webassemblyjs/wasm-gen@1.9.0: + resolution: {integrity: sha512-cPE3o44YzOOHvlsb4+E9qSqjc9Qf9Na1OO/BHFy4OI91XDE14MjFN4lTMezzaIWdPqHnsTodGGNP+iRSYfGkjA==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-wasm-bytecode': 1.9.0 + '@webassemblyjs/ieee754': 1.9.0 + '@webassemblyjs/leb128': 1.9.0 + '@webassemblyjs/utf8': 1.9.0 + dev: true + + /@webassemblyjs/wasm-opt@1.9.0: + resolution: {integrity: sha512-Qkjgm6Anhm+OMbIL0iokO7meajkzQD71ioelnfPEj6r4eOFuqm4YC3VBPqXjFyyNwowzbMD+hizmprP/Fwkl2A==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-buffer': 1.9.0 + '@webassemblyjs/wasm-gen': 1.9.0 + '@webassemblyjs/wasm-parser': 1.9.0 + dev: true + + /@webassemblyjs/wasm-parser@1.9.0: + resolution: {integrity: sha512-9+wkMowR2AmdSWQzsPEjFU7njh8HTO5MqO8vjwEHuM+AMHioNqSBONRdr0NQQ3dVQrzp0s8lTcYqzUdb7YgELA==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-api-error': 1.9.0 + '@webassemblyjs/helper-wasm-bytecode': 1.9.0 + '@webassemblyjs/ieee754': 1.9.0 + '@webassemblyjs/leb128': 1.9.0 + '@webassemblyjs/utf8': 1.9.0 + dev: true + + /@webassemblyjs/wast-parser@1.9.0: + resolution: {integrity: sha512-qsqSAP3QQ3LyZjNC/0jBJ/ToSxfYJ8kYyuiGvtn/8MK89VrNEfwj7BPQzJVHi0jGTRK2dGdJ5PRqhtjzoww+bw==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/floating-point-hex-parser': 1.9.0 + '@webassemblyjs/helper-api-error': 1.9.0 + '@webassemblyjs/helper-code-frame': 1.9.0 + '@webassemblyjs/helper-fsm': 1.9.0 + '@xtuc/long': 4.2.2 + dev: true + + /@webassemblyjs/wast-printer@1.9.0: + resolution: {integrity: sha512-2J0nE95rHXHyQ24cWjMKJ1tqB/ds8z/cyeOZxJhcb+rW+SQASVjuznUSmdz5GpVJTzU8JkhYut0D3siFDD6wsA==} + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/wast-parser': 1.9.0 + '@xtuc/long': 4.2.2 + dev: true + + /@xtuc/ieee754@1.2.0: + resolution: {integrity: sha512-DX8nKgqcGwsc0eJSqYt5lwP4DH5FlHnmuWWBRy7X0NcaGR0ZtuyeESgMwTYVEtxmsNGY+qit4QYT/MIYTOTPeA==} + dev: true + + /@xtuc/long@4.2.2: + resolution: {integrity: sha512-NuHqBY1PB/D8xU6s/thBgOAiAP7HOYDQ32+BFZILJ8ivkUkAHQnWfn6WhL79Owj1qmUnoN/YPhktdIoucipkAQ==} + dev: true + + /a-sync-waterfall@1.0.1: + resolution: {integrity: sha512-RYTOHHdWipFUliRFMCS4X2Yn2X8M87V/OpSqWzKKOGhzqyUxzyVmhHDH9sAvG+ZuQf/TAOFsLCpMw09I1ufUnA==} + dev: true + + /abab@2.0.6: + resolution: {integrity: sha512-j2afSsaIENvHZN2B8GOpF566vZ5WVk5opAiMTvWgaQT8DkbOqsTfvNAvHoRGU2zzP8cPoqys+xHTRDWW8L+/BA==} + deprecated: Use your platform's native atob() and btoa() methods instead + dev: true + + /abs-svg-path@0.1.1: + resolution: {integrity: sha512-d8XPSGjfyzlXC3Xx891DJRyZfqk5JU0BJrDQcsWomFIV1/BIzPW5HDH5iDdWpqWaav0YVIEzT1RHTwWr0FFshA==} + dev: false + + /acorn-globals@7.0.1: + resolution: {integrity: sha512-umOSDSDrfHbTNPuNpC2NSnnA3LUrqpevPb4T9jRx4MagXNS0rs+gwiTcAvqCRmsD6utzsrzNt+ebm00SNWiC3Q==} + dependencies: + acorn: 8.11.3 + acorn-walk: 8.3.2 + dev: true + + /acorn-jsx@5.3.2(acorn@7.4.1): + resolution: {integrity: sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==} + peerDependencies: + acorn: ^6.0.0 || ^7.0.0 || ^8.0.0 + dependencies: + acorn: 7.4.1 + dev: true + + /acorn-walk@8.3.2: + resolution: {integrity: sha512-cjkyv4OtNCIeqhHrfS81QWXoCBPExR/J62oyEqepVw8WaQeSqpW2uhuLPh1m9eWhDuOo/jUXVTlifvesOWp/4A==} + engines: {node: '>=0.4.0'} + dev: true + + /acorn@6.4.2: + resolution: {integrity: sha512-XtGIhXwF8YM8bJhGxG5kXgjkEuNGLTkoYqVE+KMR+aspr4KGYmKYg7yUe3KghyQ9yheNwLnjmzh/7+gfDBmHCQ==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /acorn@7.4.1: + resolution: {integrity: sha512-nQyp0o1/mNdbTO1PO6kHkwSrmgZ0MT/jCCpNiwbUjGoRN4dlBhqJtoQuCnEOKzgTVwg0ZWiCoQy6SxMebQVh8A==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /acorn@8.11.3: + resolution: {integrity: sha512-Y9rRfJG5jcKOE0CLisYbojUjIrIEE7AGMzA/Sm4BslANhbS+cDMpgBdcPT91oJ7OuJ9hYJBx59RjbhxVnrF8Xg==} + engines: {node: '>=0.4.0'} + hasBin: true + dev: true + + /agent-base@6.0.2: + resolution: {integrity: sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ==} + engines: {node: '>= 6.0.0'} + dependencies: + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /ajv-errors@1.0.1(ajv@6.12.6): + resolution: {integrity: sha512-DCRfO/4nQ+89p/RK43i8Ezd41EqdGIU4ld7nGF8OQ14oc/we5rEntLCUa7+jrn3nn83BosfwZA0wb4pon2o8iQ==} + peerDependencies: + ajv: '>=5.0.0' + dependencies: + ajv: 6.12.6 + dev: true + + /ajv-keywords@3.5.2(ajv@6.12.6): + resolution: {integrity: sha512-5p6WTN0DdTGVQk6VjcEju19IgaHudalcfabD7yhDGeA6bcQnmL+CpveLJq/3hvfwd1aof6L386Ougkx6RfyMIQ==} + peerDependencies: + ajv: ^6.9.1 + dependencies: + ajv: 6.12.6 + dev: true + + /ajv@6.12.6: + resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} + dependencies: + fast-deep-equal: 3.1.3 + fast-json-stable-stringify: 2.1.0 + json-schema-traverse: 0.4.1 + uri-js: 4.4.1 + dev: true + + /ansi-escapes@4.3.2: + resolution: {integrity: sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.21.3 + dev: true + + /ansi-regex@2.1.1: + resolution: {integrity: sha512-TIGnTpdo+E3+pCyAluZvtED5p5wCqLdezCyhPZzKPcxvFplEt4i+W7OONCKgeZFT3+y5NZZfOOS/Bdcanm1MYA==} + engines: {node: '>=0.10.0'} + dev: true + + /ansi-regex@4.1.1: + resolution: {integrity: sha512-ILlv4k/3f6vfQ4OoP2AGvirOktlQ98ZEL1k9FaQjxa3L1abBgbuTDAdPOpvbGncC0BTVQrl+OM8xZGK6tWXt7g==} + engines: {node: '>=6'} + dev: true + + /ansi-regex@5.0.1: + resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} + engines: {node: '>=8'} + dev: true + + /ansi-regex@6.0.1: + resolution: {integrity: sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA==} + engines: {node: '>=12'} + dev: true + + /ansi-styles@3.2.1: + resolution: {integrity: sha512-VT0ZI6kZRdTh8YyJw3SMbYm/u+NqfsAxEpWO0Pf9sq8/e94WxxOpPKx9FR1FlyCtOVDNOQ+8ntlqFxiRc+r5qA==} + engines: {node: '>=4'} + dependencies: + color-convert: 1.9.3 + dev: true + + /ansi-styles@4.3.0: + resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} + engines: {node: '>=8'} + dependencies: + color-convert: 2.0.1 + dev: true + + /ansi-styles@5.2.0: + resolution: {integrity: sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==} + engines: {node: '>=10'} + dev: true + + /ansi-styles@6.2.1: + resolution: {integrity: sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==} + engines: {node: '>=12'} + dev: true + + /any-promise@1.3.0: + resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==} + dev: true + + /anymatch@1.3.2: + resolution: {integrity: sha512-0XNayC8lTHQ2OI8aljNCN3sSx6hsr/1+rlcDAotXJR7C1oZZHCNsfpbKwMjRA3Uqb5tF1Rae2oloTr4xpq+WjA==} + requiresBuild: true + dependencies: + micromatch: 2.3.11 + normalize-path: 2.1.1 + dev: true + optional: true + + /anymatch@2.0.0: + resolution: {integrity: sha512-5teOsQWABXHHBFP9y3skS5P3d/WfWXpv3FUpy+LorMrNYaT9pI4oLMQX7jzQ2KklNpGpWHzdCXTDT2Y3XGlZBw==} + requiresBuild: true + dependencies: + micromatch: 3.1.10(supports-color@6.1.0) + normalize-path: 2.1.1 + transitivePeerDependencies: + - supports-color + dev: true + optional: true + + /anymatch@3.1.3: + resolution: {integrity: sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==} + engines: {node: '>= 8'} + dependencies: + normalize-path: 3.0.0 + picomatch: 2.3.1 + dev: true + + /aproba@1.2.0: + resolution: {integrity: sha512-Y9J6ZjXtoYh8RnXVCMOU/ttDmk1aBjunq9vO0ta5x85WDQiQfUF9sIPBITdbiiIVcBo03Hi3jMxigBtsddlXRw==} + dev: true + + /argparse@1.0.10: + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} + dependencies: + sprintf-js: 1.0.3 + dev: true + + /arr-diff@2.0.0: + resolution: {integrity: sha512-dtXTVMkh6VkEEA7OhXnN1Ecb8aAGFdZ1LFxtOCoqj4qkyOJMt7+qs6Ahdy6p/NQCPYsRSXXivhSB/J5E9jmYKA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + arr-flatten: 1.1.0 + dev: true + optional: true + + /arr-diff@4.0.0: + resolution: {integrity: sha512-YVIQ82gZPGBebQV/a8dar4AitzCQs0jjXwMPZllpXMaGjXPYVUawSxQrRsjhjupyVxEvbHgUmIhKVlND+j02kA==} + engines: {node: '>=0.10.0'} + dev: true + + /arr-flatten@1.1.0: + resolution: {integrity: sha512-L3hKV5R/p5o81R7O02IGnwpDmkp6E982XhtbuwSe3O4qOtMMMtodicASA1Cny2U+aCXcNpml+m4dPsvsJ3jatg==} + engines: {node: '>=0.10.0'} + dev: true + + /arr-union@3.1.0: + resolution: {integrity: sha512-sKpyeERZ02v1FeCZT8lrfJq5u6goHCtpTAzPwJYe7c8SPFOboNjNg1vz2L4VTn9T4PQxEx13TbXLmYUcS6Ug7Q==} + engines: {node: '>=0.10.0'} + dev: true + + /array-union@2.1.0: + resolution: {integrity: sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw==} + engines: {node: '>=8'} + dev: true + + /array-unique@0.2.1: + resolution: {integrity: sha512-G2n5bG5fSUCpnsXz4+8FUkYsGPkNfLn9YvS66U5qbTIXI2Ynnlo4Bi42bWv+omKUCqz+ejzfClwne0alJWJPhg==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /array-unique@0.3.2: + resolution: {integrity: sha512-SleRWjh9JUud2wH1hPs9rZBZ33H6T9HOiL0uwGnGx9FpE6wKGyfWugmbkEOIs6qWrZhg0LWeLziLrEwQJhs5mQ==} + engines: {node: '>=0.10.0'} + dev: true + + /asap@2.0.6: + resolution: {integrity: sha512-BSHWgDSAiKs50o2Re8ppvp3seVHXSRM44cdSsT9FfNEUUZLOGWVCsiWaRPWM1Znn+mqZ1OfVZ3z3DWEzSp7hRA==} + dev: true + + /asn1.js@4.10.1: + resolution: {integrity: sha512-p32cOF5q0Zqs9uBiONKYLm6BClCoBCM5O9JfeUSlnQLBTxYdTK+pW+nXflm8UkKd2UYlEbYz5qEi0JuZR9ckSw==} + dependencies: + bn.js: 4.12.0 + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + dev: true + + /assert@1.5.1: + resolution: {integrity: sha512-zzw1uCAgLbsKwBfFc8CX78DDg+xZeBksSO3vwVIDDN5i94eOrPsSSyiVhmsSABFDM/OcpE2aagCat9dnWQLG1A==} + dependencies: + object.assign: 4.1.5 + util: 0.10.4 + dev: true + + /assertion-error@1.1.0: + resolution: {integrity: sha512-jgsaNduz+ndvGyFt3uSuWqvy4lCnIJiovtouQN5JZHOKCS2QuhEdbcQHFhVksz2N2U9hXJo8odG7ETyWlEeuDw==} + dev: true + + /assign-symbols@1.0.0: + resolution: {integrity: sha512-Q+JC7Whu8HhmTdBph/Tq59IoRtoy6KAm5zzPv00WdujX82lbAL8K7WVjne7vdCsAmbF4AYaDOPyO3k0kl8qIrw==} + engines: {node: '>=0.10.0'} + dev: true + + /astral-regex@1.0.0: + resolution: {integrity: sha512-+Ryf6g3BKoRc7jfp7ad8tM4TtMiaWvbF/1/sQcZPkkS7ag3D5nMBCe2UfOTONtAkaG0tO0ij3C5Lwmf1EiyjHg==} + engines: {node: '>=4'} + dev: true + + /async-each@1.0.6: + resolution: {integrity: sha512-c646jH1avxr+aVpndVMeAfYw7wAa6idufrlN3LPA4PmKS0QEGp6PIC9nwz0WQkkvBGAMEki3pFdtxaF39J9vvg==} + requiresBuild: true + dev: true + optional: true + + /asynckit@0.4.0: + resolution: {integrity: sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q==} + dev: true + + /atob@2.1.2: + resolution: {integrity: sha512-Wm6ukoaOGJi/73p/cl2GvLjTI5JM1k/O14isD73YML8StrH/7/lRFgmg8nICZgD3bZZvjwCGxtMOD3wWNAu8cg==} + engines: {node: '>= 4.5.0'} + hasBin: true + dev: true + + /babel-jest@29.7.0(@babel/core@7.24.0): + resolution: {integrity: sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@babel/core': ^7.8.0 + dependencies: + '@babel/core': 7.24.0 + '@jest/transform': 29.7.0 + '@types/babel__core': 7.20.5 + babel-plugin-istanbul: 6.1.1 + babel-preset-jest: 29.6.3(@babel/core@7.24.0) + chalk: 4.1.2 + graceful-fs: 4.2.11 + slash: 3.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-istanbul@6.1.1: + resolution: {integrity: sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==} + engines: {node: '>=8'} + dependencies: + '@babel/helper-plugin-utils': 7.24.0 + '@istanbuljs/load-nyc-config': 1.1.0 + '@istanbuljs/schema': 0.1.3 + istanbul-lib-instrument: 5.2.1 + test-exclude: 6.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /babel-plugin-jest-hoist@29.6.3: + resolution: {integrity: sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@babel/template': 7.24.0 + '@babel/types': 7.24.0 + '@types/babel__core': 7.20.5 + '@types/babel__traverse': 7.20.5 + dev: true + + /babel-preset-current-node-syntax@1.0.1(@babel/core@7.24.0): + resolution: {integrity: sha512-M7LQ0bxarkxQoN+vz5aJPsLBn77n8QgTFmo8WK0/44auK2xlCXrYcUxHFxgU7qW5Yzw/CjmLRK2uJzaCd7LvqQ==} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.24.0 + '@babel/plugin-syntax-async-generators': 7.8.4(@babel/core@7.24.0) + '@babel/plugin-syntax-bigint': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-class-properties': 7.12.13(@babel/core@7.24.0) + '@babel/plugin-syntax-import-meta': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-json-strings': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-logical-assignment-operators': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-nullish-coalescing-operator': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-numeric-separator': 7.10.4(@babel/core@7.24.0) + '@babel/plugin-syntax-object-rest-spread': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-catch-binding': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-optional-chaining': 7.8.3(@babel/core@7.24.0) + '@babel/plugin-syntax-top-level-await': 7.14.5(@babel/core@7.24.0) + dev: true + + /babel-preset-jest@29.6.3(@babel/core@7.24.0): + resolution: {integrity: sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@babel/core': ^7.0.0 + dependencies: + '@babel/core': 7.24.0 + babel-plugin-jest-hoist: 29.6.3 + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.0) + dev: true + + /balanced-match@1.0.2: + resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} + dev: true + + /base64-js@1.5.1: + resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} + dev: true + + /base@0.11.2: + resolution: {integrity: sha512-5T6P4xPgpp0YDFvSWwEZ4NoE3aM4QBQXDzmVbraCkFj8zHM+mba8SyqB5DbZWyR7mYHo6Y7BdQo3MoA4m0TeQg==} + engines: {node: '>=0.10.0'} + dependencies: + cache-base: 1.0.1 + class-utils: 0.3.6 + component-emitter: 1.3.1 + define-property: 1.0.0 + isobject: 3.0.1 + mixin-deep: 1.3.2 + pascalcase: 0.1.1 + dev: true + + /big.js@5.2.2: + resolution: {integrity: sha512-vyL2OymJxmarO8gxMr0mhChsO9QGwhynfuu4+MHTAW6czfq9humCB7rKpUjDd9YUiDPU4mzpyupFSvOClAwbmQ==} + dev: true + + /binary-extensions@1.13.1: + resolution: {integrity: sha512-Un7MIEDdUC5gNpcGDV97op1Ywk748MpHcFTHoYs6qnj1Z3j7I53VG3nwZhKzoBZmbdRNnb6WRdFlwl7tSDuZGw==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /binary-extensions@2.2.0: + resolution: {integrity: sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA==} + engines: {node: '>=8'} + dev: true + + /bindings@1.5.0: + resolution: {integrity: sha512-p2q/t/mhvuOj/UeLlV6566GD/guowlr0hHxClI0W9m7MWYkL1F0hLo+0Aexs9HSPCtR1SXQ0TD3MMKrXZajbiQ==} + requiresBuild: true + dependencies: + file-uri-to-path: 1.0.0 + dev: true + optional: true + + /bluebird@3.7.2: + resolution: {integrity: sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==} + dev: true + + /bn.js@4.12.0: + resolution: {integrity: sha512-c98Bf3tPniI+scsdk237ku1Dc3ujXQTSgyiPUDEOe7tRkhrqridvh8klBv0HCEso1OLOYcHuCv/cS6DNxKH+ZA==} + dev: true + + /bn.js@5.2.1: + resolution: {integrity: sha512-eXRvHzWyYPBuB4NBy0cmYQjGitUrtqwbvlzP3G6VFnNRbsZQIxQ10PbKKHt8gZ/HW/D/747aDl+QkDqg3KQLMQ==} + dev: true + + /body-parser@1.20.2: + resolution: {integrity: sha512-ml9pReCu3M61kGlqoTm2umSXTlRTuGTx0bfYj+uIUKKYycG5NtSbeetV3faSU6R7ajOPw0g/J1PvK4qNy7s5bA==} + engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + dependencies: + bytes: 3.1.2 + content-type: 1.0.5 + debug: 2.6.9(supports-color@6.1.0) + depd: 2.0.0 + destroy: 1.2.0 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + on-finished: 2.4.1 + qs: 6.11.0 + raw-body: 2.5.2 + type-is: 1.6.18 + unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /boolbase@1.0.0: + resolution: {integrity: sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww==} + dev: true + + /brace-expansion@1.1.11: + resolution: {integrity: sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==} + dependencies: + balanced-match: 1.0.2 + concat-map: 0.0.1 + dev: true + + /brace-expansion@2.0.1: + resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} + dependencies: + balanced-match: 1.0.2 + dev: true + + /braces@1.8.5: + resolution: {integrity: sha512-xU7bpz2ytJl1bH9cgIurjpg/n8Gohy9GTw81heDYLJQ4RU60dlyJsa+atVF2pI0yMMvKxI9HkKwjePCj5XI1hw==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + expand-range: 1.8.2 + preserve: 0.2.0 + repeat-element: 1.1.4 + dev: true + optional: true + + /braces@2.3.2(supports-color@6.1.0): + resolution: {integrity: sha512-aNdbnj9P8PjdXU4ybaWLK2IF3jc/EoDYbC7AazW6to3TRsfXxscC9UXOB5iDiEQrkyIbWp2SLQda4+QAa7nc3w==} + engines: {node: '>=0.10.0'} + dependencies: + arr-flatten: 1.1.0 + array-unique: 0.3.2 + extend-shallow: 2.0.1 + fill-range: 4.0.0 + isobject: 3.0.1 + repeat-element: 1.1.4 + snapdragon: 0.8.2(supports-color@6.1.0) + snapdragon-node: 2.1.1 + split-string: 3.1.0 + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /braces@3.0.2: + resolution: {integrity: sha512-b8um+L1RzM3WDSzvhm6gIz1yfTbBt6YTlcEKAvsmqCZZFw46z626lVj9j1yEPW33H5H+lBQpZMP1k8l+78Ha0A==} + engines: {node: '>=8'} + dependencies: + fill-range: 7.0.1 + dev: true + + /brorand@1.1.0: + resolution: {integrity: sha512-cKV8tMCEpQs4hK/ik71d6LrPOnpkpGBR0wzxqr68g2m/LB2GxVYQroAjMJZRVM1Y4BCjCKc3vAamxSzOY2RP+w==} + dev: true + + /browserify-aes@1.2.0: + resolution: {integrity: sha512-+7CHXqGuspUn/Sl5aO7Ea0xWGAtETPXNSAjHo48JfLdPWcMng33Xe4znFvQweqc/uzk5zSOI3H52CYnjCfb5hA==} + dependencies: + buffer-xor: 1.0.3 + cipher-base: 1.0.4 + create-hash: 1.2.0 + evp_bytestokey: 1.0.3 + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /browserify-cipher@1.0.1: + resolution: {integrity: sha512-sPhkz0ARKbf4rRQt2hTpAHqn47X3llLkUGn+xEJzLjwY8LRs2p0v7ljvI5EyoRO/mexrNunNECisZs+gw2zz1w==} + dependencies: + browserify-aes: 1.2.0 + browserify-des: 1.0.2 + evp_bytestokey: 1.0.3 + dev: true + + /browserify-des@1.0.2: + resolution: {integrity: sha512-BioO1xf3hFwz4kc6iBhI3ieDFompMhrMlnDFC4/0/vd5MokpuAc3R+LYbwTA9A5Yc9pq9UYPqffKpW2ObuwX5A==} + dependencies: + cipher-base: 1.0.4 + des.js: 1.1.0 + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /browserify-rsa@4.1.0: + resolution: {integrity: sha512-AdEER0Hkspgno2aR97SAf6vi0y0k8NuOpGnVH3O99rcA5Q6sh8QxcngtHuJ6uXwnfAXNM4Gn1Gb7/MV1+Ymbog==} + dependencies: + bn.js: 5.2.1 + randombytes: 2.1.0 + dev: true + + /browserify-sign@4.2.3: + resolution: {integrity: sha512-JWCZW6SKhfhjJxO8Tyiiy+XYB7cqd2S5/+WeYHsKdNKFlCBhKbblba1A/HN/90YwtxKc8tCErjffZl++UNmGiw==} + engines: {node: '>= 0.12'} + dependencies: + bn.js: 5.2.1 + browserify-rsa: 4.1.0 + create-hash: 1.2.0 + create-hmac: 1.1.7 + elliptic: 6.5.5 + hash-base: 3.0.4 + inherits: 2.0.4 + parse-asn1: 5.1.7 + readable-stream: 2.3.8 + safe-buffer: 5.2.1 + dev: true + + /browserify-zlib@0.2.0: + resolution: {integrity: sha512-Z942RysHXmJrhqk88FmKBVq/v5tqmSkDz7p54G/MGyjMnCFFnC79XWNbg+Vta8W6Wb2qtSZTSxIGkJrRpCFEiA==} + dependencies: + pako: 1.0.11 + dev: true + + /browserslist@4.23.0: + resolution: {integrity: sha512-QW8HiM1shhT2GuzkvklfjcKDiWFXHOeFCIA/huJPwHsslwcydgk7X+z2zXpEijP98UCY7HbubZt5J2Zgvf0CaQ==} + engines: {node: ^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7} + hasBin: true + dependencies: + caniuse-lite: 1.0.30001597 + electron-to-chromium: 1.4.701 + node-releases: 2.0.14 + update-browserslist-db: 1.0.13(browserslist@4.23.0) + dev: true + + /bs-logger@0.2.6: + resolution: {integrity: sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==} + engines: {node: '>= 6'} + dependencies: + fast-json-stable-stringify: 2.1.0 + dev: true + + /bser@2.1.1: + resolution: {integrity: sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==} + dependencies: + node-int64: 0.4.0 + dev: true + + /buffer-from@1.1.2: + resolution: {integrity: sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==} + dev: true + + /buffer-xor@1.0.3: + resolution: {integrity: sha512-571s0T7nZWK6vB67HI5dyUF7wXiNcfaPPPTl6zYCNApANjIvYJTg7hlud/+cJpdAhS7dVzqMLmfhfHR3rAcOjQ==} + dev: true + + /buffer@4.9.2: + resolution: {integrity: sha512-xq+q3SRMOxGivLhBNaUdC64hDTQwejJ+H0T/NB1XMtTVEwNTrfFF3gAxiyW0Bu/xWEGhjVKgUcMhCrUy2+uCWg==} + dependencies: + base64-js: 1.5.1 + ieee754: 1.2.1 + isarray: 1.0.0 + dev: true + + /builtin-status-codes@3.0.0: + resolution: {integrity: sha512-HpGFw18DgFWlncDfjTa2rcQ4W88O1mC8e8yZ2AvQY5KDaktSTwo+KRf6nHK6FRI5FyRyb/5T6+TSxfP7QyGsmQ==} + dev: true + + /bundle-require@4.0.2(esbuild@0.19.12): + resolution: {integrity: sha512-jwzPOChofl67PSTW2SGubV9HBQAhhR2i6nskiOThauo9dzwDUgOWQScFVaJkjEfYX+UXiD+LEx8EblQMc2wIag==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + peerDependencies: + esbuild: '>=0.17' + dependencies: + esbuild: 0.19.12 + load-tsconfig: 0.2.5 + dev: true + + /bytes@3.1.2: + resolution: {integrity: sha512-/Nf7TyzTx6S3yRJObOAV7956r8cr2+Oj8AC5dt8wSP3BQAoeX58NoHyCU8P8zGkNXStjTSi6fzO6F0pBdcYbEg==} + engines: {node: '>= 0.8'} + dev: true + + /cac@6.7.14: + resolution: {integrity: sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==} + engines: {node: '>=8'} + dev: true + + /cacache@12.0.4: + resolution: {integrity: sha512-a0tMB40oefvuInr4Cwb3GerbL9xTj1D5yg0T5xrjGCGyfvbxseIXX7BAO/u/hIXdafzOI5JC3wDwHyf24buOAQ==} + dependencies: + bluebird: 3.7.2 + chownr: 1.1.4 + figgy-pudding: 3.5.2 + glob: 7.2.3 + graceful-fs: 4.2.11 + infer-owner: 1.0.4 + lru-cache: 5.1.1 + mississippi: 3.0.0 + mkdirp: 0.5.6 + move-concurrently: 1.0.1 + promise-inflight: 1.0.1(bluebird@3.7.2) + rimraf: 2.7.1 + ssri: 6.0.2 + unique-filename: 1.1.1 + y18n: 4.0.3 + dev: true + + /cache-base@1.0.1: + resolution: {integrity: sha512-AKcdTnFSWATd5/GCPRxr2ChwIJ85CeyrEyjRHlKxQ56d4XJMGym0uAiKn0xbLOGOl3+yRpOTi484dVCEc5AUzQ==} + engines: {node: '>=0.10.0'} + dependencies: + collection-visit: 1.0.0 + component-emitter: 1.3.1 + get-value: 2.0.6 + has-value: 1.0.0 + isobject: 3.0.1 + set-value: 2.0.1 + to-object-path: 0.3.0 + union-value: 1.0.1 + unset-value: 1.0.0 + dev: true + + /call-bind@1.0.7: + resolution: {integrity: sha512-GHTSNSYICQ7scH7sZ+M2rFopRoLh8t2bLSW6BbgrtLsahOIB5iyAVJf9GjWK3cYTDaMj4XdBpM1cA6pIS0Kv2w==} + engines: {node: '>= 0.4'} + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + set-function-length: 1.2.2 + dev: true + + /callsites@3.1.0: + resolution: {integrity: sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==} + engines: {node: '>=6'} + dev: true + + /camelcase@2.1.1: + resolution: {integrity: sha512-DLIsRzJVBQu72meAKPkWQOLcujdXT32hwdfnkI1frSiSRMK1MofjKHf+MEx0SB6fjEFXL8fBDv1dKymBlOp4Qw==} + engines: {node: '>=0.10.0'} + dev: true + + /camelcase@5.3.1: + resolution: {integrity: sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==} + engines: {node: '>=6'} + dev: true + + /camelcase@6.3.0: + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} + engines: {node: '>=10'} + dev: true + + /caniuse-lite@1.0.30001597: + resolution: {integrity: sha512-7LjJvmQU6Sj7bL0j5b5WY/3n7utXUJvAe1lxhsHDbLmwX9mdL86Yjtr+5SRCyf8qME4M7pU2hswj0FpyBVCv9w==} + dev: true + + /chai@4.1.2: + resolution: {integrity: sha512-YTHf80rJ8M5/cJoFKEV1y3PnexbGs0vSHjouRRU8gLM05Nc3Mqq9zor/P4SCqB/sgvKRLvya7wHLC1XQ9pTjgQ==} + engines: {node: '>=4'} + dependencies: + assertion-error: 1.1.0 + check-error: 1.0.3 + deep-eql: 3.0.1 + get-func-name: 2.0.2 + pathval: 1.1.1 + type-detect: 4.0.8 + dev: true + + /chalk@2.4.2: + resolution: {integrity: sha512-Mti+f9lpJNcwF4tWV8/OrTTtF1gZi+f8FqlyAdouralcFWFQWF2+NgCHShjkCb+IFBLq9buZwE1xckQU4peSuQ==} + engines: {node: '>=4'} + dependencies: + ansi-styles: 3.2.1 + escape-string-regexp: 1.0.5 + supports-color: 5.5.0 + dev: true + + /chalk@4.1.2: + resolution: {integrity: sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + supports-color: 7.2.0 + dev: true + + /char-regex@1.0.2: + resolution: {integrity: sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==} + engines: {node: '>=10'} + dev: true + + /chardet@0.7.0: + resolution: {integrity: sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==} + dev: true + + /check-error@1.0.3: + resolution: {integrity: sha512-iKEoDYaRmd1mxM90a2OEfWhjsjPpYPuQ+lMYsoxB126+t8fw7ySEO48nmDg5COTjxDI65/Y2OWpeEHk3ZOe8zg==} + dependencies: + get-func-name: 2.0.2 + dev: true + + /cheerio-select@2.1.0: + resolution: {integrity: sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g==} + dependencies: + boolbase: 1.0.0 + css-select: 5.1.0 + css-what: 6.1.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.1.0 + dev: true + + /cheerio@1.0.0-rc.12: + resolution: {integrity: sha512-VqR8m68vM46BNnuZ5NtnGBKIE/DfN0cRIzg9n40EIq9NOv90ayxLBXA8fXC5gquFRGJSTRqBq25Jt2ECLR431Q==} + engines: {node: '>= 6'} + dependencies: + cheerio-select: 2.1.0 + dom-serializer: 2.0.0 + domhandler: 5.0.3 + domutils: 3.1.0 + htmlparser2: 8.0.2 + parse5: 7.1.2 + parse5-htmlparser2-tree-adapter: 7.0.0 + dev: true + + /chokidar@1.7.0: + resolution: {integrity: sha512-mk8fAWcRUOxY7btlLtitj3A45jOwSAxH4tOFOoEGbVsl6cL6pPMWUy7dwZ/canfj3QEdP6FHSnf/l1c6/WkzVg==} + deprecated: Chokidar 2 will break on node v14+. Upgrade to chokidar 3 with 15x less dependencies. + requiresBuild: true + dependencies: + anymatch: 1.3.2 + async-each: 1.0.6 + glob-parent: 2.0.0 + inherits: 2.0.4 + is-binary-path: 1.0.1 + is-glob: 2.0.1 + path-is-absolute: 1.0.1 + readdirp: 2.2.1 + optionalDependencies: + fsevents: 1.2.13 + transitivePeerDependencies: + - supports-color + dev: true + optional: true + + /chokidar@2.1.8: + resolution: {integrity: sha512-ZmZUazfOzf0Nve7duiCKD23PFSCs4JPoYyccjUFF3aQkQadqBhfzhjkwBH2mNOG9cTBwhamM37EIsIkZw3nRgg==} + deprecated: Chokidar 2 does not receive security updates since 2019. Upgrade to chokidar 3 with 15x fewer dependencies + requiresBuild: true + dependencies: + anymatch: 2.0.0 + async-each: 1.0.6 + braces: 2.3.2(supports-color@6.1.0) + glob-parent: 3.1.0 + inherits: 2.0.4 + is-binary-path: 1.0.1 + is-glob: 4.0.3 + normalize-path: 3.0.0 + path-is-absolute: 1.0.1 + readdirp: 2.2.1 + upath: 1.2.0 + optionalDependencies: + fsevents: 1.2.13 + transitivePeerDependencies: + - supports-color + dev: true + optional: true + + /chokidar@3.6.0: + resolution: {integrity: sha512-7VT13fmjotKpGipCW9JEQAusEPE+Ei8nl6/g4FBAmIm0GOOLMua9NDDo/DWp0ZAxCr3cPq5ZpBqmPAQgDda2Pw==} + engines: {node: '>= 8.10.0'} + dependencies: + anymatch: 3.1.3 + braces: 3.0.2 + glob-parent: 5.1.2 + is-binary-path: 2.1.0 + is-glob: 4.0.3 + normalize-path: 3.0.0 + readdirp: 3.6.0 + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /chownr@1.1.4: + resolution: {integrity: sha512-jJ0bqzaylmJtVnNgzTeSOs8DPavpbYgEr/b0YL8/2GO3xJEhInFmhKMUnEJQjZumK7KXGFhUy89PrsJWlakBVg==} + dev: true + + /chrome-trace-event@1.0.3: + resolution: {integrity: sha512-p3KULyQg4S7NIHixdwbGX+nFHkoBiA4YQmyWtjb8XngSKV124nJmRysgAeujbUVb15vh+RvFUfCPqU7rXk+hZg==} + engines: {node: '>=6.0'} + dev: true + + /ci-info@3.9.0: + resolution: {integrity: sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==} + engines: {node: '>=8'} + dev: true + + /cipher-base@1.0.4: + resolution: {integrity: sha512-Kkht5ye6ZGmwv40uUDZztayT2ThLQGfnj/T71N/XzeZeo3nf8foyW7zGTsPYkEya3m5f3cAypH+qe7YOrM1U2Q==} + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /cjs-module-lexer@1.2.3: + resolution: {integrity: sha512-0TNiGstbQmCFwt4akjjBg5pLRTSyj/PkWQ1ZoO2zntmg9yLqSRxwEa4iCfQLGjqhiqBfOJa7W/E8wfGrTDmlZQ==} + dev: true + + /class-utils@0.3.6: + resolution: {integrity: sha512-qOhPa/Fj7s6TY8H8esGu5QNpMMQxz79h+urzrNYN6mn+9BnxlDGf5QZ+XeCDsxSjPqsSR56XOZOJmpeurnLMeg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-union: 3.1.0 + define-property: 0.2.5 + isobject: 3.0.1 + static-extend: 0.1.2 + dev: true + + /cli-cursor@3.1.0: + resolution: {integrity: sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw==} + engines: {node: '>=8'} + dependencies: + restore-cursor: 3.1.0 + dev: true + + /cli-width@3.0.0: + resolution: {integrity: sha512-FxqpkPPwu1HjuN93Omfm4h8uIanXofW0RxVEW3k5RKx+mJJYSthzNhp32Kzxxy3YAEZ/Dc/EWN1vZRY0+kOhbw==} + engines: {node: '>= 10'} + dev: true + + /cliui@3.2.0: + resolution: {integrity: sha512-0yayqDxWQbqk3ojkYqUKqaAQ6AfNKeKWRNA8kR0WXzAsdHpP4BIaOmMAG87JGuO6qcobyW4GjxHd9PmhEd+T9w==} + dependencies: + string-width: 1.0.2 + strip-ansi: 3.0.1 + wrap-ansi: 2.1.0 + dev: true + + /cliui@5.0.0: + resolution: {integrity: sha512-PYeGSEmmHM6zvoef2w8TPzlrnNpXIjTipYK780YswmIP9vjxmd6Y2a3CB2Ks6/AU8NHjZugXvo8w3oWM2qnwXA==} + dependencies: + string-width: 3.1.0 + strip-ansi: 5.2.0 + wrap-ansi: 5.1.0 + dev: true + + /cliui@8.0.1: + resolution: {integrity: sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==} + engines: {node: '>=12'} + dependencies: + string-width: 4.2.3 + strip-ansi: 6.0.1 + wrap-ansi: 7.0.0 + dev: true + + /co@4.6.0: + resolution: {integrity: sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==} + engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} + dev: true + + /code-point-at@1.1.0: + resolution: {integrity: sha512-RpAVKQA5T63xEj6/giIbUEtZwJ4UFIc3ZtvEkiaUERylqe8xb5IvqcgOurZLahv93CLKfxcw5YI+DZcUBRyLXA==} + engines: {node: '>=0.10.0'} + dev: true + + /collect-v8-coverage@1.0.2: + resolution: {integrity: sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==} + dev: true + + /collection-visit@1.0.0: + resolution: {integrity: sha512-lNkKvzEeMBBjUGHZ+q6z9pSJla0KWAQPvtzhEV9+iGyQYG+pBpl7xKDhxoNSOZH2hhv0v5k0y2yAM4o4SjoSkw==} + engines: {node: '>=0.10.0'} + dependencies: + map-visit: 1.0.0 + object-visit: 1.0.1 + dev: true + + /color-convert@1.9.3: + resolution: {integrity: sha512-QfAUtd+vFdAtFQcC8CCyYt1fYWxSqAiK2cSD6zDB8N3cpsEBAvRxp9zOGg6G/SHHJYAT88/az/IuDGALsNVbGg==} + dependencies: + color-name: 1.1.3 + dev: true + + /color-convert@2.0.1: + resolution: {integrity: sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==} + engines: {node: '>=7.0.0'} + dependencies: + color-name: 1.1.4 + dev: true + + /color-name@1.1.3: + resolution: {integrity: sha512-72fSenhMw2HZMTVHeCA9KCmpEIbzWiQsjN+BHcBbS9vr1mtt+vJjPdksIBNUmKAW8TFUDPJK5SUU3QhE9NEXDw==} + dev: true + + /color-name@1.1.4: + resolution: {integrity: sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==} + dev: true + + /combined-stream@1.0.8: + resolution: {integrity: sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==} + engines: {node: '>= 0.8'} + dependencies: + delayed-stream: 1.0.0 + dev: true + + /commander@2.12.2: + resolution: {integrity: sha512-BFnaq5ZOGcDN7FlrtBT4xxkgIToalIIxwjxLWVJ8bGTpe1LroqMiqQXdA7ygc7CRvaYS+9zfPGFnJqFSayx+AA==} + + /commander@2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: true + + /commander@4.1.1: + resolution: {integrity: sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==} + engines: {node: '>= 6'} + dev: true + + /commander@7.2.0: + resolution: {integrity: sha512-QrWXB+ZQSVPmIWIhtEO9H+gwHaMGYiF5ChvoJ+K9ZGHG/sVsa6yiesAD1GC/x46sET00Xlwo1u49RVVVzvcSkw==} + engines: {node: '>= 10'} + dev: true + + /commondir@1.0.1: + resolution: {integrity: sha512-W9pAhw0ja1Edb5GVdIF1mjZw/ASI0AlShXM83UUGe2DVr5TdAPEA1OA8m/g8zWp9x6On7gqufY+FatDbC3MDQg==} + dev: true + + /component-emitter@1.3.1: + resolution: {integrity: sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ==} + dev: true + + /concat-map@0.0.1: + resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=} + dev: true + + /concat-stream@1.6.2: + resolution: {integrity: sha512-27HBghJxjiZtIk3Ycvn/4kbJk/1uZuJFfuPEns6LaEvpvG1f0hTea8lilrouyo9mVc2GWdcEZ8OLoGmSADlrCw==} + engines: {'0': node >= 0.8} + dependencies: + buffer-from: 1.1.2 + inherits: 2.0.4 + readable-stream: 2.3.8 + typedarray: 0.0.6 + dev: true + + /connect@3.6.6: + resolution: {integrity: sha512-OO7axMmPpu/2XuX1+2Yrg0ddju31B6xLZMWkJ5rYBu4YRmRVlOjvlY6kw2FJKiAzyxGwnrDUAG4s1Pf0sbBMCQ==} + engines: {node: '>= 0.10.0'} + dependencies: + debug: 2.6.9(supports-color@6.1.0) + finalhandler: 1.1.0 + parseurl: 1.3.3 + utils-merge: 1.0.1 + transitivePeerDependencies: + - supports-color + dev: true + + /console-browserify@1.2.0: + resolution: {integrity: sha512-ZMkYO/LkF17QvCPqM0gxw8yUzigAOZOSWSHg91FH6orS7vcEj5dVZTidN2fQ14yBSdg97RqhSNwLUXInd52OTA==} + dev: true + + /constants-browserify@1.0.0: + resolution: {integrity: sha512-xFxOwqIzR/e1k1gLiWEophSCMqXcwVHIH7akf7b/vxcUeGunlj3hvZaaqxwHsTgn+IndtkQJgSztIDWeumWJDQ==} + dev: true + + /content-type@1.0.5: + resolution: {integrity: sha512-nTjqfcBFEipKdXCv4YDQWCfmcLZKm81ldF0pAopTvyrFGVbcR6P/VAAd5G7N+0tTr8QqiU0tFadD6FK4NtJwOA==} + engines: {node: '>= 0.6'} + dev: true + + /convert-source-map@2.0.0: + resolution: {integrity: sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==} + dev: true + + /copy-concurrently@1.0.5: + resolution: {integrity: sha512-f2domd9fsVDFtaFcbaRZuYXwtdmnzqbADSwhSWYxYB/Q8zsdUUFMXVRwXGDMWmbEzAn1kdRrtI1T/KTFOL4X2A==} + dependencies: + aproba: 1.2.0 + fs-write-stream-atomic: 1.0.10 + iferr: 0.1.5 + mkdirp: 0.5.6 + rimraf: 2.7.1 + run-queue: 1.0.3 + dev: true + + /copy-descriptor@0.1.1: + resolution: {integrity: sha512-XgZ0pFcakEUlbwQEVNg3+QAis1FyTL3Qel9FYy8pSkQqoG3PNoT0bOCQtOXcOkur21r2Eq2kI+IE+gsmAEVlYw==} + engines: {node: '>=0.10.0'} + dev: true + + /core-util-is@1.0.3: + resolution: {integrity: sha512-ZQBvi1DcpJ4GDqanjucZ2Hj3wEO5pZDS89BWbkcrvdxksJorwUDDZamX9ldFkp9aw2lmBDLgkObEA4DWNJ9FYQ==} + dev: true + + /create-ecdh@4.0.4: + resolution: {integrity: sha512-mf+TCx8wWc9VpuxfP2ht0iSISLZnt0JgWlrOKZiNqyUZWnjIaCIVNQArMHnCZKfEYRg6IM7A+NeJoN8gf/Ws0A==} + dependencies: + bn.js: 4.12.0 + elliptic: 6.5.5 + dev: true + + /create-hash@1.2.0: + resolution: {integrity: sha512-z00bCGNHDG8mHAkP7CtT1qVu+bFQUPjYq/4Iv3C3kWjTFV10zIjfSoeqXo9Asws8gwSHDGj/hl2u4OGIjapeCg==} + dependencies: + cipher-base: 1.0.4 + inherits: 2.0.4 + md5.js: 1.3.5 + ripemd160: 2.0.2 + sha.js: 2.4.11 + dev: true + + /create-hmac@1.1.7: + resolution: {integrity: sha512-MJG9liiZ+ogc4TzUwuvbER1JRdgvUFSB5+VR/g5h82fGaIRWMWddtKBHi7/sVhfjQZ6SehlyhvQYrcYkaUIpLg==} + dependencies: + cipher-base: 1.0.4 + create-hash: 1.2.0 + inherits: 2.0.4 + ripemd160: 2.0.2 + safe-buffer: 5.2.1 + sha.js: 2.4.11 + dev: true + + /create-jest@29.7.0: + resolution: {integrity: sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + hasBin: true + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + exit: 0.1.2 + graceful-fs: 4.2.11 + jest-config: 29.7.0(@types/node@20.11.26) + jest-util: 29.7.0 + prompts: 2.4.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + dev: true + + /cross-spawn@5.1.0: + resolution: {integrity: sha512-pTgQJ5KC0d2hcY8eyL1IzlBPYjTkyH72XRZPnLyKus2mBfNjQs3klqbJU2VILqZryAZUt9JOb3h/mWMy23/f5A==} + dependencies: + lru-cache: 4.1.5 + shebang-command: 1.2.0 + which: 1.2.14 + dev: true + + /cross-spawn@6.0.5: + resolution: {integrity: sha512-eTVLrBSt7fjbDygz805pMnstIs2VTBNkRm0qxZd+M7A5XDdxVRWO5MxGBXZhjY4cqLYLdtrGqRf8mBPmzwSpWQ==} + engines: {node: '>=4.8'} + dependencies: + nice-try: 1.0.5 + path-key: 2.0.1 + semver: 5.7.2 + shebang-command: 1.2.0 + which: 1.3.1 + dev: true + + /cross-spawn@7.0.3: + resolution: {integrity: sha512-iRDPJKUPVEND7dHPO8rkbOnPpyDygcDFtWjpeWNCgy8WP2rXcxXL8TskReQl6OrB2G7+UJrags1q15Fudc7G6w==} + engines: {node: '>= 8'} + dependencies: + path-key: 3.1.1 + shebang-command: 2.0.0 + which: 2.0.2 + dev: true + + /crypto-browserify@3.12.0: + resolution: {integrity: sha512-fz4spIh+znjO2VjL+IdhEpRJ3YN6sMzITSBijk6FK2UvTqruSQW+/cCZTSNsMiZNvUeq0CqurF+dAbyiGOY6Wg==} + dependencies: + browserify-cipher: 1.0.1 + browserify-sign: 4.2.3 + create-ecdh: 4.0.4 + create-hash: 1.2.0 + create-hmac: 1.1.7 + diffie-hellman: 5.0.3 + inherits: 2.0.4 + pbkdf2: 3.1.2 + public-encrypt: 4.0.3 + randombytes: 2.1.0 + randomfill: 1.0.4 + dev: true + + /css-select@5.1.0: + resolution: {integrity: sha512-nwoRF1rvRRnnCqqY7updORDsuqKzqYJ28+oSMaJMMgOauh3fvwHqMS7EZpIPqK8GL+g9mKxF1vP/ZjSeNjEVHg==} + dependencies: + boolbase: 1.0.0 + css-what: 6.1.0 + domhandler: 5.0.3 + domutils: 3.1.0 + nth-check: 2.1.1 + dev: true + + /css-what@6.1.0: + resolution: {integrity: sha512-HTUrgRJ7r4dsZKU6GjmpfRK1O76h97Z8MfS1G0FozR+oF2kG6Vfe8JE6zwrkbxigziPHinCJ+gCPjA9EaBDtRw==} + engines: {node: '>= 6'} + dev: true + + /cssom@0.3.8: + resolution: {integrity: sha512-b0tGHbfegbhPJpxpiBPU2sCkigAqtM9O121le6bbOlgyV+NyGyCmVfJ6QW9eRjz8CpNfWEOYBIMIGRYkLwsIYg==} + dev: true + + /cssom@0.5.0: + resolution: {integrity: sha512-iKuQcq+NdHqlAcwUY0o/HL69XQrUaQdMjmStJ8JFmUaiiQErlhrmuigkg/CU4E2J0IyUKUrMAgl36TvN67MqTw==} + dev: true + + /cssstyle@2.3.0: + resolution: {integrity: sha512-AZL67abkUzIuvcHqk7c09cezpGNcxUxU4Ioi/05xHk4DQeTkWmGYftIE6ctU6AEt+Gn4n1lDStOtj7FKycP71A==} + engines: {node: '>=8'} + dependencies: + cssom: 0.3.8 + dev: true + + /csstype@3.1.3: + resolution: {integrity: sha512-M1uQkMl8rQK/szD0LNhtqxIPLpimGm8sOBwU7lLnCpSbTyY3yeU1Vc7l4KT5zT4s/yOxHH5O7tIuuLOCnLADRw==} + dev: false + + /cyclist@1.0.2: + resolution: {integrity: sha512-0sVXIohTfLqVIW3kb/0n6IiWF3Ifj5nm2XaSrLq2DI6fKIGa2fYAZdk917rUneaeLVpYfFcyXE2ft0fe3remsA==} + dev: true + + /d3-array@1.2.4: + resolution: {integrity: sha512-KHW6M86R+FUPYGb3R5XiYjXPq7VzwxZ22buHhAEVG5ztoEcZZMLov530mmccaqA1GghZArjQV46fuc8kUqhhHw==} + dev: false + + /d3-array@2.12.1: + resolution: {integrity: sha512-B0ErZK/66mHtEsR1TkPEEkwdy+WDesimkM5gpZr5Dsg54BiTA5RXtYW5qTLIAcekaS9xfZrzBLF/OAkB3Qn1YQ==} + dependencies: + internmap: 1.0.1 + dev: false + + /d3-collection@1.0.7: + resolution: {integrity: sha512-ii0/r5f4sjKNTfh84Di+DpztYwqKhEyUlKoPrzUFfeSkWxjW49xU2QzO9qrPrNkpdI0XJkfzvmTu8V2Zylln6A==} + dev: false + + /d3-composite-projections@1.4.0: + resolution: {integrity: sha512-csygyxdRfy7aUYRPea23veM6sjisdHI+DNd0nHcAGMd2LyL2lklr+xLRzHiJ+hy1HGp6YgAtbqdJR8CsLolrNQ==} + dependencies: + d3-geo: 2.0.2 + d3-path: 2.0.0 + dev: false + + /d3-dsv@1.2.0: + resolution: {integrity: sha512-9yVlqvZcSOMhCYzniHE7EVUws7Fa1zgw+/EAV2BxJoG3ME19V6BQFBwI855XQDsxyOuG7NibqRMTtiF/Qup46g==} + hasBin: true + dependencies: + commander: 2.12.2 + iconv-lite: 0.4.24 + rw: 1.3.3 + dev: false + + /d3-geo-projection@2.1.2: + resolution: {integrity: sha512-zft6RRvPaB1qplTodBVcSH5Ftvmvvg0qoDiqpt+fyNthGr/qr+DD30cizNDluXjW7jmo7EKUTjvFCAHofv08Ow==} + hasBin: true + dependencies: + commander: 2.12.2 + d3-array: 1.2.4 + d3-geo: 1.6.4 + dev: false + + /d3-geo@1.6.4: + resolution: {integrity: sha512-O5Q3iftLc6/EdU1MHUm+O29NoKKN/cyQtySnD9/yEEcinN+q4ng+H56e2Yn1YWdfZBoiaRVtR2NoJ3ivKX5ptQ==} + dependencies: + d3-array: 1.2.4 + dev: false + + /d3-geo@2.0.2: + resolution: {integrity: sha512-8pM1WGMLGFuhq9S+FpPURxic+gKzjluCD/CHTuUF3mXMeiCo0i6R0tO1s4+GArRFde96SLcW/kOFRjoAosPsFA==} + dependencies: + d3-array: 2.12.1 + dev: false + + /d3-hexjson@1.1.1: + resolution: {integrity: sha512-WMF1juFJwAx6LzdEVKlsCGZz+7QUG7VMJDtg8uD3cfNwWOTgMiy6qBRRGU7LSY2KbmEObu3BV5ZQbq9l/BvUZQ==} + dependencies: + d3-array: 1.2.4 + dev: false + + /d3-hierarchy@1.1.9: + resolution: {integrity: sha512-j8tPxlqh1srJHAtxfvOUwKNYJkQuBFdM1+JAUfq6xqH5eAqf93L7oG1NVqDa4CpFZNvnNKtCYEUC8KY9yEn9lQ==} + dev: false + + /d3-path@1.0.9: + resolution: {integrity: sha512-VLaYcn81dtHVTjEHd8B+pbe9yHWpXKZUC87PzoFmsFrJqgFwDe/qxfp5MlfsfM1V5E/iVt0MmEbWQ7FVIXh/bg==} + dev: false + + /d3-path@2.0.0: + resolution: {integrity: sha512-ZwZQxKhBnv9yHaiWd6ZU4x5BtCQ7pXszEV9CU6kRgwIQVQGLMv1oiL4M+MK/n79sYzsj+gcgpPQSctJUsLN7fA==} + dev: false + + /d3-queue@3.0.7: + resolution: {integrity: sha512-2rs+6pNFKkrJhqe1rg5znw7dKJ7KZr62j9aLZfhondkrnz6U7VRmJj1UGcbD8MRc46c7H8m4SWhab8EalBQrkw==} + dev: true + + /d3-sankey@0.9.1: + resolution: {integrity: sha512-nnRkDaUMjBdeuGg+kWGdA+tjG1AVTnJ+Ykw7ff7CZHVI17Hm5sy8n0UXykVffn13aNHwK5wPOdOt1gS1ZEaF+A==} + dependencies: + d3-array: 1.2.4 + d3-collection: 1.0.7 + d3-shape: 1.3.7 + dev: false + + /d3-shape@1.3.7: + resolution: {integrity: sha512-EUkvKjqPFUAZyOlhY5gzCxCeI0Aep04LwIRpsZ/mLFelJiUfnK56jo5JMDSE7yyP2kLSb6LtF+S5chMk7uqPqw==} + dependencies: + d3-path: 1.0.9 + dev: false + + /d3-voronoi@1.1.4: + resolution: {integrity: sha512-dArJ32hchFsrQ8uMiTBLq256MpnZjeuBtdHpaDlYuQyjU0CVzCJl/BVW+SkszaAeH95D/8gxqAhgx0ouAWAfRg==} + dev: false + + /dagre@0.8.5: + resolution: {integrity: sha512-/aTqmnRta7x7MCCpExk7HQL2O4owCT2h8NT//9I1OQ9vt29Pa0BzSAkR5lwFUcQ7491yVi/3CXU9jQ5o0Mn2Sw==} + dependencies: + graphlib: 2.1.8 + lodash: 4.17.21 + dev: false + + /data-urls@3.0.2: + resolution: {integrity: sha512-Jy/tj3ldjZJo63sVAvg6LHt2mHvl4V6AgRAmNDtLdm7faqtsx+aJG42rsyCo9JCoRVKwPFzKlIPx3DIibwSIaQ==} + engines: {node: '>=12'} + dependencies: + abab: 2.0.6 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + dev: true + + /debounce@1.2.1: + resolution: {integrity: sha512-XRRe6Glud4rd/ZGQfiV1ruXSfbvfJedlV9Y6zOlP+2K04vBYiJEte6stfFkCP03aMnY5tsipamumUjL14fofug==} + dev: true + + /debug@2.6.9(supports-color@6.1.0): + resolution: {integrity: sha512-bC7ElrdJaJnPbAP+1EotYvqZsb3ecl5wi6Bfi6BJTUcNowp6cvspg0jXznRTKDjm/E7AdgFBVeAPVMNcKGsHMA==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.0.0 + supports-color: 6.1.0 + dev: true + + /debug@3.1.0: + resolution: {integrity: sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g==} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.0.0 + dev: true + + /debug@4.3.4: + resolution: {integrity: sha512-PRWFHuSU3eDtQJPvnNY7Jcket1j0t5OuOsFzPPzsekD52Zl8qUfFIPEiswXqIvHWGVHOgX+7G/vCNNhehwxfkQ==} + engines: {node: '>=6.0'} + peerDependencies: + supports-color: '*' + peerDependenciesMeta: + supports-color: + optional: true + dependencies: + ms: 2.1.2 + dev: true + + /decamelize@1.2.0: + resolution: {integrity: sha512-z2S+W9X73hAUUki+N+9Za2lBlun89zigOyGrsax+KUQ6wKW4ZoWpEYBkGhQjwAjjDCkWxhY0VKEhk8wzY7F5cA==} + engines: {node: '>=0.10.0'} + dev: true + + /decimal.js@10.4.3: + resolution: {integrity: sha512-VBBaLc1MgL5XpzgIP7ny5Z6Nx3UrRkIViUkPUdtl9aya5amy3De1gsUUSB1g3+3sExYNjCAsAznmukyxCb1GRA==} + dev: true + + /decode-uri-component@0.2.2: + resolution: {integrity: sha512-FqUYQ+8o158GyGTrMFJms9qh3CqTKvAqgqsTnkLI8sKu0028orqBhxNMFkFen0zGyg6epACD32pjVk58ngIErQ==} + engines: {node: '>=0.10'} + dev: true + + /dedent@1.5.1: + resolution: {integrity: sha512-+LxW+KLWxu3HW3M2w2ympwtqPrqYRzU8fqi6Fhd18fBALe15blJPI/I4+UHveMVG6lJqB4JNd4UG0S5cnVHwIg==} + peerDependencies: + babel-plugin-macros: ^3.1.0 + peerDependenciesMeta: + babel-plugin-macros: + optional: true + dev: true + + /deep-eql@3.0.1: + resolution: {integrity: sha512-+QeIQyN5ZuO+3Uk5DYh6/1eKO0m0YmJFGNmFHGACpf1ClL1nmlV/p4gNgbl2pJGxgXb4faqo6UE+M5ACEMyVcw==} + engines: {node: '>=0.12'} + dependencies: + type-detect: 4.0.8 + dev: true + + /deep-is@0.1.4: + resolution: {integrity: sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==} + dev: true + + /deepmerge@4.3.1: + resolution: {integrity: sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==} + engines: {node: '>=0.10.0'} + dev: true + + /define-data-property@1.1.4: + resolution: {integrity: sha512-rBMvIzlpA8v6E+SJZoo++HAYqsLrkg7MSfIinMPFhmkorw7X+dOXVJQs+QT69zGkzMyfDnIMN2Wid1+NbL3T+A==} + engines: {node: '>= 0.4'} + dependencies: + es-define-property: 1.0.0 + es-errors: 1.3.0 + gopd: 1.0.1 + dev: true + + /define-properties@1.2.1: + resolution: {integrity: sha512-8QmQKqEASLd5nx0U1B1okLElbUuuttJ/AnYmRXbbbGDWh6uS208EjD4Xqq/I9wK7u0v6O08XhTWnt5XtEbR6Dg==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.4 + has-property-descriptors: 1.0.2 + object-keys: 1.1.1 + dev: true + + /define-property@0.2.5: + resolution: {integrity: sha512-Rr7ADjQZenceVOAKop6ALkkRAmH1A4Gx9hV/7ZujPUN2rkATqFO0JZLZInbAjpZYoJ1gUx8MRMQVkYemcbMSTA==} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 0.1.7 + dev: true + + /define-property@1.0.0: + resolution: {integrity: sha512-cZTYKFWspt9jZsMscWo8sc/5lbPC9Q0N5nBLgb+Yd915iL3udB1uFgS3B8YCx66UVHq018DAVFoee7x+gxggeA==} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 1.0.3 + dev: true + + /define-property@2.0.2: + resolution: {integrity: sha512-jwK2UV4cnPpbcG7+VRARKTZPUWowwXA8bzH5NP6ud0oeAxyYPuGZUAC7hMugpCdz4BeSZl2Dl9k66CHJ/46ZYQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-descriptor: 1.0.3 + isobject: 3.0.1 + dev: true + + /delayed-stream@1.0.0: + resolution: {integrity: sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==} + engines: {node: '>=0.4.0'} + dev: true + + /depd@1.1.2: + resolution: {integrity: sha512-7emPTl6Dpo6JRXOXjLRxck+FlLRX5847cLKEn00PLAgc3g2hTZZgr+e4c2v6QpSmLeFP3n5yUo7ft6avBK/5jQ==} + engines: {node: '>= 0.6'} + dev: true + + /depd@2.0.0: + resolution: {integrity: sha512-g7nH6P6dyDioJogAAGprGpCtVImJhpPk/roCzdb3fIh61/s/nPsfR6onyMwkCAR/OlC3yBC0lESvUoQEAssIrw==} + engines: {node: '>= 0.8'} + dev: true + + /des.js@1.1.0: + resolution: {integrity: sha512-r17GxjhUCjSRy8aiJpr8/UadFIzMzJGexI3Nmz4ADi9LYSFx4gTBp80+NaX/YsXWWLhpZ7v/v/ubEc/bCNfKwg==} + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + dev: true + + /destroy@1.0.4: + resolution: {integrity: sha512-3NdhDuEXnfun/z7x9GOElY49LoqVHoGScmOKwmxhsS8N5Y+Z8KyPPDnaSzqWgYt/ji4mqwfTS34Htrk0zPIXVg==} + dev: true + + /destroy@1.2.0: + resolution: {integrity: sha512-2sJGJTaXIIaR1w4iJSNoN0hnMY7Gpc/n8D4qSCJw8QqFWXf7cuAgnEHxBpweaVcPevC2l3KpjYCx3NypQQgaJg==} + engines: {node: '>= 0.8', npm: 1.2.8000 || >= 1.4.16} + dev: true + + /detect-file@1.0.0: + resolution: {integrity: sha512-DtCOLG98P007x7wiiOmfI0fi3eIKyWiLTGJ2MDnVi/E04lWGbf+JzrRHMm0rgIIZJGtHpKpbVgLWHrv8xXpc3Q==} + engines: {node: '>=0.10.0'} + dev: true + + /detect-newline@3.1.0: + resolution: {integrity: sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==} + engines: {node: '>=8'} + dev: true + + /diff-sequences@29.6.3: + resolution: {integrity: sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + + /diffie-hellman@5.0.3: + resolution: {integrity: sha512-kqag/Nl+f3GwyK25fhUMYj81BUOrZ9IuJsjIcDE5icNM9FJHAVm3VcUDxdLPoQtTuUylWm6ZIknYJwwaPxsUzg==} + dependencies: + bn.js: 4.12.0 + miller-rabin: 4.0.1 + randombytes: 2.1.0 + dev: true + + /dir-glob@3.0.1: + resolution: {integrity: sha512-WkrWp9GR4KXfKGYzOLmTuGVi1UWFfws377n9cc55/tb6DuqyF6pcQ5AbiHEshaDpY9v6oaSr2XCDidGmMwdzIA==} + engines: {node: '>=8'} + dependencies: + path-type: 4.0.0 + dev: true + + /doctrine@3.0.0: + resolution: {integrity: sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==} + engines: {node: '>=6.0.0'} + dependencies: + esutils: 2.0.3 + dev: true + + /dom-serializer@2.0.0: + resolution: {integrity: sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + entities: 4.5.0 + dev: true + + /domain-browser@1.2.0: + resolution: {integrity: sha512-jnjyiM6eRyZl2H+W8Q/zLMA481hzi0eszAaBUzIVnmYVDBbnLxVNnfu1HgEBvCbL+71FrxMl3E6lpKH7Ge3OXA==} + engines: {node: '>=0.4', npm: '>=1.2'} + dev: true + + /domelementtype@2.3.0: + resolution: {integrity: sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw==} + dev: true + + /domexception@4.0.0: + resolution: {integrity: sha512-A2is4PLG+eeSfoTMA95/s4pvAoSo2mKtiM5jlHkAVewmiO8ISFTFKZjH7UAM1Atli/OT/7JHOrJRJiMKUZKYBw==} + engines: {node: '>=12'} + deprecated: Use your platform's native DOMException instead + dependencies: + webidl-conversions: 7.0.0 + dev: true + + /domhandler@5.0.3: + resolution: {integrity: sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w==} + engines: {node: '>= 4'} + dependencies: + domelementtype: 2.3.0 + dev: true + + /domutils@3.1.0: + resolution: {integrity: sha512-H78uMmQtI2AhgDJjWeQmHwJJ2bLPD3GMmO7Zja/ZZh84wkm+4ut+IUnUdRa8uCGX88DiVx1j6FRe1XfxEgjEZA==} + dependencies: + dom-serializer: 2.0.0 + domelementtype: 2.3.0 + domhandler: 5.0.3 + dev: true + + /duplexer@0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + dev: true + + /duplexify@3.7.1: + resolution: {integrity: sha512-07z8uv2wMyS51kKhD1KsdXJg5WQ6t93RneqRxUHnskXVtlYYkLqM0gqStQZ3pj073g687jPCHrqNfCzawLYh5g==} + dependencies: + end-of-stream: 1.4.4 + inherits: 2.0.4 + readable-stream: 2.3.8 + stream-shift: 1.0.3 + dev: true + + /eastasianwidth@0.2.0: + resolution: {integrity: sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==} + dev: true + + /ee-first@1.1.1: + resolution: {integrity: sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==} + dev: true + + /electron-to-chromium@1.4.701: + resolution: {integrity: sha512-K3WPQ36bUOtXg/1+69bFlFOvdSm0/0bGqmsfPDLRXLanoKXdA+pIWuf/VbA9b+2CwBFuONgl4NEz4OEm+OJOKA==} + dev: true + + /elliptic@6.5.5: + resolution: {integrity: sha512-7EjbcmUm17NQFu4Pmgmq2olYMj8nwMnpcddByChSUjArp8F5DQWcIcpriwO4ZToLNAJig0yiyjswfyGNje/ixw==} + dependencies: + bn.js: 4.12.0 + brorand: 1.1.0 + hash.js: 1.1.7 + hmac-drbg: 1.0.1 + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + dev: true + + /emittery@0.13.1: + resolution: {integrity: sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==} + engines: {node: '>=12'} + dev: true + + /emoji-regex@7.0.3: + resolution: {integrity: sha512-CwBLREIQ7LvYFB0WyRvwhq5N5qPhc6PMjD6bYggFlI5YyDgl+0vxq5VHbMOFqLg7hfWzmu8T5Z1QofhmTIhItA==} + dev: true + + /emoji-regex@8.0.0: + resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} + dev: true + + /emoji-regex@9.2.2: + resolution: {integrity: sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==} + dev: true + + /emojis-list@3.0.0: + resolution: {integrity: sha512-/kyM18EfinwXZbno9FyUGeFh87KC8HRQBQGildHZbEuRyWFOmv1U10o9BBp8XVZDVNNuQKyIGIu5ZYAAXJ0V2Q==} + engines: {node: '>= 4'} + dev: true + + /encodeurl@1.0.2: + resolution: {integrity: sha512-TPJXq8JqFaVYm2CWmPvnP2Iyo4ZSM7/QKcSmuMLDObfpH5fi7RUGmd/rTDf+rut/saiDiQEeVTNgAmJEdAOx0w==} + engines: {node: '>= 0.8'} + dev: true + + /end-of-stream@1.4.4: + resolution: {integrity: sha512-+uw1inIHVPQoaVuHzRyXd21icM+cnt4CzD5rW+NC1wjOUSTOs+Te7FOv7AhN7vS9x/oIyhLP5PR1H+phQAHu5Q==} + dependencies: + once: 1.4.0 + dev: true + + /enhanced-resolve@4.5.0: + resolution: {integrity: sha512-Nv9m36S/vxpsI+Hc4/ZGRs0n9mXqSWGGq49zxb/cJfPAQMbUtttJAlNPS4AQzaBdw/pKskw5bMbekT/Y7W/Wlg==} + engines: {node: '>=6.9.0'} + dependencies: + graceful-fs: 4.2.11 + memory-fs: 0.5.0 + tapable: 1.1.3 + dev: true + + /entities@4.5.0: + resolution: {integrity: sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==} + engines: {node: '>=0.12'} + dev: true + + /errno@0.1.8: + resolution: {integrity: sha512-dJ6oBr5SQ1VSd9qkk7ByRgb/1SH4JZjCHSW/mr63/QcXO9zLVxvJ6Oy13nio03rxpSnVDDjFor75SjVeZWPW/A==} + hasBin: true + dependencies: + prr: 1.0.1 + dev: true + + /error-ex@1.3.2: + resolution: {integrity: sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==} + dependencies: + is-arrayish: 0.2.1 + dev: true + + /es-define-property@1.0.0: + resolution: {integrity: sha512-jxayLKShrEqqzJ0eumQbVhTYQM27CfT1T35+gCgDFoL82JLsXqTJ76zv6A0YLOgEnLUMvLzsDsGIrl8NFpT2gQ==} + engines: {node: '>= 0.4'} + dependencies: + get-intrinsic: 1.2.4 + dev: true + + /es-errors@1.3.0: + resolution: {integrity: sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==} + engines: {node: '>= 0.4'} + dev: true + + /esbuild@0.19.12: + resolution: {integrity: sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg==} + engines: {node: '>=12'} + hasBin: true + requiresBuild: true + optionalDependencies: + '@esbuild/aix-ppc64': 0.19.12 + '@esbuild/android-arm': 0.19.12 + '@esbuild/android-arm64': 0.19.12 + '@esbuild/android-x64': 0.19.12 + '@esbuild/darwin-arm64': 0.19.12 + '@esbuild/darwin-x64': 0.19.12 + '@esbuild/freebsd-arm64': 0.19.12 + '@esbuild/freebsd-x64': 0.19.12 + '@esbuild/linux-arm': 0.19.12 + '@esbuild/linux-arm64': 0.19.12 + '@esbuild/linux-ia32': 0.19.12 + '@esbuild/linux-loong64': 0.19.12 + '@esbuild/linux-mips64el': 0.19.12 + '@esbuild/linux-ppc64': 0.19.12 + '@esbuild/linux-riscv64': 0.19.12 + '@esbuild/linux-s390x': 0.19.12 + '@esbuild/linux-x64': 0.19.12 + '@esbuild/netbsd-x64': 0.19.12 + '@esbuild/openbsd-x64': 0.19.12 + '@esbuild/sunos-x64': 0.19.12 + '@esbuild/win32-arm64': 0.19.12 + '@esbuild/win32-ia32': 0.19.12 + '@esbuild/win32-x64': 0.19.12 + dev: true + + /escalade@3.1.2: + resolution: {integrity: sha512-ErCHMCae19vR8vQGe50xIsVomy19rg6gFu3+r3jkEO46suLMWBksvVyoGgQV+jOfl84ZSOSlmv6Gxa89PmTGmA==} + engines: {node: '>=6'} + dev: true + + /escape-html@1.0.3: + resolution: {integrity: sha512-NiSupZ4OeuGwr68lGIeym/ksIZMJodUGOSCZ/FSnTxcrekbvqrgdUxlJOMpijaKZVjAJrWrGs/6Jy8OMuyj9ow==} + dev: true + + /escape-string-regexp@1.0.5: + resolution: {integrity: sha512-vbRorB5FUQWvla16U8R/qgaFIya2qGzwDrNmCZuYKrbdSUMG6I1ZCGQRefkRVhuOkIGVne7BQ35DSfo1qvJqFg==} + engines: {node: '>=0.8.0'} + dev: true + + /escape-string-regexp@2.0.0: + resolution: {integrity: sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==} + engines: {node: '>=8'} + dev: true + + /escape-string-regexp@4.0.0: + resolution: {integrity: sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==} + engines: {node: '>=10'} + dev: true + + /escodegen@2.1.0: + resolution: {integrity: sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==} + engines: {node: '>=6.0'} + hasBin: true + dependencies: + esprima: 4.0.1 + estraverse: 5.3.0 + esutils: 2.0.3 + optionalDependencies: + source-map: 0.6.1 + dev: true + + /eslint-config-prettier@6.15.0(eslint@6.8.0): + resolution: {integrity: sha512-a1+kOYLR8wMGustcgAjdydMsQ2A/2ipRPwRKUmfYaSxc9ZPcrku080Ctl6zrZzZNs/U82MjSv+qKREkoq3bJaw==} + hasBin: true + peerDependencies: + eslint: '>=3.14.1' + dependencies: + eslint: 6.8.0 + get-stdin: 6.0.0 + dev: true + + /eslint-plugin-prettier@3.4.1(eslint-config-prettier@6.15.0)(eslint@6.8.0)(prettier@1.19.1): + resolution: {integrity: sha512-htg25EUYUeIhKHXjOinK4BgCcDwtLHjqaxCDsMy5nbnUMkKFvIhMVCp+5GFUXQ4Nr8lBsPqtGAqBenbpFqAA2g==} + engines: {node: '>=6.0.0'} + peerDependencies: + eslint: '>=5.0.0' + eslint-config-prettier: '*' + prettier: '>=1.13.0' + peerDependenciesMeta: + eslint-config-prettier: + optional: true + dependencies: + eslint: 6.8.0 + eslint-config-prettier: 6.15.0(eslint@6.8.0) + prettier: 1.19.1 + prettier-linter-helpers: 1.0.0 + dev: true + + /eslint-scope@4.0.3: + resolution: {integrity: sha512-p7VutNr1O/QrxysMo3E45FjYDTeXBy0iTltPFNSqKAIfjDSXC+4dj+qfyuD8bfAXrW/y6lW3O76VaYNPKfpKrg==} + engines: {node: '>=4.0.0'} + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /eslint-scope@5.1.1: + resolution: {integrity: sha512-2NxwbF/hZ0KpepYN0cNbo+FN6XoK7GaHlQhgx/hIZl6Va0bF45RQOOwhLIy8lQDbuCiadSLCBnH2CFYquit5bw==} + engines: {node: '>=8.0.0'} + dependencies: + esrecurse: 4.3.0 + estraverse: 4.3.0 + dev: true + + /eslint-utils@1.4.3: + resolution: {integrity: sha512-fbBN5W2xdY45KulGXmLHZ3c3FHfVYmKg0IrAKGOkT/464PQsx2UeIzfz1RmEci+KLm1bBaAzZAh8+/E+XAeZ8Q==} + engines: {node: '>=6'} + dependencies: + eslint-visitor-keys: 1.3.0 + dev: true + + /eslint-utils@2.1.0: + resolution: {integrity: sha512-w94dQYoauyvlDc43XnGB8lU3Zt713vNChgt4EWwhXAP2XkBvndfxF0AgIqKOOasjPIPzj9JqgwkwbCYD0/V3Zg==} + engines: {node: '>=6'} + dependencies: + eslint-visitor-keys: 1.3.0 + dev: true + + /eslint-visitor-keys@1.3.0: + resolution: {integrity: sha512-6J72N8UNa462wa/KFODt/PJ3IU60SDpC3QXC1Hjc1BXXpfL2C9R5+AU7jhe0F6GREqVMh4Juu+NY7xn+6dipUQ==} + engines: {node: '>=4'} + dev: true + + /eslint@6.8.0: + resolution: {integrity: sha512-K+Iayyo2LtyYhDSYwz5D5QdWw0hCacNzyq1Y821Xna2xSJj7cijoLLYmLxTQgcgZ9mC61nryMy9S7GRbYpI5Ig==} + engines: {node: ^8.10.0 || ^10.13.0 || >=11.10.1} + hasBin: true + dependencies: + '@babel/code-frame': 7.23.5 + ajv: 6.12.6 + chalk: 2.4.2 + cross-spawn: 6.0.5 + debug: 4.3.4 + doctrine: 3.0.0 + eslint-scope: 5.1.1 + eslint-utils: 1.4.3 + eslint-visitor-keys: 1.3.0 + espree: 6.2.1 + esquery: 1.5.0 + esutils: 2.0.3 + file-entry-cache: 5.0.1 + functional-red-black-tree: 1.0.1 + glob-parent: 5.1.2 + globals: 12.4.0 + ignore: 4.0.6 + import-fresh: 3.3.0 + imurmurhash: 0.1.4 + inquirer: 7.3.3 + is-glob: 4.0.3 + js-yaml: 3.14.1 + json-stable-stringify-without-jsonify: 1.0.1 + levn: 0.3.0 + lodash: 4.17.21 + minimatch: 3.1.2 + mkdirp: 0.5.6 + natural-compare: 1.4.0 + optionator: 0.8.3 + progress: 2.0.3 + regexpp: 2.0.1 + semver: 6.3.1 + strip-ansi: 5.2.0 + strip-json-comments: 3.1.1 + table: 5.4.6 + text-table: 0.2.0 + v8-compile-cache: 2.4.0 + transitivePeerDependencies: + - supports-color + dev: true + + /espree@6.2.1: + resolution: {integrity: sha512-ysCxRQY3WaXJz9tdbWOwuWr5Y/XrPTGX9Kiz3yoUXwW0VZ4w30HTkQLaGx/+ttFjF8i+ACbArnB4ce68a9m5hw==} + engines: {node: '>=6.0.0'} + dependencies: + acorn: 7.4.1 + acorn-jsx: 5.3.2(acorn@7.4.1) + eslint-visitor-keys: 1.3.0 + dev: true + + /esprima@4.0.1: + resolution: {integrity: sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /esquery@1.5.0: + resolution: {integrity: sha512-YQLXUplAwJgCydQ78IMJywZCceoqk1oH01OERdSAJc/7U2AylwjhSCLDEtqwg811idIS/9fIU5GjG73IgjKMVg==} + engines: {node: '>=0.10'} + dependencies: + estraverse: 5.3.0 + dev: true + + /esrecurse@4.3.0: + resolution: {integrity: sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==} + engines: {node: '>=4.0'} + dependencies: + estraverse: 5.3.0 + dev: true + + /estraverse@4.3.0: + resolution: {integrity: sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==} + engines: {node: '>=4.0'} + dev: true + + /estraverse@5.3.0: + resolution: {integrity: sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==} + engines: {node: '>=4.0'} + dev: true + + /esutils@2.0.3: + resolution: {integrity: sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==} + engines: {node: '>=0.10.0'} + dev: true + + /etag@1.8.1: + resolution: {integrity: sha512-aIL5Fx7mawVa300al2BnEE4iNvo1qETxLrPI/o05L7z6go7fCw1J6EQmbK4FmJ2AS7kgVF/KEZWufBfdClMcPg==} + engines: {node: '>= 0.6'} + dev: true + + /events@3.3.0: + resolution: {integrity: sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q==} + engines: {node: '>=0.8.x'} + dev: true + + /evp_bytestokey@1.0.3: + resolution: {integrity: sha512-/f2Go4TognH/KvCISP7OUsHn85hT9nUkxxA9BEWxFn+Oj9o8ZNLm/40hdlgSLyuOimsrTKLUMEorQexp/aPQeA==} + dependencies: + md5.js: 1.3.5 + safe-buffer: 5.2.1 + dev: true + + /execa@5.1.1: + resolution: {integrity: sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==} + engines: {node: '>=10'} + dependencies: + cross-spawn: 7.0.3 + get-stream: 6.0.1 + human-signals: 2.1.0 + is-stream: 2.0.1 + merge-stream: 2.0.0 + npm-run-path: 4.0.1 + onetime: 5.1.2 + signal-exit: 3.0.7 + strip-final-newline: 2.0.0 + dev: true + + /exit@0.1.2: + resolution: {integrity: sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==} + engines: {node: '>= 0.8.0'} + dev: true + + /expand-brackets@0.1.5: + resolution: {integrity: sha512-hxx03P2dJxss6ceIeri9cmYOT4SRs3Zk3afZwWpOsRqLqprhTR8u++SlC+sFGsQr7WGFPdMF7Gjc1njDLDK6UA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-posix-bracket: 0.1.1 + dev: true + optional: true + + /expand-brackets@2.1.4(supports-color@6.1.0): + resolution: {integrity: sha512-w/ozOKR9Obk3qoWeY/WDi6MFta9AoMR+zud60mdnbniMcBxRuFJyDt2LdX/14A1UABeqk+Uk+LDfUpvoGKppZA==} + engines: {node: '>=0.10.0'} + dependencies: + debug: 2.6.9(supports-color@6.1.0) + define-property: 0.2.5 + extend-shallow: 2.0.1 + posix-character-classes: 0.1.1 + regex-not: 1.0.2 + snapdragon: 0.8.2(supports-color@6.1.0) + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /expand-range@1.8.2: + resolution: {integrity: sha512-AFASGfIlnIbkKPQwX1yHaDjFvh/1gyKJODme52V6IORh69uEYgZp0o9C+qsIGNVEiuuhQU0CSSl++Rlegg1qvA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + fill-range: 2.2.4 + dev: true + optional: true + + /expand-tilde@2.0.2: + resolution: {integrity: sha512-A5EmesHW6rfnZ9ysHQjPdJRni0SRar0tjtG5MNtm9n5TUvsYU8oozprtRD4AqHxcZWWlVuAmQo2nWKfN9oyjTw==} + engines: {node: '>=0.10.0'} + dependencies: + homedir-polyfill: 1.0.3 + dev: true + + /expect@29.7.0: + resolution: {integrity: sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/expect-utils': 29.7.0 + jest-get-type: 29.6.3 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-util: 29.7.0 + dev: true + + /extend-shallow@2.0.1: + resolution: {integrity: sha512-zCnTtlxNoAiDc3gqY2aYAWFx7XWWiasuF2K8Me5WbN8otHKTUKBwjPtNpRs/rbUZm7KxWAaNj7P1a/p52GbVug==} + engines: {node: '>=0.10.0'} + dependencies: + is-extendable: 0.1.1 + dev: true + + /extend-shallow@3.0.2: + resolution: {integrity: sha512-BwY5b5Ql4+qZoefgMj2NUmx+tehVTH/Kf4k1ZEtOHNFcm2wSxMRo992l6X3TIgni2eZVTZ85xMOjF31fwZAj6Q==} + engines: {node: '>=0.10.0'} + dependencies: + assign-symbols: 1.0.0 + is-extendable: 1.0.1 + dev: true + + /external-editor@3.1.0: + resolution: {integrity: sha512-hMQ4CX1p1izmuLYyZqLMO/qGNw10wSv9QDCPfzXfyFrOaCSSoRfqE1Kf1s5an66J5JZC62NewG+mK49jOCtQew==} + engines: {node: '>=4'} + dependencies: + chardet: 0.7.0 + iconv-lite: 0.4.24 + tmp: 0.0.33 + dev: true + + /extglob@0.3.2: + resolution: {integrity: sha512-1FOj1LOwn42TMrruOHGt18HemVnbwAmAak7krWk+wa93KXxGbK+2jpezm+ytJYDaBX0/SPLZFHKM7m+tKobWGg==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-extglob: 1.0.0 + dev: true + optional: true + + /extglob@2.0.4(supports-color@6.1.0): + resolution: {integrity: sha512-Nmb6QXkELsuBr24CJSkilo6UHHgbekK5UiZgfE6UHD3Eb27YC6oD+bhcT+tJ6cl8dmsgdQxnWlcry8ksBIBLpw==} + engines: {node: '>=0.10.0'} + dependencies: + array-unique: 0.3.2 + define-property: 1.0.0 + expand-brackets: 2.1.4(supports-color@6.1.0) + extend-shallow: 2.0.1 + fragment-cache: 0.2.1 + regex-not: 1.0.2 + snapdragon: 0.8.2(supports-color@6.1.0) + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /fast-deep-equal@3.1.3: + resolution: {integrity: sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==} + dev: true + + /fast-diff@1.3.0: + resolution: {integrity: sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw==} + dev: true + + /fast-glob@3.3.2: + resolution: {integrity: sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==} + engines: {node: '>=8.6.0'} + dependencies: + '@nodelib/fs.stat': 2.0.5 + '@nodelib/fs.walk': 1.2.8 + glob-parent: 5.1.2 + merge2: 1.4.1 + micromatch: 4.0.5 + dev: true + + /fast-json-stable-stringify@2.1.0: + resolution: {integrity: sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==} + dev: true + + /fast-levenshtein@2.0.6: + resolution: {integrity: sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==} + dev: true + + /fastq@1.17.1: + resolution: {integrity: sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==} + dependencies: + reusify: 1.0.4 + dev: true + + /fb-watchman@2.0.2: + resolution: {integrity: sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==} + dependencies: + bser: 2.1.1 + dev: true + + /figgy-pudding@3.5.2: + resolution: {integrity: sha512-0btnI/H8f2pavGMN8w40mlSKOfTK2SVJmBfBeVIj3kNw0swwgzyRq0d5TJVOwodFmtvpPeWPN/MCcfuWF0Ezbw==} + deprecated: This module is no longer supported. + dev: true + + /figures@3.2.0: + resolution: {integrity: sha512-yaduQFRKLXYOGgEn6AZau90j3ggSOyiqXU0F9JZfeXYhNa+Jk4X+s45A2zg5jns87GAFa34BBm2kXw4XpNcbdg==} + engines: {node: '>=8'} + dependencies: + escape-string-regexp: 1.0.5 + dev: true + + /file-entry-cache@5.0.1: + resolution: {integrity: sha512-bCg29ictuBaKUwwArK4ouCaqDgLZcysCFLmM/Yn/FDoqndh/9vNuQfXRDvTuXKLxfD/JtZQGKFT8MGcJBK644g==} + engines: {node: '>=4'} + dependencies: + flat-cache: 2.0.1 + dev: true + + /file-uri-to-path@1.0.0: + resolution: {integrity: sha512-0Zt+s3L7Vf1biwWZ29aARiVYLx7iMGnEUl9x33fbB/j3jR81u/O2LbqK+Bm1CDSNDKVtJ/YjwY7TUd5SkeLQLw==} + requiresBuild: true + dev: true + optional: true + + /filename-regex@2.0.1: + resolution: {integrity: sha512-BTCqyBaWBTsauvnHiE8i562+EdJj+oUpkqWp2R1iCoR8f6oo8STRu3of7WJJ0TqWtxN50a5YFpzYK4Jj9esYfQ==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /fill-range@2.2.4: + resolution: {integrity: sha512-cnrcCbj01+j2gTG921VZPnHbjmdAf8oQV/iGeV2kZxGSyfYjjTyY79ErsK1WJWMpw6DaApEX72binqJE+/d+5Q==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-number: 2.1.0 + isobject: 2.1.0 + randomatic: 3.1.1 + repeat-element: 1.1.4 + repeat-string: 1.6.1 + dev: true + optional: true + + /fill-range@4.0.0: + resolution: {integrity: sha512-VcpLTWqWDiTerugjj8e3+esbg+skS3M9e54UuR3iCeIDMXCLTsAH8hTSzDQU/X6/6t3eYkOKoZSef2PlU6U1XQ==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 2.0.1 + is-number: 3.0.0 + repeat-string: 1.6.1 + to-regex-range: 2.1.1 + dev: true + + /fill-range@7.0.1: + resolution: {integrity: sha512-qOo9F+dMUmC2Lcb4BbVvnKJxTPjCm+RRpe4gDuGrzkL7mEVl/djYSu2OdQ2Pa302N4oqkSg9ir6jaLWJ2USVpQ==} + engines: {node: '>=8'} + dependencies: + to-regex-range: 5.0.1 + dev: true + + /finalhandler@1.1.0: + resolution: {integrity: sha512-ejnvM9ZXYzp6PUPUyQBMBf0Co5VX2gr5H2VQe2Ui2jWXNlxv+PYZo8wpAymJNJdLsG1R4p+M4aynF8KuoUEwRw==} + engines: {node: '>= 0.8'} + dependencies: + debug: 2.6.9(supports-color@6.1.0) + encodeurl: 1.0.2 + escape-html: 1.0.3 + on-finished: 2.3.0 + parseurl: 1.3.3 + statuses: 1.3.1 + unpipe: 1.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /find-cache-dir@2.1.0: + resolution: {integrity: sha512-Tq6PixE0w/VMFfCgbONnkiQIVol/JJL7nRMi20fqzA4NRs9AfeqMGeRdPi3wIhYkxjeBaWh2rxwapn5Tu3IqOQ==} + engines: {node: '>=6'} + dependencies: + commondir: 1.0.1 + make-dir: 2.1.0 + pkg-dir: 3.0.0 + dev: true + + /find-up@3.0.0: + resolution: {integrity: sha512-1yD6RmLI1XBfxugvORwlck6f75tYL+iR0jqwsOrOxMZyGYqUuDhJ0l4AXdO1iX/FTs9cBAMEk1gWSEx1kSbylg==} + engines: {node: '>=6'} + dependencies: + locate-path: 3.0.0 + dev: true + + /find-up@4.1.0: + resolution: {integrity: sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==} + engines: {node: '>=8'} + dependencies: + locate-path: 5.0.0 + path-exists: 4.0.0 + dev: true + + /findup-sync@3.0.0(supports-color@6.1.0): + resolution: {integrity: sha512-YbffarhcicEhOrm4CtrwdKBdCuz576RLdhJDsIfvNtxUuhdRet1qZcsMjqbePtAseKdAnDyM/IyXbu7PRPRLYg==} + engines: {node: '>= 0.10'} + dependencies: + detect-file: 1.0.0 + is-glob: 4.0.3 + micromatch: 3.1.10(supports-color@6.1.0) + resolve-dir: 1.0.1 + transitivePeerDependencies: + - supports-color + dev: true + + /flat-cache@2.0.1: + resolution: {integrity: sha512-LoQe6yDuUMDzQAEH8sgmh4Md6oZnc/7PjtwjNFSzveXqSHt6ka9fPBuso7IGf9Rz4uqnSnWiFH2B/zj24a5ReA==} + engines: {node: '>=4'} + dependencies: + flatted: 2.0.2 + rimraf: 2.6.3 + write: 1.0.3 + dev: true + + /flatted@2.0.2: + resolution: {integrity: sha512-r5wGx7YeOwNWNlCA0wQ86zKyDLMQr+/RB8xy74M4hTphfmjlijTSSXGuH8rnvKZnfT9i+75zmd8jcKdMR4O6jA==} + dev: true + + /flush-write-stream@1.1.1: + resolution: {integrity: sha512-3Z4XhFZ3992uIq0XOqb9AreonueSYphE6oYbpt5+3u06JWklbsPkNv3ZKkP9Bz/r+1MWCaMoSQ28P85+1Yc77w==} + dependencies: + inherits: 2.0.4 + readable-stream: 2.3.8 + dev: true + + /for-in@1.0.2: + resolution: {integrity: sha512-7EwmXrOjyL+ChxMhmG5lnW9MPt1aIeZEwKhQzoBUdTV0N3zuwWDZYVJatDvZ2OyzPUvdIAZDsCetk3coyMfcnQ==} + engines: {node: '>=0.10.0'} + dev: true + + /for-own@0.1.5: + resolution: {integrity: sha512-SKmowqGTJoPzLO1T0BBJpkfp3EMacCMOuH40hOUbrbzElVktk4DioXVM99QkLCyKoiuOmyjgcWMpVz2xjE7LZw==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + for-in: 1.0.2 + dev: true + optional: true + + /foreground-child@3.1.1: + resolution: {integrity: sha512-TMKDUnIte6bfb5nWv7V/caI169OHgvwjb7V4WkeUvbQQdjr5rWKqHFiKWb/fcOwB+CzBT+qbWjvj+DVwRskpIg==} + engines: {node: '>=14'} + dependencies: + cross-spawn: 7.0.3 + signal-exit: 4.1.0 + dev: true + + /form-data@4.0.0: + resolution: {integrity: sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==} + engines: {node: '>= 6'} + dependencies: + asynckit: 0.4.0 + combined-stream: 1.0.8 + mime-types: 2.1.35 + dev: true + + /fragment-cache@0.2.1: + resolution: {integrity: sha512-GMBAbW9antB8iZRHLoGw0b3HANt57diZYFO/HL1JGIC1MjKrdmhxvrJbupnVvpys0zsz7yBApXdQyfepKly2kA==} + engines: {node: '>=0.10.0'} + dependencies: + map-cache: 0.2.2 + dev: true + + /fresh@0.5.2: + resolution: {integrity: sha512-zJ2mQYM18rEFOudeV4GShTGIQ7RbzA7ozbU9I/XBpm7kqgMywgmylMwXHxZJmkVoYkna9d2pVXVXPdYTP9ej8Q==} + engines: {node: '>= 0.6'} + dev: true + + /from2@2.3.0: + resolution: {integrity: sha512-OMcX/4IC/uqEPVgGeyfN22LJk6AZrMkRZHxcHBMBvHScDGgwTm2GT2Wkgtocyd3JfZffjj2kYUDXXII0Fk9W0g==} + dependencies: + inherits: 2.0.4 + readable-stream: 2.3.8 + dev: true + + /fs-write-stream-atomic@1.0.10: + resolution: {integrity: sha512-gehEzmPn2nAwr39eay+x3X34Ra+M2QlVUTLhkXPjWdeO8RF9kszk116avgBJM3ZyNHgHXBNx+VmPaFC36k0PzA==} + dependencies: + graceful-fs: 4.2.11 + iferr: 0.1.5 + imurmurhash: 0.1.4 + readable-stream: 2.3.8 + dev: true + + /fs.realpath@1.0.0: + resolution: {integrity: sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==} + dev: true + + /fsevents@1.2.13: + resolution: {integrity: sha512-oWb1Z6mkHIskLzEJ/XWX0srkpkTQ7vaopMQkyaEIoq0fmtFVxOthb8cCxeT+p3ynTdkk/RZwbgG4brR5BeWECw==} + engines: {node: '>= 4.0'} + os: [darwin] + deprecated: The v1 package contains DANGEROUS / INSECURE binaries. Upgrade to safe fsevents v2 + requiresBuild: true + dependencies: + bindings: 1.5.0 + nan: 2.19.0 + dev: true + optional: true + + /fsevents@2.3.3: + resolution: {integrity: sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==} + engines: {node: ^8.16.0 || ^10.6.0 || >=11.0.0} + os: [darwin] + requiresBuild: true + dev: true + optional: true + + /function-bind@1.1.2: + resolution: {integrity: sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==} + dev: true + + /functional-red-black-tree@1.0.1: + resolution: {integrity: sha512-dsKNQNdj6xA3T+QlADDA7mOSlX0qiMINjn0cgr+eGHGsbSHzTabcIogz2+p/iqP1Xs6EP/sS2SbqH+brGTbq0g==} + dev: true + + /gensync@1.0.0-beta.2: + resolution: {integrity: sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==} + engines: {node: '>=6.9.0'} + dev: true + + /get-caller-file@2.0.5: + resolution: {integrity: sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==} + engines: {node: 6.* || 8.* || >= 10.*} + dev: true + + /get-func-name@2.0.2: + resolution: {integrity: sha512-8vXOvuE167CtIc3OyItco7N/dpRtBbYOsPsXCz7X/PMnlGjYjSGuZJgM1Y7mmew7BKf9BqvLX2tnOVy1BBUsxQ==} + dev: true + + /get-intrinsic@1.2.4: + resolution: {integrity: sha512-5uYhsJH8VJBTv7oslg4BznJYhDoRI6waYCxMmCdnTrcCrHA/fCFKoTFz2JKKE0HdDFUF7/oQuhzumXJK7paBRQ==} + engines: {node: '>= 0.4'} + dependencies: + es-errors: 1.3.0 + function-bind: 1.1.2 + has-proto: 1.0.3 + has-symbols: 1.0.3 + hasown: 2.0.2 + dev: true + + /get-package-type@0.1.0: + resolution: {integrity: sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==} + engines: {node: '>=8.0.0'} + dev: true + + /get-port@3.2.0: + resolution: {integrity: sha512-x5UJKlgeUiNT8nyo/AcnwLnZuZNcSjSw0kogRB+Whd1fjjFq4B1hySFxSFWWSn4mIBzg3sRNUDFYc4g5gjPoLg==} + engines: {node: '>=4'} + dev: true + + /get-stdin@6.0.0: + resolution: {integrity: sha512-jp4tHawyV7+fkkSKyvjuLZswblUtz+SQKzSWnBbii16BuZksJlU1wuBYXY75r+duh/llF1ur6oNwi+2ZzjKZ7g==} + engines: {node: '>=4'} + dev: true + + /get-stream@6.0.1: + resolution: {integrity: sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==} + engines: {node: '>=10'} + dev: true + + /get-value@2.0.6: + resolution: {integrity: sha512-Ln0UQDlxH1BapMu3GPtf7CuYNwRZf2gwCuPqbyG6pB8WfmFpzqcy4xtAaAMUhnNqjMKTiCPZG2oMT3YSx8U2NA==} + engines: {node: '>=0.10.0'} + dev: true + + /glob-base@0.3.0: + resolution: {integrity: sha512-ab1S1g1EbO7YzauaJLkgLp7DZVAqj9M/dvKlTt8DkXA2tiOIcSMrlVI2J1RZyB5iJVccEscjGn+kpOG9788MHA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + glob-parent: 2.0.0 + is-glob: 2.0.1 + dev: true + optional: true + + /glob-parent@2.0.0: + resolution: {integrity: sha512-JDYOvfxio/t42HKdxkAYaCiBN7oYiuxykOxKxdaUW5Qn0zaYN3gRQWolrwdnf0shM9/EP0ebuuTmyoXNr1cC5w==} + requiresBuild: true + dependencies: + is-glob: 2.0.1 + dev: true + optional: true + + /glob-parent@3.1.0: + resolution: {integrity: sha512-E8Ak/2+dZY6fnzlR7+ueWvhsH1SjHr4jjss4YS/h4py44jY9MhK/VFdaZJAWDz6BbL21KeteKxFSFpq8OS5gVA==} + requiresBuild: true + dependencies: + is-glob: 3.1.0 + path-dirname: 1.0.2 + dev: true + optional: true + + /glob-parent@5.1.2: + resolution: {integrity: sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==} + engines: {node: '>= 6'} + dependencies: + is-glob: 4.0.3 + dev: true + + /glob@10.3.10: + resolution: {integrity: sha512-fa46+tv1Ak0UPK1TOy/pZrIybNNt4HCv7SDzwyfiOZkvZLEbjsZkJBPtDHVshZjbecAoAGSC20MjLDG/qr679g==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + dependencies: + foreground-child: 3.1.1 + jackspeak: 2.3.6 + minimatch: 9.0.3 + minipass: 7.0.4 + path-scurry: 1.10.1 + dev: true + + /glob@7.2.3: + resolution: {integrity: sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==} + dependencies: + fs.realpath: 1.0.0 + inflight: 1.0.6 + inherits: 2.0.4 + minimatch: 3.1.2 + once: 1.4.0 + path-is-absolute: 1.0.1 + dev: true + + /global-modules@1.0.0: + resolution: {integrity: sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg==} + engines: {node: '>=0.10.0'} + dependencies: + global-prefix: 1.0.2 + is-windows: 1.0.2 + resolve-dir: 1.0.1 + dev: true + + /global-modules@2.0.0: + resolution: {integrity: sha512-NGbfmJBp9x8IxyJSd1P+otYK8vonoJactOogrVfFRIAEY1ukil8RSKDz2Yo7wh1oihl51l/r6W4epkeKJHqL8A==} + engines: {node: '>=6'} + dependencies: + global-prefix: 3.0.0 + dev: true + + /global-prefix@1.0.2: + resolution: {integrity: sha512-5lsx1NUDHtSjfg0eHlmYvZKv8/nVqX4ckFbM+FrGcQ+04KWcWFo9P5MxPZYSzUvyzmdTbI7Eix8Q4IbELDqzKg==} + engines: {node: '>=0.10.0'} + dependencies: + expand-tilde: 2.0.2 + homedir-polyfill: 1.0.3 + ini: 1.3.8 + is-windows: 1.0.2 + which: 1.3.1 + dev: true + + /global-prefix@3.0.0: + resolution: {integrity: sha512-awConJSVCHVGND6x3tmMaKcQvwXLhjdkmomy2W+Goaui8YPgYgXJZewhg3fWC+DlfqqQuWg8AwqjGTD2nAPVWg==} + engines: {node: '>=6'} + dependencies: + ini: 1.3.8 + kind-of: 6.0.3 + which: 1.3.1 + dev: true + + /globals@11.12.0: + resolution: {integrity: sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==} + engines: {node: '>=4'} + dev: true + + /globals@12.4.0: + resolution: {integrity: sha512-BWICuzzDvDoH54NHKCseDanAhE3CeDorgDL5MT6LMXXj2WCnd9UC2szdk4AWLfjdgNBCXLUanXYcpBBKOSWGwg==} + engines: {node: '>=8'} + dependencies: + type-fest: 0.8.1 + dev: true + + /globby@11.1.0: + resolution: {integrity: sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g==} + engines: {node: '>=10'} + dependencies: + array-union: 2.1.0 + dir-glob: 3.0.1 + fast-glob: 3.3.2 + ignore: 5.3.1 + merge2: 1.4.1 + slash: 3.0.0 + dev: true + + /gopd@1.0.1: + resolution: {integrity: sha512-d65bNlIadxvpb/A2abVdlqKqV563juRnZ1Wtk6s1sIR8uNsXR70xqIzVqxVf1eTqDunwT2MkczEeaezCKTZhwA==} + dependencies: + get-intrinsic: 1.2.4 + dev: true + + /graceful-fs@4.2.11: + resolution: {integrity: sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==} + dev: true + + /graphlib@2.1.8: + resolution: {integrity: sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A==} + dependencies: + lodash: 4.17.21 + dev: false + + /gzip-size@6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} + engines: {node: '>=10'} + dependencies: + duplexer: 0.1.2 + dev: true + + /has-flag@3.0.0: + resolution: {integrity: sha512-sKJf1+ceQBr4SMkvQnBDNDtf4TXpVhVGateu0t918bl30FnbE2m4vNLX+VWe/dpjlb+HugGYzW7uQXH98HPEYw==} + engines: {node: '>=4'} + dev: true + + /has-flag@4.0.0: + resolution: {integrity: sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==} + engines: {node: '>=8'} + dev: true + + /has-property-descriptors@1.0.2: + resolution: {integrity: sha512-55JNKuIW+vq4Ke1BjOTjM2YctQIvCT7GFzHwmfZPGo5wnrgkid0YQtnAleFSqumZm4az3n2BS+erby5ipJdgrg==} + dependencies: + es-define-property: 1.0.0 + dev: true + + /has-proto@1.0.3: + resolution: {integrity: sha512-SJ1amZAJUiZS+PhsVLf5tGydlaVB8EdFpaSO4gmiUKUOxk8qzn5AIy4ZeJUmh22znIdk/uMAUT2pl3FxzVUH+Q==} + engines: {node: '>= 0.4'} + dev: true + + /has-symbols@1.0.3: + resolution: {integrity: sha512-l3LCuF6MgDNwTDKkdYGEihYjt5pRPbEg46rtlmnSPlUbgmB8LOIrKJbYYFBSbnPaJexMKtiPO8hmeRjRz2Td+A==} + engines: {node: '>= 0.4'} + dev: true + + /has-value@0.3.1: + resolution: {integrity: sha512-gpG936j8/MzaeID5Yif+577c17TxaDmhuyVgSwtnL/q8UUTySg8Mecb+8Cf1otgLoD7DDH75axp86ER7LFsf3Q==} + engines: {node: '>=0.10.0'} + dependencies: + get-value: 2.0.6 + has-values: 0.1.4 + isobject: 2.1.0 + dev: true + + /has-value@1.0.0: + resolution: {integrity: sha512-IBXk4GTsLYdQ7Rvt+GRBrFSVEkmuOUy4re0Xjd9kJSUQpnTrWR4/y9RpfexN9vkAPMFuQoeWKwqzPozRTlasGw==} + engines: {node: '>=0.10.0'} + dependencies: + get-value: 2.0.6 + has-values: 1.0.0 + isobject: 3.0.1 + dev: true + + /has-values@0.1.4: + resolution: {integrity: sha512-J8S0cEdWuQbqD9//tlZxiMuMNmxB8PlEwvYwuxsTmR1G5RXUePEX/SJn7aD0GMLieuZYSwNH0cQuJGwnYunXRQ==} + engines: {node: '>=0.10.0'} + dev: true + + /has-values@1.0.0: + resolution: {integrity: sha512-ODYZC64uqzmtfGMEAX/FvZiRyWLpAC3vYnNunURUnkGVTS+mI0smVsWaPydRBsE3g+ok7h960jChO8mFcWlHaQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-number: 3.0.0 + kind-of: 4.0.0 + dev: true + + /hash-base@3.0.4: + resolution: {integrity: sha512-EeeoJKjTyt868liAlVmcv2ZsUfGHlE3Q+BICOXcZiwN3osr5Q/zFGYmTJpoIzuaSTAwndFy+GqhEwlU4L3j4Ow==} + engines: {node: '>=4'} + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /hash-base@3.1.0: + resolution: {integrity: sha512-1nmYp/rhMDiE7AYkDw+lLwlAzz0AntGIe51F3RfFfEqyQ3feY2eI/NcwC6umIQVOASPMsWJLJScWKSSvzL9IVA==} + engines: {node: '>=4'} + dependencies: + inherits: 2.0.4 + readable-stream: 3.6.2 + safe-buffer: 5.2.1 + dev: true + + /hash.js@1.1.7: + resolution: {integrity: sha512-taOaskGt4z4SOANNseOviYDvjEJinIkRgmp7LbKP2YTTmVxWBl87s/uzK9r+44BclBSp2X7K1hqeNfz9JbBeXA==} + dependencies: + inherits: 2.0.4 + minimalistic-assert: 1.0.1 + dev: true + + /hasown@2.0.2: + resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} + engines: {node: '>= 0.4'} + dependencies: + function-bind: 1.1.2 + dev: true + + /hmac-drbg@1.0.1: + resolution: {integrity: sha512-Tti3gMqLdZfhOQY1Mzf/AanLiqh1WTiJgEj26ZuYQ9fbkLomzGchCws4FyrSd4VkpBfiNhaE1On+lOz894jvXg==} + dependencies: + hash.js: 1.1.7 + minimalistic-assert: 1.0.1 + minimalistic-crypto-utils: 1.0.1 + dev: true + + /homedir-polyfill@1.0.3: + resolution: {integrity: sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA==} + engines: {node: '>=0.10.0'} + dependencies: + parse-passwd: 1.0.0 + dev: true + + /html-encoding-sniffer@3.0.0: + resolution: {integrity: sha512-oWv4T4yJ52iKrufjnyZPkrN0CH3QnrUqdB6In1g5Fe1mia8GmF36gnfNySxoZtxD5+NmYw1EElVXiBk93UeskA==} + engines: {node: '>=12'} + dependencies: + whatwg-encoding: 2.0.0 + dev: true + + /html-escaper@2.0.2: + resolution: {integrity: sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==} + dev: true + + /htmlparser2@8.0.2: + resolution: {integrity: sha512-GYdjWKDkbRLkZ5geuHs5NY1puJ+PXwP7+fHPRz06Eirsb9ugf6d8kkXav6ADhcODhFFPMIXyxkxSuMf3D6NCFA==} + dependencies: + domelementtype: 2.3.0 + domhandler: 5.0.3 + domutils: 3.1.0 + entities: 4.5.0 + dev: true + + /http-errors@1.6.3: + resolution: {integrity: sha512-lks+lVC8dgGyh97jxvxeYTWQFvh4uw4yC12gVl63Cg30sjPX4wuGcdkICVXDAESr6OJGjqGA8Iz5mkeN6zlD7A==} + engines: {node: '>= 0.6'} + dependencies: + depd: 1.1.2 + inherits: 2.0.3 + setprototypeof: 1.1.0 + statuses: 1.4.0 + dev: true + + /http-errors@2.0.0: + resolution: {integrity: sha512-FtwrG/euBzaEjYeRqOgly7G0qviiXoJWnvEH2Z1plBdXgbyjv34pHTSb9zoeHMyDy33+DWy5Wt9Wo+TURtOYSQ==} + engines: {node: '>= 0.8'} + dependencies: + depd: 2.0.0 + inherits: 2.0.4 + setprototypeof: 1.2.0 + statuses: 2.0.1 + toidentifier: 1.0.1 + dev: true + + /http-proxy-agent@5.0.0: + resolution: {integrity: sha512-n2hY8YdoRE1i7r6M0w9DIw5GgZN0G25P8zLCRQ8rjXtTU3vsNFBI/vWK/UIeE6g5MUUz6avwAPXmL6Fy9D/90w==} + engines: {node: '>= 6'} + dependencies: + '@tootallnate/once': 2.0.0 + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /https-browserify@1.0.0: + resolution: {integrity: sha512-J+FkSdyD+0mA0N+81tMotaRMfSL9SGi+xpD3T6YApKsc3bGSXJlfXri3VyFOeYkfLRQisDk1W+jIFFKBeUBbBg==} + dev: true + + /https-proxy-agent@5.0.1: + resolution: {integrity: sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA==} + engines: {node: '>= 6'} + dependencies: + agent-base: 6.0.2 + debug: 4.3.4 + transitivePeerDependencies: + - supports-color + dev: true + + /human-signals@2.1.0: + resolution: {integrity: sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==} + engines: {node: '>=10.17.0'} + dev: true + + /iconv-lite@0.4.24: + resolution: {integrity: sha512-v3MXnZAcvnywkTUEZomIActle7RXXeedOR31wwl7VlyoXO4Qi9arvSenNQWne1TcRwhCL1HwLI21bEqdpj8/rA==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + + /iconv-lite@0.6.3: + resolution: {integrity: sha512-4fCk79wshMdzMp2rH06qWrJE4iolqLhCUH+OiuIgU++RB0+94NlDL81atO7GX55uUKueo0txHNtvEyI6D7WdMw==} + engines: {node: '>=0.10.0'} + dependencies: + safer-buffer: 2.1.2 + dev: true + + /ieee754@1.2.1: + resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} + dev: true + + /iferr@0.1.5: + resolution: {integrity: sha512-DUNFN5j7Tln0D+TxzloUjKB+CtVu6myn0JEFak6dG18mNt9YkQ6lzGCdafwofISZ1lLF3xRHJ98VKy9ynkcFaA==} + dev: true + + /ignore@4.0.6: + resolution: {integrity: sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg==} + engines: {node: '>= 4'} + dev: true + + /ignore@5.3.1: + resolution: {integrity: sha512-5Fytz/IraMjqpwfd34ke28PTVMjZjJG2MPn5t7OE4eUCUNf8BAa7b5WUS9/Qvr6mwOQS7Mk6vdsMno5he+T8Xw==} + engines: {node: '>= 4'} + dev: true + + /immediate@3.0.6: + resolution: {integrity: sha512-XXOFtyqDjNDAQxVfYxuF7g9Il/IbWmmlQg2MYKOH8ExIT1qg6xc4zyS3HaEEATgs1btfzxq15ciUiY7gjSXRGQ==} + dev: true + + /import-fresh@3.3.0: + resolution: {integrity: sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==} + engines: {node: '>=6'} + dependencies: + parent-module: 1.0.1 + resolve-from: 4.0.0 + dev: true + + /import-local@2.0.0: + resolution: {integrity: sha512-b6s04m3O+s3CGSbqDIyP4R6aAwAeYlVq9+WUWep6iHa8ETRf9yei1U48C5MmfJmV9AiLYYBKPMq/W+/WRpQmCQ==} + engines: {node: '>=6'} + hasBin: true + dependencies: + pkg-dir: 3.0.0 + resolve-cwd: 2.0.0 + dev: true + + /import-local@3.1.0: + resolution: {integrity: sha512-ASB07uLtnDs1o6EHjKpX34BKYDSqnFerfTOJL2HvMqF70LnxpjkzDB8J44oT9pu4AMPkQwf8jl6szgvNd2tRIg==} + engines: {node: '>=8'} + hasBin: true + dependencies: + pkg-dir: 4.2.0 + resolve-cwd: 3.0.0 + dev: true + + /imurmurhash@0.1.4: + resolution: {integrity: sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==} + engines: {node: '>=0.8.19'} + dev: true + + /infer-owner@1.0.4: + resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} + dev: true + + /inflight@1.0.6: + resolution: {integrity: sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==} + dependencies: + once: 1.4.0 + wrappy: 1.0.2 + dev: true + + /inherits@2.0.3: + resolution: {integrity: sha512-x00IRNXNy63jwGkJmzPigoySHbaqpNuzKbBOmzK+g2OdZpQ9w+sxCN+VSB3ja7IAge2OP2qpfxTjeNcyjmW1uw==} + dev: true + + /inherits@2.0.4: + resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} + dev: true + + /ini@1.3.8: + resolution: {integrity: sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew==} + dev: true + + /inquirer@7.3.3: + resolution: {integrity: sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==} + engines: {node: '>=8.0.0'} + dependencies: + ansi-escapes: 4.3.2 + chalk: 4.1.2 + cli-cursor: 3.1.0 + cli-width: 3.0.0 + external-editor: 3.1.0 + figures: 3.2.0 + lodash: 4.17.21 + mute-stream: 0.0.8 + run-async: 2.4.1 + rxjs: 6.6.7 + string-width: 4.2.3 + strip-ansi: 6.0.1 + through: 2.3.8 + dev: true + + /internmap@1.0.1: + resolution: {integrity: sha512-lDB5YccMydFBtasVtxnZ3MRBHuaoE8GKsppq+EchKL2U4nK/DmEpPHNH8MZe5HkMtpSiTSOZwfN0tzYjO/lJEw==} + dev: false + + /interpret@1.4.0: + resolution: {integrity: sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA==} + engines: {node: '>= 0.10'} + dev: true + + /invert-kv@1.0.0: + resolution: {integrity: sha512-xgs2NH9AE66ucSq4cNG1nhSFghr5l6tdL15Pk+jl46bmmBapgoaY/AacXyaDznAqmGL99TiLSQgO/XazFSKYeQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-accessor-descriptor@1.0.1: + resolution: {integrity: sha512-YBUanLI8Yoihw923YeFUS5fs0fF2f5TSFTNiYAAzhhDscDa3lEqYuz1pDOEP5KvX94I9ey3vsqjJcLVFVU+3QA==} + engines: {node: '>= 0.10'} + dependencies: + hasown: 2.0.2 + dev: true + + /is-arrayish@0.2.1: + resolution: {integrity: sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==} + dev: true + + /is-binary-path@1.0.1: + resolution: {integrity: sha512-9fRVlXc0uCxEDj1nQzaWONSpbTfx0FmJfzHF7pwlI8DkWGoHBBea4Pg5Ky0ojwwxQmnSifgbKkI06Qv0Ljgj+Q==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + binary-extensions: 1.13.1 + dev: true + optional: true + + /is-binary-path@2.1.0: + resolution: {integrity: sha512-ZMERYes6pDydyuGidse7OsHxtbI7WVeUEozgR/g7rd0xUimYNlvZRE/K2MgZTjWy725IfelLeVcEM97mmtRGXw==} + engines: {node: '>=8'} + dependencies: + binary-extensions: 2.2.0 + dev: true + + /is-buffer@1.1.6: + resolution: {integrity: sha512-NcdALwpXkTm5Zvvbk7owOUSvVvBKDgKP5/ewfXEznmQFfs4ZRmanOeKBTjRVjka3QFoN6XJ+9F3USqfHqTaU5w==} + dev: true + + /is-core-module@2.13.1: + resolution: {integrity: sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==} + dependencies: + hasown: 2.0.2 + dev: true + + /is-data-descriptor@1.0.1: + resolution: {integrity: sha512-bc4NlCDiCr28U4aEsQ3Qs2491gVq4V8G7MQyws968ImqjKuYtTJXrl7Vq7jsN7Ly/C3xj5KWFrY7sHNeDkAzXw==} + engines: {node: '>= 0.4'} + dependencies: + hasown: 2.0.2 + dev: true + + /is-descriptor@0.1.7: + resolution: {integrity: sha512-C3grZTvObeN1xud4cRWl366OMXZTj0+HGyk4hvfpx4ZHt1Pb60ANSXqCK7pdOTeUQpRzECBSTphqvD7U+l22Eg==} + engines: {node: '>= 0.4'} + dependencies: + is-accessor-descriptor: 1.0.1 + is-data-descriptor: 1.0.1 + dev: true + + /is-descriptor@1.0.3: + resolution: {integrity: sha512-JCNNGbwWZEVaSPtS45mdtrneRWJFp07LLmykxeFV5F6oBvNF8vHSfJuJgoT472pSfk+Mf8VnlrspaFBHWM8JAw==} + engines: {node: '>= 0.4'} + dependencies: + is-accessor-descriptor: 1.0.1 + is-data-descriptor: 1.0.1 + dev: true + + /is-dotfile@1.0.3: + resolution: {integrity: sha512-9YclgOGtN/f8zx0Pr4FQYMdibBiTaH3sn52vjYip4ZSf6C4/6RfTEZ+MR4GvKhCxdPh21Bg42/WL55f6KSnKpg==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /is-equal-shallow@0.1.3: + resolution: {integrity: sha512-0EygVC5qPvIyb+gSz7zdD5/AAoS6Qrx1e//6N4yv4oNm30kqvdmG66oZFWVlQHUWe5OjP08FuTw2IdT0EOTcYA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-primitive: 2.0.0 + dev: true + optional: true + + /is-extendable@0.1.1: + resolution: {integrity: sha512-5BMULNob1vgFX6EjQw5izWDxrecWK9AM72rugNr0TFldMOi0fj6Jk+zeKIt0xGj4cEfQIJth4w3OKWOJ4f+AFw==} + engines: {node: '>=0.10.0'} + dev: true + + /is-extendable@1.0.1: + resolution: {integrity: sha512-arnXMxT1hhoKo9k1LZdmlNyJdDDfy2v0fXjFlmok4+i8ul/6WlbVge9bhM74OpNPQPMGUToDtz+KXa1PneJxOA==} + engines: {node: '>=0.10.0'} + dependencies: + is-plain-object: 2.0.4 + dev: true + + /is-extglob@1.0.0: + resolution: {integrity: sha512-7Q+VbVafe6x2T+Tu6NcOf6sRklazEPmBoB3IWk3WdGZM2iGUwU/Oe3Wtq5lSEkDTTlpp8yx+5t4pzO/i9Ty1ww==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /is-extglob@2.1.1: + resolution: {integrity: sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==} + engines: {node: '>=0.10.0'} + dev: true + + /is-fullwidth-code-point@1.0.0: + resolution: {integrity: sha512-1pqUqRjkhPJ9miNq9SwMfdvi6lBJcd6eFxvfaivQhaH3SgisfiuudvFntdKOmxuee/77l+FPjKrQjWvmPjWrRw==} + engines: {node: '>=0.10.0'} + dependencies: + number-is-nan: 1.0.1 + dev: true + + /is-fullwidth-code-point@2.0.0: + resolution: {integrity: sha512-VHskAKYM8RfSFXwee5t5cbN5PZeq1Wrh6qd5bkyiXIf6UQcN6w/A0eXM9r6t8d+GYOh+o6ZhiEnb88LN/Y8m2w==} + engines: {node: '>=4'} + dev: true + + /is-fullwidth-code-point@3.0.0: + resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} + engines: {node: '>=8'} + dev: true + + /is-generator-fn@2.1.0: + resolution: {integrity: sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==} + engines: {node: '>=6'} + dev: true + + /is-glob@2.0.1: + resolution: {integrity: sha512-a1dBeB19NXsf/E0+FHqkagizel/LQw2DjSQpvQrj3zT+jYPpaUCryPnrQajXKFLCMuf4I6FhRpaGtw4lPrG6Eg==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-extglob: 1.0.0 + dev: true + optional: true + + /is-glob@3.1.0: + resolution: {integrity: sha512-UFpDDrPgM6qpnFNI+rh/p3bUaq9hKLZN8bMUWzxmcnZVS3omf4IPK+BrewlnWjO1WmUsMYuSjKh4UJuV4+Lqmw==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-extglob: 2.1.1 + dev: true + optional: true + + /is-glob@4.0.3: + resolution: {integrity: sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==} + engines: {node: '>=0.10.0'} + dependencies: + is-extglob: 2.1.1 + dev: true + + /is-number@2.1.0: + resolution: {integrity: sha512-QUzH43Gfb9+5yckcrSA0VBDwEtDUchrk4F6tfJZQuNzDJbEDB9cZNzSfXGQ1jqmdDY/kl41lUOWM9syA8z8jlg==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + kind-of: 3.2.2 + dev: true + optional: true + + /is-number@3.0.0: + resolution: {integrity: sha512-4cboCqIpliH+mAvFNegjZQ4kgKc3ZUhQVr3HvWbSh5q3WH2v82ct+T2Y1hdU5Gdtorx/cLifQjqCbL7bpznLTg==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /is-number@4.0.0: + resolution: {integrity: sha512-rSklcAIlf1OmFdyAqbnWTLVelsQ58uvZ66S/ZyawjWqIviTWCjg2PzVGw8WUA+nNuPTqb4wgA+NszrJ+08LlgQ==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /is-number@7.0.0: + resolution: {integrity: sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==} + engines: {node: '>=0.12.0'} + dev: true + + /is-plain-object@2.0.4: + resolution: {integrity: sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /is-plain-object@5.0.0: + resolution: {integrity: sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q==} + engines: {node: '>=0.10.0'} + dev: true + + /is-posix-bracket@0.1.1: + resolution: {integrity: sha512-Yu68oeXJ7LeWNmZ3Zov/xg/oDBnBK2RNxwYY1ilNJX+tKKZqgPK+qOn/Gs9jEu66KDY9Netf5XLKNGzas/vPfQ==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /is-potential-custom-element-name@1.0.1: + resolution: {integrity: sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ==} + dev: true + + /is-primitive@2.0.0: + resolution: {integrity: sha512-N3w1tFaRfk3UrPfqeRyD+GYDASU3W5VinKhlORy8EWVf/sIdDL9GAcew85XmktCfH+ngG7SRXEVDoO18WMdB/Q==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /is-stream@2.0.1: + resolution: {integrity: sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==} + engines: {node: '>=8'} + dev: true + + /is-windows@1.0.2: + resolution: {integrity: sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA==} + engines: {node: '>=0.10.0'} + dev: true + + /is-wsl@1.1.0: + resolution: {integrity: sha512-gfygJYZ2gLTDlmbWMI0CE2MwnFzSN/2SZfkMlItC4K/JBlsWVDB0bO6XhqcY13YXE7iMcAJnzTCJjPiTeJJ0Mw==} + engines: {node: '>=4'} + dev: true + + /isarray@0.0.1: + resolution: {integrity: sha512-D2S+3GLxWH+uhrNEcoh/fnmYeP8E8/zHl644d/jdA0g2uyXvy3sb0qxotE+ne0LtccHknQzWwZEzhak7oJ0COQ==} + dev: false + + /isarray@1.0.0: + resolution: {integrity: sha512-VLghIWNM6ELQzo7zwmcg0NmTVyWKYjvIeM83yjp0wRDTmUnrM678fQbcKBo6n2CJEF0szoG//ytg+TKla89ALQ==} + dev: true + + /isexe@2.0.0: + resolution: {integrity: sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==} + dev: true + + /isobject@2.1.0: + resolution: {integrity: sha512-+OUdGJlgjOBZDfxnDjYYG6zp487z0JGNQq3cYQYg5f5hKR+syHMsaztzGeml/4kGG55CSpKSpWTY+jYGgsHLgA==} + engines: {node: '>=0.10.0'} + dependencies: + isarray: 1.0.0 + dev: true + + /isobject@3.0.1: + resolution: {integrity: sha512-WhB9zCku7EGTj/HQQRz5aUQEUeoQZH2bWcltRErOpymJ4boYE6wL9Tbr23krRPSZ+C5zqNSrSw+Cc7sZZ4b7vg==} + engines: {node: '>=0.10.0'} + dev: true + + /istanbul-lib-coverage@3.2.2: + resolution: {integrity: sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==} + engines: {node: '>=8'} + dev: true + + /istanbul-lib-instrument@5.2.1: + resolution: {integrity: sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==} + engines: {node: '>=8'} + dependencies: + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 + '@istanbuljs/schema': 0.1.3 + istanbul-lib-coverage: 3.2.2 + semver: 6.3.1 + transitivePeerDependencies: + - supports-color + dev: true + + /istanbul-lib-instrument@6.0.2: + resolution: {integrity: sha512-1WUsZ9R1lA0HtBSohTkm39WTPlNKSJ5iFk7UwqXkBLoHQT+hfqPsfsTDVuZdKGaBwn7din9bS7SsnoAr943hvw==} + engines: {node: '>=10'} + dependencies: + '@babel/core': 7.24.0 + '@babel/parser': 7.24.0 + '@istanbuljs/schema': 0.1.3 + istanbul-lib-coverage: 3.2.2 + semver: 7.6.0 + transitivePeerDependencies: + - supports-color + dev: true + + /istanbul-lib-report@3.0.1: + resolution: {integrity: sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==} + engines: {node: '>=10'} + dependencies: + istanbul-lib-coverage: 3.2.2 + make-dir: 4.0.0 + supports-color: 7.2.0 + dev: true + + /istanbul-lib-source-maps@4.0.1: + resolution: {integrity: sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==} + engines: {node: '>=10'} + dependencies: + debug: 4.3.4 + istanbul-lib-coverage: 3.2.2 + source-map: 0.6.1 + transitivePeerDependencies: + - supports-color + dev: true + + /istanbul-reports@3.1.7: + resolution: {integrity: sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==} + engines: {node: '>=8'} + dependencies: + html-escaper: 2.0.2 + istanbul-lib-report: 3.0.1 + dev: true + + /jackspeak@2.3.6: + resolution: {integrity: sha512-N3yCS/NegsOBokc8GAdM8UcmfsKiSS8cipheD/nivzr700H+nsMOxJjQnvwOcRYVuFkdH0wGUvW2WbXGmrZGbQ==} + engines: {node: '>=14'} + dependencies: + '@isaacs/cliui': 8.0.2 + optionalDependencies: + '@pkgjs/parseargs': 0.11.0 + dev: true + + /jest-changed-files@29.7.0: + resolution: {integrity: sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + execa: 5.1.1 + jest-util: 29.7.0 + p-limit: 3.1.0 + dev: true + + /jest-circus@29.7.0: + resolution: {integrity: sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/environment': 29.7.0 + '@jest/expect': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + chalk: 4.1.2 + co: 4.6.0 + dedent: 1.5.1 + is-generator-fn: 2.1.0 + jest-each: 29.7.0 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-runtime: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + p-limit: 3.1.0 + pretty-format: 29.7.0 + pure-rand: 6.0.4 + slash: 3.0.0 + stack-utils: 2.0.6 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + dev: true + + /jest-cli@29.7.0: + resolution: {integrity: sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + hasBin: true + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + '@jest/core': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + chalk: 4.1.2 + create-jest: 29.7.0 + exit: 0.1.2 + import-local: 3.1.0 + jest-config: 29.7.0(@types/node@20.11.26) + jest-util: 29.7.0 + jest-validate: 29.7.0 + yargs: 17.7.2 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + dev: true + + /jest-config@29.7.0(@types/node@20.11.26): + resolution: {integrity: sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + '@types/node': '*' + ts-node: '>=9.0.0' + peerDependenciesMeta: + '@types/node': + optional: true + ts-node: + optional: true + dependencies: + '@babel/core': 7.24.0 + '@jest/test-sequencer': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + babel-jest: 29.7.0(@babel/core@7.24.0) + chalk: 4.1.2 + ci-info: 3.9.0 + deepmerge: 4.3.1 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-circus: 29.7.0 + jest-environment-node: 29.7.0 + jest-get-type: 29.6.3 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-runner: 29.7.0 + jest-util: 29.7.0 + jest-validate: 29.7.0 + micromatch: 4.0.5 + parse-json: 5.2.0 + pretty-format: 29.7.0 + slash: 3.0.0 + strip-json-comments: 3.1.1 + transitivePeerDependencies: + - babel-plugin-macros + - supports-color + dev: true + + /jest-diff@29.7.0: + resolution: {integrity: sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + chalk: 4.1.2 + diff-sequences: 29.6.3 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 + dev: true + + /jest-docblock@29.7.0: + resolution: {integrity: sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + detect-newline: 3.1.0 + dev: true + + /jest-each@29.7.0: + resolution: {integrity: sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + chalk: 4.1.2 + jest-get-type: 29.6.3 + jest-util: 29.7.0 + pretty-format: 29.7.0 + dev: true + + /jest-environment-jsdom@29.7.0: + resolution: {integrity: sha512-k9iQbsf9OyOfdzWH8HDmrRT0gSIcX+FLNW7IQq94tFX0gynPwqDTW0Ho6iMVNjGz/nb+l/vW3dWM2bbLLpkbXA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + '@types/jsdom': 20.0.1 + '@types/node': 20.11.26 + jest-mock: 29.7.0 + jest-util: 29.7.0 + jsdom: 20.0.3 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + + /jest-environment-node@29.7.0: + resolution: {integrity: sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + jest-mock: 29.7.0 + jest-util: 29.7.0 + dev: true + + /jest-get-type@29.6.3: + resolution: {integrity: sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + + /jest-haste-map@29.7.0: + resolution: {integrity: sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + '@types/graceful-fs': 4.1.9 + '@types/node': 20.11.26 + anymatch: 3.1.3 + fb-watchman: 2.0.2 + graceful-fs: 4.2.11 + jest-regex-util: 29.6.3 + jest-util: 29.7.0 + jest-worker: 29.7.0 + micromatch: 4.0.5 + walker: 1.0.8 + optionalDependencies: + fsevents: 2.3.3 + dev: true + + /jest-leak-detector@29.7.0: + resolution: {integrity: sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + jest-get-type: 29.6.3 + pretty-format: 29.7.0 + dev: true + + /jest-matcher-utils@29.7.0: + resolution: {integrity: sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + chalk: 4.1.2 + jest-diff: 29.7.0 + jest-get-type: 29.6.3 + pretty-format: 29.7.0 + dev: true + + /jest-message-util@29.7.0: + resolution: {integrity: sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@babel/code-frame': 7.23.5 + '@jest/types': 29.6.3 + '@types/stack-utils': 2.0.3 + chalk: 4.1.2 + graceful-fs: 4.2.11 + micromatch: 4.0.5 + pretty-format: 29.7.0 + slash: 3.0.0 + stack-utils: 2.0.6 + dev: true + + /jest-mock@29.7.0: + resolution: {integrity: sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + jest-util: 29.7.0 + dev: true + + /jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): + resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} + engines: {node: '>=6'} + peerDependencies: + jest-resolve: '*' + peerDependenciesMeta: + jest-resolve: + optional: true + dependencies: + jest-resolve: 29.7.0 + dev: true + + /jest-regex-util@29.6.3: + resolution: {integrity: sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dev: true + + /jest-resolve-dependencies@29.7.0: + resolution: {integrity: sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + jest-regex-util: 29.6.3 + jest-snapshot: 29.7.0 + transitivePeerDependencies: + - supports-color + dev: true + + /jest-resolve@29.7.0: + resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + chalk: 4.1.2 + graceful-fs: 4.2.11 + jest-haste-map: 29.7.0 + jest-pnp-resolver: 1.2.3(jest-resolve@29.7.0) + jest-util: 29.7.0 + jest-validate: 29.7.0 + resolve: 1.22.8 + resolve.exports: 2.0.2 + slash: 3.0.0 + dev: true + + /jest-runner@29.7.0: + resolution: {integrity: sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/console': 29.7.0 + '@jest/environment': 29.7.0 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + chalk: 4.1.2 + emittery: 0.13.1 + graceful-fs: 4.2.11 + jest-docblock: 29.7.0 + jest-environment-node: 29.7.0 + jest-haste-map: 29.7.0 + jest-leak-detector: 29.7.0 + jest-message-util: 29.7.0 + jest-resolve: 29.7.0 + jest-runtime: 29.7.0 + jest-util: 29.7.0 + jest-watcher: 29.7.0 + jest-worker: 29.7.0 + p-limit: 3.1.0 + source-map-support: 0.5.13 + transitivePeerDependencies: + - supports-color + dev: true + + /jest-runtime@29.7.0: + resolution: {integrity: sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/environment': 29.7.0 + '@jest/fake-timers': 29.7.0 + '@jest/globals': 29.7.0 + '@jest/source-map': 29.6.3 + '@jest/test-result': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + chalk: 4.1.2 + cjs-module-lexer: 1.2.3 + collect-v8-coverage: 1.0.2 + glob: 7.2.3 + graceful-fs: 4.2.11 + jest-haste-map: 29.7.0 + jest-message-util: 29.7.0 + jest-mock: 29.7.0 + jest-regex-util: 29.6.3 + jest-resolve: 29.7.0 + jest-snapshot: 29.7.0 + jest-util: 29.7.0 + slash: 3.0.0 + strip-bom: 4.0.0 + transitivePeerDependencies: + - supports-color + dev: true + + /jest-snapshot@29.7.0: + resolution: {integrity: sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@babel/core': 7.24.0 + '@babel/generator': 7.23.6 + '@babel/plugin-syntax-jsx': 7.23.3(@babel/core@7.24.0) + '@babel/plugin-syntax-typescript': 7.23.3(@babel/core@7.24.0) + '@babel/types': 7.24.0 + '@jest/expect-utils': 29.7.0 + '@jest/transform': 29.7.0 + '@jest/types': 29.6.3 + babel-preset-current-node-syntax: 1.0.1(@babel/core@7.24.0) + chalk: 4.1.2 + expect: 29.7.0 + graceful-fs: 4.2.11 + jest-diff: 29.7.0 + jest-get-type: 29.6.3 + jest-matcher-utils: 29.7.0 + jest-message-util: 29.7.0 + jest-util: 29.7.0 + natural-compare: 1.4.0 + pretty-format: 29.7.0 + semver: 7.6.0 + transitivePeerDependencies: + - supports-color + dev: true + + /jest-util@29.7.0: + resolution: {integrity: sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + chalk: 4.1.2 + ci-info: 3.9.0 + graceful-fs: 4.2.11 + picomatch: 2.3.1 + dev: true + + /jest-validate@29.7.0: + resolution: {integrity: sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/types': 29.6.3 + camelcase: 6.3.0 + chalk: 4.1.2 + jest-get-type: 29.6.3 + leven: 3.1.0 + pretty-format: 29.7.0 + dev: true + + /jest-watcher@29.7.0: + resolution: {integrity: sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/test-result': 29.7.0 + '@jest/types': 29.6.3 + '@types/node': 20.11.26 + ansi-escapes: 4.3.2 + chalk: 4.1.2 + emittery: 0.13.1 + jest-util: 29.7.0 + string-length: 4.0.2 + dev: true + + /jest-worker@29.7.0: + resolution: {integrity: sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@types/node': 20.11.26 + jest-util: 29.7.0 + merge-stream: 2.0.0 + supports-color: 8.1.1 + dev: true + + /jest@29.7.0: + resolution: {integrity: sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + hasBin: true + peerDependencies: + node-notifier: ^8.0.1 || ^9.0.0 || ^10.0.0 + peerDependenciesMeta: + node-notifier: + optional: true + dependencies: + '@jest/core': 29.7.0 + '@jest/types': 29.6.3 + import-local: 3.1.0 + jest-cli: 29.7.0 + transitivePeerDependencies: + - '@types/node' + - babel-plugin-macros + - supports-color + - ts-node + dev: true + + /joycon@3.1.1: + resolution: {integrity: sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==} + engines: {node: '>=10'} + dev: true + + /js-tokens@4.0.0: + resolution: {integrity: sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==} + dev: true + + /js-yaml@3.14.1: + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} + hasBin: true + dependencies: + argparse: 1.0.10 + esprima: 4.0.1 + dev: true + + /jsdom@20.0.3: + resolution: {integrity: sha512-SYhBvTh89tTfCD/CRdSOm13mOBa42iTaTyfyEWBdKcGdPxPtLFBXuHR8XHb33YNYaP+lLbmSvBTsnoesCNJEsQ==} + engines: {node: '>=14'} + peerDependencies: + canvas: ^2.5.0 + peerDependenciesMeta: + canvas: + optional: true + dependencies: + abab: 2.0.6 + acorn: 8.11.3 + acorn-globals: 7.0.1 + cssom: 0.5.0 + cssstyle: 2.3.0 + data-urls: 3.0.2 + decimal.js: 10.4.3 + domexception: 4.0.0 + escodegen: 2.1.0 + form-data: 4.0.0 + html-encoding-sniffer: 3.0.0 + http-proxy-agent: 5.0.0 + https-proxy-agent: 5.0.1 + is-potential-custom-element-name: 1.0.1 + nwsapi: 2.2.7 + parse5: 7.1.2 + saxes: 6.0.0 + symbol-tree: 3.2.4 + tough-cookie: 4.1.3 + w3c-xmlserializer: 4.0.0 + webidl-conversions: 7.0.0 + whatwg-encoding: 2.0.0 + whatwg-mimetype: 3.0.0 + whatwg-url: 11.0.0 + ws: 8.16.0 + xml-name-validator: 4.0.0 + transitivePeerDependencies: + - bufferutil + - supports-color + - utf-8-validate + dev: true + + /jsesc@2.5.2: + resolution: {integrity: sha512-OYu7XEzjkCQ3C5Ps3QIZsQfNpqoJyZZA99wd9aWd05NCtC5pWOkShK2mkL6HXQR6/Cy2lbNdPlZBpuQHXE63gA==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /json-parse-better-errors@1.0.2: + resolution: {integrity: sha512-mrqyZKfX5EhL7hvqcV6WG1yYjnjeuYDzDhhcAAUrq8Po85NBQBJP+ZDUT75qZQ98IkUoBqdkExkukOU7Ts2wrw==} + dev: true + + /json-parse-even-better-errors@2.3.1: + resolution: {integrity: sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==} + dev: true + + /json-schema-traverse@0.4.1: + resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} + dev: true + + /json-stable-stringify-without-jsonify@1.0.1: + resolution: {integrity: sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==} + dev: true + + /json5@1.0.2: + resolution: {integrity: sha512-g1MWMLBiz8FKi1e4w0UyVL3w+iJceWAFBAaBnnGKOpNa5f8TLktkbre1+s6oICydWAm+HRUGTmI+//xv2hvXYA==} + hasBin: true + dependencies: + minimist: 1.2.8 + dev: true + + /json5@2.2.3: + resolution: {integrity: sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==} + engines: {node: '>=6'} + hasBin: true + dev: true + + /jszip@3.10.1: + resolution: {integrity: sha512-xXDvecyTpGLrqFrvkrUSoxxfJI5AH7U8zxxtVclpsUtMCq4JQ290LY8AW5c7Ggnr/Y/oK+bQMbqK2qmtk3pN4g==} + dependencies: + lie: 3.3.0 + pako: 1.0.11 + readable-stream: 2.3.8 + setimmediate: 1.0.5 + dev: true + + /kind-of@3.2.2: + resolution: {integrity: sha512-NOW9QQXMoZGg/oqnVNoNTTIFEIid1627WCffUBJEdMxYApq7mNE7CpzucIPc+ZQg25Phej7IJSmX3hO+oblOtQ==} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + dev: true + + /kind-of@4.0.0: + resolution: {integrity: sha512-24XsCxmEbRwEDbz/qz3stgin8TTzZ1ESR56OMCN0ujYg+vRutNSiOj9bHH9u85DKgXguraugV5sFuvbD4FW/hw==} + engines: {node: '>=0.10.0'} + dependencies: + is-buffer: 1.1.6 + dev: true + + /kind-of@6.0.3: + resolution: {integrity: sha512-dcS1ul+9tmeD95T+x28/ehLgd9mENa3LsvDTtzm3vyBEO7RPptvAD+t44WVXaUjTBRcrpFeFlC8WCruUR456hw==} + engines: {node: '>=0.10.0'} + dev: true + + /kleur@3.0.3: + resolution: {integrity: sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==} + engines: {node: '>=6'} + dev: true + + /lcid@1.0.0: + resolution: {integrity: sha512-YiGkH6EnGrDGqLMITnGjXtGmNtjoXw9SVUzcaos8RBi7Ps0VBylkq+vOcY9QE5poLasPCR849ucFUkl0UzUyOw==} + engines: {node: '>=0.10.0'} + dependencies: + invert-kv: 1.0.0 + dev: true + + /leven@3.1.0: + resolution: {integrity: sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==} + engines: {node: '>=6'} + dev: true + + /levn@0.3.0: + resolution: {integrity: sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.1.2 + type-check: 0.3.2 + dev: true + + /lie@3.3.0: + resolution: {integrity: sha512-UaiMJzeWRlEujzAuw5LokY1L5ecNQYZKfmyZ9L7wDHb/p5etKaxXhohBcrw0EYby+G/NA52vRSN4N39dxHAIwQ==} + dependencies: + immediate: 3.0.6 + dev: true + + /lilconfig@3.1.1: + resolution: {integrity: sha512-O18pf7nyvHTckunPWCV1XUNXU1piu01y2b7ATJ0ppkUkk8ocqVWBrYjJBCwHDjD/ZWcfyrA0P4gKhzWGi5EINQ==} + engines: {node: '>=14'} + dev: true + + /lines-and-columns@1.2.4: + resolution: {integrity: sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==} + dev: true + + /load-tsconfig@0.2.5: + resolution: {integrity: sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==} + engines: {node: ^12.20.0 || ^14.13.1 || >=16.0.0} + dev: true + + /loader-runner@2.4.0: + resolution: {integrity: sha512-Jsmr89RcXGIwivFY21FcRrisYZfvLMTWx5kOLc+JTxtpBOG6xML0vzbc6SEQG2FO9/4Fc3wW4LVcB5DmGflaRw==} + engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} + dev: true + + /loader-utils@1.4.2: + resolution: {integrity: sha512-I5d00Pd/jwMD2QCduo657+YM/6L3KZu++pmX9VFncxaxvHcru9jx1lBaFft+r4Mt2jK0Yhp41XlRAihzPxHNCg==} + engines: {node: '>=4.0.0'} + dependencies: + big.js: 5.2.2 + emojis-list: 3.0.0 + json5: 1.0.2 + dev: true + + /loader-utils@2.0.4: + resolution: {integrity: sha512-xXqpXoINfFhgua9xiqD8fPFHgkoq1mmmpE92WlDbm9rNRd/EbRb+Gqf908T2DMfuHjjJlksiK2RbHVOdD/MqSw==} + engines: {node: '>=8.9.0'} + dependencies: + big.js: 5.2.2 + emojis-list: 3.0.0 + json5: 2.2.3 + dev: true + + /locate-path@3.0.0: + resolution: {integrity: sha512-7AO748wWnIhNqAuaty2ZWHkQHRSNfPVIsPIfwEOWO22AmaoVrWavlOcMR5nzTLNYvp36X220/maaRsrec1G65A==} + engines: {node: '>=6'} + dependencies: + p-locate: 3.0.0 + path-exists: 3.0.0 + dev: true + + /locate-path@5.0.0: + resolution: {integrity: sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==} + engines: {node: '>=8'} + dependencies: + p-locate: 4.1.0 + dev: true + + /lodash.memoize@4.1.2: + resolution: {integrity: sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==} + dev: true + + /lodash.sortby@4.7.0: + resolution: {integrity: sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==} + dev: true + + /lodash@4.17.21: + resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} + + /lru-cache@10.2.0: + resolution: {integrity: sha512-2bIM8x+VAf6JT4bKAljS1qUWgMsqZRPGJS6FSahIMPVvctcNhyVp7AJu7quxOW9jwkryBReKZY5tY5JYv2n/7Q==} + engines: {node: 14 || >=16.14} + dev: true + + /lru-cache@4.1.5: + resolution: {integrity: sha512-sWZlbEP2OsHNkXrMl5GYk/jKk70MBng6UU4YI/qGDYbgf6YbP4EvmqISbXCoJiRKs+1bSpFHVgQxvJ17F2li5g==} + dependencies: + pseudomap: 1.0.2 + yallist: 2.1.2 + dev: true + + /lru-cache@5.1.1: + resolution: {integrity: sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==} + dependencies: + yallist: 3.1.1 + dev: true + + /lru-cache@6.0.0: + resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} + engines: {node: '>=10'} + dependencies: + yallist: 4.0.0 + dev: true + + /make-dir@2.1.0: + resolution: {integrity: sha512-LS9X+dc8KLxXCb8dni79fLIIUA5VyZoyjSMCwTluaXA0o27cCK0bhXkpgw+sTXVpPy/lSO57ilRixqk0vDmtRA==} + engines: {node: '>=6'} + dependencies: + pify: 4.0.1 + semver: 5.7.2 + dev: true + + /make-dir@4.0.0: + resolution: {integrity: sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==} + engines: {node: '>=10'} + dependencies: + semver: 7.6.0 + dev: true + + /make-error@1.3.6: + resolution: {integrity: sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==} + dev: true + + /makeerror@1.0.12: + resolution: {integrity: sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==} + dependencies: + tmpl: 1.0.5 + dev: true + + /map-cache@0.2.2: + resolution: {integrity: sha512-8y/eV9QQZCiyn1SprXSrCmqJN0yNRATe+PO8ztwqrvrbdRLA3eYJF0yaR0YayLWkMbsQSKWS9N2gPcGEc4UsZg==} + engines: {node: '>=0.10.0'} + dev: true + + /map-visit@1.0.0: + resolution: {integrity: sha512-4y7uGv8bd2WdM9vpQsiQNo41Ln1NvhvDRuVt0k2JZQ+ezN2uaQes7lZeZ+QQUHOLQAtDaBJ+7wCbi+ab/KFs+w==} + engines: {node: '>=0.10.0'} + dependencies: + object-visit: 1.0.1 + dev: true + + /math-random@1.0.4: + resolution: {integrity: sha512-rUxjysqif/BZQH2yhd5Aaq7vXMSx9NdEsQcyA07uEzIvxgI7zIr33gGsh+RU0/XjmQpCW7RsVof1vlkvQVCK5A==} + requiresBuild: true + dev: true + optional: true + + /md5.js@1.3.5: + resolution: {integrity: sha512-xitP+WxNPcTTOgnTJcrhM0xvdPepipPSf3I8EIpGKeFLjt3PlJLIDG3u8EX53ZIubkb+5U2+3rELYpEhHhzdkg==} + dependencies: + hash-base: 3.1.0 + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /media-typer@0.3.0: + resolution: {integrity: sha512-dq+qelQ9akHpcOl/gUVRTxVIOkAJ1wR3QAvb4RsVjS8oVoFjDGTc679wJYmUmknUF5HwMLOgb5O+a3KxfWapPQ==} + engines: {node: '>= 0.6'} + dev: true + + /memory-fs@0.4.1: + resolution: {integrity: sha512-cda4JKCxReDXFXRqOHPQscuIYg1PvxbE2S2GP45rnwfEK+vZaXC8C1OFvdHIbgw0DLzowXGVoxLaAmlgRy14GQ==} + dependencies: + errno: 0.1.8 + readable-stream: 2.3.8 + dev: true + + /memory-fs@0.5.0: + resolution: {integrity: sha512-jA0rdU5KoQMC0e6ppoNRtpp6vjFq6+NY7r8hywnC7V+1Xj/MtHwGIbB1QaK/dunyjWteJzmkpd7ooeWg10T7GA==} + engines: {node: '>=4.3.0 <5.0.0 || >=5.10'} + dependencies: + errno: 0.1.8 + readable-stream: 2.3.8 + dev: true + + /merge-stream@2.0.0: + resolution: {integrity: sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==} + dev: true + + /merge2@1.4.1: + resolution: {integrity: sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==} + engines: {node: '>= 8'} + dev: true + + /micromatch@2.3.11: + resolution: {integrity: sha512-LnU2XFEk9xxSJ6rfgAry/ty5qwUTyHYOBU0g4R6tIw5ljwgGIBmiKhRWLw5NpMOnrgUNcDJ4WMp8rl3sYVHLNA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + arr-diff: 2.0.0 + array-unique: 0.2.1 + braces: 1.8.5 + expand-brackets: 0.1.5 + extglob: 0.3.2 + filename-regex: 2.0.1 + is-extglob: 1.0.0 + is-glob: 2.0.1 + kind-of: 3.2.2 + normalize-path: 2.1.1 + object.omit: 2.0.1 + parse-glob: 3.0.4 + regex-cache: 0.4.4 + dev: true + optional: true + + /micromatch@3.1.10(supports-color@6.1.0): + resolution: {integrity: sha512-MWikgl9n9M3w+bpsY3He8L+w9eF9338xRl8IAO5viDizwSzziFEyUzo2xrrloB64ADbTf8uA8vRqqttDTOmccg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + braces: 2.3.2(supports-color@6.1.0) + define-property: 2.0.2 + extend-shallow: 3.0.2 + extglob: 2.0.4(supports-color@6.1.0) + fragment-cache: 0.2.1 + kind-of: 6.0.3 + nanomatch: 1.2.13(supports-color@6.1.0) + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2(supports-color@6.1.0) + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /micromatch@4.0.5: + resolution: {integrity: sha512-DMy+ERcEW2q8Z2Po+WNXuw3c5YaUSFjAO5GsJqfEl7UjvtIuFKO6ZrKvcItdy98dwFI2N1tg3zNIdKaQT+aNdA==} + engines: {node: '>=8.6'} + dependencies: + braces: 3.0.2 + picomatch: 2.3.1 + dev: true + + /miller-rabin@4.0.1: + resolution: {integrity: sha512-115fLhvZVqWwHPbClyntxEVfVDfl9DLLTuJvq3g2O/Oxi8AiNouAHvDSzHS0viUJc+V5vm3eq91Xwqn9dp4jRA==} + hasBin: true + dependencies: + bn.js: 4.12.0 + brorand: 1.1.0 + dev: true + + /mime-db@1.52.0: + resolution: {integrity: sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==} + engines: {node: '>= 0.6'} + dev: true + + /mime-types@2.1.35: + resolution: {integrity: sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==} + engines: {node: '>= 0.6'} + dependencies: + mime-db: 1.52.0 + dev: true + + /mime@1.4.1: + resolution: {integrity: sha512-KI1+qOZu5DcW6wayYHSzR/tXKCDC5Om4s1z2QJjDULzLcmf3DvzS7oluY4HCTrc+9FiKmWUgeNLg7W3uIQvxtQ==} + hasBin: true + dev: true + + /mimic-fn@2.1.0: + resolution: {integrity: sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==} + engines: {node: '>=6'} + dev: true + + /minimalistic-assert@1.0.1: + resolution: {integrity: sha512-UtJcAD4yEaGtjPezWuO9wC4nwUnVH/8/Im3yEHQP4b67cXlD/Qr9hdITCU1xDbSEXg2XKNaP8jsReV7vQd00/A==} + dev: true + + /minimalistic-crypto-utils@1.0.1: + resolution: {integrity: sha512-JIYlbt6g8i5jKfJ3xz7rF0LXmv2TkDxBLUkiBeZ7bAx4GnnNMr8xFpGnOxn6GhTEHx3SjRrZEoU+j04prX1ktg==} + dev: true + + /minimatch@3.1.2: + resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==} + dependencies: + brace-expansion: 1.1.11 + dev: true + + /minimatch@9.0.3: + resolution: {integrity: sha512-RHiac9mvaRw0x3AYRgDC1CxAP7HTcNrrECeA8YYJeWnpo+2Q5CegtZjaotWTWxDG3UeGA1coE05iH1mPjT/2mg==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + brace-expansion: 2.0.1 + dev: true + + /minimist@1.2.8: + resolution: {integrity: sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==} + dev: true + + /minipass@7.0.4: + resolution: {integrity: sha512-jYofLM5Dam9279rdkWzqHozUo4ybjdZmCsDHePy5V/PbBcVMiSZR97gmAy45aqi8CK1lG2ECd356FU86avfwUQ==} + engines: {node: '>=16 || 14 >=14.17'} + dev: true + + /mississippi@3.0.0: + resolution: {integrity: sha512-x471SsVjUtBRtcvd4BzKE9kFC+/2TeWgKCgw0bZcw1b9l2X3QX5vCWgF+KaZaYm87Ss//rHnWryupDrgLvmSkA==} + engines: {node: '>=4.0.0'} + dependencies: + concat-stream: 1.6.2 + duplexify: 3.7.1 + end-of-stream: 1.4.4 + flush-write-stream: 1.1.1 + from2: 2.3.0 + parallel-transform: 1.2.0 + pump: 3.0.0 + pumpify: 1.5.1 + stream-each: 1.2.3 + through2: 2.0.5 + dev: true + + /mixin-deep@1.3.2: + resolution: {integrity: sha512-WRoDn//mXBiJ1H40rqa3vH0toePwSsGb45iInWlTySa+Uu4k3tYUSxa2v1KqAiLtvlrSzaExqS1gtk96A9zvEA==} + engines: {node: '>=0.10.0'} + dependencies: + for-in: 1.0.2 + is-extendable: 1.0.1 + dev: true + + /mkdirp@0.5.6: + resolution: {integrity: sha512-FP+p8RB8OWpF3YZBCrP5gtADmtXApB5AMLn+vdyA+PyxCjrCs00mjyUozssO33cwDeT3wNGdLxJ5M//YqtHAJw==} + hasBin: true + dependencies: + minimist: 1.2.8 + dev: true + + /move-concurrently@1.0.1: + resolution: {integrity: sha512-hdrFxZOycD/g6A6SoI2bB5NA/5NEqD0569+S47WZhPvm46sD50ZHdYaFmnua5lndde9rCHGjmfK7Z8BuCt/PcQ==} + dependencies: + aproba: 1.2.0 + copy-concurrently: 1.0.5 + fs-write-stream-atomic: 1.0.10 + mkdirp: 0.5.6 + rimraf: 2.7.1 + run-queue: 1.0.3 + dev: true + + /mrmime@2.0.0: + resolution: {integrity: sha512-eu38+hdgojoyq63s+yTpN4XMBdt5l8HhMhc4VKLO9KM5caLIBvUm4thi7fFaxyTmCKeNnXZ5pAlBwCUnhA09uw==} + engines: {node: '>=10'} + dev: true + + /ms@2.0.0: + resolution: {integrity: sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A==} + dev: true + + /ms@2.1.2: + resolution: {integrity: sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w==} + dev: true + + /mute-stream@0.0.8: + resolution: {integrity: sha512-nnbWWOkoWyUsTjKrhgD0dcz22mdkSnpYqbEjIm2nhwhuxlSkpywJmBo8h0ZqJdkp73mb90SssHkN4rsRaBAfAA==} + dev: true + + /mz@2.7.0: + resolution: {integrity: sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==} + dependencies: + any-promise: 1.3.0 + object-assign: 4.1.1 + thenify-all: 1.6.0 + dev: true + + /nan@2.19.0: + resolution: {integrity: sha512-nO1xXxfh/RWNxfd/XPfbIfFk5vgLsAxUR9y5O0cHMJu/AW9U95JLXqthYHjEp+8gQ5p96K9jUp8nbVOxCdRbtw==} + requiresBuild: true + dev: true + optional: true + + /nanomatch@1.2.13(supports-color@6.1.0): + resolution: {integrity: sha512-fpoe2T0RbHwBTBUOftAfBPaDEi06ufaUai0mE6Yn1kacc3SnTErfb/h+X94VXzI64rKFHYImXSvdwGGCmwOqCA==} + engines: {node: '>=0.10.0'} + dependencies: + arr-diff: 4.0.0 + array-unique: 0.3.2 + define-property: 2.0.2 + extend-shallow: 3.0.2 + fragment-cache: 0.2.1 + is-windows: 1.0.2 + kind-of: 6.0.3 + object.pick: 1.3.0 + regex-not: 1.0.2 + snapdragon: 0.8.2(supports-color@6.1.0) + to-regex: 3.0.2 + transitivePeerDependencies: + - supports-color + dev: true + + /natural-compare@1.4.0: + resolution: {integrity: sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==} + dev: true + + /neo-async@2.6.2: + resolution: {integrity: sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==} + dev: true + + /nice-try@1.0.5: + resolution: {integrity: sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ==} + dev: true + + /node-int64@0.4.0: + resolution: {integrity: sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==} + dev: true + + /node-libs-browser@2.2.1: + resolution: {integrity: sha512-h/zcD8H9kaDZ9ALUWwlBUDo6TKF8a7qBSCSEGfjTVIYeqsioSKaAX+BN7NgiMGp6iSIXZ3PxgCu8KS3b71YK5Q==} + dependencies: + assert: 1.5.1 + browserify-zlib: 0.2.0 + buffer: 4.9.2 + console-browserify: 1.2.0 + constants-browserify: 1.0.0 + crypto-browserify: 3.12.0 + domain-browser: 1.2.0 + events: 3.3.0 + https-browserify: 1.0.0 + os-browserify: 0.3.0 + path-browserify: 0.0.1 + process: 0.11.10 + punycode: 1.4.1 + querystring-es3: 0.2.1 + readable-stream: 2.3.8 + stream-browserify: 2.0.2 + stream-http: 2.8.3 + string_decoder: 1.3.0 + timers-browserify: 2.0.12 + tty-browserify: 0.0.0 + url: 0.11.3 + util: 0.11.1 + vm-browserify: 1.1.2 + dev: true + + /node-releases@2.0.14: + resolution: {integrity: sha512-y10wOWt8yZpqXmOgRo77WaHEmhYQYGNA6y421PKsKYWEK8aW+cqAphborZDhqfyKrbZEN92CN1X2KbafY2s7Yw==} + dev: true + + /normalize-path@2.1.1: + resolution: {integrity: sha512-3pKJwH184Xo/lnH6oyP1q2pMd7HcypqqmRs91/6/i2CGtWwIKGCkOOMTm/zXbgTEWHw1uNpNi/igc3ePOYHb6w==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + remove-trailing-separator: 1.1.0 + dev: true + optional: true + + /normalize-path@3.0.0: + resolution: {integrity: sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==} + engines: {node: '>=0.10.0'} + dev: true + + /npm-run-path@4.0.1: + resolution: {integrity: sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==} + engines: {node: '>=8'} + dependencies: + path-key: 3.1.1 + dev: true + + /nth-check@2.1.1: + resolution: {integrity: sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w==} + dependencies: + boolbase: 1.0.0 + dev: true + + /number-is-nan@1.0.1: + resolution: {integrity: sha512-4jbtZXNAsfZbAHiiqjLPBiCl16dES1zI4Hpzzxw61Tk+loF+sBDBKx1ICKKKwIqQ7M0mFn1TmkN7euSncWgHiQ==} + engines: {node: '>=0.10.0'} + dev: true + + /nunjucks@3.0.1: + resolution: {integrity: sha512-v79clzAtapb6Qj43I1KFtAyqEM+yT6dHaz71IiEnJwp7jOGWhVNFvtEbY+SQYa8gzpTB0Eg0LOLk3QKRxjNNVA==} + hasBin: true + dependencies: + a-sync-waterfall: 1.0.1 + asap: 2.0.6 + yargs: 3.32.0 + optionalDependencies: + chokidar: 1.7.0 + transitivePeerDependencies: + - supports-color + dev: true + + /nwsapi@2.2.7: + resolution: {integrity: sha512-ub5E4+FBPKwAZx0UwIQOjYWGHTEq5sPqHQNRN8Z9e4A7u3Tj1weLJsL59yH9vmvqEtBHaOmT6cYQKIZOxp35FQ==} + dev: true + + /object-assign@4.1.1: + resolution: {integrity: sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==} + engines: {node: '>=0.10.0'} + dev: true + + /object-copy@0.1.0: + resolution: {integrity: sha512-79LYn6VAb63zgtmAteVOWo9Vdj71ZVBy3Pbse+VqxDpEP83XuujMrGqHIwAXJ5I/aM0zU7dIyIAhifVTPrNItQ==} + engines: {node: '>=0.10.0'} + dependencies: + copy-descriptor: 0.1.1 + define-property: 0.2.5 + kind-of: 3.2.2 + dev: true + + /object-inspect@1.13.1: + resolution: {integrity: sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==} + dev: true + + /object-keys@1.1.1: + resolution: {integrity: sha512-NuAESUOUMrlIXOfHKzD6bpPu3tYt3xvjNdRIQ+FeT0lNb4K8WR70CaDxhuNguS2XG+GjkyMwOzsN5ZktImfhLA==} + engines: {node: '>= 0.4'} + dev: true + + /object-visit@1.0.1: + resolution: {integrity: sha512-GBaMwwAVK9qbQN3Scdo0OyvgPW7l3lnaVMj84uTOZlswkX0KpF6fyDBJhtTthf7pymztoN36/KEr1DyhF96zEA==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /object.assign@4.1.5: + resolution: {integrity: sha512-byy+U7gp+FVwmyzKPYhW2h5l3crpmGsxl7X2s8y43IgxvG4g3QZ6CffDtsNQy1WsmZpQbO+ybo0AlW7TY6DcBQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + define-properties: 1.2.1 + has-symbols: 1.0.3 + object-keys: 1.1.1 + dev: true + + /object.omit@2.0.1: + resolution: {integrity: sha512-UiAM5mhmIuKLsOvrL+B0U2d1hXHF3bFYWIuH1LMpuV2EJEHG1Ntz06PgLEHjm6VFd87NpH8rastvPoyv6UW2fA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + for-own: 0.1.5 + is-extendable: 0.1.1 + dev: true + optional: true + + /object.pick@1.3.0: + resolution: {integrity: sha512-tqa/UMy/CCoYmj+H5qc07qvSL9dqcs/WZENZ1JbtWBlATP+iVOe778gE6MSijnyCnORzDuX6hU+LA4SZ09YjFQ==} + engines: {node: '>=0.10.0'} + dependencies: + isobject: 3.0.1 + dev: true + + /on-finished@2.3.0: + resolution: {integrity: sha512-ikqdkGAAyf/X/gPhXGvfgAytDZtDbr+bkNUJ0N9h5MI/dmdgCs3l6hoHrcUv41sRKew3jIwrp4qQDXiK99Utww==} + engines: {node: '>= 0.8'} + dependencies: + ee-first: 1.1.1 + dev: true + + /on-finished@2.4.1: + resolution: {integrity: sha512-oVlzkg3ENAhCk2zdv7IJwd/QUD4z2RxRwpkcGY8psCVcCYZNq4wYnVWALHM+brtuJjePWiYF/ClmuDr8Ch5+kg==} + engines: {node: '>= 0.8'} + dependencies: + ee-first: 1.1.1 + dev: true + + /once@1.4.0: + resolution: {integrity: sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==} + dependencies: + wrappy: 1.0.2 + dev: true + + /onetime@5.1.2: + resolution: {integrity: sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==} + engines: {node: '>=6'} + dependencies: + mimic-fn: 2.1.0 + dev: true + + /open@0.0.5: + resolution: {integrity: sha512-+X/dJYLapVO1VbC620DhtNZK9U4/kQVaTQp/Gh7cb6UTLYfGZzzU2ZXkWrOA/wBrf4UqAFwtLqXYTxe4tSnWQQ==} + engines: {node: '>= 0.6.0'} + dev: true + + /opener@1.5.2: + resolution: {integrity: sha512-ur5UIdyw5Y7yEj9wLzhqXiy6GZ3Mwx0yGI+5sMn2r0N0v3cKJvUmFH5yPP+WXh9e0xfyzyJX95D8l088DNFj7A==} + hasBin: true + dev: true + + /optionator@0.8.3: + resolution: {integrity: sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==} + engines: {node: '>= 0.8.0'} + dependencies: + deep-is: 0.1.4 + fast-levenshtein: 2.0.6 + levn: 0.3.0 + prelude-ls: 1.1.2 + type-check: 0.3.2 + word-wrap: 1.2.5 + dev: true + + /os-browserify@0.3.0: + resolution: {integrity: sha512-gjcpUc3clBf9+210TRaDWbf+rZZZEshZ+DlXMRCeAjp0xhTrnQsKHypIy1J3d5hKdUzj69t708EHtU8P6bUn0A==} + dev: true + + /os-locale@1.4.0: + resolution: {integrity: sha512-PRT7ZORmwu2MEFt4/fv3Q+mEfN4zetKxufQrkShY2oGvUms9r8otu5HfdyIFHkYXjO7laNsoVGmM2MANfuTA8g==} + engines: {node: '>=0.10.0'} + dependencies: + lcid: 1.0.0 + dev: true + + /os-shim@0.1.3: + resolution: {integrity: sha512-jd0cvB8qQ5uVt0lvCIexBaROw1KyKm5sbulg2fWOHjETisuCzWyt+eTZKEMs8v6HwzoGs8xik26jg7eCM6pS+A==} + engines: {node: '>= 0.4.0'} + dev: true + + /os-tmpdir@1.0.2: + resolution: {integrity: sha512-D2FR03Vir7FIu45XBY20mTb+/ZSWB00sjU9jdQXt83gDrI4Ztz5Fs7/yy74g2N5SVQY4xY1qDr4rNddwYRVX0g==} + engines: {node: '>=0.10.0'} + dev: true + + /p-limit@2.3.0: + resolution: {integrity: sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==} + engines: {node: '>=6'} + dependencies: + p-try: 2.2.0 + dev: true + + /p-limit@3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: true + + /p-locate@3.0.0: + resolution: {integrity: sha512-x+12w/To+4GFfgJhBEpiDcLozRJGegY+Ei7/z0tSLkMmxGZNybVMSfWj9aJn8Z5Fc7dBUNJOOVgPv2H7IwulSQ==} + engines: {node: '>=6'} + dependencies: + p-limit: 2.3.0 + dev: true + + /p-locate@4.1.0: + resolution: {integrity: sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==} + engines: {node: '>=8'} + dependencies: + p-limit: 2.3.0 + dev: true + + /p-try@2.2.0: + resolution: {integrity: sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==} + engines: {node: '>=6'} + dev: true + + /pako@1.0.11: + resolution: {integrity: sha512-4hLB8Py4zZce5s4yd9XzopqwVv/yGNhV1Bl8NTmCq1763HeK2+EwVTv+leGeL13Dnh2wfbqowVPXCIO0z4taYw==} + dev: true + + /parallel-transform@1.2.0: + resolution: {integrity: sha512-P2vSmIu38uIlvdcU7fDkyrxj33gTUy/ABO5ZUbGowxNCopBq/OoD42bP4UmMrJoPyk4Uqf0mu3mtWBhHCZD8yg==} + dependencies: + cyclist: 1.0.2 + inherits: 2.0.4 + readable-stream: 2.3.8 + dev: true + + /parent-module@1.0.1: + resolution: {integrity: sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==} + engines: {node: '>=6'} + dependencies: + callsites: 3.1.0 + dev: true + + /parse-asn1@5.1.7: + resolution: {integrity: sha512-CTM5kuWR3sx9IFamcl5ErfPl6ea/N8IYwiJ+vpeB2g+1iknv7zBl5uPwbMbRVznRVbrNY6lGuDoE5b30grmbqg==} + engines: {node: '>= 0.10'} + dependencies: + asn1.js: 4.10.1 + browserify-aes: 1.2.0 + evp_bytestokey: 1.0.3 + hash-base: 3.0.4 + pbkdf2: 3.1.2 + safe-buffer: 5.2.1 + dev: true + + /parse-glob@3.0.4: + resolution: {integrity: sha512-FC5TeK0AwXzq3tUBFtH74naWkPQCEWs4K+xMxWZBlKDWu0bVHXGZa+KKqxKidd7xwhdZ19ZNuF2uO1M/r196HA==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + glob-base: 0.3.0 + is-dotfile: 1.0.3 + is-extglob: 1.0.0 + is-glob: 2.0.1 + dev: true + optional: true + + /parse-json@5.2.0: + resolution: {integrity: sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==} + engines: {node: '>=8'} + dependencies: + '@babel/code-frame': 7.23.5 + error-ex: 1.3.2 + json-parse-even-better-errors: 2.3.1 + lines-and-columns: 1.2.4 + dev: true + + /parse-passwd@1.0.0: + resolution: {integrity: sha512-1Y1A//QUXEZK7YKz+rD9WydcE1+EuPr6ZBgKecAB8tmoW6UFv0NREVJe1p+jRxtThkcbbKkfwIbWJe/IeE6m2Q==} + engines: {node: '>=0.10.0'} + dev: true + + /parse-svg-path@0.1.2: + resolution: {integrity: sha512-JyPSBnkTJ0AI8GGJLfMXvKq42cj5c006fnLz6fXy6zfoVjJizi8BNTpu8on8ziI1cKy9d9DGNuY17Ce7wuejpQ==} + dev: false + + /parse5-htmlparser2-tree-adapter@7.0.0: + resolution: {integrity: sha512-B77tOZrqqfUfnVcOrUvfdLbz4pu4RopLD/4vmu3HUPswwTA8OH0EMW9BlWR2B0RCoiZRAHEUu7IxeP1Pd1UU+g==} + dependencies: + domhandler: 5.0.3 + parse5: 7.1.2 + dev: true + + /parse5@7.1.2: + resolution: {integrity: sha512-Czj1WaSVpaoj0wbhMzLmWD69anp2WH7FXMB9n1Sy8/ZFF9jolSQVMu1Ij5WIyGmcBmhk7EOndpO4mIpihVqAXw==} + dependencies: + entities: 4.5.0 + dev: true + + /parseurl@1.3.3: + resolution: {integrity: sha512-CiyeOxFT/JZyN5m0z9PfXw4SCBJ6Sygz1Dpl0wqjlhDEGGBP1GnsUVEL0p63hoG1fcj3fHynXi9NYO4nWOL+qQ==} + engines: {node: '>= 0.8'} + dev: true + + /pascalcase@0.1.1: + resolution: {integrity: sha512-XHXfu/yOQRy9vYOtUDVMN60OEJjW013GoObG1o+xwQTpB9eYJX/BjXMsdW13ZDPruFhYYn0AG22w0xgQMwl3Nw==} + engines: {node: '>=0.10.0'} + dev: true + + /path-browserify@0.0.1: + resolution: {integrity: sha512-BapA40NHICOS+USX9SN4tyhq+A2RrN/Ws5F0Z5aMHDp98Fl86lX8Oti8B7uN93L4Ifv4fHOEA+pQw87gmMO/lQ==} + dev: true + + /path-dirname@1.0.2: + resolution: {integrity: sha512-ALzNPpyNq9AqXMBjeymIjFDAkAFH06mHJH/cSBHAgU0s4vfpBn6b2nf8tiRLvagKD8RbTpq2FKTBg7cl9l3c7Q==} + requiresBuild: true + dev: true + optional: true + + /path-exists@3.0.0: + resolution: {integrity: sha512-bpC7GYwiDYQ4wYLe+FA8lhRjhQCMcQGuSgGGqDkg/QerRWw9CmGRT0iSOVRSZJ29NMLZgIzqaljJ63oaL4NIJQ==} + engines: {node: '>=4'} + dev: true + + /path-exists@4.0.0: + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} + engines: {node: '>=8'} + dev: true + + /path-is-absolute@1.0.1: + resolution: {integrity: sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==} + engines: {node: '>=0.10.0'} + dev: true + + /path-key@2.0.1: + resolution: {integrity: sha512-fEHGKCSmUSDPv4uoj8AlD+joPlq3peND+HRYyxFz4KPw4z926S/b8rIuFs2FYJg3BwsxJf6A9/3eIdLaYC+9Dw==} + engines: {node: '>=4'} + dev: true + + /path-key@3.1.1: + resolution: {integrity: sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==} + engines: {node: '>=8'} + dev: true + + /path-parse@1.0.7: + resolution: {integrity: sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==} + dev: true + + /path-scurry@1.10.1: + resolution: {integrity: sha512-MkhCqzzBEpPvxxQ71Md0b1Kk51W01lrYvlMzSUaIzNsODdd7mqhiimSZlr+VegAz5Z6Vzt9Xg2ttE//XBhH3EQ==} + engines: {node: '>=16 || 14 >=14.17'} + dependencies: + lru-cache: 10.2.0 + minipass: 7.0.4 + dev: true + + /path-type@4.0.0: + resolution: {integrity: sha512-gDKb8aZMDeD/tZWs9P6+q0J9Mwkdl6xMV8TjnGP3qJVJ06bdMgkbBlLU8IdfOsIsFz2BW1rNVT3XuNEl8zPAvw==} + engines: {node: '>=8'} + dev: true + + /pathval@1.1.1: + resolution: {integrity: sha512-Dp6zGqpTdETdR63lehJYPeIOqpiNBNtc7BpWSLrOje7UaIsE5aY92r/AunQA7rsXvet3lrJ3JnZX29UPTKXyKQ==} + dev: true + + /pbkdf2@3.1.2: + resolution: {integrity: sha512-iuh7L6jA7JEGu2WxDwtQP1ddOpaJNC4KlDEFfdQajSGgGPNi4OyDc2R7QnbY2bR9QjBVGwgvTdNJZoE7RaxUMA==} + engines: {node: '>=0.12'} + dependencies: + create-hash: 1.2.0 + create-hmac: 1.1.7 + ripemd160: 2.0.2 + safe-buffer: 5.2.1 + sha.js: 2.4.11 + dev: true + + /picocolors@1.0.0: + resolution: {integrity: sha512-1fygroTLlHu66zi26VoTDv8yRgm0Fccecssto+MhsZ0D/DGW2sm8E8AjW7NU5VVTRt5GxbeZ5qBuJr+HyLYkjQ==} + dev: true + + /picomatch@2.3.1: + resolution: {integrity: sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==} + engines: {node: '>=8.6'} + dev: true + + /pify@4.0.1: + resolution: {integrity: sha512-uB80kBFb/tfd68bVleG9T5GGsGPjJrLAUpR5PZIrhBnIaRTQRjqdJSsIKkOP6OAIFbj7GOrcudc5pNjZ+geV2g==} + engines: {node: '>=6'} + dev: true + + /pirates@4.0.6: + resolution: {integrity: sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==} + engines: {node: '>= 6'} + dev: true + + /pkg-dir@3.0.0: + resolution: {integrity: sha512-/E57AYkoeQ25qkxMj5PBOVgF8Kiu/h7cYS30Z5+R7WaiCCBfLq58ZI/dSeaEKb9WVJV5n/03QwrN3IeWIFllvw==} + engines: {node: '>=6'} + dependencies: + find-up: 3.0.0 + dev: true + + /pkg-dir@4.2.0: + resolution: {integrity: sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==} + engines: {node: '>=8'} + dependencies: + find-up: 4.1.0 + dev: true + + /point-at-length@1.1.0: + resolution: {integrity: sha512-nNHDk9rNEh/91o2Y8kHLzBLNpLf80RYd2gCun9ss+V0ytRSf6XhryBTx071fesktjbachRmGuUbId+JQmzhRXw==} + dependencies: + abs-svg-path: 0.1.1 + isarray: 0.0.1 + parse-svg-path: 0.1.2 + dev: false + + /posix-character-classes@0.1.1: + resolution: {integrity: sha512-xTgYBc3fuo7Yt7JbiuFxSYGToMoz8fLoE6TC9Wx1P/u+LfeThMOAqmuyECnlBaaJb+u1m9hHiXUEtwW4OzfUJg==} + engines: {node: '>=0.10.0'} + dev: true + + /postcss-load-config@4.0.2: + resolution: {integrity: sha512-bSVhyJGL00wMVoPUzAVAnbEoWyqRxkjv64tUl427SKnPrENtq6hJwUojroMz2VB+Q1edmi4IfrAPpami5VVgMQ==} + engines: {node: '>= 14'} + peerDependencies: + postcss: '>=8.0.9' + ts-node: '>=9.0.0' + peerDependenciesMeta: + postcss: + optional: true + ts-node: + optional: true + dependencies: + lilconfig: 3.1.1 + yaml: 2.4.1 + dev: true + + /pre-commit@1.2.2: + resolution: {integrity: sha512-qokTiqxD6GjODy5ETAIgzsRgnBWWQHQH2ghy86PU7mIn/wuWeTwF3otyNQZxWBwVn8XNr8Tdzj/QfUXpH+gRZA==} + requiresBuild: true + dependencies: + cross-spawn: 5.1.0 + spawn-sync: 1.0.15 + which: 1.2.14 + dev: true + + /prelude-ls@1.1.2: + resolution: {integrity: sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==} + engines: {node: '>= 0.8.0'} + dev: true + + /preserve@0.2.0: + resolution: {integrity: sha512-s/46sYeylUfHNjI+sA/78FAHlmIuKqI9wNnzEOGehAlUUYeObv5C2mOinXBjyUyWmJ2SfcS2/ydApH4hTF4WXQ==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dev: true + optional: true + + /prettier-linter-helpers@1.0.0: + resolution: {integrity: sha512-GbK2cP9nraSSUF9N2XwUwqfzlAFlMNYYl+ShE/V+H8a9uNl/oUqB1w2EL54Jh0OlyRSd8RfWYJ3coVS4TROP2w==} + engines: {node: '>=6.0.0'} + dependencies: + fast-diff: 1.3.0 + dev: true + + /prettier@1.19.1: + resolution: {integrity: sha512-s7PoyDv/II1ObgQunCbB9PdLmUcBZcnWOcxDh7O0N/UwDEsHyqkW+Qh28jW+mVuCdx7gLB0BotYI1Y6uI9iyew==} + engines: {node: '>=4'} + hasBin: true + dev: true + + /pretty-format@29.7.0: + resolution: {integrity: sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==} + engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} + dependencies: + '@jest/schemas': 29.6.3 + ansi-styles: 5.2.0 + react-is: 18.2.0 + dev: true + + /process-nextick-args@2.0.1: + resolution: {integrity: sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag==} + dev: true + + /process@0.11.10: + resolution: {integrity: sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A==} + engines: {node: '>= 0.6.0'} + dev: true + + /progress@2.0.3: + resolution: {integrity: sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA==} + engines: {node: '>=0.4.0'} + dev: true + + /promise-inflight@1.0.1(bluebird@3.7.2): + resolution: {integrity: sha512-6zWPyEOFaQBJYcGMHBKTKJ3u6TBsnMFOIZSa6ce1e/ZrrsOlnHRHbabMjLiBYKp+n44X9eUI6VUPaukCXHuG4g==} + peerDependencies: + bluebird: '*' + peerDependenciesMeta: + bluebird: + optional: true + dependencies: + bluebird: 3.7.2 + dev: true + + /prompts@2.4.2: + resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} + engines: {node: '>= 6'} + dependencies: + kleur: 3.0.3 + sisteransi: 1.0.5 + dev: true + + /prr@1.0.1: + resolution: {integrity: sha512-yPw4Sng1gWghHQWj0B3ZggWUm4qVbPwPFcRG8KyxiU7J2OHFSoEHKS+EZ3fv5l1t9CyCiop6l/ZYeWbrgoQejw==} + dev: true + + /pseudomap@1.0.2: + resolution: {integrity: sha512-b/YwNhb8lk1Zz2+bXXpS/LK9OisiZZ1SNsSLxN1x2OXVEhW2Ckr/7mWE5vrC1ZTiJlD9g19jWszTmJsB+oEpFQ==} + dev: true + + /psl@1.9.0: + resolution: {integrity: sha512-E/ZsdU4HLs/68gYzgGTkMicWTLPdAftJLfJFlLUAAKZGkStNU72sZjT66SnMDVOfOWY/YAoiD7Jxa9iHvngcag==} + dev: true + + /public-encrypt@4.0.3: + resolution: {integrity: sha512-zVpa8oKZSz5bTMTFClc1fQOnyyEzpl5ozpi1B5YcvBrdohMjH2rfsBtyXcuNuwjsDIXmBYlF2N5FlJYhR29t8Q==} + dependencies: + bn.js: 4.12.0 + browserify-rsa: 4.1.0 + create-hash: 1.2.0 + parse-asn1: 5.1.7 + randombytes: 2.1.0 + safe-buffer: 5.2.1 + dev: true + + /pump@2.0.1: + resolution: {integrity: sha512-ruPMNRkN3MHP1cWJc9OWr+T/xDP0jhXYCLfJcBuX54hhfIBnaQmAUMfDcG4DM5UMWByBbJY69QSphm3jtDKIkA==} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + dev: true + + /pump@3.0.0: + resolution: {integrity: sha512-LwZy+p3SFs1Pytd/jYct4wpv49HiYCqd9Rlc5ZVdk0V+8Yzv6jR5Blk3TRmPL1ft69TxP0IMZGJ+WPFU2BFhww==} + dependencies: + end-of-stream: 1.4.4 + once: 1.4.0 + dev: true + + /pumpify@1.5.1: + resolution: {integrity: sha512-oClZI37HvuUJJxSKKrC17bZ9Cu0ZYhEAGPsPUy9KlMUmv9dKX2o77RUmq7f3XjIxbwyGwYzbzQ1L2Ks8sIradQ==} + dependencies: + duplexify: 3.7.1 + inherits: 2.0.4 + pump: 2.0.1 + dev: true + + /punycode@1.4.1: + resolution: {integrity: sha512-jmYNElW7yvO7TV33CjSmvSiE2yco3bV2czu/OzDKdMNVZQWfxCblURLhf+47syQRBntjfLdd/H0egrzIG+oaFQ==} + dev: true + + /punycode@2.3.1: + resolution: {integrity: sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==} + engines: {node: '>=6'} + dev: true + + /pure-rand@6.0.4: + resolution: {integrity: sha512-LA0Y9kxMYv47GIPJy6MI84fqTd2HmYZI83W/kM/SkKfDlajnZYfmXFTxkbY+xSBPkLJxltMa9hIkmdc29eguMA==} + dev: true + + /qs@6.11.0: + resolution: {integrity: sha512-MvjoMCJwEarSbUYk5O+nmoSzSutSsTwF85zcHPQ9OrlFoZOYIjaqBAJIqIXjptyD5vThxGq52Xu/MaJzRkIk4Q==} + engines: {node: '>=0.6'} + dependencies: + side-channel: 1.0.6 + dev: true + + /qs@6.12.0: + resolution: {integrity: sha512-trVZiI6RMOkO476zLGaBIzszOdFPnCCXHPG9kn0yuS1uz6xdVxPfZdB3vUig9pxPFDM9BRAgz/YUIVQ1/vuiUg==} + engines: {node: '>=0.6'} + dependencies: + side-channel: 1.0.6 + dev: true + + /querystring-es3@0.2.1: + resolution: {integrity: sha512-773xhDQnZBMFobEiztv8LIl70ch5MSF/jUQVlhwFyBILqq96anmoctVIYz+ZRp0qbCKATTn6ev02M3r7Ga5vqA==} + engines: {node: '>=0.4.x'} + dev: true + + /querystringify@2.2.0: + resolution: {integrity: sha512-FIqgj2EUvTa7R50u0rGsyTftzjYmv/a3hO345bZNrqabNqjtgiDMgmo4mkUjd+nzU5oF3dClKqFIPUKybUyqoQ==} + dev: true + + /queue-microtask@1.2.3: + resolution: {integrity: sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==} + dev: true + + /randomatic@3.1.1: + resolution: {integrity: sha512-TuDE5KxZ0J461RVjrJZCJc+J+zCkTb1MbH9AQUq68sMhOMcy9jLcb3BrZKgp9q9Ncltdg4QVqWrH02W2EFFVYw==} + engines: {node: '>= 0.10.0'} + requiresBuild: true + dependencies: + is-number: 4.0.0 + kind-of: 6.0.3 + math-random: 1.0.4 + dev: true + optional: true + + /randombytes@2.1.0: + resolution: {integrity: sha512-vYl3iOX+4CKUWuxGi9Ukhie6fsqXqS9FE2Zaic4tNFD2N2QQaXOMFbuKK4QmDHC0JO6B1Zp41J0LpT0oR68amQ==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /randomfill@1.0.4: + resolution: {integrity: sha512-87lcbR8+MhcWcUiQ+9e+Rwx8MyR2P7qnt15ynUlbm3TU/fjbgz4GsvfSUDTemtCCtVCqb4ZcEFlyPNTh9bBTLw==} + dependencies: + randombytes: 2.1.0 + safe-buffer: 5.2.1 + dev: true + + /range-parser@1.2.1: + resolution: {integrity: sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg==} + engines: {node: '>= 0.6'} + dev: true + + /raw-body@2.5.2: + resolution: {integrity: sha512-8zGqypfENjCIqGhgXToC8aB2r7YrBX+AQAfIPs/Mlk+BtPTztOvTS01NRW/3Eh60J+a48lt8qsCzirQ6loCVfA==} + engines: {node: '>= 0.8'} + dependencies: + bytes: 3.1.2 + http-errors: 2.0.0 + iconv-lite: 0.4.24 + unpipe: 1.0.0 + dev: true + + /react-is@18.2.0: + resolution: {integrity: sha512-xWGDIW6x921xtzPkhiULtthJHoJvBbF3q26fzloPCK0hsvxtPVelvftw3zjbHWSkR2km9Z+4uxbDDK/6Zw9B8w==} + dev: true + + /readable-stream@2.3.8: + resolution: {integrity: sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA==} + dependencies: + core-util-is: 1.0.3 + inherits: 2.0.4 + isarray: 1.0.0 + process-nextick-args: 2.0.1 + safe-buffer: 5.1.2 + string_decoder: 1.1.1 + util-deprecate: 1.0.2 + dev: true + + /readable-stream@3.6.2: + resolution: {integrity: sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA==} + engines: {node: '>= 6'} + dependencies: + inherits: 2.0.4 + string_decoder: 1.3.0 + util-deprecate: 1.0.2 + dev: true + + /readdirp@2.2.1: + resolution: {integrity: sha512-1JU/8q+VgFZyxwrJ+SVIOsh+KywWGpds3NTqikiKpDMZWScmAYyKIgqkO+ARvNWJfXeXR1zxz7aHF4u4CyH6vQ==} + engines: {node: '>=0.10'} + requiresBuild: true + dependencies: + graceful-fs: 4.2.11 + micromatch: 3.1.10(supports-color@6.1.0) + readable-stream: 2.3.8 + transitivePeerDependencies: + - supports-color + dev: true + optional: true + + /readdirp@3.6.0: + resolution: {integrity: sha512-hOS089on8RduqdbhvQ5Z37A0ESjsqz6qnRcffsMU3495FuTdqSm+7bhJ29JvIOsBDEEnan5DPu9t3To9VRlMzA==} + engines: {node: '>=8.10.0'} + dependencies: + picomatch: 2.3.1 + dev: true + + /rechoir@0.6.2: + resolution: {integrity: sha512-HFM8rkZ+i3zrV+4LQjwQ0W+ez98pApMGM3HUrN04j3CqzPOzl9nmP15Y8YXNm8QHGv/eacOVEjqhmWpkRV0NAw==} + engines: {node: '>= 0.10'} + dependencies: + resolve: 1.22.8 + dev: true + + /regex-cache@0.4.4: + resolution: {integrity: sha512-nVIZwtCjkC9YgvWkpM55B5rBhBYRZhAaJbgcFYXXsHnbZ9UZI9nnVWYZpBlCqv9ho2eZryPnWrZGsOdPwVWXWQ==} + engines: {node: '>=0.10.0'} + requiresBuild: true + dependencies: + is-equal-shallow: 0.1.3 + dev: true + optional: true + + /regex-not@1.0.2: + resolution: {integrity: sha512-J6SDjUgDxQj5NusnOtdFxDwN/+HWykR8GELwctJ7mdqhcyy1xEc4SRFHUXvxTp661YaVKAjfRLZ9cCqS6tn32A==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 3.0.2 + safe-regex: 1.1.0 + dev: true + + /regexpp@2.0.1: + resolution: {integrity: sha512-lv0M6+TkDVniA3aD1Eg0DVpfU/booSu7Eev3TDO/mZKHBfVjgCGTV4t4buppESEYDtkArYFOxTJWv6S5C+iaNw==} + engines: {node: '>=6.5.0'} + dev: true + + /regexpp@3.2.0: + resolution: {integrity: sha512-pq2bWo9mVD43nbts2wGv17XLiNLya+GklZ8kaDLV2Z08gDCsGpnKn9BFMepvWuHCbyVvY7J5o5+BVvoQbmlJLg==} + engines: {node: '>=8'} + dev: true + + /regression@2.0.1: + resolution: {integrity: sha512-A4XYsc37dsBaNOgEjkJKzfJlE394IMmUPlI/p3TTI9u3T+2a+eox5Pr/CPUqF0eszeWZJPAc6QkroAhuUpWDJQ==} + dev: false + + /remove-trailing-separator@1.1.0: + resolution: {integrity: sha512-/hS+Y0u3aOfIETiaiirUFwDBDzmXPvO+jAfKTitUngIPzdKc6Z0LoFjM/CK5PL4C+eKwHohlHAb6H0VFfmmUsw==} + requiresBuild: true + dev: true + optional: true + + /repeat-element@1.1.4: + resolution: {integrity: sha512-LFiNfRcSu7KK3evMyYOuCzv3L10TW7yC1G2/+StMjK8Y6Vqd2MG7r/Qjw4ghtuCOjFvlnms/iMmLqpvW/ES/WQ==} + engines: {node: '>=0.10.0'} + dev: true + + /repeat-string@1.6.1: + resolution: {integrity: sha512-PV0dzCYDNfRi1jCDbJzpW7jNNDRuCOG/jI5ctQcGKt/clZD+YcPS3yIlWuTJMmESC8aevCFmWJy5wjAFgNqN6w==} + engines: {node: '>=0.10'} + dev: true + + /require-directory@2.1.1: + resolution: {integrity: sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==} + engines: {node: '>=0.10.0'} + dev: true + + /require-main-filename@2.0.0: + resolution: {integrity: sha512-NKN5kMDylKuldxYLSUfrbo5Tuzh4hd+2E8NPPX02mZtn1VuREQToYe/ZdlJy+J3uCpfaiGF05e7B8W0iXbQHmg==} + dev: true + + /requires-port@1.0.0: + resolution: {integrity: sha512-KigOCHcocU3XODJxsu8i/j8T9tzT4adHiecwORRQ0ZZFcp7ahwXuRU1m+yuO90C5ZUyGeGfocHDI14M3L3yDAQ==} + dev: true + + /resolve-cwd@2.0.0: + resolution: {integrity: sha512-ccu8zQTrzVr954472aUVPLEcB3YpKSYR3cg/3lo1okzobPBM+1INXBbBZlDbnI/hbEocnf8j0QVo43hQKrbchg==} + engines: {node: '>=4'} + dependencies: + resolve-from: 3.0.0 + dev: true + + /resolve-cwd@3.0.0: + resolution: {integrity: sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==} + engines: {node: '>=8'} + dependencies: + resolve-from: 5.0.0 + dev: true + + /resolve-dir@1.0.1: + resolution: {integrity: sha512-R7uiTjECzvOsWSfdM0QKFNBVFcK27aHOUwdvK53BcW8zqnGdYp0Fbj82cy54+2A4P2tFM22J5kRfe1R+lM/1yg==} + engines: {node: '>=0.10.0'} + dependencies: + expand-tilde: 2.0.2 + global-modules: 1.0.0 + dev: true + + /resolve-from@3.0.0: + resolution: {integrity: sha512-GnlH6vxLymXJNMBo7XP1fJIzBFbdYt49CuTwmB/6N53t+kMPRMFKz783LlQ4tv28XoQfMWinAJX6WCGf2IlaIw==} + engines: {node: '>=4'} + dev: true + + /resolve-from@4.0.0: + resolution: {integrity: sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==} + engines: {node: '>=4'} + dev: true + + /resolve-from@5.0.0: + resolution: {integrity: sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==} + engines: {node: '>=8'} + dev: true + + /resolve-url@0.2.1: + resolution: {integrity: sha512-ZuF55hVUQaaczgOIwqWzkEcEidmlD/xl44x1UZnhOXcYuFN2S6+rcxpG+C1N3So0wvNI3DmJICUFfu2SxhBmvg==} + deprecated: https://github.com/lydell/resolve-url#deprecated + dev: true + + /resolve.exports@2.0.2: + resolution: {integrity: sha512-X2UW6Nw3n/aMgDVy+0rSqgHlv39WZAlZrXCdnbyEiKm17DSqHX4MmQMaST3FbeWR5FTuRcUwYAziZajji0Y7mg==} + engines: {node: '>=10'} + dev: true + + /resolve@1.22.8: + resolution: {integrity: sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==} + hasBin: true + dependencies: + is-core-module: 2.13.1 + path-parse: 1.0.7 + supports-preserve-symlinks-flag: 1.0.0 + dev: true + + /restore-cursor@3.1.0: + resolution: {integrity: sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA==} + engines: {node: '>=8'} + dependencies: + onetime: 5.1.2 + signal-exit: 3.0.7 + dev: true + + /ret@0.1.15: + resolution: {integrity: sha512-TTlYpa+OL+vMMNG24xSlQGEJ3B/RzEfUlLct7b5G/ytav+wPrplCpVMFuwzXbkecJrb6IYo1iFb0S9v37754mg==} + engines: {node: '>=0.12'} + dev: true + + /reusify@1.0.4: + resolution: {integrity: sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==} + engines: {iojs: '>=1.0.0', node: '>=0.10.0'} + dev: true + + /rimraf@2.6.3: + resolution: {integrity: sha512-mwqeW5XsA2qAejG46gYdENaxXjx9onRNCfn7L0duuP4hCuTIi/QO7PDK07KJfp1d+izWPrzEJDcSqBa0OZQriA==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: true + + /rimraf@2.7.1: + resolution: {integrity: sha512-uWjbaKIK3T1OSVptzX7Nl6PvQ3qAGtKEtVRjRuazjfL3Bx5eI409VZSqgND+4UNnmzLVdPj9FqFJNPqBZFve4w==} + hasBin: true + dependencies: + glob: 7.2.3 + dev: true + + /ripemd160@2.0.2: + resolution: {integrity: sha512-ii4iagi25WusVoiC4B4lq7pbXfAp3D9v5CwfkY33vffw2+pkDjY1D8GaN7spsxvCSx8dkPqOZCEZyfxcmJG2IA==} + dependencies: + hash-base: 3.1.0 + inherits: 2.0.4 + dev: true + + /rollup@4.13.0: + resolution: {integrity: sha512-3YegKemjoQnYKmsBlOHfMLVPPA5xLkQ8MHLLSw/fBrFaVkEayL51DilPpNNLq1exr98F2B1TzrV0FUlN3gWRPg==} + engines: {node: '>=18.0.0', npm: '>=8.0.0'} + hasBin: true + dependencies: + '@types/estree': 1.0.5 + optionalDependencies: + '@rollup/rollup-android-arm-eabi': 4.13.0 + '@rollup/rollup-android-arm64': 4.13.0 + '@rollup/rollup-darwin-arm64': 4.13.0 + '@rollup/rollup-darwin-x64': 4.13.0 + '@rollup/rollup-linux-arm-gnueabihf': 4.13.0 + '@rollup/rollup-linux-arm64-gnu': 4.13.0 + '@rollup/rollup-linux-arm64-musl': 4.13.0 + '@rollup/rollup-linux-riscv64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-gnu': 4.13.0 + '@rollup/rollup-linux-x64-musl': 4.13.0 + '@rollup/rollup-win32-arm64-msvc': 4.13.0 + '@rollup/rollup-win32-ia32-msvc': 4.13.0 + '@rollup/rollup-win32-x64-msvc': 4.13.0 + fsevents: 2.3.3 + dev: true + + /run-async@2.4.1: + resolution: {integrity: sha512-tvVnVv01b8c1RrA6Ep7JkStj85Guv/YrMcwqYQnwjsAS2cTmmPGBBjAjpCW7RrSodNSoE2/qg9O4bceNvUuDgQ==} + engines: {node: '>=0.12.0'} + dev: true + + /run-parallel@1.2.0: + resolution: {integrity: sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==} + dependencies: + queue-microtask: 1.2.3 + dev: true + + /run-queue@1.0.3: + resolution: {integrity: sha512-ntymy489o0/QQplUDnpYAYUsO50K9SBrIVaKCWDOJzYJts0f9WH9RFJkyagebkw5+y1oi00R7ynNW/d12GBumg==} + dependencies: + aproba: 1.2.0 + dev: true + + /rw@1.3.3: + resolution: {integrity: sha512-PdhdWy89SiZogBLaw42zdeqtRJ//zFd2PgQavcICDUgJT5oW10QCRKbJ6bg4r0/UY2M6BWd5tkxuGFRvCkgfHQ==} + dev: false + + /rxjs@6.6.7: + resolution: {integrity: sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ==} + engines: {npm: '>=2.0.0'} + dependencies: + tslib: 1.14.1 + dev: true + + /safe-buffer@5.1.2: + resolution: {integrity: sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g==} + dev: true + + /safe-buffer@5.2.1: + resolution: {integrity: sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ==} + dev: true + + /safe-regex@1.1.0: + resolution: {integrity: sha512-aJXcif4xnaNUzvUuC5gcb46oTS7zvg4jpMTnuqtrEPlR3vFr4pxtdTwaF1Qs3Enjn9HK+ZlwQui+a7z0SywIzg==} + dependencies: + ret: 0.1.15 + dev: true + + /safer-buffer@2.1.2: + resolution: {integrity: sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg==} + + /saxes@6.0.0: + resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} + engines: {node: '>=v12.22.7'} + dependencies: + xmlchars: 2.2.0 + dev: true + + /schema-utils@1.0.0: + resolution: {integrity: sha512-i27Mic4KovM/lnGsy8whRCHhc7VicJajAjTrYg11K9zfZXnYIt4k5F+kZkwjnrhKzLic/HLU4j11mjsz2G/75g==} + engines: {node: '>= 4'} + dependencies: + ajv: 6.12.6 + ajv-errors: 1.0.1(ajv@6.12.6) + ajv-keywords: 3.5.2(ajv@6.12.6) + dev: true + + /schema-utils@2.7.1: + resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} + engines: {node: '>= 8.9.0'} + dependencies: + '@types/json-schema': 7.0.15 + ajv: 6.12.6 + ajv-keywords: 3.5.2(ajv@6.12.6) + dev: true + + /semver@5.7.2: + resolution: {integrity: sha512-cBznnQ9KjJqU67B52RMC65CMarK2600WFnbkcaiwWq3xy/5haFJlshgnpjovMVJ+Hff49d8GEn0b87C5pDQ10g==} + hasBin: true + dev: true + + /semver@6.3.1: + resolution: {integrity: sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==} + hasBin: true + dev: true + + /semver@7.6.0: + resolution: {integrity: sha512-EnwXhrlwXMk9gKu5/flx5sv/an57AkRplG3hTK68W7FRDN+k+OWBj65M7719OkA82XLBxrcX0KSHj+X5COhOVg==} + engines: {node: '>=10'} + hasBin: true + dependencies: + lru-cache: 6.0.0 + dev: true + + /send@0.16.2: + resolution: {integrity: sha512-E64YFPUssFHEFBvpbbjr44NCLtI1AohxQ8ZSiJjQLskAdKuriYEP6VyGEsRDH8ScozGpkaX1BGvhanqCwkcEZw==} + engines: {node: '>= 0.8.0'} + dependencies: + debug: 2.6.9(supports-color@6.1.0) + depd: 1.1.2 + destroy: 1.0.4 + encodeurl: 1.0.2 + escape-html: 1.0.3 + etag: 1.8.1 + fresh: 0.5.2 + http-errors: 1.6.3 + mime: 1.4.1 + ms: 2.0.0 + on-finished: 2.3.0 + range-parser: 1.2.1 + statuses: 1.4.0 + transitivePeerDependencies: + - supports-color + dev: true + + /serialize-javascript@4.0.0: + resolution: {integrity: sha512-GaNA54380uFefWghODBWEGisLZFj00nS5ACs6yHa9nLqlLpVLO8ChDGeKRjZnV4Nh4n0Qi7nhYZD/9fCPzEqkw==} + dependencies: + randombytes: 2.1.0 + dev: true + + /serve-static@1.13.2: + resolution: {integrity: sha512-p/tdJrO4U387R9oMjb1oj7qSMaMfmOyd4j9hOFoxZe2baQszgHcSWjuya/CiT5kgZZKRudHNOA0pYXOl8rQ5nw==} + engines: {node: '>= 0.8.0'} + dependencies: + encodeurl: 1.0.2 + escape-html: 1.0.3 + parseurl: 1.3.3 + send: 0.16.2 + transitivePeerDependencies: + - supports-color + dev: true + + /set-blocking@2.0.0: + resolution: {integrity: sha512-KiKBS8AnWGEyLzofFfmvKwpdPzqiy16LvQfK3yv/fVH7Bj13/wl3JSR1J+rfgRE9q7xUJK4qvgS8raSOeLUehw==} + dev: true + + /set-function-length@1.2.2: + resolution: {integrity: sha512-pgRc4hJ4/sNjWCSS9AmnS40x3bNMDTknHgL5UaMBTMyJnU90EgWh1Rz+MC9eFu4BuN/UwZjKQuY/1v3rM7HMfg==} + engines: {node: '>= 0.4'} + dependencies: + define-data-property: 1.1.4 + es-errors: 1.3.0 + function-bind: 1.1.2 + get-intrinsic: 1.2.4 + gopd: 1.0.1 + has-property-descriptors: 1.0.2 + dev: true + + /set-value@2.0.1: + resolution: {integrity: sha512-JxHc1weCN68wRY0fhCoXpyK55m/XPHafOmK4UWD7m2CI14GMcFypt4w/0+NV5f/ZMby2F6S2wwA7fgynh9gWSw==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 2.0.1 + is-extendable: 0.1.1 + is-plain-object: 2.0.4 + split-string: 3.1.0 + dev: true + + /setimmediate@1.0.5: + resolution: {integrity: sha512-MATJdZp8sLqDl/68LfQmbP8zKPLQNV6BIZoIgrscFDQ+RsvK/BxeDQOgyxKKoh0y/8h3BqVFnCqQ/gd+reiIXA==} + dev: true + + /setprototypeof@1.1.0: + resolution: {integrity: sha512-BvE/TwpZX4FXExxOxZyRGQQv651MSwmWKZGqvmPcRIjDqWub67kTKuIMx43cZZrS/cBBzwBcNDWoFxt2XEFIpQ==} + dev: true + + /setprototypeof@1.2.0: + resolution: {integrity: sha512-E5LDX7Wrp85Kil5bhZv46j8jOeboKq5JMmYM3gVGdGH8xFpPWXUMsNrlODCrkoxMEeNi/XZIwuRvY4XNwYMJpw==} + dev: true + + /sha.js@2.4.11: + resolution: {integrity: sha512-QMEp5B7cftE7APOjk5Y6xgrbWu+WkLVQwk8JNjZ8nKRciZaByEW6MubieAiToS7+dwvrjGhH8jRXz3MVd0AYqQ==} + hasBin: true + dependencies: + inherits: 2.0.4 + safe-buffer: 5.2.1 + dev: true + + /shebang-command@1.2.0: + resolution: {integrity: sha512-EV3L1+UQWGor21OmnvojK36mhg+TyIKDh3iFBKBohr5xeXIhNBcx8oWdgkTEEQ+BEFFYdLRuqMfd5L84N1V5Vg==} + engines: {node: '>=0.10.0'} + dependencies: + shebang-regex: 1.0.0 + dev: true + + /shebang-command@2.0.0: + resolution: {integrity: sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==} + engines: {node: '>=8'} + dependencies: + shebang-regex: 3.0.0 + dev: true + + /shebang-regex@1.0.0: + resolution: {integrity: sha512-wpoSFAxys6b2a2wHZ1XpDSgD7N9iVjg29Ph9uV/uaP9Ex/KXlkTZTeddxDPSYQpgvzKLGJke2UU0AzoGCjNIvQ==} + engines: {node: '>=0.10.0'} + dev: true + + /shebang-regex@3.0.0: + resolution: {integrity: sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==} + engines: {node: '>=8'} + dev: true + + /shelljs@0.7.8: + resolution: {integrity: sha512-/YF5Uk8hcwi7ima04ppkbA4RaRMdPMBfwAvAf8sufYOxsJRtbdoBsT8vGvlb+799BrlGdYrd+oczIA2eN2JdWA==} + engines: {node: '>=0.11.0'} + hasBin: true + dependencies: + glob: 7.2.3 + interpret: 1.4.0 + rechoir: 0.6.2 + dev: true + + /side-channel@1.0.6: + resolution: {integrity: sha512-fDW/EZ6Q9RiO8eFG8Hj+7u/oW+XrPTIChwCOM2+th2A6OblDtYYIpve9m+KvI9Z4C9qSEXlaGR6bTEYHReuglA==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.7 + es-errors: 1.3.0 + get-intrinsic: 1.2.4 + object-inspect: 1.13.1 + dev: true + + /signal-exit@3.0.7: + resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} + dev: true + + /signal-exit@4.1.0: + resolution: {integrity: sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==} + engines: {node: '>=14'} + dev: true + + /simple-statistics@6.1.1: + resolution: {integrity: sha512-zGwn0DDRa9Zel4H4n2pjTFIyGoAGpnpjrGIctreCxj5XWrcx9v7Xy7270FkC967WMmcvuc8ZU7m0ZG+hGN7gAA==} + dev: false + + /sirv@2.0.4: + resolution: {integrity: sha512-94Bdh3cC2PKrbgSOUqTiGPWVZeSiXfKOVZNJniWoqrWrRkB1CJzBU3NEbiTsPcYy1lDsANA/THzS+9WBiy5nfQ==} + engines: {node: '>= 10'} + dependencies: + '@polka/url': 1.0.0-next.25 + mrmime: 2.0.0 + totalist: 3.0.1 + dev: true + + /sisteransi@1.0.5: + resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} + dev: true + + /slash@3.0.0: + resolution: {integrity: sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==} + engines: {node: '>=8'} + dev: true + + /slice-ansi@2.1.0: + resolution: {integrity: sha512-Qu+VC3EwYLldKa1fCxuuvULvSJOKEgk9pi8dZeCVK7TqBfUNTH4sFkk4joj8afVSfAYgJoSOetjx9QWOJ5mYoQ==} + engines: {node: '>=6'} + dependencies: + ansi-styles: 3.2.1 + astral-regex: 1.0.0 + is-fullwidth-code-point: 2.0.0 + dev: true + + /snapdragon-node@2.1.1: + resolution: {integrity: sha512-O27l4xaMYt/RSQ5TR3vpWCAB5Kb/czIcqUFOM/C4fYcLnbZUc1PkjTAMjof2pBWaSTwOUd6qUHcFGVGj7aIwnw==} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 1.0.0 + isobject: 3.0.1 + snapdragon-util: 3.0.1 + dev: true + + /snapdragon-util@3.0.1: + resolution: {integrity: sha512-mbKkMdQKsjX4BAL4bRYTj21edOf8cN7XHdYUJEe+Zn99hVEYcMvKPct1IqNe7+AZPirn8BCDOQBHQZknqmKlZQ==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /snapdragon@0.8.2(supports-color@6.1.0): + resolution: {integrity: sha512-FtyOnWN/wCHTVXOMwvSv26d+ko5vWlIDD6zoUJ7LW8vh+ZBC8QdljveRP+crNrtBwioEUWy/4dMtbBjA4ioNlg==} + engines: {node: '>=0.10.0'} + dependencies: + base: 0.11.2 + debug: 2.6.9(supports-color@6.1.0) + define-property: 0.2.5 + extend-shallow: 2.0.1 + map-cache: 0.2.2 + source-map: 0.5.7 + source-map-resolve: 0.5.3 + use: 3.1.1 + transitivePeerDependencies: + - supports-color + dev: true + + /source-list-map@2.0.1: + resolution: {integrity: sha512-qnQ7gVMxGNxsiL4lEuJwe/To8UnK7fAnmbGEEH8RpLouuKbeEm0lhbQVFIrNSuB+G7tVrAlVsZgETT5nljf+Iw==} + dev: true + + /source-map-resolve@0.5.3: + resolution: {integrity: sha512-Htz+RnsXWk5+P2slx5Jh3Q66vhQj1Cllm0zvnaY98+NFx+Dv2CF/f5O/t8x+KaNdrdIAsruNzoh/KpialbqAnw==} + deprecated: See https://github.com/lydell/source-map-resolve#deprecated + dependencies: + atob: 2.1.2 + decode-uri-component: 0.2.2 + resolve-url: 0.2.1 + source-map-url: 0.4.1 + urix: 0.1.0 + dev: true + + /source-map-support@0.5.13: + resolution: {integrity: sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map-support@0.5.21: + resolution: {integrity: sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==} + dependencies: + buffer-from: 1.1.2 + source-map: 0.6.1 + dev: true + + /source-map-url@0.4.1: + resolution: {integrity: sha512-cPiFOTLUKvJFIg4SKVScy4ilPPW6rFgMgfuZJPNoDuMs3nC1HbMUycBoJw77xFIp6z1UJQJOfx6C9GMH80DiTw==} + deprecated: See https://github.com/lydell/source-map-url#deprecated + dev: true + + /source-map@0.5.7: + resolution: {integrity: sha512-LbrmJOMUSdEVxIKvdcJzQC+nQhe8FUZQTXQy6+I75skNgn3OoQ0DZA8YnFa7gp8tqtL3KPf1kmo0R5DoApeSGQ==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map@0.6.1: + resolution: {integrity: sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==} + engines: {node: '>=0.10.0'} + dev: true + + /source-map@0.8.0-beta.0: + resolution: {integrity: sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==} + engines: {node: '>= 8'} + dependencies: + whatwg-url: 7.1.0 + dev: true + + /spawn-sync@1.0.15: + resolution: {integrity: sha512-9DWBgrgYZzNghseho0JOuh+5fg9u6QWhAWa51QC7+U5rCheZ/j1DrEZnyE0RBBRqZ9uEXGPgSSM0nky6burpVw==} + requiresBuild: true + dependencies: + concat-stream: 1.6.2 + os-shim: 0.1.3 + dev: true + + /split-string@3.1.0: + resolution: {integrity: sha512-NzNVhJDYpwceVVii8/Hu6DKfD2G+NrQHlS/V/qgv763EYudVwEcMQNxd2lh+0VrUByXN/oJkl5grOhYWvQUYiw==} + engines: {node: '>=0.10.0'} + dependencies: + extend-shallow: 3.0.2 + dev: true + + /sprintf-js@1.0.3: + resolution: {integrity: sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==} + dev: true + + /ssri@6.0.2: + resolution: {integrity: sha512-cepbSq/neFK7xB6A50KHN0xHDotYzq58wWCa5LeWqnPrHG8GzfEjO/4O8kpmcGW+oaxkvhEJCWgbgNk4/ZV93Q==} + dependencies: + figgy-pudding: 3.5.2 + dev: true + + /stack-utils@2.0.6: + resolution: {integrity: sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==} + engines: {node: '>=10'} + dependencies: + escape-string-regexp: 2.0.0 + dev: true + + /static-extend@0.1.2: + resolution: {integrity: sha512-72E9+uLc27Mt718pMHt9VMNiAL4LMsmDbBva8mxWUCkT07fSzEGMYUCk0XWY6lp0j6RBAG4cJ3mWuZv2OE3s0g==} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 0.2.5 + object-copy: 0.1.0 + dev: true + + /statuses@1.3.1: + resolution: {integrity: sha512-wuTCPGlJONk/a1kqZ4fQM2+908lC7fa7nPYpTC1EhnvqLX/IICbeP1OZGDtA374trpSq68YubKUMo8oRhN46yg==} + engines: {node: '>= 0.6'} + dev: true + + /statuses@1.4.0: + resolution: {integrity: sha512-zhSCtt8v2NDrRlPQpCNtw/heZLtfUDqxBM1udqikb/Hbk52LK4nQSwr10u77iopCW5LsyHpuXS0GnEc48mLeew==} + engines: {node: '>= 0.6'} + dev: true + + /statuses@2.0.1: + resolution: {integrity: sha512-RwNA9Z/7PrK06rYLIzFMlaF+l73iwpzsqRIFgbMLbTcLD6cOao82TaWefPXQvB2fOC4AjuYSEndS7N/mTCbkdQ==} + engines: {node: '>= 0.8'} + dev: true + + /stream-browserify@2.0.2: + resolution: {integrity: sha512-nX6hmklHs/gr2FuxYDltq8fJA1GDlxKQCz8O/IM4atRqBH8OORmBNgfvW5gG10GT/qQ9u0CzIvr2X5Pkt6ntqg==} + dependencies: + inherits: 2.0.4 + readable-stream: 2.3.8 + dev: true + + /stream-each@1.2.3: + resolution: {integrity: sha512-vlMC2f8I2u/bZGqkdfLQW/13Zihpej/7PmSiMQsbYddxuTsJp8vRe2x2FvVExZg7FaOds43ROAuFJwPR4MTZLw==} + dependencies: + end-of-stream: 1.4.4 + stream-shift: 1.0.3 + dev: true + + /stream-http@2.8.3: + resolution: {integrity: sha512-+TSkfINHDo4J+ZobQLWiMouQYB+UVYFttRA94FpEzzJ7ZdqcL4uUUQ7WkdkI4DSozGmgBUE/a47L+38PenXhUw==} + dependencies: + builtin-status-codes: 3.0.0 + inherits: 2.0.4 + readable-stream: 2.3.8 + to-arraybuffer: 1.0.1 + xtend: 4.0.2 + dev: true + + /stream-shift@1.0.3: + resolution: {integrity: sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ==} + dev: true + + /string-length@4.0.2: + resolution: {integrity: sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==} + engines: {node: '>=10'} + dependencies: + char-regex: 1.0.2 + strip-ansi: 6.0.1 + dev: true + + /string-replace-loader@2.3.0(webpack@4.47.0): + resolution: {integrity: sha512-HYBIHStViMKLZC/Lehxy42OuwsBaPzX/LjcF5mkJlE2SnHXmW6SW6eiHABTXnY8ZCm/REbdJ8qnA0ptmIzN0Ng==} + peerDependencies: + webpack: 1 || 2 || 3 || 4 + dependencies: + loader-utils: 1.4.2 + schema-utils: 2.7.1 + webpack: 4.47.0(webpack-cli@3.3.12) + dev: true + + /string-width@1.0.2: + resolution: {integrity: sha512-0XsVpQLnVCXHJfyEs8tC0zpTVIr5PKKsQtkT29IwupnPTjtPmQ3xT/4yCREF9hYkV/3M3kzcUTSAZT6a6h81tw==} + engines: {node: '>=0.10.0'} + dependencies: + code-point-at: 1.1.0 + is-fullwidth-code-point: 1.0.0 + strip-ansi: 3.0.1 + dev: true + + /string-width@3.1.0: + resolution: {integrity: sha512-vafcv6KjVZKSgz06oM/H6GDBrAtz8vdhQakGjFIvNrHA6y3HCF1CInLy+QLq8dTJPQ1b+KDUqDFctkdRW44e1w==} + engines: {node: '>=6'} + dependencies: + emoji-regex: 7.0.3 + is-fullwidth-code-point: 2.0.0 + strip-ansi: 5.2.0 + dev: true + + /string-width@4.2.3: + resolution: {integrity: sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==} + engines: {node: '>=8'} + dependencies: + emoji-regex: 8.0.0 + is-fullwidth-code-point: 3.0.0 + strip-ansi: 6.0.1 + dev: true + + /string-width@5.1.2: + resolution: {integrity: sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==} + engines: {node: '>=12'} + dependencies: + eastasianwidth: 0.2.0 + emoji-regex: 9.2.2 + strip-ansi: 7.1.0 + dev: true + + /string_decoder@1.1.1: + resolution: {integrity: sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg==} + dependencies: + safe-buffer: 5.1.2 + dev: true + + /string_decoder@1.3.0: + resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} + dependencies: + safe-buffer: 5.2.1 + dev: true + + /strip-ansi@3.0.1: + resolution: {integrity: sha512-VhumSSbBqDTP8p2ZLKj40UjBCV4+v8bUSEpUb4KjRgWk9pbqGF4REFj6KEagidb2f/M6AzC0EmFyDNGaw9OCzg==} + engines: {node: '>=0.10.0'} + dependencies: + ansi-regex: 2.1.1 + dev: true + + /strip-ansi@5.2.0: + resolution: {integrity: sha512-DuRs1gKbBqsMKIZlrffwlug8MHkcnpjs5VPmL1PAh+mA30U0DTotfDZ0d2UUsXpPmPmMMJ6W773MaA3J+lbiWA==} + engines: {node: '>=6'} + dependencies: + ansi-regex: 4.1.1 + dev: true + + /strip-ansi@6.0.1: + resolution: {integrity: sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==} + engines: {node: '>=8'} + dependencies: + ansi-regex: 5.0.1 + dev: true + + /strip-ansi@7.1.0: + resolution: {integrity: sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==} + engines: {node: '>=12'} + dependencies: + ansi-regex: 6.0.1 + dev: true + + /strip-bom@4.0.0: + resolution: {integrity: sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==} + engines: {node: '>=8'} + dev: true + + /strip-final-newline@2.0.0: + resolution: {integrity: sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==} + engines: {node: '>=6'} + dev: true + + /strip-json-comments@3.1.1: + resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} + engines: {node: '>=8'} + dev: true + + /sucrase@3.35.0: + resolution: {integrity: sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==} + engines: {node: '>=16 || 14 >=14.17'} + hasBin: true + dependencies: + '@jridgewell/gen-mapping': 0.3.5 + commander: 4.1.1 + glob: 10.3.10 + lines-and-columns: 1.2.4 + mz: 2.7.0 + pirates: 4.0.6 + ts-interface-checker: 0.1.13 + dev: true + + /supports-color@5.5.0: + resolution: {integrity: sha512-QjVjwdXIt408MIiAqCX4oUKsgU2EqAGzs2Ppkm4aQYbjm+ZEWEcW4SfFNTr4uMNZma0ey4f5lgLrkB0aX0QMow==} + engines: {node: '>=4'} + dependencies: + has-flag: 3.0.0 + dev: true + + /supports-color@6.1.0: + resolution: {integrity: sha512-qe1jfm1Mg7Nq/NSh6XE24gPXROEVsWHxC1LIx//XNlD9iw7YZQGjZNjYN7xGaEG6iKdA8EtNFW6R0gjnVXp+wQ==} + engines: {node: '>=6'} + dependencies: + has-flag: 3.0.0 + dev: true + + /supports-color@7.2.0: + resolution: {integrity: sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==} + engines: {node: '>=8'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-color@8.1.1: + resolution: {integrity: sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==} + engines: {node: '>=10'} + dependencies: + has-flag: 4.0.0 + dev: true + + /supports-preserve-symlinks-flag@1.0.0: + resolution: {integrity: sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==} + engines: {node: '>= 0.4'} + dev: true + + /symbol-tree@3.2.4: + resolution: {integrity: sha512-9QNk5KwDF+Bvz+PyObkmSYjI5ksVUYtjW7AU22r2NKcfLJcXp96hkDWU3+XndOsUb+AQ9QhfzfCT2O+CNWT5Tw==} + dev: true + + /table@5.4.6: + resolution: {integrity: sha512-wmEc8m4fjnob4gt5riFRtTu/6+4rSe12TpAELNSqHMfF3IqnA+CH37USM6/YR3qRZv7e56kAEAtd6nKZaxe0Ug==} + engines: {node: '>=6.0.0'} + dependencies: + ajv: 6.12.6 + lodash: 4.17.21 + slice-ansi: 2.1.0 + string-width: 3.1.0 + dev: true + + /tapable@1.1.3: + resolution: {integrity: sha512-4WK/bYZmj8xLr+HUCODHGF1ZFzsYffasLUgEiMBY4fgtltdO6B4WJtlSbPaDTLpYTcGVwM2qLnFTICEcNxs3kA==} + engines: {node: '>=6'} + dev: true + + /terser-webpack-plugin@1.4.5(webpack@4.47.0): + resolution: {integrity: sha512-04Rfe496lN8EYruwi6oPQkG0vo8C+HT49X687FZnpPF0qMAIHONI6HEXYPKDOE8e5HjXTyKfqRd/agHtH0kOtw==} + engines: {node: '>= 6.9.0'} + peerDependencies: + webpack: ^4.0.0 + dependencies: + cacache: 12.0.4 + find-cache-dir: 2.1.0 + is-wsl: 1.1.0 + schema-utils: 1.0.0 + serialize-javascript: 4.0.0 + source-map: 0.6.1 + terser: 4.8.1 + webpack: 4.47.0(webpack-cli@3.3.12) + webpack-sources: 1.4.3 + worker-farm: 1.7.0 + dev: true + + /terser@4.8.1: + resolution: {integrity: sha512-4GnLC0x667eJG0ewJTa6z/yXrbLGv80D9Ru6HIpCQmO+Q4PfEtBFi0ObSckqwL6VyQv/7ENJieXHo2ANmdQwgw==} + engines: {node: '>=6.0.0'} + hasBin: true + dependencies: + acorn: 8.11.3 + commander: 2.20.3 + source-map: 0.6.1 + source-map-support: 0.5.21 + dev: true + + /test-exclude@6.0.0: + resolution: {integrity: sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==} + engines: {node: '>=8'} + dependencies: + '@istanbuljs/schema': 0.1.3 + glob: 7.2.3 + minimatch: 3.1.2 + dev: true + + /text-table@0.2.0: + resolution: {integrity: sha512-N+8UisAXDGk8PFXP4HAzVR9nbfmVJ3zYLAWiTIoqC5v5isinhr+r5uaO8+7r3BMfuNIufIsA7RdpVgacC2cSpw==} + dev: true + + /thenify-all@1.6.0: + resolution: {integrity: sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==} + engines: {node: '>=0.8'} + dependencies: + thenify: 3.3.1 + dev: true + + /thenify@3.3.1: + resolution: {integrity: sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==} + dependencies: + any-promise: 1.3.0 + dev: true + + /through2@2.0.5: + resolution: {integrity: sha512-/mrRod8xqpA+IHSLyGCQ2s8SPHiCDEeQJSep1jqLYeEUClOFG2Qsh+4FU6G9VeqpZnGW/Su8LQGc4YKni5rYSQ==} + dependencies: + readable-stream: 2.3.8 + xtend: 4.0.2 + dev: true + + /through@2.3.8: + resolution: {integrity: sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg==} + dev: true + + /timers-browserify@2.0.12: + resolution: {integrity: sha512-9phl76Cqm6FhSX9Xe1ZUAMLtm1BLkKj2Qd5ApyWkXzsMRaA7dgr81kf4wJmQf/hAvg8EEyJxDo3du/0KlhPiKQ==} + engines: {node: '>=0.6.0'} + dependencies: + setimmediate: 1.0.5 + dev: true + + /tmp@0.0.33: + resolution: {integrity: sha512-jRCJlojKnZ3addtTOjdIqoRuPEKBvNXcGYqzO6zWZX8KfKEpnGY5jfggJQ3EjKuu8D4bJRr0y+cYJFmYbImXGw==} + engines: {node: '>=0.6.0'} + dependencies: + os-tmpdir: 1.0.2 + dev: true + + /tmpl@1.0.5: + resolution: {integrity: sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==} + dev: true + + /to-arraybuffer@1.0.1: + resolution: {integrity: sha512-okFlQcoGTi4LQBG/PgSYblw9VOyptsz2KJZqc6qtgGdes8VktzUQkj4BI2blit072iS8VODNcMA+tvnS9dnuMA==} + dev: true + + /to-fast-properties@2.0.0: + resolution: {integrity: sha512-/OaKK0xYrs3DmxRYqL/yDc+FxFUVYhDlXMhRmv3z915w2HF1tnN1omB354j8VUGO/hbRzyD6Y3sA7v7GS/ceog==} + engines: {node: '>=4'} + dev: true + + /to-object-path@0.3.0: + resolution: {integrity: sha512-9mWHdnGRuh3onocaHzukyvCZhzvr6tiflAy/JRFXcJX0TjgfWA9pk9t8CMbzmBE4Jfw58pXbkngtBtqYxzNEyg==} + engines: {node: '>=0.10.0'} + dependencies: + kind-of: 3.2.2 + dev: true + + /to-regex-range@2.1.1: + resolution: {integrity: sha512-ZZWNfCjUokXXDGXFpZehJIkZqq91BcULFq/Pi7M5i4JnxXdhMKAK682z8bCW3o8Hj1wuuzoKcW3DfVzaP6VuNg==} + engines: {node: '>=0.10.0'} + dependencies: + is-number: 3.0.0 + repeat-string: 1.6.1 + dev: true + + /to-regex-range@5.0.1: + resolution: {integrity: sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==} + engines: {node: '>=8.0'} + dependencies: + is-number: 7.0.0 + dev: true + + /to-regex@3.0.2: + resolution: {integrity: sha512-FWtleNAtZ/Ki2qtqej2CXTOayOH9bHDQF+Q48VpWyDXjbYxA4Yz8iDB31zXOBUlOHHKidDbqGVrTUvQMPmBGBw==} + engines: {node: '>=0.10.0'} + dependencies: + define-property: 2.0.2 + extend-shallow: 3.0.2 + regex-not: 1.0.2 + safe-regex: 1.1.0 + dev: true + + /toidentifier@1.0.1: + resolution: {integrity: sha512-o5sSPKEkg/DIQNmH43V0/uerLrpzVedkUh8tGNvaeXpfpuwjKenlSox/2O/BTlZUtEe+JG7s5YhEz608PlAHRA==} + engines: {node: '>=0.6'} + dev: true + + /topojson-client@3.1.0: + resolution: {integrity: sha512-605uxS6bcYxGXw9qi62XyrV6Q3xwbndjachmNxu8HWTtVPxZfEJN9fd/SZS1Q54Sn2y0TMyMxFj/cJINqGHrKw==} + hasBin: true + dependencies: + commander: 2.12.2 + dev: false + + /totalist@3.0.1: + resolution: {integrity: sha512-sf4i37nQ2LBx4m3wB74y+ubopq6W/dIzXg0FDGjsYnZHVa1Da8FH853wlL2gtUhg+xJXjfk3kUZS3BRoQeoQBQ==} + engines: {node: '>=6'} + dev: true + + /tough-cookie@4.1.3: + resolution: {integrity: sha512-aX/y5pVRkfRnfmuX+OdbSdXvPe6ieKX/G2s7e98f4poJHnqH3281gDPm/metm6E/WRamfx7WC4HUqkWHfQHprw==} + engines: {node: '>=6'} + dependencies: + psl: 1.9.0 + punycode: 2.3.1 + universalify: 0.2.0 + url-parse: 1.5.10 + dev: true + + /tr46@1.0.1: + resolution: {integrity: sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==} + dependencies: + punycode: 2.3.1 + dev: true + + /tr46@3.0.0: + resolution: {integrity: sha512-l7FvfAHlcmulp8kr+flpQZmVwtu7nfRV7NZujtN0OqES8EL4O4e0qqzL0DC5gAvx/ZC/9lk6rhcUwYvkBnBnYA==} + engines: {node: '>=12'} + dependencies: + punycode: 2.3.1 + dev: true + + /tree-kill@1.2.2: + resolution: {integrity: sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==} + hasBin: true + dev: true + + /ts-interface-checker@0.1.13: + resolution: {integrity: sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==} + dev: true + + /ts-jest@29.1.2(@babel/core@7.24.0)(esbuild@0.19.12)(jest@29.7.0)(typescript@5.4.2): + resolution: {integrity: sha512-br6GJoH/WUX4pu7FbZXuWGKGNDuU7b8Uj77g/Sp7puZV6EXzuByl6JrECvm0MzVzSTkSHWTihsXt+5XYER5b+g==} + engines: {node: ^16.10.0 || ^18.0.0 || >=20.0.0} + hasBin: true + peerDependencies: + '@babel/core': '>=7.0.0-beta.0 <8' + '@jest/types': ^29.0.0 + babel-jest: ^29.0.0 + esbuild: '*' + jest: ^29.0.0 + typescript: '>=4.3 <6' + peerDependenciesMeta: + '@babel/core': + optional: true + '@jest/types': + optional: true + babel-jest: + optional: true + esbuild: + optional: true + dependencies: + '@babel/core': 7.24.0 + bs-logger: 0.2.6 + esbuild: 0.19.12 + fast-json-stable-stringify: 2.1.0 + jest: 29.7.0 + jest-util: 29.7.0 + json5: 2.2.3 + lodash.memoize: 4.1.2 + make-error: 1.3.6 + semver: 7.6.0 + typescript: 5.4.2 + yargs-parser: 21.1.1 + dev: true + + /ts-loader@8.4.0(typescript@5.4.2)(webpack@4.47.0): + resolution: {integrity: sha512-6nFY3IZ2//mrPc+ImY3hNWx1vCHyEhl6V+wLmL4CZcm6g1CqX7UKrkc6y0i4FwcfOhxyMPCfaEvh20f4r9GNpw==} + engines: {node: '>=10.0.0'} + peerDependencies: + typescript: '*' + webpack: '*' + dependencies: + chalk: 4.1.2 + enhanced-resolve: 4.5.0 + loader-utils: 2.0.4 + micromatch: 4.0.5 + semver: 7.6.0 + typescript: 5.4.2 + webpack: 4.47.0(webpack-cli@3.3.12) + dev: true + + /tslib@1.14.1: + resolution: {integrity: sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg==} + dev: true + + /tslib@2.6.2: + resolution: {integrity: sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q==} + dev: false + + /tsup@8.0.2(@swc/core@1.4.6)(typescript@5.4.2): + resolution: {integrity: sha512-NY8xtQXdH7hDUAZwcQdY/Vzlw9johQsaqf7iwZ6g1DOUlFYQ5/AtVAjTvihhEyeRlGo4dLRVHtrRaL35M1daqQ==} + engines: {node: '>=18'} + hasBin: true + peerDependencies: + '@microsoft/api-extractor': ^7.36.0 + '@swc/core': ^1 + postcss: ^8.4.12 + typescript: '>=4.5.0' + peerDependenciesMeta: + '@microsoft/api-extractor': + optional: true + '@swc/core': + optional: true + postcss: + optional: true + typescript: + optional: true + dependencies: + '@swc/core': 1.4.6 + bundle-require: 4.0.2(esbuild@0.19.12) + cac: 6.7.14 + chokidar: 3.6.0 + debug: 4.3.4 + esbuild: 0.19.12 + execa: 5.1.1 + globby: 11.1.0 + joycon: 3.1.1 + postcss-load-config: 4.0.2 + resolve-from: 5.0.0 + rollup: 4.13.0 + source-map: 0.8.0-beta.0 + sucrase: 3.35.0 + tree-kill: 1.2.2 + typescript: 5.4.2 + transitivePeerDependencies: + - supports-color + - ts-node + dev: true + + /tsutils@3.21.0(typescript@5.4.2): + resolution: {integrity: sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==} + engines: {node: '>= 6'} + peerDependencies: + typescript: '>=2.8.0 || >= 3.2.0-dev || >= 3.3.0-dev || >= 3.4.0-dev || >= 3.5.0-dev || >= 3.6.0-dev || >= 3.6.0-beta || >= 3.7.0-dev || >= 3.7.0-beta' + dependencies: + tslib: 1.14.1 + typescript: 5.4.2 + dev: true + + /tty-browserify@0.0.0: + resolution: {integrity: sha512-JVa5ijo+j/sOoHGjw0sxw734b1LhBkQ3bvUGNdxnVXDCX81Yx7TFgnZygxrIIWn23hbfTaMYLwRmAxFyDuFmIw==} + dev: true + + /type-check@0.3.2: + resolution: {integrity: sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==} + engines: {node: '>= 0.8.0'} + dependencies: + prelude-ls: 1.1.2 + dev: true + + /type-detect@4.0.8: + resolution: {integrity: sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==} + engines: {node: '>=4'} + dev: true + + /type-fest@0.21.3: + resolution: {integrity: sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==} + engines: {node: '>=10'} + dev: true + + /type-fest@0.8.1: + resolution: {integrity: sha512-4dbzIzqvjtgiM5rw1k5rEHtBANKmdudhGyBEajN01fEyhaAIhsoKNy6y7+IN93IfpFtwY9iqi7kD+xwKhQsNJA==} + engines: {node: '>=8'} + dev: true + + /type-is@1.6.18: + resolution: {integrity: sha512-TkRKr9sUTxEH8MdfuCSP7VizJyzRNMjj2J2do2Jr3Kym598JVdEksuzPQCnlFPW4ky9Q+iA+ma9BGm06XQBy8g==} + engines: {node: '>= 0.6'} + dependencies: + media-typer: 0.3.0 + mime-types: 2.1.35 + dev: true + + /typedarray@0.0.6: + resolution: {integrity: sha512-/aCDEGatGvZ2BIk+HmLf4ifCJFwvKFNb9/JeZPMulfgFracn9QFcAf5GO8B/mweUjSoblS5In0cWhqpfs/5PQA==} + dev: true + + /typescript@5.4.2: + resolution: {integrity: sha512-+2/g0Fds1ERlP6JsakQQDXjZdZMM+rqpamFZJEKh4kwTIn3iDkgKtby0CeNd5ATNZ4Ry1ax15TMx0W2V+miizQ==} + engines: {node: '>=14.17'} + hasBin: true + dev: true + + /undici-types@5.26.5: + resolution: {integrity: sha512-JlCMO+ehdEIKqlFxk6IfVoAUVmgz7cU7zD/h9XZ0qzeosSHmUJVOzSQvvYSYWXkFXC+IfLKSIffhv0sVZup6pA==} + dev: true + + /union-value@1.0.1: + resolution: {integrity: sha512-tJfXmxMeWYnczCVs7XAEvIV7ieppALdyepWMkHkwciRpZraG/xwT+s2JN8+pr1+8jCRf80FFzvr+MpQeeoF4Xg==} + engines: {node: '>=0.10.0'} + dependencies: + arr-union: 3.1.0 + get-value: 2.0.6 + is-extendable: 0.1.1 + set-value: 2.0.1 + dev: true + + /unique-filename@1.1.1: + resolution: {integrity: sha512-Vmp0jIp2ln35UTXuryvjzkjGdRyf9b2lTXuSYUiPmzRcl3FDtYqAwOnTJkAngD9SWhnoJzDbTKwaOrZ+STtxNQ==} + dependencies: + unique-slug: 2.0.2 + dev: true + + /unique-slug@2.0.2: + resolution: {integrity: sha512-zoWr9ObaxALD3DOPfjPSqxt4fnZiWblxHIgeWqW8x7UqDzEtHEQLzji2cuJYQFCU6KmoJikOYAZlrTHHebjx2w==} + dependencies: + imurmurhash: 0.1.4 + dev: true + + /universalify@0.2.0: + resolution: {integrity: sha512-CJ1QgKmNg3CwvAv/kOFmtnEN05f0D/cn9QntgNOQlQF9dgvVTHj3t+8JPdjqawCHk7V/KA+fbUqzZ9XWhcqPUg==} + engines: {node: '>= 4.0.0'} + dev: true + + /unpipe@1.0.0: + resolution: {integrity: sha512-pjy2bYhSsufwWlKwPc+l3cN7+wuJlK6uz0YdJEOlQDbl6jo/YlPi4mb8agUkVC8BF7V8NuzeyPNqRksA3hztKQ==} + engines: {node: '>= 0.8'} + dev: true + + /unset-value@1.0.0: + resolution: {integrity: sha512-PcA2tsuGSF9cnySLHTLSh2qrQiJ70mn+r+Glzxv2TWZblxsxCC52BDlZoPCsz7STd9pN7EZetkWZBAvk4cgZdQ==} + engines: {node: '>=0.10.0'} + dependencies: + has-value: 0.3.1 + isobject: 3.0.1 + dev: true + + /upath@1.2.0: + resolution: {integrity: sha512-aZwGpamFO61g3OlfT7OQCHqhGnW43ieH9WZeP7QxN/G/jS4jfqUkZxoryvJgVPEcrl5NL/ggHsSmLMHuH64Lhg==} + engines: {node: '>=4'} + requiresBuild: true + dev: true + optional: true + + /update-browserslist-db@1.0.13(browserslist@4.23.0): + resolution: {integrity: sha512-xebP81SNcPuNpPP3uzeW1NYXxI3rxyJzF3pD6sH4jE7o/IX+WtSpwnVU+qIsDPyk0d3hmFQ7mjqc6AtV604hbg==} + hasBin: true + peerDependencies: + browserslist: '>= 4.21.0' + dependencies: + browserslist: 4.23.0 + escalade: 3.1.2 + picocolors: 1.0.0 + dev: true + + /uri-js@4.4.1: + resolution: {integrity: sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==} + dependencies: + punycode: 2.3.1 + dev: true + + /urix@0.1.0: + resolution: {integrity: sha512-Am1ousAhSLBeB9cG/7k7r2R0zj50uDRlZHPGbazid5s9rlF1F/QKYObEKSIunSjIOkJZqwRRLpvewjEkM7pSqg==} + deprecated: Please see https://github.com/lydell/urix#deprecated + dev: true + + /url-parse@1.5.10: + resolution: {integrity: sha512-WypcfiRhfeUP9vvF0j6rw0J3hrWrw6iZv3+22h6iRMJ/8z1Tj6XfLP4DsUix5MhMPnXpiHDoKyoZ/bdCkwBCiQ==} + dependencies: + querystringify: 2.2.0 + requires-port: 1.0.0 + dev: true + + /url@0.11.3: + resolution: {integrity: sha512-6hxOLGfZASQK/cijlZnZJTq8OXAkt/3YGfQX45vvMYXpZoo8NdWZcY73K108Jf759lS1Bv/8wXnHDTSz17dSRw==} + dependencies: + punycode: 1.4.1 + qs: 6.12.0 + dev: true + + /use@3.1.1: + resolution: {integrity: sha512-cwESVXlO3url9YWlFW/TA9cshCEhtu7IKJ/p5soJ/gGpj7vbvFrAY/eIioQ6Dw23KjZhYgiIo8HOs1nQ2vr/oQ==} + engines: {node: '>=0.10.0'} + dev: true + + /util-deprecate@1.0.2: + resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} + dev: true + + /util@0.10.4: + resolution: {integrity: sha512-0Pm9hTQ3se5ll1XihRic3FDIku70C+iHUdT/W926rSgHV5QgXsYbKZN8MSC3tJtSkhuROzvsQjAaFENRXr+19A==} + dependencies: + inherits: 2.0.3 + dev: true + + /util@0.11.1: + resolution: {integrity: sha512-HShAsny+zS2TZfaXxD9tYj4HQGlBezXZMZuM/S5PKLLoZkShZiGk9o5CzukI1LVHZvjdvZ2Sj1aW/Ndn2NB/HQ==} + dependencies: + inherits: 2.0.3 + dev: true + + /utils-merge@1.0.1: + resolution: {integrity: sha512-pMZTvIkT1d+TFGvDOqodOclx0QWkkgi6Tdoa8gC8ffGAAqz9pzPTZWAybbsHHoED/ztMtkv/VoYTYyShUn81hA==} + engines: {node: '>= 0.4.0'} + dev: true + + /v8-compile-cache@2.4.0: + resolution: {integrity: sha512-ocyWc3bAHBB/guyqJQVI5o4BZkPhznPYUG2ea80Gond/BgNWpap8TOmLSeeQG7bnh2KMISxskdADG59j7zruhw==} + dev: true + + /v8-to-istanbul@9.2.0: + resolution: {integrity: sha512-/EH/sDgxU2eGxajKdwLCDmQ4FWq+kpi3uCmBGpw1xJtnAxEjlD8j8PEiGWpCIMIs3ciNAgH0d3TTJiUkYzyZjA==} + engines: {node: '>=10.12.0'} + dependencies: + '@jridgewell/trace-mapping': 0.3.25 + '@types/istanbul-lib-coverage': 2.0.6 + convert-source-map: 2.0.0 + dev: true + + /vm-browserify@1.1.2: + resolution: {integrity: sha512-2ham8XPWTONajOR0ohOKOHXkm3+gaBmGut3SRuu75xLd/RRaY6vqgh8NBYYk7+RW3u5AtzPQZG8F10LHkl0lAQ==} + dev: true + + /w3c-xmlserializer@4.0.0: + resolution: {integrity: sha512-d+BFHzbiCx6zGfz0HyQ6Rg69w9k19nviJspaj4yNscGjrHu94sVP+aRm75yEbCh+r2/yR+7q6hux9LVtbuTGBw==} + engines: {node: '>=14'} + dependencies: + xml-name-validator: 4.0.0 + dev: true + + /walker@1.0.8: + resolution: {integrity: sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==} + dependencies: + makeerror: 1.0.12 + dev: true + + /watchpack-chokidar2@2.0.1: + resolution: {integrity: sha512-nCFfBIPKr5Sh61s4LPpy1Wtfi0HE8isJ3d2Yb5/Ppw2P2B/3eVSEBjKfN0fmHJSK14+31KwMKmcrzs2GM4P0Ww==} + requiresBuild: true + dependencies: + chokidar: 2.1.8 + transitivePeerDependencies: + - supports-color + dev: true + optional: true + + /watchpack@1.7.5: + resolution: {integrity: sha512-9P3MWk6SrKjHsGkLT2KHXdQ/9SNkyoJbabxnKOoJepsvJjJG8uYTR3yTPxPQvNDI3w4Nz1xnE0TLHK4RIVe/MQ==} + dependencies: + graceful-fs: 4.2.11 + neo-async: 2.6.2 + optionalDependencies: + chokidar: 3.6.0 + watchpack-chokidar2: 2.0.1 + transitivePeerDependencies: + - supports-color + dev: true + + /webidl-conversions@4.0.2: + resolution: {integrity: sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==} + dev: true + + /webidl-conversions@7.0.0: + resolution: {integrity: sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g==} + engines: {node: '>=12'} + dev: true + + /webpack-bundle-analyzer@4.10.1: + resolution: {integrity: sha512-s3P7pgexgT/HTUSYgxJyn28A+99mmLq4HsJepMPzu0R8ImJc52QNqaFYW1Z2z2uIb1/J3eYgaAWVpaC+v/1aAQ==} + engines: {node: '>= 10.13.0'} + hasBin: true + dependencies: + '@discoveryjs/json-ext': 0.5.7 + acorn: 8.11.3 + acorn-walk: 8.3.2 + commander: 7.2.0 + debounce: 1.2.1 + escape-string-regexp: 4.0.0 + gzip-size: 6.0.0 + html-escaper: 2.0.2 + is-plain-object: 5.0.0 + opener: 1.5.2 + picocolors: 1.0.0 + sirv: 2.0.4 + ws: 7.5.9 + transitivePeerDependencies: + - bufferutil + - utf-8-validate + dev: true + + /webpack-cli@3.3.12(webpack@4.47.0): + resolution: {integrity: sha512-NVWBaz9k839ZH/sinurM+HcDvJOTXwSjYp1ku+5XKeOC03z8v5QitnK/x+lAxGXFyhdayoIf/GOpv85z3/xPag==} + engines: {node: '>=6.11.5'} + hasBin: true + peerDependencies: + webpack: 4.x.x + dependencies: + chalk: 2.4.2 + cross-spawn: 6.0.5 + enhanced-resolve: 4.5.0 + findup-sync: 3.0.0(supports-color@6.1.0) + global-modules: 2.0.0 + import-local: 2.0.0 + interpret: 1.4.0 + loader-utils: 1.4.2 + supports-color: 6.1.0 + v8-compile-cache: 2.4.0 + webpack: 4.47.0(webpack-cli@3.3.12) + yargs: 13.3.2 + dev: true + + /webpack-sources@1.4.3: + resolution: {integrity: sha512-lgTS3Xhv1lCOKo7SA5TjKXMjpSM4sBjNV5+q2bqesbSPs5FjGmU6jjtBSkX9b4qW87vDIsCIlUPOEhbZrMdjeQ==} + dependencies: + source-list-map: 2.0.1 + source-map: 0.6.1 + dev: true + + /webpack@4.47.0(webpack-cli@3.3.12): + resolution: {integrity: sha512-td7fYwgLSrky3fI1EuU5cneU4+pbH6GgOfuKNS1tNPcfdGinGELAqsb/BP4nnvZyKSG2i/xFGU7+n2PvZA8HJQ==} + engines: {node: '>=6.11.5'} + hasBin: true + peerDependencies: + webpack-cli: '*' + webpack-command: '*' + peerDependenciesMeta: + webpack-cli: + optional: true + webpack-command: + optional: true + dependencies: + '@webassemblyjs/ast': 1.9.0 + '@webassemblyjs/helper-module-context': 1.9.0 + '@webassemblyjs/wasm-edit': 1.9.0 + '@webassemblyjs/wasm-parser': 1.9.0 + acorn: 6.4.2 + ajv: 6.12.6 + ajv-keywords: 3.5.2(ajv@6.12.6) + chrome-trace-event: 1.0.3 + enhanced-resolve: 4.5.0 + eslint-scope: 4.0.3 + json-parse-better-errors: 1.0.2 + loader-runner: 2.4.0 + loader-utils: 1.4.2 + memory-fs: 0.4.1 + micromatch: 3.1.10(supports-color@6.1.0) + mkdirp: 0.5.6 + neo-async: 2.6.2 + node-libs-browser: 2.2.1 + schema-utils: 1.0.0 + tapable: 1.1.3 + terser-webpack-plugin: 1.4.5(webpack@4.47.0) + watchpack: 1.7.5 + webpack-cli: 3.3.12(webpack@4.47.0) + webpack-sources: 1.4.3 + transitivePeerDependencies: + - supports-color + dev: true + + /whatwg-encoding@2.0.0: + resolution: {integrity: sha512-p41ogyeMUrw3jWclHWTQg1k05DSVXPLcVxRTYsXUk+ZooOCZLcoYgPZ/HL/D/N+uQPOtcp1me1WhBEaX02mhWg==} + engines: {node: '>=12'} + dependencies: + iconv-lite: 0.6.3 + dev: true + + /whatwg-mimetype@3.0.0: + resolution: {integrity: sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q==} + engines: {node: '>=12'} + dev: true + + /whatwg-url@11.0.0: + resolution: {integrity: sha512-RKT8HExMpoYx4igMiVMY83lN6UeITKJlBQ+vR/8ZJ8OCdSiN3RwCq+9gH0+Xzj0+5IrM6i4j/6LuvzbZIQgEcQ==} + engines: {node: '>=12'} + dependencies: + tr46: 3.0.0 + webidl-conversions: 7.0.0 + dev: true + + /whatwg-url@7.1.0: + resolution: {integrity: sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==} + dependencies: + lodash.sortby: 4.7.0 + tr46: 1.0.1 + webidl-conversions: 4.0.2 + dev: true + + /which-module@2.0.1: + resolution: {integrity: sha512-iBdZ57RDvnOR9AGBhML2vFZf7h8vmBjhoaZqODJBFWHVtKkDmKuHai3cx5PgVMrX5YDNp27AofYbAwctSS+vhQ==} + dev: true + + /which@1.2.14: + resolution: {integrity: sha512-16uPglFkRPzgiUXYMi1Jf8Z5EzN1iB4V0ZtMXcHZnwsBtQhhHeCqoWw7tsUY42hJGNDWtUsVLTjakIa5BgAxCw==} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /which@1.3.1: + resolution: {integrity: sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ==} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /which@2.0.2: + resolution: {integrity: sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==} + engines: {node: '>= 8'} + hasBin: true + dependencies: + isexe: 2.0.0 + dev: true + + /window-size@0.1.4: + resolution: {integrity: sha512-2thx4pB0cV3h+Bw7QmMXcEbdmOzv9t0HFplJH/Lz6yu60hXYy5RT8rUu+wlIreVxWsGN20mo+MHeCSfUpQBwPw==} + engines: {node: '>= 0.10.0'} + hasBin: true + dev: true + + /wolfy87-eventemitter@5.2.9: + resolution: {integrity: sha512-P+6vtWyuDw+MB01X7UeF8TaHBvbCovf4HPEMF/SV7BdDc1SMTiBy13SRD71lQh4ExFTG1d/WNzDGDCyOKSMblw==} + dev: false + + /word-wrap@1.2.5: + resolution: {integrity: sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==} + engines: {node: '>=0.10.0'} + dev: true + + /worker-farm@1.7.0: + resolution: {integrity: sha512-rvw3QTZc8lAxyVrqcSGVm5yP/IJ2UcB3U0graE3LCFoZ0Yn2x4EoVSqJKdB/T5M+FLcRPjz4TDacRf3OCfNUzw==} + dependencies: + errno: 0.1.8 + dev: true + + /wrap-ansi@2.1.0: + resolution: {integrity: sha512-vAaEaDM946gbNpH5pLVNR+vX2ht6n0Bt3GXwVB1AuAqZosOvHNF3P7wDnh8KLkSqgUh0uh77le7Owgoz+Z9XBw==} + engines: {node: '>=0.10.0'} + dependencies: + string-width: 1.0.2 + strip-ansi: 3.0.1 + dev: true + + /wrap-ansi@5.1.0: + resolution: {integrity: sha512-QC1/iN/2/RPVJ5jYK8BGttj5z83LmSKmvbvrXPNCLZSEb32KKVDJDl/MOt2N01qU2H/FkzEa9PKto1BqDjtd7Q==} + engines: {node: '>=6'} + dependencies: + ansi-styles: 3.2.1 + string-width: 3.1.0 + strip-ansi: 5.2.0 + dev: true + + /wrap-ansi@7.0.0: + resolution: {integrity: sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==} + engines: {node: '>=10'} + dependencies: + ansi-styles: 4.3.0 + string-width: 4.2.3 + strip-ansi: 6.0.1 + dev: true + + /wrap-ansi@8.1.0: + resolution: {integrity: sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==} + engines: {node: '>=12'} + dependencies: + ansi-styles: 6.2.1 + string-width: 5.1.2 + strip-ansi: 7.1.0 + dev: true + + /wrappy@1.0.2: + resolution: {integrity: sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==} + dev: true + + /write-file-atomic@4.0.2: + resolution: {integrity: sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==} + engines: {node: ^12.13.0 || ^14.15.0 || >=16.0.0} + dependencies: + imurmurhash: 0.1.4 + signal-exit: 3.0.7 + dev: true + + /write@1.0.3: + resolution: {integrity: sha512-/lg70HAjtkUgWPVZhZcm+T4hkL8Zbtp1nFNOn3lRrxnlv50SRBv7cR7RqR+GMsd3hUXy9hWBo4CHTbFTcOYwig==} + engines: {node: '>=4'} + dependencies: + mkdirp: 0.5.6 + dev: true + + /ws@7.5.9: + resolution: {integrity: sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==} + engines: {node: '>=8.3.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: ^5.0.2 + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + + /ws@8.16.0: + resolution: {integrity: sha512-HS0c//TP7Ina87TfiPUz1rQzMhHrl/SG2guqRcTOIUYD2q8uhUdNHZYJUaQ8aTGPzCh+c6oawMKW35nFl1dxyQ==} + engines: {node: '>=10.0.0'} + peerDependencies: + bufferutil: ^4.0.1 + utf-8-validate: '>=5.0.2' + peerDependenciesMeta: + bufferutil: + optional: true + utf-8-validate: + optional: true + dev: true + + /xml-name-validator@4.0.0: + resolution: {integrity: sha512-ICP2e+jsHvAj2E2lIHxa5tjXRlKDJo4IdvPvCXbXQGdzSfmSpNVyIKMvoZHjDY9DP0zV17iI85o90vRFXNccRw==} + engines: {node: '>=12'} + dev: true + + /xmlchars@2.2.0: + resolution: {integrity: sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==} + dev: true + + /xtend@4.0.2: + resolution: {integrity: sha512-LKYU1iAXJXUgAXn9URjiu+MWhyUXHsvfp7mcuYm9dSUKK0/CjtrUwFAxD82/mCWbtLsGjFIad0wIsod4zrTAEQ==} + engines: {node: '>=0.4'} + dev: true + + /y18n@3.2.2: + resolution: {integrity: sha512-uGZHXkHnhF0XeeAPgnKfPv1bgKAYyVvmNL1xlKsPYZPaIHxGti2hHqvOCQv71XMsLxu1QjergkqogUnms5D3YQ==} + dev: true + + /y18n@4.0.3: + resolution: {integrity: sha512-JKhqTOwSrqNA1NY5lSztJ1GrBiUodLMmIZuLiDaMRJ+itFd+ABVE8XBjOvIWL+rSqNDC74LCSFmlb/U4UZ4hJQ==} + dev: true + + /y18n@5.0.8: + resolution: {integrity: sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==} + engines: {node: '>=10'} + dev: true + + /yallist@2.1.2: + resolution: {integrity: sha512-ncTzHV7NvsQZkYe1DW7cbDLm0YpzHmZF5r/iyP3ZnQtMiJ+pjzisCiMNI+Sj+xQF5pXhSHxSB3uDbsBTzY/c2A==} + dev: true + + /yallist@3.1.1: + resolution: {integrity: sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==} + dev: true + + /yallist@4.0.0: + resolution: {integrity: sha512-3wdGidZyq5PB084XLES5TpOSRA3wjXAlIWMhum2kRcv/41Sn2emQ0dycQW4uZXLejwKvg6EsvbdlVL+FYEct7A==} + dev: true + + /yaml@2.4.1: + resolution: {integrity: sha512-pIXzoImaqmfOrL7teGUBt/T7ZDnyeGBWyXQBvOVhLkWLN37GXv8NMLK406UY6dS51JfcQHsmcW5cJ441bHg6Lg==} + engines: {node: '>= 14'} + hasBin: true + dev: true + + /yargs-parser@13.1.2: + resolution: {integrity: sha512-3lbsNRf/j+A4QuSZfDRA7HRSfWrzO0YjqTJd5kjAq37Zep1CEgaYmrH9Q3GwPiB9cHyd1Y1UwggGhJGoxipbzg==} + dependencies: + camelcase: 5.3.1 + decamelize: 1.2.0 + dev: true + + /yargs-parser@21.1.1: + resolution: {integrity: sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==} + engines: {node: '>=12'} + dev: true + + /yargs@13.3.2: + resolution: {integrity: sha512-AX3Zw5iPruN5ie6xGRIDgqkT+ZhnRlZMLMHAs8tg7nRruy2Nb+i5o9bwghAogtM08q1dpr2LVoS8KSTMYpWXUw==} + dependencies: + cliui: 5.0.0 + find-up: 3.0.0 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + require-main-filename: 2.0.0 + set-blocking: 2.0.0 + string-width: 3.1.0 + which-module: 2.0.1 + y18n: 4.0.3 + yargs-parser: 13.1.2 + dev: true + + /yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} + engines: {node: '>=12'} + dependencies: + cliui: 8.0.1 + escalade: 3.1.2 + get-caller-file: 2.0.5 + require-directory: 2.1.1 + string-width: 4.2.3 + y18n: 5.0.8 + yargs-parser: 21.1.1 + dev: true + + /yargs@3.32.0: + resolution: {integrity: sha512-ONJZiimStfZzhKamYvR/xvmgW3uEkAUFSP91y2caTEPhzF6uP2JfPiVZcq66b/YR0C3uitxSV7+T1x8p5bkmMg==} + dependencies: + camelcase: 2.1.1 + cliui: 3.2.0 + decamelize: 1.2.0 + os-locale: 1.4.0 + string-width: 1.0.2 + window-size: 0.1.4 + y18n: 3.2.2 + dev: true + + /yocto-queue@0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: true diff --git a/src/api/statistics.ts b/src/api/statistics.ts index ee67ae8..c12ca1d 100644 --- a/src/api/statistics.ts +++ b/src/api/statistics.ts @@ -17,7 +17,7 @@ function getColumnValues(view: View, column: string): any[] { // statistics STATISTICS_METHODS.forEach((method) => { // @ts-ignore; - View.prototype[method] = function(column: string) { + View.prototype[method] = function (column: string) { // @ts-ignore return simpleStatistics[method](getColumnValues(this, column)); }; diff --git a/src/connector/graph.ts b/src/connector/graph.ts index c568b7c..a0a787d 100644 --- a/src/connector/graph.ts +++ b/src/connector/graph.ts @@ -30,6 +30,7 @@ function connector(data: any, options: Options, dataView: View): any { } // @ts-ignore dataView.rows = dataView.graph = { + // @ts-ignore nodes: nodes!(data), edges: edges!(data), }; diff --git a/src/data-set.ts b/src/data-set.ts index b445cb0..476d0f8 100644 --- a/src/data-set.ts +++ b/src/data-set.ts @@ -1,3 +1,7 @@ +/** + * @jest-environment jsdom + */ + import { assign, isNil, isObject, uniqueId } from '@antv/util'; import EventEmitter from 'wolfy87-eventemitter'; import { View, ViewOptions } from './view'; diff --git a/src/index.ts b/src/index.ts index cfe2eed..4f10cd9 100644 --- a/src/index.ts +++ b/src/index.ts @@ -16,59 +16,137 @@ import './connector/topojson'; // transforms // static -import './transform/default'; -import './transform/filter'; -import './transform/fold'; -import './transform/map'; -import './transform/partition'; -import './transform/percent'; -import './transform/pick'; -import './transform/proportion'; -import './transform/rename'; -import './transform/reverse'; -import './transform/sort'; -import './transform/sort-by'; -import './transform/subset'; + +import { defaultTransform } from './transform/default'; +import { filterTransform } from './transform/filter'; +import { foldTransform } from './transform/fold'; +import { mapTransform } from './transform/map'; +import { partitionTransform } from './transform/partition'; +import { percentTransform } from './transform/percent'; +import { pickTransform } from './transform/pick'; +import { proportionTransform } from './transform/proportion'; +import { renameTransform } from './transform/rename'; +import { reverseTransform } from './transform/reverse'; +import { sortTransform } from './transform/sort'; +import { sortByTransform } from './transform/sort-by'; +import { subsetTransform } from './transform/subset'; +import { groupTransform } from './transform/group'; // imputation -import './transform/fill-rows'; -import './transform/impute'; +import { fillRowsTransform } from './transform/fill-rows'; + +import { imputeTransform } from './transform/impute'; // statistics -import './transform/aggregate'; +import { aggregateTransform } from './transform/aggregate'; // regression -import './transform/regression'; +import { regressionTransform } from './transform/regression'; // KDE -import './transform/kde'; +import { kdeTransform } from './transform/kde'; // binning -import './transform/bin/hexagon'; -import './transform/bin/histogram'; -import './transform/bin/quantile'; -import './transform/bin/rectangle'; +import { hexagonTransform } from './transform/bin/hexagon'; +import { histogramTransform } from './transform/bin/histogram'; +import { quantileTransform } from './transform/bin/quantile'; +import { rectangleTransform } from './transform/bin/rectangle'; // geo -import './transform/geo/centroid'; -import './transform/geo/projection'; -import './transform/geo/region'; +import { centroidTransform } from './transform/geo/centroid'; +import { projectionTransform } from './transform/geo/projection'; +import { regionTransform } from './transform/geo/region'; + // diagram -import './transform/diagram/arc'; -import './transform/diagram/dagre'; -import './transform/diagram/sankey'; -import './transform/diagram/voronoi'; +import { arcTransform } from './transform/diagram/arc'; +import { dagreTransform } from './transform/diagram/dagre'; +import { sankeyTransform } from './transform/diagram/sankey'; +import { voronoiTransform } from './transform/diagram/voronoi'; + // hierarchy -import './transform/hierarchy/cluster'; -import './transform/hierarchy/compact-box'; -import './transform/hierarchy/dendrogram'; -import './transform/hierarchy/indented'; -import './transform/hierarchy/pack'; -import './transform/hierarchy/partition'; -import './transform/hierarchy/tree'; -import './transform/hierarchy/treemap'; +import { clusterTransform } from './transform/hierarchy/cluster'; +import { compactBoxTransform } from './transform/hierarchy/compact-box'; +import { dendrogramTransform } from './transform/hierarchy/dendrogram'; +import { indentedTransform } from './transform/hierarchy/indented'; +import { packTransform } from './transform/hierarchy/pack'; +import { adjacencyTransform } from './transform/hierarchy/partition'; +import { treeTransform } from './transform/hierarchy/tree'; +import { treemapTransform } from './transform/hierarchy/treemap'; + // tag cloud -import './transform/tag-cloud'; +import { tagCloudTransform } from './transform/tag-cloud'; // waffle -import './transform/waffle'; +import { waffleTransform } from './transform/waffle'; // kernel smoothing -import './transform/kernel-smooth/density'; -import './transform/kernel-smooth/regression'; +import { kernelSmoothDensityTransform } from './transform/kernel-smooth/density'; +import { kernelRegressionTransform } from './transform/kernel-smooth/regression'; import { DataSet } from './data-set'; -export = DataSet; +DataSet.registerTransform('default', defaultTransform); +DataSet.registerTransform('aggregate', aggregateTransform); +DataSet.registerTransform('summary', aggregateTransform); +DataSet.registerTransform('fill-rows', fillRowsTransform); +DataSet.registerTransform('fillRows', fillRowsTransform); +DataSet.registerTransform('filter', filterTransform); +DataSet.registerTransform('fold', foldTransform); +DataSet.registerTransform('impute', imputeTransform); +DataSet.registerTransform('kernel-density-estimation', kdeTransform); +DataSet.registerTransform('kde', kdeTransform); +DataSet.registerTransform('KDE', kdeTransform); +DataSet.registerTransform('map', mapTransform); +DataSet.registerTransform('partition', partitionTransform); +DataSet.registerTransform('group', groupTransform); +DataSet.registerTransform('groups', groupTransform); +DataSet.registerTransform('percent', percentTransform); +DataSet.registerTransform('pick', pickTransform); +DataSet.registerTransform('proportion', proportionTransform); +DataSet.registerTransform('regression', regressionTransform); +DataSet.registerTransform('rename', renameTransform); +DataSet.registerTransform('rename-fields', renameTransform); +DataSet.registerTransform('reverse', reverseTransform); +DataSet.registerTransform('sort-by', sortByTransform); +DataSet.registerTransform('sortBy', sortByTransform); +DataSet.registerTransform('sort', sortTransform); +DataSet.registerTransform('subset', subsetTransform); +DataSet.registerTransform('waffle', waffleTransform); +DataSet.registerTransform('bin.hexagon', hexagonTransform); +DataSet.registerTransform('bin.hex', hexagonTransform); +DataSet.registerTransform('hexbin', hexagonTransform); +DataSet.registerTransform('bin.histogram', histogramTransform); +DataSet.registerTransform('bin.dot', histogramTransform); +DataSet.registerTransform('bin.quantile', quantileTransform); +DataSet.registerTransform('bin.rectangle', rectangleTransform); +DataSet.registerTransform('bin.rect', rectangleTransform); +DataSet.registerTransform('diagram.arc', arcTransform); +DataSet.registerTransform('arc', arcTransform); +DataSet.registerTransform('diagram.dagre', dagreTransform); +DataSet.registerTransform('dagre', dagreTransform); +DataSet.registerTransform('diagram.sankey', sankeyTransform); +DataSet.registerTransform('sankey', sankeyTransform); +DataSet.registerTransform('diagram.voronoi', voronoiTransform); +DataSet.registerTransform('voronoi', voronoiTransform); +DataSet.registerTransform('geo.centroid', centroidTransform); +DataSet.registerTransform('geo.projection', projectionTransform); +DataSet.registerTransform('geo.region', regionTransform); +DataSet.registerTransform('hierarchy.cluster', clusterTransform); +DataSet.registerTransform('dendrogram', clusterTransform); +DataSet.registerTransform('hierarchy.compact-box', compactBoxTransform); +DataSet.registerTransform('compact-box-tree', compactBoxTransform); +DataSet.registerTransform('non-layered-tidy-tree', compactBoxTransform); +DataSet.registerTransform('mindmap-logical', compactBoxTransform); +DataSet.registerTransform('hierarchy.dendrogram', dendrogramTransform); +DataSet.registerTransform('dendrogram', dendrogramTransform); +DataSet.registerTransform('hierarchy.indented', indentedTransform); +DataSet.registerTransform('indented-tree', indentedTransform); +DataSet.registerTransform('hierarchy.pack', packTransform); +DataSet.registerTransform('hierarchy.circle-packing', packTransform); +DataSet.registerTransform('circle-packing', packTransform); +DataSet.registerTransform('hierarchy.partition', adjacencyTransform); +DataSet.registerTransform('adjacency', adjacencyTransform); +DataSet.registerTransform('hierarchy.tree', treeTransform); +DataSet.registerTransform('tree', treeTransform); +DataSet.registerTransform('hierarchy.treemap', treemapTransform); +DataSet.registerTransform('treemap', treemapTransform); +DataSet.registerTransform('kernel-smooth.density', kernelSmoothDensityTransform); +DataSet.registerTransform('kernel.density', kernelSmoothDensityTransform); +DataSet.registerTransform('kernel-smooth.regression', kernelRegressionTransform); +DataSet.registerTransform('kernel.regression', kernelRegressionTransform); +DataSet.registerTransform('tag-cloud', tagCloudTransform); +DataSet.registerTransform('word-cloud', tagCloudTransform); + +export default DataSet; diff --git a/src/transform/aggregate.ts b/src/transform/aggregate.ts index 18fd9a6..1cd0222 100644 --- a/src/transform/aggregate.ts +++ b/src/transform/aggregate.ts @@ -1,8 +1,7 @@ -import { assign, flattenDeep, forIn, isArray, isString, keys, uniq } from '@antv/util'; +import { assign, flattenDeep, forIn, isArray, isString, uniq } from '@antv/util'; import * as simpleStatistics from 'simple-statistics'; import partition from '../util/partition'; import { DataSet } from '../data-set'; -const { registerTransform } = DataSet; import { getFields } from '../util/option-parser'; import { View } from '../view'; @@ -56,7 +55,8 @@ DataSet.CONSTANTS.STATISTICS_METHODS.forEach((method) => { }); aggregates.average = aggregates.mean; -function transform(dataView: View, options: Options): void { +function aggregate(items: View['rows'], options: Options): any[] { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); if (!isArray(fields)) { @@ -84,7 +84,7 @@ function transform(dataView: View, options: Options): void { throw new TypeError("Invalid as: it's length must be the same as fields!"); } } - const groups = partition(dataView.rows, options.groupBy); + const groups = partition(rows, options.groupBy); const results: any[] = []; forIn(groups, (group) => { const result = group[0]; @@ -95,12 +95,11 @@ function transform(dataView: View, options: Options): void { }); results.push(result); }); - dataView.rows = results; + return results; } -registerTransform('aggregate', transform); -registerTransform('summary', transform); - -export default { - VALID_AGGREGATES: keys(aggregates), +const aggregateTransform = (dataView: View, options: Options): void => { + dataView.rows = aggregate(dataView.rows, options); }; + +export { aggregates, aggregate, aggregateTransform }; diff --git a/src/transform/bin/hexagon.ts b/src/transform/bin/hexagon.ts index 585756c..6eb4264 100644 --- a/src/transform/bin/hexagon.ts +++ b/src/transform/bin/hexagon.ts @@ -1,7 +1,7 @@ import { assign, forIn, isArray } from '@antv/util'; -import { DataSet } from '../../data-set'; import { getFields } from '../../util/option-parser'; import { View } from '../../view'; +import { range } from '../default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'y', 'count'], @@ -72,7 +72,8 @@ function generateBins(points: [number, number][], binWidth = [1, 1], offset = [0 return bins; } -function transform(dataView: View, options: Options): void { +const hexagon = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; // step1: get binWidth, etc. options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); @@ -80,8 +81,8 @@ function transform(dataView: View, options: Options): void { throw new TypeError('Invalid fields: it must be an array with 2 strings!'); } const [fieldX, fieldY] = fields; - const rangeFieldX = dataView.range(fieldX); - const rangeFieldY = dataView.range(fieldY); + const rangeFieldX = range(rows, fieldX); + const rangeFieldY = range(rows, fieldY); const widthX = rangeFieldX[1] - rangeFieldX[0]; const widthY = rangeFieldY[1] - rangeFieldY[0]; let binWidth = options.binWidth || []; @@ -108,7 +109,7 @@ function transform(dataView: View, options: Options): void { const [offsetX, offsetY] = options.offset; const yScale = (3 * binWidth[0]) / (SQRT3 * binWidth[1]); // const yScale = binWidth[0] / (SQRT3 * binWidth[1]); - const points: [number, number][] = dataView.rows.map((row) => [row[fieldX], yScale * row[fieldY]]); + const points: [number, number][] = rows.map((row) => [row[fieldX], yScale * row[fieldY]]); // step3: binning const bins = generateBins(points, [binWidth[0], yScale * binWidth[1]], [offsetX, yScale * offsetY]); // step4: restore scale (for Y) @@ -140,10 +141,11 @@ function transform(dataView: View, options: Options): void { } result.push(row); }); + return result; +}; - dataView.rows = result; +function hexagonTransform(dataView: View, options: Options): void { + dataView.rows = hexagon(dataView.rows, options); } -DataSet.registerTransform('bin.hexagon', transform); -DataSet.registerTransform('bin.hex', transform); -DataSet.registerTransform('hexbin', transform); +export { hexagon, hexagonTransform }; diff --git a/src/transform/bin/histogram.ts b/src/transform/bin/histogram.ts index 092d21d..ab2b72c 100644 --- a/src/transform/bin/histogram.ts +++ b/src/transform/bin/histogram.ts @@ -1,8 +1,9 @@ import { assign, forIn, pick } from '@antv/util'; import partition from '../../util/partition'; -import { DataSet } from '../../data-set'; + import { getField } from '../../util/option-parser'; import { View } from '../../view'; +import { range } from '../default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'count'], @@ -33,14 +34,15 @@ function sturges(dataLength: number): number { return Math.ceil(Math.log(dataLength) / Math.LN2) + 1; } -function transform(dataView: View, options: Options): void { +const histogram = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); - if (dataView.rows.length === 0) { - return; + if (rows.length === 0) { + return []; } - const range = dataView.range(field); - const width = range[1] - range[0]; + const ranged = range(rows, field); + const width = ranged[1] - ranged[0]; let binWidth = options.binWidth; const bins = options.bins; @@ -51,16 +53,16 @@ function transform(dataView: View, options: Options): void { binWidth = width / bins; } if (!binWidth && !bins) { - const binNumber = sturges(dataView.rows.length); + const binNumber = sturges(rows.length); binWidth = width / binNumber; } const offset = options.offset % binWidth; // grouping - const rows: any[] = []; + const result: any[] = []; const groupBy = options.groupBy; - const groups = partition(dataView.rows, groupBy); + const groups = partition(rows, groupBy); forIn(groups, (group: any[]) => { const bins: any = {}; const column = group.map((row) => row[field]); @@ -84,11 +86,15 @@ function transform(dataView: View, options: Options): void { const row = assign({}, meta); row[asX] = [bin.x0, bin.x1]; row[asCount] = bin.count; - rows.push(row); + result.push(row); }); }); - dataView.rows = rows; + + return result; +}; + +function histogramTransform(dataView: View, options: Options): void { + dataView.rows = histogram(dataView.rows, options); } -DataSet.registerTransform('bin.histogram', transform); -DataSet.registerTransform('bin.dot', transform); +export { histogram, histogramTransform }; diff --git a/src/transform/bin/quantile.ts b/src/transform/bin/quantile.ts index e8a4887..06ea054 100644 --- a/src/transform/bin/quantile.ts +++ b/src/transform/bin/quantile.ts @@ -1,9 +1,7 @@ import { assign, forIn, isArray, isString } from '@antv/util'; -import { quantile } from 'simple-statistics'; +import { quantile as _quantile } from 'simple-statistics'; import partition from '../../util/partition'; import pByFraction from '../../util/p-by-fraction'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import { getField } from '../../util/option-parser'; import { View } from '../../view'; @@ -22,7 +20,8 @@ export interface Options { field: string; } -function transform(dataView: View, options: Options): void { +const quantile = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); const as = options.as; @@ -34,7 +33,6 @@ function transform(dataView: View, options: Options): void { if (!isArray(pArray) || pArray.length === 0) { pArray = pByFraction(fraction); } - const rows = dataView.rows; const groupBy = options.groupBy; const groups: Record = partition(rows, groupBy); const result: any[] = []; @@ -42,11 +40,15 @@ function transform(dataView: View, options: Options): void { // const resultRow = pick(group[0], groupBy); const resultRow = group[0]; const binningColumn = group.map((row) => row[field]); - const quantiles = pArray.map((p) => quantile(binningColumn, p)); + const quantiles = pArray.map((p) => _quantile(binningColumn, p)); resultRow[as] = quantiles; result.push(resultRow); }); - dataView.rows = result; + return result; +}; + +function quantileTransform(dataView: View, options: Options): void { + dataView.rows = quantile(dataView.rows, options); } -registerTransform('bin.quantile', transform); +export { quantile, quantileTransform }; diff --git a/src/transform/bin/rectangle.ts b/src/transform/bin/rectangle.ts index c708537..ab03277 100644 --- a/src/transform/bin/rectangle.ts +++ b/src/transform/bin/rectangle.ts @@ -1,8 +1,7 @@ import { assign, forIn } from '@antv/util'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import { getFields } from '../../util/option-parser'; import { View } from '../../view'; +import { range } from '../default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'y', 'count'], @@ -28,14 +27,15 @@ function nearestBin(value: number, scale: number, offset: number): [number, numb return [div * scale + offset, (div + 1) * scale + offset]; } -function transform(dataView: View, options: Options): void { +const rectangle = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const [fieldX, fieldY] = getFields(options); if (!fieldX || !fieldY) { throw new TypeError('Invalid fields: must be an array with 2 strings!'); } - const rangeFieldX = dataView.range(fieldX); - const rangeFieldY = dataView.range(fieldY); + const rangeFieldX = range(rows, fieldX); + const rangeFieldY = range(rows, fieldY); const widthX = rangeFieldX[1] - rangeFieldX[0]; const widthY = rangeFieldY[1] - rangeFieldY[0]; let binWidth = options.binWidth || []; @@ -46,7 +46,7 @@ function transform(dataView: View, options: Options): void { } binWidth = [widthX / binsX, widthY / binsY]; } - const points = dataView.rows.map((row) => [row[fieldX], row[fieldY]]); + const points = rows.map((row) => [row[fieldX], row[fieldY]]); const bins: any = {}; const [offsetX, offsetY] = options.offset; points.forEach((point) => { @@ -62,7 +62,7 @@ function transform(dataView: View, options: Options): void { }; bins[binKey].count++; }); - const rows: any = []; + const result: any = []; const [asX, asY, asCount] = options.as; if (!asX || !asY || !asCount) { throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ "x", "y", "count" ])!'); @@ -78,7 +78,7 @@ function transform(dataView: View, options: Options): void { row[asX] = [bin.x0, bin.x1, bin.x1, bin.x0]; row[asY] = [bin.y0, bin.y0, bin.y1, bin.y1]; row[asCount] = bin.count; - rows.push(row); + result.push(row); }); } else { let maxCount = 0; @@ -101,11 +101,15 @@ function transform(dataView: View, options: Options): void { row[asX] = [x01, x11, x11, x01]; row[asY] = [y01, y01, y11, y11]; row[asCount] = count; - rows.push(row); + result.push(row); }); } - dataView.rows = rows; + + return result; +}; + +function rectangleTransform(dataView: View, options: Options): void { + dataView.rows = rectangle(dataView.rows, options); } -registerTransform('bin.rectangle', transform); -registerTransform('bin.rect', transform); +export { rectangle, rectangleTransform }; diff --git a/src/transform/default.ts b/src/transform/default.ts index a6010fa..4e22eb3 100644 --- a/src/transform/default.ts +++ b/src/transform/default.ts @@ -1,6 +1,57 @@ -import { DataSet } from '../data-set'; +import { keys, pick } from '@antv/util'; import { View } from '../view'; +import { flattenDeep, isArray } from '@antv/util'; +import { min as _min, max as _max } from 'simple-statistics'; -DataSet.registerTransform('default', (dataView: View) => { +const getColumn = (rows: any[], columnName: string): any[] => { + return (rows || []).map((row) => row[columnName]); +}; +const getColumnNames = (rows: any[]): string[] => { + rows = rows || []; + const firstRow = rows[0]; + if (firstRow) { + return keys(firstRow); + } + return []; +}; + +const getColumnName = (rows: any[], index: number): string => { + return getColumnNames(rows)[index]; +}; + +const getColumnValues = (rows: View['rows'], column: string): any[] => { + let values = getColumn(rows, column); + if (isArray(values) && isArray(values[0])) { + values = flattenDeep(values); + } + return values; +}; + +const min = (rows: any[], column: string): number => { + const values = getColumnValues(rows, column); + return _min(values); +}; + +const max = (rows: any[], column: string): number => { + const values = getColumnValues(rows, column); + return _max(values); +}; + +const range = (rows: any[], column: string): [number, number] => { + return [min(rows, column), max(rows, column)]; +}; + +// data process +const getSubset = (rows: any[], startRowIndex: number, endRowIndex: number, columnNames: string[]): any[] => { + const subset = []; + for (let i = startRowIndex; i <= endRowIndex; i++) { + subset.push(pick(rows[i], columnNames)); + } + return subset; +}; + +const defaultTransform = (dataView: View): View => { return dataView; -}); +}; + +export { defaultTransform, getColumn, getColumnNames, range, getColumnName, getSubset }; diff --git a/src/transform/diagram/arc.ts b/src/transform/diagram/arc.ts index 287789e..9a5626f 100644 --- a/src/transform/diagram/arc.ts +++ b/src/transform/diagram/arc.ts @@ -3,7 +3,6 @@ * graph data required (nodes, edges) */ import { assign, forIn, isArray, values, isFunction } from '@antv/util'; -import { DataSet } from '../../data-set'; import { View } from '../../view'; const DEFAULT_OPTIONS = { @@ -178,25 +177,33 @@ function _locatingEdges(nodeById, edges, options) { } } -function transform(dv: View, options) { +const arc = (nodes: any[], edges: any[], options) => { + let clonedNodes = [...(nodes || [])]; + const clonedEdges = [...(edges || [])]; + options = assign({}, DEFAULT_OPTIONS, options); const nodeById = {}; - let nodes = dv.nodes; - const edges = dv.edges; - if (!isArray(nodes) || nodes.length === 0) { - nodes = _nodesFromEdges(edges, options, nodeById); + + if (!isArray(clonedNodes) || clonedNodes.length === 0) { + clonedNodes = _nodesFromEdges(clonedNodes, options, nodeById); } - nodes.forEach((node) => { + clonedNodes.forEach((node) => { const id = options.id(node); nodeById[id] = node; }); - _processGraph(nodeById, edges, options); - _sortNodes(nodes, options); - _layoutNodes(nodes, options); - _locatingEdges(nodeById, edges, options); + _processGraph(nodeById, clonedEdges, options); + _sortNodes(clonedNodes, options); + _layoutNodes(clonedNodes, options); + _locatingEdges(nodeById, clonedEdges, options); + return { + nodes: clonedNodes, + edges: clonedEdges, + }; +}; +const arcTransform = (dv: View, options): void => { + const { nodes, edges } = arc(dv.nodes, dv.edges, options); dv.nodes = nodes; dv.edges = edges; -} +}; -DataSet.registerTransform('diagram.arc', transform); -DataSet.registerTransform('arc', transform); +export { arc, arcTransform }; diff --git a/src/transform/diagram/dagre.ts b/src/transform/diagram/dagre.ts index 9132296..51b0bc0 100644 --- a/src/transform/diagram/dagre.ts +++ b/src/transform/diagram/dagre.ts @@ -3,8 +3,7 @@ * graph data required (nodes, edges) */ import { assign } from '@antv/util'; -import dagre from 'dagre'; -import { DataSet } from '../../data-set'; +import dagreFn from 'dagre'; import { View } from '../../view'; const DEFAULT_OPTIONS = { @@ -18,27 +17,27 @@ const DEFAULT_OPTIONS = { target: (edge) => edge.target, }; -function transform(dv: View, options) { +const dagre = (dvNodes: any[], dvEdges: any[], options) => { options = assign({}, DEFAULT_OPTIONS, options); - const g = new dagre.graphlib.Graph(); + const g = new dagreFn.graphlib.Graph(); // Set an object for the graph label g.setGraph({}); // Default to assigning a new object as a label for each new edge. - g.setDefaultEdgeLabel(function() { + g.setDefaultEdgeLabel(function () { return {}; }); - dv.nodes.forEach((node) => { + dvNodes.forEach((node) => { const nodeId = options.nodeId ? options.nodeId(node) : node.id; if (!node.height && !node.width) { node.height = node.width = options.edgesep; } g.setNode(nodeId, node); }); - dv.edges.forEach((edge) => { + dvEdges.forEach((edge) => { g.setEdge(options.source(edge), options.target(edge)); }); - dagre.layout(g); + dagreFn.layout(g); const nodes = []; const edges = []; @@ -66,9 +65,16 @@ function transform(dv: View, options) { edges.push(e); }); + return { + nodes, + edges, + }; +}; + +function dagreTransform(dv: View, options) { + const { nodes, edges } = dagre(dv.nodes, dv.edges, options); dv.nodes = nodes; dv.edges = edges; } -DataSet.registerTransform('diagram.dagre', transform); -DataSet.registerTransform('dagre', transform); +export { dagre, dagreTransform }; diff --git a/src/transform/diagram/sankey.ts b/src/transform/diagram/sankey.ts index 5522c07..c7676bd 100644 --- a/src/transform/diagram/sankey.ts +++ b/src/transform/diagram/sankey.ts @@ -3,8 +3,7 @@ * graph data required (nodes, edges) */ import { assign, isString, isFunction } from '@antv/util'; -import { sankey, sankeyLeft, sankeyRight, sankeyCenter, sankeyJustify } from 'd3-sankey'; -import { DataSet } from '../../data-set'; +import { sankey as _sankey, sankeyLeft, sankeyRight, sankeyCenter, sankeyJustify } from 'd3-sankey'; import { View } from '../../view'; const ALIGN_METHOD = { @@ -43,7 +42,7 @@ export interface Options { nodePadding?: number; } -function transform(dv: View, options: Options): void { +const sankey = (dvNodes, dvEdges, options) => { options = assign({} as Options, DEFAULT_OPTIONS, options); let nodeAlign = null; if (isString(options.nodeAlign)) { @@ -51,7 +50,7 @@ function transform(dv: View, options: Options): void { } else if (isFunction(options.nodeAlign)) { nodeAlign = options.nodeAlign; } - const sankeyProcessor = sankey() + const sankeyProcessor = _sankey() .nodeSort(options.sort) .links((d: any) => d.edges) .nodeWidth(options.nodeWidth!) @@ -70,7 +69,7 @@ function transform(dv: View, options: Options): void { // @ts-ignore sankeyProcessor(dv); // post process (x, y), etc. - dv.nodes.forEach((node) => { + dvNodes.forEach((node) => { const { x0, x1, y0, y1 } = node; /* points * 3---2 @@ -80,7 +79,7 @@ function transform(dv: View, options: Options): void { node.x = [x0, x1, x1, x0]; node.y = [y0, y0, y1, y1]; }); - dv.edges.forEach((edge) => { + dvEdges.forEach((edge) => { const { source, target } = edge; const sx = source.x1; const tx = target.x0; @@ -88,7 +87,17 @@ function transform(dv: View, options: Options): void { const offset = edge.width / 2; edge.y = [edge.y0 + offset, edge.y0 - offset, edge.y1 + offset, edge.y1 - offset]; }); + + return { + nodes: dvNodes, + edges: dvEdges, + }; +}; + +function sankeyTransform(dv: View, options: Options): void { + const { nodes, edges } = sankey(dv.nodes, dv.edges, options); + dv.nodes = nodes; + dv.edges = edges; } -DataSet.registerTransform('diagram.sankey', transform); -DataSet.registerTransform('sankey', transform); +export { sankey, sankeyTransform }; diff --git a/src/transform/diagram/voronoi.ts b/src/transform/diagram/voronoi.ts index f2a2ee3..0c482fb 100644 --- a/src/transform/diagram/voronoi.ts +++ b/src/transform/diagram/voronoi.ts @@ -1,7 +1,5 @@ import * as d3Voronoi from 'd3-voronoi'; import { assign, isArray } from '@antv/util'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import { getFields } from '../../util/option-parser'; import { View } from '../../view'; @@ -19,7 +17,8 @@ export interface Options { as?: [string, string]; } -function transform(dataView: View, options: Options): void { +const voronoi = (dvRows: View['rows'], options: Options): any[] => { + const rows = [...(dvRows || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const as = options.as; @@ -36,7 +35,6 @@ function transform(dataView: View, options: Options): void { const x = fields[0]; const y = fields[1]; - const rows = dataView.rows; const data: [number, number][] = rows.map((row) => [row[x], row[y]]); const voronoi = d3Voronoi.voronoi(); if (options.extend) { @@ -51,7 +49,12 @@ function transform(dataView: View, options: Options): void { row[xField] = polygon.map((point) => point[0]); row[yField] = polygon.map((point) => point[1]); }); + + return rows; +}; + +function voronoiTransform(dataView: View, options: Options): void { + dataView.rows = voronoi(dataView.rows, options); } -registerTransform('diagram.voronoi', transform); -registerTransform('voronoi', transform); +export { voronoi, voronoiTransform }; diff --git a/src/transform/fill-rows.ts b/src/transform/fill-rows.ts index 84b1d6d..e846f4b 100644 --- a/src/transform/fill-rows.ts +++ b/src/transform/fill-rows.ts @@ -1,6 +1,5 @@ import { assign, forIn } from '@antv/util'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { View } from '../view'; const DEFAULT_OPTIONS: Options = { @@ -27,9 +26,10 @@ function arrayDifference(arr1: string[], arr2: string[]): string[] { return shadow; } -function transform(dataView: View, options: Options): void { +const fillRows = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); - const rows = dataView.rows; + const groupBy = options.groupBy; const orderBy = options.orderBy; const groups = partition(rows, groupBy, orderBy); @@ -102,7 +102,12 @@ function transform(dataView: View, options: Options): void { }); } }); + + return rows; +}; + +function fillRowsTransform(dataView: View, options: Options): void { + dataView.rows = fillRows(dataView.rows, options); } -DataSet.registerTransform('fill-rows', transform); -DataSet.registerTransform('fillRows', transform); +export { fillRows, fillRowsTransform }; diff --git a/src/transform/filter.ts b/src/transform/filter.ts index f7f1efb..2dbb10c 100644 --- a/src/transform/filter.ts +++ b/src/transform/filter.ts @@ -1,4 +1,3 @@ -import { DataSet } from '../data-set'; import { View } from '../view'; function defaultCallback(row: any): boolean { @@ -9,6 +8,12 @@ export interface Options { callback?(item: any): boolean; } -DataSet.registerTransform('filter', (dataView: View, options: Options) => { - dataView.rows = dataView.rows.filter(options.callback || defaultCallback); -}); +const filter = (rows: View['rows'], options: Options): any[] => { + return rows.filter(options.callback || defaultCallback); +}; + +const filterTransform = (dataView: View, options: Options): void => { + dataView.rows = filter(dataView.rows, options); +}; + +export { filter, filterTransform }; diff --git a/src/transform/fold.ts b/src/transform/fold.ts index 35c05ed..6fbc56a 100644 --- a/src/transform/fold.ts +++ b/src/transform/fold.ts @@ -1,7 +1,7 @@ import { assign, difference, pick } from '@antv/util'; -import { DataSet } from '../data-set'; import { getFields } from '../util/option-parser'; import { View } from '../view'; +import { getColumnNames } from './default'; const DEFAULT_OPTIONS: Partial = { fields: [], @@ -17,8 +17,9 @@ export interface Options { retains?: string[]; } -DataSet.registerTransform('fold', (dataView: View, options: Options) => { - const columns = dataView.getColumnNames(); +const fold = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; + const columns = getColumnNames(rows); options = assign({} as Options, DEFAULT_OPTIONS, options); let fields = getFields(options); if (fields.length === 0) { @@ -32,7 +33,7 @@ DataSet.registerTransform('fold', (dataView: View, options: Options) => { retains = difference(columns, fields); } const resultRows: any[] = []; - dataView.rows.forEach((row) => { + rows.forEach((row) => { fields.forEach((field) => { const resultRow = pick(row, retains); resultRow[key] = field; @@ -40,5 +41,11 @@ DataSet.registerTransform('fold', (dataView: View, options: Options) => { resultRows.push(resultRow); }); }); - dataView.rows = resultRows; -}); + return resultRows; +}; + +const foldTransform = (dataView: View, options: Options): void => { + dataView.rows = fold(dataView.rows, options); +}; + +export { fold, foldTransform }; diff --git a/src/transform/geo/centroid.ts b/src/transform/geo/centroid.ts index 0d47aca..4dd3289 100644 --- a/src/transform/geo/centroid.ts +++ b/src/transform/geo/centroid.ts @@ -1,6 +1,4 @@ import { assign, isString, isArray } from '@antv/util'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import { getField } from '../../util/option-parser'; import { View } from '../../view'; @@ -17,7 +15,7 @@ export interface Options { as?: [string, string]; } -function transform(view: View, options: Options): void { +function centroidTransform(view: View, options: Options): void { options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); // @ts-ignore @@ -49,4 +47,4 @@ function transform(view: View, options: Options): void { }); } -registerTransform('geo.centroid', transform); +export { centroidTransform }; diff --git a/src/transform/geo/projection.ts b/src/transform/geo/projection.ts index d56dd8d..3c2f740 100644 --- a/src/transform/geo/projection.ts +++ b/src/transform/geo/projection.ts @@ -1,8 +1,6 @@ import { assign, isArray } from '@antv/util'; import { geoPath } from 'd3-geo'; import getPointAtLength from 'point-at-length'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import getGeoProjection from '../../util/get-geo-projection'; import { View } from '../../view'; @@ -16,7 +14,7 @@ export interface Options { as?: string[]; } -function transform(dataView: View, options: Options): void { +function projectionTransform(dataView: View, options: Options): void { if (dataView.dataType !== 'geo' && dataView.dataType !== 'geo-graticule') { throw new TypeError('Invalid dataView: this transform is for Geo data only!'); } @@ -53,4 +51,4 @@ function transform(dataView: View, options: Options): void { dataView.rows = dataView.rows.filter((row) => row[lonField].length !== 0); } -registerTransform('geo.projection', transform); +export { projectionTransform }; diff --git a/src/transform/geo/region.ts b/src/transform/geo/region.ts index adc1abc..fefd669 100644 --- a/src/transform/geo/region.ts +++ b/src/transform/geo/region.ts @@ -1,6 +1,4 @@ import { assign, isArray, isString } from '@antv/util'; -import { DataSet } from '../../data-set'; -const { registerTransform } = DataSet; import { getField } from '../../util/option-parser'; import { View } from '../../view'; @@ -16,7 +14,7 @@ export interface Options { as?: [string, string]; } -function transform(view: View, options: Options): void { +function regionTransform(view: View, options: Options): void { options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); // @ts-ignore @@ -47,4 +45,4 @@ function transform(view: View, options: Options): void { }); } -registerTransform('geo.region', transform); +export { regionTransform }; diff --git a/src/transform/group.ts b/src/transform/group.ts new file mode 100644 index 0000000..c6ed85a --- /dev/null +++ b/src/transform/group.ts @@ -0,0 +1,25 @@ +import { values, assign } from '@antv/util'; +import partition from '../util/partition'; +import { View } from '../view'; + +export interface Options { + groupBy: string[]; + orderBy?: string[]; +} + +const DEFAULT_OPTIONS: Options = { + groupBy: [], // optional + orderBy: [], +}; + +const group = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; + options = assign({} as Options, DEFAULT_OPTIONS, options); + return values(partition(rows, options.groupBy, options.orderBy)); +}; + +const groupTransform = (dataView: View, options: Options): void => { + dataView.rows = group(dataView.rows, options); +}; + +export { group, groupTransform }; diff --git a/src/transform/hierarchy/cluster.ts b/src/transform/hierarchy/cluster.ts index 1c59f8a..6940947 100644 --- a/src/transform/hierarchy/cluster.ts +++ b/src/transform/hierarchy/cluster.ts @@ -20,7 +20,7 @@ interface Options { as: [string, string]; } -function transform(dataView: View, options: Options) { +function clusterTransform(dataView: View, options: Options) { if (dataView.dataType !== DataSet.CONSTANTS.HIERARCHY || !dataView.root) { throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!'); } @@ -61,5 +61,4 @@ function transform(dataView: View, options: Options) { }); } -DataSet.registerTransform('hierarchy.cluster', transform); -DataSet.registerTransform('dendrogram', transform); +export { clusterTransform }; diff --git a/src/transform/hierarchy/compact-box.ts b/src/transform/hierarchy/compact-box.ts index 76a5380..a2dbab1 100644 --- a/src/transform/hierarchy/compact-box.ts +++ b/src/transform/hierarchy/compact-box.ts @@ -4,7 +4,7 @@ import { View } from '../../view'; const DEFAULT_OPTIONS = {}; -function transform(dataView: View, options) { +function compactBoxTransform(dataView: View, options) { const root = dataView.root; options = Object.assign({}, DEFAULT_OPTIONS, options); @@ -15,7 +15,4 @@ function transform(dataView: View, options) { dataView.root = hierarchy.compactBox(root, options); } -DataSet.registerTransform('hierarchy.compact-box', transform); -DataSet.registerTransform('compact-box-tree', transform); -DataSet.registerTransform('non-layered-tidy-tree', transform); -DataSet.registerTransform('mindmap-logical', transform); +export { compactBoxTransform }; diff --git a/src/transform/hierarchy/dendrogram.ts b/src/transform/hierarchy/dendrogram.ts index 54078b7..7ee7ad9 100644 --- a/src/transform/hierarchy/dendrogram.ts +++ b/src/transform/hierarchy/dendrogram.ts @@ -4,7 +4,7 @@ import { View } from '../../view'; const DEFAULT_OPTIONS = {}; -function transform(dataView: View, options) { +function dendrogramTransform(dataView: View, options) { const root = dataView.root; options = Object.assign({}, DEFAULT_OPTIONS, options); @@ -15,5 +15,4 @@ function transform(dataView: View, options) { dataView.root = hierarchy.dendrogram(root, options); } -DataSet.registerTransform('hierarchy.dendrogram', transform); -DataSet.registerTransform('dendrogram', transform); +export { dendrogramTransform }; diff --git a/src/transform/hierarchy/indented.ts b/src/transform/hierarchy/indented.ts index b919228..2ff33eb 100644 --- a/src/transform/hierarchy/indented.ts +++ b/src/transform/hierarchy/indented.ts @@ -4,7 +4,7 @@ import { View } from '../../view'; const DEFAULT_OPTIONS = {}; -function transform(dataView: View, options) { +function indentedTransform(dataView: View, options) { const root = dataView.root; options = Object.assign({}, DEFAULT_OPTIONS, options); @@ -15,5 +15,4 @@ function transform(dataView: View, options) { dataView.root = hierarchy.indented(root, options); } -DataSet.registerTransform('hierarchy.indented', transform); -DataSet.registerTransform('indented-tree', transform); +export { indentedTransform }; diff --git a/src/transform/hierarchy/pack.ts b/src/transform/hierarchy/pack.ts index 16a1488..a681973 100644 --- a/src/transform/hierarchy/pack.ts +++ b/src/transform/hierarchy/pack.ts @@ -11,7 +11,7 @@ const DEFAULT_OPTIONS = { as: ['x', 'y', 'r'], }; -function transform(dataView: View, options) { +function packTransform(dataView: View, options) { if (dataView.dataType !== DataSet.CONSTANTS.HIERARCHY) { throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!'); } @@ -51,6 +51,4 @@ function transform(dataView: View, options) { }); } -DataSet.registerTransform('hierarchy.pack', transform); -DataSet.registerTransform('hierarchy.circle-packing', transform); -DataSet.registerTransform('circle-packing', transform); +export { packTransform }; diff --git a/src/transform/hierarchy/partition.ts b/src/transform/hierarchy/partition.ts index 6e40729..2dc1bc5 100644 --- a/src/transform/hierarchy/partition.ts +++ b/src/transform/hierarchy/partition.ts @@ -24,7 +24,7 @@ export interface Options { as?: [string, string]; } -function transform(dataView: View, options: Options): void { +function adjacencyTransform(dataView: View, options: Options): void { if (dataView.dataType !== DataSet.CONSTANTS.HIERARCHY) { throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!'); } @@ -47,10 +47,7 @@ function transform(dataView: View, options: Options): void { } const partitionLayout = d3Hierarchy.partition(); - partitionLayout - .size(options.size) - .round(options.round) - .padding(options.padding); + partitionLayout.size(options.size).round(options.round).padding(options.padding); partitionLayout(root); /* @@ -71,5 +68,4 @@ function transform(dataView: View, options: Options): void { }); } -DataSet.registerTransform('hierarchy.partition', transform); -DataSet.registerTransform('adjacency', transform); +export { adjacencyTransform }; diff --git a/src/transform/hierarchy/tree.ts b/src/transform/hierarchy/tree.ts index 4e294da..1b43aec 100644 --- a/src/transform/hierarchy/tree.ts +++ b/src/transform/hierarchy/tree.ts @@ -11,7 +11,7 @@ const DEFAULT_OPTIONS = { as: ['x', 'y'], }; -function transform(dataView, options) { +function treeTransform(dataView, options) { if (dataView.dataType !== DataSet.CONSTANTS.HIERARCHY) { throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!'); } @@ -51,5 +51,4 @@ function transform(dataView, options) { }); } -DataSet.registerTransform('hierarchy.tree', transform); -DataSet.registerTransform('tree', transform); +export { treeTransform }; diff --git a/src/transform/hierarchy/treemap.ts b/src/transform/hierarchy/treemap.ts index b147306..799b436 100644 --- a/src/transform/hierarchy/treemap.ts +++ b/src/transform/hierarchy/treemap.ts @@ -45,7 +45,7 @@ export interface Options { as: [string, string]; } -function transform(dataView: View, options: Options): void { +function treemapTransform(dataView: View, options: Options): void { if (dataView.dataType !== DataSet.CONSTANTS.HIERARCHY) { throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!'); } @@ -99,5 +99,4 @@ function transform(dataView: View, options: Options): void { }); } -DataSet.registerTransform('hierarchy.treemap', transform); -DataSet.registerTransform('treemap', transform); +export { treemapTransform }; diff --git a/src/transform/impute.ts b/src/transform/impute.ts index 757803c..d13d778 100644 --- a/src/transform/impute.ts +++ b/src/transform/impute.ts @@ -1,9 +1,9 @@ import { assign, forIn, has, isFunction, isUndefined, isString } from '@antv/util'; import * as simpleStatistics from 'simple-statistics'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { getField } from '../util/option-parser'; import { View } from '../view'; +import { getColumn } from './default'; const DEFAULT_OPTIONS: Partial = { // field: '', // required @@ -42,7 +42,8 @@ STATISTICS_METHODS.forEach((method) => { imputations.value = (_row, _values, value) => value; -function transform(dataView: View, options: Options): void { +const impute = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); const method = options.method; @@ -52,8 +53,8 @@ function transform(dataView: View, options: Options): void { if (method === 'value' && !has(options, 'value')) { throw new TypeError('Invalid value: it is nil.'); } - const column = notUndefinedValues(dataView.getColumn(field)); - const groups = partition(dataView.rows, options.groupBy); + const column = notUndefinedValues(getColumn(rows, field)); + const groups = partition(rows, options.groupBy); forIn(groups, (group: any[]) => { let fieldValues = notUndefinedValues(group.map((row) => row[field])); if (fieldValues.length === 0) { @@ -71,6 +72,10 @@ function transform(dataView: View, options: Options): void { } }); }); + return rows; +}; +function imputeTransform(dataView: View, options: Options): void { + dataView.rows = impute(dataView.rows, options); } -DataSet.registerTransform('impute', transform); +export { imputeTransform, impute }; diff --git a/src/transform/index.ts b/src/transform/index.ts new file mode 100644 index 0000000..37951c2 --- /dev/null +++ b/src/transform/index.ts @@ -0,0 +1,29 @@ +export { aggregate } from './aggregate'; +export { fillRows } from './fill-rows'; +export { filter } from './filter'; +export { fold } from './fold'; +export { group } from './group'; +export { impute } from './impute'; +export { kde } from './kde'; +export { map } from './map'; +export { partition } from './partition'; +export { percent } from './percent'; +export { pick } from './pick'; +export { proportion } from './proportion'; +export { regression } from './regression'; +export { rename } from './rename'; +export { reverse } from './reverse'; +export { sortBy } from './sort-by'; +export { sort } from './sort'; +export { subset } from './subset'; +export { waffle } from './waffle'; +export { hexagon } from './bin/hexagon'; +export { histogram } from './bin/histogram'; +export { quantile } from './bin/quantile'; +export { rectangle } from './bin/rectangle'; +export { arc } from './diagram/arc'; +export { sankey } from './diagram/sankey'; +export { dagre } from './diagram/dagre'; +export { voronoi } from './diagram/voronoi'; +export { kernelSmoothDensity } from './kernel-smooth/density'; +export { kernelRegression } from './kernel-smooth/regression'; diff --git a/src/transform/kde.ts b/src/transform/kde.ts index 9f28e63..e7290d3 100644 --- a/src/transform/kde.ts +++ b/src/transform/kde.ts @@ -6,10 +6,10 @@ import getSeriesValues from '../util/get-series-values'; import kernel from '../util/kernel'; import * as bandwidth from '../util/bandwidth'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { getFields } from '../util/option-parser'; import { kernelDensityEstimation } from 'simple-statistics'; import { View } from '../view'; +import { getColumn, range } from './default'; const DEFAULT_OPTIONS = { minSize: 0.01, @@ -38,7 +38,9 @@ export interface Options { groupBy?: string[]; } -function transform(dv: View, options: Options): void { +const kde = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; + // @ts-ignore options = assign({}, DEFAULT_OPTIONS, options); const fields = getFields(options); if (!isArray(fields) || fields.length < 1) { @@ -60,33 +62,35 @@ function transform(dv: View, options: Options): void { } let extent = options.extent; + // @ts-ignore if (!isArray(extent) || extent.length === 0) { let rangeArr = []; each(fields, (field) => { - const range = dv.range(field); - rangeArr = rangeArr.concat(range); + const ranged = range(rows, field); + rangeArr = rangeArr.concat(ranged); }); extent = [Math.min(...rangeArr), Math.max(...rangeArr)]; } let bw = options.bandwidth; if (isString(bw) && bandwidth[bw]) { - bw = bandwidth[bw](dv.getColumn(fields[0])); + bw = bandwidth[bw as string](getColumn(rows, fields[0])); } else if (isFunction(bw)) { - bw = bw(dv.getColumn(fields[0])); + bw = bw(getColumn(rows, fields[0])); } else if (!isNumber(bw) || bw <= 0) { - bw = bandwidth.nrd(dv.getColumn(fields[0])); + bw = bandwidth.nrd(getColumn(rows, fields[0])); } const seriesValues = getSeriesValues(extent, options.step ? options.step : bw); const result: any = []; const groupBy = options.groupBy; - const groups = partition(dv.rows, groupBy); + const groups = partition(rows, groupBy); forIn(groups, (group) => { const probalityDensityFunctionByField = {}; each(fields, (field) => { const row: any = pick(group[0], groupBy); probalityDensityFunctionByField[field] = kernelDensityEstimation( group.map((item) => item[field]), + // @ts-ignore method, bw ); @@ -105,14 +109,11 @@ function transform(dv: View, options: Options): void { }); }); - dv.rows = result; -} + return result; +}; -DataSet.registerTransform('kernel-density-estimation', transform); -DataSet.registerTransform('kde', transform); -DataSet.registerTransform('KDE', transform); +function kdeTransform(dataView: View, options: Options): void { + dataView.rows = kde(dataView.rows, options); +} -export default { - KERNEL_METHODS, - BANDWIDTH_METHODS, -}; +export { KERNEL_METHODS, BANDWIDTH_METHODS, kdeTransform, kde }; diff --git a/src/transform/kernel-smooth/density.ts b/src/transform/kernel-smooth/density.ts index 65b8994..0666fab 100644 --- a/src/transform/kernel-smooth/density.ts +++ b/src/transform/kernel-smooth/density.ts @@ -4,10 +4,10 @@ import { assign, isArray, isNumber, isString, keys } from '@antv/util'; import getSeriesValues from '../../util/get-series-values'; import kernel from '../../util/kernel'; -import { DataSet } from '../../data-set'; import { getFields } from '../../util/option-parser'; import { silverman } from '../../util/bandwidth'; import { View } from '../../view'; +import { getColumn, range } from '../default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'y', 'z'], @@ -36,7 +36,8 @@ export interface Options { const KERNEL_METHODS = keys(kernel); -function transform(dv: View, options: Options): void { +const kernelSmoothDensity = (dvRows: View['rows'], options: Options): any[] => { + const rows = [...(dvRows || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); if (!isArray(fields) || fields.length !== 2) { @@ -61,8 +62,8 @@ function transform(dv: View, options: Options): void { if (extent && Array.isArray(extent) && Array.isArray(extent[0]) && Array.isArray(extent[1])) { [extentX, extentY] = extent; } else { - extentX = dv.range(xField); - extentY = dv.range(yField); + extentX = range(rows, xField); + extentY = range(rows, yField); } let bwX: number, bwY: number; @@ -75,12 +76,12 @@ function transform(dv: View, options: Options): void { ) { [bwX, bwY] = bandwidth; } else { - bwX = silverman(dv.getColumn(xField)); - bwY = silverman(dv.getColumn(yField)); + bwX = silverman(getColumn(rows, xField)); + bwY = silverman(getColumn(rows, yField)); } const seriesValuesX = getSeriesValues(extentX, bwX); const seriesValuesY = getSeriesValues(extentY, bwY); - const count = dv.rows.length; + const count = rows.length; const result: any[] = []; for (let i = 0; i < seriesValuesX.length; i++) { @@ -89,7 +90,7 @@ function transform(dv: View, options: Options): void { const x = seriesValuesX[i]; const y = seriesValuesY[j]; for (let k = 0; k < count; k++) { - sum += method!((x - dv.rows[k][xField]) / bwX) * method!((y - dv.rows[k][yField]) / bwY); + sum += method!((x - rows[k][xField]) / bwX) * method!((y - rows[k][yField]) / bwY); } const z = (1 / (count * bwX * bwY)) * sum; const row: any = {}; @@ -100,12 +101,11 @@ function transform(dv: View, options: Options): void { } } - dv.rows = result; -} + return result; +}; -DataSet.registerTransform('kernel-smooth.density', transform); -DataSet.registerTransform('kernel.density', transform); +function kernelSmoothDensityTransform(dv: View, options: Options): void { + dv.rows = kernelSmoothDensity(dv.rows, options); +} -export default { - KERNEL_METHODS, -}; +export { kernelSmoothDensity, kernelSmoothDensityTransform, KERNEL_METHODS }; diff --git a/src/transform/kernel-smooth/regression.ts b/src/transform/kernel-smooth/regression.ts index 06a0588..75411f5 100644 --- a/src/transform/kernel-smooth/regression.ts +++ b/src/transform/kernel-smooth/regression.ts @@ -4,11 +4,11 @@ import { assign, isArray, isNumber, isString, keys, isNil } from '@antv/util'; import getSeriesValues from '../../util/get-series-values'; import kernel from '../../util/kernel'; -import { DataSet } from '../../data-set'; import { sum } from 'simple-statistics'; import { getFields } from '../../util/option-parser'; import { silverman } from '../../util/bandwidth'; import { View } from '../../view'; +import { getColumn, range } from '../default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'y'], @@ -48,17 +48,18 @@ function weight(kernel, bandwidth: number, x_0: number, x_i: number): any { // return kernel(arg); // } function vectorize(fun) { - return function(x) { + return function (x) { if (!isArray(x)) { return fun(x); } - return x.map(function(x) { + return x.map(function (x) { return fun(x); }); }; } -function transform(dv: View, options: Options): void { +const kernelRegression = (dvRows: View['rows'], options: Options): any[] => { + const rows = [...(dvRows || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); if (!isArray(fields) || !(fields.length === 1 || fields.length === 2)) { @@ -78,11 +79,11 @@ function transform(dv: View, options: Options): void { } const [xField, yField] = fields; - const xs = dv.getColumn(xField); + const xs = getColumn(rows, xField); let extent = options.extent; if (extent || !isArray(extent)) { - extent = dv.range(xField); + extent = range(rows, xField); } let bandwidth = options.bandwidth; if (!bandwidth || !isNumber(bandwidth) || bandwidth <= 0) { @@ -104,7 +105,7 @@ function transform(dv: View, options: Options): void { }); } else { // kernel regression smoothing - const ys = dv.getColumn(yField); + const ys = getColumn(rows, yField); kernelSmoother = vectorize((x: number[]) => { const weights = xs.map((x_i) => weightFunc(x, x_i)); const num = sum(weights.map((w, i) => w * ys[i])); @@ -120,12 +121,12 @@ function transform(dv: View, options: Options): void { row[asY] = kernelSmoother(x); return row; }); - dv.rows = result; -} - -DataSet.registerTransform('kernel-smooth.regression', transform); -DataSet.registerTransform('kernel.regression', transform); -export default { - KERNEL_METHODS, + return result; }; + +function kernelRegressionTransform(dv: View, options: Options): void { + dv.rows = kernelRegression(dv.rows, options); +} + +export { kernelRegression, KERNEL_METHODS, kernelRegressionTransform }; diff --git a/src/transform/map.ts b/src/transform/map.ts index 8a5557a..aac9787 100644 --- a/src/transform/map.ts +++ b/src/transform/map.ts @@ -1,6 +1,3 @@ -import { DataSet } from '../data-set'; -import { View } from '../view'; - export interface Options { callback?(item: any, index: number, arr: any[]): any; } @@ -9,6 +6,12 @@ function defaultCallback(row: any): any { return row; } -DataSet.registerTransform('map', (dataView: View, options: Options) => { - dataView.rows = dataView.rows.map(options.callback || defaultCallback); -}); +const map = (items: any[], options: Options): any[] => { + const rows = [...(items || [])]; + return (rows || []).map(options.callback || defaultCallback); +}; + +const mapTransform = (dataView: any, options: Options): void => { + dataView.rows = map(dataView.rows, options); +}; +export { map, mapTransform }; diff --git a/src/transform/partition.ts b/src/transform/partition.ts index 51600e6..9207b5c 100644 --- a/src/transform/partition.ts +++ b/src/transform/partition.ts @@ -1,6 +1,5 @@ -import { values, assign } from '@antv/util'; -import partition from '../util/partition'; -import { DataSet } from '../data-set'; +import { assign } from '@antv/util'; +import partitionFn from '../util/partition'; import { View } from '../view'; const DEFAULT_OPTIONS: Options = { @@ -13,17 +12,16 @@ export interface Options { orderBy?: string[]; } -DataSet.registerTransform('partition', (dataView: View, options: Options) => { +const partition = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); // TODO: rows 是否都只能是数组 // @ts-ignore; - dataView.rows = partition(dataView.rows, options.groupBy, options.orderBy); -}); + return partitionFn(rows, options.groupBy, options.orderBy); +}; -function group(dataView: View, options: Options): void { - options = assign({} as Options, DEFAULT_OPTIONS, options); - dataView.rows = values(partition(dataView.rows, options.groupBy, options.orderBy)); -} +const partitionTransform = (dataView: View, options: Options): void => { + dataView.rows = partition(dataView.rows, options); +}; -DataSet.registerTransform('group', group); -DataSet.registerTransform('groups', group); +export { partition, partitionTransform }; diff --git a/src/transform/percent.ts b/src/transform/percent.ts index 8c4956d..8422055 100644 --- a/src/transform/percent.ts +++ b/src/transform/percent.ts @@ -1,7 +1,6 @@ import { assign, forIn, isArray, isString } from '@antv/util'; import { sum } from 'simple-statistics'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { getField } from '../util/option-parser'; import { View } from '../view'; @@ -19,7 +18,8 @@ export interface Options { as?: string; } -function transform(dataView: View, options: Options): void { +const percent = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); const { dimension, groupBy } = options; @@ -34,7 +34,6 @@ function transform(dataView: View, options: Options): void { if (!isString(as)) { throw new TypeError('Invalid as: must be a string!'); } - const rows = dataView.rows; const result: any[] = []; const groups = partition(rows, groupBy); forIn(groups, (group) => { @@ -56,7 +55,11 @@ function transform(dataView: View, options: Options): void { result.push(resultRow); }); }); - dataView.rows = result; + return result; +}; + +function percentTransform(dataView: View, options: Options): void { + dataView.rows = percent(dataView.rows, options); } -DataSet.registerTransform('percent', transform); +export { percent, percentTransform }; diff --git a/src/transform/pick.ts b/src/transform/pick.ts index adb662e..15c7e74 100644 --- a/src/transform/pick.ts +++ b/src/transform/pick.ts @@ -1,7 +1,7 @@ -import { pick } from '@antv/util'; -import { DataSet } from '../data-set'; +import { pick as pickUtil } from '@antv/util'; import { getFields } from '../util/option-parser'; import { View } from '../view'; +import { getColumnNames } from './default'; /* * options: { @@ -14,7 +14,15 @@ export interface Options { fields?: string[]; } -DataSet.registerTransform('pick', (dataView: View, options: Options) => { - const columns = getFields(options, dataView.getColumnNames()); - dataView.rows = dataView.rows.map((row) => pick(row, columns)); -}); +const pick = (rows: View['rows'], options: Options): any[] => { + const cloned = [...(rows || [])]; + const columns = getFields(options, getColumnNames(rows)); + + return cloned.map((row) => pickUtil(row, columns)); +}; + +const pickTransform = (dataView: View, options: Options): void => { + dataView.rows = pick(dataView.rows, options); +}; + +export { pick, pickTransform }; diff --git a/src/transform/proportion.ts b/src/transform/proportion.ts index 3eee13f..55f9ab3 100644 --- a/src/transform/proportion.ts +++ b/src/transform/proportion.ts @@ -1,6 +1,5 @@ import { assign, isArray, forIn, isString } from '@antv/util'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { getField } from '../util/option-parser'; import { View } from '../view'; @@ -18,7 +17,8 @@ export interface Options { as?: string; } -function transform(dataView: View, options: Options): void { +const proportion = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const field = getField(options); const dimension = options.dimension; @@ -34,7 +34,7 @@ function transform(dataView: View, options: Options): void { if (!isString(as)) { throw new TypeError('Invalid as: must be a string!'); } - const rows = dataView.rows; + const result: any = []; const groups = partition(rows, groupBy); forIn(groups, (group) => { @@ -52,7 +52,11 @@ function transform(dataView: View, options: Options): void { result.push(resultRow); }); }); - dataView.rows = result; + return result; +}; + +function proportionTransform(dataView: View, options: Options): void { + dataView.rows = proportion(dataView.rows, options); } -DataSet.registerTransform('proportion', transform); +export { proportion, proportionTransform }; diff --git a/src/transform/regression.ts b/src/transform/regression.ts index 7df3ed4..b3a3a26 100644 --- a/src/transform/regression.ts +++ b/src/transform/regression.ts @@ -1,10 +1,10 @@ -import regression from 'regression'; +import regressionFn from 'regression'; import { assign, isArray, isNumber } from '@antv/util'; import getSeriesValues from '../util/get-series-values'; -import { DataSet } from '../data-set'; import { getFields } from '../util/option-parser'; import { silverman } from '../util/bandwidth'; import { View } from '../view'; +import { getColumn, range } from './default'; const DEFAULT_OPTIONS: Partial = { as: ['x', 'y'], @@ -28,7 +28,8 @@ export interface Options { const REGRESSION_METHODS = ['linear', 'exponential', 'logarithmic', 'power', 'polynomial']; -function transform(dataView: View, options: Options): void { +const regression = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); if (!isArray(fields) || fields.length !== 2) { @@ -39,15 +40,15 @@ function transform(dataView: View, options: Options): void { if (REGRESSION_METHODS.indexOf(method) === -1) { throw new TypeError(`invalid method: ${method}. Must be one of ${REGRESSION_METHODS.join(', ')}`); } - const points: any[] = dataView.rows.map((row) => [row[xField], row[yField]]); - const regressionResult = regression[method](points, options); + const points: any[] = rows.map((row) => [row[xField], row[yField]]); + const regressionResult = regressionFn[method](points, options); let extent = options.extent; if (!isArray(extent) || extent.length !== 2) { - extent = dataView.range(xField); + extent = range(rows, xField); } let bandwidth = options.bandwidth; if (!isNumber(bandwidth) || bandwidth <= 0) { - bandwidth = silverman(dataView.getColumn(xField)); + bandwidth = silverman(getColumn(rows, xField)); } const valuesToPredict = getSeriesValues(extent, bandwidth); const result: any[] = []; @@ -61,11 +62,11 @@ function transform(dataView: View, options: Options): void { result.push(row); } }); - dataView.rows = result; -} + return result; +}; -DataSet.registerTransform('regression', transform); +function regressionTransform(dataView: View, options: Options): void { + dataView.rows = regression(dataView.rows, options); +} -export default { - REGRESSION_METHODS, -}; +export { REGRESSION_METHODS, regression, regressionTransform }; diff --git a/src/transform/rename.ts b/src/transform/rename.ts index 4ab6085..c955295 100644 --- a/src/transform/rename.ts +++ b/src/transform/rename.ts @@ -1,5 +1,5 @@ import { forIn, isPlainObject, isString } from '@antv/util'; -import { DataSet } from '../data-set'; + import { View } from '../view'; /* @@ -13,7 +13,8 @@ export interface Options { map?: Record; } -function transform(dataView: View, options: Options): void { +const rename = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; const map = options.map || {}; const cleanMap: Record = {}; if (isPlainObject(map)) { @@ -23,14 +24,19 @@ function transform(dataView: View, options: Options): void { } }); } - dataView.rows.forEach((row) => { + rows.forEach((row) => { forIn(cleanMap, (newKey, key) => { const temp = row[key]; delete row[key]; row[newKey] = temp; }); }); + + return rows; +}; + +function renameTransform(dataView: View, options: Options): void { + dataView.rows = rename(dataView.rows, options); } -DataSet.registerTransform('rename', transform); -DataSet.registerTransform('rename-fields', transform); +export { rename, renameTransform }; diff --git a/src/transform/reverse.ts b/src/transform/reverse.ts index dc37601..ab72def 100644 --- a/src/transform/reverse.ts +++ b/src/transform/reverse.ts @@ -1,6 +1,11 @@ -import { DataSet } from '../data-set'; import { View } from '../view'; -DataSet.registerTransform('reverse', (dataView: View) => { - dataView.rows.reverse(); -}); +const reverse = (items: View['rows']): any[] => { + const rows = [...(items || [])]; + return rows.reverse(); +}; +const reverseTransform = (dataView: View): void => { + dataView.rows = reverse(dataView.rows); +}; + +export { reverse, reverseTransform }; diff --git a/src/transform/sort-by.ts b/src/transform/sort-by.ts index 1be18d2..94458fb 100644 --- a/src/transform/sort-by.ts +++ b/src/transform/sort-by.ts @@ -1,7 +1,7 @@ -import { isArray, sortBy } from '@antv/util'; -import { DataSet } from '../data-set'; +import { isArray, sortBy as sortByUtil } from '@antv/util'; import { getFields } from '../util/option-parser'; import { View } from '../view'; +import { getColumnName } from './default'; /* * options: { @@ -17,20 +17,25 @@ export interface Options { fields?: string[]; order?: 'ASC' | 'DESC'; } - -function transform(dataView: View, options: Options): void { - const fields = getFields(options, [dataView.getColumnName(0)]); +const sortBy = (items: View['rows'], options: Options): any[] => { + let rows = [...(items || [])]; + const fields = getFields(options, [getColumnName(rows, 0)]); if (!isArray(fields)) { throw new TypeError('Invalid fields: must be an array with strings!'); } - dataView.rows = sortBy(dataView.rows, fields); + rows = sortByUtil(rows, fields); const order = options.order; if (order && VALID_ORDERS.indexOf(order) === -1) { throw new TypeError(`Invalid order: ${order} must be one of ${VALID_ORDERS.join(', ')}`); } else if (order === 'DESC') { - dataView.rows.reverse(); + rows.reverse(); } + + return rows; +}; + +function sortByTransform(dataView: View, options: Options): void { + dataView.rows = sortBy(dataView.rows, options); } -DataSet.registerTransform('sort-by', transform); -DataSet.registerTransform('sortBy', transform); +export { sortBy, sortByTransform }; diff --git a/src/transform/sort.ts b/src/transform/sort.ts index 0160b49..ecb8942 100644 --- a/src/transform/sort.ts +++ b/src/transform/sort.ts @@ -1,5 +1,5 @@ -import { DataSet } from '../data-set'; import { View } from '../view'; +import { getColumnName } from './default'; /* * options: { @@ -12,7 +12,15 @@ export interface Options { callback?(a: any, b: any): number; } -DataSet.registerTransform('sort', (dataView: View, options: Options) => { - const columnName = dataView.getColumnName(0); - dataView.rows.sort(options.callback || ((a, b) => a[columnName] - b[columnName])); -}); +const sort = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; + const columnName = getColumnName(rows, 0); + rows.sort(options.callback || ((a, b) => a[columnName] - b[columnName])); + return rows; +}; + +const sortTransform = (dataView: View, options: Options): void => { + dataView.rows = sort(dataView.rows, options); +}; + +export { sort, sortTransform }; diff --git a/src/transform/subset.ts b/src/transform/subset.ts index 87a17fe..f9c103a 100644 --- a/src/transform/subset.ts +++ b/src/transform/subset.ts @@ -1,6 +1,6 @@ -import { DataSet } from '../data-set'; import { getFields } from '../util/option-parser'; import { View } from '../view'; +import { getColumnNames, getSubset } from './default'; /* * options: { @@ -17,9 +17,16 @@ export interface Options { fields?: string[]; } -DataSet.registerTransform('subset', (dataView: View, options: Options) => { +const subset = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; const startIndex = options.startRowIndex || 0; - const endIndex = options.endRowIndex || dataView.rows.length - 1; - const columns = getFields(options, dataView.getColumnNames()); - dataView.rows = dataView.getSubset(startIndex, endIndex, columns); -}); + const endIndex = options.endRowIndex || rows.length - 1; + const columns = getFields(options, getColumnNames(rows)); + + return getSubset(rows, startIndex, endIndex, columns); +}; + +const subsetTransform = (dataView: View, options: Options): void => { + dataView.rows = subset(dataView.rows, options); +}; +export { subset, subsetTransform }; diff --git a/src/transform/tag-cloud.ts b/src/transform/tag-cloud.ts index ba19bd5..8036abf 100644 --- a/src/transform/tag-cloud.ts +++ b/src/transform/tag-cloud.ts @@ -1,5 +1,4 @@ import { assign, isString } from '@antv/util'; -import { DataSet } from '../data-set'; import tagCloud from '../util/tag-cloud'; import { getFields } from '../util/option-parser'; import { View } from '../view'; @@ -37,7 +36,7 @@ export interface Options { imageMask?: HTMLImageElement; } -function transform(dataView: View, options: Options): void { +function tagCloudTransform(dataView: View, options: Options): void { options = assign({} as Options, DEFAULT_OPTIONS, options); const layout = tagCloud(); @@ -102,5 +101,4 @@ function transform(dataView: View, options: Options): void { dataView._tagCloud = result; } -DataSet.registerTransform('tag-cloud', transform); -DataSet.registerTransform('word-cloud', transform); +export { tagCloudTransform }; diff --git a/src/transform/waffle.ts b/src/transform/waffle.ts index 896527f..dcb0d59 100644 --- a/src/transform/waffle.ts +++ b/src/transform/waffle.ts @@ -1,7 +1,6 @@ import { assign, each, forIn, keys, map, pick } from '@antv/util'; import { sum } from 'simple-statistics'; import partition from '../util/partition'; -import { DataSet } from '../data-set'; import { getFields } from '../util/option-parser'; import { View } from '../view'; @@ -27,19 +26,20 @@ interface Options { as: string[]; } -function transform(dataView: View, options: Options): void { +const waffle = (items: View['rows'], options: Options): any[] => { + const rows = [...(items || [])]; options = assign({} as Options, DEFAULT_OPTIONS, options); const fields = getFields(options); const [nameField, valueField] = fields; const [asX, asY] = options.as; const groupBy = options.groupBy; - const groups = partition(dataView.rows, groupBy); + const groups = partition(rows, groupBy); const groupKeys = keys(groups); const [width, height] = options.size; const maxCount = options.maxCount; const groupCount = groupKeys.length; const partHeight = height / groupCount; - const rows = options.rows; + const optionsRows = options.rows; const gapRatio = options.gapRatio; const result: any[] = []; let scale = options.scale; @@ -49,10 +49,10 @@ function transform(dataView: View, options: Options): void { // getting suitable scale and width step forIn(groups, (group) => { const totalValue = sum(map(group, (row: any) => row[valueField])); - let cols = Math.ceil((totalValue * scale) / rows); + let cols = Math.ceil((totalValue * scale) / optionsRows); if (totalValue * scale > maxCount) { scale = maxCount / totalValue; - cols = Math.ceil((totalValue * scale) / rows); + cols = Math.ceil((totalValue * scale) / optionsRows); } wStep = width / cols; }); @@ -61,14 +61,14 @@ function transform(dataView: View, options: Options): void { forIn(groups, (group) => { const heightRange = [currentGroupIndex * partHeight, (currentGroupIndex + 1) * partHeight]; const h = heightRange[1] - heightRange[0]; - const hStep = (h * (1 - gapRatio)) / rows; + const hStep = (h * (1 - gapRatio)) / optionsRows; let currentCol = 0; let currentRow = 0; each(group, (row) => { const value = row[valueField]; const count = Math.round(value * scale); for (let i = 0; i < count; i++) { - if (currentRow === rows) { + if (currentRow === optionsRows) { currentRow = 0; currentCol++; } @@ -84,7 +84,11 @@ function transform(dataView: View, options: Options): void { currentGroupIndex += 1; }); - dataView.rows = result; + return result; +}; + +function waffleTransform(dataView: View, options: Options): void { + dataView.rows = waffle(dataView.rows, options); } -DataSet.registerTransform('waffle', transform); +export { waffle, waffleTransform }; diff --git a/src/util/tag-cloud.ts b/src/util/tag-cloud.ts index da3eae4..b7a42b1 100644 --- a/src/util/tag-cloud.ts +++ b/src/util/tag-cloud.ts @@ -167,7 +167,7 @@ function collideRects(a, b) { function archimedeanSpiral(size) { const e = size[0] / size[1]; - return function(t) { + return function (t) { return [e * (t *= 0.1) * Math.cos(t), t * Math.sin(t)]; }; } @@ -177,7 +177,7 @@ function rectangularSpiral(size) { dx = (dy * size[0]) / size[1]; let x = 0, y = 0; - return function(t) { + return function (t) { const sign = t < 0 ? -1 : 1; // See triangular numbers: T_n = n * (n + 1) / 2. switch ((Math.sqrt(1 + 4 * sign * t) - sign) & 3) { @@ -213,7 +213,7 @@ function cloudCanvas() { function functor(d) { return typeof d === 'function' ? d - : function() { + : function () { return d; }; } @@ -223,7 +223,7 @@ const spirals = { rectangular: rectangularSpiral, }; -export default function() { +export default function () { let size = [256, 256], text = cloudText, font = cloudFont, @@ -239,18 +239,18 @@ export default function() { canvas = cloudCanvas; const cloud: any = {}; - cloud.canvas = function(_) { + cloud.canvas = function (_) { return arguments.length ? ((canvas = functor(_)), cloud) : canvas; }; - cloud.start = function() { + cloud.start = function () { const [width, height] = size; const contextAndRatio = getContext(canvas()), board = cloud.board ? cloud.board : zeroArray((size[0] >> 5) * size[1]), n = words.length, tags = [], data = words - .map(function(d, i) { + .map(function (d, i) { d.text = text.call(this, d, i); d.font = font.call(this, d, i); d.style = fontStyle.call(this, d, i); @@ -260,7 +260,7 @@ export default function() { d.padding = padding.call(this, d, i); return d; }) - .sort(function(a, b) { + .sort(function (a, b) { return b.size - a.size; }); let i = -1, @@ -400,51 +400,51 @@ export default function() { cloud.hasImage = true; }; - cloud.timeInterval = function(_) { + cloud.timeInterval = function (_) { return arguments.length ? ((timeInterval = _ == null ? Infinity : _), cloud) : timeInterval; }; - cloud.words = function(_) { + cloud.words = function (_) { return arguments.length ? ((words = _), cloud) : words; }; - cloud.size = function(_) { + cloud.size = function (_) { return arguments.length ? ((size = [+_[0], +_[1]]), cloud) : size; }; - cloud.font = function(_) { + cloud.font = function (_) { return arguments.length ? ((font = functor(_)), cloud) : font; }; - cloud.fontStyle = function(_) { + cloud.fontStyle = function (_) { return arguments.length ? ((fontStyle = functor(_)), cloud) : fontStyle; }; - cloud.fontWeight = function(_) { + cloud.fontWeight = function (_) { return arguments.length ? ((fontWeight = functor(_)), cloud) : fontWeight; }; - cloud.rotate = function(_) { + cloud.rotate = function (_) { return arguments.length ? ((rotate = functor(_)), cloud) : rotate; }; - cloud.text = function(_) { + cloud.text = function (_) { return arguments.length ? ((text = functor(_)), cloud) : text; }; - cloud.spiral = function(_) { + cloud.spiral = function (_) { return arguments.length ? ((spiral = spirals[_] || _), cloud) : spiral; }; - cloud.fontSize = function(_) { + cloud.fontSize = function (_) { return arguments.length ? ((fontSize = functor(_)), cloud) : fontSize; }; - cloud.padding = function(_) { + cloud.padding = function (_) { return arguments.length ? ((padding = functor(_)), cloud) : padding; }; - cloud.random = function(_) { + cloud.random = function (_) { return arguments.length ? ((random = _), cloud) : random; }; diff --git a/stats.json b/stats.json new file mode 100644 index 0000000..7f60d3e --- /dev/null +++ b/stats.json @@ -0,0 +1,104576 @@ +Webpack Bundle Analyzer is started at http://127.0.0.1:8888 +Use Ctrl+C to close it +{ + "errors": [ + "/Users/valar/workspace/data-set/src/transform/aggregate.ts\n./src/transform/aggregate.ts 1:56-60\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/aggregate.ts(1,57)\n TS6133: 'keys' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/fill-rows.ts\n./src/transform/fill-rows.ts 3:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/fill-rows.ts(3,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/fold.ts\n./src/transform/fold.ts 2:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/fold.ts(2,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/impute.ts\n./src/transform/impute.ts 4:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/impute.ts(4,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/kde.ts\n./src/transform/kde.ts 41:19-21\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/kde.ts(41,20)\n TS2345: Argument of type '{}' is not assignable to parameter of type '{ minSize: number; as: string[]; extent: any[]; method: string; bandwidth: string; step: number; groupBy: any[]; } & Options'.\n Type '{}' is missing the following properties from type '{ minSize: number; as: string[]; extent: any[]; method: string; bandwidth: string; step: number; groupBy: any[]; }': minSize, as, extent, method, and 3 more.", + "/Users/valar/workspace/data-set/src/transform/kde.ts\n./src/transform/kde.ts 62:26-45\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/kde.ts(62,27)\n TS2367: This comparison appears to be unintentional because the types '2' and '0' have no overlap.", + "/Users/valar/workspace/data-set/src/transform/kde.ts\n./src/transform/kde.ts 72:9-22\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/kde.ts(72,10)\n TS2349: This expression is not callable.\n Type 'never' has no call signatures.", + "/Users/valar/workspace/data-set/src/transform/kde.ts\n./src/transform/kde.ts 89:8-14\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/kde.ts(89,9)\n TS2345: Argument of type 'string & Function' is not assignable to parameter of type '\"gaussian\" | ((u: number) => number)'.", + "/Users/valar/workspace/data-set/src/transform/percent.ts\n./src/transform/percent.ts 4:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/percent.ts(4,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/proportion.ts\n./src/transform/proportion.ts 3:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/proportion.ts(3,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/regression.ts\n./src/transform/regression.ts 4:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/regression.ts(4,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/sort-by.ts\n./src/transform/sort-by.ts 2:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/sort-by.ts(2,1)\n TS6133: 'DataSet' is declared but its value is never read.", + "/Users/valar/workspace/data-set/src/transform/subset.ts\n./src/transform/subset.ts 1:0-38\n[tsl] ERROR in /Users/valar/workspace/data-set/src/transform/subset.ts(1,1)\n TS6133: 'DataSet' is declared but its value is never read." + ], + "warnings": [], + "version": "4.47.0", + "hash": "2af0ff41767dccc821ef", + "time": 6485, + "builtAt": 1710231000993, + "publicPath": "", + "outputPath": "/Users/valar/workspace/data-set/build", + "assetsByChunkName": { + "data-set": [ + "data-set.js", + "data-set.js.map" + ] + }, + "assets": [ + { + "name": "../lib/src/api/geo.d.ts", + "size": 1237, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/api/hierarchy.d.ts", + "size": 128, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/api/partition.d.ts", + "size": 420, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/api/statistics.d.ts", + "size": 700, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector-params.d.ts", + "size": 869, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/default.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/dsv.d.ts", + "size": 53, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/geo-graticule.d.ts", + "size": 103, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/geojson.d.ts", + "size": 153, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/graph.d.ts", + "size": 89, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/hexjson.d.ts", + "size": 222, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/hierarchy.d.ts", + "size": 86, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/connector/topojson.d.ts", + "size": 49, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/constants.d.ts", + "size": 210, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/data-set.d.ts", + "size": 2384, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/index.d.ts", + "size": 1796, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform-params.d.ts", + "size": 3797, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/aggregate.d.ts", + "size": 487, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/bin/hexagon.d.ts", + "size": 190, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/bin/histogram.d.ts", + "size": 174, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/bin/quantile.d.ts", + "size": 130, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/bin/rectangle.d.ts", + "size": 214, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/default.d.ts", + "size": 123, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/diagram/arc.d.ts", + "size": 358, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/diagram/dagre.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/diagram/sankey.d.ts", + "size": 575, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/diagram/voronoi.d.ts", + "size": 166, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/fill-rows.d.ts", + "size": 251, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/filter.d.ts", + "size": 203, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/fold.d.ts", + "size": 249, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/geo/centroid.d.ts", + "size": 142, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/geo/projection.d.ts", + "size": 72, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/geo/region.d.ts", + "size": 142, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/group.d.ts", + "size": 213, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/cluster.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/compact-box.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/dendrogram.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/indented.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/pack.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/partition.d.ts", + "size": 187, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/tree.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/hierarchy/treemap.d.ts", + "size": 488, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/impute.d.ts", + "size": 607, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/kde.d.ts", + "size": 635, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/kernel-smooth/density.d.ts", + "size": 388, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/kernel-smooth/regression.d.ts", + "size": 353, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/map.d.ts", + "size": 220, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/partition.d.ts", + "size": 221, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/percent.d.ts", + "size": 252, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/pick.d.ts", + "size": 187, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/proportion.d.ts", + "size": 258, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/regression.d.ts", + "size": 470, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/rename.d.ts", + "size": 201, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/reverse.d.ts", + "size": 123, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/sort-by.d.ts", + "size": 218, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/sort.d.ts", + "size": 203, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/subset.d.ts", + "size": 245, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/tag-cloud.d.ts", + "size": 831, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/transform/waffle.d.ts", + "size": 11, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/bandwidth.d.ts", + "size": 110, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/euclidean-distance.d.ts", + "size": 87, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/get-geo-projection.d.ts", + "size": 99, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/get-series-values.d.ts", + "size": 98, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/kernel.d.ts", + "size": 391, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/option-parser.d.ts", + "size": 268, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/p-by-fraction.d.ts", + "size": 78, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/partition.d.ts", + "size": 200, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/simple-sort-by.d.ts", + "size": 145, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/util/tag-cloud.d.ts", + "size": 33, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "../lib/src/view.d.ts", + "size": 3048, + "chunks": [], + "chunkNames": [], + "info": {}, + "emitted": true + }, + { + "name": "data-set.js", + "size": 1728650, + "chunks": [ + "data-set" + ], + "chunkNames": [ + "data-set" + ], + "info": {}, + "emitted": true + }, + { + "name": "data-set.js.map", + "size": 1813094, + "chunks": [ + "data-set" + ], + "chunkNames": [ + "data-set" + ], + "info": { + "development": true + }, + "emitted": true + } + ], + "filteredAssets": 0, + "entrypoints": { + "data-set": { + "chunks": [ + "data-set" + ], + "assets": [ + "data-set.js", + "data-set.js.map" + ], + "children": {}, + "childAssets": {} + } + }, + "namedChunkGroups": { + "data-set": { + "chunks": [ + "data-set" + ], + "assets": [ + "data-set.js", + "data-set.js.map" + ], + "children": {}, + "childAssets": {} + } + }, + "chunks": [ + { + "id": "data-set", + "rendered": true, + "initial": true, + "entry": true, + "size": 1516844, + "names": [ + "data-set" + ], + "files": [ + "data-set.js", + "data-set.js.map" + ], + "hash": "d0140fa6955abb750199", + "siblings": [], + "parents": [], + "children": [], + "childrenByOrder": {}, + "modules": [ + { + "id": "./node_modules/@antv/hierarchy/build/hierarchy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/hierarchy/build/hierarchy.js", + "name": "./node_modules/@antv/hierarchy/build/hierarchy.js", + "index": 482, + "index2": 480, + "size": 147858, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "issuerId": "./src/transform/hierarchy/dendrogram.ts", + "issuerName": "./src/transform/hierarchy/dendrogram.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/hierarchy/dendrogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "name": "./src/transform/hierarchy/dendrogram.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1581, + "building": 175 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Hierarchy\"] = factory();\n\telse\n\t\troot[\"Hierarchy\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 36);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Array.isArray ? Array.isArray(value) : Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Array');\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isArrayLike = function (value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isArrayLike);\n\n/***/ }),\n/* 2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Function');\n});\n\n/***/ }),\n/* 3 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar toString = {}.toString;\nvar isType = function (value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isType);\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(str, 'String');\n});\n\n/***/ }),\n/* 5 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\n\nvar isNumber = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Number');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNumber);\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar _require = __webpack_require__(38),\n mix = _require.mix;\n\n/**\n * Get average height or height for node's position calculation, according to align.\n * @param {*} preNode previous node\n * @param {*} node current node, whose position is going to be calculated\n * @param {'center' | undefined} align 'center' means nodes align at the center, other value means align at the left-top\n * @param {string} heightField field name for height value on preNode and node\n * @return {number} the height for calculation\n */\nfunction getHeight(preNode, node, align, heightField) {\n if (heightField === void 0) {\n heightField = 'height';\n }\n return align === 'center' ? (preNode[heightField] + node[heightField]) / 2 : preNode.height;\n}\nmodule.exports = {\n assign: mix,\n getHeight: getHeight\n};\n\n/***/ }),\n/* 7 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// isFinite,\nvar isNil = function (value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNil);\n\n/***/ }),\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_object__ = __webpack_require__(12);\n\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n var rst;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n if (rst === false) {\n break;\n }\n }\n } else if (Object(__WEBPACK_IMPORTED_MODULE_1__is_object__[\"a\" /* default */])(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (each);\n\n/***/ }),\n/* 9 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) return '';\n return value.toString();\n});\n\n/***/ }),\n/* 10 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object_like__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_type__ = __webpack_require__(3);\n\n\nvar isPlainObject = function (value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(value) || !Object(__WEBPACK_IMPORTED_MODULE_1__is_type__[\"a\" /* default */])(value, 'Object')) {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n var proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPlainObject);\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = __webpack_require__(18);\nvar Layout = /*#__PURE__*/function () {\n function Layout(root, options) {\n if (options === void 0) {\n options = {};\n }\n var me = this;\n me.options = options;\n me.rootNode = hierarchy(root, options);\n }\n var _proto = Layout.prototype;\n _proto.execute = function execute() {\n throw new Error('please override this method');\n };\n return Layout;\n}();\nmodule.exports = Layout;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value;\n return value !== null && type === 'object' || type === 'function';\n});\n\n/***/ }),\n/* 13 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar contains = function (arr, value) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return false;\n }\n return arr.indexOf(value) > -1;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (contains);\n\n/***/ }),\n/* 14 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isObjectLike = function (value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return typeof value === 'object' && value !== null;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isObjectLike);\n\n/***/ }),\n/* 15 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n// @ts-ignore\nvar values = Object.values ? function (obj) {\n return Object.values(obj);\n} : function (obj) {\n var result = [];\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(obj, function (value, key) {\n if (!(Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (values);\n\n/***/ }),\n/* 16 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = mix;\n// FIXME: Mutable param should be forbidden in static lang.\nfunction _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\nfunction mix(dist, src1, src2, src3) {\n if (src1) _mix(dist, src1);\n if (src2) _mix(dist, src2);\n if (src3) _mix(dist, src3);\n return dist;\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar separateTree = __webpack_require__(35);\nvar VALID_DIRECTIONS = ['LR',\n// left to right\n'RL',\n// right to left\n'TB',\n// top to bottom\n'BT',\n// bottom to top\n'H',\n// horizontal\n'V' // vertical\n];\n\nvar HORIZONTAL_DIRECTIONS = ['LR', 'RL', 'H'];\nvar isHorizontal = function isHorizontal(direction) {\n return HORIZONTAL_DIRECTIONS.indexOf(direction) > -1;\n};\nvar DEFAULT_DIRECTION = VALID_DIRECTIONS[0];\nmodule.exports = function (root, options, layoutAlgrithm) {\n var direction = options.direction || DEFAULT_DIRECTION;\n options.isHorizontal = isHorizontal(direction);\n if (direction && VALID_DIRECTIONS.indexOf(direction) === -1) {\n throw new TypeError(\"Invalid direction: \" + direction);\n }\n if (direction === VALID_DIRECTIONS[0]) {\n // LR\n layoutAlgrithm(root, options);\n } else if (direction === VALID_DIRECTIONS[1]) {\n // RL\n layoutAlgrithm(root, options);\n root.right2left();\n } else if (direction === VALID_DIRECTIONS[2]) {\n // TB\n layoutAlgrithm(root, options);\n } else if (direction === VALID_DIRECTIONS[3]) {\n // BT\n layoutAlgrithm(root, options);\n root.bottom2top();\n } else if (direction === VALID_DIRECTIONS[4] || direction === VALID_DIRECTIONS[5]) {\n // H or V\n // separate into left and right trees\n var _separateTree = separateTree(root, options),\n left = _separateTree.left,\n right = _separateTree.right;\n // do layout for left and right trees\n layoutAlgrithm(left, options);\n layoutAlgrithm(right, options);\n options.isHorizontal ? left.right2left() : left.bottom2top();\n // combine left and right trees\n right.translate(left.x - right.x, left.y - right.y);\n // translate root\n root.x = left.x;\n root.y = right.y;\n var bb = root.getBoundingBox();\n if (options.isHorizontal) {\n if (bb.top < 0) {\n root.translate(0, -bb.top);\n }\n } else {\n if (bb.left < 0) {\n root.translate(-bb.left, 0);\n }\n }\n }\n // fixed root position, default value is true\n var fixedRoot = options.fixedRoot;\n if (fixedRoot === undefined) fixedRoot = true;\n if (fixedRoot) {\n root.translate(-(root.x + root.width / 2 + root.hgap), -(root.y + root.height / 2 + root.vgap));\n }\n return root;\n};\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* eslint-disable no-cond-assign */\nvar util = __webpack_require__(6);\nvar PEM = 18;\nvar DEFAULT_HEIGHT = PEM * 2;\nvar DEFAULT_GAP = PEM;\nvar DEFAULT_OPTIONS = {\n getId: function getId(d) {\n return d.id || d.name;\n },\n getPreH: function getPreH(d) {\n return d.preH || 0;\n },\n getPreV: function getPreV(d) {\n return d.preV || 0;\n },\n getHGap: function getHGap(d) {\n return d.hgap || DEFAULT_GAP;\n },\n getVGap: function getVGap(d) {\n return d.vgap || DEFAULT_GAP;\n },\n getChildren: function getChildren(d) {\n return d.children;\n },\n getHeight: function getHeight(d) {\n return d.height || DEFAULT_HEIGHT;\n },\n getWidth: function getWidth(d) {\n var label = d.label || ' ';\n return d.width || label.split('').length * PEM; // FIXME DO NOT get width like this\n }\n};\n\nfunction Node(data, options) {\n var me = this;\n me.vgap = me.hgap = 0;\n if (data instanceof Node) return data;\n me.data = data;\n /*\n * Gaps: filling space between nodes\n * (x, y) ----------------------\n * | vgap |\n * | -------------------- h\n * | h | | e\n * | g | | i\n * | a | | g\n * | p | | h\n * | --------------------- t\n * | |\n * -----------width------------\n */\n var hgap = options.getHGap(data);\n var vgap = options.getVGap(data);\n me.preH = options.getPreH(data);\n me.preV = options.getPreV(data);\n me.width = options.getWidth(data);\n me.height = options.getHeight(data);\n me.width += me.preH;\n me.height += me.preV;\n me.id = options.getId(data);\n me.x = me.y = 0;\n me.depth = 0;\n if (!me.children) {\n me.children = [];\n }\n me.addGap(hgap, vgap);\n return me;\n}\nutil.assign(Node.prototype, {\n isRoot: function isRoot() {\n return this.depth === 0;\n },\n isLeaf: function isLeaf() {\n return this.children.length === 0;\n },\n addGap: function addGap(hgap, vgap) {\n var me = this;\n me.hgap += hgap;\n me.vgap += vgap;\n me.width += 2 * hgap;\n me.height += 2 * vgap;\n },\n eachNode: function eachNode(callback) {\n // Depth First traverse\n var me = this;\n var nodes = [me];\n var current;\n while (current = nodes.shift()) {\n callback(current);\n nodes = current.children.concat(nodes);\n }\n },\n DFTraverse: function DFTraverse(callback) {\n // Depth First traverse\n this.eachNode(callback);\n },\n BFTraverse: function BFTraverse(callback) {\n // Breadth First traverse\n var me = this;\n var nodes = [me];\n var current;\n while (current = nodes.shift()) {\n callback(current);\n nodes = nodes.concat(current.children);\n }\n },\n getBoundingBox: function getBoundingBox() {\n // BBox for just one tree node\n var bb = {\n left: Number.MAX_VALUE,\n top: Number.MAX_VALUE,\n width: 0,\n height: 0\n };\n this.eachNode(function (node) {\n bb.left = Math.min(bb.left, node.x);\n bb.top = Math.min(bb.top, node.y);\n bb.width = Math.max(bb.width, node.x + node.width);\n bb.height = Math.max(bb.height, node.y + node.height);\n });\n return bb;\n },\n // translate\n translate: function translate(tx, ty) {\n if (tx === void 0) {\n tx = 0;\n }\n if (ty === void 0) {\n ty = 0;\n }\n this.eachNode(function (node) {\n node.x += tx;\n node.y += ty;\n node.x += node.preH;\n node.y += node.preV;\n });\n },\n right2left: function right2left() {\n var me = this;\n var bb = me.getBoundingBox();\n me.eachNode(function (node) {\n node.x = node.x - (node.x - bb.left) * 2 - node.width;\n // node.x = - node.x;\n });\n\n me.translate(bb.width, 0);\n },\n bottom2top: function bottom2top() {\n var me = this;\n var bb = me.getBoundingBox();\n me.eachNode(function (node) {\n node.y = node.y - (node.y - bb.top) * 2 - node.height;\n // node.y = - node.y;\n });\n\n me.translate(0, bb.height);\n }\n});\nfunction hierarchy(data, options, isolated) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n var root = new Node(data, options);\n var nodes = [root];\n var node;\n if (!isolated && !data.collapsed) {\n while (node = nodes.shift()) {\n if (!node.data.collapsed) {\n var children = options.getChildren(node.data);\n var length = children ? children.length : 0;\n node.children = new Array(length);\n if (children && length) {\n for (var i = 0; i < length; i++) {\n var child = new Node(children[i], options);\n node.children[i] = child;\n nodes.push(child);\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n }\n }\n return root;\n}\nmodule.exports = hierarchy;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar filter = function (arr, func) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n if (func(value, index)) {\n result.push(value);\n }\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (filter);\n\n/***/ }),\n/* 20 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__keys__ = __webpack_require__(21);\n\n\nfunction isMatch(obj, attrs) {\n var _keys = Object(__WEBPACK_IMPORTED_MODULE_1__keys__[\"a\" /* default */])(attrs);\n var length = _keys.length;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(obj)) return !length;\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n return true;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (isMatch);\n\n/***/ }),\n/* 21 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar keys = Object.keys ? function (obj) {\n return Object.keys(obj);\n} : function (obj) {\n var result = [];\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(obj, function (value, key) {\n if (!(Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (keys);\n\n/***/ }),\n/* 22 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the maximum value.\n * @example\n *\n * max([1, 2]);\n * // => 2\n *\n * max([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * max(data);\n * // => 1250010\n * // Math.max(...data) will encounter \"Maximum call stack size exceeded\" error\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.max(prev, curr);\n }, arr[0]);\n});\n\n/***/ }),\n/* 23 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the minimum value.\n * @example\n *\n * min([1, 2]);\n * // => 1\n *\n * min([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * min(data);\n * // => 1250010\n * // Math.min(...data) will encounter \"Maximum call stack size exceeded\" error\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.min(prev, curr);\n }, arr[0]);\n});\n\n/***/ }),\n/* 24 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar splice = Array.prototype.splice;\nvar pullAt = function pullAt(arr, indexes) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return [];\n }\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n return arr;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (pullAt);\n\n/***/ }),\n/* 25 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_plain_object__ = __webpack_require__(10);\n\n\n\nvar reduce = function (arr, fn, init) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_array__[\"a\" /* default */])(arr) && !Object(__WEBPACK_IMPORTED_MODULE_2__is_plain_object__[\"a\" /* default */])(arr)) {\n return arr;\n }\n var result = init;\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (reduce);\n\n/***/ }),\n/* 26 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = uniq;\nfunction uniq(arr, cache) {\n if (cache === void 0) {\n cache = new Map();\n }\n var r = [];\n if (Array.isArray(arr)) {\n for (var i = 0, len = arr.length; i < len; i++) {\n var item = arr[i];\n // 加一个 cache,提升性能\n if (!cache.has(item)) {\n r.push(item);\n cache.set(item, true);\n }\n }\n }\n return r;\n}\n\n/***/ }),\n/* 27 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = groupToMap;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__group_by__ = __webpack_require__(28);\n\n\n\n/**\n * 将数据分组成 map\n * @param data\n * @param condition\n */\nfunction groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data\n };\n }\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(condition)) {\n // 如果是字符串,则按照 a*b 风格成数组\n var paramscondition_1 = Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n condition = function (row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n // 根据字段列表的值,拼接成 key\n for (var i = 0, l = paramscondition_1.length; i < l; i++) {\n unique += row[paramscondition_1[i]] && row[paramscondition_1[i]].toString();\n }\n return unique;\n };\n }\n return Object(__WEBPACK_IMPORTED_MODULE_2__group_by__[\"a\" /* default */])(data, condition);\n}\n\n/***/ }),\n/* 28 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction groupBy(data, condition) {\n if (!condition || !Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(data)) {\n return {};\n }\n var result = {};\n // 兼容方法和 字符串的写法\n var predicate = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(condition) ? condition : function (item) {\n return item[condition];\n };\n var key;\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n } else {\n result[key] = [item];\n }\n }\n return result;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (groupBy);\n\n/***/ }),\n/* 29 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, key) {\n return obj.hasOwnProperty(key);\n});\n\n/***/ }),\n/* 30 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar toString = {}.toString;\nvar getType = function (value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (getType);\n\n/***/ }),\n/* 31 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar objectProto = Object.prototype;\nvar isPrototype = function (value) {\n var Ctor = value && value.constructor;\n var proto = typeof Ctor === 'function' && Ctor.prototype || objectProto;\n return value === proto;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPrototype);\n\n/***/ }),\n/* 32 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (f, resolver) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(f)) {\n throw new TypeError('Expected a function');\n }\n var memoized = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = f.apply(this, args);\n // 缓存起来\n cache.set(key, result);\n return result;\n };\n memoized.cache = new Map();\n return memoized;\n});\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object_like__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_string__ = __webpack_require__(4);\n\n\n\nvar isEqual = function (value, other) {\n if (value === other) {\n return true;\n }\n if (!value || !other) {\n return false;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_2__is_string__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_2__is_string__[\"a\" /* default */])(other)) {\n return false;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(other)) {\n if (value.length !== other.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n return false;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEqual);\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(116);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__values__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__memoize__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_string__ = __webpack_require__(4);\n\n\n\n\nvar ctx;\n/**\n * 计算文本的宽度\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (Object(__WEBPACK_IMPORTED_MODULE_2__memoize__[\"a\" /* default */])(function (text, font) {\n if (font === void 0) {\n font = {};\n }\n var fontSize = font.fontSize,\n fontFamily = font.fontFamily,\n fontWeight = font.fontWeight,\n fontStyle = font.fontStyle,\n fontVariant = font.fontVariant;\n if (!ctx) {\n ctx = document.createElement('canvas').getContext('2d');\n }\n ctx.font = [fontStyle, fontVariant, fontWeight, fontSize + \"px\", fontFamily].join(' ');\n return ctx.measureText(Object(__WEBPACK_IMPORTED_MODULE_3__is_string__[\"a\" /* default */])(text) ? text : '').width;\n}, function (text, font) {\n if (font === void 0) {\n font = {};\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0_tslib__[\"a\" /* __spreadArrays */])([text], Object(__WEBPACK_IMPORTED_MODULE_1__values__[\"a\" /* default */])(font)).join('');\n}));\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = __webpack_require__(18);\nmodule.exports = function (root, options) {\n // separate into left and right trees\n var left = hierarchy(root.data, options, true); // root only\n var right = hierarchy(root.data, options, true); // root only\n // automatically\n var treeSize = root.children.length;\n var rightTreeSize = Math.round(treeSize / 2);\n // separate left and right tree by meta data\n var getSide = options.getSide || function (child, index) {\n if (index < rightTreeSize) {\n return 'right';\n }\n return 'left';\n };\n for (var i = 0; i < treeSize; i++) {\n var child = root.children[i];\n var side = getSide(child, i);\n if (side === 'right') {\n right.children.push(child);\n } else {\n left.children.push(child);\n }\n }\n left.eachNode(function (node) {\n if (!node.isRoot()) {\n node.side = 'left';\n }\n });\n right.eachNode(function (node) {\n if (!node.isRoot()) {\n node.side = 'right';\n }\n });\n return {\n left: left,\n right: right\n };\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = {\n compactBox: __webpack_require__(37),\n dendrogram: __webpack_require__(120),\n indented: __webpack_require__(122),\n mindmap: __webpack_require__(124)\n};\nmodule.exports = hierarchy;\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar nonLayeredTidyTree = __webpack_require__(119);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar CompactBoxTreeLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(CompactBoxTreeLayout, _TreeLayout);\n function CompactBoxTreeLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = CompactBoxTreeLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n return doTreeLayout(me.rootNode, me.options, nonLayeredTidyTree);\n };\n return CompactBoxTreeLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction compactBoxLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new CompactBoxTreeLayout(root, options).execute();\n}\nmodule.exports = compactBoxLayout;\n\n/***/ }),\n/* 38 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__contains__ = __webpack_require__(13);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"contains\", function() { return __WEBPACK_IMPORTED_MODULE_0__contains__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"includes\", function() { return __WEBPACK_IMPORTED_MODULE_0__contains__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__difference__ = __webpack_require__(39);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"difference\", function() { return __WEBPACK_IMPORTED_MODULE_1__difference__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__find__ = __webpack_require__(40);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return __WEBPACK_IMPORTED_MODULE_2__find__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__find_index__ = __webpack_require__(41);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return __WEBPACK_IMPORTED_MODULE_3__find_index__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__first_value__ = __webpack_require__(42);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"firstValue\", function() { return __WEBPACK_IMPORTED_MODULE_4__first_value__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flatten__ = __webpack_require__(43);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"flatten\", function() { return __WEBPACK_IMPORTED_MODULE_5__flatten__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__flatten_deep__ = __webpack_require__(44);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"flattenDeep\", function() { return __WEBPACK_IMPORTED_MODULE_6__flatten_deep__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__get_range__ = __webpack_require__(45);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getRange\", function() { return __WEBPACK_IMPORTED_MODULE_7__get_range__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pull__ = __webpack_require__(46);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pull\", function() { return __WEBPACK_IMPORTED_MODULE_8__pull__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pull_at__ = __webpack_require__(24);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pullAt\", function() { return __WEBPACK_IMPORTED_MODULE_9__pull_at__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__reduce__ = __webpack_require__(25);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return __WEBPACK_IMPORTED_MODULE_10__reduce__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__remove__ = __webpack_require__(47);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"remove\", function() { return __WEBPACK_IMPORTED_MODULE_11__remove__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__sort_by__ = __webpack_require__(48);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"sortBy\", function() { return __WEBPACK_IMPORTED_MODULE_12__sort_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__union__ = __webpack_require__(49);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"union\", function() { return __WEBPACK_IMPORTED_MODULE_13__union__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__uniq__ = __webpack_require__(26);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"uniq\", function() { return __WEBPACK_IMPORTED_MODULE_14__uniq__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__values_of_key__ = __webpack_require__(50);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"valuesOfKey\", function() { return __WEBPACK_IMPORTED_MODULE_15__values_of_key__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__head__ = __webpack_require__(51);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"head\", function() { return __WEBPACK_IMPORTED_MODULE_16__head__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__last__ = __webpack_require__(52);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return __WEBPACK_IMPORTED_MODULE_17__last__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__starts_with__ = __webpack_require__(53);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"startsWith\", function() { return __WEBPACK_IMPORTED_MODULE_18__starts_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__ends_with__ = __webpack_require__(54);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"endsWith\", function() { return __WEBPACK_IMPORTED_MODULE_19__ends_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__filter__ = __webpack_require__(19);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return __WEBPACK_IMPORTED_MODULE_20__filter__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__every__ = __webpack_require__(55);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return __WEBPACK_IMPORTED_MODULE_21__every__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__some__ = __webpack_require__(56);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"some\", function() { return __WEBPACK_IMPORTED_MODULE_22__some__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__group__ = __webpack_require__(57);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return __WEBPACK_IMPORTED_MODULE_23__group__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__group_by__ = __webpack_require__(28);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return __WEBPACK_IMPORTED_MODULE_24__group_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__group_to_map__ = __webpack_require__(27);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"groupToMap\", function() { return __WEBPACK_IMPORTED_MODULE_25__group_to_map__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__get_wrap_behavior__ = __webpack_require__(58);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getWrapBehavior\", function() { return __WEBPACK_IMPORTED_MODULE_26__get_wrap_behavior__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__wrap_behavior__ = __webpack_require__(59);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"wrapBehavior\", function() { return __WEBPACK_IMPORTED_MODULE_27__wrap_behavior__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__number2color__ = __webpack_require__(60);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"number2color\", function() { return __WEBPACK_IMPORTED_MODULE_28__number2color__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__parse_radius__ = __webpack_require__(61);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"parseRadius\", function() { return __WEBPACK_IMPORTED_MODULE_29__parse_radius__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__clamp__ = __webpack_require__(62);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clamp\", function() { return __WEBPACK_IMPORTED_MODULE_30__clamp__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__fixed_base__ = __webpack_require__(63);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"fixedBase\", function() { return __WEBPACK_IMPORTED_MODULE_31__fixed_base__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__is_decimal__ = __webpack_require__(64);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isDecimal\", function() { return __WEBPACK_IMPORTED_MODULE_32__is_decimal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__is_even__ = __webpack_require__(65);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEven\", function() { return __WEBPACK_IMPORTED_MODULE_33__is_even__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__is_integer__ = __webpack_require__(66);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isInteger\", function() { return __WEBPACK_IMPORTED_MODULE_34__is_integer__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__is_negative__ = __webpack_require__(67);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNegative\", function() { return __WEBPACK_IMPORTED_MODULE_35__is_negative__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__is_number_equal__ = __webpack_require__(68);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumberEqual\", function() { return __WEBPACK_IMPORTED_MODULE_36__is_number_equal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__is_odd__ = __webpack_require__(69);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isOdd\", function() { return __WEBPACK_IMPORTED_MODULE_37__is_odd__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__is_positive__ = __webpack_require__(70);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPositive\", function() { return __WEBPACK_IMPORTED_MODULE_38__is_positive__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__max__ = __webpack_require__(22);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return __WEBPACK_IMPORTED_MODULE_39__max__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__max_by__ = __webpack_require__(71);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"maxBy\", function() { return __WEBPACK_IMPORTED_MODULE_40__max_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__min__ = __webpack_require__(23);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return __WEBPACK_IMPORTED_MODULE_41__min__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__min_by__ = __webpack_require__(72);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"minBy\", function() { return __WEBPACK_IMPORTED_MODULE_42__min_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__mod__ = __webpack_require__(73);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mod\", function() { return __WEBPACK_IMPORTED_MODULE_43__mod__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__to_degree__ = __webpack_require__(74);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toDegree\", function() { return __WEBPACK_IMPORTED_MODULE_44__to_degree__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__to_integer__ = __webpack_require__(75);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toInteger\", function() { return __WEBPACK_IMPORTED_MODULE_45__to_integer__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__to_radian__ = __webpack_require__(76);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toRadian\", function() { return __WEBPACK_IMPORTED_MODULE_46__to_radian__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__for_in__ = __webpack_require__(77);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"forIn\", function() { return __WEBPACK_IMPORTED_MODULE_47__for_in__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__has__ = __webpack_require__(29);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"has\", function() { return __WEBPACK_IMPORTED_MODULE_48__has__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__has_key__ = __webpack_require__(78);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"hasKey\", function() { return __WEBPACK_IMPORTED_MODULE_49__has_key__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__has_value__ = __webpack_require__(79);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"hasValue\", function() { return __WEBPACK_IMPORTED_MODULE_50__has_value__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__keys__ = __webpack_require__(21);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"keys\", function() { return __WEBPACK_IMPORTED_MODULE_51__keys__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__is_match__ = __webpack_require__(20);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isMatch\", function() { return __WEBPACK_IMPORTED_MODULE_52__is_match__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__values__ = __webpack_require__(15);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"values\", function() { return __WEBPACK_IMPORTED_MODULE_53__values__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__lower_case__ = __webpack_require__(80);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"lowerCase\", function() { return __WEBPACK_IMPORTED_MODULE_54__lower_case__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__lower_first__ = __webpack_require__(81);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"lowerFirst\", function() { return __WEBPACK_IMPORTED_MODULE_55__lower_first__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__substitute__ = __webpack_require__(82);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"substitute\", function() { return __WEBPACK_IMPORTED_MODULE_56__substitute__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__upper_case__ = __webpack_require__(83);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"upperCase\", function() { return __WEBPACK_IMPORTED_MODULE_57__upper_case__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__upper_first__ = __webpack_require__(84);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"upperFirst\", function() { return __WEBPACK_IMPORTED_MODULE_58__upper_first__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__get_type__ = __webpack_require__(30);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getType\", function() { return __WEBPACK_IMPORTED_MODULE_59__get_type__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__is_arguments__ = __webpack_require__(85);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArguments\", function() { return __WEBPACK_IMPORTED_MODULE_60__is_arguments__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__is_array__ = __webpack_require__(0);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArray\", function() { return __WEBPACK_IMPORTED_MODULE_61__is_array__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__is_array_like__ = __webpack_require__(1);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArrayLike\", function() { return __WEBPACK_IMPORTED_MODULE_62__is_array_like__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__is_boolean__ = __webpack_require__(86);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isBoolean\", function() { return __WEBPACK_IMPORTED_MODULE_63__is_boolean__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__is_date__ = __webpack_require__(87);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isDate\", function() { return __WEBPACK_IMPORTED_MODULE_64__is_date__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__is_error__ = __webpack_require__(88);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isError\", function() { return __WEBPACK_IMPORTED_MODULE_65__is_error__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__is_function__ = __webpack_require__(2);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isFunction\", function() { return __WEBPACK_IMPORTED_MODULE_66__is_function__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__is_finite__ = __webpack_require__(89);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isFinite\", function() { return __WEBPACK_IMPORTED_MODULE_67__is_finite__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__is_nil__ = __webpack_require__(7);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNil\", function() { return __WEBPACK_IMPORTED_MODULE_68__is_nil__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__is_null__ = __webpack_require__(90);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNull\", function() { return __WEBPACK_IMPORTED_MODULE_69__is_null__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__is_number__ = __webpack_require__(5);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumber\", function() { return __WEBPACK_IMPORTED_MODULE_70__is_number__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__is_object__ = __webpack_require__(12);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isObject\", function() { return __WEBPACK_IMPORTED_MODULE_71__is_object__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__is_object_like__ = __webpack_require__(14);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isObjectLike\", function() { return __WEBPACK_IMPORTED_MODULE_72__is_object_like__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__is_plain_object__ = __webpack_require__(10);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlainObject\", function() { return __WEBPACK_IMPORTED_MODULE_73__is_plain_object__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__is_prototype__ = __webpack_require__(31);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPrototype\", function() { return __WEBPACK_IMPORTED_MODULE_74__is_prototype__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_75__is_reg_exp__ = __webpack_require__(91);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isRegExp\", function() { return __WEBPACK_IMPORTED_MODULE_75__is_reg_exp__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_76__is_string__ = __webpack_require__(4);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isString\", function() { return __WEBPACK_IMPORTED_MODULE_76__is_string__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_77__is_type__ = __webpack_require__(3);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isType\", function() { return __WEBPACK_IMPORTED_MODULE_77__is_type__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_78__is_undefined__ = __webpack_require__(92);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isUndefined\", function() { return __WEBPACK_IMPORTED_MODULE_78__is_undefined__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_79__is_element__ = __webpack_require__(93);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isElement\", function() { return __WEBPACK_IMPORTED_MODULE_79__is_element__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_80__request_animation_frame__ = __webpack_require__(94);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"requestAnimationFrame\", function() { return __WEBPACK_IMPORTED_MODULE_80__request_animation_frame__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_81__clear_animation_frame__ = __webpack_require__(95);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clearAnimationFrame\", function() { return __WEBPACK_IMPORTED_MODULE_81__clear_animation_frame__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_82__augment__ = __webpack_require__(96);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"augment\", function() { return __WEBPACK_IMPORTED_MODULE_82__augment__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_83__clone__ = __webpack_require__(97);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clone\", function() { return __WEBPACK_IMPORTED_MODULE_83__clone__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_84__debounce__ = __webpack_require__(98);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return __WEBPACK_IMPORTED_MODULE_84__debounce__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_85__memoize__ = __webpack_require__(32);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"memoize\", function() { return __WEBPACK_IMPORTED_MODULE_85__memoize__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_86__deep_mix__ = __webpack_require__(99);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"deepMix\", function() { return __WEBPACK_IMPORTED_MODULE_86__deep_mix__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_87__each__ = __webpack_require__(8);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"each\", function() { return __WEBPACK_IMPORTED_MODULE_87__each__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_88__extend__ = __webpack_require__(100);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"extend\", function() { return __WEBPACK_IMPORTED_MODULE_88__extend__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_89__index_of__ = __webpack_require__(101);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"indexOf\", function() { return __WEBPACK_IMPORTED_MODULE_89__index_of__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_90__is_empty__ = __webpack_require__(102);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return __WEBPACK_IMPORTED_MODULE_90__is_empty__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_91__is_equal__ = __webpack_require__(33);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEqual\", function() { return __WEBPACK_IMPORTED_MODULE_91__is_equal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_92__is_equal_with__ = __webpack_require__(103);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEqualWith\", function() { return __WEBPACK_IMPORTED_MODULE_92__is_equal_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_93__map__ = __webpack_require__(104);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return __WEBPACK_IMPORTED_MODULE_93__map__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_94__map_values__ = __webpack_require__(105);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mapValues\", function() { return __WEBPACK_IMPORTED_MODULE_94__map_values__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_95__mix__ = __webpack_require__(16);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mix\", function() { return __WEBPACK_IMPORTED_MODULE_95__mix__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"assign\", function() { return __WEBPACK_IMPORTED_MODULE_95__mix__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_96__get__ = __webpack_require__(106);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"get\", function() { return __WEBPACK_IMPORTED_MODULE_96__get__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_97__set__ = __webpack_require__(107);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"set\", function() { return __WEBPACK_IMPORTED_MODULE_97__set__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_98__pick__ = __webpack_require__(108);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pick\", function() { return __WEBPACK_IMPORTED_MODULE_98__pick__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_99__omit__ = __webpack_require__(109);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"omit\", function() { return __WEBPACK_IMPORTED_MODULE_99__omit__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_100__throttle__ = __webpack_require__(110);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return __WEBPACK_IMPORTED_MODULE_100__throttle__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_101__to_array__ = __webpack_require__(111);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return __WEBPACK_IMPORTED_MODULE_101__to_array__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_102__to_string__ = __webpack_require__(9);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toString\", function() { return __WEBPACK_IMPORTED_MODULE_102__to_string__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_103__unique_id__ = __webpack_require__(112);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"uniqueId\", function() { return __WEBPACK_IMPORTED_MODULE_103__unique_id__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_104__noop__ = __webpack_require__(113);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return __WEBPACK_IMPORTED_MODULE_104__noop__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_105__identity__ = __webpack_require__(114);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return __WEBPACK_IMPORTED_MODULE_105__identity__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_106__size__ = __webpack_require__(115);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"size\", function() { return __WEBPACK_IMPORTED_MODULE_106__size__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_107__measure_text_width__ = __webpack_require__(34);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"measureTextWidth\", function() { return __WEBPACK_IMPORTED_MODULE_107__measure_text_width__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_108__get_ellipsis_text__ = __webpack_require__(117);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getEllipsisText\", function() { return __WEBPACK_IMPORTED_MODULE_108__get_ellipsis_text__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_109__cache__ = __webpack_require__(118);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"Cache\", function() { return __WEBPACK_IMPORTED_MODULE_109__cache__[\"a\"]; });\n// array\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// event\n\n\n// format\n\n\n// math\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// object\n\n\n\n\n\n\n\n// string\n\n\n\n\n\n// type\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// other\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// text\n\n\n// 不知道为什么,需要把这个 export,不然 ts 会报类型错误\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__filter__ = __webpack_require__(19);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__contains__ = __webpack_require__(13);\n\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\nvar difference = function (arr, values) {\n if (values === void 0) {\n values = [];\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0__filter__[\"a\" /* default */])(arr, function (value) {\n return !Object(__WEBPACK_IMPORTED_MODULE_1__contains__[\"a\" /* default */])(values, value);\n });\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (difference);\n\n/***/ }),\n/* 40 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_match__ = __webpack_require__(20);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_plain_object__ = __webpack_require__(10);\n\n\n\n\nfunction find(arr, predicate) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_2__is_array__[\"a\" /* default */])(arr)) return null;\n var _predicate;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(predicate)) {\n _predicate = predicate;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_3__is_plain_object__[\"a\" /* default */])(predicate)) {\n _predicate = function (a) {\n return Object(__WEBPACK_IMPORTED_MODULE_1__is_match__[\"a\" /* default */])(a, predicate);\n };\n }\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n return null;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (find);\n\n/***/ }),\n/* 41 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n return -1;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (findIndex);\n\n/***/ }),\n/* 42 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array__ = __webpack_require__(0);\n\n\nvar firstValue = function (data, name) {\n var rst = null;\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) {\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array__[\"a\" /* default */])(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n } else {\n rst = value;\n }\n break;\n }\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (firstValue);\n\n/***/ }),\n/* 43 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\nvar flatten = function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return [];\n }\n var rst = [];\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (flatten);\n\n/***/ }),\n/* 44 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\nvar flattenDeep = function (arr, result) {\n if (result === void 0) {\n result = [];\n }\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n result.push(arr);\n } else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (flattenDeep);\n\n/***/ }),\n/* 45 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__max__ = __webpack_require__(22);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__min__ = __webpack_require__(23);\n\n\n\nvar getRange = function (values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) {\n return !isNaN(v);\n });\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0\n };\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(values[0])) {\n var tmp = [];\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n filterValues = tmp;\n }\n var max = Object(__WEBPACK_IMPORTED_MODULE_1__max__[\"a\" /* default */])(filterValues);\n var min = Object(__WEBPACK_IMPORTED_MODULE_2__min__[\"a\" /* default */])(filterValues);\n return {\n min: min,\n max: max\n };\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (getRange);\n\n/***/ }),\n/* 46 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar pull = function (arr) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n return arr;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (pull);\n\n/***/ }),\n/* 47 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__pull_at__ = __webpack_require__(24);\n\n\nvar remove = function (arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return result;\n }\n var i = -1;\n var indexes = [];\n var length = arr.length;\n while (++i < length) {\n var value = arr[i];\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n Object(__WEBPACK_IMPORTED_MODULE_1__pull_at__[\"a\" /* default */])(arr, indexes);\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (remove);\n\n/***/ }),\n/* 48 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_function__ = __webpack_require__(2);\n\n\n\nfunction sortBy(arr, key) {\n var comparer;\n if (Object(__WEBPACK_IMPORTED_MODULE_2__is_function__[\"a\" /* default */])(key)) {\n comparer = function (a, b) {\n return key(a) - key(b);\n };\n } else {\n var keys_1 = [];\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(key)) {\n keys_1.push(key);\n } else if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(key)) {\n keys_1 = key;\n }\n comparer = function (a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n if (a[prop] > b[prop]) {\n return 1;\n }\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n return 0;\n };\n }\n arr.sort(comparer);\n return arr;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (sortBy);\n\n/***/ }),\n/* 49 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__uniq__ = __webpack_require__(26);\n\nvar union = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0__uniq__[\"a\" /* default */])([].concat.apply([], sources));\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (union);\n\n/***/ }),\n/* 50 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_nil__ = __webpack_require__(7);\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (data, name) {\n var rst = [];\n var tmpMap = {};\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_nil__[\"a\" /* default */])(value)) {\n // flatten\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(value)) {\n value = [value];\n }\n for (var j = 0; j < value.length; j++) {\n var val = value[j];\n // unique\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n return rst;\n});\n\n/***/ }),\n/* 51 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = head;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nfunction head(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(o)) {\n return o[0];\n }\n return undefined;\n}\n\n/***/ }),\n/* 52 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = last;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nfunction last(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n return undefined;\n}\n\n/***/ }),\n/* 53 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n\n\nfunction startsWith(arr, e) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(arr) ? arr[0] === e : false;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (startsWith);\n\n/***/ }),\n/* 54 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n\n\nfunction endsWith(arr, e) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(arr) ? arr[arr.length - 1] === e : false;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (endsWith);\n\n/***/ }),\n/* 55 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i)) return false;\n }\n return true;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (every);\n\n/***/ }),\n/* 56 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i)) return true;\n }\n return false;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (some);\n\n/***/ }),\n/* 57 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__group_to_map__ = __webpack_require__(27);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n var groups = Object(__WEBPACK_IMPORTED_MODULE_0__group_to_map__[\"a\" /* default */])(data, condition);\n var array = [];\n for (var i in groups) {\n array.push(groups[i]);\n }\n return array;\n});\n\n/***/ }),\n/* 58 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (getWrapBehavior);\n\n/***/ }),\n/* 59 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 封装事件,便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n var method = function (e) {\n obj[action](e);\n };\n obj['_wrap_' + action] = method;\n return method;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (wrapBehavior);\n\n/***/ }),\n/* 60 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar numColorCache = {};\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n if (!color) {\n var str = num.toString(16);\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n color = '#' + str;\n numColorCache[num] = color;\n }\n return color;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (numberToColor);\n\n/***/ }),\n/* 61 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\nfunction parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n } else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n } else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n } else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n } else {\n r1 = r2 = r3 = r4 = radius;\n }\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (parseRadius);\n\n/***/ }),\n/* 62 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar clamp = function (a, min, max) {\n if (a < min) {\n return min;\n } else if (a > max) {\n return max;\n }\n return a;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (clamp);\n\n/***/ }),\n/* 63 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar fixedBase = function (v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n if (index === -1) {\n return Math.round(v);\n }\n var length = str.substr(index + 1).length;\n if (length > 20) {\n length = 20;\n }\n return parseFloat(v.toFixed(length));\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (fixedBase);\n\n/***/ }),\n/* 64 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isDecimal = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 1 !== 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isDecimal);\n\n/***/ }),\n/* 65 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isEven = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 2 === 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEven);\n\n/***/ }),\n/* 66 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 1 === 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isInteger);\n\n/***/ }),\n/* 67 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isNegative = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num < 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNegative);\n\n/***/ }),\n/* 68 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = isNumberEqual;\nvar PRECISION = 0.00001; // numbers less than this is considered as 0\nfunction isNumberEqual(a, b, precision) {\n if (precision === void 0) {\n precision = PRECISION;\n }\n return Math.abs(a - b) < precision;\n}\n;\n\n/***/ }),\n/* 69 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isOdd = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 2 !== 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isOdd);\n\n/***/ }),\n/* 70 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isPositive = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num > 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPositive);\n\n/***/ }),\n/* 71 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n var maxItem;\n var max = -Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(fn) ? fn(item) : item[fn];\n if (v > max) {\n maxItem = item;\n max = v;\n }\n }\n return maxItem;\n});\n\n/***/ }),\n/* 72 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n var minItem;\n var min = Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(fn) ? fn(item) : item[fn];\n if (v < min) {\n minItem = item;\n min = v;\n }\n }\n return minItem;\n});\n\n/***/ }),\n/* 73 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar mod = function (n, m) {\n return (n % m + m) % m;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (mod);\n\n/***/ }),\n/* 74 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar DEGREE = 180 / Math.PI;\nvar toDegree = function (radian) {\n return DEGREE * radian;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (toDegree);\n\n/***/ }),\n/* 75 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (parseInt);\n\n/***/ }),\n/* 76 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar RADIAN = Math.PI / 180;\nvar toRadian = function (degree) {\n return RADIAN * degree;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (toRadian);\n\n/***/ }),\n/* 77 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */]);\n\n/***/ }),\n/* 78 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__has__ = __webpack_require__(29);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (__WEBPACK_IMPORTED_MODULE_0__has__[\"a\" /* default */]);\n\n/***/ }),\n/* 79 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__contains__ = __webpack_require__(13);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__values__ = __webpack_require__(15);\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__contains__[\"a\" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_1__values__[\"a\" /* default */])(obj), value);\n});\n\n/***/ }),\n/* 80 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar lowerCase = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(str).toLowerCase();\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (lowerCase);\n\n/***/ }),\n/* 81 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar lowerFirst = function (value) {\n var str = Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (lowerFirst);\n\n/***/ }),\n/* 82 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n return o[name] === undefined ? '' : o[name];\n });\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (substitute);\n\n/***/ }),\n/* 83 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar upperCase = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(str).toUpperCase();\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (upperCase);\n\n/***/ }),\n/* 84 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar upperFirst = function (value) {\n var str = Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (upperFirst);\n\n/***/ }),\n/* 85 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isArguments = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Arguments');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isArguments);\n\n/***/ }),\n/* 86 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isBoolean = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Boolean');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isBoolean);\n\n/***/ }),\n/* 87 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\nvar isDate = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Date');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isDate);\n\n/***/ }),\n/* 88 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isError = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Error');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isError);\n\n/***/ }),\n/* 89 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n/**\n * 判断是否为有限数\n * @return {Boolean}\n */\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(value) && isFinite(value);\n});\n\n/***/ }),\n/* 90 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isNull = function (value) {\n return value === null;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNull);\n\n/***/ }),\n/* 91 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\nvar isRegExp = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(str, 'RegExp');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isRegExp);\n\n/***/ }),\n/* 92 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isUndefined = function (value) {\n return value === undefined;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isUndefined);\n\n/***/ }),\n/* 93 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function (o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isElement);\n\n/***/ }),\n/* 94 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = requestAnimationFrame;\nfunction requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame || window.webkitRequestAnimationFrame ||\n // @ts-ignore\n window.mozRequestAnimationFrame ||\n // @ts-ignore\n window.msRequestAnimationFrame || function (f) {\n return setTimeout(f, 16);\n };\n return method(fn);\n}\n;\n\n/***/ }),\n/* 95 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = cancelAnimationFrame;\nfunction cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame || window.webkitCancelAnimationFrame ||\n // @ts-ignore\n window.mozCancelAnimationFrame ||\n // @ts-ignore\n window.msCancelAnimationFrame || clearTimeout;\n method(handler);\n}\n;\n\n/***/ }),\n/* 96 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mix__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar augment = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var c = args[0];\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj)) {\n obj = obj.prototype;\n }\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(c.prototype, obj);\n }\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (augment);\n\n/***/ }),\n/* 97 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\nvar clone = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n var rst;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(obj)) {\n rst = [];\n for (var i = 0, l = obj.length; i < l; i++) {\n if (typeof obj[i] === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n } else {\n rst[i] = obj[i];\n }\n }\n } else {\n rst = {};\n for (var k in obj) {\n if (typeof obj[k] === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n } else {\n rst[k] = obj[k];\n }\n }\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (clone);\n\n/***/ }),\n/* 98 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this,\n args = arguments;\n var later = function () {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (debounce);\n\n/***/ }),\n/* 99 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_plain_object__ = __webpack_require__(10);\n\n\nvar MAX_MIX_LEVEL = 5;\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n if (value !== null && Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(value)) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(dist[key])) {\n dist[key] = {};\n }\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n } else {\n dist[key] = src[key];\n }\n } else if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n } else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n// todo 重写\nvar deepMix = function (rst) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (deepMix);\n\n/***/ }),\n/* 100 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mix__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar extend = function (subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(superclass)) {\n overrides = superclass;\n superclass = subclass;\n subclass = function () {};\n }\n var create = Object.create ? function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } : function (proto, c) {\n function Tmp() {}\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n subclass.prototype = Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(superObj, subclass.prototype); // 指定子类的prototype\n subclass.superclass = create(superclass.prototype, superclass);\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(superObj, overrides);\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(subclass, staticOverrides);\n return subclass;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (extend);\n\n/***/ }),\n/* 101 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar indexOf = function (arr, obj) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return -1;\n }\n var m = Array.prototype.indexOf;\n if (m) {\n return m.call(arr, obj);\n }\n var index = -1;\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n return index;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (indexOf);\n\n/***/ }),\n/* 102 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__get_type__ = __webpack_require__(30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_prototype__ = __webpack_require__(31);\n\n\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) {\n return true;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(value)) {\n return !value.length;\n }\n var type = Object(__WEBPACK_IMPORTED_MODULE_2__get_type__[\"a\" /* default */])(value);\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_3__is_prototype__[\"a\" /* default */])(value)) {\n return !Object.keys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEmpty);\n\n/***/ }),\n/* 103 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_equal__ = __webpack_require__(33);\n\n\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value, other, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(fn)) {\n return Object(__WEBPACK_IMPORTED_MODULE_1__is_equal__[\"a\" /* default */])(value, other);\n }\n return !!fn(value, other);\n});\n\n/***/ }),\n/* 104 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar map = function (arr, func) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n // @ts-ignore\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (map);\n\n/***/ }),\n/* 105 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_object__ = __webpack_require__(12);\n\n\nvar identity = function (v) {\n return v;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (object, func) {\n if (func === void 0) {\n func = identity;\n }\n var r = {};\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_object__[\"a\" /* default */])(object) && !Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n return r;\n});\n\n/***/ }),\n/* 106 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_string__ = __webpack_require__(4);\n\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = Object(__WEBPACK_IMPORTED_MODULE_0__is_string__[\"a\" /* default */])(key) ? key.split('.') : key;\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n return obj === undefined || p < keyArr.length ? defaultValue : obj;\n});\n\n/***/ }),\n/* 107 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_number__ = __webpack_require__(5);\n\n\n\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, path, value) {\n var o = obj;\n var keyArr = Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_object__[\"a\" /* default */])(o[key])) {\n o[key] = Object(__WEBPACK_IMPORTED_MODULE_2__is_number__[\"a\" /* default */])(keyArr[idx + 1]) ? [] : {};\n }\n o = o[key];\n } else {\n o[key] = value;\n }\n });\n return obj;\n});\n\n/***/ }),\n/* 108 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_plain_object__ = __webpack_require__(10);\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (object, keys) {\n if (object === null || !Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(object)) {\n return {};\n }\n var result = {};\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});\n\n/***/ }),\n/* 109 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__reduce__ = __webpack_require__(25);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, keys) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__reduce__[\"a\" /* default */])(obj, function (r, curr, key) {\n if (!keys.includes(key)) {\n r[key] = curr;\n }\n return r;\n }, {});\n});\n\n/***/ }),\n/* 110 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options) options = {};\n var later = function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n var throttled = function () {\n var now = Date.now();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n return throttled;\n});\n\n/***/ }),\n/* 111 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(value) ? Array.prototype.slice.call(value) : [];\n});\n\n/***/ }),\n/* 112 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar map = {};\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (prefix) {\n prefix = prefix || 'g';\n if (!map[prefix]) {\n map[prefix] = 1;\n } else {\n map[prefix] += 1;\n }\n return prefix + map[prefix];\n});\n\n/***/ }),\n/* 113 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function () {});\n\n/***/ }),\n/* 114 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (v) {\n return v;\n});\n\n/***/ }),\n/* 115 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = size;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n\n\nfunction size(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(o)) {\n return 0;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(o)) {\n return o.length;\n }\n return Object.keys(o).length;\n}\n\n/***/ }),\n/* 116 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export __extends */\n/* unused harmony export __assign */\n/* unused harmony export __rest */\n/* unused harmony export __decorate */\n/* unused harmony export __param */\n/* unused harmony export __esDecorate */\n/* unused harmony export __runInitializers */\n/* unused harmony export __propKey */\n/* unused harmony export __setFunctionName */\n/* unused harmony export __metadata */\n/* unused harmony export __awaiter */\n/* unused harmony export __generator */\n/* unused harmony export __createBinding */\n/* unused harmony export __exportStar */\n/* unused harmony export __values */\n/* unused harmony export __read */\n/* unused harmony export __spread */\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = __spreadArrays;\n/* unused harmony export __spreadArray */\n/* unused harmony export __await */\n/* unused harmony export __asyncGenerator */\n/* unused harmony export __asyncDelegator */\n/* unused harmony export __asyncValues */\n/* unused harmony export __makeTemplateObject */\n/* unused harmony export __importStar */\n/* unused harmony export __importDefault */\n/* unused harmony export __classPrivateFieldGet */\n/* unused harmony export __classPrivateFieldSet */\n/* unused harmony export __classPrivateFieldIn */\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nfunction __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nfunction __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nfunction __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nfunction __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) {\n if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\");\n return f;\n }\n var kind = contextIn.kind,\n key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _,\n done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) {\n if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\");\n extraInitializers.push(accept(f || null));\n };\n var result = (0, decorators[i])(kind === \"accessor\" ? {\n get: descriptor.get,\n set: descriptor.set\n } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.push(_);\n } else if (_ = accept(result)) {\n if (kind === \"field\") initializers.push(_);else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n}\n;\nfunction __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n}\n;\nfunction __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n}\n;\nfunction __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", {\n configurable: true,\n value: prefix ? \"\".concat(prefix, \" \", name) : name\n });\n}\n;\nfunction __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nfunction __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nfunction __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\nfunction __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\n\n/** @deprecated */\nfunction __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nfunction __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\nfunction __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\nfunction __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nfunction __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nfunction __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: false\n } : f ? f(v) : v;\n } : f;\n }\n}\nfunction __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nfunction __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nvar __setModuleDefault = Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n};\nfunction __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\nfunction __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nfunction __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nfunction __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nfunction __classPrivateFieldIn(state, receiver) {\n if (receiver === null || typeof receiver !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\n/***/ }),\n/* 117 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__to_string__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__measure_text_width__ = __webpack_require__(34);\n\n\n\n/**\n * 获取文本的 ... 文本。\n * 算法(减少每次 measureText 的长度,measureText 的性能跟字符串时间相关):\n * 1. 先通过 STEP 逐步计算,找到最后一个小于 maxWidth 的字符串\n * 2. 然后对最后这个字符串二分计算\n * @param text 需要计算的文本, 由于历史原因 除了支持string,还支持空值,number和数组等\n * @param maxWidth 最大宽度\n * @param font 字体\n * @param str 要替换的文本\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (text, maxWidth, font, str) {\n if (str === void 0) {\n str = '...';\n }\n var STEP = 16; // 每次 16,调参工程师\n var PLACEHOLDER_WIDTH = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(str, font);\n var leftText = !Object(__WEBPACK_IMPORTED_MODULE_0__is_string__[\"a\" /* default */])(text) ? Object(__WEBPACK_IMPORTED_MODULE_1__to_string__[\"a\" /* default */])(text) : text;\n var leftWidth = maxWidth;\n var r = []; // 最终的分段字符串\n var currentText;\n var currentWidth;\n if (Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(text, font) <= maxWidth) {\n return text;\n }\n // 首先通过 step 计算,找出最大的未超出长度的\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, STEP);\n // 计算宽度\n currentWidth = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n if (currentWidth > leftWidth) {\n break;\n }\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(STEP);\n // 字符串整体没有超出\n if (!leftText) {\n return r.join('');\n }\n }\n // 最下的最后一个 STEP,使用 1 递增(用二分效果更高)\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, 1);\n // 计算宽度\n currentWidth = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n break;\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(1);\n if (!leftText) {\n return r.join('');\n }\n }\n return \"\" + r.join('') + str;\n});\n\n/***/ }),\n/* 118 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * k-v 存储\n */\nvar default_1 = /** @class */function () {\n function default_1() {\n this.map = {};\n }\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n default_1.prototype.clear = function () {\n this.map = {};\n };\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n return default_1;\n}();\n/* harmony default export */ __webpack_exports__[\"a\"] = (default_1);\n\n/***/ }),\n/* 119 */\n/***/ (function(module, exports) {\n\n// wrap tree node\nfunction WrappedTree(w, h, y, c) {\n if (c === void 0) {\n c = [];\n }\n var me = this;\n // size\n me.w = w || 0;\n me.h = h || 0;\n\n // position\n me.y = y || 0;\n me.x = 0;\n\n // children\n me.c = c || [];\n me.cs = c.length;\n\n // modified\n me.prelim = 0;\n me.mod = 0;\n me.shift = 0;\n me.change = 0;\n\n // left/right tree\n me.tl = null;\n me.tr = null;\n\n // extreme left/right tree\n me.el = null;\n me.er = null;\n\n // modified left/right tree\n me.msel = 0;\n me.mser = 0;\n}\nWrappedTree.fromNode = function (root, isHorizontal) {\n if (!root) return null;\n var children = [];\n root.children.forEach(function (child) {\n children.push(WrappedTree.fromNode(child, isHorizontal));\n });\n if (isHorizontal) return new WrappedTree(root.height, root.width, root.x, children);\n return new WrappedTree(root.width, root.height, root.y, children);\n};\n\n// node utils\nfunction moveRight(node, move, isHorizontal) {\n if (isHorizontal) {\n node.y += move;\n } else {\n node.x += move;\n }\n node.children.forEach(function (child) {\n moveRight(child, move, isHorizontal);\n });\n}\nfunction getMin(node, isHorizontal) {\n var res = isHorizontal ? node.y : node.x;\n node.children.forEach(function (child) {\n res = Math.min(getMin(child, isHorizontal), res);\n });\n return res;\n}\nfunction normalize(node, isHorizontal) {\n var min = getMin(node, isHorizontal);\n moveRight(node, -min, isHorizontal);\n}\nfunction convertBack(converted /* WrappedTree */, root /* TreeNode */, isHorizontal) {\n if (isHorizontal) {\n root.y = converted.x;\n } else {\n root.x = converted.x;\n }\n converted.c.forEach(function (child, i) {\n convertBack(child, root.children[i], isHorizontal);\n });\n}\nfunction layer(node, isHorizontal, d) {\n if (d === void 0) {\n d = 0;\n }\n if (isHorizontal) {\n node.x = d;\n d += node.width;\n } else {\n node.y = d;\n d += node.height;\n }\n node.children.forEach(function (child) {\n layer(child, isHorizontal, d);\n });\n}\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n var isHorizontal = options.isHorizontal;\n function firstWalk(t) {\n if (t.cs === 0) {\n setExtremes(t);\n return;\n }\n firstWalk(t.c[0]);\n var ih = updateIYL(bottom(t.c[0].el), 0, null);\n for (var i = 1; i < t.cs; ++i) {\n firstWalk(t.c[i]);\n var min = bottom(t.c[i].er);\n separate(t, i, ih);\n ih = updateIYL(min, i, ih);\n }\n positionRoot(t);\n setExtremes(t);\n }\n function setExtremes(t) {\n if (t.cs === 0) {\n t.el = t;\n t.er = t;\n t.msel = t.mser = 0;\n } else {\n t.el = t.c[0].el;\n t.msel = t.c[0].msel;\n t.er = t.c[t.cs - 1].er;\n t.mser = t.c[t.cs - 1].mser;\n }\n }\n function separate(t, i, ih) {\n var sr = t.c[i - 1];\n var mssr = sr.mod;\n var cl = t.c[i];\n var mscl = cl.mod;\n while (sr !== null && cl !== null) {\n if (bottom(sr) > ih.low) ih = ih.nxt;\n var dist = mssr + sr.prelim + sr.w - (mscl + cl.prelim);\n if (dist > 0) {\n mscl += dist;\n moveSubtree(t, i, ih.index, dist);\n }\n var sy = bottom(sr);\n var cy = bottom(cl);\n if (sy <= cy) {\n sr = nextRightContour(sr);\n if (sr !== null) mssr += sr.mod;\n }\n if (sy >= cy) {\n cl = nextLeftContour(cl);\n if (cl !== null) mscl += cl.mod;\n }\n }\n if (!sr && !!cl) {\n setLeftThread(t, i, cl, mscl);\n } else if (!!sr && !cl) {\n setRightThread(t, i, sr, mssr);\n }\n }\n function moveSubtree(t, i, si, dist) {\n t.c[i].mod += dist;\n t.c[i].msel += dist;\n t.c[i].mser += dist;\n distributeExtra(t, i, si, dist);\n }\n function nextLeftContour(t) {\n return t.cs === 0 ? t.tl : t.c[0];\n }\n function nextRightContour(t) {\n return t.cs === 0 ? t.tr : t.c[t.cs - 1];\n }\n function bottom(t) {\n return t.y + t.h;\n }\n function setLeftThread(t, i, cl, modsumcl) {\n var li = t.c[0].el;\n li.tl = cl;\n var diff = modsumcl - cl.mod - t.c[0].msel;\n li.mod += diff;\n li.prelim -= diff;\n t.c[0].el = t.c[i].el;\n t.c[0].msel = t.c[i].msel;\n }\n function setRightThread(t, i, sr, modsumsr) {\n var ri = t.c[i].er;\n ri.tr = sr;\n var diff = modsumsr - sr.mod - t.c[i].mser;\n ri.mod += diff;\n ri.prelim -= diff;\n t.c[i].er = t.c[i - 1].er;\n t.c[i].mser = t.c[i - 1].mser;\n }\n function positionRoot(t) {\n t.prelim = (t.c[0].prelim + t.c[0].mod + t.c[t.cs - 1].mod + t.c[t.cs - 1].prelim + t.c[t.cs - 1].w) / 2 - t.w / 2;\n }\n function secondWalk(t, modsum) {\n modsum += t.mod;\n t.x = t.prelim + modsum;\n addChildSpacing(t);\n for (var i = 0; i < t.cs; i++) {\n secondWalk(t.c[i], modsum);\n }\n }\n function distributeExtra(t, i, si, dist) {\n if (si !== i - 1) {\n var nr = i - si;\n t.c[si + 1].shift += dist / nr;\n t.c[i].shift -= dist / nr;\n t.c[i].change -= dist - dist / nr;\n }\n }\n function addChildSpacing(t) {\n var d = 0;\n var modsumdelta = 0;\n for (var i = 0; i < t.cs; i++) {\n d += t.c[i].shift;\n modsumdelta += d + t.c[i].change;\n t.c[i].mod += modsumdelta;\n }\n }\n function updateIYL(low, index, ih) {\n while (ih !== null && low >= ih.low) {\n ih = ih.nxt;\n }\n return {\n low: low,\n index: index,\n nxt: ih\n };\n }\n\n // do layout\n layer(root, isHorizontal);\n var wt = WrappedTree.fromNode(root, isHorizontal);\n firstWalk(wt);\n secondWalk(wt, 0);\n convertBack(wt, root, isHorizontal);\n normalize(root, isHorizontal);\n return root;\n};\n\n/***/ }),\n/* 120 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar dendrogram = __webpack_require__(121);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar DendrogramLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(DendrogramLayout, _TreeLayout);\n function DendrogramLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = DendrogramLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n me.rootNode.width = 0;\n return doTreeLayout(me.rootNode, me.options, dendrogram);\n };\n return DendrogramLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction dendrogramLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new DendrogramLayout(root, options).execute();\n}\nmodule.exports = dendrogramLayout;\n\n/***/ }),\n/* 121 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// wrap tree node\n// TODO considering size\nvar util = __webpack_require__(6);\nfunction WrappedTree(height, children) {\n if (height === void 0) {\n height = 0;\n }\n if (children === void 0) {\n children = [];\n }\n var me = this;\n me.x = me.y = 0;\n me.leftChild = me.rightChild = null;\n me.height = 0;\n me.children = children;\n}\nvar DEFAULT_OPTIONS = {\n isHorizontal: true,\n nodeSep: 20,\n nodeSize: 20,\n rankSep: 200,\n subTreeSep: 10\n};\nfunction convertBack(converted /* WrappedTree */, root /* TreeNode */, isHorizontal) {\n if (isHorizontal) {\n root.x = converted.x;\n root.y = converted.y;\n } else {\n root.x = converted.y;\n root.y = converted.x;\n }\n converted.children.forEach(function (child, i) {\n convertBack(child, root.children[i], isHorizontal);\n });\n}\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n var maxDepth = 0;\n function wrappedTreeFromNode(n) {\n if (!n) return null;\n n.width = 0;\n if (n.depth && n.depth > maxDepth) {\n maxDepth = n.depth; // get the max depth\n }\n\n var children = n.children;\n var childrenCount = children.length;\n var t = new WrappedTree(n.height, []);\n children.forEach(function (child, i) {\n var childWT = wrappedTreeFromNode(child);\n t.children.push(childWT);\n if (i === 0) {\n // t.leftChild = childWT.leftChild ? childWT.leftChild : childWT\n t.leftChild = childWT;\n }\n if (i === childrenCount - 1) {\n // t.rightChild = childWT.rightChild ? childWT.rightChild : childWT\n t.rightChild = childWT;\n }\n });\n t.originNode = n;\n t.isLeaf = n.isLeaf();\n return t;\n }\n function getDrawingDepth(t) {\n if (t.isLeaf || t.children.length === 0) {\n t.drawingDepth = maxDepth;\n } else {\n var depths = t.children.map(function (child) {\n return getDrawingDepth(child);\n });\n var minChildDepth = Math.min.apply(null, depths);\n t.drawingDepth = minChildDepth - 1;\n }\n return t.drawingDepth;\n }\n var prevLeaf;\n function position(t) {\n t.x = t.drawingDepth * options.rankSep;\n if (t.isLeaf) {\n t.y = 0;\n if (prevLeaf) {\n t.y = prevLeaf.y + prevLeaf.height + options.nodeSep;\n if (t.originNode.parent !== prevLeaf.originNode.parent) {\n t.y += options.subTreeSep;\n }\n }\n prevLeaf = t;\n } else {\n t.children.forEach(function (child) {\n position(child);\n });\n t.y = (t.leftChild.y + t.rightChild.y) / 2;\n }\n }\n\n // wrap node\n var wt = wrappedTreeFromNode(root);\n // get depth for drawing\n getDrawingDepth(wt);\n // get position\n position(wt);\n // get x, y\n convertBack(wt, root, options.isHorizontal);\n return root;\n};\n\n/***/ }),\n/* 122 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar indentedTree = __webpack_require__(123);\nvar separateTree = __webpack_require__(35);\nvar util = __webpack_require__(6);\nvar VALID_DIRECTIONS = ['LR',\n// left to right\n'RL',\n// right to left\n'H' // horizontal\n];\n\nvar DEFAULT_DIRECTION = VALID_DIRECTIONS[0];\nvar IndentedLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(IndentedLayout, _TreeLayout);\n function IndentedLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = IndentedLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n var options = me.options;\n var root = me.rootNode;\n options.isHorizontal = true;\n // default indent 20 and sink first children;\n var _options$indent = options.indent,\n indent = _options$indent === void 0 ? 20 : _options$indent,\n _options$dropCap = options.dropCap,\n dropCap = _options$dropCap === void 0 ? true : _options$dropCap,\n _options$direction = options.direction,\n direction = _options$direction === void 0 ? DEFAULT_DIRECTION : _options$direction,\n align = options.align;\n if (direction && VALID_DIRECTIONS.indexOf(direction) === -1) {\n throw new TypeError(\"Invalid direction: \" + direction);\n }\n if (direction === VALID_DIRECTIONS[0]) {\n // LR\n indentedTree(root, indent, dropCap, align);\n } else if (direction === VALID_DIRECTIONS[1]) {\n // RL\n indentedTree(root, indent, dropCap, align);\n root.right2left();\n } else if (direction === VALID_DIRECTIONS[2]) {\n // H\n // separate into left and right trees\n var _separateTree = separateTree(root, options),\n left = _separateTree.left,\n right = _separateTree.right;\n indentedTree(left, indent, dropCap, align);\n left.right2left();\n indentedTree(right, indent, dropCap, align);\n var bbox = left.getBoundingBox();\n right.translate(bbox.width, 0);\n root.x = right.x - root.width / 2;\n }\n return root;\n };\n return IndentedLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction indentedLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new IndentedLayout(root, options).execute();\n}\nmodule.exports = indentedLayout;\n\n/***/ }),\n/* 123 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar util = __webpack_require__(6);\nfunction positionNode(node, previousNode, indent, dropCap, align) {\n // caculate the node's horizontal offset DX, dx's type might be number or function\n var displacementX = typeof indent === \"function\" ? indent(node) : indent * node.depth;\n if (!dropCap) {\n try {\n if (node.id === node.parent.children[0].id) {\n node.x += displacementX;\n node.y = previousNode ? previousNode.y : 0;\n return;\n }\n } catch (e) {\n // skip to normal when a node has no parent\n }\n }\n node.x += displacementX;\n if (previousNode) {\n node.y = previousNode.y + util.getHeight(previousNode, node, align);\n if (previousNode.parent && node.parent.id !== previousNode.parent.id) {\n // previous node has different parent\n var prevParent = previousNode.parent;\n var preY = prevParent.y + util.getHeight(prevParent, node, align);\n node.y = preY > node.y ? preY : node.y;\n }\n } else {\n node.y = 0;\n }\n return;\n}\nmodule.exports = function (root, indent, dropCap, align) {\n var previousNode = null;\n root.eachNode(function (node) {\n positionNode(node, previousNode, indent, dropCap, align);\n previousNode = node;\n });\n};\n\n/***/ }),\n/* 124 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar mindmap = __webpack_require__(125);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar MindmapLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(MindmapLayout, _TreeLayout);\n function MindmapLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = MindmapLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n return doTreeLayout(me.rootNode, me.options, mindmap);\n };\n return MindmapLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction mindmapLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new MindmapLayout(root, options).execute();\n}\nmodule.exports = mindmapLayout;\n\n/***/ }),\n/* 125 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar util = __webpack_require__(6);\nfunction secondWalk(node, options) {\n var totalHeight = 0;\n if (!node.children.length) {\n totalHeight = node.height;\n } else {\n node.children.forEach(function (c) {\n totalHeight += secondWalk(c, options);\n });\n }\n node._subTreeSep = options.getSubTreeSep(node.data);\n node.totalHeight = Math.max(node.height, totalHeight) + 2 * node._subTreeSep;\n return node.totalHeight;\n}\nfunction thirdWalk(node) {\n var children = node.children;\n var len = children.length;\n if (len) {\n children.forEach(function (c) {\n thirdWalk(c);\n });\n var first = children[0];\n var last = children[len - 1];\n var childrenHeight = last.y - first.y + last.height;\n var childrenTotalHeight = 0;\n children.forEach(function (child) {\n childrenTotalHeight += child.totalHeight;\n });\n if (childrenHeight > node.height) {\n // 当子节点总高度大于父节点高度\n node.y = first.y + childrenHeight / 2 - node.height / 2;\n } else if (children.length !== 1 || node.height > childrenTotalHeight) {\n // 多于一个子节点或者父节点大于所有子节点的总高度\n var offset = node.y + (node.height - childrenHeight) / 2 - first.y;\n children.forEach(function (c) {\n c.translate(0, offset);\n });\n } else {\n // 只有一个子节点\n node.y = (first.y + first.height / 2 + last.y + last.height / 2) / 2 - node.height / 2;\n }\n }\n}\nvar DEFAULT_OPTIONS = {\n getSubTreeSep: function getSubTreeSep() {\n return 0;\n }\n};\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n root.parent = {\n x: 0,\n width: 0,\n height: 0,\n y: 0\n };\n // first walk\n root.BFTraverse(function (node) {\n node.x = node.parent.x + node.parent.width; // simply get x\n });\n\n root.parent = null;\n // second walk\n secondWalk(root, options); // assign sub tree totalHeight\n // adjusting\n // separating nodes\n root.startY = 0;\n root.y = root.totalHeight / 2 - root.height / 2;\n root.eachNode(function (node) {\n var children = node.children;\n var len = children.length;\n if (len) {\n var first = children[0];\n first.startY = node.startY + node._subTreeSep;\n if (len === 1) {\n first.y = node.y + node.height / 2 - first.height / 2;\n } else {\n first.y = first.startY + first.totalHeight / 2 - first.height / 2;\n for (var i = 1; i < len; i++) {\n var c = children[i];\n c.startY = children[i - 1].startY + children[i - 1].totalHeight;\n c.y = c.startY + c.totalHeight / 2 - c.height / 2;\n }\n }\n }\n });\n\n // third walk\n thirdWalk(root);\n};\n\n/***/ })\n/******/ ]);\n});\n//# sourceMappingURL=hierarchy.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/augment.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "name": "./node_modules/@antv/util/lib/augment.js", + "index": 89, + "index2": 87, + "size": 581, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./augment", + "loc": "176:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar augment = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var c = args[0];\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n if (is_function_1.default(obj)) {\n obj = obj.prototype;\n }\n mix_1.default(c.prototype, obj);\n }\n};\nexports.default = augment;\n//# sourceMappingURL=augment.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/cache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/cache.js", + "name": "./node_modules/@antv/util/lib/cache.js", + "index": 114, + "index2": 111, + "size": 872, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./cache", + "loc": "233:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * k-v 存储\n */\nvar default_1 = /** @class */ (function () {\n function default_1() {\n this.map = {};\n }\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n default_1.prototype.clear = function () {\n this.map = {};\n };\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n return default_1;\n}());\nexports.default = default_1;\n//# sourceMappingURL=cache.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clamp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clamp.js", + "name": "./node_modules/@antv/util/lib/clamp.js", + "index": 49, + "index2": 46, + "size": 284, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clamp", + "loc": "68:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar clamp = function (a, min, max) {\n if (a < min) {\n return min;\n }\n else if (a > max) {\n return max;\n }\n return a;\n};\nexports.default = clamp;\n//# sourceMappingURL=clamp.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clear-animation-frame.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clear-animation-frame.js", + "name": "./node_modules/@antv/util/lib/clear-animation-frame.js", + "index": 88, + "index2": 85, + "size": 474, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clear-animation-frame", + "loc": "173:30-64" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame ||\n window.webkitCancelAnimationFrame ||\n // @ts-ignore\n window.mozCancelAnimationFrame ||\n // @ts-ignore\n window.msCancelAnimationFrame ||\n clearTimeout;\n method(handler);\n}\nexports.default = cancelAnimationFrame;\n;\n//# sourceMappingURL=clear-animation-frame.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clone.js", + "name": "./node_modules/@antv/util/lib/clone.js", + "index": 91, + "index2": 88, + "size": 878, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clone", + "loc": "178:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar clone = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n var rst;\n if (is_array_1.default(obj)) {\n rst = [];\n for (var i = 0, l = obj.length; i < l; i++) {\n if (typeof obj[i] === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n }\n else {\n rst[i] = obj[i];\n }\n }\n }\n else {\n rst = {};\n for (var k in obj) {\n if (typeof obj[k] === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n }\n else {\n rst[k] = obj[k];\n }\n }\n }\n return rst;\n};\nexports.default = clone;\n//# sourceMappingURL=clone.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/contains.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/contains.js", + "name": "./node_modules/@antv/util/lib/contains.js", + "index": 5, + "index2": 3, + "size": 338, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/difference.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "module": "./node_modules/@antv/util/lib/difference.js", + "moduleName": "./node_modules/@antv/util/lib/difference.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/has-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "module": "./node_modules/@antv/util/lib/has-value.js", + "moduleName": "./node_modules/@antv/util/lib/has-value.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "4:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar contains = function (arr, value) {\n if (!is_array_like_1.default(arr)) {\n return false;\n }\n return arr.indexOf(value) > -1;\n};\nexports.default = contains;\n//# sourceMappingURL=contains.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/debounce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/debounce.js", + "name": "./node_modules/@antv/util/lib/debounce.js", + "index": 92, + "index2": 89, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./debounce", + "loc": "180:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this, args = arguments;\n var later = function () {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\nexports.default = debounce;\n//# sourceMappingURL=debounce.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/deep-mix.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "name": "./node_modules/@antv/util/lib/deep-mix.js", + "index": 94, + "index2": 91, + "size": 1405, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./deep-mix", + "loc": "184:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar MAX_MIX_LEVEL = 5;\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n if (value !== null && is_plain_object_1.default(value)) {\n if (!is_plain_object_1.default(dist[key])) {\n dist[key] = {};\n }\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n }\n else {\n dist[key] = src[key];\n }\n }\n else if (is_array_1.default(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n }\n else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n// todo 重写\nvar deepMix = function (rst) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n return rst;\n};\nexports.default = deepMix;\n//# sourceMappingURL=deep-mix.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/difference.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "name": "./node_modules/@antv/util/lib/difference.js", + "index": 7, + "index2": 5, + "size": 668, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./difference", + "loc": "7:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar filter_1 = require(\"./filter\");\nvar contains_1 = require(\"./contains\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\nvar difference = function (arr, values) {\n if (values === void 0) { values = []; }\n return filter_1.default(arr, function (value) { return !contains_1.default(values, value); });\n};\nexports.default = difference;\n//# sourceMappingURL=difference.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/each.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "name": "./node_modules/@antv/util/lib/each.js", + "index": 15, + "index2": 11, + "size": 816, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "issuerId": "./node_modules/@antv/util/lib/reduce.js", + "issuerName": "./node_modules/@antv/util/lib/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + }, + { + "id": "./node_modules/@antv/util/lib/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "name": "./node_modules/@antv/util/lib/reduce.js", + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + } + } + ], + "profile": { + "factory": 10, + "building": 422, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/for-in.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/for-in.js", + "module": "./node_modules/@antv/util/lib/for-in.js", + "moduleName": "./node_modules/@antv/util/lib/for-in.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "186:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "module": "./node_modules/@antv/util/lib/keys.js", + "moduleName": "./node_modules/@antv/util/lib/keys.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "module": "./node_modules/@antv/util/lib/pick.js", + "moduleName": "./node_modules/@antv/util/lib/pick.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "module": "./node_modules/@antv/util/lib/values.js", + "moduleName": "./node_modules/@antv/util/lib/values.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_object_1 = require(\"./is-object\");\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n var rst;\n if (is_array_1.default(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n if (rst === false) {\n break;\n }\n }\n }\n else if (is_object_1.default(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\nexports.default = each;\n//# sourceMappingURL=each.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/ends-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "name": "./node_modules/@antv/util/lib/ends-with.js", + "index": 39, + "index2": 36, + "size": 356, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./ends-with", + "loc": "43:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction endsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[arr.length - 1] === e : false;\n}\nexports.default = endsWith;\n//# sourceMappingURL=ends-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/every.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/every.js", + "name": "./node_modules/@antv/util/lib/every.js", + "index": 40, + "index2": 37, + "size": 381, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./every", + "loc": "47:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i))\n return false;\n }\n return true;\n};\nexports.default = every;\n//# sourceMappingURL=every.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/extend.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "name": "./node_modules/@antv/util/lib/extend.js", + "index": 95, + "index2": 92, + "size": 1315, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./extend", + "loc": "188:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar extend = function (subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!is_function_1.default(superclass)) {\n overrides = superclass;\n superclass = subclass;\n subclass = function () { };\n }\n var create = Object.create ?\n function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } :\n function (proto, c) {\n function Tmp() { }\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n subclass.prototype = mix_1.default(superObj, subclass.prototype); // 指定子类的prototype\n subclass.superclass = create(superclass.prototype, superclass);\n mix_1.default(superObj, overrides);\n mix_1.default(subclass, staticOverrides);\n return subclass;\n};\nexports.default = extend;\n//# sourceMappingURL=extend.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/filter.js", + "name": "./node_modules/@antv/util/lib/filter.js", + "index": 8, + "index2": 4, + "size": 502, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/difference.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "module": "./node_modules/@antv/util/lib/difference.js", + "moduleName": "./node_modules/@antv/util/lib/difference.js", + "type": "cjs require", + "userRequest": "./filter", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./filter", + "loc": "45:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar filter = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n if (func(value, index)) {\n result.push(value);\n }\n }\n return result;\n};\nexports.default = filter;\n//# sourceMappingURL=filter.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/find-index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find-index.js", + "name": "./node_modules/@antv/util/lib/find-index.js", + "index": 20, + "index2": 17, + "size": 417, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./find-index", + "loc": "11:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n return -1;\n}\nexports.default = findIndex;\n//# sourceMappingURL=find-index.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "name": "./node_modules/@antv/util/lib/find.js", + "index": 9, + "index2": 16, + "size": 826, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./find", + "loc": "9:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_match_1 = require(\"./is-match\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nfunction find(arr, predicate) {\n if (!is_array_1.default(arr))\n return null;\n var _predicate;\n if (is_function_1.default(predicate)) {\n _predicate = predicate;\n }\n if (is_plain_object_1.default(predicate)) {\n _predicate = function (a) { return is_match_1.default(a, predicate); };\n }\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n return null;\n}\nexports.default = find;\n//# sourceMappingURL=find.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/first-value.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "name": "./node_modules/@antv/util/lib/first-value.js", + "index": 21, + "index2": 18, + "size": 699, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./first-value", + "loc": "13:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_1 = require(\"./is-array\");\nvar firstValue = function (data, name) {\n var rst = null;\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n if (is_array_1.default(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n }\n else {\n rst = value;\n }\n break;\n }\n }\n return rst;\n};\nexports.default = firstValue;\n//# sourceMappingURL=first-value.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/fixed-base.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/fixed-base.js", + "name": "./node_modules/@antv/util/lib/fixed-base.js", + "index": 50, + "index2": 47, + "size": 448, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./fixed-base", + "loc": "70:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fixedBase = function (v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n if (index === -1) {\n return Math.round(v);\n }\n var length = str.substr(index + 1).length;\n if (length > 20) {\n length = 20;\n }\n return parseFloat(v.toFixed(length));\n};\nexports.default = fixedBase;\n//# sourceMappingURL=fixed-base.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/flatten-deep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten-deep.js", + "name": "./node_modules/@antv/util/lib/flatten-deep.js", + "index": 23, + "index2": 20, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./flatten-deep", + "loc": "17:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\nvar flattenDeep = function (arr, result) {\n if (result === void 0) { result = []; }\n if (!is_array_1.default(arr)) {\n result.push(arr);\n }\n else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n return result;\n};\nexports.default = flattenDeep;\n//# sourceMappingURL=flatten-deep.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten.js", + "name": "./node_modules/@antv/util/lib/flatten.js", + "index": 22, + "index2": 19, + "size": 616, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./flatten", + "loc": "15:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\nvar flatten = function (arr) {\n if (!is_array_1.default(arr)) {\n return [];\n }\n var rst = [];\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n return rst;\n};\nexports.default = flatten;\n//# sourceMappingURL=flatten.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/for-in.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/for-in.js", + "name": "./node_modules/@antv/util/lib/for-in.js", + "index": 65, + "index2": 62, + "size": 177, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./for-in", + "loc": "103:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nexports.default = each_1.default;\n//# sourceMappingURL=for-in.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "name": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "index": 113, + "index2": 110, + "size": 2730, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-ellipsis-text", + "loc": "230:26-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_string_1 = require(\"./is-string\");\nvar to_string_1 = require(\"./to-string\");\nvar measure_text_width_1 = require(\"./measure-text-width\");\n/**\n * 获取文本的 ... 文本。\n * 算法(减少每次 measureText 的长度,measureText 的性能跟字符串时间相关):\n * 1. 先通过 STEP 逐步计算,找到最后一个小于 maxWidth 的字符串\n * 2. 然后对最后这个字符串二分计算\n * @param text 需要计算的文本, 由于历史原因 除了支持string,还支持空值,number和数组等\n * @param maxWidth 最大宽度\n * @param font 字体\n * @param str 要替换的文本\n */\nexports.default = (function (text, maxWidth, font, str) {\n if (str === void 0) { str = '...'; }\n var STEP = 16; // 每次 16,调参工程师\n var PLACEHOLDER_WIDTH = measure_text_width_1.default(str, font);\n var leftText = !is_string_1.default(text) ? to_string_1.default(text) : text;\n var leftWidth = maxWidth;\n var r = []; // 最终的分段字符串\n var currentText;\n var currentWidth;\n if (measure_text_width_1.default(text, font) <= maxWidth) {\n return text;\n }\n // 首先通过 step 计算,找出最大的未超出长度的\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, STEP);\n // 计算宽度\n currentWidth = measure_text_width_1.default(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n if (currentWidth > leftWidth) {\n break;\n }\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(STEP);\n // 字符串整体没有超出\n if (!leftText) {\n return r.join('');\n }\n }\n // 最下的最后一个 STEP,使用 1 递增(用二分效果更高)\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, 1);\n // 计算宽度\n currentWidth = measure_text_width_1.default(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n break;\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(1);\n if (!leftText) {\n return r.join('');\n }\n }\n return \"\" + r.join('') + str;\n});\n//# sourceMappingURL=get-ellipsis-text.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "name": "./node_modules/@antv/util/lib/get-range.js", + "index": 24, + "index2": 23, + "size": 897, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-range", + "loc": "19:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar max_1 = require(\"./max\");\nvar min_1 = require(\"./min\");\nvar getRange = function (values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) { return !isNaN(v); });\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0,\n };\n }\n if (is_array_1.default(values[0])) {\n var tmp = [];\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n filterValues = tmp;\n }\n var max = max_1.default(filterValues);\n var min = min_1.default(filterValues);\n return {\n min: min,\n max: max,\n };\n};\nexports.default = getRange;\n//# sourceMappingURL=get-range.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-type.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-type.js", + "name": "./node_modules/@antv/util/lib/get-type.js", + "index": 76, + "index2": 73, + "size": 281, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-type", + "loc": "129:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./get-type", + "loc": "5:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar getType = function (value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\nexports.default = getType;\n//# sourceMappingURL=get-type.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-wrap-behavior.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-wrap-behavior.js", + "name": "./node_modules/@antv/util/lib/get-wrap-behavior.js", + "index": 45, + "index2": 42, + "size": 408, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-wrap-behavior", + "loc": "58:26-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\nexports.default = getWrapBehavior;\n//# sourceMappingURL=get-wrap-behavior.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get.js", + "name": "./node_modules/@antv/util/lib/get.js", + "index": 102, + "index2": 99, + "size": 557, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get", + "loc": "205:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_string_1 = require(\"./is-string\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\nexports.default = (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = is_string_1.default(key) ? key.split('.') : key;\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n return (obj === undefined || p < keyArr.length) ? defaultValue : obj;\n});\n//# sourceMappingURL=get.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "name": "./node_modules/@antv/util/lib/group-by.js", + "index": 44, + "index2": 39, + "size": 863, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./group-by", + "loc": "5:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group-by", + "loc": "53:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction groupBy(data, condition) {\n if (!condition || !is_array_1.default(data)) {\n return {};\n }\n var result = {};\n // 兼容方法和 字符串的写法\n var predicate = is_function_1.default(condition) ? condition : function (item) { return item[condition]; };\n var key;\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n }\n else {\n result[key] = [item];\n }\n }\n return result;\n}\nexports.default = groupBy;\n//# sourceMappingURL=group-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group-to-map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "name": "./node_modules/@antv/util/lib/group-to-map.js", + "index": 43, + "index2": 40, + "size": 1152, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/group.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group.js", + "module": "./node_modules/@antv/util/lib/group.js", + "moduleName": "./node_modules/@antv/util/lib/group.js", + "type": "cjs require", + "userRequest": "./group-to-map", + "loc": "3:21-46" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group-to-map", + "loc": "55:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar group_by_1 = require(\"./group-by\");\n/**\n * 将数据分组成 map\n * @param data\n * @param condition\n */\nfunction groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data,\n };\n }\n if (!is_function_1.default(condition)) {\n // 如果是字符串,则按照 a*b 风格成数组\n var paramscondition_1 = is_array_1.default(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n condition = function (row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n // 根据字段列表的值,拼接成 key\n for (var i = 0, l = paramscondition_1.length; i < l; i++) {\n unique += row[paramscondition_1[i]] && row[paramscondition_1[i]].toString();\n }\n return unique;\n };\n }\n return group_by_1.default(data, condition);\n}\nexports.default = groupToMap;\n//# sourceMappingURL=group-to-map.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group.js", + "name": "./node_modules/@antv/util/lib/group.js", + "index": 42, + "index2": 41, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group", + "loc": "51:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar group_to_map_1 = require(\"./group-to-map\");\nexports.default = (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n var groups = group_to_map_1.default(data, condition);\n var array = [];\n for (var i in groups) {\n array.push(groups[i]);\n }\n return array;\n});\n//# sourceMappingURL=group.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has-key.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-key.js", + "name": "./node_modules/@antv/util/lib/has-key.js", + "index": 67, + "index2": 64, + "size": 175, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has-key", + "loc": "107:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar has_1 = require(\"./has\");\nexports.default = has_1.default;\n//# sourceMappingURL=has-key.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has-value.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "name": "./node_modules/@antv/util/lib/has-value.js", + "index": 68, + "index2": 66, + "size": 294, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has-value", + "loc": "109:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar contains_1 = require(\"./contains\");\nvar values_1 = require(\"./values\");\nexports.default = (function (obj, value) { return contains_1.default(values_1.default(obj), value); });\n//# sourceMappingURL=has-value.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has.js", + "name": "./node_modules/@antv/util/lib/has.js", + "index": 66, + "index2": 63, + "size": 185, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/has-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-key.js", + "module": "./node_modules/@antv/util/lib/has-key.js", + "moduleName": "./node_modules/@antv/util/lib/has-key.js", + "type": "cjs require", + "userRequest": "./has", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has", + "loc": "105:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (obj, key) { return obj.hasOwnProperty(key); });\n//# sourceMappingURL=has.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/head.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/head.js", + "name": "./node_modules/@antv/util/lib/head.js", + "index": 36, + "index2": 33, + "size": 291, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./head", + "loc": "37:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction head(o) {\n if (is_array_like_1.default(o)) {\n return o[0];\n }\n return undefined;\n}\nexports.default = head;\n//# sourceMappingURL=head.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/identity.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/identity.js", + "name": "./node_modules/@antv/util/lib/identity.js", + "index": 110, + "index2": 107, + "size": 161, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "223:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (v) { return v; });\n//# sourceMappingURL=identity.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/index-of.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index-of.js", + "name": "./node_modules/@antv/util/lib/index-of.js", + "index": 96, + "index2": 93, + "size": 553, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./index-of", + "loc": "190:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar indexOf = function (arr, obj) {\n if (!is_array_like_1.default(arr)) {\n return -1;\n }\n var m = Array.prototype.indexOf;\n if (m) {\n return m.call(arr, obj);\n }\n var index = -1;\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n return index;\n};\nexports.default = indexOf;\n//# sourceMappingURL=index-of.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "index": 4, + "index2": 112, + "size": 17644, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/api/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "module": "./src/api/hierarchy.ts", + "moduleName": "./src/api/hierarchy.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/connector/default.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "module": "./src/connector/default.ts", + "moduleName": "./src/connector/default.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/connector/graph.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "module": "./src/connector/graph.ts", + "moduleName": "./src/connector/graph.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/diagram/arc.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "module": "./src/transform/diagram/arc.ts", + "moduleName": "./src/transform/diagram/arc.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/fold.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "module": "./src/transform/fold.ts", + "moduleName": "./src/transform/fold.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/pick.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "module": "./src/transform/pick.ts", + "moduleName": "./src/transform/pick.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "6:13-34" + }, + { + "moduleId": "./src/transform/rename.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/rename.ts", + "module": "./src/transform/rename.ts", + "moduleName": "./src/transform/rename.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "module": "./src/transform/sort-by.ts", + "moduleName": "./src/transform/sort-by.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/option-parser.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/option-parser.ts", + "module": "./src/util/option-parser.ts", + "moduleName": "./src/util/option-parser.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/simple-sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/simple-sort-by.ts", + "module": "./src/util/simple-sort-by.ts", + "moduleName": "./src/util/simple-sort-by.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "6:13-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// array\nvar contains_1 = require(\"./contains\");\nObject.defineProperty(exports, \"contains\", { enumerable: true, get: function () { return contains_1.default; } });\nObject.defineProperty(exports, \"includes\", { enumerable: true, get: function () { return contains_1.default; } });\nvar difference_1 = require(\"./difference\");\nObject.defineProperty(exports, \"difference\", { enumerable: true, get: function () { return difference_1.default; } });\nvar find_1 = require(\"./find\");\nObject.defineProperty(exports, \"find\", { enumerable: true, get: function () { return find_1.default; } });\nvar find_index_1 = require(\"./find-index\");\nObject.defineProperty(exports, \"findIndex\", { enumerable: true, get: function () { return find_index_1.default; } });\nvar first_value_1 = require(\"./first-value\");\nObject.defineProperty(exports, \"firstValue\", { enumerable: true, get: function () { return first_value_1.default; } });\nvar flatten_1 = require(\"./flatten\");\nObject.defineProperty(exports, \"flatten\", { enumerable: true, get: function () { return flatten_1.default; } });\nvar flatten_deep_1 = require(\"./flatten-deep\");\nObject.defineProperty(exports, \"flattenDeep\", { enumerable: true, get: function () { return flatten_deep_1.default; } });\nvar get_range_1 = require(\"./get-range\");\nObject.defineProperty(exports, \"getRange\", { enumerable: true, get: function () { return get_range_1.default; } });\nvar pull_1 = require(\"./pull\");\nObject.defineProperty(exports, \"pull\", { enumerable: true, get: function () { return pull_1.default; } });\nvar pull_at_1 = require(\"./pull-at\");\nObject.defineProperty(exports, \"pullAt\", { enumerable: true, get: function () { return pull_at_1.default; } });\nvar reduce_1 = require(\"./reduce\");\nObject.defineProperty(exports, \"reduce\", { enumerable: true, get: function () { return reduce_1.default; } });\nvar remove_1 = require(\"./remove\");\nObject.defineProperty(exports, \"remove\", { enumerable: true, get: function () { return remove_1.default; } });\nvar sort_by_1 = require(\"./sort-by\");\nObject.defineProperty(exports, \"sortBy\", { enumerable: true, get: function () { return sort_by_1.default; } });\nvar union_1 = require(\"./union\");\nObject.defineProperty(exports, \"union\", { enumerable: true, get: function () { return union_1.default; } });\nvar uniq_1 = require(\"./uniq\");\nObject.defineProperty(exports, \"uniq\", { enumerable: true, get: function () { return uniq_1.default; } });\nvar values_of_key_1 = require(\"./values-of-key\");\nObject.defineProperty(exports, \"valuesOfKey\", { enumerable: true, get: function () { return values_of_key_1.default; } });\nvar head_1 = require(\"./head\");\nObject.defineProperty(exports, \"head\", { enumerable: true, get: function () { return head_1.default; } });\nvar last_1 = require(\"./last\");\nObject.defineProperty(exports, \"last\", { enumerable: true, get: function () { return last_1.default; } });\nvar starts_with_1 = require(\"./starts-with\");\nObject.defineProperty(exports, \"startsWith\", { enumerable: true, get: function () { return starts_with_1.default; } });\nvar ends_with_1 = require(\"./ends-with\");\nObject.defineProperty(exports, \"endsWith\", { enumerable: true, get: function () { return ends_with_1.default; } });\nvar filter_1 = require(\"./filter\");\nObject.defineProperty(exports, \"filter\", { enumerable: true, get: function () { return filter_1.default; } });\nvar every_1 = require(\"./every\");\nObject.defineProperty(exports, \"every\", { enumerable: true, get: function () { return every_1.default; } });\nvar some_1 = require(\"./some\");\nObject.defineProperty(exports, \"some\", { enumerable: true, get: function () { return some_1.default; } });\nvar group_1 = require(\"./group\");\nObject.defineProperty(exports, \"group\", { enumerable: true, get: function () { return group_1.default; } });\nvar group_by_1 = require(\"./group-by\");\nObject.defineProperty(exports, \"groupBy\", { enumerable: true, get: function () { return group_by_1.default; } });\nvar group_to_map_1 = require(\"./group-to-map\");\nObject.defineProperty(exports, \"groupToMap\", { enumerable: true, get: function () { return group_to_map_1.default; } });\n// event\nvar get_wrap_behavior_1 = require(\"./get-wrap-behavior\");\nObject.defineProperty(exports, \"getWrapBehavior\", { enumerable: true, get: function () { return get_wrap_behavior_1.default; } });\nvar wrap_behavior_1 = require(\"./wrap-behavior\");\nObject.defineProperty(exports, \"wrapBehavior\", { enumerable: true, get: function () { return wrap_behavior_1.default; } });\n// format\nvar number2color_1 = require(\"./number2color\");\nObject.defineProperty(exports, \"number2color\", { enumerable: true, get: function () { return number2color_1.default; } });\nvar parse_radius_1 = require(\"./parse-radius\");\nObject.defineProperty(exports, \"parseRadius\", { enumerable: true, get: function () { return parse_radius_1.default; } });\n// math\nvar clamp_1 = require(\"./clamp\");\nObject.defineProperty(exports, \"clamp\", { enumerable: true, get: function () { return clamp_1.default; } });\nvar fixed_base_1 = require(\"./fixed-base\");\nObject.defineProperty(exports, \"fixedBase\", { enumerable: true, get: function () { return fixed_base_1.default; } });\nvar is_decimal_1 = require(\"./is-decimal\");\nObject.defineProperty(exports, \"isDecimal\", { enumerable: true, get: function () { return is_decimal_1.default; } });\nvar is_even_1 = require(\"./is-even\");\nObject.defineProperty(exports, \"isEven\", { enumerable: true, get: function () { return is_even_1.default; } });\nvar is_integer_1 = require(\"./is-integer\");\nObject.defineProperty(exports, \"isInteger\", { enumerable: true, get: function () { return is_integer_1.default; } });\nvar is_negative_1 = require(\"./is-negative\");\nObject.defineProperty(exports, \"isNegative\", { enumerable: true, get: function () { return is_negative_1.default; } });\nvar is_number_equal_1 = require(\"./is-number-equal\");\nObject.defineProperty(exports, \"isNumberEqual\", { enumerable: true, get: function () { return is_number_equal_1.default; } });\nvar is_odd_1 = require(\"./is-odd\");\nObject.defineProperty(exports, \"isOdd\", { enumerable: true, get: function () { return is_odd_1.default; } });\nvar is_positive_1 = require(\"./is-positive\");\nObject.defineProperty(exports, \"isPositive\", { enumerable: true, get: function () { return is_positive_1.default; } });\nvar max_1 = require(\"./max\");\nObject.defineProperty(exports, \"max\", { enumerable: true, get: function () { return max_1.default; } });\nvar max_by_1 = require(\"./max-by\");\nObject.defineProperty(exports, \"maxBy\", { enumerable: true, get: function () { return max_by_1.default; } });\nvar min_1 = require(\"./min\");\nObject.defineProperty(exports, \"min\", { enumerable: true, get: function () { return min_1.default; } });\nvar min_by_1 = require(\"./min-by\");\nObject.defineProperty(exports, \"minBy\", { enumerable: true, get: function () { return min_by_1.default; } });\nvar mod_1 = require(\"./mod\");\nObject.defineProperty(exports, \"mod\", { enumerable: true, get: function () { return mod_1.default; } });\nvar to_degree_1 = require(\"./to-degree\");\nObject.defineProperty(exports, \"toDegree\", { enumerable: true, get: function () { return to_degree_1.default; } });\nvar to_integer_1 = require(\"./to-integer\");\nObject.defineProperty(exports, \"toInteger\", { enumerable: true, get: function () { return to_integer_1.default; } });\nvar to_radian_1 = require(\"./to-radian\");\nObject.defineProperty(exports, \"toRadian\", { enumerable: true, get: function () { return to_radian_1.default; } });\n// object\nvar for_in_1 = require(\"./for-in\");\nObject.defineProperty(exports, \"forIn\", { enumerable: true, get: function () { return for_in_1.default; } });\nvar has_1 = require(\"./has\");\nObject.defineProperty(exports, \"has\", { enumerable: true, get: function () { return has_1.default; } });\nvar has_key_1 = require(\"./has-key\");\nObject.defineProperty(exports, \"hasKey\", { enumerable: true, get: function () { return has_key_1.default; } });\nvar has_value_1 = require(\"./has-value\");\nObject.defineProperty(exports, \"hasValue\", { enumerable: true, get: function () { return has_value_1.default; } });\nvar keys_1 = require(\"./keys\");\nObject.defineProperty(exports, \"keys\", { enumerable: true, get: function () { return keys_1.default; } });\nvar is_match_1 = require(\"./is-match\");\nObject.defineProperty(exports, \"isMatch\", { enumerable: true, get: function () { return is_match_1.default; } });\nvar values_1 = require(\"./values\");\nObject.defineProperty(exports, \"values\", { enumerable: true, get: function () { return values_1.default; } });\n// string\nvar lower_case_1 = require(\"./lower-case\");\nObject.defineProperty(exports, \"lowerCase\", { enumerable: true, get: function () { return lower_case_1.default; } });\nvar lower_first_1 = require(\"./lower-first\");\nObject.defineProperty(exports, \"lowerFirst\", { enumerable: true, get: function () { return lower_first_1.default; } });\nvar substitute_1 = require(\"./substitute\");\nObject.defineProperty(exports, \"substitute\", { enumerable: true, get: function () { return substitute_1.default; } });\nvar upper_case_1 = require(\"./upper-case\");\nObject.defineProperty(exports, \"upperCase\", { enumerable: true, get: function () { return upper_case_1.default; } });\nvar upper_first_1 = require(\"./upper-first\");\nObject.defineProperty(exports, \"upperFirst\", { enumerable: true, get: function () { return upper_first_1.default; } });\n// type\nvar get_type_1 = require(\"./get-type\");\nObject.defineProperty(exports, \"getType\", { enumerable: true, get: function () { return get_type_1.default; } });\nvar is_arguments_1 = require(\"./is-arguments\");\nObject.defineProperty(exports, \"isArguments\", { enumerable: true, get: function () { return is_arguments_1.default; } });\nvar is_array_1 = require(\"./is-array\");\nObject.defineProperty(exports, \"isArray\", { enumerable: true, get: function () { return is_array_1.default; } });\nvar is_array_like_1 = require(\"./is-array-like\");\nObject.defineProperty(exports, \"isArrayLike\", { enumerable: true, get: function () { return is_array_like_1.default; } });\nvar is_boolean_1 = require(\"./is-boolean\");\nObject.defineProperty(exports, \"isBoolean\", { enumerable: true, get: function () { return is_boolean_1.default; } });\nvar is_date_1 = require(\"./is-date\");\nObject.defineProperty(exports, \"isDate\", { enumerable: true, get: function () { return is_date_1.default; } });\nvar is_error_1 = require(\"./is-error\");\nObject.defineProperty(exports, \"isError\", { enumerable: true, get: function () { return is_error_1.default; } });\nvar is_function_1 = require(\"./is-function\");\nObject.defineProperty(exports, \"isFunction\", { enumerable: true, get: function () { return is_function_1.default; } });\nvar is_finite_1 = require(\"./is-finite\");\nObject.defineProperty(exports, \"isFinite\", { enumerable: true, get: function () { return is_finite_1.default; } });\nvar is_nil_1 = require(\"./is-nil\");\nObject.defineProperty(exports, \"isNil\", { enumerable: true, get: function () { return is_nil_1.default; } });\nvar is_null_1 = require(\"./is-null\");\nObject.defineProperty(exports, \"isNull\", { enumerable: true, get: function () { return is_null_1.default; } });\nvar is_number_1 = require(\"./is-number\");\nObject.defineProperty(exports, \"isNumber\", { enumerable: true, get: function () { return is_number_1.default; } });\nvar is_object_1 = require(\"./is-object\");\nObject.defineProperty(exports, \"isObject\", { enumerable: true, get: function () { return is_object_1.default; } });\nvar is_object_like_1 = require(\"./is-object-like\");\nObject.defineProperty(exports, \"isObjectLike\", { enumerable: true, get: function () { return is_object_like_1.default; } });\nvar is_plain_object_1 = require(\"./is-plain-object\");\nObject.defineProperty(exports, \"isPlainObject\", { enumerable: true, get: function () { return is_plain_object_1.default; } });\nvar is_prototype_1 = require(\"./is-prototype\");\nObject.defineProperty(exports, \"isPrototype\", { enumerable: true, get: function () { return is_prototype_1.default; } });\nvar is_reg_exp_1 = require(\"./is-reg-exp\");\nObject.defineProperty(exports, \"isRegExp\", { enumerable: true, get: function () { return is_reg_exp_1.default; } });\nvar is_string_1 = require(\"./is-string\");\nObject.defineProperty(exports, \"isString\", { enumerable: true, get: function () { return is_string_1.default; } });\nvar is_type_1 = require(\"./is-type\");\nObject.defineProperty(exports, \"isType\", { enumerable: true, get: function () { return is_type_1.default; } });\nvar is_undefined_1 = require(\"./is-undefined\");\nObject.defineProperty(exports, \"isUndefined\", { enumerable: true, get: function () { return is_undefined_1.default; } });\nvar is_element_1 = require(\"./is-element\");\nObject.defineProperty(exports, \"isElement\", { enumerable: true, get: function () { return is_element_1.default; } });\nvar request_animation_frame_1 = require(\"./request-animation-frame\");\nObject.defineProperty(exports, \"requestAnimationFrame\", { enumerable: true, get: function () { return request_animation_frame_1.default; } });\nvar clear_animation_frame_1 = require(\"./clear-animation-frame\");\nObject.defineProperty(exports, \"clearAnimationFrame\", { enumerable: true, get: function () { return clear_animation_frame_1.default; } });\n// other\nvar augment_1 = require(\"./augment\");\nObject.defineProperty(exports, \"augment\", { enumerable: true, get: function () { return augment_1.default; } });\nvar clone_1 = require(\"./clone\");\nObject.defineProperty(exports, \"clone\", { enumerable: true, get: function () { return clone_1.default; } });\nvar debounce_1 = require(\"./debounce\");\nObject.defineProperty(exports, \"debounce\", { enumerable: true, get: function () { return debounce_1.default; } });\nvar memoize_1 = require(\"./memoize\");\nObject.defineProperty(exports, \"memoize\", { enumerable: true, get: function () { return memoize_1.default; } });\nvar deep_mix_1 = require(\"./deep-mix\");\nObject.defineProperty(exports, \"deepMix\", { enumerable: true, get: function () { return deep_mix_1.default; } });\nvar each_1 = require(\"./each\");\nObject.defineProperty(exports, \"each\", { enumerable: true, get: function () { return each_1.default; } });\nvar extend_1 = require(\"./extend\");\nObject.defineProperty(exports, \"extend\", { enumerable: true, get: function () { return extend_1.default; } });\nvar index_of_1 = require(\"./index-of\");\nObject.defineProperty(exports, \"indexOf\", { enumerable: true, get: function () { return index_of_1.default; } });\nvar is_empty_1 = require(\"./is-empty\");\nObject.defineProperty(exports, \"isEmpty\", { enumerable: true, get: function () { return is_empty_1.default; } });\nvar is_equal_1 = require(\"./is-equal\");\nObject.defineProperty(exports, \"isEqual\", { enumerable: true, get: function () { return is_equal_1.default; } });\nvar is_equal_with_1 = require(\"./is-equal-with\");\nObject.defineProperty(exports, \"isEqualWith\", { enumerable: true, get: function () { return is_equal_with_1.default; } });\nvar map_1 = require(\"./map\");\nObject.defineProperty(exports, \"map\", { enumerable: true, get: function () { return map_1.default; } });\nvar map_values_1 = require(\"./map-values\");\nObject.defineProperty(exports, \"mapValues\", { enumerable: true, get: function () { return map_values_1.default; } });\nvar mix_1 = require(\"./mix\");\nObject.defineProperty(exports, \"mix\", { enumerable: true, get: function () { return mix_1.default; } });\nObject.defineProperty(exports, \"assign\", { enumerable: true, get: function () { return mix_1.default; } });\nvar get_1 = require(\"./get\");\nObject.defineProperty(exports, \"get\", { enumerable: true, get: function () { return get_1.default; } });\nvar set_1 = require(\"./set\");\nObject.defineProperty(exports, \"set\", { enumerable: true, get: function () { return set_1.default; } });\nvar pick_1 = require(\"./pick\");\nObject.defineProperty(exports, \"pick\", { enumerable: true, get: function () { return pick_1.default; } });\nvar omit_1 = require(\"./omit\");\nObject.defineProperty(exports, \"omit\", { enumerable: true, get: function () { return omit_1.default; } });\nvar throttle_1 = require(\"./throttle\");\nObject.defineProperty(exports, \"throttle\", { enumerable: true, get: function () { return throttle_1.default; } });\nvar to_array_1 = require(\"./to-array\");\nObject.defineProperty(exports, \"toArray\", { enumerable: true, get: function () { return to_array_1.default; } });\nvar to_string_1 = require(\"./to-string\");\nObject.defineProperty(exports, \"toString\", { enumerable: true, get: function () { return to_string_1.default; } });\nvar unique_id_1 = require(\"./unique-id\");\nObject.defineProperty(exports, \"uniqueId\", { enumerable: true, get: function () { return unique_id_1.default; } });\nvar noop_1 = require(\"./noop\");\nObject.defineProperty(exports, \"noop\", { enumerable: true, get: function () { return noop_1.default; } });\nvar identity_1 = require(\"./identity\");\nObject.defineProperty(exports, \"identity\", { enumerable: true, get: function () { return identity_1.default; } });\nvar size_1 = require(\"./size\");\nObject.defineProperty(exports, \"size\", { enumerable: true, get: function () { return size_1.default; } });\n// text\nvar measure_text_width_1 = require(\"./measure-text-width\");\nObject.defineProperty(exports, \"measureTextWidth\", { enumerable: true, get: function () { return measure_text_width_1.default; } });\nvar get_ellipsis_text_1 = require(\"./get-ellipsis-text\");\nObject.defineProperty(exports, \"getEllipsisText\", { enumerable: true, get: function () { return get_ellipsis_text_1.default; } });\n// 不知道为什么,需要把这个 export,不然 ts 会报类型错误\nvar cache_1 = require(\"./cache\");\nObject.defineProperty(exports, \"Cache\", { enumerable: true, get: function () { return cache_1.default; } });\n//# sourceMappingURL=index.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-arguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-arguments.js", + "name": "./node_modules/@antv/util/lib/is-arguments.js", + "index": 77, + "index2": 74, + "size": 371, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-arguments", + "loc": "131:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isArguments = function (value) {\n return is_type_1.default(value, 'Arguments');\n};\nexports.default = isArguments;\n//# sourceMappingURL=is-arguments.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-array-like.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array-like.js", + "name": "./node_modules/@antv/util/lib/is-array-like.js", + "index": 6, + "index2": 2, + "size": 450, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/contains.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/contains.js", + "module": "./node_modules/@antv/util/lib/contains.js", + "moduleName": "./node_modules/@antv/util/lib/contains.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/filter.js", + "module": "./node_modules/@antv/util/lib/filter.js", + "moduleName": "./node_modules/@antv/util/lib/filter.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/head.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/head.js", + "module": "./node_modules/@antv/util/lib/head.js", + "moduleName": "./node_modules/@antv/util/lib/head.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index-of.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index-of.js", + "module": "./node_modules/@antv/util/lib/index-of.js", + "moduleName": "./node_modules/@antv/util/lib/index-of.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "135:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/last.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/last.js", + "module": "./node_modules/@antv/util/lib/last.js", + "moduleName": "./node_modules/@antv/util/lib/last.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map.js", + "module": "./node_modules/@antv/util/lib/map.js", + "moduleName": "./node_modules/@antv/util/lib/map.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pull-at.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull-at.js", + "module": "./node_modules/@antv/util/lib/pull-at.js", + "moduleName": "./node_modules/@antv/util/lib/pull-at.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/remove.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "module": "./node_modules/@antv/util/lib/remove.js", + "moduleName": "./node_modules/@antv/util/lib/remove.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "module": "./node_modules/@antv/util/lib/size.js", + "moduleName": "./node_modules/@antv/util/lib/size.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/to-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-array.js", + "module": "./node_modules/@antv/util/lib/to-array.js", + "moduleName": "./node_modules/@antv/util/lib/to-array.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isArrayLike = function (value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\nexports.default = isArrayLike;\n//# sourceMappingURL=is-array-like.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array.js", + "name": "./node_modules/@antv/util/lib/is-array.js", + "index": 16, + "index2": 9, + "size": 294, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/clone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clone.js", + "module": "./node_modules/@antv/util/lib/clone.js", + "moduleName": "./node_modules/@antv/util/lib/clone.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "module": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleName": "./node_modules/@antv/util/lib/deep-mix.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "module": "./node_modules/@antv/util/lib/each.js", + "moduleName": "./node_modules/@antv/util/lib/each.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/ends-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "module": "./node_modules/@antv/util/lib/ends-with.js", + "moduleName": "./node_modules/@antv/util/lib/ends-with.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "5:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/first-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "module": "./node_modules/@antv/util/lib/first-value.js", + "moduleName": "./node_modules/@antv/util/lib/first-value.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/flatten-deep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten-deep.js", + "module": "./node_modules/@antv/util/lib/flatten-deep.js", + "moduleName": "./node_modules/@antv/util/lib/flatten-deep.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/flatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten.js", + "module": "./node_modules/@antv/util/lib/flatten.js", + "moduleName": "./node_modules/@antv/util/lib/flatten.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "module": "./node_modules/@antv/util/lib/group-by.js", + "moduleName": "./node_modules/@antv/util/lib/group-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "133:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "module": "./node_modules/@antv/util/lib/max-by.js", + "moduleName": "./node_modules/@antv/util/lib/max-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max.js", + "module": "./node_modules/@antv/util/lib/max.js", + "moduleName": "./node_modules/@antv/util/lib/max.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "module": "./node_modules/@antv/util/lib/min-by.js", + "moduleName": "./node_modules/@antv/util/lib/min-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min.js", + "module": "./node_modules/@antv/util/lib/min.js", + "moduleName": "./node_modules/@antv/util/lib/min.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/parse-radius.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/parse-radius.js", + "module": "./node_modules/@antv/util/lib/parse-radius.js", + "moduleName": "./node_modules/@antv/util/lib/parse-radius.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/starts-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "module": "./node_modules/@antv/util/lib/starts-with.js", + "moduleName": "./node_modules/@antv/util/lib/starts-with.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "module": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleName": "./node_modules/@antv/util/lib/values-of-key.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return Array.isArray ?\n Array.isArray(value) :\n is_type_1.default(value, 'Array');\n});\n//# sourceMappingURL=is-array.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-boolean.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-boolean.js", + "name": "./node_modules/@antv/util/lib/is-boolean.js", + "index": 78, + "index2": 75, + "size": 363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-boolean", + "loc": "137:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isBoolean = function (value) {\n return is_type_1.default(value, 'Boolean');\n};\nexports.default = isBoolean;\n//# sourceMappingURL=is-boolean.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-date.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-date.js", + "name": "./node_modules/@antv/util/lib/is-date.js", + "index": 79, + "index2": 76, + "size": 256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-date", + "loc": "139:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isDate = function (value) {\n return is_type_1.default(value, 'Date');\n};\nexports.default = isDate;\n//# sourceMappingURL=is-date.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-decimal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-decimal.js", + "name": "./node_modules/@antv/util/lib/is-decimal.js", + "index": 51, + "index2": 49, + "size": 276, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-decimal", + "loc": "72:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isDecimal = function (num) {\n return is_number_1.default(num) && num % 1 !== 0;\n};\nexports.default = isDecimal;\n//# sourceMappingURL=is-decimal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-element.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-element.js", + "name": "./node_modules/@antv/util/lib/is-element.js", + "index": 86, + "index2": 83, + "size": 312, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-element", + "loc": "169:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function (o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\nexports.default = isElement;\n//# sourceMappingURL=is-element.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-empty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "name": "./node_modules/@antv/util/lib/is-empty.js", + "index": 97, + "index2": 94, + "size": 1106, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-empty", + "loc": "192:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar get_type_1 = require(\"./get-type\");\nvar is_prototype_1 = require(\"./is-prototype\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (is_nil_1.default(value)) {\n return true;\n }\n if (is_array_like_1.default(value)) {\n return !value.length;\n }\n var type = get_type_1.default(value);\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n if (is_prototype_1.default(value)) {\n return !Object.keys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isEmpty;\n//# sourceMappingURL=is-empty.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-equal-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "name": "./node_modules/@antv/util/lib/is-equal-with.js", + "index": 99, + "index2": 96, + "size": 986, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-equal-with", + "loc": "196:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_equal_1 = require(\"./is-equal\");\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\nexports.default = (function (value, other, fn) {\n if (!is_function_1.default(fn)) {\n return is_equal_1.default(value, other);\n }\n return !!fn(value, other);\n});\n//# sourceMappingURL=is-equal-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-equal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "name": "./node_modules/@antv/util/lib/is-equal.js", + "index": 98, + "index2": 95, + "size": 1423, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-equal", + "loc": "194:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "module": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal-with.js", + "type": "cjs require", + "userRequest": "./is-equal", + "loc": "4:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar is_string_1 = require(\"./is-string\");\nvar isEqual = function (value, other) {\n if (value === other) {\n return true;\n }\n if (!value || !other) {\n return false;\n }\n if (is_string_1.default(value) || is_string_1.default(other)) {\n return false;\n }\n if (is_array_like_1.default(value) || is_array_like_1.default(other)) {\n if (value.length !== other.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n if (is_object_like_1.default(value) || is_object_like_1.default(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n return false;\n};\nexports.default = isEqual;\n//# sourceMappingURL=is-equal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-error.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-error.js", + "name": "./node_modules/@antv/util/lib/is-error.js", + "index": 80, + "index2": 77, + "size": 355, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-error", + "loc": "141:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isError = function (value) {\n return is_type_1.default(value, 'Error');\n};\nexports.default = isError;\n//# sourceMappingURL=is-error.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-even.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-even.js", + "name": "./node_modules/@antv/util/lib/is-even.js", + "index": 53, + "index2": 50, + "size": 267, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-even", + "loc": "74:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isEven = function (num) {\n return is_number_1.default(num) && num % 2 === 0;\n};\nexports.default = isEven;\n//# sourceMappingURL=is-even.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-finite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-finite.js", + "name": "./node_modules/@antv/util/lib/is-finite.js", + "index": 81, + "index2": 78, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-finite", + "loc": "145:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否为有限数\n * @return {Boolean}\n */\nvar is_number_1 = require(\"./is-number\");\nfunction default_1(value) {\n return is_number_1.default(value) && isFinite(value);\n}\nexports.default = default_1;\n//# sourceMappingURL=is-finite.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-function.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-function.js", + "name": "./node_modules/@antv/util/lib/is-function.js", + "index": 10, + "index2": 7, + "size": 332, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/augment.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "module": "./node_modules/@antv/util/lib/augment.js", + "moduleName": "./node_modules/@antv/util/lib/augment.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/extend.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "module": "./node_modules/@antv/util/lib/extend.js", + "moduleName": "./node_modules/@antv/util/lib/extend.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "module": "./node_modules/@antv/util/lib/group-by.js", + "moduleName": "./node_modules/@antv/util/lib/group-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "143:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "module": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal-with.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "module": "./node_modules/@antv/util/lib/keys.js", + "moduleName": "./node_modules/@antv/util/lib/keys.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "module": "./node_modules/@antv/util/lib/max-by.js", + "moduleName": "./node_modules/@antv/util/lib/max-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/memoize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/memoize.js", + "module": "./node_modules/@antv/util/lib/memoize.js", + "moduleName": "./node_modules/@antv/util/lib/memoize.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "module": "./node_modules/@antv/util/lib/min-by.js", + "moduleName": "./node_modules/@antv/util/lib/min-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "5:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "module": "./node_modules/@antv/util/lib/values.js", + "moduleName": "./node_modules/@antv/util/lib/values.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return is_type_1.default(value, 'Function');\n});\n//# sourceMappingURL=is-function.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-integer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-integer.js", + "name": "./node_modules/@antv/util/lib/is-integer.js", + "index": 54, + "index2": 51, + "size": 314, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-integer", + "loc": "76:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return is_number_1.default(num) && num % 1 === 0;\n};\nexports.default = isInteger;\n//# sourceMappingURL=is-integer.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-match.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "name": "./node_modules/@antv/util/lib/is-match.js", + "index": 12, + "index2": 13, + "size": 551, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-match", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-match", + "loc": "113:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar keys_1 = require(\"./keys\");\nfunction isMatch(obj, attrs) {\n var _keys = keys_1.default(attrs);\n var length = _keys.length;\n if (is_nil_1.default(obj))\n return !length;\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isMatch;\n//# sourceMappingURL=is-match.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-negative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-negative.js", + "name": "./node_modules/@antv/util/lib/is-negative.js", + "index": 55, + "index2": 52, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-negative", + "loc": "78:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isNegative = function (num) {\n return is_number_1.default(num) && num < 0;\n};\nexports.default = isNegative;\n//# sourceMappingURL=is-negative.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-nil.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-nil.js", + "name": "./node_modules/@antv/util/lib/is-nil.js", + "index": 13, + "index2": 8, + "size": 299, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/first-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "module": "./node_modules/@antv/util/lib/first-value.js", + "moduleName": "./node_modules/@antv/util/lib/first-value.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "147:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-match.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "module": "./node_modules/@antv/util/lib/is-match.js", + "moduleName": "./node_modules/@antv/util/lib/is-match.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map-values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "module": "./node_modules/@antv/util/lib/map-values.js", + "moduleName": "./node_modules/@antv/util/lib/map-values.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "module": "./node_modules/@antv/util/lib/size.js", + "moduleName": "./node_modules/@antv/util/lib/size.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/to-string.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-string.js", + "module": "./node_modules/@antv/util/lib/to-string.js", + "moduleName": "./node_modules/@antv/util/lib/to-string.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "module": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleName": "./node_modules/@antv/util/lib/values-of-key.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "4:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// isFinite,\nvar isNil = function (value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\nexports.default = isNil;\n//# sourceMappingURL=is-nil.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-null.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-null.js", + "name": "./node_modules/@antv/util/lib/is-null.js", + "index": 82, + "index2": 79, + "size": 200, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-null", + "loc": "149:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isNull = function (value) {\n return value === null;\n};\nexports.default = isNull;\n//# sourceMappingURL=is-null.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-number-equal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number-equal.js", + "name": "./node_modules/@antv/util/lib/is-number-equal.js", + "index": 56, + "index2": 53, + "size": 368, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-number-equal", + "loc": "80:24-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PRECISION = 0.00001; // numbers less than this is considered as 0\nfunction isNumberEqual(a, b, precision) {\n if (precision === void 0) { precision = PRECISION; }\n return Math.abs((a - b)) < precision;\n}\nexports.default = isNumberEqual;\n;\n//# sourceMappingURL=is-number-equal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-number.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number.js", + "name": "./node_modules/@antv/util/lib/is-number.js", + "index": 52, + "index2": 48, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "151:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-decimal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-decimal.js", + "module": "./node_modules/@antv/util/lib/is-decimal.js", + "moduleName": "./node_modules/@antv/util/lib/is-decimal.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-even.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-even.js", + "module": "./node_modules/@antv/util/lib/is-even.js", + "moduleName": "./node_modules/@antv/util/lib/is-even.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-finite.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-finite.js", + "module": "./node_modules/@antv/util/lib/is-finite.js", + "moduleName": "./node_modules/@antv/util/lib/is-finite.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "7:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-integer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-integer.js", + "module": "./node_modules/@antv/util/lib/is-integer.js", + "moduleName": "./node_modules/@antv/util/lib/is-integer.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-negative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-negative.js", + "module": "./node_modules/@antv/util/lib/is-negative.js", + "moduleName": "./node_modules/@antv/util/lib/is-negative.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-odd.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-odd.js", + "module": "./node_modules/@antv/util/lib/is-odd.js", + "moduleName": "./node_modules/@antv/util/lib/is-odd.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-positive.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-positive.js", + "module": "./node_modules/@antv/util/lib/is-positive.js", + "moduleName": "./node_modules/@antv/util/lib/is-positive.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "5:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nvar is_type_1 = require(\"./is-type\");\nvar isNumber = function (value) {\n return is_type_1.default(value, 'Number');\n};\nexports.default = isNumber;\n//# sourceMappingURL=is-number.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-object-like.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-object-like.js", + "name": "./node_modules/@antv/util/lib/is-object-like.js", + "index": 19, + "index2": 14, + "size": 409, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "155:23-50" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "3:23-50" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "module": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleName": "./node_modules/@antv/util/lib/is-plain-object.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "3:23-50" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isObjectLike = function (value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return typeof value === 'object' && value !== null;\n};\nexports.default = isObjectLike;\n//# sourceMappingURL=is-object-like.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-object.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-object.js", + "name": "./node_modules/@antv/util/lib/is-object.js", + "index": 17, + "index2": 10, + "size": 400, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "module": "./node_modules/@antv/util/lib/each.js", + "moduleName": "./node_modules/@antv/util/lib/each.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "153:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map-values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "module": "./node_modules/@antv/util/lib/map-values.js", + "moduleName": "./node_modules/@antv/util/lib/map-values.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "3:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value;\n return value !== null && type === 'object' || type === 'function';\n});\n//# sourceMappingURL=is-object.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-odd.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-odd.js", + "name": "./node_modules/@antv/util/lib/is-odd.js", + "index": 57, + "index2": 54, + "size": 264, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-odd", + "loc": "82:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isOdd = function (num) {\n return is_number_1.default(num) && num % 2 !== 0;\n};\nexports.default = isOdd;\n//# sourceMappingURL=is-odd.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-plain-object.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "name": "./node_modules/@antv/util/lib/is-plain-object.js", + "index": 18, + "index2": 15, + "size": 837, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "module": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleName": "./node_modules/@antv/util/lib/deep-mix.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "4:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "6:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "157:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "module": "./node_modules/@antv/util/lib/pick.js", + "moduleName": "./node_modules/@antv/util/lib/pick.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "4:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "5:24-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_type_1 = require(\"./is-type\");\nvar isPlainObject = function (value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!is_object_like_1.default(value) || !is_type_1.default(value, 'Object')) {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n var proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n};\nexports.default = isPlainObject;\n//# sourceMappingURL=is-plain-object.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-positive.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-positive.js", + "name": "./node_modules/@antv/util/lib/is-positive.js", + "index": 58, + "index2": 55, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-positive", + "loc": "84:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isPositive = function (num) {\n return is_number_1.default(num) && num > 0;\n};\nexports.default = isPositive;\n//# sourceMappingURL=is-positive.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-prototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-prototype.js", + "name": "./node_modules/@antv/util/lib/is-prototype.js", + "index": 83, + "index2": 80, + "size": 374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-prototype", + "loc": "159:21-46" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-prototype", + "loc": "6:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar objectProto = Object.prototype;\nvar isPrototype = function (value) {\n var Ctor = value && value.constructor;\n var proto = (typeof Ctor === 'function' && Ctor.prototype) || objectProto;\n return value === proto;\n};\nexports.default = isPrototype;\n//# sourceMappingURL=is-prototype.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-reg-exp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-reg-exp.js", + "name": "./node_modules/@antv/util/lib/is-reg-exp.js", + "index": 84, + "index2": 81, + "size": 261, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-reg-exp", + "loc": "161:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isRegExp = function (str) {\n return is_type_1.default(str, 'RegExp');\n};\nexports.default = isRegExp;\n//# sourceMappingURL=is-reg-exp.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-string.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-string.js", + "name": "./node_modules/@antv/util/lib/is-string.js", + "index": 32, + "index2": 28, + "size": 237, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/ends-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "module": "./node_modules/@antv/util/lib/ends-with.js", + "moduleName": "./node_modules/@antv/util/lib/ends-with.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get.js", + "module": "./node_modules/@antv/util/lib/get.js", + "moduleName": "./node_modules/@antv/util/lib/get.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "163:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "5:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "6:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/starts-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "module": "./node_modules/@antv/util/lib/starts-with.js", + "moduleName": "./node_modules/@antv/util/lib/starts-with.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (str) {\n return is_type_1.default(str, 'String');\n});\n//# sourceMappingURL=is-string.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-type.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-type.js", + "name": "./node_modules/@antv/util/lib/is-type.js", + "index": 11, + "index2": 6, + "size": 264, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "165:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-arguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-arguments.js", + "module": "./node_modules/@antv/util/lib/is-arguments.js", + "moduleName": "./node_modules/@antv/util/lib/is-arguments.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array.js", + "module": "./node_modules/@antv/util/lib/is-array.js", + "moduleName": "./node_modules/@antv/util/lib/is-array.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-boolean.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-boolean.js", + "module": "./node_modules/@antv/util/lib/is-boolean.js", + "moduleName": "./node_modules/@antv/util/lib/is-boolean.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-date.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-date.js", + "module": "./node_modules/@antv/util/lib/is-date.js", + "moduleName": "./node_modules/@antv/util/lib/is-date.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-error.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-error.js", + "module": "./node_modules/@antv/util/lib/is-error.js", + "moduleName": "./node_modules/@antv/util/lib/is-error.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-function.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-function.js", + "module": "./node_modules/@antv/util/lib/is-function.js", + "moduleName": "./node_modules/@antv/util/lib/is-function.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "8:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-number.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number.js", + "module": "./node_modules/@antv/util/lib/is-number.js", + "moduleName": "./node_modules/@antv/util/lib/is-number.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "7:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "module": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleName": "./node_modules/@antv/util/lib/is-plain-object.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "4:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-reg-exp.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-reg-exp.js", + "module": "./node_modules/@antv/util/lib/is-reg-exp.js", + "moduleName": "./node_modules/@antv/util/lib/is-reg-exp.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-string.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-string.js", + "module": "./node_modules/@antv/util/lib/is-string.js", + "moduleName": "./node_modules/@antv/util/lib/is-string.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar isType = function (value, type) { return toString.call(value) === '[object ' + type + ']'; };\nexports.default = isType;\n//# sourceMappingURL=is-type.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-undefined.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-undefined.js", + "name": "./node_modules/@antv/util/lib/is-undefined.js", + "index": 85, + "index2": 82, + "size": 220, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-undefined", + "loc": "167:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isUndefined = function (value) {\n return value === undefined;\n};\nexports.default = isUndefined;\n//# sourceMappingURL=is-undefined.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "name": "./node_modules/@antv/util/lib/keys.js", + "index": 14, + "index2": 12, + "size": 506, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "111:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-match.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "module": "./node_modules/@antv/util/lib/is-match.js", + "moduleName": "./node_modules/@antv/util/lib/is-match.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "4:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\nvar keys = Object.keys ? function (obj) { return Object.keys(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nexports.default = keys;\n//# sourceMappingURL=keys.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/last.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/last.js", + "name": "./node_modules/@antv/util/lib/last.js", + "index": 37, + "index2": 34, + "size": 327, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./last", + "loc": "39:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction last(o) {\n if (is_array_like_1.default(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n return undefined;\n}\nexports.default = last;\n//# sourceMappingURL=last.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/lower-case.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-case.js", + "name": "./node_modules/@antv/util/lib/lower-case.js", + "index": 70, + "index2": 68, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./lower-case", + "loc": "118:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerCase = function (str) {\n return to_string_1.default(str).toLowerCase();\n};\nexports.default = lowerCase;\n//# sourceMappingURL=lower-case.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/lower-first.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-first.js", + "name": "./node_modules/@antv/util/lib/lower-first.js", + "index": 72, + "index2": 69, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./lower-first", + "loc": "120:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\nexports.default = lowerFirst;\n//# sourceMappingURL=lower-first.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/map-values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "name": "./node_modules/@antv/util/lib/map-values.js", + "index": 101, + "index2": 98, + "size": 571, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./map-values", + "loc": "200:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_object_1 = require(\"./is-object\");\nvar identity = function (v) { return v; };\nexports.default = (function (object, func) {\n if (func === void 0) { func = identity; }\n var r = {};\n if (is_object_1.default(object) && !is_nil_1.default(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n return r;\n});\n//# sourceMappingURL=map-values.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map.js", + "name": "./node_modules/@antv/util/lib/map.js", + "index": 100, + "index2": 97, + "size": 480, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./map", + "loc": "198:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar map = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n // @ts-ignore\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n return result;\n};\nexports.default = map;\n//# sourceMappingURL=map.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/max-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "name": "./node_modules/@antv/util/lib/max-by.js", + "index": 59, + "index2": 56, + "size": 929, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./max-by", + "loc": "88:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var maxItem;\n var max = -Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = is_function_1.default(fn) ? fn(item) : item[fn];\n if (v > max) {\n maxItem = item;\n max = v;\n }\n }\n return maxItem;\n});\n//# sourceMappingURL=max-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max.js", + "name": "./node_modules/@antv/util/lib/max.js", + "index": 25, + "index2": 21, + "size": 711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./max", + "loc": "4:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./max", + "loc": "86:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the maximum value.\n * @example\n *\n * max([1, 2]);\n * // => 2\n *\n * max([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * max(data);\n * // => 1250010\n * // Math.max(...data) will encounter \"Maximum call stack size exceeded\" error\n */\nexports.default = (function (arr) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.max(prev, curr);\n }, arr[0]);\n});\n//# sourceMappingURL=max.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/measure-text-width.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "name": "./node_modules/@antv/util/lib/measure-text-width.js", + "index": 112, + "index2": 109, + "size": 966, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./measure-text-width", + "loc": "5:27-58" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./measure-text-width", + "loc": "228:27-58" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar values_1 = require(\"./values\");\nvar memoize_1 = require(\"./memoize\");\nvar is_string_1 = require(\"./is-string\");\nvar ctx;\n/**\n * 计算文本的宽度\n */\nexports.default = memoize_1.default(function (text, font) {\n if (font === void 0) { font = {}; }\n var fontSize = font.fontSize, fontFamily = font.fontFamily, fontWeight = font.fontWeight, fontStyle = font.fontStyle, fontVariant = font.fontVariant;\n if (!ctx) {\n ctx = document.createElement('canvas').getContext('2d');\n }\n ctx.font = [fontStyle, fontVariant, fontWeight, fontSize + \"px\", fontFamily].join(' ');\n return ctx.measureText(is_string_1.default(text) ? text : '').width;\n}, function (text, font) {\n if (font === void 0) { font = {}; }\n return tslib_1.__spreadArrays([text], values_1.default(font)).join('');\n});\n//# sourceMappingURL=measure-text-width.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/memoize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/memoize.js", + "name": "./node_modules/@antv/util/lib/memoize.js", + "index": 93, + "index2": 90, + "size": 1030, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "182:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "5:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\nexports.default = (function (f, resolver) {\n if (!is_function_1.default(f)) {\n throw new TypeError('Expected a function');\n }\n var memoized = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = f.apply(this, args);\n // 缓存起来\n cache.set(key, result);\n return result;\n };\n memoized.cache = new Map();\n return memoized;\n});\n//# sourceMappingURL=memoize.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/min-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "name": "./node_modules/@antv/util/lib/min-by.js", + "index": 60, + "index2": 57, + "size": 928, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./min-by", + "loc": "92:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var minItem;\n var min = Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = is_function_1.default(fn) ? fn(item) : item[fn];\n if (v < min) {\n minItem = item;\n min = v;\n }\n }\n return minItem;\n});\n//# sourceMappingURL=min-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min.js", + "name": "./node_modules/@antv/util/lib/min.js", + "index": 26, + "index2": 22, + "size": 711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./min", + "loc": "5:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./min", + "loc": "90:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the minimum value.\n * @example\n *\n * min([1, 2]);\n * // => 1\n *\n * min([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * min(data);\n * // => 1250010\n * // Math.min(...data) will encounter \"Maximum call stack size exceeded\" error\n */\nexports.default = (function (arr) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.min(prev, curr);\n }, arr[0]);\n});\n//# sourceMappingURL=min.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/mix.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/mix.js", + "name": "./node_modules/@antv/util/lib/mix.js", + "index": 90, + "index2": 86, + "size": 565, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/augment.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "module": "./node_modules/@antv/util/lib/augment.js", + "moduleName": "./node_modules/@antv/util/lib/augment.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/extend.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "module": "./node_modules/@antv/util/lib/extend.js", + "moduleName": "./node_modules/@antv/util/lib/extend.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "202:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// FIXME: Mutable param should be forbidden in static lang.\nfunction _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\nfunction mix(dist, src1, src2, src3) {\n if (src1)\n _mix(dist, src1);\n if (src2)\n _mix(dist, src2);\n if (src3)\n _mix(dist, src3);\n return dist;\n}\nexports.default = mix;\n//# sourceMappingURL=mix.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/mod.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/mod.js", + "name": "./node_modules/@antv/util/lib/mod.js", + "index": 61, + "index2": 58, + "size": 192, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./mod", + "loc": "94:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mod = function (n, m) {\n return ((n % m) + m) % m;\n};\nexports.default = mod;\n//# sourceMappingURL=mod.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/noop.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/noop.js", + "name": "./node_modules/@antv/util/lib/noop.js", + "index": 109, + "index2": 106, + "size": 146, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./noop", + "loc": "221:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function () { });\n//# sourceMappingURL=noop.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/number2color.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/number2color.js", + "name": "./node_modules/@antv/util/lib/number2color.js", + "index": 47, + "index2": 44, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./number2color", + "loc": "63:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar numColorCache = {};\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n if (!color) {\n var str = num.toString(16);\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n color = '#' + str;\n numColorCache[num] = color;\n }\n return color;\n}\nexports.default = numberToColor;\n//# sourceMappingURL=number2color.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/omit.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/omit.js", + "name": "./node_modules/@antv/util/lib/omit.js", + "index": 105, + "index2": 102, + "size": 352, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./omit", + "loc": "211:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar reduce_1 = require(\"./reduce\");\nexports.default = (function (obj, keys) {\n return reduce_1.default(obj, function (r, curr, key) {\n if (!keys.includes(key)) {\n r[key] = curr;\n }\n return r;\n }, {});\n});\n//# sourceMappingURL=omit.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/parse-radius.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/parse-radius.js", + "name": "./node_modules/@antv/util/lib/parse-radius.js", + "index": 48, + "index2": 45, + "size": 921, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./parse-radius", + "loc": "65:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nfunction parseRadius(radius) {\n var r1 = 0, r2 = 0, r3 = 0, r4 = 0;\n if (is_array_1.default(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n }\n else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n }\n else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n }\n else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n }\n else {\n r1 = r2 = r3 = r4 = radius;\n }\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\nexports.default = parseRadius;\n//# sourceMappingURL=parse-radius.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "name": "./node_modules/@antv/util/lib/pick.js", + "index": 104, + "index2": 101, + "size": 575, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pick", + "loc": "209:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexports.default = (function (object, keys) {\n if (object === null || !is_plain_object_1.default(object)) {\n return {};\n }\n var result = {};\n each_1.default(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});\n//# sourceMappingURL=pick.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pull-at.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull-at.js", + "name": "./node_modules/@antv/util/lib/pull-at.js", + "index": 28, + "index2": 25, + "size": 655, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pull-at", + "loc": "23:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/remove.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "module": "./node_modules/@antv/util/lib/remove.js", + "moduleName": "./node_modules/@antv/util/lib/remove.js", + "type": "cjs require", + "userRequest": "./pull-at", + "loc": "4:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar splice = Array.prototype.splice;\nvar pullAt = function pullAt(arr, indexes) {\n if (!is_array_like_1.default(arr)) {\n return [];\n }\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n return arr;\n};\nexports.default = pullAt;\n//# sourceMappingURL=pull-at.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pull.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull.js", + "name": "./node_modules/@antv/util/lib/pull.js", + "index": 27, + "index2": 24, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pull", + "loc": "21:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar pull = function (arr) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n return arr;\n};\nexports.default = pull;\n//# sourceMappingURL=pull.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "name": "./node_modules/@antv/util/lib/reduce.js", + "index": 29, + "index2": 26, + "size": 536, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./reduce", + "loc": "25:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/omit.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/omit.js", + "module": "./node_modules/@antv/util/lib/omit.js", + "moduleName": "./node_modules/@antv/util/lib/omit.js", + "type": "cjs require", + "userRequest": "./reduce", + "loc": "3:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar reduce = function (arr, fn, init) {\n if (!is_array_1.default(arr) && !is_plain_object_1.default(arr)) {\n return arr;\n }\n var result = init;\n each_1.default(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\nexports.default = reduce;\n//# sourceMappingURL=reduce.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/remove.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "name": "./node_modules/@antv/util/lib/remove.js", + "index": 30, + "index2": 27, + "size": 829, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./remove", + "loc": "27:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar pull_at_1 = require(\"./pull-at\");\nvar remove = function (arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n if (!is_array_like_1.default(arr)) {\n return result;\n }\n var i = -1;\n var indexes = [];\n var length = arr.length;\n while (++i < length) {\n var value = arr[i];\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n pull_at_1.default(arr, indexes);\n return result;\n};\nexports.default = remove;\n//# sourceMappingURL=remove.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/request-animation-frame.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/request-animation-frame.js", + "name": "./node_modules/@antv/util/lib/request-animation-frame.js", + "index": 87, + "index2": 84, + "size": 529, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./request-animation-frame", + "loc": "171:32-68" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n // @ts-ignore\n window.mozRequestAnimationFrame ||\n // @ts-ignore\n window.msRequestAnimationFrame ||\n function (f) {\n return setTimeout(f, 16);\n };\n return method(fn);\n}\nexports.default = requestAnimationFrame;\n;\n//# sourceMappingURL=request-animation-frame.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/set.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "name": "./node_modules/@antv/util/lib/set.js", + "index": 103, + "index2": 100, + "size": 839, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./set", + "loc": "207:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_1 = require(\"./is-object\");\nvar is_string_1 = require(\"./is-string\");\nvar is_number_1 = require(\"./is-number\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\nexports.default = (function (obj, path, value) {\n var o = obj;\n var keyArr = is_string_1.default(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!is_object_1.default(o[key])) {\n o[key] = is_number_1.default(keyArr[idx + 1]) ? [] : {};\n }\n o = o[key];\n }\n else {\n o[key] = value;\n }\n });\n return obj;\n});\n//# sourceMappingURL=set.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "name": "./node_modules/@antv/util/lib/size.js", + "index": 111, + "index2": 108, + "size": 398, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./size", + "loc": "225:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction size(o) {\n if (is_nil_1.default(o)) {\n return 0;\n }\n if (is_array_like_1.default(o)) {\n return o.length;\n }\n return Object.keys(o).length;\n}\nexports.default = size;\n//# sourceMappingURL=size.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/some.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/some.js", + "name": "./node_modules/@antv/util/lib/some.js", + "index": 41, + "index2": 38, + "size": 373, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./some", + "loc": "49:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i))\n return true;\n }\n return false;\n};\nexports.default = some;\n//# sourceMappingURL=some.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/sort-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "name": "./node_modules/@antv/util/lib/sort-by.js", + "index": 31, + "index2": 29, + "size": 1022, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./sort-by", + "loc": "29:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nvar is_function_1 = require(\"./is-function\");\nfunction sortBy(arr, key) {\n var comparer;\n if (is_function_1.default(key)) {\n comparer = function (a, b) { return key(a) - key(b); };\n }\n else {\n var keys_1 = [];\n if (is_string_1.default(key)) {\n keys_1.push(key);\n }\n else if (is_array_1.default(key)) {\n keys_1 = key;\n }\n comparer = function (a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n if (a[prop] > b[prop]) {\n return 1;\n }\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n return 0;\n };\n }\n arr.sort(comparer);\n return arr;\n}\nexports.default = sortBy;\n//# sourceMappingURL=sort-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/starts-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "name": "./node_modules/@antv/util/lib/starts-with.js", + "index": 38, + "index2": 35, + "size": 349, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./starts-with", + "loc": "41:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction startsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[0] === e : false;\n}\nexports.default = startsWith;\n//# sourceMappingURL=starts-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/substitute.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/substitute.js", + "name": "./node_modules/@antv/util/lib/substitute.js", + "index": 73, + "index2": 70, + "size": 441, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./substitute", + "loc": "122:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n return (o[name] === undefined) ? '' : o[name];\n });\n}\nexports.default = substitute;\n//# sourceMappingURL=substitute.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/throttle.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/throttle.js", + "name": "./node_modules/@antv/util/lib/throttle.js", + "index": 106, + "index2": 103, + "size": 1363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./throttle", + "loc": "213:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options)\n options = {};\n var later = function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n };\n var throttled = function () {\n var now = Date.now();\n if (!previous && options.leading === false)\n previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n }\n else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n return throttled;\n});\n//# sourceMappingURL=throttle.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-array.js", + "name": "./node_modules/@antv/util/lib/to-array.js", + "index": 107, + "index2": 104, + "size": 289, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-array", + "loc": "215:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nexports.default = (function (value) {\n return is_array_like_1.default(value) ? Array.prototype.slice.call(value) : [];\n});\n//# sourceMappingURL=to-array.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-degree.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-degree.js", + "name": "./node_modules/@antv/util/lib/to-degree.js", + "index": 62, + "index2": 59, + "size": 236, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-degree", + "loc": "96:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DEGREE = 180 / Math.PI;\nvar toDegree = function (radian) {\n return DEGREE * radian;\n};\nexports.default = toDegree;\n//# sourceMappingURL=to-degree.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-integer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-integer.js", + "name": "./node_modules/@antv/util/lib/to-integer.js", + "index": 63, + "index2": 60, + "size": 143, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-integer", + "loc": "98:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = parseInt;\n//# sourceMappingURL=to-integer.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-radian.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-radian.js", + "name": "./node_modules/@antv/util/lib/to-radian.js", + "index": 64, + "index2": 61, + "size": 236, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-radian", + "loc": "100:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RADIAN = Math.PI / 180;\nvar toRadian = function (degree) {\n return RADIAN * degree;\n};\nexports.default = toRadian;\n//# sourceMappingURL=to-radian.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-string.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-string.js", + "name": "./node_modules/@antv/util/lib/to-string.js", + "index": 71, + "index2": 67, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "217:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/lower-case.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-case.js", + "module": "./node_modules/@antv/util/lib/lower-case.js", + "moduleName": "./node_modules/@antv/util/lib/lower-case.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/lower-first.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-first.js", + "module": "./node_modules/@antv/util/lib/lower-first.js", + "moduleName": "./node_modules/@antv/util/lib/lower-first.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/upper-case.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-case.js", + "module": "./node_modules/@antv/util/lib/upper-case.js", + "moduleName": "./node_modules/@antv/util/lib/upper-case.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/upper-first.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-first.js", + "module": "./node_modules/@antv/util/lib/upper-first.js", + "moduleName": "./node_modules/@antv/util/lib/upper-first.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (value) {\n if (is_nil_1.default(value))\n return '';\n return value.toString();\n});\n//# sourceMappingURL=to-string.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/union.js", + "name": "./node_modules/@antv/util/lib/union.js", + "index": 33, + "index2": 31, + "size": 370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./union", + "loc": "31:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar uniq_1 = require(\"./uniq\");\nvar union = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return uniq_1.default([].concat.apply([], sources));\n};\nexports.default = union;\n//# sourceMappingURL=union.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/uniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/uniq.js", + "name": "./node_modules/@antv/util/lib/uniq.js", + "index": 34, + "index2": 30, + "size": 542, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./uniq", + "loc": "33:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/union.js", + "module": "./node_modules/@antv/util/lib/union.js", + "moduleName": "./node_modules/@antv/util/lib/union.js", + "type": "cjs require", + "userRequest": "./uniq", + "loc": "3:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction uniq(arr, cache) {\n if (cache === void 0) { cache = new Map(); }\n var r = [];\n if (Array.isArray(arr)) {\n for (var i = 0, len = arr.length; i < len; i++) {\n var item = arr[i];\n // 加一个 cache,提升性能\n if (!cache.has(item)) {\n r.push(item);\n cache.set(item, true);\n }\n }\n }\n return r;\n}\nexports.default = uniq;\n//# sourceMappingURL=uniq.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/unique-id.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/unique-id.js", + "name": "./node_modules/@antv/util/lib/unique-id.js", + "index": 108, + "index2": 105, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./unique-id", + "loc": "219:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar map = {};\nexports.default = (function (prefix) {\n prefix = prefix || 'g';\n if (!map[prefix]) {\n map[prefix] = 1;\n }\n else {\n map[prefix] += 1;\n }\n return prefix + map[prefix];\n});\n//# sourceMappingURL=unique-id.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/upper-case.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-case.js", + "name": "./node_modules/@antv/util/lib/upper-case.js", + "index": 74, + "index2": 71, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./upper-case", + "loc": "124:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperCase = function (str) {\n return to_string_1.default(str).toUpperCase();\n};\nexports.default = upperCase;\n//# sourceMappingURL=upper-case.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/upper-first.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-first.js", + "name": "./node_modules/@antv/util/lib/upper-first.js", + "index": 75, + "index2": 72, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./upper-first", + "loc": "126:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\nexports.default = upperFirst;\n//# sourceMappingURL=upper-first.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/values-of-key.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "name": "./node_modules/@antv/util/lib/values-of-key.js", + "index": 35, + "index2": 32, + "size": 828, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./values-of-key", + "loc": "35:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (data, name) {\n var rst = [];\n var tmpMap = {};\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n // flatten\n if (!is_array_1.default(value)) {\n value = [value];\n }\n for (var j = 0; j < value.length; j++) {\n var val = value[j];\n // unique\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n return rst;\n});\n//# sourceMappingURL=values-of-key.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "name": "./node_modules/@antv/util/lib/values.js", + "index": 69, + "index2": 65, + "size": 532, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/has-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "module": "./node_modules/@antv/util/lib/has-value.js", + "moduleName": "./node_modules/@antv/util/lib/has-value.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "4:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "115:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "4:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\n// @ts-ignore\nvar values = Object.values ? function (obj) { return Object.values(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nexports.default = values;\n//# sourceMappingURL=values.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/wrap-behavior.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/wrap-behavior.js", + "name": "./node_modules/@antv/util/lib/wrap-behavior.js", + "index": 46, + "index2": 43, + "size": 611, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./wrap-behavior", + "loc": "60:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 封装事件,便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n var method = function (e) {\n obj[action](e);\n };\n obj['_wrap_' + action] = method;\n return method;\n}\nexports.default = wrapBehavior;\n//# sourceMappingURL=wrap-behavior.js.map" + }, + { + "id": "./node_modules/abs-svg-path/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/abs-svg-path/index.js", + "name": "./node_modules/abs-svg-path/index.js", + "index": 142, + "index2": 139, + "size": 991, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "abs-svg-path", + "loc": "3:10-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\nmodule.exports = absolutize\n\n/**\n * redefine `path` with absolute coordinates\n *\n * @param {Array} path\n * @return {Array}\n */\n\nfunction absolutize(path){\n\tvar startX = 0\n\tvar startY = 0\n\tvar x = 0\n\tvar y = 0\n\n\treturn path.map(function(seg){\n\t\tseg = seg.slice()\n\t\tvar type = seg[0]\n\t\tvar command = type.toUpperCase()\n\n\t\t// is relative\n\t\tif (type != command) {\n\t\t\tseg[0] = command\n\t\t\tswitch (type) {\n\t\t\t\tcase 'a':\n\t\t\t\t\tseg[6] += x\n\t\t\t\t\tseg[7] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'v':\n\t\t\t\t\tseg[1] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'h':\n\t\t\t\t\tseg[1] += x\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tfor (var i = 1; i < seg.length;) {\n\t\t\t\t\t\tseg[i++] += x\n\t\t\t\t\t\tseg[i++] += y\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// update cursor state\n\t\tswitch (command) {\n\t\t\tcase 'Z':\n\t\t\t\tx = startX\n\t\t\t\ty = startY\n\t\t\t\tbreak\n\t\t\tcase 'H':\n\t\t\t\tx = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'V':\n\t\t\t\ty = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'M':\n\t\t\t\tx = startX = seg[1]\n\t\t\t\ty = startY = seg[2]\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tx = seg[seg.length - 2]\n\t\t\t\ty = seg[seg.length - 1]\n\t\t}\n\n\t\treturn seg\n\t})\n}\n" + }, + { + "id": "./node_modules/d3-array/dist/d3-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-array/dist/d3-array.js", + "name": "./node_modules/d3-array/dist/d3-array.js", + "index": 116, + "index2": 113, + "size": 17147, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "issuerId": "./node_modules/d3-geo/build/d3-geo.js", + "issuerName": "./node_modules/d3-geo/build/d3-geo.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-geo/build/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "name": "./node_modules/d3-geo/build/d3-geo.js", + "profile": { + "factory": 605, + "building": 454 + } + } + ], + "profile": { + "factory": 1550, + "building": 152 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "module": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleName": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:103-122" + }, + { + "moduleId": "./node_modules/d3-geo/build/d3-geo.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "module": "./node_modules/d3-geo/build/d3-geo.js", + "moduleName": "./node_modules/d3-geo/build/d3-geo.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:84-103" + }, + { + "moduleId": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hexjson/build/d3-hexjson.js", + "module": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "moduleName": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "2:84-103" + }, + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "4:84-103" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-array/ v1.2.4 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n function ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n }\n function bisector(compare) {\n if (compare.length === 1)\n compare = ascendingComparator(compare);\n return {\n left: function (a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0)\n lo = mid + 1;\n else\n hi = mid;\n }\n return lo;\n },\n right: function (a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0)\n hi = mid;\n else\n lo = mid + 1;\n }\n return lo;\n }\n };\n }\n function ascendingComparator(f) {\n return function (d, x) {\n return ascending(f(d), x);\n };\n }\n var ascendingBisect = bisector(ascending);\n var bisectRight = ascendingBisect.right;\n var bisectLeft = ascendingBisect.left;\n function pairs(array, f) {\n if (f == null)\n f = pair;\n var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n while (i < n)\n pairs[i] = f(p, p = array[++i]);\n return pairs;\n }\n function pair(a, b) {\n return [a, b];\n }\n function cross(values0, values1, reduce) {\n var n0 = values0.length, n1 = values1.length, values = new Array(n0 * n1), i0, i1, i, value0;\n if (reduce == null)\n reduce = pair;\n for (i0 = i = 0; i0 < n0; ++i0) {\n for (value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i) {\n values[i] = reduce(value0, values1[i1]);\n }\n }\n return values;\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function number(x) {\n return x === null ? NaN : +x;\n }\n function variance(values, valueof) {\n var n = values.length, m = 0, i = -1, mean = 0, value, delta, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n if (m > 1)\n return sum / (m - 1);\n }\n function deviation(array, f) {\n var v = variance(array, f);\n return v ? Math.sqrt(v) : v;\n }\n function extent(values, valueof) {\n var n = values.length, i = -1, value, min, max;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null) {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null) {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n }\n return [min, max];\n }\n var array = Array.prototype;\n var slice = array.slice;\n var map = array.map;\n function constant(x) {\n return function () {\n return x;\n };\n }\n function identity(x) {\n return x;\n }\n function range(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n var i = -1, n = Math.max(0, Math.ceil((stop - start) / step)) | 0, range = new Array(n);\n while (++i < n) {\n range[i] = start + i * step;\n }\n return range;\n }\n var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);\n function ticks(start, stop, count) {\n var reverse, i = -1, n, ticks, step;\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0)\n return [start];\n if (reverse = stop < start)\n n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step))\n return [];\n if (step > 0) {\n start = Math.ceil(start / step);\n stop = Math.floor(stop / step);\n ticks = new Array(n = Math.ceil(stop - start + 1));\n while (++i < n)\n ticks[i] = (start + i) * step;\n }\n else {\n start = Math.floor(start * step);\n stop = Math.ceil(stop * step);\n ticks = new Array(n = Math.ceil(start - stop + 1));\n while (++i < n)\n ticks[i] = (start - i) / step;\n }\n if (reverse)\n ticks.reverse();\n return ticks;\n }\n function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n }\n function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1;\n if (error >= e10)\n step1 *= 10;\n else if (error >= e5)\n step1 *= 5;\n else if (error >= e2)\n step1 *= 2;\n return stop < start ? -step1 : step1;\n }\n function sturges(values) {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n }\n function histogram() {\n var value = identity, domain = extent, threshold = sturges;\n function histogram(data) {\n var i, n = data.length, x, values = new Array(n);\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1);\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n tz = tickStep(x0, x1, tz);\n tz = range(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive\n }\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0)\n tz.shift(), --m;\n while (tz[m - 1] > x1)\n tz.pop(), --m;\n var bins = new Array(m + 1), bin;\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisectRight(tz, x, 0, m)].push(data[i]);\n }\n }\n return bins;\n }\n histogram.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n histogram.domain = function (_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n histogram.thresholds = function (_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n return histogram;\n }\n function quantile(values, p, valueof) {\n if (valueof == null)\n valueof = number;\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return +valueof(values[0], 0, values);\n if (p >= 1)\n return +valueof(values[n - 1], n - 1, values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values), value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n }\n function freedmanDiaconis(values, min, max) {\n values = map.call(values, number).sort(ascending);\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n }\n function scott(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n }\n function max(values, valueof) {\n var n = values.length, i = -1, value, max;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n return max;\n }\n function mean(values, valueof) {\n var n = values.length, m = n, i = -1, value, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i])))\n sum += value;\n else\n --m;\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values))))\n sum += value;\n else\n --m;\n }\n }\n if (m)\n return sum / m;\n }\n function median(values, valueof) {\n var n = values.length, i = -1, value, numbers = [];\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n numbers.push(value);\n }\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n numbers.push(value);\n }\n }\n }\n return quantile(numbers.sort(ascending), 0.5);\n }\n function merge(arrays) {\n var n = arrays.length, m, i = -1, j = 0, merged, array;\n while (++i < n)\n j += arrays[i].length;\n merged = new Array(j);\n while (--n >= 0) {\n array = arrays[n];\n m = array.length;\n while (--m >= 0) {\n merged[--j] = array[m];\n }\n }\n return merged;\n }\n function min(values, valueof) {\n var n = values.length, i = -1, value, min;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n return min;\n }\n function permute(array, indexes) {\n var i = indexes.length, permutes = new Array(i);\n while (i--)\n permutes[i] = array[indexes[i]];\n return permutes;\n }\n function scan(values, compare) {\n if (!(n = values.length))\n return;\n var n, i = 0, j = 0, xi, xj = values[j];\n if (compare == null)\n compare = ascending;\n while (++i < n) {\n if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {\n xj = xi, j = i;\n }\n }\n if (compare(xj, xj) === 0)\n return j;\n }\n function shuffle(array, i0, i1) {\n var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0), t, i;\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n return array;\n }\n function sum(values, valueof) {\n var n = values.length, i = -1, value, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (value = +values[i])\n sum += value; // Note: zero and null are equivalent.\n }\n }\n else {\n while (++i < n) {\n if (value = +valueof(values[i], i, values))\n sum += value;\n }\n }\n return sum;\n }\n function transpose(matrix) {\n if (!(n = matrix.length))\n return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n }\n function length(d) {\n return d.length;\n }\n function zip() {\n return transpose(arguments);\n }\n exports.bisect = bisectRight;\n exports.bisectRight = bisectRight;\n exports.bisectLeft = bisectLeft;\n exports.ascending = ascending;\n exports.bisector = bisector;\n exports.cross = cross;\n exports.descending = descending;\n exports.deviation = deviation;\n exports.extent = extent;\n exports.histogram = histogram;\n exports.thresholdFreedmanDiaconis = freedmanDiaconis;\n exports.thresholdScott = scott;\n exports.thresholdSturges = sturges;\n exports.max = max;\n exports.mean = mean;\n exports.median = median;\n exports.merge = merge;\n exports.min = min;\n exports.pairs = pairs;\n exports.permute = permute;\n exports.quantile = quantile;\n exports.range = range;\n exports.scan = scan;\n exports.shuffle = shuffle;\n exports.sum = sum;\n exports.ticks = ticks;\n exports.tickIncrement = tickIncrement;\n exports.tickStep = tickStep;\n exports.transpose = transpose;\n exports.variance = variance;\n exports.zip = zip;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-collection/dist/d3-collection.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-collection/dist/d3-collection.js", + "name": "./node_modules/d3-collection/dist/d3-collection.js", + "index": 475, + "index2": 472, + "size": 7120, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "issuerId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + } + ], + "profile": { + "factory": 605, + "building": 428 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-collection", + "loc": "4:105-129" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-collection/ v1.0.7 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n var prefix = \"$\";\n function Map() { }\n Map.prototype = map.prototype = {\n constructor: Map,\n has: function (key) {\n return (prefix + key) in this;\n },\n get: function (key) {\n return this[prefix + key];\n },\n set: function (key, value) {\n this[prefix + key] = value;\n return this;\n },\n remove: function (key) {\n var property = prefix + key;\n return property in this && delete this[property];\n },\n clear: function () {\n for (var property in this)\n if (property[0] === prefix)\n delete this[property];\n },\n keys: function () {\n var keys = [];\n for (var property in this)\n if (property[0] === prefix)\n keys.push(property.slice(1));\n return keys;\n },\n values: function () {\n var values = [];\n for (var property in this)\n if (property[0] === prefix)\n values.push(this[property]);\n return values;\n },\n entries: function () {\n var entries = [];\n for (var property in this)\n if (property[0] === prefix)\n entries.push({ key: property.slice(1), value: this[property] });\n return entries;\n },\n size: function () {\n var size = 0;\n for (var property in this)\n if (property[0] === prefix)\n ++size;\n return size;\n },\n empty: function () {\n for (var property in this)\n if (property[0] === prefix)\n return false;\n return true;\n },\n each: function (f) {\n for (var property in this)\n if (property[0] === prefix)\n f(this[property], property.slice(1), this);\n }\n };\n function map(object, f) {\n var map = new Map;\n // Copy constructor.\n if (object instanceof Map)\n object.each(function (value, key) { map.set(key, value); });\n // Index array by numeric index or specified key function.\n else if (Array.isArray(object)) {\n var i = -1, n = object.length, o;\n if (f == null)\n while (++i < n)\n map.set(i, object[i]);\n else\n while (++i < n)\n map.set(f(o = object[i], i, object), o);\n }\n // Convert object to map.\n else if (object)\n for (var key in object)\n map.set(key, object[key]);\n return map;\n }\n function nest() {\n var keys = [], sortKeys = [], sortValues, rollup, nest;\n function apply(array, depth, createResult, setResult) {\n if (depth >= keys.length) {\n if (sortValues != null)\n array.sort(sortValues);\n return rollup != null ? rollup(array) : array;\n }\n var i = -1, n = array.length, key = keys[depth++], keyValue, value, valuesByKey = map(), values, result = createResult();\n while (++i < n) {\n if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n values.push(value);\n }\n else {\n valuesByKey.set(keyValue, [value]);\n }\n }\n valuesByKey.each(function (values, key) {\n setResult(result, key, apply(values, depth, createResult, setResult));\n });\n return result;\n }\n function entries(map$$1, depth) {\n if (++depth > keys.length)\n return map$$1;\n var array, sortKey = sortKeys[depth - 1];\n if (rollup != null && depth >= keys.length)\n array = map$$1.entries();\n else\n array = [], map$$1.each(function (v, k) { array.push({ key: k, values: entries(v, depth) }); });\n return sortKey != null ? array.sort(function (a, b) { return sortKey(a.key, b.key); }) : array;\n }\n return nest = {\n object: function (array) { return apply(array, 0, createObject, setObject); },\n map: function (array) { return apply(array, 0, createMap, setMap); },\n entries: function (array) { return entries(apply(array, 0, createMap, setMap), 0); },\n key: function (d) { keys.push(d); return nest; },\n sortKeys: function (order) { sortKeys[keys.length - 1] = order; return nest; },\n sortValues: function (order) { sortValues = order; return nest; },\n rollup: function (f) { rollup = f; return nest; }\n };\n }\n function createObject() {\n return {};\n }\n function setObject(object, key, value) {\n object[key] = value;\n }\n function createMap() {\n return map();\n }\n function setMap(map$$1, key, value) {\n map$$1.set(key, value);\n }\n function Set() { }\n var proto = map.prototype;\n Set.prototype = set.prototype = {\n constructor: Set,\n has: proto.has,\n add: function (value) {\n value += \"\";\n this[prefix + value] = value;\n return this;\n },\n remove: proto.remove,\n clear: proto.clear,\n values: proto.keys,\n size: proto.size,\n empty: proto.empty,\n each: proto.each\n };\n function set(object, f) {\n var set = new Set;\n // Copy constructor.\n if (object instanceof Set)\n object.each(function (value) { set.add(value); });\n // Otherwise, assume it’s an array.\n else if (object) {\n var i = -1, n = object.length;\n if (f == null)\n while (++i < n)\n set.add(object[i]);\n else\n while (++i < n)\n set.add(f(object[i], i, object));\n }\n return set;\n }\n function keys(map) {\n var keys = [];\n for (var key in map)\n keys.push(key);\n return keys;\n }\n function values(map) {\n var values = [];\n for (var key in map)\n values.push(map[key]);\n return values;\n }\n function entries(map) {\n var entries = [];\n for (var key in map)\n entries.push({ key: key, value: map[key] });\n return entries;\n }\n exports.nest = nest;\n exports.set = set;\n exports.map = map;\n exports.keys = keys;\n exports.values = values;\n exports.entries = entries;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "index": 121, + "index2": 121, + "size": 131666, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "issuerId": "./src/util/get-geo-projection.ts", + "issuerName": "./src/util/get-geo-projection.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + } + ], + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-composite-projections", + "loc": "7:49-84" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var tslib_1 = require(\"tslib\");\n// http://geoexamples.com/d3-composite-projections/ v1.4.0 Copyright 2020 Roger Veciana i Rovira\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-geo'), require('d3-path')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-geo', 'd3-path'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.d3 = global.d3 || {}, global.d3, global.d3));\n}(this, (function (exports, d3Geo, d3Path) {\n 'use strict';\n var epsilon = 1e-6;\n function noop() { }\n var x0 = Infinity, y0 = x0, x1 = -x0, y1 = x1;\n var boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n };\n function boundsPoint(x, y) {\n if (x < x0)\n x0 = x;\n if (x > x1)\n x1 = x;\n if (y < y0)\n y0 = y;\n if (y > y1)\n y1 = y;\n }\n function fitExtent(projection, extent, object) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], clip = projection.clipExtent && projection.clipExtent();\n projection\n .scale(150)\n .translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n d3Geo.geoStream(object, projection.stream(boundsStream));\n var b = boundsStream.result(), k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n if (clip != null)\n projection.clipExtent(clip);\n return projection\n .scale(k * 150)\n .translate([x, y]);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsa() {\n var cache, cacheStream, lower48 = d3Geo.geoAlbers(), lower48Point, alaska = d3Geo.geoConicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = d3Geo.geoConicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n albersUsa.drawCompositionBorders = function (context) {\n var hawaii1 = lower48([-102.91, 26.3]);\n var hawaii2 = lower48([-104.0, 27.5]);\n var hawaii3 = lower48([-108.0, 29.1]);\n var hawaii4 = lower48([-110.0, 29.1]);\n var alaska1 = lower48([-110.0, 26.7]);\n var alaska2 = lower48([-112.8, 27.6]);\n var alaska3 = lower48([-114.3, 30.6]);\n var alaska4 = lower48([-119.3, 30.1]);\n context.moveTo(hawaii1[0], hawaii1[1]);\n context.lineTo(hawaii2[0], hawaii2[1]);\n context.lineTo(hawaii3[0], hawaii3[1]);\n context.lineTo(hawaii4[0], hawaii4[1]);\n context.moveTo(alaska1[0], alaska1[1]);\n context.lineTo(alaska2[0], alaska2[1]);\n context.lineTo(alaska3[0], alaska3[1]);\n context.lineTo(alaska4[0], alaska4[1]);\n };\n albersUsa.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUsa.scale(1070);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$1(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. Also works quite well at 960×600 with scale 1285. The set of\n // standard parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsaTerritories() {\n var cache, cacheStream, lower48 = d3Geo.geoAlbers(), lower48Point, alaska = d3Geo.geoConicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = d3Geo.geoConicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n puertoRico = d3Geo.geoConicEqualArea().rotate([66, 0]).center([0, 18]).parallels([8, 18]), puertoRicoPoint, //Taken from https://bl.ocks.org/mbostock/5629120\n samoa = d3Geo.geoEquirectangular().rotate([173, 14]), samoaPoint, // EPSG:4169\n guam = d3Geo.geoEquirectangular().rotate([-145, -16.8]), guamPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var puertoRicoBbox = [[-68.3, 19], [-63.9, 17]];\n var samoaBbox = [[-171, -14], [-168, -14.8]];\n var guamBbox = [[144, 20.8], [146.5, 12.7]];\n */\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point) ||\n (alaskaPoint.point(x, y), point) ||\n (hawaiiPoint.point(x, y), point) ||\n (puertoRicoPoint.point(x, y), point) ||\n (samoaPoint.point(x, y), point) ||\n (guamPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = puertoRico(puertoRicoBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 puertoRico\", x0 + ' - ' + y0);\n \n var c1 = puertoRico(puertoRicoBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 puertoRico\", x1 + ' - ' + y1);\n \n c0 = samoa(samoaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 samoa\", x0 + ' - ' + y0);\n \n c1 = samoa(samoaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 samoa\", x1 + ' - ' + y1);\n \n c0 = guam(guamBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 guam\", x0 + ' - ' + y0);\n \n c1 = guam(guamBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 guam\", x1 + ' - ' + y1);\n */\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : y >= 0.2064 && y < 0.2413 && x >= 0.312 && x < 0.385 ? puertoRico\n : y >= 0.09 && y < 0.1197 && x >= -0.4243 && x < -0.3232 ? samoa\n : y >= -0.0518 && y < 0.0895 && x >= -0.4243 && x < -0.3824 ? guam\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$1([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream), puertoRico.stream(stream), samoa.stream(stream), guam.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length) {\n return lower48.precision();\n }\n lower48.precision(_);\n alaska.precision(_);\n hawaii.precision(_);\n puertoRico.precision(_);\n samoa.precision(_);\n guam.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length) {\n return lower48.scale();\n }\n lower48.scale(_);\n alaska.scale(_ * 0.35);\n hawaii.scale(_);\n puertoRico.scale(_);\n samoa.scale(_ * 2);\n guam.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length) {\n return lower48.translate();\n }\n var k = lower48.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = puertoRico.translate([x + 0.350 * k, y + 0.224 * k])(puertoRicoBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = puertoRico.translate([x + 0.350 * k, y + 0.224 * k])(puertoRicoBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('puertoRico: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = samoa.translate([x - 0.492 * k, y + 0.09 * k])(samoaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = samoa.translate([x - 0.492 * k, y + 0.09 * k])(samoaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('samoa: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = guam.translate([x - 0.408 * k, y + 0.018 * k])(guamBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = guam.translate([x - 0.408 * k, y + 0.018 * k])(guamBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('guam: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n puertoRicoPoint = puertoRico\n .translate([x + 0.350 * k, y + 0.224 * k])\n .clipExtent([[x + 0.312 * k + epsilon, y + 0.2064 * k + epsilon], [x + 0.385 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n samoaPoint = samoa\n .translate([x - 0.492 * k, y + 0.09 * k])\n .clipExtent([[x - 0.4243 * k + epsilon, y + 0.0903 * k + epsilon], [x - 0.3233 * k - epsilon, y + 0.1197 * k - epsilon]])\n .stream(pointStream);\n guamPoint = guam\n .translate([x - 0.408 * k, y + 0.018 * k])\n .clipExtent([[x - 0.4244 * k + epsilon, y - 0.0519 * k + epsilon], [x - 0.3824 * k - epsilon, y + 0.0895 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n albersUsa.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT hawaii: \", hawaii.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([hawaii.clipExtent()[0][0], hawaii.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([hawaii.clipExtent()[1][0], hawaii.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([hawaii.clipExtent()[1][0], hawaii.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([hawaii.clipExtent()[0][0], hawaii.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT alaska: \", alaska.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([alaska.clipExtent()[0][0], alaska.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([alaska.clipExtent()[1][0], alaska.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([alaska.clipExtent()[1][0], alaska.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([alaska.clipExtent()[0][0], alaska.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT puertoRico: \", puertoRico.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([puertoRico.clipExtent()[0][0], puertoRico.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([puertoRico.clipExtent()[1][0], puertoRico.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([puertoRico.clipExtent()[1][0], puertoRico.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([puertoRico.clipExtent()[0][0], puertoRico.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT samoa: \", samoa.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([samoa.clipExtent()[0][0], samoa.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([samoa.clipExtent()[1][0], samoa.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([samoa.clipExtent()[1][0], samoa.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([samoa.clipExtent()[0][0], samoa.clipExtent()[1][1]]));\n \n \n console.info(\"CLIP EXTENT guam: \", guam.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([guam.clipExtent()[0][0], guam.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([guam.clipExtent()[1][0], guam.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([guam.clipExtent()[1][0], guam.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([guam.clipExtent()[0][0], guam.clipExtent()[1][1]]));\n */\n var ulhawaii = lower48([-110.4641, 28.2805]);\n var urhawaii = lower48([-104.0597, 28.9528]);\n var ldhawaii = lower48([-103.7049, 25.1031]);\n var llhawaii = lower48([-109.8337, 24.4531]);\n var ulalaska = lower48([-124.4745, 28.1407]);\n var uralaska = lower48([-110.931, 30.8844]);\n var ldalaska = lower48([-109.8337, 24.4531]);\n var llalaska = lower48([-122.4628, 21.8562]);\n var ulpuertoRico = lower48([-76.8579, 25.1544]);\n var urpuertoRico = lower48([-72.429, 24.2097]);\n var ldpuertoRico = lower48([-72.8265, 22.7056]);\n var llpuertoRico = lower48([-77.1852, 23.6392]);\n var ulsamoa = lower48([-125.0093, 29.7791]);\n var ursamoa = lower48([-118.5193, 31.3262]);\n var ldsamoa = lower48([-118.064, 29.6912]);\n var llsamoa = lower48([-124.4369, 28.169]);\n var ulguam = lower48([-128.1314, 37.4582]);\n var urguam = lower48([-125.2132, 38.214]);\n var ldguam = lower48([-122.3616, 30.5115]);\n var llguam = lower48([-125.0315, 29.8211]);\n context.moveTo(ulhawaii[0], ulhawaii[1]);\n context.lineTo(urhawaii[0], urhawaii[1]);\n context.lineTo(ldhawaii[0], ldhawaii[1]);\n context.lineTo(ldhawaii[0], ldhawaii[1]);\n context.lineTo(llhawaii[0], llhawaii[1]);\n context.closePath();\n context.moveTo(ulalaska[0], ulalaska[1]);\n context.lineTo(uralaska[0], uralaska[1]);\n context.lineTo(ldalaska[0], ldalaska[1]);\n context.lineTo(ldalaska[0], ldalaska[1]);\n context.lineTo(llalaska[0], llalaska[1]);\n context.closePath();\n context.moveTo(ulpuertoRico[0], ulpuertoRico[1]);\n context.lineTo(urpuertoRico[0], urpuertoRico[1]);\n context.lineTo(ldpuertoRico[0], ldpuertoRico[1]);\n context.lineTo(ldpuertoRico[0], ldpuertoRico[1]);\n context.lineTo(llpuertoRico[0], llpuertoRico[1]);\n context.closePath();\n context.moveTo(ulsamoa[0], ulsamoa[1]);\n context.lineTo(ursamoa[0], ursamoa[1]);\n context.lineTo(ldsamoa[0], ldsamoa[1]);\n context.lineTo(ldsamoa[0], ldsamoa[1]);\n context.lineTo(llsamoa[0], llsamoa[1]);\n context.closePath();\n context.moveTo(ulguam[0], ulguam[1]);\n context.lineTo(urguam[0], urguam[1]);\n context.lineTo(ldguam[0], ldguam[1]);\n context.lineTo(ldguam[0], ldguam[1]);\n context.lineTo(llguam[0], llguam[1]);\n context.closePath();\n };\n albersUsa.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUsa.scale(1070);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$2(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Spain, configured by default for 960×500.\n function conicConformalSpain() {\n var cache, cacheStream, iberianPeninsule = d3Geo.geoConicConformal().rotate([5, -38.6]).parallels([0, 60]), iberianPeninsulePoint, canaryIslands = d3Geo.geoConicConformal().rotate([5, -38.6]).parallels([0, 60]), canaryIslandsPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var iberianPeninsuleBbox = [[-11, 46], [4, 35]];\n var canaryIslandsBbox = [[-19.0, 28.85], [-12.7, 28.1]];\n */\n function conicConformalSpain(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (iberianPeninsulePoint.point(x, y), point) ||\n (canaryIslandsPoint.point(x, y), point);\n }\n conicConformalSpain.invert = function (coordinates) {\n var k = iberianPeninsule.scale(), t = iberianPeninsule.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.05346 && y < 0.0897 && x >= -0.13388 && x < -0.0322 ? canaryIslands\n : iberianPeninsule).invert(coordinates);\n };\n conicConformalSpain.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$2([iberianPeninsule.stream(cacheStream = stream), canaryIslands.stream(stream)]);\n };\n conicConformalSpain.precision = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.precision();\n }\n iberianPeninsule.precision(_);\n canaryIslands.precision(_);\n return reset();\n };\n conicConformalSpain.scale = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.scale();\n }\n iberianPeninsule.scale(_);\n canaryIslands.scale(_);\n return conicConformalSpain.translate(iberianPeninsule.translate());\n };\n conicConformalSpain.translate = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.translate();\n }\n var k = iberianPeninsule.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = iberianPeninsule(iberianPeninsuleBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = iberianPeninsule(iberianPeninsuleBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Iberian Peninsula: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n \n c0 = canaryIslands.translate([x + 0.1 * k, y - 0.094 * k])(canaryIslandsBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = canaryIslands.translate([x + 0.1 * k, y - 0.094 * k])(canaryIslandsBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Canry Islands: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n */\n iberianPeninsulePoint = iberianPeninsule\n .translate(_)\n .clipExtent([[x - 0.06857 * k, y - 0.1288 * k], [x + 0.13249 * k, y + 0.06 * k]])\n .stream(pointStream);\n canaryIslandsPoint = canaryIslands\n .translate([x + 0.1 * k, y - 0.094 * k])\n .clipExtent([[x - 0.1331 * k + epsilon, y + 0.053457 * k + epsilon], [x - 0.0354 * k - epsilon, y + 0.08969 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalSpain.fitExtent = function (extent, object) {\n return fitExtent(conicConformalSpain, extent, object);\n };\n conicConformalSpain.fitSize = function (size, object) {\n return fitSize(conicConformalSpain, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalSpain;\n }\n conicConformalSpain.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT: \", canaryIslands.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[0][0], canaryIslands.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[1][0], canaryIslands.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[1][0], canaryIslands.clipExtent()[1][1]]));\n */\n var ulCanaryIslands = iberianPeninsule([-14.0346750, 34.965007]);\n var urCanaryIslands = iberianPeninsule([-7.4208899, 35.536988]);\n var ldCanaryIslands = iberianPeninsule([-7.3148275, 33.54359]);\n context.moveTo(ulCanaryIslands[0], ulCanaryIslands[1]);\n context.lineTo(urCanaryIslands[0], urCanaryIslands[1]);\n context.lineTo(ldCanaryIslands[0], ldCanaryIslands[1]);\n };\n conicConformalSpain.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalSpain.scale(2700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$3(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicConformalPortugal() {\n var cache, cacheStream, iberianPeninsule = d3Geo.geoConicConformal().rotate([10, -39.3]).parallels([0, 60]), iberianPeninsulePoint, madeira = d3Geo.geoConicConformal().rotate([17, -32.7]).parallels([0, 60]), madeiraPoint, azores = d3Geo.geoConicConformal().rotate([27.8, -38.6]).parallels([0, 60]), azoresPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var iberianPeninsuleBbox = [[-11, 46], [4, 34]];\n var madeiraBbox = [[-17.85, 33.6], [-16, 32.02]];\n var azoresBbox = [[-32, 40.529], [-23.98, 35.75]];\n */\n function conicConformalPortugal(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (iberianPeninsulePoint.point(x, y), point) ||\n (madeiraPoint.point(x, y), point) ||\n (azoresPoint.point(x, y), point);\n }\n conicConformalPortugal.invert = function (coordinates) {\n var k = iberianPeninsule.scale(), t = iberianPeninsule.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = madeira(madeiraBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 madeira\", x0 + ' - ' + y0);\n \n var c1 = madeira(madeiraBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 madeira\", x1 + ' - ' + y1);\n \n c0 = azores(azoresBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 azores\", x0 + ' - ' + y0);\n \n c1 = azores(azoresBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 azores\", x1 + ' - ' + y1);\n */\n return (y >= 0.0093 && y < 0.03678 && x >= -0.03875 && x < -0.0116 ? madeira\n : y >= -0.0412 && y < 0.0091 && x >= -0.07782 && x < -0.01166 ? azores\n : iberianPeninsule).invert(coordinates);\n };\n conicConformalPortugal.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$3([iberianPeninsule.stream(cacheStream = stream), madeira.stream(stream), azores.stream(stream)]);\n };\n conicConformalPortugal.precision = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.precision();\n }\n iberianPeninsule.precision(_);\n madeira.precision(_);\n azores.precision(_);\n return reset();\n };\n conicConformalPortugal.scale = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.scale();\n }\n iberianPeninsule.scale(_);\n madeira.scale(_);\n azores.scale(_ * 0.6);\n return conicConformalPortugal.translate(iberianPeninsule.translate());\n };\n conicConformalPortugal.translate = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.translate();\n }\n var k = iberianPeninsule.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = iberianPeninsule(iberianPeninsuleBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = iberianPeninsule(iberianPeninsuleBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Iberian Peninsula: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = madeira.translate([x - 0.0265 * k, y + 0.025 * k])(madeiraBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = madeira.translate([x - 0.0265 * k, y + 0.025 * k])(madeiraBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Madeira: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = azores.translate([x - 0.045 * k, y + -0.02 * k])(azoresBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = azores.translate([x - 0.045 * k, y + -0.02 * k])(azoresBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Azores: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n iberianPeninsulePoint = iberianPeninsule\n .translate(_)\n .clipExtent([[x - 0.0115 * k, y - 0.1138 * k], [x + 0.2105 * k, y + 0.0673 * k]])\n .stream(pointStream);\n madeiraPoint = madeira\n .translate([x - 0.0265 * k, y + 0.025 * k])\n .clipExtent([[x - 0.0388 * k + epsilon, y + 0.0093 * k + epsilon], [x - 0.0116 * k - epsilon, y + 0.0368 * k - epsilon]])\n .stream(pointStream);\n azoresPoint = azores\n .translate([x - 0.045 * k, y + -0.02 * k])\n .clipExtent([[x - 0.0778 * k + epsilon, y - 0.0413 * k + epsilon], [x - 0.0117 * k - epsilon, y + 0.0091 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalPortugal.fitExtent = function (extent, object) {\n return fitExtent(conicConformalPortugal, extent, object);\n };\n conicConformalPortugal.fitSize = function (size, object) {\n return fitSize(conicConformalPortugal, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalPortugal;\n }\n conicConformalPortugal.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT MADEIRA: \", madeira.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[0][0], madeira.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[1][0], madeira.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[1][0], madeira.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[0][0], madeira.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT AZORES: \", azores.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([azores.clipExtent()[0][0], azores.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([azores.clipExtent()[1][0], azores.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([azores.clipExtent()[1][0], azores.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", iberianPeninsule.invert([azores.clipExtent()[0][0], azores.clipExtent()[1][1]]));\n */\n var ulmadeira = iberianPeninsule([-12.8351, 38.7113]);\n var urmadeira = iberianPeninsule([-10.8482, 38.7633]);\n var ldmadeira = iberianPeninsule([-10.8181, 37.2072]);\n var llmadeira = iberianPeninsule([-12.7345, 37.1573]);\n var ulazores = iberianPeninsule([-16.0753, 41.4436]);\n var urazores = iberianPeninsule([-10.9168, 41.6861]);\n var ldazores = iberianPeninsule([-10.8557, 38.7747]);\n var llazores = iberianPeninsule([-15.6728, 38.5505]);\n context.moveTo(ulmadeira[0], ulmadeira[1]);\n context.lineTo(urmadeira[0], urmadeira[1]);\n context.lineTo(ldmadeira[0], ldmadeira[1]);\n context.lineTo(ldmadeira[0], ldmadeira[1]);\n context.lineTo(llmadeira[0], llmadeira[1]);\n context.closePath();\n context.moveTo(ulazores[0], ulazores[1]);\n context.lineTo(urazores[0], urazores[1]);\n context.lineTo(ldazores[0], ldazores[1]);\n context.lineTo(ldazores[0], ldazores[1]);\n context.lineTo(llazores[0], llazores[1]);\n context.closePath();\n };\n conicConformalPortugal.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalPortugal.scale(4200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$4(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Ecuador, configured by default for 960×500.\n function mercatorEcuador() {\n var cache, cacheStream, mainland = d3Geo.geoMercator().rotate([80, 1.5]), mainlandPoint, galapagos = d3Geo.geoMercator().rotate([90.73, 1]), galapagosPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[-81.5, 2.7], [-70.0, -6.0]];\n var galapagosBbox = [[-92.2, 0.58], [-88.8, -1.8]];\n */\n function mercatorEcuador(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (galapagosPoint.point(x, y), point);\n }\n mercatorEcuador.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n var c0 = galapagos(galapagosBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 galapagos\", x0 + ' - ' + y0);\n \n \n var c1 = galapagos(galapagosBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 galapagos\", x1 + ' - ' + y1);\n */\n return (y >= -0.0676 && y < -0.026 && x >= -0.0857 && x < -0.0263 ? galapagos\n : mainland).invert(coordinates);\n };\n mercatorEcuador.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$4([mainland.stream(cacheStream = stream), galapagos.stream(stream)]);\n };\n mercatorEcuador.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n galapagos.precision(_);\n return reset();\n };\n mercatorEcuador.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n galapagos.scale(_);\n return mercatorEcuador.translate(mainland.translate());\n };\n mercatorEcuador.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('mainland: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = galapagos.translate([x - 0.06 * k, y - 0.04 * k])(galapagosBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = galapagos.translate([x - 0.06 * k, y - 0.04 * k])(galapagosBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('galapagos: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');*/\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.0262 * k, y - 0.0734 * k], [x + 0.1741 * k, y + 0.079 * k]])\n .stream(pointStream);\n galapagosPoint = galapagos\n .translate([x - 0.06 * k, y - 0.04 * k])\n .clipExtent([[x - 0.0857 * k + epsilon, y - 0.0676 * k + epsilon], [x - 0.0263 * k - epsilon, y - 0.026 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorEcuador.fitExtent = function (extent, object) {\n return fitExtent(mercatorEcuador, extent, object);\n };\n mercatorEcuador.fitSize = function (size, object) {\n return fitSize(mercatorEcuador, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorEcuador;\n }\n mercatorEcuador.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT: \", galapagos.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([galapagos.clipExtent()[0][0], galapagos.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([galapagos.clipExtent()[1][0], galapagos.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([galapagos.clipExtent()[1][0], galapagos.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([galapagos.clipExtent()[0][0], galapagos.clipExtent()[1][1]]));\n */\n var ulgalapagos = mainland([-84.9032, 2.3757]);\n var urgalapagos = mainland([-81.5047, 2.3708]);\n var ldgalapagos = mainland([-81.5063, -0.01]);\n var llgalapagos = mainland([-84.9086, -0.005]);\n context.moveTo(ulgalapagos[0], ulgalapagos[1]);\n context.lineTo(urgalapagos[0], urgalapagos[1]);\n context.lineTo(ldgalapagos[0], ldgalapagos[1]);\n context.lineTo(llgalapagos[0], llgalapagos[1]);\n context.closePath();\n };\n mercatorEcuador.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorEcuador.scale(3500);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$5(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Chile, configured by default for 960×500.\n function transverseMercatorChile() {\n var cache, cacheStream, mainland = d3Geo.geoTransverseMercator().rotate([72, 37]), mainlandPoint, antarctic = d3Geo.geoStereographic().rotate([72, 0]), antarcticPoint, juanFernandez = d3Geo.geoMercator().rotate([80, 33.5]), juanFernandezPoint, pascua = d3Geo.geoMercator().rotate([110, 25]), pascuaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[-75.5, -15.0], [-32, -49.0]];\n var antarcticBbox = [[-91.0, -60.0], [-43.0, -90.0]];\n var juanFernandezBbox = [[-81.0, -33.0], [-78.5, -34.0]];\n var pascuaBbox = [[-110, -26.6], [-108.7, -27.5]];\n */\n function transverseMercatorChile(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (antarcticPoint.point(x, y), point) ||\n (juanFernandezPoint.point(x, y), point) ||\n (pascuaPoint.point(x, y), point);\n }\n transverseMercatorChile.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = antarctic(antarcticBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 antarctic\", x0 + ' - ' + y0);\n \n var c1 = antarctic(antarcticBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 antarctic\", x1 + ' - ' + y1);\n \n c0 = juanFernandez(juanFernandezBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 juanFernandez\", x0 + ' - ' + y0);\n \n c1 = juanFernandez(juanFernandezBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 juanFernandez\", x1 + ' - ' + y1);\n \n c0 = pascua(pascuaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 pascua\", x0 + ' - ' + y0);\n \n c1 = pascua(pascuaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 pascua\", x1 + ' - ' + y1);\n */\n return (y >= 0.2582 && y < 0.32 && x >= -0.1036 && x < -0.087 ? antarctic\n : y >= -0.01298 && y < 0.0133 && x >= -0.11396 && x < -0.05944 ? juanFernandez\n : y >= 0.01539 && y < 0.03911 && x >= -0.089 && x < -0.0588 ? pascua\n : mainland).invert(coordinates);\n };\n transverseMercatorChile.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$5([mainland.stream(cacheStream = stream), antarctic.stream(stream), juanFernandez.stream(stream), pascua.stream(stream)]);\n };\n transverseMercatorChile.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n antarctic.precision(_);\n juanFernandez.precision(_);\n pascua.precision(_);\n return reset();\n };\n transverseMercatorChile.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n antarctic.scale(_ * 0.15);\n juanFernandez.scale(_ * 1.5);\n pascua.scale(_ * 1.5);\n return transverseMercatorChile.translate(mainland.translate());\n };\n transverseMercatorChile.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Mainland: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = antarctic.translate([x - 0.1 * k, y + 0.17 * k])(antarcticBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = antarctic.translate([x - 0.1 * k, y + 0.17 * k])(antarcticBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('antarctic: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('Doesn t work due to -90 latitude!' + '.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = juanFernandez.translate([x - 0.092 * k, y -0 * k])(juanFernandezBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = juanFernandez.translate([x - 0.092 * k, y -0 * k])(juanFernandezBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('juanFernandez: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = pascua.translate([x - 0.089 * k, y -0.0265 * k])(pascuaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = pascua.translate([x - 0.089 * k, y -0.0265 * k])(pascuaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('pascua: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.059 * k, y - 0.3835 * k], [x + 0.4498 * k, y + 0.3375 * k]])\n .stream(pointStream);\n antarcticPoint = antarctic\n .translate([x - 0.087 * k, y + 0.17 * k])\n .clipExtent([[x - 0.1166 * k + epsilon, y + 0.2582 * k + epsilon], [x - 0.06 * k - epsilon, y + 0.32 * k - epsilon]])\n .stream(pointStream);\n juanFernandezPoint = juanFernandez\n .translate([x - 0.092 * k, y - 0 * k])\n .clipExtent([[x - 0.114 * k + epsilon, y - 0.013 * k + epsilon], [x - 0.0594 * k - epsilon, y + 0.0133 * k - epsilon]])\n .stream(pointStream);\n pascuaPoint = pascua\n .translate([x - 0.089 * k, y - 0.0265 * k])\n .clipExtent([[x - 0.089 * k + epsilon, y + 0.0154 * k + epsilon], [x - 0.0588 * k - epsilon, y + 0.0391 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n transverseMercatorChile.fitExtent = function (extent, object) {\n return fitExtent(transverseMercatorChile, extent, object);\n };\n transverseMercatorChile.fitSize = function (size, object) {\n return fitSize(transverseMercatorChile, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return transverseMercatorChile;\n }\n transverseMercatorChile.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT antarctic: \", antarctic.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([antarctic.clipExtent()[0][0], antarctic.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([antarctic.clipExtent()[1][0], antarctic.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([antarctic.clipExtent()[1][0], antarctic.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([antarctic.clipExtent()[0][0], antarctic.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT juanFernandez: \", juanFernandez.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([juanFernandez.clipExtent()[0][0], juanFernandez.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([juanFernandez.clipExtent()[1][0], juanFernandez.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([juanFernandez.clipExtent()[1][0], juanFernandez.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([juanFernandez.clipExtent()[0][0], juanFernandez.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT pascua: \", pascua.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([pascua.clipExtent()[0][0], pascua.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([pascua.clipExtent()[1][0], pascua.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([pascua.clipExtent()[1][0], pascua.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([pascua.clipExtent()[0][0], pascua.clipExtent()[1][1]]));\n */\n var ulantarctic = mainland([-82.6999, -51.3043]);\n var urantarctic = mainland([-77.5442, -51.6631]);\n var ldantarctic = mainland([-78.0254, -55.1860]);\n var llantarctic = mainland([-83.6106, -54.7785]);\n var uljuanFernandez = mainland([-80.0638, -35.9840]);\n var urjuanFernandez = mainland([-76.2153, -36.1811]);\n var ldjuanFernandez = mainland([-76.2994, -37.6839]);\n var lljuanFernandez = mainland([-80.2231, -37.4757]);\n var ulpascua = mainland([-78.442, -37.706]);\n var urpascua = mainland([-76.263, -37.8054]);\n var ldpascua = mainland([-76.344, -39.1595]);\n var llpascua = mainland([-78.5638, -39.0559]);\n context.moveTo(ulantarctic[0], ulantarctic[1]);\n context.lineTo(urantarctic[0], urantarctic[1]);\n context.lineTo(ldantarctic[0], ldantarctic[1]);\n context.lineTo(ldantarctic[0], ldantarctic[1]);\n context.lineTo(llantarctic[0], llantarctic[1]);\n context.closePath();\n context.moveTo(uljuanFernandez[0], uljuanFernandez[1]);\n context.lineTo(urjuanFernandez[0], urjuanFernandez[1]);\n context.lineTo(ldjuanFernandez[0], ldjuanFernandez[1]);\n context.lineTo(ldjuanFernandez[0], ldjuanFernandez[1]);\n context.lineTo(lljuanFernandez[0], lljuanFernandez[1]);\n context.closePath();\n context.moveTo(ulpascua[0], ulpascua[1]);\n context.lineTo(urpascua[0], urpascua[1]);\n context.lineTo(ldpascua[0], ldpascua[1]);\n context.lineTo(ldpascua[0], ldpascua[1]);\n context.lineTo(llpascua[0], llpascua[1]);\n context.closePath();\n };\n transverseMercatorChile.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return transverseMercatorChile.scale(700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$6(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicEquidistantJapan() {\n var cache, cacheStream, mainland = d3Geo.geoConicEquidistant().rotate([-136, -22]).parallels([40, 34]), mainlandPoint, //gis.stackexchange.com/a/73135\n hokkaido = d3Geo.geoConicEquidistant().rotate([-146, -26]).parallels([40, 34]), hokkaidoPoint, okinawa = d3Geo.geoConicEquidistant().rotate([-126, -19]).parallels([40, 34]), okinawaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[126.0, 41.606], [142.97, 29.97]];\n var hokkaidoBbox = [[138.7, 45.61], [146.2, 41.2]];\n var okinawaBbox = [[122.6, 29.0], [130, 23.7]];\n */\n function conicEquidistantJapan(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (hokkaidoPoint.point(x, y), point) ||\n (okinawaPoint.point(x, y), point);\n }\n conicEquidistantJapan.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = hokkaido(hokkaidoBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 hokkaido\", x0 + ' - ' + y0);\n \n var c1 = hokkaido(hokkaidoBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 hokkaido\", x1 + ' - ' + y1);\n \n c0 = okinawa(okinawaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 okinawa\", x0 + ' - ' + y0);\n \n c1 = okinawa(okinawaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 okinawa\", x1 + ' - ' + y1);\n */\n return (y >= -0.10925 && y < -0.02701 && x >= -0.135 && x < -0.0397 ? hokkaido\n : y >= 0.04713 && y < 0.11138 && x >= -0.03986 && x < 0.051 ? okinawa\n : mainland).invert(coordinates);\n };\n conicEquidistantJapan.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$6([mainland.stream(cacheStream = stream), hokkaido.stream(stream), okinawa.stream(stream)]);\n };\n conicEquidistantJapan.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n hokkaido.precision(_);\n okinawa.precision(_);\n return reset();\n };\n conicEquidistantJapan.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n hokkaido.scale(_);\n okinawa.scale(_ * 0.7);\n return conicEquidistantJapan.translate(mainland.translate());\n };\n conicEquidistantJapan.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Main: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = hokkaido.translate([x - 0.0425 * k, y - 0.005 * k])(hokkaidoBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = hokkaido.translate([x - 0.0425 * k, y - 0.005 * k])(hokkaidoBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('hokkaido: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = okinawa.translate([x - 0 * k, y + 0 * k])(okinawaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = okinawa.translate([x - 0 * k, y + 0 * k])(okinawaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('okinawa: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.1352 * k, y - 0.1091 * k], [x + 0.117 * k, y + 0.098 * k]])\n .stream(pointStream);\n hokkaidoPoint = hokkaido\n .translate([x - 0.0425 * k, y - 0.005 * k])\n .clipExtent([[x - 0.135 * k + epsilon, y - 0.1093 * k + epsilon], [x - 0.0397 * k - epsilon, y - 0.027 * k - epsilon]])\n .stream(pointStream);\n okinawaPoint = okinawa\n .translate(_)\n .clipExtent([[x - 0.0399 * k + epsilon, y + 0.0471 * k + epsilon], [x + 0.051 * k - epsilon, y + 0.1114 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicEquidistantJapan.fitExtent = function (extent, object) {\n return fitExtent(conicEquidistantJapan, extent, object);\n };\n conicEquidistantJapan.fitSize = function (size, object) {\n return fitSize(conicEquidistantJapan, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicEquidistantJapan;\n }\n conicEquidistantJapan.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT hokkaido: \", hokkaido.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([hokkaido.clipExtent()[0][0], hokkaido.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([hokkaido.clipExtent()[1][0], hokkaido.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([hokkaido.clipExtent()[1][0], hokkaido.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([hokkaido.clipExtent()[0][0], hokkaido.clipExtent()[1][1]]));\n */\n var ulhokkaido = mainland([126.01320483689143, 41.621090310215585]);\n var urhokkaido = mainland([133.04304387025903, 42.15087523707186]);\n var ldhokkaido = mainland([133.3021766080688, 37.43975444725098]);\n var llhokkaido = mainland([126.87889168628224, 36.95488945159779]);\n var llokinawa = mainland([132.9, 29.8]);\n var lmokinawa = mainland([134, 33]);\n var lrokinawa = mainland([139.3, 33.2]);\n var llrokinawa = mainland([139.16, 30.5]);\n context.moveTo(ulhokkaido[0], ulhokkaido[1]);\n context.lineTo(urhokkaido[0], urhokkaido[1]);\n context.lineTo(ldhokkaido[0], ldhokkaido[1]);\n context.lineTo(llhokkaido[0], llhokkaido[1]);\n context.closePath();\n context.moveTo(llokinawa[0], llokinawa[1]);\n context.lineTo(lmokinawa[0], lmokinawa[1]);\n context.lineTo(lrokinawa[0], lrokinawa[1]);\n context.lineTo(llrokinawa[0], llrokinawa[1]);\n };\n conicEquidistantJapan.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicEquidistantJapan.scale(2200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$7(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for France, configured by default for 960×500.\n function conicConformalFrance() {\n var cache, cacheStream, europe = d3Geo.geoConicConformal().rotate([-3, -46.2]).parallels([0, 60]), europePoint, guyane = d3Geo.geoMercator().center([-53.2, 3.9]), guyanePoint, martinique = d3Geo.geoMercator().center([-61.03, 14.67]), martiniquePoint, guadeloupe = d3Geo.geoMercator().center([-61.46, 16.14]), guadeloupePoint, saintBarthelemy = d3Geo.geoMercator().center([-62.85, 17.92]), saintBarthelemyPoint, stPierreMiquelon = d3Geo.geoMercator().center([-56.23, 46.93]), stPierreMiquelonPoint, mayotte = d3Geo.geoMercator().center([45.16, -12.8]), mayottePoint, reunion = d3Geo.geoMercator().center([55.52, -21.13]), reunionPoint, nouvelleCaledonie = d3Geo.geoMercator().center([165.8, -21.07]), nouvelleCaledoniePoint, wallisFutuna = d3Geo.geoMercator().center([-178.1, -14.3]), wallisFutunaPoint, polynesie = d3Geo.geoMercator().center([-150.55, -17.11]), polynesiePoint, polynesie2 = d3Geo.geoMercator().center([-150.55, -17.11]), polynesie2Point, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var europeBbox = [[-6.5, 51], [10, 41]];\n var guyaneBbox = [[-54.5, 6.29], [-50.9, 1.48]];\n */\n function conicConformalFrance(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (europePoint.point(x, y), point) ||\n (guyanePoint.point(x, y), point) ||\n (martiniquePoint.point(x, y), point) ||\n (guadeloupePoint.point(x, y), point) ||\n (saintBarthelemyPoint.point(x, y), point) ||\n (stPierreMiquelonPoint.point(x, y), point) ||\n (mayottePoint.point(x, y), point) ||\n (reunionPoint.point(x, y), point) ||\n (nouvelleCaledoniePoint.point(x, y), point) ||\n (wallisFutunaPoint.point(x, y), point) ||\n (polynesiePoint.point(x, y), point) ||\n (polynesie2Point.point(x, y), point);\n }\n conicConformalFrance.invert = function (coordinates) {\n var k = europe.scale(), t = europe.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.029 && y < 0.0864 && x >= -0.14 && x < -0.0996 ? guyane\n : y >= 0 && y < 0.029 && x >= -0.14 && x < -0.0996 ? martinique\n : y >= -0.032 && y < 0 && x >= -0.14 && x < -0.0996 ? guadeloupe\n : y >= -0.052 && y < -0.032 && x >= -0.14 && x < -0.0996 ? saintBarthelemy\n : y >= -0.076 && y < 0.052 && x >= -0.14 && x < -0.0996 ? stPierreMiquelon\n : y >= -0.076 && y < -0.052 && x >= 0.0967 && x < 0.1371 ? mayotte\n : y >= -0.052 && y < -0.02 && x >= 0.0967 && x < 0.1371 ? reunion\n : y >= -0.02 && y < 0.012 && x >= 0.0967 && x < 0.1371 ? nouvelleCaledonie\n : y >= 0.012 && y < 0.033 && x >= 0.0967 && x < 0.1371 ? wallisFutuna\n : y >= 0.033 && y < 0.0864 && x >= 0.0967 && x < 0.1371 ? polynesie\n : europe).invert(coordinates);\n };\n conicConformalFrance.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$7([europe.stream(cacheStream = stream), guyane.stream(stream), martinique.stream(stream), guadeloupe.stream(stream), saintBarthelemy.stream(stream), stPierreMiquelon.stream(stream), mayotte.stream(stream), reunion.stream(stream), nouvelleCaledonie.stream(stream), wallisFutuna.stream(stream), polynesie.stream(stream), polynesie2.stream(stream)]);\n };\n conicConformalFrance.precision = function (_) {\n if (!arguments.length) {\n return europe.precision();\n }\n europe.precision(_);\n guyane.precision(_);\n martinique.precision(_);\n guadeloupe.precision(_);\n saintBarthelemy.precision(_);\n stPierreMiquelon.precision(_);\n mayotte.precision(_);\n reunion.precision(_);\n nouvelleCaledonie.precision(_);\n wallisFutuna.precision(_);\n polynesie.precision(_);\n polynesie2.precision(_);\n return reset();\n };\n conicConformalFrance.scale = function (_) {\n if (!arguments.length) {\n return europe.scale();\n }\n europe.scale(_);\n guyane.scale(_ * 0.6);\n martinique.scale(_ * 1.6);\n guadeloupe.scale(_ * 1.4);\n saintBarthelemy.scale(_ * 5);\n stPierreMiquelon.scale(_ * 1.3);\n mayotte.scale(_ * 1.6);\n reunion.scale(_ * 1.2);\n nouvelleCaledonie.scale(_ * 0.3);\n wallisFutuna.scale(_ * 2.7);\n polynesie.scale(_ * 0.5);\n polynesie2.scale(_ * 0.06);\n return conicConformalFrance.translate(europe.translate());\n };\n conicConformalFrance.translate = function (_) {\n if (!arguments.length) {\n return europe.translate();\n }\n var k = europe.scale(), x = +_[0], y = +_[1];\n europePoint = europe\n .translate(_)\n .clipExtent([[x - 0.0996 * k, y - 0.0908 * k], [x + 0.0967 * k, y + 0.0864 * k]])\n .stream(pointStream);\n guyanePoint = guyane\n .translate([x - 0.12 * k, y + 0.0575 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y + 0.029 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0.0864 * k - epsilon]])\n .stream(pointStream);\n martiniquePoint = martinique\n .translate([x - 0.12 * k, y + 0.013 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y + 0 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0.029 * k - epsilon]])\n .stream(pointStream);\n guadeloupePoint = guadeloupe\n .translate([x - 0.12 * k, y - 0.014 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.032 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0 * k - epsilon]])\n .stream(pointStream);\n saintBarthelemyPoint = saintBarthelemy\n .translate([x - 0.12 * k, y - 0.044 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.052 * k + epsilon], [x - 0.0996 * k - epsilon, y - 0.032 * k - epsilon]])\n .stream(pointStream);\n stPierreMiquelonPoint = stPierreMiquelon\n .translate([x - 0.12 * k, y - 0.065 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.076 * k + epsilon], [x - 0.0996 * k - epsilon, y - 0.052 * k - epsilon]])\n .stream(pointStream);\n mayottePoint = mayotte\n .translate([x + 0.117 * k, y - 0.064 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.076 * k + epsilon], [x + 0.1371 * k - epsilon, y - 0.052 * k - epsilon]])\n .stream(pointStream);\n reunionPoint = reunion\n .translate([x + 0.116 * k, y - 0.0355 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.052 * k + epsilon], [x + 0.1371 * k - epsilon, y - 0.02 * k - epsilon]])\n .stream(pointStream);\n nouvelleCaledoniePoint = nouvelleCaledonie\n .translate([x + 0.116 * k, y - 0.0048 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.02 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.012 * k - epsilon]])\n .stream(pointStream);\n wallisFutunaPoint = wallisFutuna\n .translate([x + 0.116 * k, y + 0.022 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.012 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.033 * k - epsilon]])\n .stream(pointStream);\n polynesie2Point = polynesie2\n .translate([x + 0.11 * k, y + 0.045 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.033 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.06 * k - epsilon]])\n .stream(pointStream);\n polynesiePoint = polynesie\n .translate([x + 0.115 * k, y + 0.075 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.06 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.0864 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalFrance.fitExtent = function (extent, object) {\n return fitExtent(conicConformalFrance, extent, object);\n };\n conicConformalFrance.fitSize = function (size, object) {\n return fitSize(conicConformalFrance, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalFrance;\n }\n conicConformalFrance.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [guyane, martinique, guadeloupe, saintBarthelemy, stPierreMiquelon, mayotte, reunion, nouvelleCaledonie, wallisFutuna, polynesie, polynesie2];\n for (var i in projs){\n var ul = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = europe([\"+ul+\"]);\");\n console.log(\"ur = europe([\"+ur+\"]);\");\n console.log(\"ld = europe([\"+ld+\"]);\");\n console.log(\"ll = europe([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = europe([-7.938886725111036, 43.7219460918835]);\n ur = europe([-4.832080896458295, 44.12930268549372]);\n ld = europe([-4.205299743793263, 40.98096346967365]);\n ll = europe([-7.071796453126152, 40.610037319181444]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-8.42751373617692, 45.32889452553031]);\n ur = europe([-5.18599305777107, 45.7566442062976]);\n ld = europe([-4.832080905154431, 44.129302726751426]);\n ll = europe([-7.938886737126192, 43.72194613263854]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.012656899657046, 47.127733821030176]);\n ur = europe([-5.6105244772793155, 47.579777861410626]);\n ld = europe([-5.185993067168585, 45.756644248170346]);\n ll = europe([-8.427513749141811, 45.32889456686326]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.405747558985553, 48.26506375557457]);\n ur = europe([-5.896175018439575, 48.733352850851624]);\n ld = europe([-5.610524487556043, 47.57977790393761]);\n ll = europe([-9.012656913808351, 47.127733862971255]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.908436061346974, 49.642448789505856]);\n ur = europe([-6.262026716233124, 50.131426841787174]);\n ld = europe([-5.896175029331232, 48.73335289377258]);\n ll = europe([-9.40574757396393, 48.26506379787767]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.996907706504462, 50.16039028163579]);\n ur = europe([15.649907879773343, 49.68279246765253]);\n ld = europe([15.156712840526632, 48.30371557625831]);\n ll = europe([11.64122661754411, 48.761078240546816]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.641226606955788, 48.7610781975889]);\n ur = europe([15.156712825832164, 48.30371553390465]);\n ld = europe([14.549932166241172, 46.4866532486199]);\n ll = europe([11.204443787952183, 46.91899233914248]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.204443778297161, 46.918992296823646]);\n ur = europe([14.549932152815039, 46.486653206856396]);\n ld = europe([13.994409796764009, 44.695833444323256]);\n ll = europe([10.805306599253848, 45.105133870684924]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.805306590412085, 45.10513382903308]);\n ur = europe([13.99440978444733, 44.695833403183606]);\n ld = europe([13.654633799024392, 43.53552468558152]);\n ll = europe([10.561516803980956, 43.930671459798624]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.561516795617383, 43.93067141859757]);\n ur = europe([13.654633787361952, 43.5355246448671]);\n ld = europe([12.867691604239901, 40.640701985019405]);\n ll = europe([9.997809515987688, 41.00288343254471]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.8, 42.4]);\n ur = europe([12.8, 42.13]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n };\n conicConformalFrance.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalFrance.scale(2700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$8(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicConformalEurope() {\n var cache, cacheStream, europe = d3Geo.geoConicConformal().rotate([-10, -53]).parallels([0, 60]), europePoint, guadeloupe = d3Geo.geoMercator().center([-61.46, 16.14]), guadeloupePoint, guyane = d3Geo.geoMercator().center([-53.2, 3.9]), guyanePoint, azores = d3Geo.geoConicConformal().rotate([27.8, -38.9]).parallels([0, 60]), azoresPoint, azores2 = d3Geo.geoConicConformal().rotate([25.43, -37.398]).parallels([0, 60]), azores2Point, azores3 = d3Geo.geoConicConformal().rotate([31.17, -39.539]).parallels([0, 60]), azores3Point, madeira = d3Geo.geoConicConformal().rotate([17, -32.7]).parallels([0, 60]), madeiraPoint, canaryIslands = d3Geo.geoConicConformal().rotate([16, -28.5]).parallels([0, 60]), canaryIslandsPoint, martinique = d3Geo.geoMercator().center([-61.03, 14.67]), martiniquePoint, mayotte = d3Geo.geoMercator().center([45.16, -12.8]), mayottePoint, reunion = d3Geo.geoMercator().center([55.52, -21.13]), reunionPoint, malta = d3Geo.geoConicConformal().rotate([-14.4, -35.95]).parallels([0, 60]), maltaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var europeBbox = [[-6.5, 51], [10, 41]];\n var guyaneBbox = [[-54.5, 6.29], [-50.9, 1.48]];\n */\n function conicConformalEurope(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (europePoint.point(x, y), point) ||\n (guyanePoint.point(x, y), point) ||\n (martiniquePoint.point(x, y), point) ||\n (guadeloupePoint.point(x, y), point) ||\n (canaryIslandsPoint.point(x, y), point) ||\n (madeiraPoint.point(x, y), point) ||\n (mayottePoint.point(x, y), point) ||\n (reunionPoint.point(x, y), point) ||\n (maltaPoint.point(x, y), point) ||\n (azoresPoint.point(x, y), point) ||\n (azores2Point.point(x, y), point) ||\n (azores3Point.point(x, y), point);\n }\n conicConformalEurope.invert = function (coordinates) {\n var k = europe.scale(), t = europe.translate(), x = (coordinates[0] - (t[0] + 0.08 * k)) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.31 && y < -0.24 && x >= 0.14 && x < 0.24 ? guadeloupe\n : y >= -0.24 && y < -0.17 && x >= 0.14 && x < 0.24 ? guyane\n : y >= -0.17 && y < -0.12 && x >= 0.21 && x < 0.24 ? azores2\n : y >= -0.17 && y < -0.14 && x >= 0.14 && x < 0.165 ? azores3\n : y >= -0.17 && y < -0.1 && x >= 0.14 && x < 0.24 ? azores\n : y >= -0.1 && y < -0.03 && x >= 0.14 && x < 0.24 ? madeira\n : y >= -0.03 && y < 0.04 && x >= 0.14 && x < 0.24 ? canaryIslands\n : y >= -0.31 && y < -0.24 && x >= 0.24 && x < 0.34 ? martinique\n : y >= -0.24 && y < -0.17 && x >= 0.24 && x < 0.34 ? mayotte\n : y >= -0.17 && y < -0.1 && x >= 0.24 && x < 0.34 ? reunion\n : y >= -0.1 && y < -0.03 && x >= 0.24 && x < 0.34 ? malta\n : europe).invert(coordinates);\n };\n conicConformalEurope.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$8([europe.stream(cacheStream = stream), guyane.stream(stream), martinique.stream(stream), guadeloupe.stream(stream), canaryIslands.stream(stream), madeira.stream(stream), mayotte.stream(stream), reunion.stream(stream), malta.stream(stream), azores.stream(stream), azores2.stream(stream), azores3.stream(stream)]);\n };\n conicConformalEurope.precision = function (_) {\n if (!arguments.length) {\n return europe.precision();\n }\n europe.precision(_);\n guyane.precision(_);\n martinique.precision(_);\n guadeloupe.precision(_);\n canaryIslands.precision(_);\n madeira.precision(_);\n mayotte.precision(_);\n reunion.precision(_);\n malta.precision(_);\n azores.precision(_);\n azores2.precision(_);\n azores3.precision(_);\n return reset();\n };\n conicConformalEurope.scale = function (_) {\n if (!arguments.length) {\n return europe.scale();\n }\n europe.scale(_);\n guadeloupe.scale(_ * 3);\n guyane.scale(_ * 0.8);\n martinique.scale(_ * 3.5);\n reunion.scale(_ * 2.7);\n azores.scale(_ * 2);\n azores2.scale(_ * 2);\n azores3.scale(_ * 2);\n madeira.scale(_ * 3);\n canaryIslands.scale(_);\n mayotte.scale(_ * 5.5);\n malta.scale(_ * 6);\n return conicConformalEurope.translate(europe.translate());\n };\n conicConformalEurope.translate = function (_) {\n if (!arguments.length) {\n return europe.translate();\n }\n var k = europe.scale(), x = +_[0], y = +_[1];\n europePoint = europe\n .translate([x - 0.08 * k, y])\n .clipExtent([[x - 0.51 * k, y - 0.33 * k], [x + 0.5 * k, y + 0.33 * k]])\n .stream(pointStream);\n guadeloupePoint = guadeloupe\n .translate([x + 0.19 * k, y - 0.275 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.31 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.24 * k - epsilon]])\n .stream(pointStream);\n guyanePoint = guyane\n .translate([x + 0.19 * k, y - 0.205 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.24 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.17 * k - epsilon]])\n .stream(pointStream);\n azoresPoint = azores\n .translate([x + 0.19 * k, y - 0.135 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.1 * k - epsilon]])\n .stream(pointStream);\n azores2Point = azores2\n .translate([x + 0.225 * k, y - 0.147 * k])\n .clipExtent([[x + 0.21 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.12 * k - epsilon]])\n .stream(pointStream);\n azores3Point = azores3\n .translate([x + 0.153 * k, y - 0.15 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.165 * k - epsilon, y - 0.14 * k - epsilon]])\n .stream(pointStream);\n madeiraPoint = madeira\n .translate([x + 0.19 * k, y - 0.065 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.1 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.03 * k - epsilon]])\n .stream(pointStream);\n canaryIslandsPoint = canaryIslands\n .translate([x + 0.19 * k, y + 0.005 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.03 * k + epsilon], [x + 0.24 * k - epsilon, y + 0.04 * k - epsilon]])\n .stream(pointStream);\n martiniquePoint = martinique\n .translate([x + 0.29 * k, y - 0.275 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.31 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.24 * k - epsilon]])\n .stream(pointStream);\n mayottePoint = mayotte\n .translate([x + 0.29 * k, y - 0.205 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.24 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.17 * k - epsilon]])\n .stream(pointStream);\n reunionPoint = reunion\n .translate([x + 0.29 * k, y - 0.135 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.1 * k - epsilon]])\n .stream(pointStream);\n maltaPoint = malta\n .translate([x + 0.29 * k, y - 0.065 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.1 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.03 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalEurope.fitExtent = function (extent, object) {\n return fitExtent(conicConformalEurope, extent, object);\n };\n conicConformalEurope.fitSize = function (size, object) {\n return fitSize(conicConformalEurope, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalEurope;\n }\n conicConformalEurope.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [guyane, martinique, guadeloupe, canaryIslands, madeira, mayotte, reunion, malta, azores, azores2, azores3];\n for (var i in projs){\n var ul = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = europe([\"+ul+\"]);\");\n console.log(\"ur = europe([\"+ur+\"]);\");\n console.log(\"ld = europe([\"+ld+\"]);\");\n console.log(\"ll = europe([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = europe([42.45755610828648, 63.343658547914934]);\n ur = europe([52.65837266667029, 59.35045080290929]);\n ld = europe([47.19754502247785, 56.12653496548117]);\n ll = europe([37.673034273363044, 59.61638268506111]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([59.41110754003403, 62.35069727399336]);\n ur = europe([66.75050228640794, 57.11797303636038]);\n ld = europe([60.236065725110436, 54.63331433818992]);\n ll = europe([52.65837313153311, 59.350450804599355]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([48.81091130080243, 66.93353402634641]);\n ur = europe([59.41110730654679, 62.35069740653086]);\n ld = europe([52.6583728974441, 59.3504509222445]);\n ll = europe([42.45755631675751, 63.34365868805821]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([31.054198418446475, 52.1080673766184]);\n ur = europe([39.09869284884117, 49.400700047190554]);\n ld = europe([36.0580811499175, 46.02944174908498]);\n ll = europe([28.690508588835726, 48.433126979386415]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([33.977877745912025, 55.849945501331]);\n ur = europe([42.75328432167726, 52.78455122462353]);\n ld = europe([39.09869297540224, 49.400700176148625]);\n ll = europe([31.05419851807008, 52.10806751810923]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([52.658372900759296, 59.35045068526415]);\n ur = europe([60.23606549583304, 54.63331423800264]);\n ld = europe([54.6756370953122, 51.892298789399455]);\n ll = europe([47.19754524788189, 56.126534861222794]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([47.19754506082455, 56.126534735591456]);\n ur = europe([54.675636900123514, 51.892298681337095]);\n ld = europe([49.94448648951486, 48.98775484983285]);\n ll = europe([42.75328468716108, 52.78455126060818]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([42.75328453416769, 52.78455113209101]);\n ur = europe([49.94448632339758, 48.98775473706457]);\n ld = europe([45.912339990394315, 45.99361784987003]);\n ll = europe([39.09869317356607, 49.40070009378711]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([37.673034114296634, 59.61638254183119]);\n ur = europe([47.197544835420544, 56.126534839849846]);\n ld = europe([42.75328447467064, 52.78455135314068]);\n ll = europe([33.977877870363905, 55.849945644671145]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([44.56748486446032, 57.26489367845818]);\n ld = europe([43.9335791193588, 53.746540942601726]);\n ll = europe([43, 56]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([37.673034114296634, 59.61638254183119]);\n ur = europe([40.25902691953466, 58.83002044222639]);\n ld = europe([38.458270492742024, 57.26232178028002]);\n ll = europe([35.97754948030156, 58.00266637992386]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n conicConformalEurope.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalEurope.scale(750);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$9(streams) {\n var n = streams.length;\n return {\n point: function (x, y) {\n var i = -1;\n while (++i < n) {\n streams[i].point(x, y);\n }\n },\n sphere: function () {\n var i = -1;\n while (++i < n) {\n streams[i].sphere();\n }\n },\n lineStart: function () {\n var i = -1;\n while (++i < n) {\n streams[i].lineStart();\n }\n },\n lineEnd: function () {\n var i = -1;\n while (++i < n) {\n streams[i].lineEnd();\n }\n },\n polygonStart: function () {\n var i = -1;\n while (++i < n) {\n streams[i].polygonStart();\n }\n },\n polygonEnd: function () {\n var i = -1;\n while (++i < n) {\n streams[i].polygonEnd();\n }\n },\n };\n }\n // A composite projection for the Netherlands, configured by default for 960×500.\n function conicConformalNetherlands() {\n var cache, cacheStream, netherlandsMainland = d3Geo.geoConicConformal().rotate([-5.50, -52.20]).parallels([0, 60]), netherlandsMainlandPoint, bonaire = d3Geo.geoMercator().center([-68.25, 12.20]), bonairePoint, sabaSintEustatius = d3Geo.geoMercator().center([-63.10, 17.50]), sabaSintEustatiusPoint, point, pointStream = {\n point: function (x, y) {\n point = [x, y];\n },\n };\n function conicConformalNetherlands(coordinates) {\n var _a = tslib_1.__read(coordinates, 2), x = _a[0], y = _a[1];\n return ((point = null),\n (netherlandsMainlandPoint.point(x, y), point) ||\n (bonairePoint.point(x, y), point) ||\n (sabaSintEustatiusPoint.point(x, y), point));\n }\n conicConformalNetherlands.invert = function (coordinates) {\n var k = netherlandsMainland.scale(), t = netherlandsMainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.0067 && y < 0.0015 && x >= -0.0232 && x < -0.0154\n ? bonaire\n : y >= -0.022 && y < -0.014 && x >= -0.023 && x < -0.014\n ? sabaSintEustatius\n : netherlandsMainland).invert(coordinates);\n };\n conicConformalNetherlands.stream = function (stream) {\n return cache && cacheStream === stream\n ? cache\n : (cache = multiplex$9([\n netherlandsMainland.stream((cacheStream = stream)),\n bonaire.stream(stream),\n sabaSintEustatius.stream(stream),\n ]));\n };\n conicConformalNetherlands.precision = function (_) {\n if (!arguments.length)\n return netherlandsMainland.precision();\n netherlandsMainland.precision(_);\n bonaire.precision(_);\n sabaSintEustatius.precision(_);\n return reset();\n };\n conicConformalNetherlands.scale = function (_) {\n if (!arguments.length)\n return netherlandsMainland.scale();\n netherlandsMainland.scale(_);\n bonaire.scale(_);\n sabaSintEustatius.scale(_);\n return conicConformalNetherlands.translate(netherlandsMainland.translate());\n };\n conicConformalNetherlands.translate = function (_) {\n if (!arguments.length)\n return netherlandsMainland.translate();\n var k = netherlandsMainland.scale(), x = +_[0], y = +_[1];\n netherlandsMainlandPoint = netherlandsMainland\n .translate(_)\n .clipExtent([\n [x - 0.0245 * k, y - 0.0260 * k],\n [x + 0.0230 * k, y + 0.0260 * k],\n ])\n .stream(pointStream);\n bonairePoint = bonaire\n .translate([x - 0.0186 * k, y - 0.00325 * k])\n .clipExtent([\n [x - 0.0232 * k + epsilon, y - 0.0067 * k + epsilon],\n [x - 0.0154 * k - epsilon, y + 0.0015 * k - epsilon],\n ])\n .stream(pointStream);\n sabaSintEustatiusPoint = sabaSintEustatius\n .translate([x - 0.0185 * k, y - 0.017 * k])\n .clipExtent([\n [x - 0.023 * k + epsilon, y - 0.022 * k + epsilon],\n [x - 0.014 * k - epsilon, y - 0.014 * k - epsilon],\n ])\n .stream(pointStream);\n return reset();\n };\n conicConformalNetherlands.fitExtent = function (extent, object) {\n return fitExtent(conicConformalNetherlands, extent, object);\n };\n conicConformalNetherlands.fitSize = function (size, object) {\n return fitSize(conicConformalNetherlands, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalNetherlands;\n }\n conicConformalNetherlands.drawCompositionBorders = function (context) {\n /*\n console.table({\n \"Clip extent\": [\"Bonaire\", bonaire.clipExtent()],\n \"UL BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[0][0], bonaire.clipExtent()[0][1]]),\n \"UR BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[1][0], bonaire.clipExtent()[0][1]]),\n \"LD BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[1][0], bonaire.clipExtent()[1][1]]),\n \"LL BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[0][0], bonaire.clipExtent()[1][1]])\n });\n \n console.table({\n \"Clip extent\": [\"Saba & Sint Eustatius\", sabaSintEustatius.clipExtent()],\n \"UL BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[0][0], sabaSintEustatius.clipExtent()[0][1]]),\n \"UR BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[1][0], sabaSintEustatius.clipExtent()[0][1]]),\n \"LD BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[1][0], sabaSintEustatius.clipExtent()[1][1]]),\n \"LL BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[0][0], sabaSintEustatius.clipExtent()[1][1]])\n });\n */\n var ulbonaire = netherlandsMainland([3.30573, 52.5562]);\n var urbonaire = netherlandsMainland([4.0430, 52.5720]);\n var ldbonaire = netherlandsMainland([4.0646, 52.1017]);\n var llbonaire = netherlandsMainland([3.3382, 52.0861]);\n var ulsabaSintEustatius = netherlandsMainland([3.2620, 53.4390]);\n var ursabaSintEustatius = netherlandsMainland([4.1373, 53.4571]);\n var ldsabaSintEustatius = netherlandsMainland([4.1574, 52.9946]);\n var llsabaSintEustatius = netherlandsMainland([3.2951, 52.9768]);\n context.moveTo(ulbonaire[0], ulbonaire[1]);\n context.lineTo(urbonaire[0], urbonaire[1]);\n context.lineTo(ldbonaire[0], ldbonaire[1]);\n context.lineTo(ldbonaire[0], ldbonaire[1]);\n context.lineTo(llbonaire[0], llbonaire[1]);\n context.closePath();\n context.moveTo(ulsabaSintEustatius[0], ulsabaSintEustatius[1]);\n context.lineTo(ursabaSintEustatius[0], ursabaSintEustatius[1]);\n context.lineTo(ldsabaSintEustatius[0], ldsabaSintEustatius[1]);\n context.lineTo(ldsabaSintEustatius[0], ldsabaSintEustatius[1]);\n context.lineTo(llsabaSintEustatius[0], llsabaSintEustatius[1]);\n context.closePath();\n };\n conicConformalNetherlands.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalNetherlands.scale(4200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$a(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Malaysia, configured by default for 960×500.\n function mercatorMalaysia() {\n var cache, cacheStream, peninsular = d3Geo.geoMercator().center([105.25, 4.00]), peninsularPoint, borneo = d3Geo.geoMercator().center([118.65, 2.86]), borneoPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function mercatorMalaysia(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (peninsularPoint.point(x, y), point) ||\n (borneoPoint.point(x, y), point);\n }\n mercatorMalaysia.invert = function (coordinates) {\n var k = peninsular.scale(), t = peninsular.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.0521 && y < 0.0229 && x >= -0.0111 && x < 0.1000 ? borneo\n : peninsular).invert(coordinates);\n };\n mercatorMalaysia.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$a([peninsular.stream(cacheStream = stream), borneo.stream(stream)]);\n };\n mercatorMalaysia.precision = function (_) {\n if (!arguments.length) {\n return peninsular.precision();\n }\n peninsular.precision(_);\n borneo.precision(_);\n return reset();\n };\n mercatorMalaysia.scale = function (_) {\n if (!arguments.length) {\n return peninsular.scale();\n }\n peninsular.scale(_);\n borneo.scale(_ * 0.615);\n return mercatorMalaysia.translate(peninsular.translate());\n };\n mercatorMalaysia.translate = function (_) {\n if (!arguments.length) {\n return peninsular.translate();\n }\n var k = peninsular.scale(), x = +_[0], y = +_[1];\n peninsularPoint = peninsular\n .translate(_)\n .clipExtent([[x - 0.1100 * k, y - 0.0521 * k], [x - 0.0111 * k, y + 0.0521 * k]])\n .stream(pointStream);\n borneoPoint = borneo\n .translate([x + 0.09000 * k, y - 0.00 * k])\n .clipExtent([[x - 0.0111 * k + epsilon, y - 0.0521 * k + epsilon], [x + 0.1000 * k - epsilon, y + 0.024 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorMalaysia.fitExtent = function (extent, object) {\n return fitExtent(mercatorMalaysia, extent, object);\n };\n mercatorMalaysia.fitSize = function (size, object) {\n return fitSize(mercatorMalaysia, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorMalaysia;\n }\n mercatorMalaysia.drawCompositionBorders = function (context) {\n var llbor = peninsular([106.3214, 2.0228]);\n var lmbor = peninsular([105.1843, 2.3761]);\n var lrbor = peninsular([104.2151, 3.3618]);\n var llrbor = peninsular([104.2150, 4.5651]);\n context.moveTo(llbor[0], llbor[1]);\n context.lineTo(lmbor[0], lmbor[1]);\n context.lineTo(lrbor[0], lrbor[1]);\n context.lineTo(llrbor[0], llrbor[1]);\n };\n mercatorMalaysia.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorMalaysia.scale(4800);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$b(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Equatorial Guinea, configured by default for 960×500.\n function mercatorEquatorialGuinea() {\n var cache, cacheStream, continent = d3Geo.geoMercator().rotate([-9.5, -1.5]), continentPoint, bioko = d3Geo.geoMercator().rotate([-8.6, -3.5]), biokoPoint, annobon = d3Geo.geoMercator().rotate([-5.6, 1.45]), annobonPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function mercatorEquatorialGuinea(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (continentPoint.point(x, y), point) ||\n (biokoPoint.point(x, y), point) ||\n (annobonPoint.point(x, y), point);\n }\n mercatorEquatorialGuinea.invert = function (coordinates) {\n var k = continent.scale(), t = continent.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.02 && y < 0 && x >= -0.038 && x < -0.005 ? bioko\n : y >= 0 && y < 0.02 && x >= -0.038 && x < -0.005 ? annobon\n : continent).invert(coordinates);\n };\n mercatorEquatorialGuinea.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$b([continent.stream(cacheStream = stream), bioko.stream(stream), annobon.stream(stream)]);\n };\n mercatorEquatorialGuinea.precision = function (_) {\n if (!arguments.length) {\n return continent.precision();\n }\n continent.precision(_);\n bioko.precision(_);\n annobon.precision(_);\n return reset();\n };\n mercatorEquatorialGuinea.scale = function (_) {\n if (!arguments.length) {\n return continent.scale();\n }\n continent.scale(_);\n bioko.scale(_ * 1.5);\n annobon.scale(_ * 4);\n return mercatorEquatorialGuinea.translate(continent.translate());\n };\n mercatorEquatorialGuinea.translate = function (_) {\n if (!arguments.length) {\n return continent.translate();\n }\n var k = continent.scale(), x = +_[0], y = +_[1];\n continentPoint = continent\n .translate(_)\n .clipExtent([[x - 0.005 * k, y - 0.02 * k], [x + 0.038 * k, y + 0.02 * k]])\n .stream(pointStream);\n biokoPoint = bioko\n .translate([x - 0.025 * k, y - 0.01 * k])\n .clipExtent([[x - 0.038 * k + epsilon, y - 0.02 * k + epsilon], [x - 0.005 * k - epsilon, y + 0 * k - epsilon]])\n .stream(pointStream);\n annobonPoint = annobon\n .translate([x - 0.025 * k, y + 0.01 * k])\n .clipExtent([[x - 0.038 * k + epsilon, y - 0 * k + epsilon], [x - 0.005 * k - epsilon, y + 0.02 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorEquatorialGuinea.fitExtent = function (extent, object) {\n return fitExtent(mercatorEquatorialGuinea, extent, object);\n };\n mercatorEquatorialGuinea.fitSize = function (size, object) {\n return fitSize(mercatorEquatorialGuinea, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorEquatorialGuinea;\n }\n mercatorEquatorialGuinea.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [continent, bioko, annobon];\n for (var i in projs){\n var ul = continent.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = continent.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = continent.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = continent.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = continent([\"+ul+\"]);\");\n console.log(\"ur = continent([\"+ur+\"]);\");\n console.log(\"ld = continent([\"+ld+\"]);\");\n console.log(\"ll = continent([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = continent([9.21327272751682, 2.645820439454123]);\n ur = continent([11.679126293239872, 2.644755519268689]);\n ld = continent([11.676845389029227, 0.35307824637606433]);\n ll = continent([9.213572917774014, 0.35414205204417754]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = continent([7.320873711543669, 2.64475551449975]);\n ur = continent([9.213272722738658, 2.645820434679803]);\n ld = continent([9.213422896480349, 1.4999812505283054]);\n ll = continent([7.322014760520787, 1.4989168878985566]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = continent([7.3220147605302905, 1.4989168783492766]);\n ur = continent([9.213422896481598, 1.499981240979021]);\n ld = continent([9.213572912999604, 0.354142056817247]);\n ll = continent([7.323154615739809, 0.353078251154504]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n mercatorEquatorialGuinea.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorEquatorialGuinea.scale(12000);\n }\n function multiplex$c(streams) {\n var n = streams.length;\n return {\n point: function (x, y) {\n var i = -1;\n while (++i < n)\n streams[i].point(x, y);\n },\n sphere: function () {\n var i = -1;\n while (++i < n)\n streams[i].sphere();\n },\n lineStart: function () {\n var i = -1;\n while (++i < n)\n streams[i].lineStart();\n },\n lineEnd: function () {\n var i = -1;\n while (++i < n)\n streams[i].lineEnd();\n },\n polygonStart: function () {\n var i = -1;\n while (++i < n)\n streams[i].polygonStart();\n },\n polygonEnd: function () {\n var i = -1;\n while (++i < n)\n streams[i].polygonEnd();\n }\n };\n }\n function albersUk() {\n var cache, cacheStream, main = d3Geo.geoAlbers()\n .rotate([4.4, 0.8])\n .center([0, 55.4])\n .parallels([50, 60]), mainPoint, shetland = d3Geo.geoAlbers()\n .rotate([4.4, 0.8])\n .center([0, 55.4])\n .parallels([50, 60]), shetlandPoint, point, pointStream = {\n point: function (x, y) {\n point = [x, y];\n }\n };\n function albersUk(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return ((point = null),\n (mainPoint.point(x, y), point) || (shetlandPoint.point(x, y), point));\n }\n albersUk.invert = function (coordinates) {\n var k = main.scale(), t = main.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.089 && y < 0.06 && x >= 0.029 && x < 0.046\n ? shetland\n : main).invert(coordinates);\n };\n albersUk.stream = function (stream) {\n return cache && cacheStream === stream\n ? cache\n : (cache = multiplex$c([\n main.stream((cacheStream = stream)),\n shetland.stream(stream)\n ]));\n };\n albersUk.precision = function (_) {\n if (!arguments.length)\n return main.precision();\n main.precision(_), shetland.precision(_);\n return reset();\n };\n albersUk.scale = function (_) {\n if (!arguments.length)\n return main.scale();\n main.scale(_), shetland.scale(_);\n return albersUk.translate(main.translate());\n };\n albersUk.translate = function (_) {\n if (!arguments.length)\n return main.translate();\n var k = main.scale(), x = +_[0], y = +_[1];\n mainPoint = main\n .translate(_)\n .clipExtent([\n [x - 0.065 * k, y - 0.089 * k],\n [x + 0.075 * k, y + 0.089 * k]\n ])\n .stream(pointStream);\n shetlandPoint = shetland\n .translate([x + 0.01 * k, y + 0.025 * k])\n .clipExtent([\n [x + 0.029 * k + epsilon, y - 0.089 * k + epsilon],\n [x + 0.046 * k - epsilon, y - 0.06 * k - epsilon]\n ])\n .stream(pointStream);\n return reset();\n };\n albersUk.fitExtent = function (extent, object) {\n return fitExtent(albersUk, extent, object);\n };\n albersUk.fitSize = function (size, object) {\n return fitSize(albersUk, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUk;\n }\n albersUk.drawCompositionBorders = function (context) {\n /*var ul = main.invert([\n shetland.clipExtent()[0][0],\n shetland.clipExtent()[0][1]\n ]);\n var ur = main.invert([\n shetland.clipExtent()[1][0],\n shetland.clipExtent()[0][1]\n ]);\n var ld = main.invert([\n shetland.clipExtent()[1][0],\n shetland.clipExtent()[1][1]\n ]);\n var ll = main.invert([\n shetland.clipExtent()[0][0],\n shetland.clipExtent()[1][1]\n ]);\n \n console.log(\"ul = main([\" + ul + \"]);\");\n console.log(\"ur = main([\" + ur + \"]);\");\n console.log(\"ld = main([\" + ld + \"]);\");\n console.log(\"ll = main([\" + ll + \"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");*/\n var ul, ur, ld, ll;\n ul = main([-1.113205870242365, 59.64920050773357]);\n ur = main([0.807899092399606, 59.59085836472269]);\n ld = main([0.5778611961420386, 57.93467822832577]);\n ll = main([-1.25867782078448, 57.99029450085142]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n albersUk.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUk.scale(2800);\n }\n exports.geoAlbersUk = albersUk;\n exports.geoAlbersUsa = albersUsa;\n exports.geoAlbersUsaTerritories = albersUsaTerritories;\n exports.geoConicConformalEurope = conicConformalEurope;\n exports.geoConicConformalFrance = conicConformalFrance;\n exports.geoConicConformalNetherlands = conicConformalNetherlands;\n exports.geoConicConformalPortugal = conicConformalPortugal;\n exports.geoConicConformalSpain = conicConformalSpain;\n exports.geoConicEquidistantJapan = conicEquidistantJapan;\n exports.geoMercatorEcuador = mercatorEcuador;\n exports.geoMercatorEquatorialGuinea = mercatorEquatorialGuinea;\n exports.geoMercatorMalaysia = mercatorMalaysia;\n exports.geoTransverseMercatorChile = transverseMercatorChile;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "index": 123, + "index2": 118, + "size": 68324, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerId": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerName": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "profile": { + "factory": 751, + "building": 448 + } + } + ], + "profile": { + "factory": 166, + "building": 267, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "module": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "moduleName": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:84-103" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var tslib_1 = require(\"tslib\");\n// https://d3js.org/d3-array/ v2.12.1 Copyright 2021 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.d3 = global.d3 || {}));\n}(this, (function (exports) {\n 'use strict';\n function ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n }\n function bisector(f) {\n var delta = f;\n var compare = f;\n if (f.length === 1) {\n delta = function (d, x) { return f(d) - x; };\n compare = ascendingComparator(f);\n }\n function left(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = (lo + hi) >>> 1;\n if (compare(a[mid], x) < 0)\n lo = mid + 1;\n else\n hi = mid;\n }\n return lo;\n }\n function right(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = (lo + hi) >>> 1;\n if (compare(a[mid], x) > 0)\n hi = mid;\n else\n lo = mid + 1;\n }\n return lo;\n }\n function center(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n var i = left(a, x, lo, hi - 1);\n return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;\n }\n return { left: left, center: center, right: right };\n }\n function ascendingComparator(f) {\n return function (d, x) { return ascending(f(d), x); };\n }\n function number(x) {\n return x === null ? NaN : +x;\n }\n function numbers(values, valueof) {\n var values_1, values_1_1, value, e_1_1, index_1, values_2, values_2_1, value, e_2_1;\n var e_1, _a, e_2, _b;\n return tslib_1.__generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n if (!(valueof === undefined)) return [3 /*break*/, 9];\n _c.label = 1;\n case 1:\n _c.trys.push([1, 6, 7, 8]);\n values_1 = tslib_1.__values(values), values_1_1 = values_1.next();\n _c.label = 2;\n case 2:\n if (!!values_1_1.done) return [3 /*break*/, 5];\n value = values_1_1.value;\n if (!(value != null && (value = +value) >= value)) return [3 /*break*/, 4];\n return [4 /*yield*/, value];\n case 3:\n _c.sent();\n _c.label = 4;\n case 4:\n values_1_1 = values_1.next();\n return [3 /*break*/, 2];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_1_1 = _c.sent();\n e_1 = { error: e_1_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);\n }\n finally { if (e_1) throw e_1.error; }\n return [7 /*endfinally*/];\n case 8: return [3 /*break*/, 17];\n case 9:\n index_1 = -1;\n _c.label = 10;\n case 10:\n _c.trys.push([10, 15, 16, 17]);\n values_2 = tslib_1.__values(values), values_2_1 = values_2.next();\n _c.label = 11;\n case 11:\n if (!!values_2_1.done) return [3 /*break*/, 14];\n value = values_2_1.value;\n if (!((value = valueof(value, ++index_1, values)) != null && (value = +value) >= value)) return [3 /*break*/, 13];\n return [4 /*yield*/, value];\n case 12:\n _c.sent();\n _c.label = 13;\n case 13:\n values_2_1 = values_2.next();\n return [3 /*break*/, 11];\n case 14: return [3 /*break*/, 17];\n case 15:\n e_2_1 = _c.sent();\n e_2 = { error: e_2_1 };\n return [3 /*break*/, 17];\n case 16:\n try {\n if (values_2_1 && !values_2_1.done && (_b = values_2.return)) _b.call(values_2);\n }\n finally { if (e_2) throw e_2.error; }\n return [7 /*endfinally*/];\n case 17: return [2 /*return*/];\n }\n });\n }\n var ascendingBisect = bisector(ascending);\n var bisectRight = ascendingBisect.right;\n var bisectLeft = ascendingBisect.left;\n var bisectCenter = bisector(number).center;\n function count(values, valueof) {\n var e_3, _a, e_4, _b;\n var count = 0;\n if (valueof === undefined) {\n try {\n for (var values_3 = tslib_1.__values(values), values_3_1 = values_3.next(); !values_3_1.done; values_3_1 = values_3.next()) {\n var value = values_3_1.value;\n if (value != null && (value = +value) >= value) {\n ++count;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (values_3_1 && !values_3_1.done && (_a = values_3.return)) _a.call(values_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n else {\n var index_2 = -1;\n try {\n for (var values_4 = tslib_1.__values(values), values_4_1 = values_4.next(); !values_4_1.done; values_4_1 = values_4.next()) {\n var value = values_4_1.value;\n if ((value = valueof(value, ++index_2, values)) != null && (value = +value) >= value) {\n ++count;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (values_4_1 && !values_4_1.done && (_b = values_4.return)) _b.call(values_4);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n return count;\n }\n function length$1(array) {\n return array.length | 0;\n }\n function empty(length) {\n return !(length > 0);\n }\n function arrayify(values) {\n return typeof values !== \"object\" || \"length\" in values ? values : Array.from(values);\n }\n function reducer(reduce) {\n return function (values) { return reduce.apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(values), false)); };\n }\n function cross() {\n var values = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n values[_i] = arguments[_i];\n }\n var reduce = typeof values[values.length - 1] === \"function\" && reducer(values.pop());\n values = values.map(arrayify);\n var lengths = values.map(length$1);\n var j = values.length - 1;\n var index = new Array(j + 1).fill(0);\n var product = [];\n if (j < 0 || lengths.some(empty))\n return product;\n while (true) {\n product.push(index.map(function (j, i) { return values[i][j]; }));\n var i = j;\n while (++index[i] === lengths[i]) {\n if (i === 0)\n return reduce ? product.map(reduce) : product;\n index[i--] = 0;\n }\n }\n }\n function cumsum(values, valueof) {\n var sum = 0, index = 0;\n return Float64Array.from(values, valueof === undefined\n ? function (v) { return (sum += +v || 0); }\n : function (v) { return (sum += +valueof(v, index++, values) || 0); });\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function variance(values, valueof) {\n var e_5, _a, e_6, _b;\n var count = 0;\n var delta;\n var mean = 0;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_5 = tslib_1.__values(values), values_5_1 = values_5.next(); !values_5_1.done; values_5_1 = values_5.next()) {\n var value = values_5_1.value;\n if (value != null && (value = +value) >= value) {\n delta = value - mean;\n mean += delta / ++count;\n sum += delta * (value - mean);\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (values_5_1 && !values_5_1.done && (_a = values_5.return)) _a.call(values_5);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n else {\n var index_3 = -1;\n try {\n for (var values_6 = tslib_1.__values(values), values_6_1 = values_6.next(); !values_6_1.done; values_6_1 = values_6.next()) {\n var value = values_6_1.value;\n if ((value = valueof(value, ++index_3, values)) != null && (value = +value) >= value) {\n delta = value - mean;\n mean += delta / ++count;\n sum += delta * (value - mean);\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (values_6_1 && !values_6_1.done && (_b = values_6.return)) _b.call(values_6);\n }\n finally { if (e_6) throw e_6.error; }\n }\n }\n if (count > 1)\n return sum / (count - 1);\n }\n function deviation(values, valueof) {\n var v = variance(values, valueof);\n return v ? Math.sqrt(v) : v;\n }\n function extent(values, valueof) {\n var e_7, _a, e_8, _b;\n var min;\n var max;\n if (valueof === undefined) {\n try {\n for (var values_7 = tslib_1.__values(values), values_7_1 = values_7.next(); !values_7_1.done; values_7_1 = values_7.next()) {\n var value = values_7_1.value;\n if (value != null) {\n if (min === undefined) {\n if (value >= value)\n min = max = value;\n }\n else {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (values_7_1 && !values_7_1.done && (_a = values_7.return)) _a.call(values_7);\n }\n finally { if (e_7) throw e_7.error; }\n }\n }\n else {\n var index_4 = -1;\n try {\n for (var values_8 = tslib_1.__values(values), values_8_1 = values_8.next(); !values_8_1.done; values_8_1 = values_8.next()) {\n var value = values_8_1.value;\n if ((value = valueof(value, ++index_4, values)) != null) {\n if (min === undefined) {\n if (value >= value)\n min = max = value;\n }\n else {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (values_8_1 && !values_8_1.done && (_b = values_8.return)) _b.call(values_8);\n }\n finally { if (e_8) throw e_8.error; }\n }\n }\n return [min, max];\n }\n // https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423\n var Adder = /** @class */ (function () {\n function Adder() {\n this._partials = new Float64Array(32);\n this._n = 0;\n }\n Adder.prototype.add = function (x) {\n var p = this._partials;\n var i = 0;\n for (var j = 0; j < this._n && j < 32; j++) {\n var y = p[j], hi = x + y, lo = Math.abs(x) < Math.abs(y) ? x - (hi - y) : y - (hi - x);\n if (lo)\n p[i++] = lo;\n x = hi;\n }\n p[i] = x;\n this._n = i + 1;\n return this;\n };\n Adder.prototype.valueOf = function () {\n var p = this._partials;\n var n = this._n, x, y, lo, hi = 0;\n if (n > 0) {\n hi = p[--n];\n while (n > 0) {\n x = hi;\n y = p[--n];\n hi = x + y;\n lo = y - (hi - x);\n if (lo)\n break;\n }\n if (n > 0 && ((lo < 0 && p[n - 1] < 0) || (lo > 0 && p[n - 1] > 0))) {\n y = lo * 2;\n x = hi + y;\n if (y == x - hi)\n hi = x;\n }\n }\n return hi;\n };\n return Adder;\n }());\n function fsum(values, valueof) {\n var e_9, _a, e_10, _b;\n var adder = new Adder();\n if (valueof === undefined) {\n try {\n for (var values_9 = tslib_1.__values(values), values_9_1 = values_9.next(); !values_9_1.done; values_9_1 = values_9.next()) {\n var value = values_9_1.value;\n if (value = +value) {\n adder.add(value);\n }\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (values_9_1 && !values_9_1.done && (_a = values_9.return)) _a.call(values_9);\n }\n finally { if (e_9) throw e_9.error; }\n }\n }\n else {\n var index_5 = -1;\n try {\n for (var values_10 = tslib_1.__values(values), values_10_1 = values_10.next(); !values_10_1.done; values_10_1 = values_10.next()) {\n var value = values_10_1.value;\n if (value = +valueof(value, ++index_5, values)) {\n adder.add(value);\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (values_10_1 && !values_10_1.done && (_b = values_10.return)) _b.call(values_10);\n }\n finally { if (e_10) throw e_10.error; }\n }\n }\n return +adder;\n }\n function fcumsum(values, valueof) {\n var adder = new Adder();\n var index = -1;\n return Float64Array.from(values, valueof === undefined\n ? function (v) { return adder.add(+v || 0); }\n : function (v) { return adder.add(+valueof(v, ++index, values) || 0); });\n }\n var InternMap = /** @class */ (function (_super) {\n tslib_1.__extends(InternMap, _super);\n function InternMap(entries, key) {\n var e_11, _a;\n if (key === void 0) { key = keyof; }\n var _this = _super.call(this) || this;\n Object.defineProperties(_this, { _intern: { value: new Map() }, _key: { value: key } });\n if (entries != null)\n try {\n for (var entries_1 = tslib_1.__values(entries), entries_1_1 = entries_1.next(); !entries_1_1.done; entries_1_1 = entries_1.next()) {\n var _b = tslib_1.__read(entries_1_1.value, 2), key_1 = _b[0], value = _b[1];\n _this.set(key_1, value);\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (entries_1_1 && !entries_1_1.done && (_a = entries_1.return)) _a.call(entries_1);\n }\n finally { if (e_11) throw e_11.error; }\n }\n return _this;\n }\n InternMap.prototype.get = function (key) {\n return _super.prototype.get.call(this, intern_get(this, key));\n };\n InternMap.prototype.has = function (key) {\n return _super.prototype.has.call(this, intern_get(this, key));\n };\n InternMap.prototype.set = function (key, value) {\n return _super.prototype.set.call(this, intern_set(this, key), value);\n };\n InternMap.prototype.delete = function (key) {\n return _super.prototype.delete.call(this, intern_delete(this, key));\n };\n return InternMap;\n }(Map));\n var InternSet = /** @class */ (function (_super) {\n tslib_1.__extends(InternSet, _super);\n function InternSet(values, key) {\n var e_12, _a;\n if (key === void 0) { key = keyof; }\n var _this = _super.call(this) || this;\n Object.defineProperties(_this, { _intern: { value: new Map() }, _key: { value: key } });\n if (values != null)\n try {\n for (var values_11 = tslib_1.__values(values), values_11_1 = values_11.next(); !values_11_1.done; values_11_1 = values_11.next()) {\n var value = values_11_1.value;\n _this.add(value);\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (values_11_1 && !values_11_1.done && (_a = values_11.return)) _a.call(values_11);\n }\n finally { if (e_12) throw e_12.error; }\n }\n return _this;\n }\n InternSet.prototype.has = function (value) {\n return _super.prototype.has.call(this, intern_get(this, value));\n };\n InternSet.prototype.add = function (value) {\n return _super.prototype.add.call(this, intern_set(this, value));\n };\n InternSet.prototype.delete = function (value) {\n return _super.prototype.delete.call(this, intern_delete(this, value));\n };\n return InternSet;\n }(Set));\n function intern_get(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n return _intern.has(key) ? _intern.get(key) : value;\n }\n function intern_set(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n if (_intern.has(key))\n return _intern.get(key);\n _intern.set(key, value);\n return value;\n }\n function intern_delete(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n if (_intern.has(key)) {\n value = _intern.get(value);\n _intern.delete(key);\n }\n return value;\n }\n function keyof(value) {\n return value !== null && typeof value === \"object\" ? value.valueOf() : value;\n }\n function identity(x) {\n return x;\n }\n function group(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, identity, identity, keys);\n }\n function groups(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, Array.from, identity, keys);\n }\n function rollup(values, reduce) {\n var keys = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n keys[_i - 2] = arguments[_i];\n }\n return nest(values, identity, reduce, keys);\n }\n function rollups(values, reduce) {\n var keys = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n keys[_i - 2] = arguments[_i];\n }\n return nest(values, Array.from, reduce, keys);\n }\n function index(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, identity, unique, keys);\n }\n function indexes(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, Array.from, unique, keys);\n }\n function unique(values) {\n if (values.length !== 1)\n throw new Error(\"duplicate key\");\n return values[0];\n }\n function nest(values, map, reduce, keys) {\n return (function regroup(values, i) {\n var e_13, _a, e_14, _b;\n if (i >= keys.length)\n return reduce(values);\n var groups = new InternMap();\n var keyof = keys[i++];\n var index = -1;\n try {\n for (var values_12 = tslib_1.__values(values), values_12_1 = values_12.next(); !values_12_1.done; values_12_1 = values_12.next()) {\n var value = values_12_1.value;\n var key = keyof(value, ++index, values);\n var group_1 = groups.get(key);\n if (group_1)\n group_1.push(value);\n else\n groups.set(key, [value]);\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (values_12_1 && !values_12_1.done && (_a = values_12.return)) _a.call(values_12);\n }\n finally { if (e_13) throw e_13.error; }\n }\n try {\n for (var groups_1 = tslib_1.__values(groups), groups_1_1 = groups_1.next(); !groups_1_1.done; groups_1_1 = groups_1.next()) {\n var _c = tslib_1.__read(groups_1_1.value, 2), key = _c[0], values_13 = _c[1];\n groups.set(key, regroup(values_13, i));\n }\n }\n catch (e_14_1) { e_14 = { error: e_14_1 }; }\n finally {\n try {\n if (groups_1_1 && !groups_1_1.done && (_b = groups_1.return)) _b.call(groups_1);\n }\n finally { if (e_14) throw e_14.error; }\n }\n return map(groups);\n })(values, 0);\n }\n function permute(source, keys) {\n return Array.from(keys, function (key) { return source[key]; });\n }\n function sort(values) {\n var F = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n F[_i - 1] = arguments[_i];\n }\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n values = Array.from(values);\n var _a = tslib_1.__read(F, 1), _b = _a[0], f = _b === void 0 ? ascending : _b;\n if (f.length === 1 || F.length > 1) {\n var index_6 = Uint32Array.from(values, function (d, i) { return i; });\n if (F.length > 1) {\n F = F.map(function (f) { return values.map(f); });\n index_6.sort(function (i, j) {\n var e_15, _a;\n try {\n for (var F_1 = tslib_1.__values(F), F_1_1 = F_1.next(); !F_1_1.done; F_1_1 = F_1.next()) {\n var f_1 = F_1_1.value;\n var c = ascending(f_1[i], f_1[j]);\n if (c)\n return c;\n }\n }\n catch (e_15_1) { e_15 = { error: e_15_1 }; }\n finally {\n try {\n if (F_1_1 && !F_1_1.done && (_a = F_1.return)) _a.call(F_1);\n }\n finally { if (e_15) throw e_15.error; }\n }\n });\n }\n else {\n f = values.map(f);\n index_6.sort(function (i, j) { return ascending(f[i], f[j]); });\n }\n return permute(values, index_6);\n }\n return values.sort(f);\n }\n function groupSort(values, reduce, key) {\n return (reduce.length === 1\n ? sort(rollup(values, reduce, key), (function (_a, _b) {\n var _c = tslib_1.__read(_a, 2), ak = _c[0], av = _c[1];\n var _d = tslib_1.__read(_b, 2), bk = _d[0], bv = _d[1];\n return ascending(av, bv) || ascending(ak, bk);\n }))\n : sort(group(values, key), (function (_a, _b) {\n var _c = tslib_1.__read(_a, 2), ak = _c[0], av = _c[1];\n var _d = tslib_1.__read(_b, 2), bk = _d[0], bv = _d[1];\n return reduce(av, bv) || ascending(ak, bk);\n })))\n .map(function (_a) {\n var _b = tslib_1.__read(_a, 1), key = _b[0];\n return key;\n });\n }\n var array = Array.prototype;\n var slice = array.slice;\n function constant(x) {\n return function () {\n return x;\n };\n }\n var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);\n function ticks(start, stop, count) {\n var reverse, i = -1, n, ticks, step;\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0)\n return [start];\n if (reverse = stop < start)\n n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step))\n return [];\n if (step > 0) {\n var r0 = Math.round(start / step), r1 = Math.round(stop / step);\n if (r0 * step < start)\n ++r0;\n if (r1 * step > stop)\n --r1;\n ticks = new Array(n = r1 - r0 + 1);\n while (++i < n)\n ticks[i] = (r0 + i) * step;\n }\n else {\n step = -step;\n var r0 = Math.round(start * step), r1 = Math.round(stop * step);\n if (r0 / step < start)\n ++r0;\n if (r1 / step > stop)\n --r1;\n ticks = new Array(n = r1 - r0 + 1);\n while (++i < n)\n ticks[i] = (r0 + i) / step;\n }\n if (reverse)\n ticks.reverse();\n return ticks;\n }\n function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n }\n function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1;\n if (error >= e10)\n step1 *= 10;\n else if (error >= e5)\n step1 *= 5;\n else if (error >= e2)\n step1 *= 2;\n return stop < start ? -step1 : step1;\n }\n function nice(start, stop, count) {\n var prestep;\n while (true) {\n var step = tickIncrement(start, stop, count);\n if (step === prestep || step === 0 || !isFinite(step)) {\n return [start, stop];\n }\n else if (step > 0) {\n start = Math.floor(start / step) * step;\n stop = Math.ceil(stop / step) * step;\n }\n else if (step < 0) {\n start = Math.ceil(start * step) / step;\n stop = Math.floor(stop * step) / step;\n }\n prestep = step;\n }\n }\n function sturges(values) {\n return Math.ceil(Math.log(count(values)) / Math.LN2) + 1;\n }\n function bin() {\n var value = identity, domain = extent, threshold = sturges;\n function histogram(data) {\n var _a;\n if (!Array.isArray(data))\n data = Array.from(data);\n var i, n = data.length, x, values = new Array(n);\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1);\n // Convert number of thresholds into uniform thresholds, and nice the\n // default domain accordingly.\n if (!Array.isArray(tz)) {\n var max_1 = x1, tn = +tz;\n if (domain === extent)\n _a = tslib_1.__read(nice(x0, x1, tn), 2), x0 = _a[0], x1 = _a[1];\n tz = ticks(x0, x1, tn);\n // If the last threshold is coincident with the domain’s upper bound, the\n // last bin will be zero-width. If the default domain is used, and this\n // last threshold is coincident with the maximum input value, we can\n // extend the niced upper bound by one tick to ensure uniform bin widths;\n // otherwise, we simply remove the last threshold. Note that we don’t\n // coerce values or the domain to numbers, and thus must be careful to\n // compare order (>=) rather than strict equality (===)!\n if (tz[tz.length - 1] >= x1) {\n if (max_1 >= x1 && domain === extent) {\n var step = tickIncrement(x0, x1, tn);\n if (isFinite(step)) {\n if (step > 0) {\n x1 = (Math.floor(x1 / step) + 1) * step;\n }\n else if (step < 0) {\n x1 = (Math.ceil(x1 * -step) + 1) / -step;\n }\n }\n }\n else {\n tz.pop();\n }\n }\n }\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0)\n tz.shift(), --m;\n while (tz[m - 1] > x1)\n tz.pop(), --m;\n var bins = new Array(m + 1), bin;\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisectRight(tz, x, 0, m)].push(data[i]);\n }\n }\n return bins;\n }\n histogram.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n histogram.domain = function (_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n histogram.thresholds = function (_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n return histogram;\n }\n function max(values, valueof) {\n var e_16, _a, e_17, _b;\n var max;\n if (valueof === undefined) {\n try {\n for (var values_14 = tslib_1.__values(values), values_14_1 = values_14.next(); !values_14_1.done; values_14_1 = values_14.next()) {\n var value = values_14_1.value;\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n catch (e_16_1) { e_16 = { error: e_16_1 }; }\n finally {\n try {\n if (values_14_1 && !values_14_1.done && (_a = values_14.return)) _a.call(values_14);\n }\n finally { if (e_16) throw e_16.error; }\n }\n }\n else {\n var index_7 = -1;\n try {\n for (var values_15 = tslib_1.__values(values), values_15_1 = values_15.next(); !values_15_1.done; values_15_1 = values_15.next()) {\n var value = values_15_1.value;\n if ((value = valueof(value, ++index_7, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n catch (e_17_1) { e_17 = { error: e_17_1 }; }\n finally {\n try {\n if (values_15_1 && !values_15_1.done && (_b = values_15.return)) _b.call(values_15);\n }\n finally { if (e_17) throw e_17.error; }\n }\n }\n return max;\n }\n function min(values, valueof) {\n var e_18, _a, e_19, _b;\n var min;\n if (valueof === undefined) {\n try {\n for (var values_16 = tslib_1.__values(values), values_16_1 = values_16.next(); !values_16_1.done; values_16_1 = values_16.next()) {\n var value = values_16_1.value;\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n catch (e_18_1) { e_18 = { error: e_18_1 }; }\n finally {\n try {\n if (values_16_1 && !values_16_1.done && (_a = values_16.return)) _a.call(values_16);\n }\n finally { if (e_18) throw e_18.error; }\n }\n }\n else {\n var index_8 = -1;\n try {\n for (var values_17 = tslib_1.__values(values), values_17_1 = values_17.next(); !values_17_1.done; values_17_1 = values_17.next()) {\n var value = values_17_1.value;\n if ((value = valueof(value, ++index_8, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n catch (e_19_1) { e_19 = { error: e_19_1 }; }\n finally {\n try {\n if (values_17_1 && !values_17_1.done && (_b = values_17.return)) _b.call(values_17);\n }\n finally { if (e_19) throw e_19.error; }\n }\n }\n return min;\n }\n // Based on https://github.com/mourner/quickselect\n // ISC license, Copyright 2018 Vladimir Agafonkin.\n function quickselect(array, k, left, right, compare) {\n if (left === void 0) { left = 0; }\n if (right === void 0) { right = array.length - 1; }\n if (compare === void 0) { compare = ascending; }\n while (right > left) {\n if (right - left > 600) {\n var n = right - left + 1;\n var m = k - left + 1;\n var z = Math.log(n);\n var s = 0.5 * Math.exp(2 * z / 3);\n var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);\n var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));\n var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));\n quickselect(array, k, newLeft, newRight, compare);\n }\n var t = array[k];\n var i = left;\n var j = right;\n swap(array, left, k);\n if (compare(array[right], t) > 0)\n swap(array, left, right);\n while (i < j) {\n swap(array, i, j), ++i, --j;\n while (compare(array[i], t) < 0)\n ++i;\n while (compare(array[j], t) > 0)\n --j;\n }\n if (compare(array[left], t) === 0)\n swap(array, left, j);\n else\n ++j, swap(array, j, right);\n if (j <= k)\n left = j + 1;\n if (k <= j)\n right = j - 1;\n }\n return array;\n }\n function swap(array, i, j) {\n var t = array[i];\n array[i] = array[j];\n array[j] = t;\n }\n function quantile(values, p, valueof) {\n values = Float64Array.from(numbers(values, valueof));\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return min(values);\n if (p >= 1)\n return max(values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = max(quickselect(values, i0).subarray(0, i0 + 1)), value1 = min(values.subarray(i0 + 1));\n return value0 + (value1 - value0) * (i - i0);\n }\n function quantileSorted(values, p, valueof) {\n if (valueof === void 0) { valueof = number; }\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return +valueof(values[0], 0, values);\n if (p >= 1)\n return +valueof(values[n - 1], n - 1, values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values), value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n }\n function freedmanDiaconis(values, min, max) {\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(count(values), -1 / 3)));\n }\n function scott(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(count(values), -1 / 3)));\n }\n function maxIndex(values, valueof) {\n var e_20, _a, e_21, _b;\n var max;\n var maxIndex = -1;\n var index = -1;\n if (valueof === undefined) {\n try {\n for (var values_18 = tslib_1.__values(values), values_18_1 = values_18.next(); !values_18_1.done; values_18_1 = values_18.next()) {\n var value = values_18_1.value;\n ++index;\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value, maxIndex = index;\n }\n }\n }\n catch (e_20_1) { e_20 = { error: e_20_1 }; }\n finally {\n try {\n if (values_18_1 && !values_18_1.done && (_a = values_18.return)) _a.call(values_18);\n }\n finally { if (e_20) throw e_20.error; }\n }\n }\n else {\n try {\n for (var values_19 = tslib_1.__values(values), values_19_1 = values_19.next(); !values_19_1.done; values_19_1 = values_19.next()) {\n var value = values_19_1.value;\n if ((value = valueof(value, ++index, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value, maxIndex = index;\n }\n }\n }\n catch (e_21_1) { e_21 = { error: e_21_1 }; }\n finally {\n try {\n if (values_19_1 && !values_19_1.done && (_b = values_19.return)) _b.call(values_19);\n }\n finally { if (e_21) throw e_21.error; }\n }\n }\n return maxIndex;\n }\n function mean(values, valueof) {\n var e_22, _a, e_23, _b;\n var count = 0;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_20 = tslib_1.__values(values), values_20_1 = values_20.next(); !values_20_1.done; values_20_1 = values_20.next()) {\n var value = values_20_1.value;\n if (value != null && (value = +value) >= value) {\n ++count, sum += value;\n }\n }\n }\n catch (e_22_1) { e_22 = { error: e_22_1 }; }\n finally {\n try {\n if (values_20_1 && !values_20_1.done && (_a = values_20.return)) _a.call(values_20);\n }\n finally { if (e_22) throw e_22.error; }\n }\n }\n else {\n var index_9 = -1;\n try {\n for (var values_21 = tslib_1.__values(values), values_21_1 = values_21.next(); !values_21_1.done; values_21_1 = values_21.next()) {\n var value = values_21_1.value;\n if ((value = valueof(value, ++index_9, values)) != null && (value = +value) >= value) {\n ++count, sum += value;\n }\n }\n }\n catch (e_23_1) { e_23 = { error: e_23_1 }; }\n finally {\n try {\n if (values_21_1 && !values_21_1.done && (_b = values_21.return)) _b.call(values_21);\n }\n finally { if (e_23) throw e_23.error; }\n }\n }\n if (count)\n return sum / count;\n }\n function median(values, valueof) {\n return quantile(values, 0.5, valueof);\n }\n function flatten(arrays) {\n var arrays_1, arrays_1_1, array_1, e_24_1;\n var e_24, _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _b.trys.push([0, 5, 6, 7]);\n arrays_1 = tslib_1.__values(arrays), arrays_1_1 = arrays_1.next();\n _b.label = 1;\n case 1:\n if (!!arrays_1_1.done) return [3 /*break*/, 4];\n array_1 = arrays_1_1.value;\n return [5 /*yield**/, tslib_1.__values(array_1)];\n case 2:\n _b.sent();\n _b.label = 3;\n case 3:\n arrays_1_1 = arrays_1.next();\n return [3 /*break*/, 1];\n case 4: return [3 /*break*/, 7];\n case 5:\n e_24_1 = _b.sent();\n e_24 = { error: e_24_1 };\n return [3 /*break*/, 7];\n case 6:\n try {\n if (arrays_1_1 && !arrays_1_1.done && (_a = arrays_1.return)) _a.call(arrays_1);\n }\n finally { if (e_24) throw e_24.error; }\n return [7 /*endfinally*/];\n case 7: return [2 /*return*/];\n }\n });\n }\n function merge(arrays) {\n return Array.from(flatten(arrays));\n }\n function minIndex(values, valueof) {\n var e_25, _a, e_26, _b;\n var min;\n var minIndex = -1;\n var index = -1;\n if (valueof === undefined) {\n try {\n for (var values_22 = tslib_1.__values(values), values_22_1 = values_22.next(); !values_22_1.done; values_22_1 = values_22.next()) {\n var value = values_22_1.value;\n ++index;\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value, minIndex = index;\n }\n }\n }\n catch (e_25_1) { e_25 = { error: e_25_1 }; }\n finally {\n try {\n if (values_22_1 && !values_22_1.done && (_a = values_22.return)) _a.call(values_22);\n }\n finally { if (e_25) throw e_25.error; }\n }\n }\n else {\n try {\n for (var values_23 = tslib_1.__values(values), values_23_1 = values_23.next(); !values_23_1.done; values_23_1 = values_23.next()) {\n var value = values_23_1.value;\n if ((value = valueof(value, ++index, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value, minIndex = index;\n }\n }\n }\n catch (e_26_1) { e_26 = { error: e_26_1 }; }\n finally {\n try {\n if (values_23_1 && !values_23_1.done && (_b = values_23.return)) _b.call(values_23);\n }\n finally { if (e_26) throw e_26.error; }\n }\n }\n return minIndex;\n }\n function pairs(values, pairof) {\n var e_27, _a;\n if (pairof === void 0) { pairof = pair; }\n var pairs = [];\n var previous;\n var first = false;\n try {\n for (var values_24 = tslib_1.__values(values), values_24_1 = values_24.next(); !values_24_1.done; values_24_1 = values_24.next()) {\n var value = values_24_1.value;\n if (first)\n pairs.push(pairof(previous, value));\n previous = value;\n first = true;\n }\n }\n catch (e_27_1) { e_27 = { error: e_27_1 }; }\n finally {\n try {\n if (values_24_1 && !values_24_1.done && (_a = values_24.return)) _a.call(values_24);\n }\n finally { if (e_27) throw e_27.error; }\n }\n return pairs;\n }\n function pair(a, b) {\n return [a, b];\n }\n function range(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n var i = -1, n = Math.max(0, Math.ceil((stop - start) / step)) | 0, range = new Array(n);\n while (++i < n) {\n range[i] = start + i * step;\n }\n return range;\n }\n function least(values, compare) {\n var e_28, _a, e_29, _b;\n if (compare === void 0) { compare = ascending; }\n var min;\n var defined = false;\n if (compare.length === 1) {\n var minValue = void 0;\n try {\n for (var values_25 = tslib_1.__values(values), values_25_1 = values_25.next(); !values_25_1.done; values_25_1 = values_25.next()) {\n var element = values_25_1.value;\n var value = compare(element);\n if (defined\n ? ascending(value, minValue) < 0\n : ascending(value, value) === 0) {\n min = element;\n minValue = value;\n defined = true;\n }\n }\n }\n catch (e_28_1) { e_28 = { error: e_28_1 }; }\n finally {\n try {\n if (values_25_1 && !values_25_1.done && (_a = values_25.return)) _a.call(values_25);\n }\n finally { if (e_28) throw e_28.error; }\n }\n }\n else {\n try {\n for (var values_26 = tslib_1.__values(values), values_26_1 = values_26.next(); !values_26_1.done; values_26_1 = values_26.next()) {\n var value = values_26_1.value;\n if (defined\n ? compare(value, min) < 0\n : compare(value, value) === 0) {\n min = value;\n defined = true;\n }\n }\n }\n catch (e_29_1) { e_29 = { error: e_29_1 }; }\n finally {\n try {\n if (values_26_1 && !values_26_1.done && (_b = values_26.return)) _b.call(values_26);\n }\n finally { if (e_29) throw e_29.error; }\n }\n }\n return min;\n }\n function leastIndex(values, compare) {\n var e_30, _a;\n if (compare === void 0) { compare = ascending; }\n if (compare.length === 1)\n return minIndex(values, compare);\n var minValue;\n var min = -1;\n var index = -1;\n try {\n for (var values_27 = tslib_1.__values(values), values_27_1 = values_27.next(); !values_27_1.done; values_27_1 = values_27.next()) {\n var value = values_27_1.value;\n ++index;\n if (min < 0\n ? compare(value, value) === 0\n : compare(value, minValue) < 0) {\n minValue = value;\n min = index;\n }\n }\n }\n catch (e_30_1) { e_30 = { error: e_30_1 }; }\n finally {\n try {\n if (values_27_1 && !values_27_1.done && (_a = values_27.return)) _a.call(values_27);\n }\n finally { if (e_30) throw e_30.error; }\n }\n return min;\n }\n function greatest(values, compare) {\n var e_31, _a, e_32, _b;\n if (compare === void 0) { compare = ascending; }\n var max;\n var defined = false;\n if (compare.length === 1) {\n var maxValue = void 0;\n try {\n for (var values_28 = tslib_1.__values(values), values_28_1 = values_28.next(); !values_28_1.done; values_28_1 = values_28.next()) {\n var element = values_28_1.value;\n var value = compare(element);\n if (defined\n ? ascending(value, maxValue) > 0\n : ascending(value, value) === 0) {\n max = element;\n maxValue = value;\n defined = true;\n }\n }\n }\n catch (e_31_1) { e_31 = { error: e_31_1 }; }\n finally {\n try {\n if (values_28_1 && !values_28_1.done && (_a = values_28.return)) _a.call(values_28);\n }\n finally { if (e_31) throw e_31.error; }\n }\n }\n else {\n try {\n for (var values_29 = tslib_1.__values(values), values_29_1 = values_29.next(); !values_29_1.done; values_29_1 = values_29.next()) {\n var value = values_29_1.value;\n if (defined\n ? compare(value, max) > 0\n : compare(value, value) === 0) {\n max = value;\n defined = true;\n }\n }\n }\n catch (e_32_1) { e_32 = { error: e_32_1 }; }\n finally {\n try {\n if (values_29_1 && !values_29_1.done && (_b = values_29.return)) _b.call(values_29);\n }\n finally { if (e_32) throw e_32.error; }\n }\n }\n return max;\n }\n function greatestIndex(values, compare) {\n var e_33, _a;\n if (compare === void 0) { compare = ascending; }\n if (compare.length === 1)\n return maxIndex(values, compare);\n var maxValue;\n var max = -1;\n var index = -1;\n try {\n for (var values_30 = tslib_1.__values(values), values_30_1 = values_30.next(); !values_30_1.done; values_30_1 = values_30.next()) {\n var value = values_30_1.value;\n ++index;\n if (max < 0\n ? compare(value, value) === 0\n : compare(value, maxValue) > 0) {\n maxValue = value;\n max = index;\n }\n }\n }\n catch (e_33_1) { e_33 = { error: e_33_1 }; }\n finally {\n try {\n if (values_30_1 && !values_30_1.done && (_a = values_30.return)) _a.call(values_30);\n }\n finally { if (e_33) throw e_33.error; }\n }\n return max;\n }\n function scan(values, compare) {\n var index = leastIndex(values, compare);\n return index < 0 ? undefined : index;\n }\n var shuffle = shuffler(Math.random);\n function shuffler(random) {\n return function shuffle(array, i0, i1) {\n if (i0 === void 0) { i0 = 0; }\n if (i1 === void 0) { i1 = array.length; }\n var m = i1 - (i0 = +i0);\n while (m) {\n var i = random() * m-- | 0, t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n return array;\n };\n }\n function sum(values, valueof) {\n var e_34, _a, e_35, _b;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_31 = tslib_1.__values(values), values_31_1 = values_31.next(); !values_31_1.done; values_31_1 = values_31.next()) {\n var value = values_31_1.value;\n if (value = +value) {\n sum += value;\n }\n }\n }\n catch (e_34_1) { e_34 = { error: e_34_1 }; }\n finally {\n try {\n if (values_31_1 && !values_31_1.done && (_a = values_31.return)) _a.call(values_31);\n }\n finally { if (e_34) throw e_34.error; }\n }\n }\n else {\n var index_10 = -1;\n try {\n for (var values_32 = tslib_1.__values(values), values_32_1 = values_32.next(); !values_32_1.done; values_32_1 = values_32.next()) {\n var value = values_32_1.value;\n if (value = +valueof(value, ++index_10, values)) {\n sum += value;\n }\n }\n }\n catch (e_35_1) { e_35 = { error: e_35_1 }; }\n finally {\n try {\n if (values_32_1 && !values_32_1.done && (_b = values_32.return)) _b.call(values_32);\n }\n finally { if (e_35) throw e_35.error; }\n }\n }\n return sum;\n }\n function transpose(matrix) {\n if (!(n = matrix.length))\n return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n }\n function length(d) {\n return d.length;\n }\n function zip() {\n return transpose(arguments);\n }\n function every(values, test) {\n var e_36, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var index = -1;\n try {\n for (var values_33 = tslib_1.__values(values), values_33_1 = values_33.next(); !values_33_1.done; values_33_1 = values_33.next()) {\n var value = values_33_1.value;\n if (!test(value, ++index, values)) {\n return false;\n }\n }\n }\n catch (e_36_1) { e_36 = { error: e_36_1 }; }\n finally {\n try {\n if (values_33_1 && !values_33_1.done && (_a = values_33.return)) _a.call(values_33);\n }\n finally { if (e_36) throw e_36.error; }\n }\n return true;\n }\n function some(values, test) {\n var e_37, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var index = -1;\n try {\n for (var values_34 = tslib_1.__values(values), values_34_1 = values_34.next(); !values_34_1.done; values_34_1 = values_34.next()) {\n var value = values_34_1.value;\n if (test(value, ++index, values)) {\n return true;\n }\n }\n }\n catch (e_37_1) { e_37 = { error: e_37_1 }; }\n finally {\n try {\n if (values_34_1 && !values_34_1.done && (_a = values_34.return)) _a.call(values_34);\n }\n finally { if (e_37) throw e_37.error; }\n }\n return false;\n }\n function filter(values, test) {\n var e_38, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var array = [];\n var index = -1;\n try {\n for (var values_35 = tslib_1.__values(values), values_35_1 = values_35.next(); !values_35_1.done; values_35_1 = values_35.next()) {\n var value = values_35_1.value;\n if (test(value, ++index, values)) {\n array.push(value);\n }\n }\n }\n catch (e_38_1) { e_38 = { error: e_38_1 }; }\n finally {\n try {\n if (values_35_1 && !values_35_1.done && (_a = values_35.return)) _a.call(values_35);\n }\n finally { if (e_38) throw e_38.error; }\n }\n return array;\n }\n function map(values, mapper) {\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n if (typeof mapper !== \"function\")\n throw new TypeError(\"mapper is not a function\");\n return Array.from(values, function (value, index) { return mapper(value, index, values); });\n }\n function reduce(values, reducer, value) {\n var _a, _b;\n if (typeof reducer !== \"function\")\n throw new TypeError(\"reducer is not a function\");\n var iterator = values[Symbol.iterator]();\n var done, next, index = -1;\n if (arguments.length < 3) {\n (_a = iterator.next(), done = _a.done, value = _a.value);\n if (done)\n return;\n ++index;\n }\n while ((_b = iterator.next(), done = _b.done, next = _b.value), !done) {\n value = reducer(value, next, ++index, values);\n }\n return value;\n }\n function reverse(values) {\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n return Array.from(values).reverse();\n }\n function difference(values) {\n var e_39, _a, e_40, _b;\n var others = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n others[_i - 1] = arguments[_i];\n }\n values = new Set(values);\n try {\n for (var others_1 = tslib_1.__values(others), others_1_1 = others_1.next(); !others_1_1.done; others_1_1 = others_1.next()) {\n var other = others_1_1.value;\n try {\n for (var other_1 = (e_40 = void 0, tslib_1.__values(other)), other_1_1 = other_1.next(); !other_1_1.done; other_1_1 = other_1.next()) {\n var value = other_1_1.value;\n values.delete(value);\n }\n }\n catch (e_40_1) { e_40 = { error: e_40_1 }; }\n finally {\n try {\n if (other_1_1 && !other_1_1.done && (_b = other_1.return)) _b.call(other_1);\n }\n finally { if (e_40) throw e_40.error; }\n }\n }\n }\n catch (e_39_1) { e_39 = { error: e_39_1 }; }\n finally {\n try {\n if (others_1_1 && !others_1_1.done && (_a = others_1.return)) _a.call(others_1);\n }\n finally { if (e_39) throw e_39.error; }\n }\n return values;\n }\n function disjoint(values, other) {\n var e_41, _a, _b;\n var iterator = other[Symbol.iterator](), set = new Set();\n try {\n for (var values_36 = tslib_1.__values(values), values_36_1 = values_36.next(); !values_36_1.done; values_36_1 = values_36.next()) {\n var v = values_36_1.value;\n if (set.has(v))\n return false;\n var value = void 0, done = void 0;\n while ((_b = iterator.next(), value = _b.value, done = _b.done, _b)) {\n if (done)\n break;\n if (Object.is(v, value))\n return false;\n set.add(value);\n }\n }\n }\n catch (e_41_1) { e_41 = { error: e_41_1 }; }\n finally {\n try {\n if (values_36_1 && !values_36_1.done && (_a = values_36.return)) _a.call(values_36);\n }\n finally { if (e_41) throw e_41.error; }\n }\n return true;\n }\n function set(values) {\n return values instanceof Set ? values : new Set(values);\n }\n function intersection(values) {\n var e_42, _a, e_43, _b;\n var others = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n others[_i - 1] = arguments[_i];\n }\n values = new Set(values);\n others = others.map(set);\n try {\n out: for (var values_37 = tslib_1.__values(values), values_37_1 = values_37.next(); !values_37_1.done; values_37_1 = values_37.next()) {\n var value = values_37_1.value;\n try {\n for (var others_2 = (e_43 = void 0, tslib_1.__values(others)), others_2_1 = others_2.next(); !others_2_1.done; others_2_1 = others_2.next()) {\n var other = others_2_1.value;\n if (!other.has(value)) {\n values.delete(value);\n continue out;\n }\n }\n }\n catch (e_43_1) { e_43 = { error: e_43_1 }; }\n finally {\n try {\n if (others_2_1 && !others_2_1.done && (_b = others_2.return)) _b.call(others_2);\n }\n finally { if (e_43) throw e_43.error; }\n }\n }\n }\n catch (e_42_1) { e_42 = { error: e_42_1 }; }\n finally {\n try {\n if (values_37_1 && !values_37_1.done && (_a = values_37.return)) _a.call(values_37);\n }\n finally { if (e_42) throw e_42.error; }\n }\n return values;\n }\n function superset(values, other) {\n var e_44, _a, _b;\n var iterator = values[Symbol.iterator](), set = new Set();\n try {\n for (var other_2 = tslib_1.__values(other), other_2_1 = other_2.next(); !other_2_1.done; other_2_1 = other_2.next()) {\n var o = other_2_1.value;\n if (set.has(o))\n continue;\n var value = void 0, done = void 0;\n while ((_b = iterator.next(), value = _b.value, done = _b.done, _b)) {\n if (done)\n return false;\n set.add(value);\n if (Object.is(o, value))\n break;\n }\n }\n }\n catch (e_44_1) { e_44 = { error: e_44_1 }; }\n finally {\n try {\n if (other_2_1 && !other_2_1.done && (_a = other_2.return)) _a.call(other_2);\n }\n finally { if (e_44) throw e_44.error; }\n }\n return true;\n }\n function subset(values, other) {\n return superset(other, values);\n }\n function union() {\n var e_45, _a, e_46, _b;\n var others = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n others[_i] = arguments[_i];\n }\n var set = new Set();\n try {\n for (var others_3 = tslib_1.__values(others), others_3_1 = others_3.next(); !others_3_1.done; others_3_1 = others_3.next()) {\n var other = others_3_1.value;\n try {\n for (var other_3 = (e_46 = void 0, tslib_1.__values(other)), other_3_1 = other_3.next(); !other_3_1.done; other_3_1 = other_3.next()) {\n var o = other_3_1.value;\n set.add(o);\n }\n }\n catch (e_46_1) { e_46 = { error: e_46_1 }; }\n finally {\n try {\n if (other_3_1 && !other_3_1.done && (_b = other_3.return)) _b.call(other_3);\n }\n finally { if (e_46) throw e_46.error; }\n }\n }\n }\n catch (e_45_1) { e_45 = { error: e_45_1 }; }\n finally {\n try {\n if (others_3_1 && !others_3_1.done && (_a = others_3.return)) _a.call(others_3);\n }\n finally { if (e_45) throw e_45.error; }\n }\n return set;\n }\n exports.Adder = Adder;\n exports.InternMap = InternMap;\n exports.InternSet = InternSet;\n exports.ascending = ascending;\n exports.bin = bin;\n exports.bisect = bisectRight;\n exports.bisectCenter = bisectCenter;\n exports.bisectLeft = bisectLeft;\n exports.bisectRight = bisectRight;\n exports.bisector = bisector;\n exports.count = count;\n exports.cross = cross;\n exports.cumsum = cumsum;\n exports.descending = descending;\n exports.deviation = deviation;\n exports.difference = difference;\n exports.disjoint = disjoint;\n exports.every = every;\n exports.extent = extent;\n exports.fcumsum = fcumsum;\n exports.filter = filter;\n exports.fsum = fsum;\n exports.greatest = greatest;\n exports.greatestIndex = greatestIndex;\n exports.group = group;\n exports.groupSort = groupSort;\n exports.groups = groups;\n exports.histogram = bin;\n exports.index = index;\n exports.indexes = indexes;\n exports.intersection = intersection;\n exports.least = least;\n exports.leastIndex = leastIndex;\n exports.map = map;\n exports.max = max;\n exports.maxIndex = maxIndex;\n exports.mean = mean;\n exports.median = median;\n exports.merge = merge;\n exports.min = min;\n exports.minIndex = minIndex;\n exports.nice = nice;\n exports.pairs = pairs;\n exports.permute = permute;\n exports.quantile = quantile;\n exports.quantileSorted = quantileSorted;\n exports.quickselect = quickselect;\n exports.range = range;\n exports.reduce = reduce;\n exports.reverse = reverse;\n exports.rollup = rollup;\n exports.rollups = rollups;\n exports.scan = scan;\n exports.shuffle = shuffle;\n exports.shuffler = shuffler;\n exports.some = some;\n exports.sort = sort;\n exports.subset = subset;\n exports.sum = sum;\n exports.superset = superset;\n exports.thresholdFreedmanDiaconis = freedmanDiaconis;\n exports.thresholdScott = scott;\n exports.thresholdSturges = sturges;\n exports.tickIncrement = tickIncrement;\n exports.tickStep = tickStep;\n exports.ticks = ticks;\n exports.transpose = transpose;\n exports.union = union;\n exports.variance = variance;\n exports.zip = zip;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "index": 122, + "index2": 119, + "size": 106669, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + } + ], + "profile": { + "factory": 751, + "building": 448 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "4:84-101" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-geo/ v2.0.2 Copyright 2021 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3));\n}(this, function (exports, d3Array) {\n 'use strict';\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var ceil = Math.ceil;\n var exp = Math.exp;\n var hypot = Math.hypot;\n var log = Math.log;\n var pow = Math.pow;\n var sin = Math.sin;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sqrt = Math.sqrt;\n var tan = Math.tan;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function haversin(x) {\n return (x = sin(x / 2)) * x;\n }\n function noop() { }\n function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n }\n var streamObjectType = {\n Feature: function (object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function (object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n streamGeometry(features[i].geometry, stream);\n }\n };\n var streamGeometryType = {\n Sphere: function (object, stream) {\n stream.sphere();\n },\n Point: function (object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function (object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamLine(coordinates[i], stream, 0);\n },\n Polygon: function (object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function (object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n streamGeometry(geometries[i], stream);\n }\n };\n function streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n)\n coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n }\n function streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n)\n streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n }\n function geoStream(object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n }\n else {\n streamGeometry(object, stream);\n }\n }\n var areaRingSum = new d3Array.Adder();\n // hello?\n var areaSum = new d3Array.Adder(), lambda00, phi00, lambda0, cosPhi0, sinPhi0;\n var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaRingSum = new d3Array.Adder();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function () {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function () {\n areaSum.add(tau);\n }\n };\n function areaRingStart() {\n areaStream.point = areaPointFirst;\n }\n function areaRingEnd() {\n areaPoint(lambda00, phi00);\n }\n function areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n }\n function areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0, sdLambda = dLambda >= 0 ? 1 : -1, adLambda = sdLambda * dLambda, cosPhi = cos(phi), sinPhi = sin(phi), k = sinPhi0 * sinPhi, u = cosPhi0 * cosPhi + k * cos(adLambda), v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n }\n function area(object) {\n areaSum = new d3Array.Adder();\n geoStream(object, areaStream);\n return areaSum * 2;\n }\n function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n }\n function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n }\n function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n }\n function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n }\n // TODO return a\n function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n }\n function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n }\n // TODO return d\n function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n }\n var lambda0$1, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00$1, phi00$1, // first point\n p0, // previous 3D point\n deltaSum, ranges, range;\n var boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function () {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum = new d3Array.Adder();\n areaStream.polygonStart();\n },\n polygonEnd: function () {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0)\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon)\n phi1 = 90;\n else if (deltaSum < -epsilon)\n phi0 = -90;\n range[0] = lambda0$1, range[1] = lambda1;\n },\n sphere: function () {\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n }\n };\n function boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n function linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p), equatorial = [normal[1], -normal[0], 0], inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2, sign = delta > 0 ? 1 : -1, lambdai = inflection[0] * degrees * sign, phii, antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1)\n phi1 = phii;\n }\n else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0)\n phi0 = phii;\n }\n else {\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n else {\n if (lambda1 >= lambda0$1) {\n if (lambda < lambda0$1)\n lambda0$1 = lambda;\n if (lambda > lambda1)\n lambda1 = lambda;\n }\n else {\n if (lambda > lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n }\n }\n else {\n ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n p0 = p, lambda2 = lambda;\n }\n function boundsLineStart() {\n boundsStream.point = linePoint;\n }\n function boundsLineEnd() {\n range[0] = lambda0$1, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n }\n function boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n }\n else {\n lambda00$1 = lambda, phi00$1 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n }\n function boundsRingStart() {\n areaStream.lineStart();\n }\n function boundsRingEnd() {\n boundsRingPoint(lambda00$1, phi00$1);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon)\n lambda0$1 = -(lambda1 = 180);\n range[0] = lambda0$1, range[1] = lambda1;\n p0 = null;\n }\n // Finds the left-right distance between two longitudes.\n // This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n // the distance between ±180° to be 360°.\n function angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n }\n function rangeCompare(a, b) {\n return a[0] - b[0];\n }\n function rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n }\n function bounds(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);\n ranges = [];\n geoStream(feature, boundsStream);\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1]))\n a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1]))\n a[0] = b[0];\n }\n else {\n merged.push(a = b);\n }\n }\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax)\n deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];\n }\n }\n ranges = range = null;\n return lambda0$1 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0$1, phi0], [lambda1, phi1]];\n }\n var W0, W1, X0, Y0, Z0, X1, Y1, Z1, X2, Y2, Z2, lambda00$2, phi00$2, // first point\n x0, y0, z0; // previous point\n var centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function () {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function () {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n };\n // Arithmetic mean of Cartesian vectors.\n function centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n }\n function centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n }\n function centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n }\n function centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLineEnd() {\n centroidStream.point = centroidPoint;\n }\n // See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n // J. Applied Mechanics 42, 239 (1975).\n function centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n }\n function centroidRingEnd() {\n centroidRingPoint(lambda00$2, phi00$2);\n centroidStream.point = centroidPoint;\n }\n function centroidRingPointFirst(lambda, phi) {\n lambda00$2 = lambda, phi00$2 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = hypot(cx, cy, cz), w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2.add(v * cx);\n Y2.add(v * cy);\n Z2.add(v * cz);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroid(object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 = 0;\n X2 = new d3Array.Adder();\n Y2 = new d3Array.Adder();\n Z2 = new d3Array.Adder();\n geoStream(object, centroidStream);\n var x = +X2, y = +Y2, z = +Z2, m = hypot(x, y, z);\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon)\n x = X0, y = Y0, z = Z0;\n m = hypot(x, y, z);\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2)\n return [NaN, NaN];\n }\n return [atan2(y, x) * degrees, asin(z / m) * degrees];\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function compose(a, b) {\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n if (a.invert && b.invert)\n compose.invert = function (x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n return compose;\n }\n function rotationIdentity(lambda, phi) {\n return [abs(lambda) > pi ? lambda + Math.round(-lambda / tau) * tau : lambda, phi];\n }\n rotationIdentity.invert = rotationIdentity;\n function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n }\n function forwardRotationLambda(deltaLambda) {\n return function (lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n }\n function rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n }\n function rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi), sinDeltaPhi = sin(deltaPhi), cosDeltaGamma = cos(deltaGamma), sinDeltaGamma = sin(deltaGamma);\n function rotation(lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n rotation.invert = function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n return rotation;\n }\n function rotation(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n forward.invert = function (coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n return forward;\n }\n // Generates a circle centered at [0°, 0°], with a given radius and precision.\n function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta)\n return;\n var cosRadius = cos(radius), sinRadius = sin(radius), step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n }\n else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1)\n t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n }\n // Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\n function circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n }\n function circle() {\n var center = constant([0, 0]), radius = constant(90), precision = constant(6), ring, rotate, stream = { point: point };\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n function circle() {\n var c = center.apply(this, arguments), r = radius.apply(this, arguments) * radians, p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = { type: \"Polygon\", coordinates: [ring] };\n ring = rotate = null;\n return c;\n }\n circle.center = function (_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n circle.radius = function (_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n circle.precision = function (_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n return circle;\n }\n function clipBuffer() {\n var lines = [], line;\n return {\n point: function (x, y, m) {\n line.push([x, y, m]);\n },\n lineStart: function () {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function () {\n if (lines.length > 1)\n lines.push(lines.pop().concat(lines.shift()));\n },\n result: function () {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n }\n function pointEqual(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n }\n function Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n }\n // A generalized polygon clipping algorithm: given a polygon that has been cut\n // into its visible line segments, and rejoins the segments by interpolating\n // along the clip edge.\n function clipRejoin(segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [], clip = [], i, n;\n segments.forEach(function (segment) {\n if ((n = segment.length - 1) <= 0)\n return;\n var n, p0 = segment[0], p1 = segment[n], x;\n if (pointEqual(p0, p1)) {\n if (!p0[2] && !p1[2]) {\n stream.lineStart();\n for (i = 0; i < n; ++i)\n stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n // handle degenerate cases by moving the point\n p1[0] += 2 * epsilon;\n }\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n if (!subject.length)\n return;\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n var start = subject[0], points, point;\n while (1) {\n // Find first unvisited intersection.\n var current = start, isSubject = true;\n while (current.v)\n if ((current = current.n) === start)\n return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n }\n else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n }\n function link(array) {\n if (!(n = array.length))\n return;\n var n, i = 0, a = array[0], b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n }\n function longitude(point) {\n if (abs(point[0]) <= pi)\n return point[0];\n else\n return sign(point[0]) * ((abs(point[0]) + pi) % tau - pi);\n }\n function polygonContains(polygon, point) {\n var lambda = longitude(point), phi = point[1], sinPhi = sin(phi), normal = [sin(lambda), -cos(lambda), 0], angle = 0, winding = 0;\n var sum = new d3Array.Adder();\n if (sinPhi === 1)\n phi = halfPi + epsilon;\n else if (sinPhi === -1)\n phi = -halfPi - epsilon;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length))\n continue;\n var ring, m, point0 = ring[m - 1], lambda0 = longitude(point0), phi0 = point0[1] / 2 + quarterPi, sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j], lambda1 = longitude(point1), phi1 = point1[1] / 2 + quarterPi, sinPhi1 = sin(phi1), cosPhi1 = cos(phi1), delta = lambda1 - lambda0, sign = delta >= 0 ? 1 : -1, absDelta = sign * delta, antimeridian = absDelta > pi, k = sinPhi0 * sinPhi1;\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n return (angle < -epsilon || angle < epsilon && sum < -epsilon2) ^ (winding & 1);\n }\n function clip(pointVisible, clipLine, interpolate, start) {\n return function (sink) {\n var line = clipLine(sink), ringBuffer = clipBuffer(), ringSink = clipLine(ringBuffer), polygonStarted = false, polygon, segments, ring;\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function () {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = d3Array.merge(segments);\n var startInside = polygonContains(polygon, start);\n if (segments.length) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n clipRejoin(segments, compareIntersection, startInside, interpolate, sink);\n }\n else if (startInside) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted)\n sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function () {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n function point(lambda, phi) {\n if (pointVisible(lambda, phi))\n sink.point(lambda, phi);\n }\n function pointLine(lambda, phi) {\n line.point(lambda, phi);\n }\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n ringSink.point(lambda, phi);\n }\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n var clean = ringSink.clean(), ringSegments = ringBuffer.result(), i, n = ringSegments.length, m, segment, point;\n ring.pop();\n polygon.push(ring);\n ring = null;\n if (!n)\n return;\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i)\n sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2)\n ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n segments.push(ringSegments.filter(validSegment));\n }\n return clip;\n };\n }\n function validSegment(segment) {\n return segment.length > 1;\n }\n // Intersections are sorted along the clip edge. For both antimeridian cutting\n // and circle clipping, the same comparison is used.\n function compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n }\n var clipAntimeridian = clip(function () { return true; }, clipAntimeridianLine, clipAntimeridianInterpolate, [-pi, -halfPi]);\n // Takes a line and cuts into visible segments. Return values: 0 - there were\n // intersections or the line was empty; 1 - no intersections; 2 - there were\n // intersections, and the first and last segments should be rejoined.\n function clipAntimeridianLine(stream) {\n var lambda0 = NaN, phi0 = NaN, sign0 = NaN, clean; // no intersections\n return {\n lineStart: function () {\n stream.lineStart();\n clean = 1;\n },\n point: function (lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi, delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n }\n else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon)\n lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon)\n lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function () {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function () {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n }\n function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0, cosPhi1, sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n }\n function clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n }\n else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function clipCircle(radius) {\n var cr = cos(radius), delta = 6 * radians, smallRadius = cr > 0, notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function () {\n v00 = v0 = false;\n clean = 1;\n },\n point: function (lambda, phi) {\n var point1 = [lambda, phi], point2, v = visible(lambda, phi), c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v))\n stream.lineStart();\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2))\n point1[2] = 1;\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n }\n else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1], 2);\n stream.lineEnd();\n }\n point0 = point2;\n }\n else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n }\n else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1], 3);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function () {\n if (v0)\n stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function () {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a), pb = cartesian(b);\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb), n2n2 = cartesianDot(n2, n2), n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n // Two polar points.\n if (!determinant)\n return !two && a;\n var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = cartesianCross(n1, n2), A = cartesianScale(n1, c1), B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n // Solve |p(t)|^2 = 1.\n var u = n1xn2, w = cartesianDot(A, u), uu = cartesianDot(u, u), t2 = w * w - uu * (cartesianDot(A, A) - 1);\n if (t2 < 0)\n return;\n var t = sqrt(t2), q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n if (!two)\n return q;\n // Two intersection points.\n var lambda0 = a[0], lambda1 = b[0], phi0 = a[1], phi1 = b[1], z;\n if (lambda1 < lambda0)\n z = lambda0, lambda0 = lambda1, lambda1 = z;\n var delta = lambda1 - lambda0, polar = abs(delta - pi) < epsilon, meridian = polar || delta < epsilon;\n if (!polar && phi1 < phi0)\n z = phi0, phi0 = phi1, phi1 = z;\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius, code = 0;\n if (lambda < -r)\n code |= 1; // left\n else if (lambda > r)\n code |= 2; // right\n if (phi < -r)\n code |= 4; // below\n else if (phi > r)\n code |= 8; // above\n return code;\n }\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n }\n function clipLine(a, b, x0, y0, x1, y1) {\n var ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (t0 > 0)\n a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1)\n b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n }\n var clipMax = 1e9, clipMin = -clipMax;\n // TODO Use d3-polygon’s polygonContains here for the ring check?\n // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n function clipRectangle(x0, y0, x1, y1) {\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do\n stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n function comparePoint(a, b) {\n var ca = corner(a, 1), cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n return function (stream) {\n var activeStream = stream, bufferStream = clipBuffer(), segments, polygon, ring, x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first, clean;\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n function point(x, y) {\n if (visible(x, y))\n activeStream.point(x, y);\n }\n function polygonInside() {\n var winding = 0;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) {\n if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0))\n ++winding;\n }\n else {\n if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0))\n --winding;\n }\n }\n }\n return winding;\n }\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n function polygonEnd() {\n var startInside = polygonInside(), cleanInside = clean && startInside, visible = (segments = d3Array.merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipRejoin(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon)\n polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_)\n bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_)\n activeStream.lineEnd();\n }\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon)\n ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n }\n else {\n if (v && v_)\n activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v)\n activeStream.lineEnd();\n clean = false;\n }\n else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n return clipStream;\n };\n }\n function extent() {\n var x0 = 0, y0 = 0, x1 = 960, y1 = 500, cache, cacheStream, clip;\n return clip = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = clipRectangle(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function (_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n }\n var lengthSum, lambda0$2, sinPhi0$1, cosPhi0$1;\n var lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n };\n function lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n }\n function lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n }\n function lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0$2 = lambda, sinPhi0$1 = sin(phi), cosPhi0$1 = cos(phi);\n lengthStream.point = lengthPoint;\n }\n function lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi), cosPhi = cos(phi), delta = abs(lambda - lambda0$2), cosDelta = cos(delta), sinDelta = sin(delta), x = cosPhi * sinDelta, y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta, z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;\n }\n function length(object) {\n lengthSum = new d3Array.Adder();\n geoStream(object, lengthStream);\n return +lengthSum;\n }\n var coordinates = [null, null], object = { type: \"LineString\", coordinates: coordinates };\n function distance(a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n }\n var containsObjectType = {\n Feature: function (object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function (object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n if (containsGeometry(features[i].geometry, point))\n return true;\n return false;\n }\n };\n var containsGeometryType = {\n Sphere: function () {\n return true;\n },\n Point: function (object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPoint(coordinates[i], point))\n return true;\n return false;\n },\n LineString: function (object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsLine(coordinates[i], point))\n return true;\n return false;\n },\n Polygon: function (object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPolygon(coordinates[i], point))\n return true;\n return false;\n },\n GeometryCollection: function (object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n if (containsGeometry(geometries[i], point))\n return true;\n return false;\n }\n };\n function containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n }\n function containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n }\n function containsLine(coordinates, point) {\n var ao, bo, ab;\n for (var i = 0, n = coordinates.length; i < n; i++) {\n bo = distance(coordinates[i], point);\n if (bo === 0)\n return true;\n if (i > 0) {\n ab = distance(coordinates[i], coordinates[i - 1]);\n if (ab > 0 &&\n ao <= ab &&\n bo <= ab &&\n (ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < epsilon2 * ab)\n return true;\n }\n ao = bo;\n }\n return false;\n }\n function containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n }\n function ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n }\n function pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n }\n function contains(object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n }\n function graticuleX(y0, y1, dy) {\n var y = d3Array.range(y0, y1 - epsilon, dy).concat(y1);\n return function (x) { return y.map(function (y) { return [x, y]; }); };\n }\n function graticuleY(x0, x1, dx) {\n var x = d3Array.range(x0, x1 - epsilon, dx).concat(x1);\n return function (y) { return x.map(function (x) { return [x, y]; }); };\n }\n function graticule() {\n var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;\n function graticule() {\n return { type: \"MultiLineString\", coordinates: lines() };\n }\n function lines() {\n return d3Array.range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(d3Array.range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(d3Array.range(ceil(x0 / dx) * dx, x1, dx).filter(function (x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(d3Array.range(ceil(y0 / dy) * dy, y1, dy).filter(function (y) { return abs(y % DY) > epsilon; }).map(y));\n }\n graticule.lines = function () {\n return lines().map(function (coordinates) { return { type: \"LineString\", coordinates: coordinates }; });\n };\n graticule.outline = function () {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1))\n ]\n };\n };\n graticule.extent = function (_) {\n if (!arguments.length)\n return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n graticule.extentMajor = function (_) {\n if (!arguments.length)\n return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1)\n _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1)\n _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n graticule.extentMinor = function (_) {\n if (!arguments.length)\n return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1)\n _ = x0, x0 = x1, x1 = _;\n if (y0 > y1)\n _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n graticule.step = function (_) {\n if (!arguments.length)\n return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n graticule.stepMajor = function (_) {\n if (!arguments.length)\n return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n graticule.stepMinor = function (_) {\n if (!arguments.length)\n return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n graticule.precision = function (_) {\n if (!arguments.length)\n return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n }\n function graticule10() {\n return graticule()();\n }\n function interpolate(a, b) {\n var x0 = a[0] * radians, y0 = a[1] * radians, x1 = b[0] * radians, y1 = b[1] * radians, cy0 = cos(y0), sy0 = sin(y0), cy1 = cos(y1), sy1 = sin(y1), kx0 = cy0 * cos(x0), ky0 = cy0 * sin(x0), kx1 = cy1 * cos(x1), ky1 = cy1 * sin(x1), d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))), k = sin(d);\n var interpolate = d ? function (t) {\n var B = sin(t *= d) / k, A = sin(d - t) / k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function () {\n return [x0 * degrees, y0 * degrees];\n };\n interpolate.distance = d;\n return interpolate;\n }\n var identity = function (x) { return x; };\n var areaSum$1 = new d3Array.Adder(), areaRingSum$1 = new d3Array.Adder(), x00, y00, x0$1, y0$1;\n var areaStream$1 = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaStream$1.lineStart = areaRingStart$1;\n areaStream$1.lineEnd = areaRingEnd$1;\n },\n polygonEnd: function () {\n areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop;\n areaSum$1.add(abs(areaRingSum$1));\n areaRingSum$1 = new d3Array.Adder();\n },\n result: function () {\n var area = areaSum$1 / 2;\n areaSum$1 = new d3Array.Adder();\n return area;\n }\n };\n function areaRingStart$1() {\n areaStream$1.point = areaPointFirst$1;\n }\n function areaPointFirst$1(x, y) {\n areaStream$1.point = areaPoint$1;\n x00 = x0$1 = x, y00 = y0$1 = y;\n }\n function areaPoint$1(x, y) {\n areaRingSum$1.add(y0$1 * x - x0$1 * y);\n x0$1 = x, y0$1 = y;\n }\n function areaRingEnd$1() {\n areaPoint$1(x00, y00);\n }\n var x0$2 = Infinity, y0$2 = x0$2, x1 = -x0$2, y1 = x1;\n var boundsStream$1 = {\n point: boundsPoint$1,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0$2, y0$2], [x1, y1]];\n x1 = y1 = -(y0$2 = x0$2 = Infinity);\n return bounds;\n }\n };\n function boundsPoint$1(x, y) {\n if (x < x0$2)\n x0$2 = x;\n if (x > x1)\n x1 = x;\n if (y < y0$2)\n y0$2 = y;\n if (y > y1)\n y1 = y;\n }\n // TODO Enforce positive area for exterior, negative area for interior?\n var X0$1 = 0, Y0$1 = 0, Z0$1 = 0, X1$1 = 0, Y1$1 = 0, Z1$1 = 0, X2$1 = 0, Y2$1 = 0, Z2$1 = 0, x00$1, y00$1, x0$3, y0$3;\n var centroidStream$1 = {\n point: centroidPoint$1,\n lineStart: centroidLineStart$1,\n lineEnd: centroidLineEnd$1,\n polygonStart: function () {\n centroidStream$1.lineStart = centroidRingStart$1;\n centroidStream$1.lineEnd = centroidRingEnd$1;\n },\n polygonEnd: function () {\n centroidStream$1.point = centroidPoint$1;\n centroidStream$1.lineStart = centroidLineStart$1;\n centroidStream$1.lineEnd = centroidLineEnd$1;\n },\n result: function () {\n var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]\n : Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]\n : Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]\n : [NaN, NaN];\n X0$1 = Y0$1 = Z0$1 =\n X1$1 = Y1$1 = Z1$1 =\n X2$1 = Y2$1 = Z2$1 = 0;\n return centroid;\n }\n };\n function centroidPoint$1(x, y) {\n X0$1 += x;\n Y0$1 += y;\n ++Z0$1;\n }\n function centroidLineStart$1() {\n centroidStream$1.point = centroidPointFirstLine;\n }\n function centroidPointFirstLine(x, y) {\n centroidStream$1.point = centroidPointLine;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidPointLine(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidLineEnd$1() {\n centroidStream$1.point = centroidPoint$1;\n }\n function centroidRingStart$1() {\n centroidStream$1.point = centroidPointFirstRing;\n }\n function centroidRingEnd$1() {\n centroidPointRing(x00$1, y00$1);\n }\n function centroidPointFirstRing(x, y) {\n centroidStream$1.point = centroidPointRing;\n centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);\n }\n function centroidPointRing(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n z = y0$3 * x - x0$3 * y;\n X2$1 += z * (x0$3 + x);\n Y2$1 += z * (y0$3 + y);\n Z2$1 += z * 3;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function PathContext(context) {\n this._context = context;\n }\n PathContext.prototype = {\n _radius: 4.5,\n pointRadius: function (_) {\n return this._radius = _, this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._context.closePath();\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n };\n var lengthSum$1 = new d3Array.Adder(), lengthRing, x00$2, y00$2, x0$4, y0$4;\n var lengthStream$1 = {\n point: noop,\n lineStart: function () {\n lengthStream$1.point = lengthPointFirst$1;\n },\n lineEnd: function () {\n if (lengthRing)\n lengthPoint$1(x00$2, y00$2);\n lengthStream$1.point = noop;\n },\n polygonStart: function () {\n lengthRing = true;\n },\n polygonEnd: function () {\n lengthRing = null;\n },\n result: function () {\n var length = +lengthSum$1;\n lengthSum$1 = new d3Array.Adder();\n return length;\n }\n };\n function lengthPointFirst$1(x, y) {\n lengthStream$1.point = lengthPoint$1;\n x00$2 = x0$4 = x, y00$2 = y0$4 = y;\n }\n function lengthPoint$1(x, y) {\n x0$4 -= x, y0$4 -= y;\n lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));\n x0$4 = x, y0$4 = y;\n }\n function PathString() {\n this._string = [];\n }\n PathString.prototype = {\n _radius: 4.5,\n _circle: circle$1(4.5),\n pointRadius: function (_) {\n if ((_ = +_) !== this._radius)\n this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null)\n this._circle = circle$1(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function () {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n }\n else {\n return null;\n }\n }\n };\n function circle$1(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n }\n function index(projection, context) {\n var pointRadius = 4.5, projectionStream, contextStream;\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\")\n contextStream.pointRadius(+pointRadius.apply(this, arguments));\n geoStream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n path.area = function (object) {\n geoStream(object, projectionStream(areaStream$1));\n return areaStream$1.result();\n };\n path.measure = function (object) {\n geoStream(object, projectionStream(lengthStream$1));\n return lengthStream$1.result();\n };\n path.bounds = function (object) {\n geoStream(object, projectionStream(boundsStream$1));\n return boundsStream$1.result();\n };\n path.centroid = function (object) {\n geoStream(object, projectionStream(centroidStream$1));\n return centroidStream$1.result();\n };\n path.projection = function (_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n path.context = function (_) {\n if (!arguments.length)\n return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\")\n contextStream.pointRadius(pointRadius);\n return path;\n };\n path.pointRadius = function (_) {\n if (!arguments.length)\n return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n return path.projection(projection).context(context);\n }\n function transform(methods) {\n return {\n stream: transformer(methods)\n };\n }\n function transformer(methods) {\n return function (stream) {\n var s = new TransformStream;\n for (var key in methods)\n s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n }\n function TransformStream() { }\n TransformStream.prototype = {\n constructor: TransformStream,\n point: function (x, y) { this.stream.point(x, y); },\n sphere: function () { this.stream.sphere(); },\n lineStart: function () { this.stream.lineStart(); },\n lineEnd: function () { this.stream.lineEnd(); },\n polygonStart: function () { this.stream.polygonStart(); },\n polygonEnd: function () { this.stream.polygonEnd(); }\n };\n function fit(projection, fitBounds, object) {\n var clip = projection.clipExtent && projection.clipExtent();\n projection.scale(150).translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream$1));\n fitBounds(boundsStream$1.result());\n if (clip != null)\n projection.clipExtent(clip);\n return projection;\n }\n function fitExtent(projection, extent, object) {\n return fit(projection, function (b) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n function fitWidth(projection, width, object) {\n return fit(projection, function (b) {\n var w = +width, k = w / (b[1][0] - b[0][0]), x = (w - k * (b[1][0] + b[0][0])) / 2, y = -k * b[0][1];\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n function fitHeight(projection, height, object) {\n return fit(projection, function (b) {\n var h = +height, k = h / (b[1][1] - b[0][1]), x = -k * b[0][0], y = (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n var maxDepth = 16, // maximum depth of subdivision\n cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n function resample(project, delta2) {\n return +delta2 ? resample$1(project, delta2) : resampleNone(project);\n }\n function resampleNone(project) {\n return transformer({\n point: function (x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n }\n function resample$1(project, delta2) {\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = sqrt(a * a + b * b + c * c), phi2 = asin(c /= m), lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a), p = project(lambda2, phi2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function (stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function () { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n return resampleStream;\n };\n }\n var transformRadians = transformer({\n point: function (x, y) {\n this.stream.point(x * radians, y * radians);\n }\n });\n function transformRotate(rotate) {\n return transformer({\n point: function (x, y) {\n var r = rotate(x, y);\n return this.stream.point(r[0], r[1]);\n }\n });\n }\n function scaleTranslate(k, dx, dy, sx, sy) {\n function transform(x, y) {\n x *= sx;\n y *= sy;\n return [dx + k * x, dy - k * y];\n }\n transform.invert = function (x, y) {\n return [(x - dx) / k * sx, (dy - y) / k * sy];\n };\n return transform;\n }\n function scaleTranslateRotate(k, dx, dy, sx, sy, alpha) {\n if (!alpha)\n return scaleTranslate(k, dx, dy, sx, sy);\n var cosAlpha = cos(alpha), sinAlpha = sin(alpha), a = cosAlpha * k, b = sinAlpha * k, ai = cosAlpha / k, bi = sinAlpha / k, ci = (sinAlpha * dy - cosAlpha * dx) / k, fi = (sinAlpha * dx + cosAlpha * dy) / k;\n function transform(x, y) {\n x *= sx;\n y *= sy;\n return [a * x - b * y + dx, dy - b * x - a * y];\n }\n transform.invert = function (x, y) {\n return [sx * (ai * x - bi * y + ci), sy * (fi - bi * x - ai * y)];\n };\n return transform;\n }\n function projection(project) {\n return projectionMutator(function () { return project; })();\n }\n function projectionMutator(projectAt) {\n var project, k = 150, // scale\n x = 480, y = 250, // translate\n lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate\n alpha = 0, // post-rotate angle\n sx = 1, // reflectX\n sy = 1, // reflectX\n theta = null, preclip = clipAntimeridian, // pre-clip angle\n x0 = null, y0, x1, y1, postclip = identity, // post-clip extent\n delta2 = 0.5, // precision\n projectResample, projectTransform, projectRotateTransform, cache, cacheStream;\n function projection(point) {\n return projectRotateTransform(point[0] * radians, point[1] * radians);\n }\n function invert(point) {\n point = projectRotateTransform.invert(point[0], point[1]);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));\n };\n projection.preclip = function (_) {\n return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip;\n };\n projection.postclip = function (_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n projection.clipAngle = function (_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n projection.center = function (_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n projection.rotate = function (_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n projection.angle = function (_) {\n return arguments.length ? (alpha = _ % 360 * radians, recenter()) : alpha * degrees;\n };\n projection.reflectX = function (_) {\n return arguments.length ? (sx = _ ? -1 : 1, recenter()) : sx < 0;\n };\n projection.reflectY = function (_) {\n return arguments.length ? (sy = _ ? -1 : 1, recenter()) : sy < 0;\n };\n projection.precision = function (_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n projection.fitWidth = function (width, object) {\n return fitWidth(projection, width, object);\n };\n projection.fitHeight = function (height, object) {\n return fitHeight(projection, height, object);\n };\n function recenter() {\n var center = scaleTranslateRotate(k, 0, 0, sx, sy, alpha).apply(null, project(lambda, phi)), transform = scaleTranslateRotate(k, x - center[0], y - center[1], sx, sy, alpha);\n rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma);\n projectTransform = compose(project, transform);\n projectRotateTransform = compose(rotate, projectTransform);\n projectResample = resample(projectTransform, delta2);\n return reset();\n }\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return function () {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n }\n function conicProjection(projectAt) {\n var phi0 = 0, phi1 = pi / 3, m = projectionMutator(projectAt), p = m(phi0, phi1);\n p.parallels = function (_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n return p;\n }\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon)\n return cylindricalEqualAreaRaw(y0);\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n project.invert = function (x, y) {\n var r0y = r0 - y, l = atan2(x, abs(r0y)) * sign(r0y);\n if (r0y * n < 0)\n l -= pi * sign(x) * sign(r0y);\n return [l / n, asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n return project;\n }\n function conicEqualArea() {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n }\n function albers() {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsa() {\n var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n albersUsa.fitWidth = function (width, object) {\n return fitWidth(albersUsa, width, object);\n };\n albersUsa.fitHeight = function (height, object) {\n return fitHeight(albersUsa, height, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n return albersUsa.scale(1070);\n }\n function azimuthalRaw(scale) {\n return function (x, y) {\n var cx = cos(x), cy = cos(y), k = scale(cx * cy);\n if (k === Infinity)\n return [2, 0];\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n };\n }\n function azimuthalInvert(angle) {\n return function (x, y) {\n var z = sqrt(x * x + y * y), c = angle(z), sc = sin(c), cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n };\n }\n var azimuthalEqualAreaRaw = azimuthalRaw(function (cxcy) {\n return sqrt(2 / (1 + cxcy));\n });\n azimuthalEqualAreaRaw.invert = azimuthalInvert(function (z) {\n return 2 * asin(z / 2);\n });\n function azimuthalEqualArea() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n }\n var azimuthalEquidistantRaw = azimuthalRaw(function (c) {\n return (c = acos(c)) && c / sin(c);\n });\n azimuthalEquidistantRaw.invert = azimuthalInvert(function (z) {\n return z;\n });\n function azimuthalEquidistant() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n }\n function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n }\n mercatorRaw.invert = function (x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n };\n function mercator() {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n }\n function mercatorProjection(project) {\n var m = projection(project), center = m.center, scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, x0 = null, y0, x1, y1; // clip extent\n m.scale = function (_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n m.translate = function (_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n m.center = function (_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n m.clipExtent = function (_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n function reclip() {\n var k = pi * scale(), t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n return reclip();\n }\n function tany(y) {\n return tan((halfPi + y) / 2);\n }\n function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)), f = cy0 * pow(tany(y0), n) / n;\n if (!n)\n return mercatorRaw;\n function project(x, y) {\n if (f > 0) {\n if (y < -halfPi + epsilon)\n y = -halfPi + epsilon;\n }\n else {\n if (y > halfPi - epsilon)\n y = halfPi - epsilon;\n }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n project.invert = function (x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy), l = atan2(x, abs(fy)) * sign(fy);\n if (fy * n < 0)\n l -= pi * sign(x) * sign(fy);\n return [l / n, 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n return project;\n }\n function conicConformal() {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n }\n function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n }\n equirectangularRaw.invert = equirectangularRaw;\n function equirectangular() {\n return projection(equirectangularRaw)\n .scale(152.63);\n }\n function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0), g = cy0 / n + y0;\n if (abs(n) < epsilon)\n return equirectangularRaw;\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n project.invert = function (x, y) {\n var gy = g - y, l = atan2(x, abs(gy)) * sign(gy);\n if (gy * n < 0)\n l -= pi * sign(x) * sign(gy);\n return [l / n, g - sign(n) * sqrt(x * x + gy * gy)];\n };\n return project;\n }\n function conicEquidistant() {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n }\n var A1 = 1.340264, A2 = -0.081106, A3 = 0.000893, A4 = 0.003796, M = sqrt(3) / 2, iterations = 12;\n function equalEarthRaw(lambda, phi) {\n var l = asin(M * sin(phi)), l2 = l * l, l6 = l2 * l2 * l2;\n return [\n lambda * cos(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))),\n l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2))\n ];\n }\n equalEarthRaw.invert = function (x, y) {\n var l = y, l2 = l * l, l6 = l2 * l2 * l2;\n for (var i = 0, delta, fy, fpy; i < iterations; ++i) {\n fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y;\n fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2);\n l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2;\n if (abs(delta) < epsilon2)\n break;\n }\n return [\n M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / cos(l),\n asin(sin(l) / M)\n ];\n };\n function equalEarth() {\n return projection(equalEarthRaw)\n .scale(177.158);\n }\n function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n gnomonicRaw.invert = azimuthalInvert(atan);\n function gnomonic() {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n }\n function identity$1() {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, // scale, translate and reflect\n alpha = 0, ca, sa, // angle\n x0 = null, y0, x1, y1, // clip extent\n kx = 1, ky = 1, transform = transformer({\n point: function (x, y) {\n var p = projection([x, y]);\n this.stream.point(p[0], p[1]);\n }\n }), postclip = identity, cache, cacheStream;\n function reset() {\n kx = k * sx;\n ky = k * sy;\n cache = cacheStream = null;\n return projection;\n }\n function projection(p) {\n var x = p[0] * kx, y = p[1] * ky;\n if (alpha) {\n var t = y * ca - x * sa;\n x = x * ca + y * sa;\n y = t;\n }\n return [x + tx, y + ty];\n }\n projection.invert = function (p) {\n var x = p[0] - tx, y = p[1] - ty;\n if (alpha) {\n var t = y * ca + x * sa;\n x = x * ca - y * sa;\n y = t;\n }\n return [x / kx, y / ky];\n };\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream));\n };\n projection.postclip = function (_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, reset()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (tx = +_[0], ty = +_[1], reset()) : [tx, ty];\n };\n projection.angle = function (_) {\n return arguments.length ? (alpha = _ % 360 * radians, sa = sin(alpha), ca = cos(alpha), reset()) : alpha * degrees;\n };\n projection.reflectX = function (_) {\n return arguments.length ? (sx = _ ? -1 : 1, reset()) : sx < 0;\n };\n projection.reflectY = function (_) {\n return arguments.length ? (sy = _ ? -1 : 1, reset()) : sy < 0;\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n projection.fitWidth = function (width, object) {\n return fitWidth(projection, width, object);\n };\n projection.fitHeight = function (height, object) {\n return fitHeight(projection, height, object);\n };\n return projection;\n }\n function naturalEarth1Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n }\n naturalEarth1Raw.invert = function (x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n };\n function naturalEarth1() {\n return projection(naturalEarth1Raw)\n .scale(175.295);\n }\n function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n }\n orthographicRaw.invert = azimuthalInvert(asin);\n function orthographic() {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n }\n function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n stereographicRaw.invert = azimuthalInvert(function (z) {\n return 2 * atan(z);\n });\n function stereographic() {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n }\n function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n }\n transverseMercatorRaw.invert = function (x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n };\n function transverseMercator() {\n var m = mercatorProjection(transverseMercatorRaw), center = m.center, rotate = m.rotate;\n m.center = function (_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n m.rotate = function (_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n return rotate([0, 0, 90])\n .scale(159.155);\n }\n exports.geoAlbers = albers;\n exports.geoAlbersUsa = albersUsa;\n exports.geoArea = area;\n exports.geoAzimuthalEqualArea = azimuthalEqualArea;\n exports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;\n exports.geoAzimuthalEquidistant = azimuthalEquidistant;\n exports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;\n exports.geoBounds = bounds;\n exports.geoCentroid = centroid;\n exports.geoCircle = circle;\n exports.geoClipAntimeridian = clipAntimeridian;\n exports.geoClipCircle = clipCircle;\n exports.geoClipExtent = extent;\n exports.geoClipRectangle = clipRectangle;\n exports.geoConicConformal = conicConformal;\n exports.geoConicConformalRaw = conicConformalRaw;\n exports.geoConicEqualArea = conicEqualArea;\n exports.geoConicEqualAreaRaw = conicEqualAreaRaw;\n exports.geoConicEquidistant = conicEquidistant;\n exports.geoConicEquidistantRaw = conicEquidistantRaw;\n exports.geoContains = contains;\n exports.geoDistance = distance;\n exports.geoEqualEarth = equalEarth;\n exports.geoEqualEarthRaw = equalEarthRaw;\n exports.geoEquirectangular = equirectangular;\n exports.geoEquirectangularRaw = equirectangularRaw;\n exports.geoGnomonic = gnomonic;\n exports.geoGnomonicRaw = gnomonicRaw;\n exports.geoGraticule = graticule;\n exports.geoGraticule10 = graticule10;\n exports.geoIdentity = identity$1;\n exports.geoInterpolate = interpolate;\n exports.geoLength = length;\n exports.geoMercator = mercator;\n exports.geoMercatorRaw = mercatorRaw;\n exports.geoNaturalEarth1 = naturalEarth1;\n exports.geoNaturalEarth1Raw = naturalEarth1Raw;\n exports.geoOrthographic = orthographic;\n exports.geoOrthographicRaw = orthographicRaw;\n exports.geoPath = index;\n exports.geoProjection = projection;\n exports.geoProjectionMutator = projectionMutator;\n exports.geoRotation = rotation;\n exports.geoStereographic = stereographic;\n exports.geoStereographicRaw = stereographicRaw;\n exports.geoStream = geoStream;\n exports.geoTransform = transform;\n exports.geoTransverseMercator = transverseMercator;\n exports.geoTransverseMercatorRaw = transverseMercatorRaw;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-dsv/dist/d3-dsv.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-dsv/dist/d3-dsv.js", + "name": "./node_modules/d3-dsv/dist/d3-dsv.js", + "index": 136, + "index2": 134, + "size": 8923, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "issuerId": "./src/connector/dsv.ts", + "issuerName": "./src/connector/dsv.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/dsv.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "name": "./src/connector/dsv.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 553, + "building": 1031 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "d3-dsv", + "loc": "4:15-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-dsv/ v1.2.0 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var EOL = {}, EOF = {}, QUOTE = 34, NEWLINE = 10, RETURN = 13;\n function objectConverter(columns) {\n return new Function(\"d\", \"return {\" + columns.map(function (name, i) {\n return JSON.stringify(name) + \": d[\" + i + \"] || \\\"\\\"\";\n }).join(\",\") + \"}\");\n }\n function customConverter(columns, f) {\n var object = objectConverter(columns);\n return function (row, i) {\n return f(object(row), i, columns);\n };\n }\n // Compute unique columns in order of discovery.\n function inferColumns(rows) {\n var columnSet = Object.create(null), columns = [];\n rows.forEach(function (row) {\n for (var column in row) {\n if (!(column in columnSet)) {\n columns.push(columnSet[column] = column);\n }\n }\n });\n return columns;\n }\n function pad(value, width) {\n var s = value + \"\", length = s.length;\n return length < width ? new Array(width - length + 1).join(0) + s : s;\n }\n function formatYear(year) {\n return year < 0 ? \"-\" + pad(-year, 6)\n : year > 9999 ? \"+\" + pad(year, 6)\n : pad(year, 4);\n }\n function formatDate(date) {\n var hours = date.getUTCHours(), minutes = date.getUTCMinutes(), seconds = date.getUTCSeconds(), milliseconds = date.getUTCMilliseconds();\n return isNaN(date) ? \"Invalid Date\"\n : formatYear(date.getUTCFullYear()) + \"-\" + pad(date.getUTCMonth() + 1, 2) + \"-\" + pad(date.getUTCDate(), 2)\n + (milliseconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \".\" + pad(milliseconds, 3) + \"Z\"\n : seconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \"Z\"\n : minutes || hours ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \"Z\"\n : \"\");\n }\n function dsv(delimiter) {\n var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n\\r]\"), DELIMITER = delimiter.charCodeAt(0);\n function parse(text, f) {\n var convert, columns, rows = parseRows(text, function (row, i) {\n if (convert)\n return convert(row, i - 1);\n columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n });\n rows.columns = columns || [];\n return rows;\n }\n function parseRows(text, f) {\n var rows = [], // output rows\n N = text.length, I = 0, // current character index\n n = 0, // current line number\n t, // current token\n eof = N <= 0, // current token followed by EOF?\n eol = false; // current token followed by EOL?\n // Strip the trailing newline.\n if (text.charCodeAt(N - 1) === NEWLINE)\n --N;\n if (text.charCodeAt(N - 1) === RETURN)\n --N;\n function token() {\n if (eof)\n return EOF;\n if (eol)\n return eol = false, EOL;\n // Unescape quotes.\n var i, j = I, c;\n if (text.charCodeAt(j) === QUOTE) {\n while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE)\n ;\n if ((i = I) >= N)\n eof = true;\n else if ((c = text.charCodeAt(I++)) === NEWLINE)\n eol = true;\n else if (c === RETURN) {\n eol = true;\n if (text.charCodeAt(I) === NEWLINE)\n ++I;\n }\n return text.slice(j + 1, i - 1).replace(/\"\"/g, \"\\\"\");\n }\n // Find next delimiter or newline.\n while (I < N) {\n if ((c = text.charCodeAt(i = I++)) === NEWLINE)\n eol = true;\n else if (c === RETURN) {\n eol = true;\n if (text.charCodeAt(I) === NEWLINE)\n ++I;\n }\n else if (c !== DELIMITER)\n continue;\n return text.slice(j, i);\n }\n // Return last token before EOF.\n return eof = true, text.slice(j, N);\n }\n while ((t = token()) !== EOF) {\n var row = [];\n while (t !== EOL && t !== EOF)\n row.push(t), t = token();\n if (f && (row = f(row, n++)) == null)\n continue;\n rows.push(row);\n }\n return rows;\n }\n function preformatBody(rows, columns) {\n return rows.map(function (row) {\n return columns.map(function (column) {\n return formatValue(row[column]);\n }).join(delimiter);\n });\n }\n function format(rows, columns) {\n if (columns == null)\n columns = inferColumns(rows);\n return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join(\"\\n\");\n }\n function formatBody(rows, columns) {\n if (columns == null)\n columns = inferColumns(rows);\n return preformatBody(rows, columns).join(\"\\n\");\n }\n function formatRows(rows) {\n return rows.map(formatRow).join(\"\\n\");\n }\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n function formatValue(value) {\n return value == null ? \"\"\n : value instanceof Date ? formatDate(value)\n : reFormat.test(value += \"\") ? \"\\\"\" + value.replace(/\"/g, \"\\\"\\\"\") + \"\\\"\"\n : value;\n }\n return {\n parse: parse,\n parseRows: parseRows,\n format: format,\n formatBody: formatBody,\n formatRows: formatRows,\n formatRow: formatRow,\n formatValue: formatValue\n };\n }\n var csv = dsv(\",\");\n var csvParse = csv.parse;\n var csvParseRows = csv.parseRows;\n var csvFormat = csv.format;\n var csvFormatBody = csv.formatBody;\n var csvFormatRows = csv.formatRows;\n var csvFormatRow = csv.formatRow;\n var csvFormatValue = csv.formatValue;\n var tsv = dsv(\"\\t\");\n var tsvParse = tsv.parse;\n var tsvParseRows = tsv.parseRows;\n var tsvFormat = tsv.format;\n var tsvFormatBody = tsv.formatBody;\n var tsvFormatRows = tsv.formatRows;\n var tsvFormatRow = tsv.formatRow;\n var tsvFormatValue = tsv.formatValue;\n function autoType(object) {\n for (var key in object) {\n var value = object[key].trim(), number, m;\n if (!value)\n value = null;\n else if (value === \"true\")\n value = true;\n else if (value === \"false\")\n value = false;\n else if (value === \"NaN\")\n value = NaN;\n else if (!isNaN(number = +value))\n value = number;\n else if (m = value.match(/^([-+]\\d{2})?\\d{4}(-\\d{2}(-\\d{2})?)?(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{3})?)?(Z|[-+]\\d{2}:\\d{2})?)?$/)) {\n if (fixtz && !!m[4] && !m[7])\n value = value.replace(/-/g, \"/\").replace(/T/, \" \");\n value = new Date(value);\n }\n else\n continue;\n object[key] = value;\n }\n return object;\n }\n // https://github.com/d3/d3-dsv/issues/45\n var fixtz = new Date(\"2019-01-01T00:00\").getHours() || new Date(\"2019-07-01T00:00\").getHours();\n exports.autoType = autoType;\n exports.csvFormat = csvFormat;\n exports.csvFormatBody = csvFormatBody;\n exports.csvFormatRow = csvFormatRow;\n exports.csvFormatRows = csvFormatRows;\n exports.csvFormatValue = csvFormatValue;\n exports.csvParse = csvParse;\n exports.csvParseRows = csvParseRows;\n exports.dsvFormat = dsv;\n exports.tsvFormat = tsvFormat;\n exports.tsvFormatBody = tsvFormatBody;\n exports.tsvFormatRow = tsvFormatRow;\n exports.tsvFormatRows = tsvFormatRows;\n exports.tsvFormatValue = tsvFormatValue;\n exports.tsvParse = tsvParse;\n exports.tsvParseRows = tsvParseRows;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "name": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "index": 117, + "index2": 115, + "size": 145928, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "issuerId": "./src/api/geo.ts", + "issuerName": "./src/api/geo.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "d3-geo-projection", + "loc": "6:26-54" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-geo-projection", + "loc": "6:43-71" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-geo-projection/ Version 2.1.2. Copyright 2017 Mike Bostock.\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-geo'), require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-geo', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3, global.d3));\n}(this, (function (exports, d3Geo, d3Array) {\n 'use strict';\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var exp = Math.exp;\n var floor = Math.floor;\n var log = Math.log;\n var max = Math.max;\n var min = Math.min;\n var pow = Math.pow;\n var round = Math.round;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sin = Math.sin;\n var tan = Math.tan;\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var sqrt1_2 = Math.SQRT1_2;\n var sqrt2 = sqrt(2);\n var sqrtPi = sqrt(pi);\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n function sinci(x) {\n return x ? x / Math.sin(x) : 1;\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function sqrt(x) {\n return x > 0 ? Math.sqrt(x) : 0;\n }\n function tanh(x) {\n x = exp(2 * x);\n return (x - 1) / (x + 1);\n }\n function sinh(x) {\n return (exp(x) - exp(-x)) / 2;\n }\n function cosh(x) {\n return (exp(x) + exp(-x)) / 2;\n }\n function arsinh(x) {\n return log(x + sqrt(x * x + 1));\n }\n function arcosh(x) {\n return log(x + sqrt(x * x - 1));\n }\n function airyRaw(beta) {\n var tanBeta_2 = tan(beta / 2), b = 2 * log(cos(beta / 2)) / (tanBeta_2 * tanBeta_2);\n function forward(x, y) {\n var cosx = cos(x), cosy = cos(y), siny = sin(y), cosz = cosy * cosx, k = -((1 - cosz ? log((1 + cosz) / 2) / (1 - cosz) : -0.5) + b / (1 + cosz));\n return [k * cosy * sin(x), k * siny];\n }\n forward.invert = function (x, y) {\n var r = sqrt(x * x + y * y), z = -beta / 2, i = 50, delta;\n if (!r)\n return [0, 0];\n do {\n var z_2 = z / 2, cosz_2 = cos(z_2), sinz_2 = sin(z_2), tanz_2 = tan(z_2), lnsecz_2 = log(1 / cosz_2);\n z -= delta = (2 / tanz_2 * lnsecz_2 - b * tanz_2 - r) / (-lnsecz_2 / (sinz_2 * sinz_2) + 1 - b / (2 * cosz_2 * cosz_2));\n } while (abs(delta) > epsilon && --i > 0);\n var sinz = sin(z);\n return [atan2(x * sinz, r * cos(z)), asin(y * sinz / r)];\n };\n return forward;\n }\n var airy = function () {\n var beta = halfPi, m = d3Geo.geoProjectionMutator(airyRaw), p = m(beta);\n p.radius = function (_) {\n return arguments.length ? m(beta = _ * radians) : beta * degrees;\n };\n return p\n .scale(179.976)\n .clipAngle(147);\n };\n function aitoffRaw(x, y) {\n var cosy = cos(y), sincia = sinci(acos(cosy * cos(x /= 2)));\n return [2 * cosy * sin(x) * sincia, sin(y) * sincia];\n }\n // Abort if [x, y] is not within an ellipse centered at [0, 0] with\n // semi-major axis pi and semi-minor axis pi/2.\n aitoffRaw.invert = function (x, y) {\n if (x * x + 4 * y * y > pi * pi + epsilon)\n return;\n var x1 = x, y1 = y, i = 25;\n do {\n var sinx = sin(x1), sinx_2 = sin(x1 / 2), cosx_2 = cos(x1 / 2), siny = sin(y1), cosy = cos(y1), sin_2y = sin(2 * y1), sin2y = siny * siny, cos2y = cosy * cosy, sin2x_2 = sinx_2 * sinx_2, c = 1 - cos2y * cosx_2 * cosx_2, e = c ? acos(cosy * cosx_2) * sqrt(f = 1 / c) : f = 0, f, fx = 2 * e * cosy * sinx_2 - x, fy = e * siny - y, dxdx = f * (cos2y * sin2x_2 + e * cosy * cosx_2 * sin2y), dxdy = f * (0.5 * sinx * sin_2y - e * 2 * siny * sinx_2), dydx = f * 0.25 * (sin_2y * sinx_2 - e * siny * cos2y * sinx), dydy = f * (sin2y * cosx_2 + e * sin2x_2 * cosy), z = dxdy * dydx - dydy * dxdx;\n if (!z)\n break;\n var dx = (fy * dxdy - fx * dydy) / z, dy = (fx * dydx - fy * dxdx) / z;\n x1 -= dx, y1 -= dy;\n } while ((abs(dx) > epsilon || abs(dy) > epsilon) && --i > 0);\n return [x1, y1];\n };\n var aitoff = function () {\n return d3Geo.geoProjection(aitoffRaw)\n .scale(152.63);\n };\n function armadilloRaw(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0), sPhi0 = phi0 >= 0 ? 1 : -1, tanPhi0 = tan(sPhi0 * phi0), k = (1 + sinPhi0 - cosPhi0) / 2;\n function forward(lambda, phi) {\n var cosPhi = cos(phi), cosLambda = cos(lambda /= 2);\n return [\n (1 + cosPhi) * sin(lambda),\n (sPhi0 * phi > -atan2(cosLambda, tanPhi0) - 1e-3 ? 0 : -sPhi0 * 10) + k + sin(phi) * cosPhi0 - (1 + cosPhi) * sinPhi0 * cosLambda // TODO D3 core should allow null or [NaN, NaN] to be returned.\n ];\n }\n forward.invert = function (x, y) {\n var lambda = 0, phi = 0, i = 50;\n do {\n var cosLambda = cos(lambda), sinLambda = sin(lambda), cosPhi = cos(phi), sinPhi = sin(phi), A = 1 + cosPhi, fx = A * sinLambda - x, fy = k + sinPhi * cosPhi0 - A * sinPhi0 * cosLambda - y, dxdLambda = A * cosLambda / 2, dxdPhi = -sinLambda * sinPhi, dydLambda = sinPhi0 * A * sinLambda / 2, dydPhi = cosPhi0 * cosPhi + sinPhi0 * cosLambda * sinPhi, denominator = dxdPhi * dydLambda - dydPhi * dxdLambda, dLambda = (fy * dxdPhi - fx * dydPhi) / denominator / 2, dPhi = (fx * dydLambda - fy * dxdLambda) / denominator;\n lambda -= dLambda, phi -= dPhi;\n } while ((abs(dLambda) > epsilon || abs(dPhi) > epsilon) && --i > 0);\n return sPhi0 * phi > -atan2(cos(lambda), tanPhi0) - 1e-3 ? [lambda * 2, phi] : null;\n };\n return forward;\n }\n var armadillo = function () {\n var phi0 = 20 * radians, sPhi0 = phi0 >= 0 ? 1 : -1, tanPhi0 = tan(sPhi0 * phi0), m = d3Geo.geoProjectionMutator(armadilloRaw), p = m(phi0), stream_ = p.stream;\n p.parallel = function (_) {\n if (!arguments.length)\n return phi0 * degrees;\n tanPhi0 = tan((sPhi0 = (phi0 = _ * radians) >= 0 ? 1 : -1) * phi0);\n return m(phi0);\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var lambda = sPhi0 * -180; sPhi0 * lambda < 180; lambda += sPhi0 * 90)\n sphereStream.point(lambda, sPhi0 * 90);\n while (sPhi0 * (lambda -= phi0) >= -180) { // TODO precision?\n sphereStream.point(lambda, sPhi0 * -atan2(cos(lambda * radians / 2), tanPhi0) * degrees);\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .scale(218.695)\n .center([0, 28.0974]);\n };\n function augustRaw(lambda, phi) {\n var tanPhi = tan(phi / 2), k = sqrt(1 - tanPhi * tanPhi), c = 1 + k * cos(lambda /= 2), x = sin(lambda) * k / c, y = tanPhi / c, x2 = x * x, y2 = y * y;\n return [\n 4 / 3 * x * (3 + x2 - 3 * y2),\n 4 / 3 * y * (3 + 3 * x2 - y2)\n ];\n }\n augustRaw.invert = function (x, y) {\n x *= 3 / 8, y *= 3 / 8;\n if (!x && abs(y) > 1)\n return null;\n var x2 = x * x, y2 = y * y, s = 1 + x2 + y2, sin3Eta = sqrt((s - sqrt(s * s - 4 * y * y)) / 2), eta = asin(sin3Eta) / 3, xi = sin3Eta ? arcosh(abs(y / sin3Eta)) / 3 : arsinh(abs(x)) / 3, cosEta = cos(eta), coshXi = cosh(xi), d = coshXi * coshXi - cosEta * cosEta;\n return [\n sign(x) * 2 * atan2(sinh(xi) * cosEta, 0.25 - d),\n sign(y) * 2 * atan2(coshXi * sin(eta), 0.25 + d)\n ];\n };\n var august = function () {\n return d3Geo.geoProjection(augustRaw)\n .scale(66.1603);\n };\n var sqrt8 = sqrt(8);\n var phi0 = log(1 + sqrt2);\n function bakerRaw(lambda, phi) {\n var phi0 = abs(phi);\n return phi0 < quarterPi\n ? [lambda, log(tan(quarterPi + phi / 2))]\n : [lambda * cos(phi0) * (2 * sqrt2 - 1 / sin(phi0)), sign(phi) * (2 * sqrt2 * (phi0 - quarterPi) - log(tan(phi0 / 2)))];\n }\n bakerRaw.invert = function (x, y) {\n if ((y0 = abs(y)) < phi0)\n return [x, 2 * atan(exp(y)) - halfPi];\n var phi = quarterPi, i = 25, delta, y0;\n do {\n var cosPhi_2 = cos(phi / 2), tanPhi_2 = tan(phi / 2);\n phi -= delta = (sqrt8 * (phi - quarterPi) - log(tanPhi_2) - y0) / (sqrt8 - cosPhi_2 * cosPhi_2 / (2 * tanPhi_2));\n } while (abs(delta) > epsilon2 && --i > 0);\n return [x / (cos(phi) * (sqrt8 - 1 / sin(phi))), sign(y) * phi];\n };\n var baker = function () {\n return d3Geo.geoProjection(bakerRaw)\n .scale(112.314);\n };\n function berghausRaw(lobes) {\n var k = 2 * pi / lobes;\n function forward(lambda, phi) {\n var p = d3Geo.geoAzimuthalEquidistantRaw(lambda, phi);\n if (abs(lambda) > halfPi) { // back hemisphere\n var theta = atan2(p[1], p[0]), r = sqrt(p[0] * p[0] + p[1] * p[1]), theta0 = k * round((theta - halfPi) / k) + halfPi, alpha = atan2(sin(theta -= theta0), 2 - cos(theta)); // angle relative to lobe end\n theta = theta0 + asin(pi / r * sin(alpha)) - alpha;\n p[0] = r * cos(theta);\n p[1] = r * sin(theta);\n }\n return p;\n }\n forward.invert = function (x, y) {\n var r = sqrt(x * x + y * y);\n if (r > halfPi) {\n var theta = atan2(y, x), theta0 = k * round((theta - halfPi) / k) + halfPi, s = theta > theta0 ? -1 : 1, A = r * cos(theta0 - theta), cotAlpha = 1 / tan(s * acos((A - pi) / sqrt(pi * (pi - 2 * A) + r * r)));\n theta = theta0 + 2 * atan((cotAlpha + s * sqrt(cotAlpha * cotAlpha - 3)) / 3);\n x = r * cos(theta), y = r * sin(theta);\n }\n return d3Geo.geoAzimuthalEquidistantRaw.invert(x, y);\n };\n return forward;\n }\n var berghaus = function () {\n var lobes = 5, m = d3Geo.geoProjectionMutator(berghausRaw), p = m(lobes), projectionStream = p.stream, epsilon$$1 = 1e-2, cr = -cos(epsilon$$1 * radians), sr = sin(epsilon$$1 * radians);\n p.lobes = function (_) {\n return arguments.length ? m(lobes = +_) : lobes;\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = projectionStream(stream), sphereStream = (p.rotate([0, 0]), projectionStream(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var i = 0, delta = 360 / lobes, delta0 = 2 * pi / lobes, phi = 90 - 180 / lobes, phi0 = halfPi; i < lobes; ++i, phi -= delta, phi0 -= delta0) {\n sphereStream.point(atan2(sr * cos(phi0), cr) * degrees, asin(sr * sin(phi0)) * degrees);\n if (phi < -90) {\n sphereStream.point(-90, -180 - phi - epsilon$$1);\n sphereStream.point(-90, -180 - phi + epsilon$$1);\n }\n else {\n sphereStream.point(90, phi + epsilon$$1);\n sphereStream.point(90, phi - epsilon$$1);\n }\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .scale(87.8076)\n .center([0, 17.1875])\n .clipAngle(180 - 1e-3);\n };\n function mollweideBromleyTheta(cp, phi) {\n var cpsinPhi = cp * sin(phi), i = 30, delta;\n do\n phi -= delta = (phi + sin(phi) - cpsinPhi) / (1 + cos(phi));\n while (abs(delta) > epsilon && --i > 0);\n return phi / 2;\n }\n function mollweideBromleyRaw(cx, cy, cp) {\n function forward(lambda, phi) {\n return [cx * lambda * cos(phi = mollweideBromleyTheta(cp, phi)), cy * sin(phi)];\n }\n forward.invert = function (x, y) {\n return y = asin(y / cy), [x / (cx * cos(y)), asin((2 * y + sin(2 * y)) / cp)];\n };\n return forward;\n }\n var mollweideRaw = mollweideBromleyRaw(sqrt2 / halfPi, sqrt2, pi);\n var mollweide = function () {\n return d3Geo.geoProjection(mollweideRaw)\n .scale(169.529);\n };\n var k = 2.00276;\n var w = 1.11072;\n function boggsRaw(lambda, phi) {\n var theta = mollweideBromleyTheta(pi, phi);\n return [k * lambda / (1 / cos(phi) + w / cos(theta)), (phi + sqrt2 * sin(theta)) / k];\n }\n boggsRaw.invert = function (x, y) {\n var ky = k * y, theta = y < 0 ? -quarterPi : quarterPi, i = 25, delta, phi;\n do {\n phi = ky - sqrt2 * sin(theta);\n theta -= delta = (sin(2 * theta) + 2 * theta - pi * sin(phi)) / (2 * cos(2 * theta) + 2 + pi * cos(phi) * sqrt2 * cos(theta));\n } while (abs(delta) > epsilon && --i > 0);\n phi = ky - sqrt2 * sin(theta);\n return [x * (1 / cos(phi) + w / cos(theta)) / k, phi];\n };\n var boggs = function () {\n return d3Geo.geoProjection(boggsRaw)\n .scale(160.857);\n };\n var parallel1 = function (projectAt) {\n var phi0 = 0, m = d3Geo.geoProjectionMutator(projectAt), p = m(phi0);\n p.parallel = function (_) {\n return arguments.length ? m(phi0 = _ * radians) : phi0 * degrees;\n };\n return p;\n };\n function sinusoidalRaw(lambda, phi) {\n return [lambda * cos(phi), phi];\n }\n sinusoidalRaw.invert = function (x, y) {\n return [x / cos(y), y];\n };\n var sinusoidal = function () {\n return d3Geo.geoProjection(sinusoidalRaw)\n .scale(152.63);\n };\n function bonneRaw(phi0) {\n if (!phi0)\n return sinusoidalRaw;\n var cotPhi0 = 1 / tan(phi0);\n function forward(lambda, phi) {\n var rho = cotPhi0 + phi0 - phi, e = rho ? lambda * cos(phi) / rho : rho;\n return [rho * sin(e), cotPhi0 - rho * cos(e)];\n }\n forward.invert = function (x, y) {\n var rho = sqrt(x * x + (y = cotPhi0 - y) * y), phi = cotPhi0 + phi0 - rho;\n return [rho / cos(phi) * atan2(x, y), phi];\n };\n return forward;\n }\n var bonne = function () {\n return parallel1(bonneRaw)\n .scale(123.082)\n .center([0, 26.1441])\n .parallel(45);\n };\n function bottomleyRaw(sinPsi) {\n function forward(lambda, phi) {\n var rho = halfPi - phi, eta = rho ? lambda * sinPsi * sin(rho) / rho : rho;\n return [rho * sin(eta) / sinPsi, halfPi - rho * cos(eta)];\n }\n forward.invert = function (x, y) {\n var x1 = x * sinPsi, y1 = halfPi - y, rho = sqrt(x1 * x1 + y1 * y1), eta = atan2(x1, y1);\n return [(rho ? rho / sin(rho) : 1) * eta / sinPsi, halfPi - rho];\n };\n return forward;\n }\n var bottomley = function () {\n var sinPsi = 0.5, m = d3Geo.geoProjectionMutator(bottomleyRaw), p = m(sinPsi);\n p.fraction = function (_) {\n return arguments.length ? m(sinPsi = +_) : sinPsi;\n };\n return p\n .scale(158.837);\n };\n var bromleyRaw = mollweideBromleyRaw(1, 4 / pi, pi);\n var bromley = function () {\n return d3Geo.geoProjection(bromleyRaw)\n .scale(152.63);\n };\n // Azimuthal distance.\n function distance(dPhi, c1, s1, c2, s2, dLambda) {\n var cosdLambda = cos(dLambda), r;\n if (abs(dPhi) > 1 || abs(dLambda) > 1) {\n r = acos(s1 * s2 + c1 * c2 * cosdLambda);\n }\n else {\n var sindPhi = sin(dPhi / 2), sindLambda = sin(dLambda / 2);\n r = 2 * asin(sqrt(sindPhi * sindPhi + c1 * c2 * sindLambda * sindLambda));\n }\n return abs(r) > epsilon ? [r, atan2(c2 * sin(dLambda), c1 * s2 - s1 * c2 * cosdLambda)] : [0, 0];\n }\n // Angle opposite a, and contained between sides of lengths b and c.\n function angle(b, c, a) {\n return acos((b * b + c * c - a * a) / (2 * b * c));\n }\n // Normalize longitude.\n function longitude(lambda) {\n return lambda - 2 * pi * floor((lambda + pi) / (2 * pi));\n }\n function chamberlinRaw(p0, p1, p2) {\n var points = [\n [p0[0], p0[1], sin(p0[1]), cos(p0[1])],\n [p1[0], p1[1], sin(p1[1]), cos(p1[1])],\n [p2[0], p2[1], sin(p2[1]), cos(p2[1])]\n ];\n for (var a = points[2], b, i = 0; i < 3; ++i, a = b) {\n b = points[i];\n a.v = distance(b[1] - a[1], a[3], a[2], b[3], b[2], b[0] - a[0]);\n a.point = [0, 0];\n }\n var beta0 = angle(points[0].v[0], points[2].v[0], points[1].v[0]), beta1 = angle(points[0].v[0], points[1].v[0], points[2].v[0]), beta2 = pi - beta0;\n points[2].point[1] = 0;\n points[0].point[0] = -(points[1].point[0] = points[0].v[0] / 2);\n var mean = [\n points[2].point[0] = points[0].point[0] + points[2].v[0] * cos(beta0),\n 2 * (points[0].point[1] = points[1].point[1] = points[2].v[0] * sin(beta0))\n ];\n function forward(lambda, phi) {\n var sinPhi = sin(phi), cosPhi = cos(phi), v = new Array(3), i;\n // Compute distance and azimuth from control points.\n for (i = 0; i < 3; ++i) {\n var p = points[i];\n v[i] = distance(phi - p[1], p[3], p[2], cosPhi, sinPhi, lambda - p[0]);\n if (!v[i][0])\n return p.point;\n v[i][1] = longitude(v[i][1] - p.v[1]);\n }\n // Arithmetic mean of interception points.\n var point = mean.slice();\n for (i = 0; i < 3; ++i) {\n var j = i == 2 ? 0 : i + 1;\n var a = angle(points[i].v[0], v[i][0], v[j][0]);\n if (v[i][1] < 0)\n a = -a;\n if (!i) {\n point[0] += v[i][0] * cos(a);\n point[1] -= v[i][0] * sin(a);\n }\n else if (i == 1) {\n a = beta1 - a;\n point[0] -= v[i][0] * cos(a);\n point[1] -= v[i][0] * sin(a);\n }\n else {\n a = beta2 - a;\n point[0] += v[i][0] * cos(a);\n point[1] += v[i][0] * sin(a);\n }\n }\n point[0] /= 3, point[1] /= 3;\n return point;\n }\n return forward;\n }\n function pointRadians(p) {\n return p[0] *= radians, p[1] *= radians, p;\n }\n function chamberlinAfrica() {\n return chamberlin([0, 22], [45, 22], [22.5, -22])\n .scale(380)\n .center([22.5, 2]);\n }\n function chamberlin(p0, p1, p2) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: [p0, p1, p2] }), R = [-c[0], -c[1]], r = d3Geo.geoRotation(R), p = d3Geo.geoProjection(chamberlinRaw(pointRadians(r(p0)), pointRadians(r(p1)), pointRadians(r(p2)))).rotate(R), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p\n .clipAngle(90);\n }\n function collignonRaw(lambda, phi) {\n var alpha = sqrt(1 - sin(phi));\n return [(2 / sqrtPi) * lambda * alpha, sqrtPi * (1 - alpha)];\n }\n collignonRaw.invert = function (x, y) {\n var lambda = (lambda = y / sqrtPi - 1) * lambda;\n return [lambda > 0 ? x * sqrt(pi / lambda) / 2 : 0, asin(1 - lambda)];\n };\n var collignon = function () {\n return d3Geo.geoProjection(collignonRaw)\n .scale(95.6464)\n .center([0, 30]);\n };\n function craigRaw(phi0) {\n var tanPhi0 = tan(phi0);\n function forward(lambda, phi) {\n return [lambda, (lambda ? lambda / sin(lambda) : 1) * (sin(phi) * cos(lambda) - tanPhi0 * cos(phi))];\n }\n forward.invert = tanPhi0 ? function (x, y) {\n if (x)\n y *= sin(x) / x;\n var cosLambda = cos(x);\n return [x, 2 * atan2(sqrt(cosLambda * cosLambda + tanPhi0 * tanPhi0 - y * y) - cosLambda, tanPhi0 - y)];\n } : function (x, y) {\n return [x, asin(x ? y * tan(x) / x : y)];\n };\n return forward;\n }\n var craig = function () {\n return parallel1(craigRaw)\n .scale(249.828)\n .clipAngle(90);\n };\n var sqrt3 = sqrt(3);\n function crasterRaw(lambda, phi) {\n return [sqrt3 * lambda * (2 * cos(2 * phi / 3) - 1) / sqrtPi, sqrt3 * sqrtPi * sin(phi / 3)];\n }\n crasterRaw.invert = function (x, y) {\n var phi = 3 * asin(y / (sqrt3 * sqrtPi));\n return [sqrtPi * x / (sqrt3 * (2 * cos(2 * phi / 3) - 1)), phi];\n };\n var craster = function () {\n return d3Geo.geoProjection(crasterRaw)\n .scale(156.19);\n };\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n var cylindricalEqualArea = function () {\n return parallel1(cylindricalEqualAreaRaw)\n .parallel(38.58) // acos(sqrt(width / height / pi)) * radians\n .scale(195.044); // width / (sqrt(width / height / pi) * 2 * pi)\n };\n function cylindricalStereographicRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, (1 + cosPhi0) * tan(phi / 2)];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, atan(y / (1 + cosPhi0)) * 2];\n };\n return forward;\n }\n var cylindricalStereographic = function () {\n return parallel1(cylindricalStereographicRaw)\n .scale(124.75);\n };\n function eckert1Raw(lambda, phi) {\n var alpha = sqrt(8 / (3 * pi));\n return [\n alpha * lambda * (1 - abs(phi) / pi),\n alpha * phi\n ];\n }\n eckert1Raw.invert = function (x, y) {\n var alpha = sqrt(8 / (3 * pi)), phi = y / alpha;\n return [\n x / (alpha * (1 - abs(phi) / pi)),\n phi\n ];\n };\n var eckert1 = function () {\n return d3Geo.geoProjection(eckert1Raw)\n .scale(165.664);\n };\n function eckert2Raw(lambda, phi) {\n var alpha = sqrt(4 - 3 * sin(abs(phi)));\n return [\n 2 / sqrt(6 * pi) * lambda * alpha,\n sign(phi) * sqrt(2 * pi / 3) * (2 - alpha)\n ];\n }\n eckert2Raw.invert = function (x, y) {\n var alpha = 2 - abs(y) / sqrt(2 * pi / 3);\n return [\n x * sqrt(6 * pi) / (2 * alpha),\n sign(y) * asin((4 - alpha * alpha) / 3)\n ];\n };\n var eckert2 = function () {\n return d3Geo.geoProjection(eckert2Raw)\n .scale(165.664);\n };\n function eckert3Raw(lambda, phi) {\n var k = sqrt(pi * (4 + pi));\n return [\n 2 / k * lambda * (1 + sqrt(1 - 4 * phi * phi / (pi * pi))),\n 4 / k * phi\n ];\n }\n eckert3Raw.invert = function (x, y) {\n var k = sqrt(pi * (4 + pi)) / 2;\n return [\n x * k / (1 + sqrt(1 - y * y * (4 + pi) / (4 * pi))),\n y * k / 2\n ];\n };\n var eckert3 = function () {\n return d3Geo.geoProjection(eckert3Raw)\n .scale(180.739);\n };\n function eckert4Raw(lambda, phi) {\n var k = (2 + halfPi) * sin(phi);\n phi /= 2;\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; i++) {\n var cosPhi = cos(phi);\n phi -= delta = (phi + sin(phi) * (cosPhi + 2) - k) / (2 * cosPhi * (1 + cosPhi));\n }\n return [\n 2 / sqrt(pi * (4 + pi)) * lambda * (1 + cos(phi)),\n 2 * sqrt(pi / (4 + pi)) * sin(phi)\n ];\n }\n eckert4Raw.invert = function (x, y) {\n var A = y * sqrt((4 + pi) / pi) / 2, k = asin(A), c = cos(k);\n return [\n x / (2 / sqrt(pi * (4 + pi)) * (1 + c)),\n asin((k + A * (c + 2)) / (2 + halfPi))\n ];\n };\n var eckert4 = function () {\n return d3Geo.geoProjection(eckert4Raw)\n .scale(180.739);\n };\n function eckert5Raw(lambda, phi) {\n return [\n lambda * (1 + cos(phi)) / sqrt(2 + pi),\n 2 * phi / sqrt(2 + pi)\n ];\n }\n eckert5Raw.invert = function (x, y) {\n var k = sqrt(2 + pi), phi = y * k / 2;\n return [\n k * x / (1 + cos(phi)),\n phi\n ];\n };\n var eckert5 = function () {\n return d3Geo.geoProjection(eckert5Raw)\n .scale(173.044);\n };\n function eckert6Raw(lambda, phi) {\n var k = (1 + halfPi) * sin(phi);\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; i++) {\n phi -= delta = (phi + sin(phi) - k) / (1 + cos(phi));\n }\n k = sqrt(2 + pi);\n return [\n lambda * (1 + cos(phi)) / k,\n 2 * phi / k\n ];\n }\n eckert6Raw.invert = function (x, y) {\n var j = 1 + halfPi, k = sqrt(j / 2);\n return [\n x * 2 * k / (1 + cos(y *= k)),\n asin((y + sin(y)) / j)\n ];\n };\n var eckert6 = function () {\n return d3Geo.geoProjection(eckert6Raw)\n .scale(173.044);\n };\n var eisenlohrK = 3 + 2 * sqrt2;\n function eisenlohrRaw(lambda, phi) {\n var s0 = sin(lambda /= 2), c0 = cos(lambda), k = sqrt(cos(phi)), c1 = cos(phi /= 2), t = sin(phi) / (c1 + sqrt2 * c0 * k), c = sqrt(2 / (1 + t * t)), v = sqrt((sqrt2 * c1 + (c0 + s0) * k) / (sqrt2 * c1 + (c0 - s0) * k));\n return [\n eisenlohrK * (c * (v - 1 / v) - 2 * log(v)),\n eisenlohrK * (c * t * (v + 1 / v) - 2 * atan(t))\n ];\n }\n eisenlohrRaw.invert = function (x, y) {\n if (!(p = augustRaw.invert(x / 1.2, y * 1.065)))\n return null;\n var lambda = p[0], phi = p[1], i = 20, p;\n x /= eisenlohrK, y /= eisenlohrK;\n do {\n var _0 = lambda / 2, _1 = phi / 2, s0 = sin(_0), c0 = cos(_0), s1 = sin(_1), c1 = cos(_1), cos1 = cos(phi), k = sqrt(cos1), t = s1 / (c1 + sqrt2 * c0 * k), t2 = t * t, c = sqrt(2 / (1 + t2)), v0 = (sqrt2 * c1 + (c0 + s0) * k), v1 = (sqrt2 * c1 + (c0 - s0) * k), v2 = v0 / v1, v = sqrt(v2), vm1v = v - 1 / v, vp1v = v + 1 / v, fx = c * vm1v - 2 * log(v) - x, fy = c * t * vp1v - 2 * atan(t) - y, deltatDeltaLambda = s1 && sqrt1_2 * k * s0 * t2 / s1, deltatDeltaPhi = (sqrt2 * c0 * c1 + k) / (2 * (c1 + sqrt2 * c0 * k) * (c1 + sqrt2 * c0 * k) * k), deltacDeltat = -0.5 * t * c * c * c, deltacDeltaLambda = deltacDeltat * deltatDeltaLambda, deltacDeltaPhi = deltacDeltat * deltatDeltaPhi, A = (A = 2 * c1 + sqrt2 * k * (c0 - s0)) * A * v, deltavDeltaLambda = (sqrt2 * c0 * c1 * k + cos1) / A, deltavDeltaPhi = -(sqrt2 * s0 * s1) / (k * A), deltaxDeltaLambda = vm1v * deltacDeltaLambda - 2 * deltavDeltaLambda / v + c * (deltavDeltaLambda + deltavDeltaLambda / v2), deltaxDeltaPhi = vm1v * deltacDeltaPhi - 2 * deltavDeltaPhi / v + c * (deltavDeltaPhi + deltavDeltaPhi / v2), deltayDeltaLambda = t * vp1v * deltacDeltaLambda - 2 * deltatDeltaLambda / (1 + t2) + c * vp1v * deltatDeltaLambda + c * t * (deltavDeltaLambda - deltavDeltaLambda / v2), deltayDeltaPhi = t * vp1v * deltacDeltaPhi - 2 * deltatDeltaPhi / (1 + t2) + c * vp1v * deltatDeltaPhi + c * t * (deltavDeltaPhi - deltavDeltaPhi / v2), denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda;\n if (!denominator)\n break;\n var deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator, deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n lambda -= deltaLambda;\n phi = max(-halfPi, min(halfPi, phi - deltaPhi));\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return abs(abs(phi) - halfPi) < epsilon ? [0, phi] : i && [lambda, phi];\n };\n var eisenlohr = function () {\n return d3Geo.geoProjection(eisenlohrRaw)\n .scale(62.5271);\n };\n var faheyK = cos(35 * radians);\n function faheyRaw(lambda, phi) {\n var t = tan(phi / 2);\n return [lambda * faheyK * sqrt(1 - t * t), (1 + faheyK) * t];\n }\n faheyRaw.invert = function (x, y) {\n var t = y / (1 + faheyK);\n return [x && x / (faheyK * sqrt(1 - t * t)), 2 * atan(t)];\n };\n var fahey = function () {\n return d3Geo.geoProjection(faheyRaw)\n .scale(137.152);\n };\n function foucautRaw(lambda, phi) {\n var k = phi / 2, cosk = cos(k);\n return [2 * lambda / sqrtPi * cos(phi) * cosk * cosk, sqrtPi * tan(k)];\n }\n foucautRaw.invert = function (x, y) {\n var k = atan(y / sqrtPi), cosk = cos(k), phi = 2 * k;\n return [x * sqrtPi / 2 / (cos(phi) * cosk * cosk), phi];\n };\n var foucaut = function () {\n return d3Geo.geoProjection(foucautRaw)\n .scale(135.264);\n };\n function gilbertForward(point) {\n return [point[0] / 2, asin(tan(point[1] / 2 * radians)) * degrees];\n }\n function gilbertInvert(point) {\n return [point[0] * 2, 2 * atan(sin(point[1] * radians)) * degrees];\n }\n var gilbert = function (projectionType) {\n if (projectionType == null)\n projectionType = d3Geo.geoOrthographic;\n var projection = projectionType(), equirectangular = d3Geo.geoEquirectangular().scale(degrees).precision(0).clipAngle(null).translate([0, 0]); // antimeridian cutting\n function gilbert(point) {\n return projection(gilbertForward(point));\n }\n if (projection.invert)\n gilbert.invert = function (point) {\n return gilbertInvert(projection.invert(point));\n };\n gilbert.stream = function (stream) {\n var s1 = projection.stream(stream), s0 = equirectangular.stream({\n point: function (lambda, phi) { s1.point(lambda / 2, asin(tan(-phi / 2 * radians)) * degrees); },\n lineStart: function () { s1.lineStart(); },\n lineEnd: function () { s1.lineEnd(); },\n polygonStart: function () { s1.polygonStart(); },\n polygonEnd: function () { s1.polygonEnd(); }\n });\n s0.sphere = s1.sphere;\n return s0;\n };\n function property(name) {\n gilbert[name] = function (_) {\n return arguments.length ? (projection[name](_), gilbert) : projection[name]();\n };\n }\n gilbert.rotate = function (_) {\n return arguments.length ? (equirectangular.rotate(_), gilbert) : equirectangular.rotate();\n };\n gilbert.center = function (_) {\n return arguments.length ? (projection.center(gilbertForward(_)), gilbert) : gilbertInvert(projection.center());\n };\n property(\"clipAngle\");\n property(\"clipExtent\");\n property(\"scale\");\n property(\"translate\");\n property(\"precision\");\n return gilbert\n .scale(249.5);\n };\n function gingeryRaw(rho, n) {\n var k = 2 * pi / n, rho2 = rho * rho;\n function forward(lambda, phi) {\n var p = d3Geo.geoAzimuthalEquidistantRaw(lambda, phi), x = p[0], y = p[1], r2 = x * x + y * y;\n if (r2 > rho2) {\n var r = sqrt(r2), theta = atan2(y, x), theta0 = k * round(theta / k), alpha = theta - theta0, rhoCosAlpha = rho * cos(alpha), k_ = (rho * sin(alpha) - alpha * sin(rhoCosAlpha)) / (halfPi - rhoCosAlpha), s_ = gingeryLength(alpha, k_), e = (pi - rho) / gingeryIntegrate(s_, rhoCosAlpha, pi);\n x = r;\n var i = 50, delta;\n do {\n x -= delta = (rho + gingeryIntegrate(s_, rhoCosAlpha, x) * e - r) / (s_(x) * e);\n } while (abs(delta) > epsilon && --i > 0);\n y = alpha * sin(x);\n if (x < halfPi)\n y -= k_ * (x - halfPi);\n var s = sin(theta0), c = cos(theta0);\n p[0] = x * c - y * s;\n p[1] = x * s + y * c;\n }\n return p;\n }\n forward.invert = function (x, y) {\n var r2 = x * x + y * y;\n if (r2 > rho2) {\n var r = sqrt(r2), theta = atan2(y, x), theta0 = k * round(theta / k), dTheta = theta - theta0;\n x = r * cos(dTheta);\n y = r * sin(dTheta);\n var x_halfPi = x - halfPi, sinx = sin(x), alpha = y / sinx, delta = x < halfPi ? Infinity : 0, i = 10;\n while (true) {\n var rhosinAlpha = rho * sin(alpha), rhoCosAlpha = rho * cos(alpha), sinRhoCosAlpha = sin(rhoCosAlpha), halfPi_RhoCosAlpha = halfPi - rhoCosAlpha, k_ = (rhosinAlpha - alpha * sinRhoCosAlpha) / halfPi_RhoCosAlpha, s_ = gingeryLength(alpha, k_);\n if (abs(delta) < epsilon2 || !--i)\n break;\n alpha -= delta = (alpha * sinx - k_ * x_halfPi - y) / (sinx - x_halfPi * 2 * (halfPi_RhoCosAlpha * (rhoCosAlpha + alpha * rhosinAlpha * cos(rhoCosAlpha) - sinRhoCosAlpha) -\n rhosinAlpha * (rhosinAlpha - alpha * sinRhoCosAlpha)) / (halfPi_RhoCosAlpha * halfPi_RhoCosAlpha));\n }\n r = rho + gingeryIntegrate(s_, rhoCosAlpha, x) * (pi - rho) / gingeryIntegrate(s_, rhoCosAlpha, pi);\n theta = theta0 + alpha;\n x = r * cos(theta);\n y = r * sin(theta);\n }\n return d3Geo.geoAzimuthalEquidistantRaw.invert(x, y);\n };\n return forward;\n }\n function gingeryLength(alpha, k) {\n return function (x) {\n var y_ = alpha * cos(x);\n if (x < halfPi)\n y_ -= k;\n return sqrt(1 + y_ * y_);\n };\n }\n // Numerical integration: trapezoidal rule.\n function gingeryIntegrate(f, a, b) {\n var n = 50, h = (b - a) / n, s = f(a) + f(b);\n for (var i = 1, x = a; i < n; ++i)\n s += 2 * f(x += h);\n return s * 0.5 * h;\n }\n var gingery = function () {\n var n = 6, rho = 30 * radians, cRho = cos(rho), sRho = sin(rho), m = d3Geo.geoProjectionMutator(gingeryRaw), p = m(rho, n), stream_ = p.stream, epsilon$$1 = 1e-2, cr = -cos(epsilon$$1 * radians), sr = sin(epsilon$$1 * radians);\n p.radius = function (_) {\n if (!arguments.length)\n return rho * degrees;\n cRho = cos(rho = _ * radians);\n sRho = sin(rho);\n return m(rho, n);\n };\n p.lobes = function (_) {\n if (!arguments.length)\n return n;\n return m(rho, n = +_);\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var i = 0, delta = 2 * pi / n, phi = 0; i < n; ++i, phi -= delta) {\n sphereStream.point(atan2(sr * cos(phi), cr) * degrees, asin(sr * sin(phi)) * degrees);\n sphereStream.point(atan2(sRho * cos(phi - delta / 2), cRho) * degrees, asin(sRho * sin(phi - delta / 2)) * degrees);\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .rotate([90, -40])\n .scale(91.7095)\n .clipAngle(180 - 1e-3);\n };\n var ginzburgPolyconicRaw = function (a, b, c, d, e, f, g, h) {\n if (arguments.length < 8)\n h = 0;\n function forward(lambda, phi) {\n if (!phi)\n return [a * lambda / pi, 0];\n var phi2 = phi * phi, xB = a + phi2 * (b + phi2 * (c + phi2 * d)), yB = phi * (e - 1 + phi2 * (f - h + phi2 * g)), m = (xB * xB + yB * yB) / (2 * yB), alpha = lambda * asin(xB / m) / pi;\n return [m * sin(alpha), phi * (1 + phi2 * h) + m * (1 - cos(alpha))];\n }\n forward.invert = function (x, y) {\n var lambda = pi * x / a, phi = y, deltaLambda, deltaPhi, i = 50;\n do {\n var phi2 = phi * phi, xB = a + phi2 * (b + phi2 * (c + phi2 * d)), yB = phi * (e - 1 + phi2 * (f - h + phi2 * g)), p = xB * xB + yB * yB, q = 2 * yB, m = p / q, m2 = m * m, dAlphadLambda = asin(xB / m) / pi, alpha = lambda * dAlphadLambda, xB2 = xB * xB, dxBdPhi = (2 * b + phi2 * (4 * c + phi2 * 6 * d)) * phi, dyBdPhi = e + phi2 * (3 * f + phi2 * 5 * g), dpdPhi = 2 * (xB * dxBdPhi + yB * (dyBdPhi - 1)), dqdPhi = 2 * (dyBdPhi - 1), dmdPhi = (dpdPhi * q - p * dqdPhi) / (q * q), cosAlpha = cos(alpha), sinAlpha = sin(alpha), mcosAlpha = m * cosAlpha, msinAlpha = m * sinAlpha, dAlphadPhi = ((lambda / pi) * (1 / sqrt(1 - xB2 / m2)) * (dxBdPhi * m - xB * dmdPhi)) / m2, fx = msinAlpha - x, fy = phi * (1 + phi2 * h) + m - mcosAlpha - y, deltaxDeltaPhi = dmdPhi * sinAlpha + mcosAlpha * dAlphadPhi, deltaxDeltaLambda = mcosAlpha * dAlphadLambda, deltayDeltaPhi = 1 + dmdPhi - (dmdPhi * cosAlpha - msinAlpha * dAlphadPhi), deltayDeltaLambda = msinAlpha * dAlphadLambda, denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda;\n if (!denominator)\n break;\n lambda -= deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator;\n phi -= deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return [lambda, phi];\n };\n return forward;\n };\n var ginzburg4Raw = ginzburgPolyconicRaw(2.8284, -1.6988, 0.75432, -0.18071, 1.76003, -0.38914, 0.042555);\n var ginzburg4 = function () {\n return d3Geo.geoProjection(ginzburg4Raw)\n .scale(149.995);\n };\n var ginzburg5Raw = ginzburgPolyconicRaw(2.583819, -0.835827, 0.170354, -0.038094, 1.543313, -0.411435, 0.082742);\n var ginzburg5 = function () {\n return d3Geo.geoProjection(ginzburg5Raw)\n .scale(153.93);\n };\n var ginzburg6Raw = ginzburgPolyconicRaw(5 / 6 * pi, -0.62636, -0.0344, 0, 1.3493, -0.05524, 0, 0.045);\n var ginzburg6 = function () {\n return d3Geo.geoProjection(ginzburg6Raw)\n .scale(130.945);\n };\n function ginzburg8Raw(lambda, phi) {\n var lambda2 = lambda * lambda, phi2 = phi * phi;\n return [\n lambda * (1 - 0.162388 * phi2) * (0.87 - 0.000952426 * lambda2 * lambda2),\n phi * (1 + phi2 / 12)\n ];\n }\n ginzburg8Raw.invert = function (x, y) {\n var lambda = x, phi = y, i = 50, delta;\n do {\n var phi2 = phi * phi;\n phi -= delta = (phi * (1 + phi2 / 12) - y) / (1 + phi2 / 4);\n } while (abs(delta) > epsilon && --i > 0);\n i = 50;\n x /= 1 - 0.162388 * phi2;\n do {\n var lambda4 = (lambda4 = lambda * lambda) * lambda4;\n lambda -= delta = (lambda * (0.87 - 0.000952426 * lambda4) - x) / (0.87 - 0.00476213 * lambda4);\n } while (abs(delta) > epsilon && --i > 0);\n return [lambda, phi];\n };\n var ginzburg8 = function () {\n return d3Geo.geoProjection(ginzburg8Raw)\n .scale(131.747);\n };\n var ginzburg9Raw = ginzburgPolyconicRaw(2.6516, -0.76534, 0.19123, -0.047094, 1.36289, -0.13965, 0.031762);\n var ginzburg9 = function () {\n return d3Geo.geoProjection(ginzburg9Raw)\n .scale(131.087);\n };\n var squareRaw = function (project) {\n var dx = project(halfPi, 0)[0] - project(-halfPi, 0)[0];\n function projectSquare(lambda, phi) {\n var s = lambda > 0 ? -0.5 : 0.5, point = project(lambda + s * pi, phi);\n point[0] -= s * dx;\n return point;\n }\n if (project.invert)\n projectSquare.invert = function (x, y) {\n var s = x > 0 ? -0.5 : 0.5, location = project.invert(x + s * dx, y), lambda = location[0] - s * pi;\n if (lambda < -pi)\n lambda += 2 * pi;\n else if (lambda > pi)\n lambda -= 2 * pi;\n location[0] = lambda;\n return location;\n };\n return projectSquare;\n };\n function gringortenRaw(lambda, phi) {\n var sLambda = sign(lambda), sPhi = sign(phi), cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(sPhi * phi);\n lambda = abs(atan2(y, z));\n phi = asin(x);\n if (abs(lambda - halfPi) > epsilon)\n lambda %= halfPi;\n var point = gringortenHexadecant(lambda > pi / 4 ? halfPi - lambda : lambda, phi);\n if (lambda > pi / 4)\n z = point[0], point[0] = -point[1], point[1] = -z;\n return (point[0] *= sLambda, point[1] *= -sPhi, point);\n }\n gringortenRaw.invert = function (x, y) {\n if (abs(x) > 1)\n x = sign(x) * 2 - x;\n if (abs(y) > 1)\n y = sign(y) * 2 - y;\n var sx = sign(x), sy = sign(y), x0 = -sx * x, y0 = -sy * y, t = y0 / x0 < 1, p = gringortenHexadecantInvert(t ? y0 : x0, t ? x0 : y0), lambda = p[0], phi = p[1], cosPhi = cos(phi);\n if (t)\n lambda = -halfPi - lambda;\n return [sx * (atan2(sin(lambda) * cosPhi, -sin(phi)) + pi), sy * asin(cos(lambda) * cosPhi)];\n };\n function gringortenHexadecant(lambda, phi) {\n if (phi === halfPi)\n return [0, 0];\n var sinPhi = sin(phi), r = sinPhi * sinPhi, r2 = r * r, j = 1 + r2, k = 1 + 3 * r2, q = 1 - r2, z = asin(1 / sqrt(j)), v = q + r * j * z, p2 = (1 - sinPhi) / v, p = sqrt(p2), a2 = p2 * j, a = sqrt(a2), h = p * q, x, i;\n if (lambda === 0)\n return [0, -(h + r * a)];\n var cosPhi = cos(phi), secPhi = 1 / cosPhi, drdPhi = 2 * sinPhi * cosPhi, dvdPhi = (-3 * r + z * k) * drdPhi, dp2dPhi = (-v * cosPhi - (1 - sinPhi) * dvdPhi) / (v * v), dpdPhi = (0.5 * dp2dPhi) / p, dhdPhi = q * dpdPhi - 2 * r * p * drdPhi, dra2dPhi = r * j * dp2dPhi + p2 * k * drdPhi, mu = -secPhi * drdPhi, nu = -secPhi * dra2dPhi, zeta = -2 * secPhi * dhdPhi, lambda1 = 4 * lambda / pi, delta;\n // Slower but accurate bisection method.\n if (lambda > 0.222 * pi || phi < pi / 4 && lambda > 0.175 * pi) {\n x = (h + r * sqrt(a2 * (1 + r2) - h * h)) / (1 + r2);\n if (lambda > pi / 4)\n return [x, x];\n var x1 = x, x0 = 0.5 * x;\n x = 0.5 * (x0 + x1), i = 50;\n do {\n var g = sqrt(a2 - x * x), f = (x * (zeta + mu * g) + nu * asin(x / a)) - lambda1;\n if (!f)\n break;\n if (f < 0)\n x0 = x;\n else\n x1 = x;\n x = 0.5 * (x0 + x1);\n } while (abs(x1 - x0) > epsilon && --i > 0);\n }\n // Newton-Raphson.\n else {\n x = epsilon, i = 25;\n do {\n var x2 = x * x, g2 = sqrt(a2 - x2), zetaMug = zeta + mu * g2, f2 = x * zetaMug + nu * asin(x / a) - lambda1, df = zetaMug + (nu - mu * x2) / g2;\n x -= delta = g2 ? f2 / df : 0;\n } while (abs(delta) > epsilon && --i > 0);\n }\n return [x, -h - r * sqrt(a2 - x * x)];\n }\n function gringortenHexadecantInvert(x, y) {\n var x0 = 0, x1 = 1, r = 0.5, i = 50;\n while (true) {\n var r2 = r * r, sinPhi = sqrt(r), z = asin(1 / sqrt(1 + r2)), v = (1 - r2) + r * (1 + r2) * z, p2 = (1 - sinPhi) / v, p = sqrt(p2), a2 = p2 * (1 + r2), h = p * (1 - r2), g2 = a2 - x * x, g = sqrt(g2), y0 = y + h + r * g;\n if (abs(x1 - x0) < epsilon2 || --i === 0 || y0 === 0)\n break;\n if (y0 > 0)\n x0 = r;\n else\n x1 = r;\n r = 0.5 * (x0 + x1);\n }\n if (!i)\n return null;\n var phi = asin(sinPhi), cosPhi = cos(phi), secPhi = 1 / cosPhi, drdPhi = 2 * sinPhi * cosPhi, dvdPhi = (-3 * r + z * (1 + 3 * r2)) * drdPhi, dp2dPhi = (-v * cosPhi - (1 - sinPhi) * dvdPhi) / (v * v), dpdPhi = 0.5 * dp2dPhi / p, dhdPhi = (1 - r2) * dpdPhi - 2 * r * p * drdPhi, zeta = -2 * secPhi * dhdPhi, mu = -secPhi * drdPhi, nu = -secPhi * (r * (1 + r2) * dp2dPhi + p2 * (1 + 3 * r2) * drdPhi);\n return [pi / 4 * (x * (zeta + mu * g) + nu * asin(x / sqrt(a2))), phi];\n }\n var gringorten = function () {\n return d3Geo.geoProjection(squareRaw(gringortenRaw))\n .scale(239.75);\n };\n // Returns [sn, cn, dn](u + iv|m).\n function ellipticJi(u, v, m) {\n var a, b, c;\n if (!u) {\n b = ellipticJ(v, 1 - m);\n return [\n [0, b[0] / b[1]],\n [1 / b[1], 0],\n [b[2] / b[1], 0]\n ];\n }\n a = ellipticJ(u, m);\n if (!v)\n return [[a[0], 0], [a[1], 0], [a[2], 0]];\n b = ellipticJ(v, 1 - m);\n c = b[1] * b[1] + m * a[0] * a[0] * b[0] * b[0];\n return [\n [a[0] * b[2] / c, a[1] * a[2] * b[0] * b[1] / c],\n [a[1] * b[1] / c, -a[0] * a[2] * b[0] * b[2] / c],\n [a[2] * b[1] * b[2] / c, -m * a[0] * a[1] * b[0] / c]\n ];\n }\n // Returns [sn, cn, dn, ph](u|m).\n function ellipticJ(u, m) {\n var ai, b, phi, t, twon;\n if (m < epsilon) {\n t = sin(u);\n b = cos(u);\n ai = m * (u - t * b) / 4;\n return [\n t - ai * b,\n b + ai * t,\n 1 - m * t * t / 2,\n u - ai\n ];\n }\n if (m >= 1 - epsilon) {\n ai = (1 - m) / 4;\n b = cosh(u);\n t = tanh(u);\n phi = 1 / b;\n twon = b * sinh(u);\n return [\n t + ai * (twon - u) / (b * b),\n phi - ai * t * phi * (twon - u),\n phi + ai * t * phi * (twon + u),\n 2 * atan(exp(u)) - halfPi + ai * (twon - u) / b\n ];\n }\n var a = [1, 0, 0, 0, 0, 0, 0, 0, 0], c = [sqrt(m), 0, 0, 0, 0, 0, 0, 0, 0], i = 0;\n b = sqrt(1 - m);\n twon = 1;\n while (abs(c[i] / a[i]) > epsilon && i < 8) {\n ai = a[i++];\n c[i] = (ai - b) / 2;\n a[i] = (ai + b) / 2;\n b = sqrt(ai * b);\n twon *= 2;\n }\n phi = twon * a[i] * u;\n do {\n t = c[i] * sin(b = phi) / a[i];\n phi = (asin(t) + phi) / 2;\n } while (--i);\n return [sin(phi), t = cos(phi), t / cos(phi - b), phi];\n }\n // Calculate F(phi+iPsi|m).\n // See Abramowitz and Stegun, 17.4.11.\n function ellipticFi(phi, psi, m) {\n var r = abs(phi), i = abs(psi), sinhPsi = sinh(i);\n if (r) {\n var cscPhi = 1 / sin(r), cotPhi2 = 1 / (tan(r) * tan(r)), b = -(cotPhi2 + m * (sinhPsi * sinhPsi * cscPhi * cscPhi) - 1 + m), c = (m - 1) * cotPhi2, cotLambda2 = (-b + sqrt(b * b - 4 * c)) / 2;\n return [\n ellipticF(atan(1 / sqrt(cotLambda2)), m) * sign(phi),\n ellipticF(atan(sqrt((cotLambda2 / cotPhi2 - 1) / m)), 1 - m) * sign(psi)\n ];\n }\n return [\n 0,\n ellipticF(atan(sinhPsi), 1 - m) * sign(psi)\n ];\n }\n // Calculate F(phi|m) where m = k² = sin²α.\n // See Abramowitz and Stegun, 17.6.7.\n function ellipticF(phi, m) {\n if (!m)\n return phi;\n if (m === 1)\n return log(tan(phi / 2 + quarterPi));\n var a = 1, b = sqrt(1 - m), c = sqrt(m);\n for (var i = 0; abs(c) > epsilon; i++) {\n if (phi % pi) {\n var dPhi = atan(b * tan(phi) / a);\n if (dPhi < 0)\n dPhi += pi;\n phi += dPhi + ~~(phi / pi) * pi;\n }\n else\n phi += phi;\n c = (a + b) / 2;\n b = sqrt(a * b);\n c = ((a = c) - b) / 2;\n }\n return phi / (pow(2, i) * a);\n }\n function guyouRaw(lambda, phi) {\n var k_ = (sqrt2 - 1) / (sqrt2 + 1), k = sqrt(1 - k_ * k_), K = ellipticF(halfPi, k * k), f = -1, psi = log(tan(pi / 4 + abs(phi) / 2)), r = exp(f * psi) / sqrt(k_), at = guyouComplexAtan(r * cos(f * lambda), r * sin(f * lambda)), t = ellipticFi(at[0], at[1], k * k);\n return [-t[1], (phi >= 0 ? 1 : -1) * (0.5 * K - t[0])];\n }\n function guyouComplexAtan(x, y) {\n var x2 = x * x, y_1 = y + 1, t = 1 - x2 - y * y;\n return [\n 0.5 * ((x >= 0 ? halfPi : -halfPi) - atan2(t, 2 * x)),\n -0.25 * log(t * t + 4 * x2) + 0.5 * log(y_1 * y_1 + x2)\n ];\n }\n function guyouComplexDivide(a, b) {\n var denominator = b[0] * b[0] + b[1] * b[1];\n return [\n (a[0] * b[0] + a[1] * b[1]) / denominator,\n (a[1] * b[0] - a[0] * b[1]) / denominator\n ];\n }\n guyouRaw.invert = function (x, y) {\n var k_ = (sqrt2 - 1) / (sqrt2 + 1), k = sqrt(1 - k_ * k_), K = ellipticF(halfPi, k * k), f = -1, j = ellipticJi(0.5 * K - y, -x, k * k), tn = guyouComplexDivide(j[0], j[1]), lambda = atan2(tn[1], tn[0]) / f;\n return [\n lambda,\n 2 * atan(exp(0.5 / f * log(k_ * tn[0] * tn[0] + k_ * tn[1] * tn[1]))) - halfPi\n ];\n };\n var guyou = function () {\n return d3Geo.geoProjection(squareRaw(guyouRaw))\n .scale(151.496);\n };\n function hammerRaw(A, B) {\n if (arguments.length < 2)\n B = A;\n if (B === 1)\n return d3Geo.geoAzimuthalEqualAreaRaw;\n if (B === Infinity)\n return hammerQuarticAuthalicRaw;\n function forward(lambda, phi) {\n var coordinates = d3Geo.geoAzimuthalEqualAreaRaw(lambda / B, phi);\n coordinates[0] *= A;\n return coordinates;\n }\n forward.invert = function (x, y) {\n var coordinates = d3Geo.geoAzimuthalEqualAreaRaw.invert(x / A, y);\n coordinates[0] *= B;\n return coordinates;\n };\n return forward;\n }\n function hammerQuarticAuthalicRaw(lambda, phi) {\n return [\n lambda * cos(phi) / cos(phi /= 2),\n 2 * sin(phi)\n ];\n }\n hammerQuarticAuthalicRaw.invert = function (x, y) {\n var phi = 2 * asin(y / 2);\n return [\n x * cos(phi / 2) / cos(phi),\n phi\n ];\n };\n var hammer = function () {\n var B = 2, m = d3Geo.geoProjectionMutator(hammerRaw), p = m(B);\n p.coefficient = function (_) {\n if (!arguments.length)\n return B;\n return m(B = +_);\n };\n return p\n .scale(169.529);\n };\n function hammerRetroazimuthalRaw(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0), rotate = hammerRetroazimuthalRotation(phi0);\n rotate.invert = hammerRetroazimuthalRotation(-phi0);\n function forward(lambda, phi) {\n var p = rotate(lambda, phi);\n lambda = p[0], phi = p[1];\n var sinPhi = sin(phi), cosPhi = cos(phi), cosLambda = cos(lambda), z = acos(sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosLambda), sinz = sin(z), K = abs(sinz) > epsilon ? z / sinz : 1;\n return [\n K * cosPhi0 * sin(lambda),\n (abs(lambda) > halfPi ? K : -K) // rotate for back hemisphere\n * (sinPhi0 * cosPhi - cosPhi0 * sinPhi * cosLambda)\n ];\n }\n forward.invert = function (x, y) {\n var rho = sqrt(x * x + y * y), sinz = -sin(rho), cosz = cos(rho), a = rho * cosz, b = -y * sinz, c = rho * sinPhi0, d = sqrt(a * a + b * b - c * c), phi = atan2(a * c + b * d, b * c - a * d), lambda = (rho > halfPi ? -1 : 1) * atan2(x * sinz, rho * cos(phi) * cosz + y * sin(phi) * sinz);\n return rotate.invert(lambda, phi);\n };\n return forward;\n }\n // Latitudinal rotation by phi0.\n // Temporary hack until D3 supports arbitrary small-circle clipping origins.\n function hammerRetroazimuthalRotation(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n return function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi);\n return [\n atan2(y, x * cosPhi0 - z * sinPhi0),\n asin(z * cosPhi0 + x * sinPhi0)\n ];\n };\n }\n var hammerRetroazimuthal = function () {\n var phi0 = 0, m = d3Geo.geoProjectionMutator(hammerRetroazimuthalRaw), p = m(phi0), rotate_ = p.rotate, stream_ = p.stream, circle = d3Geo.geoCircle();\n p.parallel = function (_) {\n if (!arguments.length)\n return phi0 * degrees;\n var r = p.rotate();\n return m(phi0 = _ * radians).rotate(r);\n };\n // Temporary hack; see hammerRetroazimuthalRotation.\n p.rotate = function (_) {\n if (!arguments.length)\n return (_ = rotate_.call(p), _[1] += phi0 * degrees, _);\n rotate_.call(p, [_[0], _[1] - phi0 * degrees]);\n circle.center([-_[0], -_[1]]);\n return p;\n };\n p.stream = function (stream) {\n stream = stream_(stream);\n stream.sphere = function () {\n stream.polygonStart();\n var epsilon$$1 = 1e-2, ring = circle.radius(90 - epsilon$$1)().coordinates[0], n = ring.length - 1, i = -1, p;\n stream.lineStart();\n while (++i < n)\n stream.point((p = ring[i])[0], p[1]);\n stream.lineEnd();\n ring = circle.radius(90 + epsilon$$1)().coordinates[0];\n n = ring.length - 1;\n stream.lineStart();\n while (--i >= 0)\n stream.point((p = ring[i])[0], p[1]);\n stream.lineEnd();\n stream.polygonEnd();\n };\n return stream;\n };\n return p\n .scale(79.4187)\n .parallel(45)\n .clipAngle(180 - 1e-3);\n };\n var healpixParallel = 41 + 48 / 36 + 37 / 3600;\n var healpixLambert = cylindricalEqualAreaRaw(0);\n function healpixRaw(H) {\n var phi0 = healpixParallel * radians, dx = collignonRaw(pi, phi0)[0] - collignonRaw(-pi, phi0)[0], y0 = healpixLambert(0, phi0)[1], y1 = collignonRaw(0, phi0)[1], dy1 = sqrtPi - y1, k = tau / H, w = 4 / tau, h = y0 + (dy1 * dy1 * 4) / tau;\n function forward(lambda, phi) {\n var point, phi2 = abs(phi);\n if (phi2 > phi0) {\n var i = min(H - 1, max(0, floor((lambda + pi) / k)));\n lambda += pi * (H - 1) / H - i * k;\n point = collignonRaw(lambda, phi2);\n point[0] = point[0] * tau / dx - tau * (H - 1) / (2 * H) + i * tau / H;\n point[1] = y0 + (point[1] - y1) * 4 * dy1 / tau;\n if (phi < 0)\n point[1] = -point[1];\n }\n else {\n point = healpixLambert(lambda, phi);\n }\n point[0] *= w, point[1] /= h;\n return point;\n }\n forward.invert = function (x, y) {\n x /= w, y *= h;\n var y2 = abs(y);\n if (y2 > y0) {\n var i = min(H - 1, max(0, floor((x + pi) / k)));\n x = (x + pi * (H - 1) / H - i * k) * dx / tau;\n var point = collignonRaw.invert(x, 0.25 * (y2 - y0) * tau / dy1 + y1);\n point[0] -= pi * (H - 1) / H - i * k;\n if (y < 0)\n point[1] = -point[1];\n return point;\n }\n return healpixLambert.invert(x, y);\n };\n return forward;\n }\n function sphere(step) {\n return {\n type: \"Polygon\",\n coordinates: [\n d3Array.range(-180, 180 + step / 2, step).map(function (x, i) { return [x, i & 1 ? 90 - 1e-6 : healpixParallel]; })\n .concat(d3Array.range(180, -180 - step / 2, -step).map(function (x, i) { return [x, i & 1 ? -90 + 1e-6 : -healpixParallel]; }))\n ]\n };\n }\n var healpix = function () {\n var H = 4, m = d3Geo.geoProjectionMutator(healpixRaw), p = m(H), stream_ = p.stream;\n p.lobes = function (_) {\n return arguments.length ? m(H = +_) : H;\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () { d3Geo.geoStream(sphere(180 / H), sphereStream); };\n return rotateStream;\n };\n return p\n .scale(239.75);\n };\n function hillRaw(K) {\n var L = 1 + K, sinBt = sin(1 / L), Bt = asin(sinBt), A = 2 * sqrt(pi / (B = pi + 4 * Bt * L)), B, rho0 = 0.5 * A * (L + sqrt(K * (2 + K))), K2 = K * K, L2 = L * L;\n function forward(lambda, phi) {\n var t = 1 - sin(phi), rho, omega;\n if (t && t < 2) {\n var theta = halfPi - phi, i = 25, delta;\n do {\n var sinTheta = sin(theta), cosTheta = cos(theta), Bt_Bt1 = Bt + atan2(sinTheta, L - cosTheta), C = 1 + L2 - 2 * L * cosTheta;\n theta -= delta = (theta - K2 * Bt - L * sinTheta + C * Bt_Bt1 - 0.5 * t * B) / (2 * L * sinTheta * Bt_Bt1);\n } while (abs(delta) > epsilon2 && --i > 0);\n rho = A * sqrt(C);\n omega = lambda * Bt_Bt1 / pi;\n }\n else {\n rho = A * (K + t);\n omega = lambda * Bt / pi;\n }\n return [\n rho * sin(omega),\n rho0 - rho * cos(omega)\n ];\n }\n forward.invert = function (x, y) {\n var rho2 = x * x + (y -= rho0) * y, cosTheta = (1 + L2 - rho2 / (A * A)) / (2 * L), theta = acos(cosTheta), sinTheta = sin(theta), Bt_Bt1 = Bt + atan2(sinTheta, L - cosTheta);\n return [\n asin(x / sqrt(rho2)) * pi / Bt_Bt1,\n asin(1 - 2 * (theta - K2 * Bt - L * sinTheta + (1 + L2 - 2 * L * cosTheta) * Bt_Bt1) / B)\n ];\n };\n return forward;\n }\n var hill = function () {\n var K = 1, m = d3Geo.geoProjectionMutator(hillRaw), p = m(K);\n p.ratio = function (_) {\n return arguments.length ? m(K = +_) : K;\n };\n return p\n .scale(167.774)\n .center([0, 18.67]);\n };\n var sinuMollweidePhi = 0.7109889596207567;\n var sinuMollweideY = 0.0528035274542;\n function sinuMollweideRaw(lambda, phi) {\n return phi > -sinuMollweidePhi\n ? (lambda = mollweideRaw(lambda, phi), lambda[1] += sinuMollweideY, lambda)\n : sinusoidalRaw(lambda, phi);\n }\n sinuMollweideRaw.invert = function (x, y) {\n return y > -sinuMollweidePhi\n ? mollweideRaw.invert(x, y - sinuMollweideY)\n : sinusoidalRaw.invert(x, y);\n };\n var sinuMollweide = function () {\n return d3Geo.geoProjection(sinuMollweideRaw)\n .rotate([-20, -55])\n .scale(164.263)\n .center([0, -5.4036]);\n };\n function homolosineRaw(lambda, phi) {\n return abs(phi) > sinuMollweidePhi\n ? (lambda = mollweideRaw(lambda, phi), lambda[1] -= phi > 0 ? sinuMollweideY : -sinuMollweideY, lambda)\n : sinusoidalRaw(lambda, phi);\n }\n homolosineRaw.invert = function (x, y) {\n return abs(y) > sinuMollweidePhi\n ? mollweideRaw.invert(x, y + (y > 0 ? sinuMollweideY : -sinuMollweideY))\n : sinusoidalRaw.invert(x, y);\n };\n var homolosine = function () {\n return d3Geo.geoProjection(homolosineRaw)\n .scale(152.63);\n };\n function pointEqual(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n }\n function interpolateLine(coordinates, m) {\n var i = -1, n = coordinates.length, p0 = coordinates[0], p1, dx, dy, resampled = [];\n while (++i < n) {\n p1 = coordinates[i];\n dx = (p1[0] - p0[0]) / m;\n dy = (p1[1] - p0[1]) / m;\n for (var j = 0; j < m; ++j)\n resampled.push([p0[0] + j * dx, p0[1] + j * dy]);\n p0 = p1;\n }\n resampled.push(p1);\n return resampled;\n }\n function interpolateSphere(lobes) {\n var coordinates = [], lobe, lambda0, phi0, phi1, lambda2, phi2, i, n = lobes[0].length;\n // Northern Hemisphere\n for (i = 0; i < n; ++i) {\n lobe = lobes[0][i];\n lambda0 = lobe[0][0], phi0 = lobe[0][1], phi1 = lobe[1][1];\n lambda2 = lobe[2][0], phi2 = lobe[2][1];\n coordinates.push(interpolateLine([\n [lambda0 + epsilon, phi0 + epsilon],\n [lambda0 + epsilon, phi1 - epsilon],\n [lambda2 - epsilon, phi1 - epsilon],\n [lambda2 - epsilon, phi2 + epsilon]\n ], 30));\n }\n // Southern Hemisphere\n for (i = lobes[1].length - 1; i >= 0; --i) {\n lobe = lobes[1][i];\n lambda0 = lobe[0][0], phi0 = lobe[0][1], phi1 = lobe[1][1];\n lambda2 = lobe[2][0], phi2 = lobe[2][1];\n coordinates.push(interpolateLine([\n [lambda2 - epsilon, phi2 - epsilon],\n [lambda2 - epsilon, phi1 + epsilon],\n [lambda0 + epsilon, phi1 + epsilon],\n [lambda0 + epsilon, phi0 - epsilon]\n ], 30));\n }\n return {\n type: \"Polygon\",\n coordinates: [d3Array.merge(coordinates)]\n };\n }\n var interrupt = function (project, lobes) {\n var sphere = interpolateSphere(lobes);\n lobes = lobes.map(function (lobe) {\n return lobe.map(function (l) {\n return [\n [l[0][0] * radians, l[0][1] * radians],\n [l[1][0] * radians, l[1][1] * radians],\n [l[2][0] * radians, l[2][1] * radians]\n ];\n });\n });\n var bounds = lobes.map(function (lobe) {\n return lobe.map(function (l) {\n var x0 = project(l[0][0], l[0][1])[0], x1 = project(l[2][0], l[2][1])[0], y0 = project(l[1][0], l[0][1])[1], y1 = project(l[1][0], l[1][1])[1], t;\n if (y0 > y1)\n t = y0, y0 = y1, y1 = t;\n return [[x0, y0], [x1, y1]];\n });\n });\n function forward(lambda, phi) {\n var sign$$1 = phi < 0 ? -1 : +1, lobe = lobes[+(phi < 0)];\n for (var i = 0, n = lobe.length - 1; i < n && lambda > lobe[i][2][0]; ++i)\n ;\n var p = project(lambda - lobe[i][1][0], phi);\n p[0] += project(lobe[i][1][0], sign$$1 * phi > sign$$1 * lobe[i][0][1] ? lobe[i][0][1] : phi)[0];\n return p;\n }\n // Assumes mutually exclusive bounding boxes for lobes.\n if (project.invert)\n forward.invert = function (x, y) {\n var bound = bounds[+(y < 0)], lobe = lobes[+(y < 0)];\n for (var i = 0, n = bound.length; i < n; ++i) {\n var b = bound[i];\n if (b[0][0] <= x && x < b[1][0] && b[0][1] <= y && y < b[1][1]) {\n var p = project.invert(x - project(lobe[i][1][0], 0)[0], y);\n p[0] += lobe[i][1][0];\n return pointEqual(forward(p[0], p[1]), [x, y]) ? p : null;\n }\n }\n };\n var p = d3Geo.geoProjection(forward), stream_ = p.stream;\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () { d3Geo.geoStream(sphere, sphereStream); };\n return rotateStream;\n };\n return p;\n };\n var lobes = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var boggs$1 = function () {\n return interrupt(boggsRaw, lobes)\n .scale(160.857);\n };\n var lobes$1 = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var homolosine$1 = function () {\n return interrupt(homolosineRaw, lobes$1)\n .scale(152.63);\n };\n var lobes$2 = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var mollweide$1 = function () {\n return interrupt(mollweideRaw, lobes$2)\n .scale(169.529);\n };\n var lobes$3 = [[\n [[-180, 0], [-90, 90], [0, 0]],\n [[0, 0], [90, 90], [180, 0]]\n ], [\n [[-180, 0], [-90, -90], [0, 0]],\n [[0, 0], [90, -90], [180, 0]]\n ]];\n var mollweideHemispheres = function () {\n return interrupt(mollweideRaw, lobes$3)\n .scale(169.529)\n .rotate([20, 0]);\n };\n var lobes$4 = [[\n [[-180, 35], [-30, 90], [0, 35]],\n [[0, 35], [30, 90], [180, 35]]\n ], [\n [[-180, -10], [-102, -90], [-65, -10]],\n [[-65, -10], [5, -90], [77, -10]],\n [[77, -10], [103, -90], [180, -10]]\n ]];\n var sinuMollweide$1 = function () {\n return interrupt(sinuMollweideRaw, lobes$4)\n .rotate([-20, -55])\n .scale(164.263)\n .center([0, -5.4036]);\n };\n var lobes$5 = [[\n [[-180, 0], [-110, 90], [-40, 0]],\n [[-40, 0], [0, 90], [40, 0]],\n [[40, 0], [110, 90], [180, 0]]\n ], [\n [[-180, 0], [-110, -90], [-40, 0]],\n [[-40, 0], [0, -90], [40, 0]],\n [[40, 0], [110, -90], [180, 0]]\n ]];\n var sinusoidal$1 = function () {\n return interrupt(sinusoidalRaw, lobes$5)\n .scale(152.63)\n .rotate([-20, 0]);\n };\n function kavrayskiy7Raw(lambda, phi) {\n return [3 / tau * lambda * sqrt(pi * pi / 3 - phi * phi), phi];\n }\n kavrayskiy7Raw.invert = function (x, y) {\n return [tau / 3 * x / sqrt(pi * pi / 3 - y * y), y];\n };\n var kavrayskiy7 = function () {\n return d3Geo.geoProjection(kavrayskiy7Raw)\n .scale(158.837);\n };\n function lagrangeRaw(n) {\n function forward(lambda, phi) {\n if (abs(abs(phi) - halfPi) < epsilon)\n return [0, phi < 0 ? -2 : 2];\n var sinPhi = sin(phi), v = pow((1 + sinPhi) / (1 - sinPhi), n / 2), c = 0.5 * (v + 1 / v) + cos(lambda *= n);\n return [\n 2 * sin(lambda) / c,\n (v - 1 / v) / c\n ];\n }\n forward.invert = function (x, y) {\n var y0 = abs(y);\n if (abs(y0 - 2) < epsilon)\n return x ? null : [0, sign(y) * halfPi];\n if (y0 > 2)\n return null;\n x /= 2, y /= 2;\n var x2 = x * x, y2 = y * y, t = 2 * y / (1 + x2 + y2); // tanh(nPhi)\n t = pow((1 + t) / (1 - t), 1 / n);\n return [\n atan2(2 * x, 1 - x2 - y2) / n,\n asin((t - 1) / (t + 1))\n ];\n };\n return forward;\n }\n var lagrange = function () {\n var n = 0.5, m = d3Geo.geoProjectionMutator(lagrangeRaw), p = m(n);\n p.spacing = function (_) {\n return arguments.length ? m(n = +_) : n;\n };\n return p\n .scale(124.75);\n };\n var pi_sqrt2 = pi / sqrt2;\n function larriveeRaw(lambda, phi) {\n return [\n lambda * (1 + sqrt(cos(phi))) / 2,\n phi / (cos(phi / 2) * cos(lambda / 6))\n ];\n }\n larriveeRaw.invert = function (x, y) {\n var x0 = abs(x), y0 = abs(y), lambda = epsilon, phi = halfPi;\n if (y0 < pi_sqrt2)\n phi *= y0 / pi_sqrt2;\n else\n lambda += 6 * acos(pi_sqrt2 / y0);\n for (var i = 0; i < 25; i++) {\n var sinPhi = sin(phi), sqrtcosPhi = sqrt(cos(phi)), sinPhi_2 = sin(phi / 2), cosPhi_2 = cos(phi / 2), sinLambda_6 = sin(lambda / 6), cosLambda_6 = cos(lambda / 6), f0 = 0.5 * lambda * (1 + sqrtcosPhi) - x0, f1 = phi / (cosPhi_2 * cosLambda_6) - y0, df0dPhi = sqrtcosPhi ? -0.25 * lambda * sinPhi / sqrtcosPhi : 0, df0dLambda = 0.5 * (1 + sqrtcosPhi), df1dPhi = (1 + 0.5 * phi * sinPhi_2 / cosPhi_2) / (cosPhi_2 * cosLambda_6), df1dLambda = (phi / cosPhi_2) * (sinLambda_6 / 6) / (cosLambda_6 * cosLambda_6), denom = df0dPhi * df1dLambda - df1dPhi * df0dLambda, dPhi = (f0 * df1dLambda - f1 * df0dLambda) / denom, dLambda = (f1 * df0dPhi - f0 * df1dPhi) / denom;\n phi -= dPhi;\n lambda -= dLambda;\n if (abs(dPhi) < epsilon && abs(dLambda) < epsilon)\n break;\n }\n return [x < 0 ? -lambda : lambda, y < 0 ? -phi : phi];\n };\n var larrivee = function () {\n return d3Geo.geoProjection(larriveeRaw)\n .scale(97.2672);\n };\n function laskowskiRaw(lambda, phi) {\n var lambda2 = lambda * lambda, phi2 = phi * phi;\n return [\n lambda * (0.975534 + phi2 * (-0.119161 + lambda2 * -0.0143059 + phi2 * -0.0547009)),\n phi * (1.00384 + lambda2 * (0.0802894 + phi2 * -0.02855 + lambda2 * 0.000199025) + phi2 * (0.0998909 + phi2 * -0.0491032))\n ];\n }\n laskowskiRaw.invert = function (x, y) {\n var lambda = sign(x) * pi, phi = y / 2, i = 50;\n do {\n var lambda2 = lambda * lambda, phi2 = phi * phi, lambdaPhi = lambda * phi, fx = lambda * (0.975534 + phi2 * (-0.119161 + lambda2 * -0.0143059 + phi2 * -0.0547009)) - x, fy = phi * (1.00384 + lambda2 * (0.0802894 + phi2 * -0.02855 + lambda2 * 0.000199025) + phi2 * (0.0998909 + phi2 * -0.0491032)) - y, deltaxDeltaLambda = 0.975534 - phi2 * (0.119161 + 3 * lambda2 * 0.0143059 + phi2 * 0.0547009), deltaxDeltaPhi = -lambdaPhi * (2 * 0.119161 + 4 * 0.0547009 * phi2 + 2 * 0.0143059 * lambda2), deltayDeltaLambda = lambdaPhi * (2 * 0.0802894 + 4 * 0.000199025 * lambda2 + 2 * -0.02855 * phi2), deltayDeltaPhi = 1.00384 + lambda2 * (0.0802894 + 0.000199025 * lambda2) + phi2 * (3 * (0.0998909 - 0.02855 * lambda2) - 5 * 0.0491032 * phi2), denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda, deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator, deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n lambda -= deltaLambda, phi -= deltaPhi;\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return i && [lambda, phi];\n };\n var laskowski = function () {\n return d3Geo.geoProjection(laskowskiRaw)\n .scale(139.98);\n };\n function littrowRaw(lambda, phi) {\n return [\n sin(lambda) / cos(phi),\n tan(phi) * cos(lambda)\n ];\n }\n littrowRaw.invert = function (x, y) {\n var x2 = x * x, y2 = y * y, y2_1 = y2 + 1, cosPhi = x\n ? sqrt1_2 * sqrt((y2_1 - sqrt(x2 * x2 + 2 * x2 * (y2 - 1) + y2_1 * y2_1)) / x2 + 1)\n : 1 / sqrt(y2_1);\n return [\n asin(x * cosPhi),\n sign(y) * acos(cosPhi)\n ];\n };\n var littrow = function () {\n return d3Geo.geoProjection(littrowRaw)\n .scale(144.049)\n .clipAngle(90 - 1e-3);\n };\n function loximuthalRaw(phi0) {\n var cosPhi0 = cos(phi0), tanPhi0 = tan(quarterPi + phi0 / 2);\n function forward(lambda, phi) {\n var y = phi - phi0, x = abs(y) < epsilon ? lambda * cosPhi0\n : abs(x = quarterPi + phi / 2) < epsilon || abs(abs(x) - halfPi) < epsilon\n ? 0 : lambda * y / log(tan(x) / tanPhi0);\n return [x, y];\n }\n forward.invert = function (x, y) {\n var lambda, phi = y + phi0;\n return [\n abs(y) < epsilon ? x / cosPhi0\n : (abs(lambda = quarterPi + phi / 2) < epsilon || abs(abs(lambda) - halfPi) < epsilon) ? 0\n : x * log(tan(lambda) / tanPhi0) / y,\n phi\n ];\n };\n return forward;\n }\n var loximuthal = function () {\n return parallel1(loximuthalRaw)\n .parallel(40)\n .scale(158.837);\n };\n function millerRaw(lambda, phi) {\n return [lambda, 1.25 * log(tan(quarterPi + 0.4 * phi))];\n }\n millerRaw.invert = function (x, y) {\n return [x, 2.5 * atan(exp(0.8 * y)) - 0.625 * pi];\n };\n var miller = function () {\n return d3Geo.geoProjection(millerRaw)\n .scale(108.318);\n };\n function modifiedStereographicRaw(C) {\n var m = C.length - 1;\n function forward(lambda, phi) {\n var cosPhi = cos(phi), k = 2 / (1 + cosPhi * cos(lambda)), zr = k * cosPhi * sin(lambda), zi = k * sin(phi), i = m, w = C[i], ar = w[0], ai = w[1], t;\n while (--i >= 0) {\n w = C[i];\n ar = w[0] + zr * (t = ar) - zi * ai;\n ai = w[1] + zr * ai + zi * t;\n }\n ar = zr * (t = ar) - zi * ai;\n ai = zr * ai + zi * t;\n return [ar, ai];\n }\n forward.invert = function (x, y) {\n var i = 20, zr = x, zi = y;\n do {\n var j = m, w = C[j], ar = w[0], ai = w[1], br = 0, bi = 0, t;\n while (--j >= 0) {\n w = C[j];\n br = ar + zr * (t = br) - zi * bi;\n bi = ai + zr * bi + zi * t;\n ar = w[0] + zr * (t = ar) - zi * ai;\n ai = w[1] + zr * ai + zi * t;\n }\n br = ar + zr * (t = br) - zi * bi;\n bi = ai + zr * bi + zi * t;\n ar = zr * (t = ar) - zi * ai - x;\n ai = zr * ai + zi * t - y;\n var denominator = br * br + bi * bi, deltar, deltai;\n zr -= deltar = (ar * br + ai * bi) / denominator;\n zi -= deltai = (ai * br - ar * bi) / denominator;\n } while (abs(deltar) + abs(deltai) > epsilon * epsilon && --i > 0);\n if (i) {\n var rho = sqrt(zr * zr + zi * zi), c = 2 * atan(rho * 0.5), sinc = sin(c);\n return [atan2(zr * sinc, rho * cos(c)), rho ? asin(zi * sinc / rho) : 0];\n }\n };\n return forward;\n }\n var alaska = [[0.9972523, 0], [0.0052513, -0.0041175], [0.0074606, 0.0048125], [-0.0153783, -0.1968253], [0.0636871, -0.1408027], [0.3660976, -0.2937382]];\n var gs48 = [[0.98879, 0], [0, 0], [-0.050909, 0], [0, 0], [0.075528, 0]];\n var gs50 = [[0.9842990, 0], [0.0211642, 0.0037608], [-0.1036018, -0.0575102], [-0.0329095, -0.0320119], [0.0499471, 0.1223335], [0.0260460, 0.0899805], [0.0007388, -0.1435792], [0.0075848, -0.1334108], [-0.0216473, 0.0776645], [-0.0225161, 0.0853673]];\n var miller$1 = [[0.9245, 0], [0, 0], [0.01943, 0]];\n var lee = [[0.721316, 0], [0, 0], [-0.00881625, -0.00617325]];\n function modifiedStereographicAlaska() {\n return modifiedStereographic(alaska, [152, -64])\n .scale(1500)\n .center([-160.908, 62.4864])\n .clipAngle(25);\n }\n function modifiedStereographicGs48() {\n return modifiedStereographic(gs48, [95, -38])\n .scale(1000)\n .clipAngle(55)\n .center([-96.5563, 38.8675]);\n }\n function modifiedStereographicGs50() {\n return modifiedStereographic(gs50, [120, -45])\n .scale(359.513)\n .clipAngle(55)\n .center([-117.474, 53.0628]);\n }\n function modifiedStereographicMiller() {\n return modifiedStereographic(miller$1, [-20, -18])\n .scale(209.091)\n .center([20, 16.7214])\n .clipAngle(82);\n }\n function modifiedStereographicLee() {\n return modifiedStereographic(lee, [165, 10])\n .scale(250)\n .clipAngle(130)\n .center([-165, -10]);\n }\n function modifiedStereographic(coefficients, rotate) {\n var p = d3Geo.geoProjection(modifiedStereographicRaw(coefficients)).rotate(rotate).clipAngle(90), r = d3Geo.geoRotation(rotate), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p;\n }\n var sqrt6 = sqrt(6);\n var sqrt7 = sqrt(7);\n function mtFlatPolarParabolicRaw(lambda, phi) {\n var theta = asin(7 * sin(phi) / (3 * sqrt6));\n return [\n sqrt6 * lambda * (2 * cos(2 * theta / 3) - 1) / sqrt7,\n 9 * sin(theta / 3) / sqrt7\n ];\n }\n mtFlatPolarParabolicRaw.invert = function (x, y) {\n var theta = 3 * asin(y * sqrt7 / 9);\n return [\n x * sqrt7 / (sqrt6 * (2 * cos(2 * theta / 3) - 1)),\n asin(sin(theta) * 3 * sqrt6 / 7)\n ];\n };\n var mtFlatPolarParabolic = function () {\n return d3Geo.geoProjection(mtFlatPolarParabolicRaw)\n .scale(164.859);\n };\n function mtFlatPolarQuarticRaw(lambda, phi) {\n var k = (1 + sqrt1_2) * sin(phi), theta = phi;\n for (var i = 0, delta; i < 25; i++) {\n theta -= delta = (sin(theta / 2) + sin(theta) - k) / (0.5 * cos(theta / 2) + cos(theta));\n if (abs(delta) < epsilon)\n break;\n }\n return [\n lambda * (1 + 2 * cos(theta) / cos(theta / 2)) / (3 * sqrt2),\n 2 * sqrt(3) * sin(theta / 2) / sqrt(2 + sqrt2)\n ];\n }\n mtFlatPolarQuarticRaw.invert = function (x, y) {\n var sinTheta_2 = y * sqrt(2 + sqrt2) / (2 * sqrt(3)), theta = 2 * asin(sinTheta_2);\n return [\n 3 * sqrt2 * x / (1 + 2 * cos(theta) / cos(theta / 2)),\n asin((sinTheta_2 + sin(theta)) / (1 + sqrt1_2))\n ];\n };\n var mtFlatPolarQuartic = function () {\n return d3Geo.geoProjection(mtFlatPolarQuarticRaw)\n .scale(188.209);\n };\n function mtFlatPolarSinusoidalRaw(lambda, phi) {\n var A = sqrt(6 / (4 + pi)), k = (1 + pi / 4) * sin(phi), theta = phi / 2;\n for (var i = 0, delta; i < 25; i++) {\n theta -= delta = (theta / 2 + sin(theta) - k) / (0.5 + cos(theta));\n if (abs(delta) < epsilon)\n break;\n }\n return [\n A * (0.5 + cos(theta)) * lambda / 1.5,\n A * theta\n ];\n }\n mtFlatPolarSinusoidalRaw.invert = function (x, y) {\n var A = sqrt(6 / (4 + pi)), theta = y / A;\n if (abs(abs(theta) - halfPi) < epsilon)\n theta = theta < 0 ? -halfPi : halfPi;\n return [\n 1.5 * x / (A * (0.5 + cos(theta))),\n asin((theta / 2 + sin(theta)) / (1 + pi / 4))\n ];\n };\n var mtFlatPolarSinusoidal = function () {\n return d3Geo.geoProjection(mtFlatPolarSinusoidalRaw)\n .scale(166.518);\n };\n function naturalEarthRaw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n }\n naturalEarthRaw.invert = function (x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n };\n var naturalEarth = function () {\n return d3Geo.geoProjection(naturalEarthRaw)\n .scale(175.295);\n };\n function naturalEarth2Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2, phi6 = phi2 * phi4;\n return [\n lambda * (0.84719 - 0.13063 * phi2 + phi6 * phi6 * (-0.04515 + 0.05494 * phi2 - 0.02326 * phi4 + 0.00331 * phi6)),\n phi * (1.01183 + phi4 * phi4 * (-0.02625 + 0.01926 * phi2 - 0.00396 * phi4))\n ];\n }\n naturalEarth2Raw.invert = function (x, y) {\n var phi = y, i = 25, delta, phi2, phi4, phi6;\n do {\n phi2 = phi * phi;\n phi4 = phi2 * phi2;\n phi -= delta = ((phi * (1.01183 + phi4 * phi4 * (-0.02625 + 0.01926 * phi2 - 0.00396 * phi4))) - y) /\n (1.01183 + phi4 * phi4 * ((9 * -0.02625) + (11 * 0.01926) * phi2 + (13 * -0.00396) * phi4));\n } while (abs(delta) > epsilon2 && --i > 0);\n phi2 = phi * phi;\n phi4 = phi2 * phi2;\n phi6 = phi2 * phi4;\n return [\n x / (0.84719 - 0.13063 * phi2 + phi6 * phi6 * (-0.04515 + 0.05494 * phi2 - 0.02326 * phi4 + 0.00331 * phi6)),\n phi\n ];\n };\n var naturalEarth2 = function () {\n return d3Geo.geoProjection(naturalEarth2Raw)\n .scale(175.295);\n };\n function nellHammerRaw(lambda, phi) {\n return [\n lambda * (1 + cos(phi)) / 2,\n 2 * (phi - tan(phi / 2))\n ];\n }\n nellHammerRaw.invert = function (x, y) {\n var p = y / 2;\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; ++i) {\n var c = cos(y / 2);\n y -= delta = (y - tan(y / 2) - p) / (1 - 0.5 / (c * c));\n }\n return [\n 2 * x / (1 + cos(y)),\n y\n ];\n };\n var nellHammer = function () {\n return d3Geo.geoProjection(nellHammerRaw)\n .scale(152.63);\n };\n // Based on Java implementation by Bojan Savric.\n // https://github.com/OSUCartography/JMapProjLib/blob/master/src/com/jhlabs/map/proj/PattersonProjection.java\n var pattersonK1 = 1.0148;\n var pattersonK2 = 0.23185;\n var pattersonK3 = -0.14499;\n var pattersonK4 = 0.02406;\n var pattersonC1 = pattersonK1;\n var pattersonC2 = 5 * pattersonK2;\n var pattersonC3 = 7 * pattersonK3;\n var pattersonC4 = 9 * pattersonK4;\n var pattersonYmax = 1.790857183;\n function pattersonRaw(lambda, phi) {\n var phi2 = phi * phi;\n return [\n lambda,\n phi * (pattersonK1 + phi2 * phi2 * (pattersonK2 + phi2 * (pattersonK3 + pattersonK4 * phi2)))\n ];\n }\n pattersonRaw.invert = function (x, y) {\n if (y > pattersonYmax)\n y = pattersonYmax;\n else if (y < -pattersonYmax)\n y = -pattersonYmax;\n var yc = y, delta;\n do { // Newton-Raphson\n var y2 = yc * yc;\n yc -= delta = ((yc * (pattersonK1 + y2 * y2 * (pattersonK2 + y2 * (pattersonK3 + pattersonK4 * y2)))) - y) / (pattersonC1 + y2 * y2 * (pattersonC2 + y2 * (pattersonC3 + pattersonC4 * y2)));\n } while (abs(delta) > epsilon);\n return [x, yc];\n };\n var patterson = function () {\n return d3Geo.geoProjection(pattersonRaw)\n .scale(139.319);\n };\n function polyconicRaw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var tanPhi = tan(phi), k = lambda * sin(phi);\n return [\n sin(k) / tanPhi,\n phi + (1 - cos(k)) / tanPhi\n ];\n }\n polyconicRaw.invert = function (x, y) {\n if (abs(y) < epsilon)\n return [x, 0];\n var k = x * x + y * y, phi = y * 0.5, i = 10, delta;\n do {\n var tanPhi = tan(phi), secPhi = 1 / cos(phi), j = k - 2 * y * phi + phi * phi;\n phi -= delta = (tanPhi * j + 2 * (phi - y)) / (2 + j * secPhi * secPhi + 2 * (phi - y) * tanPhi);\n } while (abs(delta) > epsilon && --i > 0);\n tanPhi = tan(phi);\n return [\n (abs(y) < abs(phi + 1 / tanPhi) ? asin(x * tanPhi) : sign(x) * (acos(abs(x * tanPhi)) + halfPi)) / sin(phi),\n phi\n ];\n };\n var polyconic = function () {\n return d3Geo.geoProjection(polyconicRaw)\n .scale(103.74);\n };\n // Note: 6-element arrays are used to denote the 3x3 affine transform matrix:\n // [a, b, c,\n // d, e, f,\n // 0, 0, 1] - this redundant row is left out.\n // Transform matrix for [a0, a1] -> [b0, b1].\n var matrix = function (a, b) {\n var u = subtract(a[1], a[0]), v = subtract(b[1], b[0]), phi = angle$1(u, v), s = length(u) / length(v);\n return multiply([\n 1, 0, a[0][0],\n 0, 1, a[0][1]\n ], multiply([\n s, 0, 0,\n 0, s, 0\n ], multiply([\n cos(phi), sin(phi), 0,\n -sin(phi), cos(phi), 0\n ], [\n 1, 0, -b[0][0],\n 0, 1, -b[0][1]\n ])));\n };\n // Inverts a transform matrix.\n function inverse(m) {\n var k = 1 / (m[0] * m[4] - m[1] * m[3]);\n return [\n k * m[4], -k * m[1], k * (m[1] * m[5] - m[2] * m[4]),\n -k * m[3], k * m[0], k * (m[2] * m[3] - m[0] * m[5])\n ];\n }\n // Multiplies two 3x2 matrices.\n function multiply(a, b) {\n return [\n a[0] * b[0] + a[1] * b[3],\n a[0] * b[1] + a[1] * b[4],\n a[0] * b[2] + a[1] * b[5] + a[2],\n a[3] * b[0] + a[4] * b[3],\n a[3] * b[1] + a[4] * b[4],\n a[3] * b[2] + a[4] * b[5] + a[5]\n ];\n }\n // Subtracts 2D vectors.\n function subtract(a, b) {\n return [a[0] - b[0], a[1] - b[1]];\n }\n // Magnitude of a 2D vector.\n function length(v) {\n return sqrt(v[0] * v[0] + v[1] * v[1]);\n }\n // Angle between two 2D vectors.\n function angle$1(a, b) {\n return atan2(a[0] * b[1] - a[1] * b[0], a[0] * b[0] + a[1] * b[1]);\n }\n // Creates a polyhedral projection.\n // * root: a spanning tree of polygon faces. Nodes are automatically\n // augmented with a transform matrix.\n // * face: a function that returns the appropriate node for a given {lambda, phi}\n // point (radians).\n // * r: rotation angle for final polyhedral net. Defaults to -pi / 6 (for\n // butterflies).\n var polyhedral = function (root, face, r) {\n r = r == null ? -pi / 6 : r; // TODO automate\n recurse(root, { transform: [\n cos(r), sin(r), 0,\n -sin(r), cos(r), 0\n ] });\n function recurse(node, parent) {\n node.edges = faceEdges(node.face);\n // Find shared edge.\n if (parent.face) {\n var shared = node.shared = sharedEdge(node.face, parent.face), m = matrix(shared.map(parent.project), shared.map(node.project));\n node.transform = parent.transform ? multiply(parent.transform, m) : m;\n // Replace shared edge in parent edges array.\n var edges = parent.edges;\n for (var i = 0, n = edges.length; i < n; ++i) {\n if (pointEqual$1(shared[0], edges[i][1]) && pointEqual$1(shared[1], edges[i][0]))\n edges[i] = node;\n if (pointEqual$1(shared[0], edges[i][0]) && pointEqual$1(shared[1], edges[i][1]))\n edges[i] = node;\n }\n edges = node.edges;\n for (i = 0, n = edges.length; i < n; ++i) {\n if (pointEqual$1(shared[0], edges[i][0]) && pointEqual$1(shared[1], edges[i][1]))\n edges[i] = parent;\n if (pointEqual$1(shared[0], edges[i][1]) && pointEqual$1(shared[1], edges[i][0]))\n edges[i] = parent;\n }\n }\n else {\n node.transform = parent.transform;\n }\n if (node.children) {\n node.children.forEach(function (child) {\n recurse(child, node);\n });\n }\n return node;\n }\n function forward(lambda, phi) {\n var node = face(lambda, phi), point = node.project([lambda * degrees, phi * degrees]), t;\n if (t = node.transform) {\n return [\n t[0] * point[0] + t[1] * point[1] + t[2],\n -(t[3] * point[0] + t[4] * point[1] + t[5])\n ];\n }\n point[1] = -point[1];\n return point;\n }\n // Naive inverse! A faster solution would use bounding boxes, or even a\n // polygonal quadtree.\n if (hasInverse(root))\n forward.invert = function (x, y) {\n var coordinates = faceInvert(root, [x, -y]);\n return coordinates && (coordinates[0] *= radians, coordinates[1] *= radians, coordinates);\n };\n function faceInvert(node, coordinates) {\n var invert = node.project.invert, t = node.transform, point = coordinates;\n if (t) {\n t = inverse(t);\n point = [\n t[0] * point[0] + t[1] * point[1] + t[2],\n (t[3] * point[0] + t[4] * point[1] + t[5])\n ];\n }\n if (invert && node === faceDegrees(p = invert(point)))\n return p;\n var p, children = node.children;\n for (var i = 0, n = children && children.length; i < n; ++i) {\n if (p = faceInvert(children[i], coordinates))\n return p;\n }\n }\n function faceDegrees(coordinates) {\n return face(coordinates[0] * radians, coordinates[1] * radians);\n }\n var proj = d3Geo.geoProjection(forward), stream_ = proj.stream;\n proj.stream = function (stream) {\n var rotate = proj.rotate(), rotateStream = stream_(stream), sphereStream = (proj.rotate([0, 0]), stream_(stream));\n proj.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart();\n sphereStream.lineStart();\n outline(sphereStream, root);\n sphereStream.lineEnd();\n sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return proj;\n };\n function outline(stream, node, parent) {\n var point, edges = node.edges, n = edges.length, edge, multiPoint = { type: \"MultiPoint\", coordinates: node.face }, notPoles = node.face.filter(function (d) { return abs(d[1]) !== 90; }), b = d3Geo.geoBounds({ type: \"MultiPoint\", coordinates: notPoles }), inside = false, j = -1, dx = b[1][0] - b[0][0];\n // TODO\n var c = dx === 180 || dx === 360\n ? [(b[0][0] + b[1][0]) / 2, (b[0][1] + b[1][1]) / 2]\n : d3Geo.geoCentroid(multiPoint);\n // First find the shared edge…\n if (parent)\n while (++j < n) {\n if (edges[j] === parent)\n break;\n }\n ++j;\n for (var i = 0; i < n; ++i) {\n edge = edges[(i + j) % n];\n if (Array.isArray(edge)) {\n if (!inside) {\n stream.point((point = d3Geo.geoInterpolate(edge[0], c)(epsilon))[0], point[1]);\n inside = true;\n }\n stream.point((point = d3Geo.geoInterpolate(edge[1], c)(epsilon))[0], point[1]);\n }\n else {\n inside = false;\n if (edge !== parent)\n outline(stream, edge, node);\n }\n }\n }\n // Tests equality of two spherical points.\n function pointEqual$1(a, b) {\n return a && b && a[0] === b[0] && a[1] === b[1];\n }\n // Finds a shared edge given two clockwise polygons.\n function sharedEdge(a, b) {\n var x, y, n = a.length, found = null;\n for (var i = 0; i < n; ++i) {\n x = a[i];\n for (var j = b.length; --j >= 0;) {\n y = b[j];\n if (x[0] === y[0] && x[1] === y[1]) {\n if (found)\n return [found, x];\n found = x;\n }\n }\n }\n }\n // Converts an array of n face vertices to an array of n + 1 edges.\n function faceEdges(face) {\n var n = face.length, edges = [];\n for (var a = face[n - 1], i = 0; i < n; ++i)\n edges.push([a, a = face[i]]);\n return edges;\n }\n function hasInverse(node) {\n return node.project.invert || node.children && node.children.some(hasInverse);\n }\n // TODO generate on-the-fly to avoid external modification.\n var octahedron = [\n [0, 90],\n [-90, 0], [0, 0], [90, 0], [180, 0],\n [0, -90]\n ];\n var octahedron$1 = [\n [0, 2, 1],\n [0, 3, 2],\n [5, 1, 2],\n [5, 2, 3],\n [0, 1, 4],\n [0, 4, 3],\n [5, 4, 1],\n [5, 3, 4]\n ].map(function (face) {\n return face.map(function (i) {\n return octahedron[i];\n });\n });\n var butterfly = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face });\n return d3Geo.geoGnomonic().scale(1).translate([0, 0]).rotate([-c[0], -c[1]]);\n };\n var faces = octahedron$1.map(function (face) {\n return { face: face, project: faceProjection(face) };\n });\n [-1, 0, 0, 1, 0, 1, 4, 5].forEach(function (d, i) {\n var node = faces[d];\n node && (node.children || (node.children = [])).push(faces[i]);\n });\n return polyhedral(faces[0], function (lambda, phi) {\n return faces[lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5];\n })\n .scale(101.858)\n .center([0, 45]);\n };\n var kx = 2 / sqrt(3);\n function collignonK(a, b) {\n var p = collignonRaw(a, b);\n return [p[0] * kx, p[1]];\n }\n collignonK.invert = function (x, y) {\n return collignonRaw.invert(x / kx, y);\n };\n var collignon$1 = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face });\n return d3Geo.geoProjection(collignonK).translate([0, 0]).scale(1).rotate(c[1] > 0 ? [-c[0], 0] : [180 - c[0], 180]);\n };\n var faces = octahedron$1.map(function (face) {\n return { face: face, project: faceProjection(face) };\n });\n [-1, 0, 0, 1, 0, 1, 4, 5].forEach(function (d, i) {\n var node = faces[d];\n node && (node.children || (node.children = [])).push(faces[i]);\n });\n return polyhedral(faces[0], function (lambda, phi) {\n return faces[lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5];\n })\n .scale(121.906)\n .center([0, 48.5904]);\n };\n var waterman = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = face.length === 6 ? d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face }) : face[0];\n return d3Geo.geoGnomonic().scale(1).translate([0, 0]).rotate([-c[0], -c[1]]);\n };\n var w5 = octahedron$1.map(function (face) {\n var xyz = face.map(cartesian), n = xyz.length, a = xyz[n - 1], b, hexagon = [];\n for (var i = 0; i < n; ++i) {\n b = xyz[i];\n hexagon.push(spherical([\n a[0] * 0.9486832980505138 + b[0] * 0.31622776601683794,\n a[1] * 0.9486832980505138 + b[1] * 0.31622776601683794,\n a[2] * 0.9486832980505138 + b[2] * 0.31622776601683794\n ]), spherical([\n b[0] * 0.9486832980505138 + a[0] * 0.31622776601683794,\n b[1] * 0.9486832980505138 + a[1] * 0.31622776601683794,\n b[2] * 0.9486832980505138 + a[2] * 0.31622776601683794\n ]));\n a = b;\n }\n return hexagon;\n });\n var cornerNormals = [];\n var parents = [-1, 0, 0, 1, 0, 1, 4, 5];\n w5.forEach(function (hexagon, j) {\n var face = octahedron$1[j], n = face.length, normals = cornerNormals[j] = [];\n for (var i = 0; i < n; ++i) {\n w5.push([\n face[i],\n hexagon[(i * 2 + 2) % (2 * n)],\n hexagon[(i * 2 + 1) % (2 * n)]\n ]);\n parents.push(j);\n normals.push(cross(cartesian(hexagon[(i * 2 + 2) % (2 * n)]), cartesian(hexagon[(i * 2 + 1) % (2 * n)])));\n }\n });\n var faces = w5.map(function (face) {\n return {\n project: faceProjection(face),\n face: face\n };\n });\n parents.forEach(function (d, i) {\n var parent = faces[d];\n parent && (parent.children || (parent.children = [])).push(faces[i]);\n });\n function face(lambda, phi) {\n var cosphi = cos(phi), p = [cosphi * cos(lambda), cosphi * sin(lambda), sin(phi)];\n var hexagon = lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5;\n var n = cornerNormals[hexagon];\n return faces[dot(n[0], p) < 0 ? 8 + 3 * hexagon\n : dot(n[1], p) < 0 ? 8 + 3 * hexagon + 1\n : dot(n[2], p) < 0 ? 8 + 3 * hexagon + 2\n : hexagon];\n }\n return polyhedral(faces[0], face)\n .scale(110.625)\n .center([0, 45]);\n };\n function dot(a, b) {\n for (var i = 0, n = a.length, s = 0; i < n; ++i)\n s += a[i] * b[i];\n return s;\n }\n function cross(a, b) {\n return [\n a[1] * b[2] - a[2] * b[1],\n a[2] * b[0] - a[0] * b[2],\n a[0] * b[1] - a[1] * b[0]\n ];\n }\n // Converts 3D Cartesian to spherical coordinates (degrees).\n function spherical(cartesian) {\n return [\n atan2(cartesian[1], cartesian[0]) * degrees,\n asin(max(-1, min(1, cartesian[2]))) * degrees\n ];\n }\n // Converts spherical coordinates (degrees) to 3D Cartesian.\n function cartesian(coordinates) {\n var lambda = coordinates[0] * radians, phi = coordinates[1] * radians, cosphi = cos(phi);\n return [\n cosphi * cos(lambda),\n cosphi * sin(lambda),\n sin(phi)\n ];\n }\n var noop = function () { };\n var clockwise = function (ring) {\n if ((n = ring.length) < 4)\n return false;\n var i = 0, n, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1];\n while (++i < n)\n area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1];\n return area <= 0;\n };\n var contains = function (ring, point) {\n var x = point[0], y = point[1], contains = false;\n for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) {\n var pi = ring[i], xi = pi[0], yi = pi[1], pj = ring[j], xj = pj[0], yj = pj[1];\n if (((yi > y) ^ (yj > y)) && (x < (xj - xi) * (y - yi) / (yj - yi) + xi))\n contains = !contains;\n }\n return contains;\n };\n var index = function (object, projection) {\n var stream = projection.stream, project;\n if (!stream)\n throw new Error(\"invalid projection\");\n switch (object && object.type) {\n case \"Feature\":\n project = projectFeature;\n break;\n case \"FeatureCollection\":\n project = projectFeatureCollection;\n break;\n default:\n project = projectGeometry;\n break;\n }\n return project(object, stream);\n };\n function projectFeatureCollection(o, stream) {\n return {\n type: \"FeatureCollection\",\n features: o.features.map(function (f) {\n return projectFeature(f, stream);\n })\n };\n }\n function projectFeature(o, stream) {\n return {\n type: \"Feature\",\n id: o.id,\n properties: o.properties,\n geometry: projectGeometry(o.geometry, stream)\n };\n }\n function projectGeometryCollection(o, stream) {\n return {\n type: \"GeometryCollection\",\n geometries: o.geometries.map(function (o) {\n return projectGeometry(o, stream);\n })\n };\n }\n function projectGeometry(o, stream) {\n if (!o)\n return null;\n if (o.type === \"GeometryCollection\")\n return projectGeometryCollection(o, stream);\n var sink;\n switch (o.type) {\n case \"Point\":\n sink = sinkPoint;\n break;\n case \"MultiPoint\":\n sink = sinkPoint;\n break;\n case \"LineString\":\n sink = sinkLine;\n break;\n case \"MultiLineString\":\n sink = sinkLine;\n break;\n case \"Polygon\":\n sink = sinkPolygon;\n break;\n case \"MultiPolygon\":\n sink = sinkPolygon;\n break;\n case \"Sphere\":\n sink = sinkPolygon;\n break;\n default: return null;\n }\n d3Geo.geoStream(o, stream(sink));\n return sink.result();\n }\n var points = [];\n var lines = [];\n var sinkPoint = {\n point: function (x, y) {\n points.push([x, y]);\n },\n result: function () {\n var result = !points.length ? null\n : points.length < 2 ? { type: \"Point\", coordinates: points[0] }\n : { type: \"MultiPoint\", coordinates: points };\n points = [];\n return result;\n }\n };\n var sinkLine = {\n lineStart: noop,\n point: function (x, y) {\n points.push([x, y]);\n },\n lineEnd: function () {\n if (points.length)\n lines.push(points), points = [];\n },\n result: function () {\n var result = !lines.length ? null\n : lines.length < 2 ? { type: \"LineString\", coordinates: lines[0] }\n : { type: \"MultiLineString\", coordinates: lines };\n lines = [];\n return result;\n }\n };\n var sinkPolygon = {\n polygonStart: noop,\n lineStart: noop,\n point: function (x, y) {\n points.push([x, y]);\n },\n lineEnd: function () {\n var n = points.length;\n if (n) {\n do\n points.push(points[0].slice());\n while (++n < 4);\n lines.push(points), points = [];\n }\n },\n polygonEnd: noop,\n result: function () {\n if (!lines.length)\n return null;\n var polygons = [], holes = [];\n // https://github.com/d3/d3/issues/1558\n lines.forEach(function (ring) {\n if (clockwise(ring))\n polygons.push([ring]);\n else\n holes.push(ring);\n });\n holes.forEach(function (hole) {\n var point = hole[0];\n polygons.some(function (polygon) {\n if (contains(polygon[0], point)) {\n polygon.push(hole);\n return true;\n }\n }) || polygons.push([hole]);\n });\n lines = [];\n return !polygons.length ? null\n : polygons.length > 1 ? { type: \"MultiPolygon\", coordinates: polygons }\n : { type: \"Polygon\", coordinates: polygons[0] };\n }\n };\n var quincuncial = function (project) {\n var dx = project(halfPi, 0)[0] - project(-halfPi, 0)[0];\n function projectQuincuncial(lambda, phi) {\n var t = abs(lambda) < halfPi, p = project(t ? lambda : lambda > 0 ? lambda - pi : lambda + pi, phi), x = (p[0] - p[1]) * sqrt1_2, y = (p[0] + p[1]) * sqrt1_2;\n if (t)\n return [x, y];\n var d = dx * sqrt1_2, s = x > 0 ^ y > 0 ? -1 : 1;\n return [s * x - sign(y) * d, s * y - sign(x) * d];\n }\n if (project.invert)\n projectQuincuncial.invert = function (x0, y0) {\n var x = (x0 + y0) * sqrt1_2, y = (y0 - x0) * sqrt1_2, t = abs(x) < 0.5 * dx && abs(y) < 0.5 * dx;\n if (!t) {\n var d = dx * sqrt1_2, s = x > 0 ^ y > 0 ? -1 : 1, x1 = -s * x0 + (y > 0 ? 1 : -1) * d, y1 = -s * y0 + (x > 0 ? 1 : -1) * d;\n x = (-x1 - y1) * sqrt1_2;\n y = (x1 - y1) * sqrt1_2;\n }\n var p = project.invert(x, y);\n if (!t)\n p[0] += x > 0 ? pi : -pi;\n return p;\n };\n return d3Geo.geoProjection(projectQuincuncial)\n .rotate([-90, -90, 45])\n .clipAngle(180 - 1e-3);\n };\n var gringorten$1 = function () {\n return quincuncial(gringortenRaw)\n .scale(176.423);\n };\n var peirce = function () {\n return quincuncial(guyouRaw)\n .scale(111.48);\n };\n var quantize = function (input, digits) {\n if (!(0 <= (digits = +digits) && digits <= 20))\n throw new Error(\"invalid digits\");\n function quantizePoint(input) {\n var n = input.length, i = 2, output = new Array(n);\n output[0] = +input[0].toFixed(digits);\n output[1] = +input[1].toFixed(digits);\n while (i < n)\n output[i] = input[i], ++i;\n return output;\n }\n function quantizePoints(input) {\n return input.map(quantizePoint);\n }\n function quantizePolygon(input) {\n return input.map(quantizePoints);\n }\n function quantizeGeometry(input) {\n if (input == null)\n return input;\n var output;\n switch (input.type) {\n case \"GeometryCollection\":\n output = { type: \"GeometryCollection\", geometries: input.geometries.map(quantizeGeometry) };\n break;\n case \"Point\":\n output = { type: \"Point\", coordinates: quantizePoint(input.coordinates) };\n break;\n case \"MultiPoint\":\n case \"LineString\":\n output = { type: input.type, coordinates: quantizePoints(input.coordinates) };\n break;\n case \"MultiLineString\":\n case \"Polygon\":\n output = { type: input.type, coordinates: quantizePolygon(input.coordinates) };\n break;\n case \"MultiPolygon\":\n output = { type: \"MultiPolygon\", coordinates: input.coordinates.map(quantizePolygon) };\n break;\n default: return input;\n }\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n function quantizeFeature(input) {\n var output = { type: \"Feature\", properties: input.properties, geometry: quantizeGeometry(input.geometry) };\n if (input.id != null)\n output.id = input.id;\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n if (input != null)\n switch (input.type) {\n case \"Feature\": return quantizeFeature(input);\n case \"FeatureCollection\": {\n var output = { type: \"FeatureCollection\", features: input.features.map(quantizeFeature) };\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n default: return quantizeGeometry(input);\n }\n return input;\n };\n function rectangularPolyconicRaw(phi0) {\n var sinPhi0 = sin(phi0);\n function forward(lambda, phi) {\n var A = sinPhi0 ? tan(lambda * sinPhi0 / 2) / sinPhi0 : lambda / 2;\n if (!phi)\n return [2 * A, -phi0];\n var E = 2 * atan(A * sin(phi)), cotPhi = 1 / tan(phi);\n return [\n sin(E) * cotPhi,\n phi + (1 - cos(E)) * cotPhi - phi0\n ];\n }\n // TODO return null for points outside outline.\n forward.invert = function (x, y) {\n if (abs(y += phi0) < epsilon)\n return [sinPhi0 ? 2 * atan(sinPhi0 * x / 2) / sinPhi0 : x, 0];\n var k = x * x + y * y, phi = 0, i = 10, delta;\n do {\n var tanPhi = tan(phi), secPhi = 1 / cos(phi), j = k - 2 * y * phi + phi * phi;\n phi -= delta = (tanPhi * j + 2 * (phi - y)) / (2 + j * secPhi * secPhi + 2 * (phi - y) * tanPhi);\n } while (abs(delta) > epsilon && --i > 0);\n var E = x * (tanPhi = tan(phi)), A = tan(abs(y) < abs(phi + 1 / tanPhi) ? asin(E) * 0.5 : acos(E) * 0.5 + pi / 4) / sin(phi);\n return [\n sinPhi0 ? 2 * atan(sinPhi0 * A) / sinPhi0 : 2 * A,\n phi\n ];\n };\n return forward;\n }\n var rectangularPolyconic = function () {\n return parallel1(rectangularPolyconicRaw)\n .scale(131.215);\n };\n var K = [\n [0.9986, -0.062],\n [1.0000, 0.0000],\n [0.9986, 0.0620],\n [0.9954, 0.1240],\n [0.9900, 0.1860],\n [0.9822, 0.2480],\n [0.9730, 0.3100],\n [0.9600, 0.3720],\n [0.9427, 0.4340],\n [0.9216, 0.4958],\n [0.8962, 0.5571],\n [0.8679, 0.6176],\n [0.8350, 0.6769],\n [0.7986, 0.7346],\n [0.7597, 0.7903],\n [0.7186, 0.8435],\n [0.6732, 0.8936],\n [0.6213, 0.9394],\n [0.5722, 0.9761],\n [0.5322, 1.0000]\n ];\n K.forEach(function (d) {\n d[1] *= 1.0144;\n });\n function robinsonRaw(lambda, phi) {\n var i = min(18, abs(phi) * 36 / pi), i0 = floor(i), di = i - i0, ax = (k = K[i0])[0], ay = k[1], bx = (k = K[++i0])[0], by = k[1], cx = (k = K[min(19, ++i0)])[0], cy = k[1], k;\n return [\n lambda * (bx + di * (cx - ax) / 2 + di * di * (cx - 2 * bx + ax) / 2),\n (phi > 0 ? halfPi : -halfPi) * (by + di * (cy - ay) / 2 + di * di * (cy - 2 * by + ay) / 2)\n ];\n }\n robinsonRaw.invert = function (x, y) {\n var yy = y / halfPi, phi = yy * 90, i = min(18, abs(phi / 5)), i0 = max(0, floor(i));\n do {\n var ay = K[i0][1], by = K[i0 + 1][1], cy = K[min(19, i0 + 2)][1], u = cy - ay, v = cy - 2 * by + ay, t = 2 * (abs(yy) - by) / u, c = v / u, di = t * (1 - c * t * (1 - 2 * c * t));\n if (di >= 0 || i0 === 1) {\n phi = (y >= 0 ? 5 : -5) * (di + i);\n var j = 50, delta;\n do {\n i = min(18, abs(phi) / 5);\n i0 = floor(i);\n di = i - i0;\n ay = K[i0][1];\n by = K[i0 + 1][1];\n cy = K[min(19, i0 + 2)][1];\n phi -= (delta = (y >= 0 ? halfPi : -halfPi) * (by + di * (cy - ay) / 2 + di * di * (cy - 2 * by + ay) / 2) - y) * degrees;\n } while (abs(delta) > epsilon2 && --j > 0);\n break;\n }\n } while (--i0 >= 0);\n var ax = K[i0][0], bx = K[i0 + 1][0], cx = K[min(19, i0 + 2)][0];\n return [\n x / (bx + di * (cx - ax) / 2 + di * di * (cx - 2 * bx + ax) / 2),\n phi * radians\n ];\n };\n var robinson = function () {\n return d3Geo.geoProjection(robinsonRaw)\n .scale(152.63);\n };\n function satelliteVerticalRaw(P) {\n function forward(lambda, phi) {\n var cosPhi = cos(phi), k = (P - 1) / (P - cosPhi * cos(lambda));\n return [\n k * cosPhi * sin(lambda),\n k * sin(phi)\n ];\n }\n forward.invert = function (x, y) {\n var rho2 = x * x + y * y, rho = sqrt(rho2), sinc = (P - sqrt(1 - rho2 * (P + 1) / (P - 1))) / ((P - 1) / rho + rho / (P - 1));\n return [\n atan2(x * sinc, rho * sqrt(1 - sinc * sinc)),\n rho ? asin(y * sinc / rho) : 0\n ];\n };\n return forward;\n }\n function satelliteRaw(P, omega) {\n var vertical = satelliteVerticalRaw(P);\n if (!omega)\n return vertical;\n var cosOmega = cos(omega), sinOmega = sin(omega);\n function forward(lambda, phi) {\n var coordinates = vertical(lambda, phi), y = coordinates[1], A = y * sinOmega / (P - 1) + cosOmega;\n return [\n coordinates[0] * cosOmega / A,\n y / A\n ];\n }\n forward.invert = function (x, y) {\n var k = (P - 1) / (P - 1 - y * sinOmega);\n return vertical.invert(k * x, k * y * cosOmega);\n };\n return forward;\n }\n var satellite = function () {\n var distance = 2, omega = 0, m = d3Geo.geoProjectionMutator(satelliteRaw), p = m(distance, omega);\n // As a multiple of radius.\n p.distance = function (_) {\n if (!arguments.length)\n return distance;\n return m(distance = +_, omega);\n };\n p.tilt = function (_) {\n if (!arguments.length)\n return omega * degrees;\n return m(distance, omega = _ * radians);\n };\n return p\n .scale(432.147)\n .clipAngle(acos(1 / distance) * degrees - 1e-6);\n };\n var epsilon$1 = 1e-4;\n var epsilonInverse = 1e4;\n var x0 = -180;\n var x0e = x0 + epsilon$1;\n var x1 = 180;\n var x1e = x1 - epsilon$1;\n var y0 = -90;\n var y0e = y0 + epsilon$1;\n var y1 = 90;\n var y1e = y1 - epsilon$1;\n function nonempty(coordinates) {\n return coordinates.length > 0;\n }\n function quantize$1(x) {\n return Math.floor(x * epsilonInverse) / epsilonInverse;\n }\n function normalizePoint(y) {\n return y === y0 || y === y1 ? [0, y] : [x0, quantize$1(y)]; // pole or antimeridian?\n }\n function clampPoint(p) {\n var x = p[0], y = p[1], clamped = false;\n if (x <= x0e)\n x = x0, clamped = true;\n else if (x >= x1e)\n x = x1, clamped = true;\n if (y <= y0e)\n y = y0, clamped = true;\n else if (y >= y1e)\n y = y1, clamped = true;\n return clamped ? [x, y] : p;\n }\n function clampPoints(points) {\n return points.map(clampPoint);\n }\n // For each ring, detect where it crosses the antimeridian or pole.\n function extractFragments(rings, polygon, fragments) {\n for (var j = 0, m = rings.length; j < m; ++j) {\n var ring = rings[j].slice();\n // By default, assume that this ring doesn’t need any stitching.\n fragments.push({ index: -1, polygon: polygon, ring: ring });\n for (var i = 0, n = ring.length; i < n; ++i) {\n var point = ring[i], x = point[0], y = point[1];\n // If this is an antimeridian or polar point…\n if (x <= x0e || x >= x1e || y <= y0e || y >= y1e) {\n ring[i] = clampPoint(point);\n // Advance through any antimeridian or polar points…\n for (var k = i + 1; k < n; ++k) {\n var pointk = ring[k], xk = pointk[0], yk = pointk[1];\n if (xk > x0e && xk < x1e && yk > y0e && yk < y1e)\n break;\n }\n // If this was just a single antimeridian or polar point,\n // we don’t need to cut this ring into a fragment;\n // we can just leave it as-is.\n if (k === i + 1)\n continue;\n // Otherwise, if this is not the first point in the ring,\n // cut the current fragment so that it ends at the current point.\n // The current point is also normalized for later joining.\n if (i) {\n var fragmentBefore = { index: -1, polygon: polygon, ring: ring.slice(0, i + 1) };\n fragmentBefore.ring[fragmentBefore.ring.length - 1] = normalizePoint(y);\n fragments[fragments.length - 1] = fragmentBefore;\n }\n // If the ring started with an antimeridian fragment,\n // we can ignore that fragment entirely.\n else\n fragments.pop();\n // If the remainder of the ring is an antimeridian fragment,\n // move on to the next ring.\n if (k >= n)\n break;\n // Otherwise, add the remaining ring fragment and continue.\n fragments.push({ index: -1, polygon: polygon, ring: ring = ring.slice(k - 1) });\n ring[0] = normalizePoint(ring[0][1]);\n i = -1;\n n = ring.length;\n }\n }\n }\n }\n // Now stitch the fragments back together into rings.\n function stitchFragments(fragments) {\n var i, n = fragments.length;\n // To connect the fragments start-to-end, create a simple index by end.\n var fragmentByStart = {}, fragmentByEnd = {}, fragment, start, startFragment, end, endFragment;\n // For each fragment…\n for (i = 0; i < n; ++i) {\n fragment = fragments[i];\n start = fragment.ring[0];\n end = fragment.ring[fragment.ring.length - 1];\n // If this fragment is closed, add it as a standalone ring.\n if (start[0] === end[0] && start[1] === end[1]) {\n fragment.polygon.push(fragment.ring);\n fragments[i] = null;\n continue;\n }\n fragment.index = i;\n fragmentByStart[start] = fragmentByEnd[end] = fragment;\n }\n // For each open fragment…\n for (i = 0; i < n; ++i) {\n fragment = fragments[i];\n if (fragment) {\n start = fragment.ring[0];\n end = fragment.ring[fragment.ring.length - 1];\n startFragment = fragmentByEnd[start];\n endFragment = fragmentByStart[end];\n delete fragmentByStart[start];\n delete fragmentByEnd[end];\n // If this fragment is closed, add it as a standalone ring.\n if (start[0] === end[0] && start[1] === end[1]) {\n fragment.polygon.push(fragment.ring);\n continue;\n }\n if (startFragment) {\n delete fragmentByEnd[start];\n delete fragmentByStart[startFragment.ring[0]];\n startFragment.ring.pop(); // drop the shared coordinate\n fragments[startFragment.index] = null;\n fragment = { index: -1, polygon: startFragment.polygon, ring: startFragment.ring.concat(fragment.ring) };\n if (startFragment === endFragment) {\n // Connect both ends to this single fragment to create a ring.\n fragment.polygon.push(fragment.ring);\n }\n else {\n fragment.index = n++;\n fragments.push(fragmentByStart[fragment.ring[0]] = fragmentByEnd[fragment.ring[fragment.ring.length - 1]] = fragment);\n }\n }\n else if (endFragment) {\n delete fragmentByStart[end];\n delete fragmentByEnd[endFragment.ring[endFragment.ring.length - 1]];\n fragment.ring.pop(); // drop the shared coordinate\n fragment = { index: n++, polygon: endFragment.polygon, ring: fragment.ring.concat(endFragment.ring) };\n fragments[endFragment.index] = null;\n fragments.push(fragmentByStart[fragment.ring[0]] = fragmentByEnd[fragment.ring[fragment.ring.length - 1]] = fragment);\n }\n else {\n fragment.ring.push(fragment.ring[0]); // close ring\n fragment.polygon.push(fragment.ring);\n }\n }\n }\n }\n function stitchFeature(input) {\n var output = { type: \"Feature\", geometry: stitchGeometry(input.geometry) };\n if (input.id != null)\n output.id = input.id;\n if (input.bbox != null)\n output.bbox = input.bbox;\n if (input.properties != null)\n output.properties = input.properties;\n return output;\n }\n function stitchGeometry(input) {\n if (input == null)\n return input;\n var output, fragments, i, n;\n switch (input.type) {\n case \"GeometryCollection\":\n output = { type: \"GeometryCollection\", geometries: input.geometries.map(stitchGeometry) };\n break;\n case \"Point\":\n output = { type: \"Point\", coordinates: clampPoint(input.coordinates) };\n break;\n case \"MultiPoint\":\n case \"LineString\":\n output = { type: input.type, coordinates: clampPoints(input.coordinates) };\n break;\n case \"MultiLineString\":\n output = { type: \"MultiLineString\", coordinates: input.coordinates.map(clampPoints) };\n break;\n case \"Polygon\": {\n var polygon = [];\n extractFragments(input.coordinates, polygon, fragments = []);\n stitchFragments(fragments);\n output = { type: \"Polygon\", coordinates: polygon };\n break;\n }\n case \"MultiPolygon\": {\n fragments = [], i = -1, n = input.coordinates.length;\n var polygons = new Array(n);\n while (++i < n)\n extractFragments(input.coordinates[i], polygons[i] = [], fragments);\n stitchFragments(fragments);\n output = { type: \"MultiPolygon\", coordinates: polygons.filter(nonempty) };\n break;\n }\n default: return input;\n }\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n var stitch = function (input) {\n if (input == null)\n return input;\n switch (input.type) {\n case \"Feature\": return stitchFeature(input);\n case \"FeatureCollection\": {\n var output = { type: \"FeatureCollection\", features: input.features.map(stitchFeature) };\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n default: return stitchGeometry(input);\n }\n };\n function timesRaw(lambda, phi) {\n var t = tan(phi / 2), s = sin(quarterPi * t);\n return [\n lambda * (0.74482 - 0.34588 * s * s),\n 1.70711 * t\n ];\n }\n timesRaw.invert = function (x, y) {\n var t = y / 1.70711, s = sin(quarterPi * t);\n return [\n x / (0.74482 - 0.34588 * s * s),\n 2 * atan(t)\n ];\n };\n var times = function () {\n return d3Geo.geoProjection(timesRaw)\n .scale(146.153);\n };\n // Compute the origin as the midpoint of the two reference points.\n // Rotate one of the reference points by the origin.\n // Apply the spherical law of sines to compute gamma rotation.\n var twoPoint = function (raw, p0, p1) {\n var i = d3Geo.geoInterpolate(p0, p1), o = i(0.5), a = d3Geo.geoRotation([-o[0], -o[1]])(p0), b = i.distance / 2, y = -asin(sin(a[1] * radians) / sin(b)), R = [-o[0], -o[1], -(a[0] > 0 ? pi - y : y) * degrees], p = d3Geo.geoProjection(raw(b)).rotate(R), r = d3Geo.geoRotation(R), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p\n .clipAngle(90);\n };\n function twoPointAzimuthalRaw(d) {\n var cosd = cos(d);\n function forward(lambda, phi) {\n var coordinates = d3Geo.geoGnomonicRaw(lambda, phi);\n coordinates[0] *= cosd;\n return coordinates;\n }\n forward.invert = function (x, y) {\n return d3Geo.geoGnomonicRaw.invert(x / cosd, y);\n };\n return forward;\n }\n function twoPointAzimuthalUsa() {\n return twoPointAzimuthal([-158, 21.5], [-77, 39])\n .clipAngle(60)\n .scale(400);\n }\n function twoPointAzimuthal(p0, p1) {\n return twoPoint(twoPointAzimuthalRaw, p0, p1);\n }\n // TODO clip to ellipse\n function twoPointEquidistantRaw(z0) {\n if (!(z0 *= 2))\n return d3Geo.geoAzimuthalEquidistantRaw;\n var lambdaa = -z0 / 2, lambdab = -lambdaa, z02 = z0 * z0, tanLambda0 = tan(lambdab), S = 0.5 / sin(lambdab);\n function forward(lambda, phi) {\n var za = acos(cos(phi) * cos(lambda - lambdaa)), zb = acos(cos(phi) * cos(lambda - lambdab)), ys = phi < 0 ? -1 : 1;\n za *= za, zb *= zb;\n return [\n (za - zb) / (2 * z0),\n ys * sqrt(4 * z02 * zb - (z02 - za + zb) * (z02 - za + zb)) / (2 * z0)\n ];\n }\n forward.invert = function (x, y) {\n var y2 = y * y, cosza = cos(sqrt(y2 + (t = x + lambdaa) * t)), coszb = cos(sqrt(y2 + (t = x + lambdab) * t)), t, d;\n return [\n atan2(d = cosza - coszb, t = (cosza + coszb) * tanLambda0),\n (y < 0 ? -1 : 1) * acos(sqrt(t * t + d * d) * S)\n ];\n };\n return forward;\n }\n function twoPointEquidistantUsa() {\n return twoPointEquidistant([-158, 21.5], [-77, 39])\n .clipAngle(130)\n .scale(122.571);\n }\n function twoPointEquidistant(p0, p1) {\n return twoPoint(twoPointEquidistantRaw, p0, p1);\n }\n function vanDerGrintenRaw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = abs(phi / halfPi), theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, sign(phi) * pi * tan(theta / 2)];\n var cosTheta = cos(theta), A = abs(pi / lambda - lambda / pi) / 2, A2 = A * A, G = cosTheta / (sinTheta + cosTheta - 1), P = G * (2 / sinTheta - 1), P2 = P * P, P2_A2 = P2 + A2, G_P2 = G - P2, Q = A2 + G;\n return [\n sign(lambda) * pi * (A * G_P2 + sqrt(A2 * G_P2 * G_P2 - P2_A2 * (G * G - P2))) / P2_A2,\n sign(phi) * pi * (P * Q - A * sqrt((A2 + 1) * P2_A2 - Q * Q)) / P2_A2\n ];\n }\n vanDerGrintenRaw.invert = function (x, y) {\n if (abs(y) < epsilon)\n return [x, 0];\n if (abs(x) < epsilon)\n return [0, halfPi * sin(2 * atan(y / pi))];\n var x2 = (x /= pi) * x, y2 = (y /= pi) * y, x2_y2 = x2 + y2, z = x2_y2 * x2_y2, c1 = -abs(y) * (1 + x2_y2), c2 = c1 - 2 * y2 + x2, c3 = -2 * c1 + 1 + 2 * y2 + z, d = y2 / c3 + (2 * c2 * c2 * c2 / (c3 * c3 * c3) - 9 * c1 * c2 / (c3 * c3)) / 27, a1 = (c1 - c2 * c2 / (3 * c3)) / c3, m1 = 2 * sqrt(-a1 / 3), theta1 = acos(3 * d / (a1 * m1)) / 3;\n return [\n pi * (x2_y2 - 1 + sqrt(1 + 2 * (x2 - y2) + z)) / (2 * x),\n sign(y) * pi * (-m1 * cos(theta1 + pi / 3) - c2 / (3 * c3))\n ];\n };\n var vanDerGrinten = function () {\n return d3Geo.geoProjection(vanDerGrintenRaw)\n .scale(79.4183);\n };\n function vanDerGrinten2Raw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = abs(phi / halfPi), theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, sign(phi) * pi * tan(theta / 2)];\n var cosTheta = cos(theta), A = abs(pi / lambda - lambda / pi) / 2, A2 = A * A, x1 = cosTheta * (sqrt(1 + A2) - A * cosTheta) / (1 + A2 * sinTheta * sinTheta);\n return [\n sign(lambda) * pi * x1,\n sign(phi) * pi * sqrt(1 - x1 * (2 * A + x1))\n ];\n }\n vanDerGrinten2Raw.invert = function (x, y) {\n if (!x)\n return [0, halfPi * sin(2 * atan(y / pi))];\n var x1 = abs(x / pi), A = (1 - x1 * x1 - (y /= pi) * y) / (2 * x1), A2 = A * A, B = sqrt(A2 + 1);\n return [\n sign(x) * pi * (B - A),\n sign(y) * halfPi * sin(2 * atan2(sqrt((1 - 2 * A * x1) * (A + B) - x1), sqrt(B + A + x1)))\n ];\n };\n var vanDerGrinten2 = function () {\n return d3Geo.geoProjection(vanDerGrinten2Raw)\n .scale(79.4183);\n };\n function vanDerGrinten3Raw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = phi / halfPi, theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, pi * tan(theta / 2)];\n var A = (pi / lambda - lambda / pi) / 2, y1 = sinTheta / (1 + cos(theta));\n return [\n pi * (sign(lambda) * sqrt(A * A + 1 - y1 * y1) - A),\n pi * y1\n ];\n }\n vanDerGrinten3Raw.invert = function (x, y) {\n if (!y)\n return [x, 0];\n var y1 = y / pi, A = (pi * pi * (1 - y1 * y1) - x * x) / (2 * pi * x);\n return [\n x ? pi * (sign(x) * sqrt(A * A + 1) - A) : 0,\n halfPi * sin(2 * atan(y1))\n ];\n };\n var vanDerGrinten3 = function () {\n return d3Geo.geoProjection(vanDerGrinten3Raw)\n .scale(79.4183);\n };\n function vanDerGrinten4Raw(lambda, phi) {\n if (!phi)\n return [lambda, 0];\n var phi0 = abs(phi);\n if (!lambda || phi0 === halfPi)\n return [0, phi];\n var B = phi0 / halfPi, B2 = B * B, C = (8 * B - B2 * (B2 + 2) - 5) / (2 * B2 * (B - 1)), C2 = C * C, BC = B * C, B_C2 = B2 + C2 + 2 * BC, B_3C = B + 3 * C, lambda0 = lambda / halfPi, lambda1 = lambda0 + 1 / lambda0, D = sign(abs(lambda) - halfPi) * sqrt(lambda1 * lambda1 - 4), D2 = D * D, F = B_C2 * (B2 + C2 * D2 - 1) + (1 - B2) * (B2 * (B_3C * B_3C + 4 * C2) + 12 * BC * C2 + 4 * C2 * C2), x1 = (D * (B_C2 + C2 - 1) + 2 * sqrt(F)) / (4 * B_C2 + D2);\n return [\n sign(lambda) * halfPi * x1,\n sign(phi) * halfPi * sqrt(1 + D * abs(x1) - x1 * x1)\n ];\n }\n vanDerGrinten4Raw.invert = function (x, y) {\n var delta;\n if (!x || !y)\n return [x, y];\n y /= pi;\n var x1 = sign(x) * x / halfPi, D = (x1 * x1 - 1 + 4 * y * y) / abs(x1), D2 = D * D, B = 2 * y, i = 50;\n do {\n var B2 = B * B, C = (8 * B - B2 * (B2 + 2) - 5) / (2 * B2 * (B - 1)), C_ = (3 * B - B2 * B - 10) / (2 * B2 * B), C2 = C * C, BC = B * C, B_C = B + C, B_C2 = B_C * B_C, B_3C = B + 3 * C, F = B_C2 * (B2 + C2 * D2 - 1) + (1 - B2) * (B2 * (B_3C * B_3C + 4 * C2) + C2 * (12 * BC + 4 * C2)), F_ = -2 * B_C * (4 * BC * C2 + (1 - 4 * B2 + 3 * B2 * B2) * (1 + C_) + C2 * (-6 + 14 * B2 - D2 + (-8 + 8 * B2 - 2 * D2) * C_) + BC * (-8 + 12 * B2 + (-10 + 10 * B2 - D2) * C_)), sqrtF = sqrt(F), f = D * (B_C2 + C2 - 1) + 2 * sqrtF - x1 * (4 * B_C2 + D2), f_ = D * (2 * C * C_ + 2 * B_C * (1 + C_)) + F_ / sqrtF - 8 * B_C * (D * (-1 + C2 + B_C2) + 2 * sqrtF) * (1 + C_) / (D2 + 4 * B_C2);\n B -= delta = f / f_;\n } while (delta > epsilon && --i > 0);\n return [\n sign(x) * (sqrt(D * D + 4) + D) * pi / 4,\n halfPi * B\n ];\n };\n var vanDerGrinten4 = function () {\n return d3Geo.geoProjection(vanDerGrinten4Raw)\n .scale(127.16);\n };\n var A = 4 * pi + 3 * sqrt(3);\n var B = 2 * sqrt(2 * pi * sqrt(3) / A);\n var wagner4Raw = mollweideBromleyRaw(B * sqrt(3) / pi, B, A / 6);\n var wagner4 = function () {\n return d3Geo.geoProjection(wagner4Raw)\n .scale(176.84);\n };\n function wagner6Raw(lambda, phi) {\n return [lambda * sqrt(1 - 3 * phi * phi / (pi * pi)), phi];\n }\n wagner6Raw.invert = function (x, y) {\n return [x / sqrt(1 - 3 * y * y / (pi * pi)), y];\n };\n var wagner6 = function () {\n return d3Geo.geoProjection(wagner6Raw)\n .scale(152.63);\n };\n function wagner7Raw(lambda, phi) {\n var s = 0.90631 * sin(phi), c0 = sqrt(1 - s * s), c1 = sqrt(2 / (1 + c0 * cos(lambda /= 3)));\n return [\n 2.66723 * c0 * c1 * sin(lambda),\n 1.24104 * s * c1\n ];\n }\n wagner7Raw.invert = function (x, y) {\n var t1 = x / 2.66723, t2 = y / 1.24104, p = sqrt(t1 * t1 + t2 * t2), c = 2 * asin(p / 2);\n return [\n 3 * atan2(x * tan(c), 2.66723 * p),\n p && asin(y * sin(c) / (1.24104 * 0.90631 * p))\n ];\n };\n var wagner7 = function () {\n return d3Geo.geoProjection(wagner7Raw)\n .scale(172.632);\n };\n function wiechelRaw(lambda, phi) {\n var cosPhi = cos(phi), sinPhi = cos(lambda) * cosPhi, sin1_Phi = 1 - sinPhi, cosLambda = cos(lambda = atan2(sin(lambda) * cosPhi, -sin(phi))), sinLambda = sin(lambda);\n cosPhi = sqrt(1 - sinPhi * sinPhi);\n return [\n sinLambda * cosPhi - cosLambda * sin1_Phi,\n -cosLambda * cosPhi - sinLambda * sin1_Phi\n ];\n }\n wiechelRaw.invert = function (x, y) {\n var w = (x * x + y * y) / -2, k = sqrt(-w * (2 + w)), b = y * w + x * k, a = x * w - y * k, D = sqrt(a * a + b * b);\n return [\n atan2(k * b, D * (1 + w)),\n D ? -asin(k * a / D) : 0\n ];\n };\n var wiechel = function () {\n return d3Geo.geoProjection(wiechelRaw)\n .rotate([0, -90, 45])\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n };\n function winkel3Raw(lambda, phi) {\n var coordinates = aitoffRaw(lambda, phi);\n return [\n (coordinates[0] + lambda / halfPi) / 2,\n (coordinates[1] + phi) / 2\n ];\n }\n winkel3Raw.invert = function (x, y) {\n var lambda = x, phi = y, i = 25;\n do {\n var cosphi = cos(phi), sinphi = sin(phi), sin_2phi = sin(2 * phi), sin2phi = sinphi * sinphi, cos2phi = cosphi * cosphi, sinlambda = sin(lambda), coslambda_2 = cos(lambda / 2), sinlambda_2 = sin(lambda / 2), sin2lambda_2 = sinlambda_2 * sinlambda_2, C = 1 - cos2phi * coslambda_2 * coslambda_2, E = C ? acos(cosphi * coslambda_2) * sqrt(F = 1 / C) : F = 0, F, fx = 0.5 * (2 * E * cosphi * sinlambda_2 + lambda / halfPi) - x, fy = 0.5 * (E * sinphi + phi) - y, dxdlambda = 0.5 * F * (cos2phi * sin2lambda_2 + E * cosphi * coslambda_2 * sin2phi) + 0.5 / halfPi, dxdphi = F * (sinlambda * sin_2phi / 4 - E * sinphi * sinlambda_2), dydlambda = 0.125 * F * (sin_2phi * sinlambda_2 - E * sinphi * cos2phi * sinlambda), dydphi = 0.5 * F * (sin2phi * coslambda_2 + E * sin2lambda_2 * cosphi) + 0.5, denominator = dxdphi * dydlambda - dydphi * dxdlambda, dlambda = (fy * dxdphi - fx * dydphi) / denominator, dphi = (fx * dydlambda - fy * dxdlambda) / denominator;\n lambda -= dlambda, phi -= dphi;\n } while ((abs(dlambda) > epsilon || abs(dphi) > epsilon) && --i > 0);\n return [lambda, phi];\n };\n var winkel3 = function () {\n return d3Geo.geoProjection(winkel3Raw)\n .scale(158.837);\n };\n exports.geoAiry = airy;\n exports.geoAiryRaw = airyRaw;\n exports.geoAitoff = aitoff;\n exports.geoAitoffRaw = aitoffRaw;\n exports.geoArmadillo = armadillo;\n exports.geoArmadilloRaw = armadilloRaw;\n exports.geoAugust = august;\n exports.geoAugustRaw = augustRaw;\n exports.geoBaker = baker;\n exports.geoBakerRaw = bakerRaw;\n exports.geoBerghaus = berghaus;\n exports.geoBerghausRaw = berghausRaw;\n exports.geoBoggs = boggs;\n exports.geoBoggsRaw = boggsRaw;\n exports.geoBonne = bonne;\n exports.geoBonneRaw = bonneRaw;\n exports.geoBottomley = bottomley;\n exports.geoBottomleyRaw = bottomleyRaw;\n exports.geoBromley = bromley;\n exports.geoBromleyRaw = bromleyRaw;\n exports.geoChamberlin = chamberlin;\n exports.geoChamberlinRaw = chamberlinRaw;\n exports.geoChamberlinAfrica = chamberlinAfrica;\n exports.geoCollignon = collignon;\n exports.geoCollignonRaw = collignonRaw;\n exports.geoCraig = craig;\n exports.geoCraigRaw = craigRaw;\n exports.geoCraster = craster;\n exports.geoCrasterRaw = crasterRaw;\n exports.geoCylindricalEqualArea = cylindricalEqualArea;\n exports.geoCylindricalEqualAreaRaw = cylindricalEqualAreaRaw;\n exports.geoCylindricalStereographic = cylindricalStereographic;\n exports.geoCylindricalStereographicRaw = cylindricalStereographicRaw;\n exports.geoEckert1 = eckert1;\n exports.geoEckert1Raw = eckert1Raw;\n exports.geoEckert2 = eckert2;\n exports.geoEckert2Raw = eckert2Raw;\n exports.geoEckert3 = eckert3;\n exports.geoEckert3Raw = eckert3Raw;\n exports.geoEckert4 = eckert4;\n exports.geoEckert4Raw = eckert4Raw;\n exports.geoEckert5 = eckert5;\n exports.geoEckert5Raw = eckert5Raw;\n exports.geoEckert6 = eckert6;\n exports.geoEckert6Raw = eckert6Raw;\n exports.geoEisenlohr = eisenlohr;\n exports.geoEisenlohrRaw = eisenlohrRaw;\n exports.geoFahey = fahey;\n exports.geoFaheyRaw = faheyRaw;\n exports.geoFoucaut = foucaut;\n exports.geoFoucautRaw = foucautRaw;\n exports.geoGilbert = gilbert;\n exports.geoGingery = gingery;\n exports.geoGingeryRaw = gingeryRaw;\n exports.geoGinzburg4 = ginzburg4;\n exports.geoGinzburg4Raw = ginzburg4Raw;\n exports.geoGinzburg5 = ginzburg5;\n exports.geoGinzburg5Raw = ginzburg5Raw;\n exports.geoGinzburg6 = ginzburg6;\n exports.geoGinzburg6Raw = ginzburg6Raw;\n exports.geoGinzburg8 = ginzburg8;\n exports.geoGinzburg8Raw = ginzburg8Raw;\n exports.geoGinzburg9 = ginzburg9;\n exports.geoGinzburg9Raw = ginzburg9Raw;\n exports.geoGringorten = gringorten;\n exports.geoGringortenRaw = gringortenRaw;\n exports.geoGuyou = guyou;\n exports.geoGuyouRaw = guyouRaw;\n exports.geoHammer = hammer;\n exports.geoHammerRaw = hammerRaw;\n exports.geoHammerRetroazimuthal = hammerRetroazimuthal;\n exports.geoHammerRetroazimuthalRaw = hammerRetroazimuthalRaw;\n exports.geoHealpix = healpix;\n exports.geoHealpixRaw = healpixRaw;\n exports.geoHill = hill;\n exports.geoHillRaw = hillRaw;\n exports.geoHomolosine = homolosine;\n exports.geoHomolosineRaw = homolosineRaw;\n exports.geoInterrupt = interrupt;\n exports.geoInterruptedBoggs = boggs$1;\n exports.geoInterruptedHomolosine = homolosine$1;\n exports.geoInterruptedMollweide = mollweide$1;\n exports.geoInterruptedMollweideHemispheres = mollweideHemispheres;\n exports.geoInterruptedSinuMollweide = sinuMollweide$1;\n exports.geoInterruptedSinusoidal = sinusoidal$1;\n exports.geoKavrayskiy7 = kavrayskiy7;\n exports.geoKavrayskiy7Raw = kavrayskiy7Raw;\n exports.geoLagrange = lagrange;\n exports.geoLagrangeRaw = lagrangeRaw;\n exports.geoLarrivee = larrivee;\n exports.geoLarriveeRaw = larriveeRaw;\n exports.geoLaskowski = laskowski;\n exports.geoLaskowskiRaw = laskowskiRaw;\n exports.geoLittrow = littrow;\n exports.geoLittrowRaw = littrowRaw;\n exports.geoLoximuthal = loximuthal;\n exports.geoLoximuthalRaw = loximuthalRaw;\n exports.geoMiller = miller;\n exports.geoMillerRaw = millerRaw;\n exports.geoModifiedStereographic = modifiedStereographic;\n exports.geoModifiedStereographicRaw = modifiedStereographicRaw;\n exports.geoModifiedStereographicAlaska = modifiedStereographicAlaska;\n exports.geoModifiedStereographicGs48 = modifiedStereographicGs48;\n exports.geoModifiedStereographicGs50 = modifiedStereographicGs50;\n exports.geoModifiedStereographicMiller = modifiedStereographicMiller;\n exports.geoModifiedStereographicLee = modifiedStereographicLee;\n exports.geoMollweide = mollweide;\n exports.geoMollweideRaw = mollweideRaw;\n exports.geoMtFlatPolarParabolic = mtFlatPolarParabolic;\n exports.geoMtFlatPolarParabolicRaw = mtFlatPolarParabolicRaw;\n exports.geoMtFlatPolarQuartic = mtFlatPolarQuartic;\n exports.geoMtFlatPolarQuarticRaw = mtFlatPolarQuarticRaw;\n exports.geoMtFlatPolarSinusoidal = mtFlatPolarSinusoidal;\n exports.geoMtFlatPolarSinusoidalRaw = mtFlatPolarSinusoidalRaw;\n exports.geoNaturalEarth = naturalEarth;\n exports.geoNaturalEarthRaw = naturalEarthRaw;\n exports.geoNaturalEarth2 = naturalEarth2;\n exports.geoNaturalEarth2Raw = naturalEarth2Raw;\n exports.geoNellHammer = nellHammer;\n exports.geoNellHammerRaw = nellHammerRaw;\n exports.geoPatterson = patterson;\n exports.geoPattersonRaw = pattersonRaw;\n exports.geoPolyconic = polyconic;\n exports.geoPolyconicRaw = polyconicRaw;\n exports.geoPolyhedral = polyhedral;\n exports.geoPolyhedralButterfly = butterfly;\n exports.geoPolyhedralCollignon = collignon$1;\n exports.geoPolyhedralWaterman = waterman;\n exports.geoProject = index;\n exports.geoGringortenQuincuncial = gringorten$1;\n exports.geoPeirceQuincuncial = peirce;\n exports.geoPierceQuincuncial = peirce;\n exports.geoQuantize = quantize;\n exports.geoQuincuncial = quincuncial;\n exports.geoRectangularPolyconic = rectangularPolyconic;\n exports.geoRectangularPolyconicRaw = rectangularPolyconicRaw;\n exports.geoRobinson = robinson;\n exports.geoRobinsonRaw = robinsonRaw;\n exports.geoSatellite = satellite;\n exports.geoSatelliteRaw = satelliteRaw;\n exports.geoSinuMollweide = sinuMollweide;\n exports.geoSinuMollweideRaw = sinuMollweideRaw;\n exports.geoSinusoidal = sinusoidal;\n exports.geoSinusoidalRaw = sinusoidalRaw;\n exports.geoStitch = stitch;\n exports.geoTimes = times;\n exports.geoTimesRaw = timesRaw;\n exports.geoTwoPointAzimuthal = twoPointAzimuthal;\n exports.geoTwoPointAzimuthalRaw = twoPointAzimuthalRaw;\n exports.geoTwoPointAzimuthalUsa = twoPointAzimuthalUsa;\n exports.geoTwoPointEquidistant = twoPointEquidistant;\n exports.geoTwoPointEquidistantRaw = twoPointEquidistantRaw;\n exports.geoTwoPointEquidistantUsa = twoPointEquidistantUsa;\n exports.geoVanDerGrinten = vanDerGrinten;\n exports.geoVanDerGrintenRaw = vanDerGrintenRaw;\n exports.geoVanDerGrinten2 = vanDerGrinten2;\n exports.geoVanDerGrinten2Raw = vanDerGrinten2Raw;\n exports.geoVanDerGrinten3 = vanDerGrinten3;\n exports.geoVanDerGrinten3Raw = vanDerGrinten3Raw;\n exports.geoVanDerGrinten4 = vanDerGrinten4;\n exports.geoVanDerGrinten4Raw = vanDerGrinten4Raw;\n exports.geoWagner4 = wagner4;\n exports.geoWagner4Raw = wagner4Raw;\n exports.geoWagner6 = wagner6;\n exports.geoWagner6Raw = wagner6Raw;\n exports.geoWagner7 = wagner7;\n exports.geoWagner7Raw = wagner7Raw;\n exports.geoWiechel = wiechel;\n exports.geoWiechelRaw = wiechelRaw;\n exports.geoWinkel3 = winkel3;\n exports.geoWinkel3Raw = winkel3Raw;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-geo/build/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "name": "./node_modules/d3-geo/build/d3-geo.js", + "index": 115, + "index2": 114, + "size": 100932, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "issuerId": "./src/connector/geo-graticule.ts", + "issuerName": "./src/connector/geo-graticule.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 605, + "building": 454 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "module": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleName": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "3:84-101" + }, + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:15-32" + }, + { + "moduleId": "./src/connector/geo-graticule.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "module": "./src/connector/geo-graticule.ts", + "moduleName": "./src/connector/geo-graticule.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "3:15-32" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "6:15-32" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:15-32" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:33-50" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-geo/ Version 1.6.4. Copyright 2017 Mike Bostock.\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3));\n}(this, (function (exports, d3Array) {\n 'use strict';\n // Adds floating point numbers with twice the normal precision.\n // Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n // Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n // 305–363 (1997).\n // Code adapted from GeographicLib by Charles F. F. Karney,\n // http://geographiclib.sourceforge.net/\n var adder = function () {\n return new Adder;\n };\n function Adder() {\n this.reset();\n }\n Adder.prototype = {\n constructor: Adder,\n reset: function () {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function (y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s)\n this.t += temp.t;\n else\n this.s = temp.t;\n },\n valueOf: function () {\n return this.s;\n }\n };\n var temp = new Adder;\n function add(adder, a, b) {\n var x = adder.s = a + b, bv = x - a, av = x - bv;\n adder.t = (a - av) + (b - bv);\n }\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var ceil = Math.ceil;\n var exp = Math.exp;\n var log = Math.log;\n var pow = Math.pow;\n var sin = Math.sin;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sqrt = Math.sqrt;\n var tan = Math.tan;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function haversin(x) {\n return (x = sin(x / 2)) * x;\n }\n function noop() { }\n function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n }\n var streamObjectType = {\n Feature: function (object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function (object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n streamGeometry(features[i].geometry, stream);\n }\n };\n var streamGeometryType = {\n Sphere: function (object, stream) {\n stream.sphere();\n },\n Point: function (object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function (object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamLine(coordinates[i], stream, 0);\n },\n Polygon: function (object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function (object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n streamGeometry(geometries[i], stream);\n }\n };\n function streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n)\n coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n }\n function streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n)\n streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n }\n var geoStream = function (object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n }\n else {\n streamGeometry(object, stream);\n }\n };\n var areaRingSum = adder();\n var areaSum = adder();\n var lambda00;\n var phi00;\n var lambda0;\n var cosPhi0;\n var sinPhi0;\n var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function () {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function () {\n areaSum.add(tau);\n }\n };\n function areaRingStart() {\n areaStream.point = areaPointFirst;\n }\n function areaRingEnd() {\n areaPoint(lambda00, phi00);\n }\n function areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n }\n function areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0, sdLambda = dLambda >= 0 ? 1 : -1, adLambda = sdLambda * dLambda, cosPhi = cos(phi), sinPhi = sin(phi), k = sinPhi0 * sinPhi, u = cosPhi0 * cosPhi + k * cos(adLambda), v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n }\n var area = function (object) {\n areaSum.reset();\n geoStream(object, areaStream);\n return areaSum * 2;\n };\n function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n }\n function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n }\n function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n }\n function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n }\n // TODO return a\n function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n }\n function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n }\n // TODO return d\n function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n }\n var lambda0$1;\n var phi0;\n var lambda1;\n var phi1;\n var lambda2;\n var lambda00$1;\n var phi00$1;\n var p0;\n var deltaSum = adder();\n var ranges;\n var range$1;\n var boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function () {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function () {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0)\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon)\n phi1 = 90;\n else if (deltaSum < -epsilon)\n phi0 = -90;\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n }\n };\n function boundsPoint(lambda, phi) {\n ranges.push(range$1 = [lambda0$1 = lambda, lambda1 = lambda]);\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n function linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p), equatorial = [normal[1], -normal[0], 0], inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2, sign$$1 = delta > 0 ? 1 : -1, lambdai = inflection[0] * degrees * sign$$1, phii, antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1)\n phi1 = phii;\n }\n else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0)\n phi0 = phii;\n }\n else {\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n else {\n if (lambda1 >= lambda0$1) {\n if (lambda < lambda0$1)\n lambda0$1 = lambda;\n if (lambda > lambda1)\n lambda1 = lambda;\n }\n else {\n if (lambda > lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n }\n }\n else {\n ranges.push(range$1 = [lambda0$1 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n p0 = p, lambda2 = lambda;\n }\n function boundsLineStart() {\n boundsStream.point = linePoint;\n }\n function boundsLineEnd() {\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n }\n function boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n }\n else {\n lambda00$1 = lambda, phi00$1 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n }\n function boundsRingStart() {\n areaStream.lineStart();\n }\n function boundsRingEnd() {\n boundsRingPoint(lambda00$1, phi00$1);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon)\n lambda0$1 = -(lambda1 = 180);\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n p0 = null;\n }\n // Finds the left-right distance between two longitudes.\n // This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n // the distance between ±180° to be 360°.\n function angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n }\n function rangeCompare(a, b) {\n return a[0] - b[0];\n }\n function rangeContains(range$$1, x) {\n return range$$1[0] <= range$$1[1] ? range$$1[0] <= x && x <= range$$1[1] : x < range$$1[0] || range$$1[1] < x;\n }\n var bounds = function (feature) {\n var i, n, a, b, merged, deltaMax, delta;\n phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);\n ranges = [];\n geoStream(feature, boundsStream);\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1]))\n a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1]))\n a[0] = b[0];\n }\n else {\n merged.push(a = b);\n }\n }\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax)\n deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];\n }\n }\n ranges = range$1 = null;\n return lambda0$1 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0$1, phi0], [lambda1, phi1]];\n };\n var W0;\n var W1;\n var X0;\n var Y0;\n var Z0;\n var X1;\n var Y1;\n var Z1;\n var X2;\n var Y2;\n var Z2;\n var lambda00$2;\n var phi00$2;\n var x0;\n var y0;\n var z0; // previous point\n var centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function () {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function () {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n };\n // Arithmetic mean of Cartesian vectors.\n function centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n }\n function centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n }\n function centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n }\n function centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLineEnd() {\n centroidStream.point = centroidPoint;\n }\n // See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n // J. Applied Mechanics 42, 239 (1975).\n function centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n }\n function centroidRingEnd() {\n centroidRingPoint(lambda00$2, phi00$2);\n centroidStream.point = centroidPoint;\n }\n function centroidRingPointFirst(lambda, phi) {\n lambda00$2 = lambda, phi00$2 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = sqrt(cx * cx + cy * cy + cz * cz), w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2 += v * cx;\n Y2 += v * cy;\n Z2 += v * cz;\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n var centroid = function (object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n geoStream(object, centroidStream);\n var x = X2, y = Y2, z = Z2, m = x * x + y * y + z * z;\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon)\n x = X0, y = Y0, z = Z0;\n m = x * x + y * y + z * z;\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2)\n return [NaN, NaN];\n }\n return [atan2(y, x) * degrees, asin(z / sqrt(m)) * degrees];\n };\n var constant = function (x) {\n return function () {\n return x;\n };\n };\n var compose = function (a, b) {\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n if (a.invert && b.invert)\n compose.invert = function (x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n return compose;\n };\n function rotationIdentity(lambda, phi) {\n return [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n }\n rotationIdentity.invert = rotationIdentity;\n function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n }\n function forwardRotationLambda(deltaLambda) {\n return function (lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n }\n function rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n }\n function rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi), sinDeltaPhi = sin(deltaPhi), cosDeltaGamma = cos(deltaGamma), sinDeltaGamma = sin(deltaGamma);\n function rotation(lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n rotation.invert = function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n return rotation;\n }\n var rotation = function (rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n forward.invert = function (coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n return forward;\n };\n // Generates a circle centered at [0°, 0°], with a given radius and precision.\n function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta)\n return;\n var cosRadius = cos(radius), sinRadius = sin(radius), step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n }\n else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1)\n t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n }\n // Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\n function circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n }\n var circle = function () {\n var center = constant([0, 0]), radius = constant(90), precision = constant(6), ring, rotate, stream = { point: point };\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n function circle() {\n var c = center.apply(this, arguments), r = radius.apply(this, arguments) * radians, p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = { type: \"Polygon\", coordinates: [ring] };\n ring = rotate = null;\n return c;\n }\n circle.center = function (_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n circle.radius = function (_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n circle.precision = function (_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n return circle;\n };\n var clipBuffer = function () {\n var lines = [], line;\n return {\n point: function (x, y) {\n line.push([x, y]);\n },\n lineStart: function () {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function () {\n if (lines.length > 1)\n lines.push(lines.pop().concat(lines.shift()));\n },\n result: function () {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n };\n var clipLine = function (a, b, x0, y0, x1, y1) {\n var ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (t0 > 0)\n a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1)\n b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n };\n var pointEqual = function (a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n };\n function Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n }\n // A generalized polygon clipping algorithm: given a polygon that has been cut\n // into its visible line segments, and rejoins the segments by interpolating\n // along the clip edge.\n var clipPolygon = function (segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [], clip = [], i, n;\n segments.forEach(function (segment) {\n if ((n = segment.length - 1) <= 0)\n return;\n var n, p0 = segment[0], p1 = segment[n], x;\n // If the first and last points of a segment are coincident, then treat as a\n // closed ring. TODO if all rings are closed, then the winding order of the\n // exterior ring should be checked.\n if (pointEqual(p0, p1)) {\n stream.lineStart();\n for (i = 0; i < n; ++i)\n stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n if (!subject.length)\n return;\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n var start = subject[0], points, point;\n while (1) {\n // Find first unvisited intersection.\n var current = start, isSubject = true;\n while (current.v)\n if ((current = current.n) === start)\n return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n }\n else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n };\n function link(array) {\n if (!(n = array.length))\n return;\n var n, i = 0, a = array[0], b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n }\n var clipMax = 1e9;\n var clipMin = -clipMax;\n // TODO Use d3-polygon’s polygonContains here for the ring check?\n // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n function clipExtent(x0, y0, x1, y1) {\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do\n stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n function comparePoint(a, b) {\n var ca = corner(a, 1), cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n return function (stream) {\n var activeStream = stream, bufferStream = clipBuffer(), segments, polygon, ring, x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first, clean;\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n function point(x, y) {\n if (visible(x, y))\n activeStream.point(x, y);\n }\n function polygonInside() {\n var winding = 0;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) {\n if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0))\n ++winding;\n }\n else {\n if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0))\n --winding;\n }\n }\n }\n return winding;\n }\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n function polygonEnd() {\n var startInside = polygonInside(), cleanInside = clean && startInside, visible = (segments = d3Array.merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipPolygon(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon)\n polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_)\n bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_)\n activeStream.lineEnd();\n }\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon)\n ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n }\n else {\n if (v && v_)\n activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v)\n activeStream.lineEnd();\n clean = false;\n }\n else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n return clipStream;\n };\n }\n var extent = function () {\n var x0 = 0, y0 = 0, x1 = 960, y1 = 500, cache, cacheStream, clip;\n return clip = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = clipExtent(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function (_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n };\n var sum = adder();\n var polygonContains = function (polygon, point) {\n var lambda = point[0], phi = point[1], normal = [sin(lambda), -cos(lambda), 0], angle = 0, winding = 0;\n sum.reset();\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length))\n continue;\n var ring, m, point0 = ring[m - 1], lambda0 = point0[0], phi0 = point0[1] / 2 + quarterPi, sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j], lambda1 = point1[0], phi1 = point1[1] / 2 + quarterPi, sinPhi1 = sin(phi1), cosPhi1 = cos(phi1), delta = lambda1 - lambda0, sign$$1 = delta >= 0 ? 1 : -1, absDelta = sign$$1 * delta, antimeridian = absDelta > pi, k = sinPhi0 * sinPhi1;\n sum.add(atan2(k * sign$$1 * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign$$1 * tau : delta;\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n };\n var lengthSum = adder();\n var lambda0$2;\n var sinPhi0$1;\n var cosPhi0$1;\n var lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n };\n function lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n }\n function lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n }\n function lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0$2 = lambda, sinPhi0$1 = sin(phi), cosPhi0$1 = cos(phi);\n lengthStream.point = lengthPoint;\n }\n function lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi), cosPhi = cos(phi), delta = abs(lambda - lambda0$2), cosDelta = cos(delta), sinDelta = sin(delta), x = cosPhi * sinDelta, y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta, z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;\n }\n var length = function (object) {\n lengthSum.reset();\n geoStream(object, lengthStream);\n return +lengthSum;\n };\n var coordinates = [null, null];\n var object = { type: \"LineString\", coordinates: coordinates };\n var distance = function (a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n };\n var containsObjectType = {\n Feature: function (object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function (object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n if (containsGeometry(features[i].geometry, point))\n return true;\n return false;\n }\n };\n var containsGeometryType = {\n Sphere: function () {\n return true;\n },\n Point: function (object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPoint(coordinates[i], point))\n return true;\n return false;\n },\n LineString: function (object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsLine(coordinates[i], point))\n return true;\n return false;\n },\n Polygon: function (object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPolygon(coordinates[i], point))\n return true;\n return false;\n },\n GeometryCollection: function (object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n if (containsGeometry(geometries[i], point))\n return true;\n return false;\n }\n };\n function containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n }\n function containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n }\n function containsLine(coordinates, point) {\n var ab = distance(coordinates[0], coordinates[1]), ao = distance(coordinates[0], point), ob = distance(point, coordinates[1]);\n return ao + ob <= ab + epsilon;\n }\n function containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n }\n function ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n }\n function pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n }\n var contains = function (object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n };\n function graticuleX(y0, y1, dy) {\n var y = d3Array.range(y0, y1 - epsilon, dy).concat(y1);\n return function (x) { return y.map(function (y) { return [x, y]; }); };\n }\n function graticuleY(x0, x1, dx) {\n var x = d3Array.range(x0, x1 - epsilon, dx).concat(x1);\n return function (y) { return x.map(function (x) { return [x, y]; }); };\n }\n function graticule() {\n var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;\n function graticule() {\n return { type: \"MultiLineString\", coordinates: lines() };\n }\n function lines() {\n return d3Array.range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(d3Array.range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(d3Array.range(ceil(x0 / dx) * dx, x1, dx).filter(function (x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(d3Array.range(ceil(y0 / dy) * dy, y1, dy).filter(function (y) { return abs(y % DY) > epsilon; }).map(y));\n }\n graticule.lines = function () {\n return lines().map(function (coordinates) { return { type: \"LineString\", coordinates: coordinates }; });\n };\n graticule.outline = function () {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1))\n ]\n };\n };\n graticule.extent = function (_) {\n if (!arguments.length)\n return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n graticule.extentMajor = function (_) {\n if (!arguments.length)\n return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1)\n _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1)\n _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n graticule.extentMinor = function (_) {\n if (!arguments.length)\n return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1)\n _ = x0, x0 = x1, x1 = _;\n if (y0 > y1)\n _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n graticule.step = function (_) {\n if (!arguments.length)\n return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n graticule.stepMajor = function (_) {\n if (!arguments.length)\n return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n graticule.stepMinor = function (_) {\n if (!arguments.length)\n return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n graticule.precision = function (_) {\n if (!arguments.length)\n return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n }\n function graticule10() {\n return graticule()();\n }\n var interpolate = function (a, b) {\n var x0 = a[0] * radians, y0 = a[1] * radians, x1 = b[0] * radians, y1 = b[1] * radians, cy0 = cos(y0), sy0 = sin(y0), cy1 = cos(y1), sy1 = sin(y1), kx0 = cy0 * cos(x0), ky0 = cy0 * sin(x0), kx1 = cy1 * cos(x1), ky1 = cy1 * sin(x1), d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))), k = sin(d);\n var interpolate = d ? function (t) {\n var B = sin(t *= d) / k, A = sin(d - t) / k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function () {\n return [x0 * degrees, y0 * degrees];\n };\n interpolate.distance = d;\n return interpolate;\n };\n var identity = function (x) {\n return x;\n };\n var areaSum$1 = adder();\n var areaRingSum$1 = adder();\n var x00;\n var y00;\n var x0$1;\n var y0$1;\n var areaStream$1 = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaStream$1.lineStart = areaRingStart$1;\n areaStream$1.lineEnd = areaRingEnd$1;\n },\n polygonEnd: function () {\n areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop;\n areaSum$1.add(abs(areaRingSum$1));\n areaRingSum$1.reset();\n },\n result: function () {\n var area = areaSum$1 / 2;\n areaSum$1.reset();\n return area;\n }\n };\n function areaRingStart$1() {\n areaStream$1.point = areaPointFirst$1;\n }\n function areaPointFirst$1(x, y) {\n areaStream$1.point = areaPoint$1;\n x00 = x0$1 = x, y00 = y0$1 = y;\n }\n function areaPoint$1(x, y) {\n areaRingSum$1.add(y0$1 * x - x0$1 * y);\n x0$1 = x, y0$1 = y;\n }\n function areaRingEnd$1() {\n areaPoint$1(x00, y00);\n }\n var x0$2 = Infinity;\n var y0$2 = x0$2;\n var x1 = -x0$2;\n var y1 = x1;\n var boundsStream$1 = {\n point: boundsPoint$1,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0$2, y0$2], [x1, y1]];\n x1 = y1 = -(y0$2 = x0$2 = Infinity);\n return bounds;\n }\n };\n function boundsPoint$1(x, y) {\n if (x < x0$2)\n x0$2 = x;\n if (x > x1)\n x1 = x;\n if (y < y0$2)\n y0$2 = y;\n if (y > y1)\n y1 = y;\n }\n // TODO Enforce positive area for exterior, negative area for interior?\n var X0$1 = 0;\n var Y0$1 = 0;\n var Z0$1 = 0;\n var X1$1 = 0;\n var Y1$1 = 0;\n var Z1$1 = 0;\n var X2$1 = 0;\n var Y2$1 = 0;\n var Z2$1 = 0;\n var x00$1;\n var y00$1;\n var x0$3;\n var y0$3;\n var centroidStream$1 = {\n point: centroidPoint$1,\n lineStart: centroidLineStart$1,\n lineEnd: centroidLineEnd$1,\n polygonStart: function () {\n centroidStream$1.lineStart = centroidRingStart$1;\n centroidStream$1.lineEnd = centroidRingEnd$1;\n },\n polygonEnd: function () {\n centroidStream$1.point = centroidPoint$1;\n centroidStream$1.lineStart = centroidLineStart$1;\n centroidStream$1.lineEnd = centroidLineEnd$1;\n },\n result: function () {\n var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]\n : Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]\n : Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]\n : [NaN, NaN];\n X0$1 = Y0$1 = Z0$1 =\n X1$1 = Y1$1 = Z1$1 =\n X2$1 = Y2$1 = Z2$1 = 0;\n return centroid;\n }\n };\n function centroidPoint$1(x, y) {\n X0$1 += x;\n Y0$1 += y;\n ++Z0$1;\n }\n function centroidLineStart$1() {\n centroidStream$1.point = centroidPointFirstLine;\n }\n function centroidPointFirstLine(x, y) {\n centroidStream$1.point = centroidPointLine;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidPointLine(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidLineEnd$1() {\n centroidStream$1.point = centroidPoint$1;\n }\n function centroidRingStart$1() {\n centroidStream$1.point = centroidPointFirstRing;\n }\n function centroidRingEnd$1() {\n centroidPointRing(x00$1, y00$1);\n }\n function centroidPointFirstRing(x, y) {\n centroidStream$1.point = centroidPointRing;\n centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);\n }\n function centroidPointRing(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n z = y0$3 * x - x0$3 * y;\n X2$1 += z * (x0$3 + x);\n Y2$1 += z * (y0$3 + y);\n Z2$1 += z * 3;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function PathContext(context) {\n this._context = context;\n }\n PathContext.prototype = {\n _radius: 4.5,\n pointRadius: function (_) {\n return this._radius = _, this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._context.closePath();\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n };\n var lengthSum$1 = adder();\n var lengthRing;\n var x00$2;\n var y00$2;\n var x0$4;\n var y0$4;\n var lengthStream$1 = {\n point: noop,\n lineStart: function () {\n lengthStream$1.point = lengthPointFirst$1;\n },\n lineEnd: function () {\n if (lengthRing)\n lengthPoint$1(x00$2, y00$2);\n lengthStream$1.point = noop;\n },\n polygonStart: function () {\n lengthRing = true;\n },\n polygonEnd: function () {\n lengthRing = null;\n },\n result: function () {\n var length = +lengthSum$1;\n lengthSum$1.reset();\n return length;\n }\n };\n function lengthPointFirst$1(x, y) {\n lengthStream$1.point = lengthPoint$1;\n x00$2 = x0$4 = x, y00$2 = y0$4 = y;\n }\n function lengthPoint$1(x, y) {\n x0$4 -= x, y0$4 -= y;\n lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));\n x0$4 = x, y0$4 = y;\n }\n function PathString() {\n this._string = [];\n }\n PathString.prototype = {\n _radius: 4.5,\n _circle: circle$1(4.5),\n pointRadius: function (_) {\n if ((_ = +_) !== this._radius)\n this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null)\n this._circle = circle$1(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function () {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n }\n else {\n return null;\n }\n }\n };\n function circle$1(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n }\n var index = function (projection, context) {\n var pointRadius = 4.5, projectionStream, contextStream;\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\")\n contextStream.pointRadius(+pointRadius.apply(this, arguments));\n geoStream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n path.area = function (object) {\n geoStream(object, projectionStream(areaStream$1));\n return areaStream$1.result();\n };\n path.measure = function (object) {\n geoStream(object, projectionStream(lengthStream$1));\n return lengthStream$1.result();\n };\n path.bounds = function (object) {\n geoStream(object, projectionStream(boundsStream$1));\n return boundsStream$1.result();\n };\n path.centroid = function (object) {\n geoStream(object, projectionStream(centroidStream$1));\n return centroidStream$1.result();\n };\n path.projection = function (_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n path.context = function (_) {\n if (!arguments.length)\n return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\")\n contextStream.pointRadius(pointRadius);\n return path;\n };\n path.pointRadius = function (_) {\n if (!arguments.length)\n return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n return path.projection(projection).context(context);\n };\n var clip = function (pointVisible, clipLine, interpolate, start) {\n return function (rotate, sink) {\n var line = clipLine(sink), rotatedStart = rotate.invert(start[0], start[1]), ringBuffer = clipBuffer(), ringSink = clipLine(ringBuffer), polygonStarted = false, polygon, segments, ring;\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function () {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = d3Array.merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n }\n else if (startInside) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted)\n sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function () {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1]))\n sink.point(lambda, phi);\n }\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n var clean = ringSink.clean(), ringSegments = ringBuffer.result(), i, n = ringSegments.length, m, segment, point;\n ring.pop();\n polygon.push(ring);\n ring = null;\n if (!n)\n return;\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i)\n sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2)\n ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n segments.push(ringSegments.filter(validSegment));\n }\n return clip;\n };\n };\n function validSegment(segment) {\n return segment.length > 1;\n }\n // Intersections are sorted along the clip edge. For both antimeridian cutting\n // and circle clipping, the same comparison is used.\n function compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n }\n var clipAntimeridian = clip(function () { return true; }, clipAntimeridianLine, clipAntimeridianInterpolate, [-pi, -halfPi]);\n // Takes a line and cuts into visible segments. Return values: 0 - there were\n // intersections or the line was empty; 1 - no intersections; 2 - there were\n // intersections, and the first and last segments should be rejoined.\n function clipAntimeridianLine(stream) {\n var lambda0 = NaN, phi0 = NaN, sign0 = NaN, clean; // no intersections\n return {\n lineStart: function () {\n stream.lineStart();\n clean = 1;\n },\n point: function (lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi, delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n }\n else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon)\n lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon)\n lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function () {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function () {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n }\n function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0, cosPhi1, sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n }\n function clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n }\n else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n var clipCircle = function (radius, delta) {\n var cr = cos(radius), smallRadius = cr > 0, notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function () {\n v00 = v0 = false;\n clean = 1;\n },\n point: function (lambda, phi) {\n var point1 = [lambda, phi], point2, v = visible(lambda, phi), c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v))\n stream.lineStart();\n // Handle degeneracies.\n // TODO ignore if not clipping polygons.\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) {\n point1[0] += epsilon;\n point1[1] += epsilon;\n v = visible(point1[0], point1[1]);\n }\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n }\n else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1]);\n stream.lineEnd();\n }\n point0 = point2;\n }\n else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n }\n else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function () {\n if (v0)\n stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function () {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a), pb = cartesian(b);\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb), n2n2 = cartesianDot(n2, n2), n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n // Two polar points.\n if (!determinant)\n return !two && a;\n var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = cartesianCross(n1, n2), A = cartesianScale(n1, c1), B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n // Solve |p(t)|^2 = 1.\n var u = n1xn2, w = cartesianDot(A, u), uu = cartesianDot(u, u), t2 = w * w - uu * (cartesianDot(A, A) - 1);\n if (t2 < 0)\n return;\n var t = sqrt(t2), q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n if (!two)\n return q;\n // Two intersection points.\n var lambda0 = a[0], lambda1 = b[0], phi0 = a[1], phi1 = b[1], z;\n if (lambda1 < lambda0)\n z = lambda0, lambda0 = lambda1, lambda1 = z;\n var delta = lambda1 - lambda0, polar = abs(delta - pi) < epsilon, meridian = polar || delta < epsilon;\n if (!polar && phi1 < phi0)\n z = phi0, phi0 = phi1, phi1 = z;\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius, code = 0;\n if (lambda < -r)\n code |= 1; // left\n else if (lambda > r)\n code |= 2; // right\n if (phi < -r)\n code |= 4; // below\n else if (phi > r)\n code |= 8; // above\n return code;\n }\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n };\n var transform = function (methods) {\n return {\n stream: transformer(methods)\n };\n };\n function transformer(methods) {\n return function (stream) {\n var s = new TransformStream;\n for (var key in methods)\n s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n }\n function TransformStream() { }\n TransformStream.prototype = {\n constructor: TransformStream,\n point: function (x, y) { this.stream.point(x, y); },\n sphere: function () { this.stream.sphere(); },\n lineStart: function () { this.stream.lineStart(); },\n lineEnd: function () { this.stream.lineEnd(); },\n polygonStart: function () { this.stream.polygonStart(); },\n polygonEnd: function () { this.stream.polygonEnd(); }\n };\n function fitExtent(projection, extent, object) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], clip = projection.clipExtent && projection.clipExtent();\n projection\n .scale(150)\n .translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream$1));\n var b = boundsStream$1.result(), k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n if (clip != null)\n projection.clipExtent(clip);\n return projection\n .scale(k * 150)\n .translate([x, y]);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n var maxDepth = 16;\n var cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n var resample = function (project, delta2) {\n return +delta2 ? resample$1(project, delta2) : resampleNone(project);\n };\n function resampleNone(project) {\n return transformer({\n point: function (x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n }\n function resample$1(project, delta2) {\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = sqrt(a * a + b * b + c * c), phi2 = asin(c /= m), lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a), p = project(lambda2, phi2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function (stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function () { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n return resampleStream;\n };\n }\n var transformRadians = transformer({\n point: function (x, y) {\n this.stream.point(x * radians, y * radians);\n }\n });\n function projection(project) {\n return projectionMutator(function () { return project; })();\n }\n function projectionMutator(projectAt) {\n var project, k = 150, // scale\n x = 480, y = 250, // translate\n dx, dy, lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, projectRotate, // rotate\n theta = null, preclip = clipAntimeridian, // clip angle\n x0 = null, y0, x1, y1, postclip = identity, // clip extent\n delta2 = 0.5, projectResample = resample(projectTransform, delta2), // precision\n cache, cacheStream;\n function projection(point) {\n point = projectRotate(point[0] * radians, point[1] * radians);\n return [point[0] * k + dx, dy - point[1] * k];\n }\n function invert(point) {\n point = projectRotate.invert((point[0] - dx) / k, (dy - point[1]) / k);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n function projectTransform(x, y) {\n return x = project(x, y), [x[0] * k + dx, dy - x[1] * k];\n }\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(preclip(rotate, projectResample(postclip(cacheStream = stream))));\n };\n projection.clipAngle = function (_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians, 6 * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n projection.center = function (_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n projection.rotate = function (_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n projection.precision = function (_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n function recenter() {\n projectRotate = compose(rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma), project);\n var center = project(lambda, phi);\n dx = x - center[0] * k;\n dy = y + center[1] * k;\n return reset();\n }\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return function () {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n }\n function conicProjection(projectAt) {\n var phi0 = 0, phi1 = pi / 3, m = projectionMutator(projectAt), p = m(phi0, phi1);\n p.parallels = function (_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n return p;\n }\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon)\n return cylindricalEqualAreaRaw(y0);\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n project.invert = function (x, y) {\n var r0y = r0 - y;\n return [atan2(x, abs(r0y)) / n * sign(r0y), asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n return project;\n }\n var conicEqualArea = function () {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n };\n var albers = function () {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n };\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n var albersUsa = function () {\n var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n return albersUsa.scale(1070);\n };\n function azimuthalRaw(scale) {\n return function (x, y) {\n var cx = cos(x), cy = cos(y), k = scale(cx * cy);\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n };\n }\n function azimuthalInvert(angle) {\n return function (x, y) {\n var z = sqrt(x * x + y * y), c = angle(z), sc = sin(c), cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n };\n }\n var azimuthalEqualAreaRaw = azimuthalRaw(function (cxcy) {\n return sqrt(2 / (1 + cxcy));\n });\n azimuthalEqualAreaRaw.invert = azimuthalInvert(function (z) {\n return 2 * asin(z / 2);\n });\n var azimuthalEqualArea = function () {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n };\n var azimuthalEquidistantRaw = azimuthalRaw(function (c) {\n return (c = acos(c)) && c / sin(c);\n });\n azimuthalEquidistantRaw.invert = azimuthalInvert(function (z) {\n return z;\n });\n var azimuthalEquidistant = function () {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n };\n function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n }\n mercatorRaw.invert = function (x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n };\n var mercator = function () {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n };\n function mercatorProjection(project) {\n var m = projection(project), center = m.center, scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, x0 = null, y0, x1, y1; // clip extent\n m.scale = function (_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n m.translate = function (_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n m.center = function (_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n m.clipExtent = function (_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n function reclip() {\n var k = pi * scale(), t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n return reclip();\n }\n function tany(y) {\n return tan((halfPi + y) / 2);\n }\n function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)), f = cy0 * pow(tany(y0), n) / n;\n if (!n)\n return mercatorRaw;\n function project(x, y) {\n if (f > 0) {\n if (y < -halfPi + epsilon)\n y = -halfPi + epsilon;\n }\n else {\n if (y > halfPi - epsilon)\n y = halfPi - epsilon;\n }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n project.invert = function (x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy);\n return [atan2(x, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n return project;\n }\n var conicConformal = function () {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n };\n function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n }\n equirectangularRaw.invert = equirectangularRaw;\n var equirectangular = function () {\n return projection(equirectangularRaw)\n .scale(152.63);\n };\n function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0), g = cy0 / n + y0;\n if (abs(n) < epsilon)\n return equirectangularRaw;\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n project.invert = function (x, y) {\n var gy = g - y;\n return [atan2(x, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x * x + gy * gy)];\n };\n return project;\n }\n var conicEquidistant = function () {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n };\n function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n gnomonicRaw.invert = azimuthalInvert(atan);\n var gnomonic = function () {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n };\n function scaleTranslate(kx, ky, tx, ty) {\n return kx === 1 && ky === 1 && tx === 0 && ty === 0 ? identity : transformer({\n point: function (x, y) {\n this.stream.point(x * kx + tx, y * ky + ty);\n }\n });\n }\n var identity$1 = function () {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, transform = identity, // scale, translate and reflect\n x0 = null, y0, x1, y1, clip = identity, // clip extent\n cache, cacheStream, projection;\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return projection = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = transform(clip(cacheStream = stream));\n },\n clipExtent: function (_) {\n return arguments.length ? (clip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n },\n scale: function (_) {\n return arguments.length ? (transform = scaleTranslate((k = +_) * sx, k * sy, tx, ty), reset()) : k;\n },\n translate: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];\n },\n reflectX: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * (sx = _ ? -1 : 1), k * sy, tx, ty), reset()) : sx < 0;\n },\n reflectY: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;\n },\n fitExtent: function (extent, object) {\n return fitExtent(projection, extent, object);\n },\n fitSize: function (size, object) {\n return fitSize(projection, size, object);\n }\n };\n };\n function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n }\n orthographicRaw.invert = azimuthalInvert(asin);\n var orthographic = function () {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n };\n function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n stereographicRaw.invert = azimuthalInvert(function (z) {\n return 2 * atan(z);\n });\n var stereographic = function () {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n };\n function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n }\n transverseMercatorRaw.invert = function (x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n };\n var transverseMercator = function () {\n var m = mercatorProjection(transverseMercatorRaw), center = m.center, rotate = m.rotate;\n m.center = function (_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n m.rotate = function (_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n return rotate([0, 0, 90])\n .scale(159.155);\n };\n exports.geoArea = area;\n exports.geoBounds = bounds;\n exports.geoCentroid = centroid;\n exports.geoCircle = circle;\n exports.geoClipExtent = extent;\n exports.geoContains = contains;\n exports.geoDistance = distance;\n exports.geoGraticule = graticule;\n exports.geoGraticule10 = graticule10;\n exports.geoInterpolate = interpolate;\n exports.geoLength = length;\n exports.geoPath = index;\n exports.geoAlbers = albers;\n exports.geoAlbersUsa = albersUsa;\n exports.geoAzimuthalEqualArea = azimuthalEqualArea;\n exports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;\n exports.geoAzimuthalEquidistant = azimuthalEquidistant;\n exports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;\n exports.geoConicConformal = conicConformal;\n exports.geoConicConformalRaw = conicConformalRaw;\n exports.geoConicEqualArea = conicEqualArea;\n exports.geoConicEqualAreaRaw = conicEqualAreaRaw;\n exports.geoConicEquidistant = conicEquidistant;\n exports.geoConicEquidistantRaw = conicEquidistantRaw;\n exports.geoEquirectangular = equirectangular;\n exports.geoEquirectangularRaw = equirectangularRaw;\n exports.geoGnomonic = gnomonic;\n exports.geoGnomonicRaw = gnomonicRaw;\n exports.geoIdentity = identity$1;\n exports.geoProjection = projection;\n exports.geoProjectionMutator = projectionMutator;\n exports.geoMercator = mercator;\n exports.geoMercatorRaw = mercatorRaw;\n exports.geoOrthographic = orthographic;\n exports.geoOrthographicRaw = orthographicRaw;\n exports.geoStereographic = stereographic;\n exports.geoStereographicRaw = stereographicRaw;\n exports.geoTransverseMercator = transverseMercator;\n exports.geoTransverseMercatorRaw = transverseMercatorRaw;\n exports.geoRotation = rotation;\n exports.geoStream = geoStream;\n exports.geoTransform = transform;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hexjson/build/d3-hexjson.js", + "name": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "index": 145, + "index2": 143, + "size": 14440, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "issuerId": "./src/connector/hexjson.ts", + "issuerName": "./src/connector/hexjson.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/hexjson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "name": "./src/connector/hexjson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 546, + "building": 1386, + "dependencies": 617 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "d3-hexjson", + "loc": "4:19-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3));\n}(this, function (exports, d3Array) {\n 'use strict';\n // Main render method\n function renderHexJSON(hexjson, width, height) {\n // Get the layout\n var layout = hexjson.layout;\n // Get the hex objects as an array\n var hexes = [];\n var hexRadius = 0;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexjson.hexes[key].key = key;\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Get the vertices and points for this layout\n var vertices = getVertices(layout, hexWidth, hexRadius);\n var points = getPoints(vertices);\n // Calculate the values needed to render each hex and add to hexes\n hexes.forEach(function (hex) {\n // Calculate the absolute co-ordinates of each hex\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n // Add the vertex positions and points relative to x and y\n hex.vertices = vertices;\n hex.points = points;\n });\n return hexes;\n }\n // Get the x position for a hex\n function getX(hex, layout, hexWidth, hexRadius) {\n var x = 0, xOffset = 0;\n switch (layout) {\n case \"odd-r\":\n xOffset = (hex.rc % 2 === 1) ? hexWidth : (hexWidth / 2);\n x = (hex.qc * hexWidth) + xOffset;\n break;\n case \"even-r\":\n xOffset = (hex.rc % 2 === 0) ? hexWidth : (hexWidth / 2);\n x = (hex.qc * hexWidth) + xOffset;\n break;\n case \"odd-q\":\n case \"even-q\":\n x = (hex.qc * hexRadius * 1.5) + hexRadius;\n break;\n }\n return x;\n }\n // Get the y position for a hex\n function getY(hex, layout, hexWidth, hexRadius) {\n var y = 0, yOffset = 0;\n switch (layout) {\n case \"odd-r\":\n case \"even-r\":\n y = (hex.rc * hexRadius * 1.5) + hexRadius;\n break;\n case \"odd-q\":\n yOffset = (hex.qc % 2 === 1) ? hexWidth : (hexWidth / 2);\n y = (hex.rc * hexWidth) + yOffset;\n break;\n case \"even-q\":\n yOffset = (hex.qc % 2 === 0) ? hexWidth : (hexWidth / 2);\n y = (hex.rc * hexWidth) + yOffset;\n break;\n }\n return y;\n }\n // Get the positions of the vertices for the hex:\n // - Row layouts are ordered from the topmost vertex clockwise\n // - Column layouts are ordered from the leftmost vertex clockwise\n function getVertices(layout, hexWidth, hexRadius) {\n var vertices = [];\n switch (layout) {\n case \"odd-r\":\n case \"even-r\":\n vertices.push({ x: 0, y: (0 - hexRadius) });\n vertices.push({ x: (0 + hexWidth * 0.5), y: (0 - 0.5 * hexRadius) });\n vertices.push({ x: (0 + hexWidth * 0.5), y: (0 + 0.5 * hexRadius) });\n vertices.push({ x: 0, y: (0 + hexRadius) });\n vertices.push({ x: (0 - hexWidth * 0.5), y: (0 + 0.5 * hexRadius) });\n vertices.push({ x: (0 - hexWidth * 0.5), y: (0 - 0.5 * hexRadius) });\n break;\n case \"odd-q\":\n case \"even-q\":\n vertices.push({ x: (0 - hexRadius), y: 0 });\n vertices.push({ x: (0 - 0.5 * hexRadius), y: (0 - hexWidth * 0.5) });\n vertices.push({ x: (0 + 0.5 * hexRadius), y: (0 - hexWidth * 0.5) });\n vertices.push({ x: (0 + hexRadius), y: 0 });\n vertices.push({ x: (0 + 0.5 * hexRadius), y: (0 + hexWidth * 0.5) });\n vertices.push({ x: (0 - 0.5 * hexRadius), y: (0 + hexWidth * 0.5) });\n break;\n }\n return vertices;\n }\n // Get the points attribute for a polygon with these vertices\n function getPoints(vertices) {\n var points = \"\";\n vertices.forEach(function (v) { points += v.x + \",\" + v.y + \" \"; });\n return points.substring(0, points.length - 1);\n }\n // Creates a hexjson grid with the layout and dimensions of the given hexjson\n function getGridForHexJSON(hexjson) {\n // Create a new HexJSON object for the grid\n var grid = {};\n grid.layout = hexjson.layout;\n grid.hexes = {};\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns in the grid\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n // Create the hexjson grid\n var i, j, fkey;\n for (i = qmin; i <= qmax; i++) {\n for (j = rmin; j <= rmax; j++) {\n fkey = \"Q\" + i + \"R\" + j;\n grid.hexes[fkey] = { q: i, r: j };\n }\n }\n return grid;\n }\n // Creates a list of dots along the boundaries between\n // hexes which have different values of \"field\"\n function getBoundaryDotsForHexJSON(hexjson, width, height, field) {\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n var layout = hexjson.layout;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n var hexRadius;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Create an array into which we will put points along the\n // boundaries between differing hexes.\n // Each edge has five points, equally spaced.\n var lines = [];\n var hexRadiusSquared = hexRadius * hexRadius * 4;\n var maxHex = hexes.length;\n if (maxHex > 1) {\n hexes.forEach(function (hex) {\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n });\n for (var i = 0; i < maxHex - 1; i++) {\n for (var j = i + 1; j < maxHex; j++) {\n var hex = hexes[i];\n var otherHex = hexes[j];\n if (hex[field] !== otherHex[field]) {\n if (Math.abs(hex.q - otherHex.q) <= 1 &&\n Math.abs(hex.r - otherHex.r) <= 1) {\n if (((hex.x - otherHex.x) * (hex.x - otherHex.x)) +\n ((hex.y - otherHex.y) * (hex.y - otherHex.y)) < hexRadiusSquared) {\n // They're neighbours\n var midpoint = {};\n midpoint.x = otherHex.x + (hex.x - otherHex.x) / 2;\n midpoint.y = otherHex.y + (hex.y - otherHex.y) / 2;\n var perp = {};\n var denom = Math.sqrt(3) * 4;\n perp.dx = (hex.y - otherHex.y) / denom;\n perp.dy = -(hex.x - otherHex.x) / denom;\n lines.push({ x: midpoint.x - 2 * perp.dx, y: midpoint.y - 2 * perp.dy });\n lines.push({ x: midpoint.x - perp.dx, y: midpoint.y - perp.dy });\n lines.push({ x: midpoint.x, y: midpoint.y });\n lines.push({ x: midpoint.x + perp.dx, y: midpoint.y + perp.dy });\n lines.push({ x: midpoint.x + 2 * perp.dx, y: midpoint.y + 2 * perp.dy });\n }\n }\n }\n }\n }\n }\n return lines;\n }\n // Creates a list of line segments along the boundaries\n // between hexes which have different values of \"field\"\n function getBoundarySegmentsForHexJSON(hexjson, width, height, field) {\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n var layout = hexjson.layout;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n var hexRadius;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Create an array into which we will put points along the\n // boundaries between differing hexes.\n // Each segment will be of the form\n // {x: , y: , cx: , cy: }\n // intended to be used with the simple line drawing functionality of d3\n //\n var segments = [];\n var hexRadiusSquared = hexRadius * hexRadius * 4;\n var maxHex = hexes.length;\n if (maxHex > 1) {\n hexes.forEach(function (hex) {\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n });\n for (var i = 0; i < maxHex - 1; i++) {\n for (var j = i + 1; j < maxHex; j++) {\n var hex = hexes[i];\n var otherHex = hexes[j];\n if (hex[field] !== otherHex[field]) {\n if (Math.abs(hex.q - otherHex.q) <= 1 &&\n Math.abs(hex.r - otherHex.r) <= 1) {\n if (((hex.x - otherHex.x) * (hex.x - otherHex.x)) +\n ((hex.y - otherHex.y) * (hex.y - otherHex.y)) < hexRadiusSquared) {\n // They're neighbours\n var midpoint = {};\n midpoint.x = otherHex.x + (hex.x - otherHex.x) / 2;\n midpoint.y = otherHex.y + (hex.y - otherHex.y) / 2;\n var perp = {};\n var direction = +1;\n if (hex[field] < otherHex[field]) {\n direction = -1;\n } // otherwise, direction will be +1\n var denom = Math.sqrt(3) * 2 * direction;\n perp.dx = (hex.y - otherHex.y) / denom;\n perp.dy = -(hex.x - otherHex.x) / denom;\n segments.push({\n x1: midpoint.x - perp.dx,\n y1: midpoint.y - perp.dy,\n x2: midpoint.x + perp.dx,\n y2: midpoint.y + perp.dy\n });\n }\n }\n }\n }\n }\n }\n return segments;\n }\n exports.renderHexJSON = renderHexJSON;\n exports.getGridForHexJSON = getGridForHexJSON;\n exports.getBoundaryDotsForHexJSON = getBoundaryDotsForHexJSON;\n exports.getBoundarySegmentsForHexJSON = getBoundarySegmentsForHexJSON;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "name": "./node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "index": 147, + "index2": 145, + "size": 39951, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "issuerId": "./src/connector/hierarchy.ts", + "issuerName": "./src/connector/hierarchy.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "name": "./src/connector/hierarchy.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 533, + "building": 1238 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:21-44" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "5:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-hierarchy/ v1.1.9 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n function defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n }\n function meanX(children) {\n return children.reduce(meanXReduce, 0) / children.length;\n }\n function meanXReduce(x, c) {\n return x + c.x;\n }\n function maxY(children) {\n return 1 + children.reduce(maxYReduce, 0);\n }\n function maxYReduce(y, c) {\n return Math.max(y, c.y);\n }\n function leafLeft(node) {\n var children;\n while (children = node.children)\n node = children[0];\n return node;\n }\n function leafRight(node) {\n var children;\n while (children = node.children)\n node = children[children.length - 1];\n return node;\n }\n function cluster() {\n var separation = defaultSeparation, dx = 1, dy = 1, nodeSize = false;\n function cluster(root) {\n var previousNode, x = 0;\n // First walk, computing the initial x & y values.\n root.eachAfter(function (node) {\n var children = node.children;\n if (children) {\n node.x = meanX(children);\n node.y = maxY(children);\n }\n else {\n node.x = previousNode ? x += separation(node, previousNode) : 0;\n node.y = 0;\n previousNode = node;\n }\n });\n var left = leafLeft(root), right = leafRight(root), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2;\n // Second walk, normalizing x & y to the desired size.\n return root.eachAfter(nodeSize ? function (node) {\n node.x = (node.x - root.x) * dx;\n node.y = (root.y - node.y) * dy;\n } : function (node) {\n node.x = (node.x - x0) / (x1 - x0) * dx;\n node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;\n });\n }\n cluster.separation = function (x) {\n return arguments.length ? (separation = x, cluster) : separation;\n };\n cluster.size = function (x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]);\n };\n cluster.nodeSize = function (x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null);\n };\n return cluster;\n }\n function count(node) {\n var sum = 0, children = node.children, i = children && children.length;\n if (!i)\n sum = 1;\n else\n while (--i >= 0)\n sum += children[i].value;\n node.value = sum;\n }\n function node_count() {\n return this.eachAfter(count);\n }\n function node_each(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children)\n for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n }\n function node_eachBefore(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children)\n for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n }\n function node_eachAfter(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children)\n for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n }\n function node_sum(value) {\n return this.eachAfter(function (node) {\n var sum = +value(node.data) || 0, children = node.children, i = children && children.length;\n while (--i >= 0)\n sum += children[i].value;\n node.value = sum;\n });\n }\n function node_sort(compare) {\n return this.eachBefore(function (node) {\n if (node.children) {\n node.children.sort(compare);\n }\n });\n }\n function node_path(end) {\n var start = this, ancestor = leastCommonAncestor(start, end), nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n }\n function leastCommonAncestor(a, b) {\n if (a === b)\n return a;\n var aNodes = a.ancestors(), bNodes = b.ancestors(), c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n }\n function node_ancestors() {\n var node = this, nodes = [node];\n while (node = node.parent) {\n nodes.push(node);\n }\n return nodes;\n }\n function node_descendants() {\n var nodes = [];\n this.each(function (node) {\n nodes.push(node);\n });\n return nodes;\n }\n function node_leaves() {\n var leaves = [];\n this.eachBefore(function (node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n }\n function node_links() {\n var root = this, links = [];\n root.each(function (node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({ source: node.parent, target: node });\n }\n });\n return links;\n }\n function hierarchy(data, children) {\n var root = new Node(data), valued = +data.value && (root.value = data.value), node, nodes = [root], child, childs, i, n;\n if (children == null)\n children = defaultChildren;\n while (node = nodes.pop()) {\n if (valued)\n node.value = +node.data.value;\n if ((childs = children(node.data)) && (n = childs.length)) {\n node.children = new Array(n);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new Node(childs[i]));\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n return root.eachBefore(computeHeight);\n }\n function node_copy() {\n return hierarchy(this).eachBefore(copyData);\n }\n function defaultChildren(d) {\n return d.children;\n }\n function copyData(node) {\n node.data = node.data.data;\n }\n function computeHeight(node) {\n var height = 0;\n do\n node.height = height;\n while ((node = node.parent) && (node.height < ++height));\n }\n function Node(data) {\n this.data = data;\n this.depth =\n this.height = 0;\n this.parent = null;\n }\n Node.prototype = hierarchy.prototype = {\n constructor: Node,\n count: node_count,\n each: node_each,\n eachAfter: node_eachAfter,\n eachBefore: node_eachBefore,\n sum: node_sum,\n sort: node_sort,\n path: node_path,\n ancestors: node_ancestors,\n descendants: node_descendants,\n leaves: node_leaves,\n links: node_links,\n copy: node_copy\n };\n var slice = Array.prototype.slice;\n function shuffle(array) {\n var m = array.length, t, i;\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m];\n array[m] = array[i];\n array[i] = t;\n }\n return array;\n }\n function enclose(circles) {\n var i = 0, n = (circles = shuffle(slice.call(circles))).length, B = [], p, e;\n while (i < n) {\n p = circles[i];\n if (e && enclosesWeak(e, p))\n ++i;\n else\n e = encloseBasis(B = extendBasis(B, p)), i = 0;\n }\n return e;\n }\n function extendBasis(B, p) {\n var i, j;\n if (enclosesWeakAll(p, B))\n return [p];\n // If we get here then B must have at least one element.\n for (i = 0; i < B.length; ++i) {\n if (enclosesNot(p, B[i])\n && enclosesWeakAll(encloseBasis2(B[i], p), B)) {\n return [B[i], p];\n }\n }\n // If we get here then B must have at least two elements.\n for (i = 0; i < B.length - 1; ++i) {\n for (j = i + 1; j < B.length; ++j) {\n if (enclosesNot(encloseBasis2(B[i], B[j]), p)\n && enclosesNot(encloseBasis2(B[i], p), B[j])\n && enclosesNot(encloseBasis2(B[j], p), B[i])\n && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {\n return [B[i], B[j], p];\n }\n }\n }\n // If we get here then something is very wrong.\n throw new Error;\n }\n function enclosesNot(a, b) {\n var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;\n return dr < 0 || dr * dr < dx * dx + dy * dy;\n }\n function enclosesWeak(a, b) {\n var dr = a.r - b.r + 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n }\n function enclosesWeakAll(a, B) {\n for (var i = 0; i < B.length; ++i) {\n if (!enclosesWeak(a, B[i])) {\n return false;\n }\n }\n return true;\n }\n function encloseBasis(B) {\n switch (B.length) {\n case 1: return encloseBasis1(B[0]);\n case 2: return encloseBasis2(B[0], B[1]);\n case 3: return encloseBasis3(B[0], B[1], B[2]);\n }\n }\n function encloseBasis1(a) {\n return {\n x: a.x,\n y: a.y,\n r: a.r\n };\n }\n function encloseBasis2(a, b) {\n var x1 = a.x, y1 = a.y, r1 = a.r, x2 = b.x, y2 = b.y, r2 = b.r, x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1, l = Math.sqrt(x21 * x21 + y21 * y21);\n return {\n x: (x1 + x2 + x21 / l * r21) / 2,\n y: (y1 + y2 + y21 / l * r21) / 2,\n r: (l + r1 + r2) / 2\n };\n }\n function encloseBasis3(a, b, c) {\n var x1 = a.x, y1 = a.y, r1 = a.r, x2 = b.x, y2 = b.y, r2 = b.r, x3 = c.x, y3 = c.y, r3 = c.r, a2 = x1 - x2, a3 = x1 - x3, b2 = y1 - y2, b3 = y1 - y3, c2 = r2 - r1, c3 = r3 - r1, d1 = x1 * x1 + y1 * y1 - r1 * r1, d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2, d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3, ab = a3 * b2 - a2 * b3, xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1, xb = (b3 * c2 - b2 * c3) / ab, ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1, yb = (a2 * c3 - a3 * c2) / ab, A = xb * xb + yb * yb - 1, B = 2 * (r1 + xa * xb + ya * yb), C = xa * xa + ya * ya - r1 * r1, r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);\n return {\n x: x1 + xa + xb * r,\n y: y1 + ya + yb * r,\n r: r\n };\n }\n function place(b, a, c) {\n var dx = b.x - a.x, x, a2, dy = b.y - a.y, y, b2, d2 = dx * dx + dy * dy;\n if (d2) {\n a2 = a.r + c.r, a2 *= a2;\n b2 = b.r + c.r, b2 *= b2;\n if (a2 > b2) {\n x = (d2 + b2 - a2) / (2 * d2);\n y = Math.sqrt(Math.max(0, b2 / d2 - x * x));\n c.x = b.x - x * dx - y * dy;\n c.y = b.y - x * dy + y * dx;\n }\n else {\n x = (d2 + a2 - b2) / (2 * d2);\n y = Math.sqrt(Math.max(0, a2 / d2 - x * x));\n c.x = a.x + x * dx - y * dy;\n c.y = a.y + x * dy + y * dx;\n }\n }\n else {\n c.x = a.x + c.r;\n c.y = a.y;\n }\n }\n function intersects(a, b) {\n var dr = a.r + b.r - 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n }\n function score(node) {\n var a = node._, b = node.next._, ab = a.r + b.r, dx = (a.x * b.r + b.x * a.r) / ab, dy = (a.y * b.r + b.y * a.r) / ab;\n return dx * dx + dy * dy;\n }\n function Node$1(circle) {\n this._ = circle;\n this.next = null;\n this.previous = null;\n }\n function packEnclose(circles) {\n if (!(n = circles.length))\n return 0;\n var a, b, c, n, aa, ca, i, j, k, sj, sk;\n // Place the first circle.\n a = circles[0], a.x = 0, a.y = 0;\n if (!(n > 1))\n return a.r;\n // Place the second circle.\n b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;\n if (!(n > 2))\n return a.r + b.r;\n // Place the third circle.\n place(b, a, c = circles[2]);\n // Initialize the front-chain using the first three circles a, b and c.\n a = new Node$1(a), b = new Node$1(b), c = new Node$1(c);\n a.next = c.previous = b;\n b.next = a.previous = c;\n c.next = b.previous = a;\n // Attempt to place each remaining circle…\n pack: for (i = 3; i < n; ++i) {\n place(a._, b._, c = circles[i]), c = new Node$1(c);\n // Find the closest intersecting circle on the front-chain, if any.\n // “Closeness” is determined by linear distance along the front-chain.\n // “Ahead” or “behind” is likewise determined by linear distance.\n j = b.next, k = a.previous, sj = b._.r, sk = a._.r;\n do {\n if (sj <= sk) {\n if (intersects(j._, c._)) {\n b = j, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sj += j._.r, j = j.next;\n }\n else {\n if (intersects(k._, c._)) {\n a = k, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sk += k._.r, k = k.previous;\n }\n } while (j !== k.next);\n // Success! Insert the new circle c between a and b.\n c.previous = a, c.next = b, a.next = b.previous = b = c;\n // Compute the new closest circle pair to the centroid.\n aa = score(a);\n while ((c = c.next) !== b) {\n if ((ca = score(c)) < aa) {\n a = c, aa = ca;\n }\n }\n b = a.next;\n }\n // Compute the enclosing circle of the front chain.\n a = [b._], c = b;\n while ((c = c.next) !== b)\n a.push(c._);\n c = enclose(a);\n // Translate the circles to put the enclosing circle around the origin.\n for (i = 0; i < n; ++i)\n a = circles[i], a.x -= c.x, a.y -= c.y;\n return c.r;\n }\n function siblings(circles) {\n packEnclose(circles);\n return circles;\n }\n function optional(f) {\n return f == null ? null : required(f);\n }\n function required(f) {\n if (typeof f !== \"function\")\n throw new Error;\n return f;\n }\n function constantZero() {\n return 0;\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function defaultRadius(d) {\n return Math.sqrt(d.value);\n }\n function index() {\n var radius = null, dx = 1, dy = 1, padding = constantZero;\n function pack(root) {\n root.x = dx / 2, root.y = dy / 2;\n if (radius) {\n root.eachBefore(radiusLeaf(radius))\n .eachAfter(packChildren(padding, 0.5))\n .eachBefore(translateChild(1));\n }\n else {\n root.eachBefore(radiusLeaf(defaultRadius))\n .eachAfter(packChildren(constantZero, 1))\n .eachAfter(packChildren(padding, root.r / Math.min(dx, dy)))\n .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));\n }\n return root;\n }\n pack.radius = function (x) {\n return arguments.length ? (radius = optional(x), pack) : radius;\n };\n pack.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];\n };\n pack.padding = function (x) {\n return arguments.length ? (padding = typeof x === \"function\" ? x : constant(+x), pack) : padding;\n };\n return pack;\n }\n function radiusLeaf(radius) {\n return function (node) {\n if (!node.children) {\n node.r = Math.max(0, +radius(node) || 0);\n }\n };\n }\n function packChildren(padding, k) {\n return function (node) {\n if (children = node.children) {\n var children, i, n = children.length, r = padding(node) * k || 0, e;\n if (r)\n for (i = 0; i < n; ++i)\n children[i].r += r;\n e = packEnclose(children);\n if (r)\n for (i = 0; i < n; ++i)\n children[i].r -= r;\n node.r = e + r;\n }\n };\n }\n function translateChild(k) {\n return function (node) {\n var parent = node.parent;\n node.r *= k;\n if (parent) {\n node.x = parent.x + k * node.x;\n node.y = parent.y + k * node.y;\n }\n };\n }\n function roundNode(node) {\n node.x0 = Math.round(node.x0);\n node.y0 = Math.round(node.y0);\n node.x1 = Math.round(node.x1);\n node.y1 = Math.round(node.y1);\n }\n function treemapDice(parent, x0, y0, x1, y1) {\n var nodes = parent.children, node, i = -1, n = nodes.length, k = parent.value && (x1 - x0) / parent.value;\n while (++i < n) {\n node = nodes[i], node.y0 = y0, node.y1 = y1;\n node.x0 = x0, node.x1 = x0 += node.value * k;\n }\n }\n function partition() {\n var dx = 1, dy = 1, padding = 0, round = false;\n function partition(root) {\n var n = root.height + 1;\n root.x0 =\n root.y0 = padding;\n root.x1 = dx;\n root.y1 = dy / n;\n root.eachBefore(positionNode(dy, n));\n if (round)\n root.eachBefore(roundNode);\n return root;\n }\n function positionNode(dy, n) {\n return function (node) {\n if (node.children) {\n treemapDice(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);\n }\n var x0 = node.x0, y0 = node.y0, x1 = node.x1 - padding, y1 = node.y1 - padding;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n };\n }\n partition.round = function (x) {\n return arguments.length ? (round = !!x, partition) : round;\n };\n partition.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];\n };\n partition.padding = function (x) {\n return arguments.length ? (padding = +x, partition) : padding;\n };\n return partition;\n }\n var keyPrefix = \"$\", // Protect against keys like “__proto__”.\n preroot = { depth: -1 }, ambiguous = {};\n function defaultId(d) {\n return d.id;\n }\n function defaultParentId(d) {\n return d.parentId;\n }\n function stratify() {\n var id = defaultId, parentId = defaultParentId;\n function stratify(data) {\n var d, i, n = data.length, root, parent, node, nodes = new Array(n), nodeId, nodeKey, nodeByKey = {};\n for (i = 0; i < n; ++i) {\n d = data[i], node = nodes[i] = new Node(d);\n if ((nodeId = id(d, i, data)) != null && (nodeId += \"\")) {\n nodeKey = keyPrefix + (node.id = nodeId);\n nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;\n }\n }\n for (i = 0; i < n; ++i) {\n node = nodes[i], nodeId = parentId(data[i], i, data);\n if (nodeId == null || !(nodeId += \"\")) {\n if (root)\n throw new Error(\"multiple roots\");\n root = node;\n }\n else {\n parent = nodeByKey[keyPrefix + nodeId];\n if (!parent)\n throw new Error(\"missing: \" + nodeId);\n if (parent === ambiguous)\n throw new Error(\"ambiguous: \" + nodeId);\n if (parent.children)\n parent.children.push(node);\n else\n parent.children = [node];\n node.parent = parent;\n }\n }\n if (!root)\n throw new Error(\"no root\");\n root.parent = preroot;\n root.eachBefore(function (node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(computeHeight);\n root.parent = null;\n if (n > 0)\n throw new Error(\"cycle\");\n return root;\n }\n stratify.id = function (x) {\n return arguments.length ? (id = required(x), stratify) : id;\n };\n stratify.parentId = function (x) {\n return arguments.length ? (parentId = required(x), stratify) : parentId;\n };\n return stratify;\n }\n function defaultSeparation$1(a, b) {\n return a.parent === b.parent ? 1 : 2;\n }\n // function radialSeparation(a, b) {\n // return (a.parent === b.parent ? 1 : 2) / a.depth;\n // }\n // This function is used to traverse the left contour of a subtree (or\n // subforest). It returns the successor of v on this contour. This successor is\n // either given by the leftmost child of v or by the thread of v. The function\n // returns null if and only if v is on the highest level of its subtree.\n function nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n }\n // This function works analogously to nextLeft.\n function nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n }\n // Shifts the current subtree rooted at w+. This is done by increasing\n // prelim(w+) and mod(w+) by shift.\n function moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n }\n // All other shifts, applied to the smaller subtrees between w- and w+, are\n // performed by this function. To prepare the shifts, we have to adjust\n // change(w+), shift(w+), and change(w-).\n function executeShifts(v) {\n var shift = 0, change = 0, children = v.children, i = children.length, w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n }\n // If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n // returns the specified (default) ancestor.\n function nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n }\n function TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n }\n TreeNode.prototype = Object.create(Node.prototype);\n function treeRoot(root) {\n var tree = new TreeNode(root, 0), node, nodes = [tree], child, children, i, n;\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n }\n // Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\n function tree() {\n var separation = defaultSeparation$1, dx = 1, dy = 1, nodeSize = null;\n function tree(root) {\n var t = treeRoot(root);\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n // If a fixed node size is specified, scale x and y.\n if (nodeSize)\n root.eachBefore(sizeNode);\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root, right = root, bottom = root;\n root.eachBefore(function (node) {\n if (node.x < left.x)\n left = node;\n if (node.x > right.x)\n right = node;\n if (node.depth > bottom.depth)\n bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2, tx = s - left.x, kx = dx / (right.x + s + tx), ky = dy / (bottom.depth || 1);\n root.eachBefore(function (node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n return root;\n }\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children, siblings = v.parent.children, w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n }\n else {\n v.z = midpoint;\n }\n }\n else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v, vop = v, vim = w, vom = vip.parent.children[0], sip = vip.m, sop = vop.m, sim = vim.m, som = vom.m, shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n tree.separation = function (x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n tree.size = function (x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n tree.nodeSize = function (x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n return tree;\n }\n function treemapSlice(parent, x0, y0, x1, y1) {\n var nodes = parent.children, node, i = -1, n = nodes.length, k = parent.value && (y1 - y0) / parent.value;\n while (++i < n) {\n node = nodes[i], node.x0 = x0, node.x1 = x1;\n node.y0 = y0, node.y1 = y0 += node.value * k;\n }\n }\n var phi = (1 + Math.sqrt(5)) / 2;\n function squarifyRatio(ratio, parent, x0, y0, x1, y1) {\n var rows = [], nodes = parent.children, row, nodeValue, i0 = 0, i1 = 0, n = nodes.length, dx, dy, value = parent.value, sumValue, minValue, maxValue, newRatio, minRatio, alpha, beta;\n while (i0 < n) {\n dx = x1 - x0, dy = y1 - y0;\n // Find the next non-empty node.\n do\n sumValue = nodes[i1++].value;\n while (!sumValue && i1 < n);\n minValue = maxValue = sumValue;\n alpha = Math.max(dy / dx, dx / dy) / (value * ratio);\n beta = sumValue * sumValue * alpha;\n minRatio = Math.max(maxValue / beta, beta / minValue);\n // Keep adding nodes while the aspect ratio maintains or improves.\n for (; i1 < n; ++i1) {\n sumValue += nodeValue = nodes[i1].value;\n if (nodeValue < minValue)\n minValue = nodeValue;\n if (nodeValue > maxValue)\n maxValue = nodeValue;\n beta = sumValue * sumValue * alpha;\n newRatio = Math.max(maxValue / beta, beta / minValue);\n if (newRatio > minRatio) {\n sumValue -= nodeValue;\n break;\n }\n minRatio = newRatio;\n }\n // Position and record the row orientation.\n rows.push(row = { value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1) });\n if (row.dice)\n treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);\n else\n treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);\n value -= sumValue, i0 = i1;\n }\n return rows;\n }\n var squarify = (function custom(ratio) {\n function squarify(parent, x0, y0, x1, y1) {\n squarifyRatio(ratio, parent, x0, y0, x1, y1);\n }\n squarify.ratio = function (x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n return squarify;\n })(phi);\n function index$1() {\n var tile = squarify, round = false, dx = 1, dy = 1, paddingStack = [0], paddingInner = constantZero, paddingTop = constantZero, paddingRight = constantZero, paddingBottom = constantZero, paddingLeft = constantZero;\n function treemap(root) {\n root.x0 =\n root.y0 = 0;\n root.x1 = dx;\n root.y1 = dy;\n root.eachBefore(positionNode);\n paddingStack = [0];\n if (round)\n root.eachBefore(roundNode);\n return root;\n }\n function positionNode(node) {\n var p = paddingStack[node.depth], x0 = node.x0 + p, y0 = node.y0 + p, x1 = node.x1 - p, y1 = node.y1 - p;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n if (node.children) {\n p = paddingStack[node.depth + 1] = paddingInner(node) / 2;\n x0 += paddingLeft(node) - p;\n y0 += paddingTop(node) - p;\n x1 -= paddingRight(node) - p;\n y1 -= paddingBottom(node) - p;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n tile(node, x0, y0, x1, y1);\n }\n }\n treemap.round = function (x) {\n return arguments.length ? (round = !!x, treemap) : round;\n };\n treemap.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];\n };\n treemap.tile = function (x) {\n return arguments.length ? (tile = required(x), treemap) : tile;\n };\n treemap.padding = function (x) {\n return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();\n };\n treemap.paddingInner = function (x) {\n return arguments.length ? (paddingInner = typeof x === \"function\" ? x : constant(+x), treemap) : paddingInner;\n };\n treemap.paddingOuter = function (x) {\n return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();\n };\n treemap.paddingTop = function (x) {\n return arguments.length ? (paddingTop = typeof x === \"function\" ? x : constant(+x), treemap) : paddingTop;\n };\n treemap.paddingRight = function (x) {\n return arguments.length ? (paddingRight = typeof x === \"function\" ? x : constant(+x), treemap) : paddingRight;\n };\n treemap.paddingBottom = function (x) {\n return arguments.length ? (paddingBottom = typeof x === \"function\" ? x : constant(+x), treemap) : paddingBottom;\n };\n treemap.paddingLeft = function (x) {\n return arguments.length ? (paddingLeft = typeof x === \"function\" ? x : constant(+x), treemap) : paddingLeft;\n };\n return treemap;\n }\n function binary(parent, x0, y0, x1, y1) {\n var nodes = parent.children, i, n = nodes.length, sum, sums = new Array(n + 1);\n for (sums[0] = sum = i = 0; i < n; ++i) {\n sums[i + 1] = sum += nodes[i].value;\n }\n partition(0, n, parent.value, x0, y0, x1, y1);\n function partition(i, j, value, x0, y0, x1, y1) {\n if (i >= j - 1) {\n var node = nodes[i];\n node.x0 = x0, node.y0 = y0;\n node.x1 = x1, node.y1 = y1;\n return;\n }\n var valueOffset = sums[i], valueTarget = (value / 2) + valueOffset, k = i + 1, hi = j - 1;\n while (k < hi) {\n var mid = k + hi >>> 1;\n if (sums[mid] < valueTarget)\n k = mid + 1;\n else\n hi = mid;\n }\n if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k)\n --k;\n var valueLeft = sums[k] - valueOffset, valueRight = value - valueLeft;\n if ((x1 - x0) > (y1 - y0)) {\n var xk = (x0 * valueRight + x1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, xk, y1);\n partition(k, j, valueRight, xk, y0, x1, y1);\n }\n else {\n var yk = (y0 * valueRight + y1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, x1, yk);\n partition(k, j, valueRight, x0, yk, x1, y1);\n }\n }\n }\n function sliceDice(parent, x0, y0, x1, y1) {\n (parent.depth & 1 ? treemapSlice : treemapDice)(parent, x0, y0, x1, y1);\n }\n var resquarify = (function custom(ratio) {\n function resquarify(parent, x0, y0, x1, y1) {\n if ((rows = parent._squarify) && (rows.ratio === ratio)) {\n var rows, row, nodes, i, j = -1, n, m = rows.length, value = parent.value;\n while (++j < m) {\n row = rows[j], nodes = row.children;\n for (i = row.value = 0, n = nodes.length; i < n; ++i)\n row.value += nodes[i].value;\n if (row.dice)\n treemapDice(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);\n else\n treemapSlice(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);\n value -= row.value;\n }\n }\n else {\n parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);\n rows.ratio = ratio;\n }\n }\n resquarify.ratio = function (x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n return resquarify;\n })(phi);\n exports.cluster = cluster;\n exports.hierarchy = hierarchy;\n exports.pack = index;\n exports.packEnclose = enclose;\n exports.packSiblings = siblings;\n exports.partition = partition;\n exports.stratify = stratify;\n exports.tree = tree;\n exports.treemap = index$1;\n exports.treemapBinary = binary;\n exports.treemapDice = treemapDice;\n exports.treemapResquarify = resquarify;\n exports.treemapSlice = treemapSlice;\n exports.treemapSliceDice = sliceDice;\n exports.treemapSquarify = squarify;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-path/dist/d3-path.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-path/dist/d3-path.js", + "name": "./node_modules/d3-path/dist/d3-path.js", + "index": 124, + "index2": 120, + "size": 5217, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + } + ], + "profile": { + "factory": 751, + "building": 448 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "d3-path", + "loc": "4:103-121" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-path/ v2.0.0 Copyright 2020 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var pi = Math.PI, tau = 2 * pi, epsilon = 1e-6, tauEpsilon = tau - epsilon;\n function Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n }\n function path() {\n return new Path;\n }\n Path.prototype = path.prototype = {\n constructor: Path,\n moveTo: function (x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function () {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function (x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function (x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function (x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon))\n ;\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function (x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n // Is this arc empty? We’re done.\n if (!r)\n return;\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0)\n da = da % tau + tau;\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function (x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function () {\n return this._;\n }\n };\n exports.path = path;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "index": 474, + "index2": 475, + "size": 15646, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "issuerId": "./src/transform/diagram/sankey.ts", + "issuerName": "./src/transform/diagram/sankey.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "d3-sankey", + "loc": "8:18-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "var tslib_1 = require(\"tslib\");\n// https://github.com/d3/d3-sankey v0.9.1 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array'), require('d3-collection'), require('d3-shape')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array', 'd3-collection', 'd3-shape'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3, global.d3, global.d3));\n}(this, function (exports, d3Array, d3Collection, d3Shape) {\n 'use strict';\n function targetDepth(d) {\n return d.target.depth;\n }\n function left(node) {\n return node.depth;\n }\n function right(node, n) {\n return n - 1 - node.height;\n }\n function justify(node, n) {\n return node.sourceLinks.length ? node.depth : n - 1;\n }\n function center(node) {\n return node.targetLinks.length ? node.depth\n : node.sourceLinks.length ? d3Array.min(node.sourceLinks, targetDepth) - 1\n : 0;\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function ascendingSourceBreadth(a, b) {\n return ascendingBreadth(a.source, b.source) || a.index - b.index;\n }\n function ascendingTargetBreadth(a, b) {\n return ascendingBreadth(a.target, b.target) || a.index - b.index;\n }\n function ascendingBreadth(a, b) {\n return a.y0 - b.y0;\n }\n function value(d) {\n return d.value;\n }\n function defaultId(d) {\n return d.index;\n }\n function defaultNodes(graph) {\n return graph.nodes;\n }\n function defaultLinks(graph) {\n return graph.links;\n }\n function find(nodeById, id) {\n var node = nodeById.get(id);\n if (!node)\n throw new Error(\"missing: \" + id);\n return node;\n }\n function Sankey() {\n var x0 = 0, y0 = 0, x1 = 1, y1 = 1, // extent\n dx = 24, // nodeWidth\n py = 8, // nodePadding\n id = defaultId, align = justify, sort, nodes = defaultNodes, links = defaultLinks, iterations = 6;\n function sankey() {\n var graph = { nodes: nodes.apply(null, arguments), links: links.apply(null, arguments) };\n computeNodeLinks(graph);\n computeNodeValues(graph);\n computeNodeDepths(graph);\n computeNodeBreadths(graph);\n computeLinkBreadths(graph);\n return graph;\n }\n sankey.update = function (graph) {\n computeLinkBreadths(graph);\n return graph;\n };\n sankey.nodeId = function (_) {\n return arguments.length ? (id = typeof _ === \"function\" ? _ : constant(_), sankey) : id;\n };\n sankey.nodeAlign = function (_) {\n return arguments.length ? (align = typeof _ === \"function\" ? _ : constant(_), sankey) : align;\n };\n sankey.nodeSort = function (_) {\n return arguments.length ? (sort = _, sankey) : sort;\n };\n sankey.nodeWidth = function (_) {\n return arguments.length ? (dx = +_, sankey) : dx;\n };\n sankey.nodePadding = function (_) {\n return arguments.length ? (py = +_, sankey) : py;\n };\n sankey.nodes = function (_) {\n return arguments.length ? (nodes = typeof _ === \"function\" ? _ : constant(_), sankey) : nodes;\n };\n sankey.links = function (_) {\n return arguments.length ? (links = typeof _ === \"function\" ? _ : constant(_), sankey) : links;\n };\n sankey.size = function (_) {\n return arguments.length ? (x0 = y0 = 0, x1 = +_[0], y1 = +_[1], sankey) : [x1 - x0, y1 - y0];\n };\n sankey.extent = function (_) {\n return arguments.length ? (x0 = +_[0][0], x1 = +_[1][0], y0 = +_[0][1], y1 = +_[1][1], sankey) : [[x0, y0], [x1, y1]];\n };\n sankey.iterations = function (_) {\n return arguments.length ? (iterations = +_, sankey) : iterations;\n };\n // Populate the sourceLinks and targetLinks for each node.\n // Also, if the source and target are not objects, assume they are indices.\n function computeNodeLinks(graph) {\n graph.nodes.forEach(function (node, i) {\n node.index = i;\n node.sourceLinks = [];\n node.targetLinks = [];\n });\n var nodeById = d3Collection.map(graph.nodes, id);\n graph.links.forEach(function (link, i) {\n link.index = i;\n var source = link.source, target = link.target;\n if (typeof source !== \"object\")\n source = link.source = find(nodeById, source);\n if (typeof target !== \"object\")\n target = link.target = find(nodeById, target);\n source.sourceLinks.push(link);\n target.targetLinks.push(link);\n });\n }\n // Compute the value (size) of each node by summing the associated links.\n function computeNodeValues(graph) {\n graph.nodes.forEach(function (node) {\n node.value = Math.max(d3Array.sum(node.sourceLinks, value), d3Array.sum(node.targetLinks, value));\n });\n }\n // Iteratively assign the depth (x-position) for each node.\n // Nodes are assigned the maximum depth of incoming neighbors plus one;\n // nodes with no incoming links are assigned depth zero, while\n // nodes with no outgoing links are assigned the maximum depth.\n function computeNodeDepths(graph) {\n var nodes, next, x, n = graph.nodes.length;\n for (nodes = graph.nodes, next = [], x = 0; nodes.length; ++x, nodes = next, next = []) {\n if (x > n)\n throw new Error(\"circular link\");\n nodes.forEach(function (node) {\n node.depth = x;\n node.sourceLinks.forEach(function (link) {\n if (next.indexOf(link.target) < 0) {\n next.push(link.target);\n }\n });\n });\n }\n for (nodes = graph.nodes, next = [], x = 0; nodes.length; ++x, nodes = next, next = []) {\n if (x > n)\n throw new Error(\"circular link\");\n nodes.forEach(function (node) {\n node.height = x;\n node.targetLinks.forEach(function (link) {\n if (next.indexOf(link.source) < 0) {\n next.push(link.source);\n }\n });\n });\n }\n var kx = (x1 - x0 - dx) / (x - 1);\n graph.nodes.forEach(function (node) {\n node.x1 = (node.x0 = x0 + Math.max(0, Math.min(x - 1, Math.floor(align.call(null, node, x)))) * kx) + dx;\n });\n }\n function computeNodeBreadths(graph) {\n var columns = d3Collection.nest()\n .key(function (d) { return d.x0; })\n .sortKeys(d3Array.ascending)\n .entries(graph.nodes)\n .map(function (d) { return d.values; });\n //\n initializeNodeBreadth();\n resolveCollisions();\n for (var alpha = 0.9, n = iterations; n > 0; --n, alpha *= 0.9) {\n relaxRightToLeft(alpha);\n resolveCollisions();\n relaxLeftToRight(alpha);\n resolveCollisions();\n }\n function initializeNodeBreadth() {\n var ky = d3Array.min(columns, function (nodes) {\n return (y1 - y0 - (nodes.length - 1) * py) / d3Array.sum(nodes, value);\n });\n columns.forEach(function (nodes) {\n if (sort != null)\n nodes.sort(sort);\n nodes.forEach(function (node, i) {\n node.y1 = (node.y0 = i) + node.value * ky;\n });\n });\n graph.links.forEach(function (link) {\n link.width = link.value * ky;\n });\n }\n function relaxLeftToRight(alpha) {\n columns.forEach(function (nodes) {\n nodes.forEach(function (node) {\n var e_1, _a, e_2, _b;\n var y = node.y0;\n try {\n for (var _c = tslib_1.__values(node.sourceLinks.sort(ascendingTargetBreadth)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var _e = _d.value, target = _e.target, width = _e.width, value_1 = _e.value;\n if (value_1 > 0) {\n var dy = 0;\n try {\n for (var _f = (e_2 = void 0, tslib_1.__values(target.targetLinks)), _g = _f.next(); !_g.done; _g = _f.next()) {\n var _h = _g.value, source = _h.source, width_1 = _h.width;\n if (source === node)\n break;\n dy += width_1 + py / 2;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n dy = (y - dy - target.y0) * alpha * (value_1 / Math.min(node.value, target.value));\n target.y0 += dy;\n target.y1 += dy;\n }\n y += width + py / 2;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n });\n });\n }\n function relaxRightToLeft(alpha) {\n columns.slice().reverse().forEach(function (nodes) {\n nodes.forEach(function (node) {\n var e_3, _a, e_4, _b;\n var y = node.y0;\n try {\n for (var _c = tslib_1.__values(node.targetLinks.sort(ascendingSourceBreadth)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var _e = _d.value, source = _e.source, width = _e.width, value_2 = _e.value;\n if (value_2 > 0) {\n var dy = 0;\n try {\n for (var _f = (e_4 = void 0, tslib_1.__values(source.sourceLinks)), _g = _f.next(); !_g.done; _g = _f.next()) {\n var _h = _g.value, target = _h.target, width_2 = _h.width;\n if (target === node)\n break;\n dy += width_2 + py / 2;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_4) throw e_4.error; }\n }\n dy = (y - dy - source.y0) * alpha * (value_2 / Math.min(node.value, source.value));\n source.y0 += dy;\n source.y1 += dy;\n }\n y += width + py / 2;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n });\n });\n }\n function resolveCollisions() {\n columns.forEach(function (nodes) {\n var node, dy, y = y0, n = nodes.length, i;\n // Push any overlapping nodes down.\n if (sort === undefined)\n nodes.sort(ascendingBreadth);\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n dy = y - node.y0;\n if (dy > 0)\n node.y0 += dy, node.y1 += dy;\n y = node.y1 + py;\n }\n // If the bottommost node goes outside the bounds, push it back up.\n dy = y - py - y1;\n if (dy > 0) {\n y = (node.y0 -= dy), node.y1 -= dy;\n // Push any overlapping nodes back up.\n for (i = n - 2; i >= 0; --i) {\n node = nodes[i];\n dy = node.y1 + py - y;\n if (dy > 0)\n node.y0 -= dy, node.y1 -= dy;\n y = node.y0;\n }\n }\n });\n }\n }\n function computeLinkBreadths(graph) {\n graph.nodes.forEach(function (node) {\n node.sourceLinks.sort(ascendingTargetBreadth);\n node.targetLinks.sort(ascendingSourceBreadth);\n });\n graph.nodes.forEach(function (node) {\n var y0 = node.y0, y1 = y0;\n node.sourceLinks.forEach(function (link) {\n link.y0 = y0 + link.width / 2, y0 += link.width;\n });\n node.targetLinks.forEach(function (link) {\n link.y1 = y1 + link.width / 2, y1 += link.width;\n });\n });\n }\n return sankey;\n }\n function horizontalSource(d) {\n return [d.source.x1, d.y0];\n }\n function horizontalTarget(d) {\n return [d.target.x0, d.y1];\n }\n function sankeyLinkHorizontal() {\n return d3Shape.linkHorizontal()\n .source(horizontalSource)\n .target(horizontalTarget);\n }\n exports.sankey = Sankey;\n exports.sankeyCenter = center;\n exports.sankeyLeft = left;\n exports.sankeyRight = right;\n exports.sankeyJustify = justify;\n exports.sankeyLinkHorizontal = sankeyLinkHorizontal;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-shape/dist/d3-shape.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "name": "./node_modules/d3-shape/dist/d3-shape.js", + "index": 476, + "index2": 474, + "size": 64711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "issuerId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + } + ], + "profile": { + "factory": 605, + "building": 428 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-shape", + "loc": "4:131-150" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-shape/ v1.3.7 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-path')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-path'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3));\n}(this, function (exports, d3Path) {\n 'use strict';\n function constant(x) {\n return function constant() {\n return x;\n };\n }\n var abs = Math.abs;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var max = Math.max;\n var min = Math.min;\n var sin = Math.sin;\n var sqrt = Math.sqrt;\n var epsilon = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var tau = 2 * pi;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n }\n function arcInnerRadius(d) {\n return d.innerRadius;\n }\n function arcOuterRadius(d) {\n return d.outerRadius;\n }\n function arcStartAngle(d) {\n return d.startAngle;\n }\n function arcEndAngle(d) {\n return d.endAngle;\n }\n function arcPadAngle(d) {\n return d && d.padAngle; // Note: optional!\n }\n function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n var x10 = x1 - x0, y10 = y1 - y0, x32 = x3 - x2, y32 = y3 - y2, t = y32 * x10 - x32 * y10;\n if (t * t < epsilon)\n return;\n t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;\n return [x0 + t * x10, y0 + t * y10];\n }\n // Compute perpendicular offset line of length rc.\n // http://mathworld.wolfram.com/Circle-LineIntersection.html\n function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n var x01 = x0 - x1, y01 = y0 - y1, lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01), ox = lo * y01, oy = -lo * x01, x11 = x0 + ox, y11 = y0 + oy, x10 = x1 + ox, y10 = y1 + oy, x00 = (x11 + x10) / 2, y00 = (y11 + y10) / 2, dx = x10 - x11, dy = y10 - y11, d2 = dx * dx + dy * dy, r = r1 - rc, D = x11 * y10 - x10 * y11, d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)), cx0 = (D * dy - dx * d) / d2, cy0 = (-D * dx - dy * d) / d2, cx1 = (D * dy + dx * d) / d2, cy1 = (-D * dx + dy * d) / d2, dx0 = cx0 - x00, dy0 = cy0 - y00, dx1 = cx1 - x00, dy1 = cy1 - y00;\n // Pick the closer of the two intersection points.\n // TODO Is there a faster way to determine which intersection to use?\n if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1)\n cx0 = cx1, cy0 = cy1;\n return {\n cx: cx0,\n cy: cy0,\n x01: -ox,\n y01: -oy,\n x11: cx0 * (r1 / r - 1),\n y11: cy0 * (r1 / r - 1)\n };\n }\n function arc() {\n var innerRadius = arcInnerRadius, outerRadius = arcOuterRadius, cornerRadius = constant(0), padRadius = null, startAngle = arcStartAngle, endAngle = arcEndAngle, padAngle = arcPadAngle, context = null;\n function arc() {\n var buffer, r, r0 = +innerRadius.apply(this, arguments), r1 = +outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) - halfPi, a1 = endAngle.apply(this, arguments) - halfPi, da = abs(a1 - a0), cw = a1 > a0;\n if (!context)\n context = buffer = d3Path.path();\n // Ensure that the outer radius is always larger than the inner radius.\n if (r1 < r0)\n r = r1, r1 = r0, r0 = r;\n // Is it a point?\n if (!(r1 > epsilon))\n context.moveTo(0, 0);\n // Or is it a circle or annulus?\n else if (da > tau - epsilon) {\n context.moveTo(r1 * cos(a0), r1 * sin(a0));\n context.arc(0, 0, r1, a0, a1, !cw);\n if (r0 > epsilon) {\n context.moveTo(r0 * cos(a1), r0 * sin(a1));\n context.arc(0, 0, r0, a1, a0, cw);\n }\n }\n // Or is it a circular or annular sector?\n else {\n var a01 = a0, a11 = a1, a00 = a0, a10 = a1, da0 = da, da1 = da, ap = padAngle.apply(this, arguments) / 2, rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)), rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)), rc0 = rc, rc1 = rc, t0, t1;\n // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n if (rp > epsilon) {\n var p0 = asin(rp / r0 * sin(ap)), p1 = asin(rp / r1 * sin(ap));\n if ((da0 -= p0 * 2) > epsilon)\n p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n else\n da0 = 0, a00 = a10 = (a0 + a1) / 2;\n if ((da1 -= p1 * 2) > epsilon)\n p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n else\n da1 = 0, a01 = a11 = (a0 + a1) / 2;\n }\n var x01 = r1 * cos(a01), y01 = r1 * sin(a01), x10 = r0 * cos(a10), y10 = r0 * sin(a10);\n // Apply rounded corners?\n if (rc > epsilon) {\n var x11 = r1 * cos(a11), y11 = r1 * sin(a11), x00 = r0 * cos(a00), y00 = r0 * sin(a00), oc;\n // Restrict the corner radius according to the sector angle.\n if (da < pi && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {\n var ax = x01 - oc[0], ay = y01 - oc[1], bx = x11 - oc[0], by = y11 - oc[1], kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2), lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);\n rc0 = min(rc, (r0 - lc) / (kc - 1));\n rc1 = min(rc, (r1 - lc) / (kc + 1));\n }\n }\n // Is the sector collapsed to a line?\n if (!(da1 > epsilon))\n context.moveTo(x01, y01);\n // Does the sector’s outer ring have rounded corners?\n else if (rc1 > epsilon) {\n t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n // Have the corners merged?\n if (rc1 < rc)\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r1, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n context.arc(t1.cx, t1.cy, rc1, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n // Or is the outer ring just a circular arc?\n else\n context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n // Is there no inner ring, and it’s a circular sector?\n // Or perhaps it’s an annular sector collapsed due to padding?\n if (!(r0 > epsilon) || !(da0 > epsilon))\n context.lineTo(x10, y10);\n // Does the sector’s inner ring (or point) have rounded corners?\n else if (rc0 > epsilon) {\n t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n // Have the corners merged?\n if (rc0 < rc)\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r0, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n context.arc(t1.cx, t1.cy, rc0, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n // Or is the inner ring just a circular arc?\n else\n context.arc(0, 0, r0, a10, a00, cw);\n }\n context.closePath();\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n arc.centroid = function () {\n var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2, a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;\n return [cos(a) * r, sin(a) * r];\n };\n arc.innerRadius = function (_) {\n return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : innerRadius;\n };\n arc.outerRadius = function (_) {\n return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : outerRadius;\n };\n arc.cornerRadius = function (_) {\n return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : cornerRadius;\n };\n arc.padRadius = function (_) {\n return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), arc) : padRadius;\n };\n arc.startAngle = function (_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : startAngle;\n };\n arc.endAngle = function (_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : endAngle;\n };\n arc.padAngle = function (_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : padAngle;\n };\n arc.context = function (_) {\n return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n };\n return arc;\n }\n function Linear(context) {\n this._context = context;\n }\n Linear.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1: this._point = 2; // proceed\n default:\n this._context.lineTo(x, y);\n break;\n }\n }\n };\n function curveLinear(context) {\n return new Linear(context);\n }\n function x(p) {\n return p[0];\n }\n function y(p) {\n return p[1];\n }\n function line() {\n var x$1 = x, y$1 = y, defined = constant(true), context = null, curve = curveLinear, output = null;\n function line(data) {\n var i, n = data.length, d, defined0 = false, buffer;\n if (context == null)\n output = curve(buffer = d3Path.path());\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0)\n output.lineStart();\n else\n output.lineEnd();\n }\n if (defined0)\n output.point(+x$1(d, i, data), +y$1(d, i, data));\n }\n if (buffer)\n return output = null, buffer + \"\" || null;\n }\n line.x = function (_) {\n return arguments.length ? (x$1 = typeof _ === \"function\" ? _ : constant(+_), line) : x$1;\n };\n line.y = function (_) {\n return arguments.length ? (y$1 = typeof _ === \"function\" ? _ : constant(+_), line) : y$1;\n };\n line.defined = function (_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n line.curve = function (_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n line.context = function (_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n return line;\n }\n function area() {\n var x0 = x, x1 = null, y0 = constant(0), y1 = y, defined = constant(true), context = null, curve = curveLinear, output = null;\n function area(data) {\n var i, j, k, n = data.length, d, defined0 = false, buffer, x0z = new Array(n), y0z = new Array(n);\n if (context == null)\n output = curve(buffer = d3Path.path());\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) {\n j = i;\n output.areaStart();\n output.lineStart();\n }\n else {\n output.lineEnd();\n output.lineStart();\n for (k = i - 1; k >= j; --k) {\n output.point(x0z[k], y0z[k]);\n }\n output.lineEnd();\n output.areaEnd();\n }\n }\n if (defined0) {\n x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n }\n }\n if (buffer)\n return output = null, buffer + \"\" || null;\n }\n function arealine() {\n return line().defined(defined).curve(curve).context(context);\n }\n area.x = function (_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), x1 = null, area) : x0;\n };\n area.x0 = function (_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), area) : x0;\n };\n area.x1 = function (_) {\n return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : x1;\n };\n area.y = function (_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), y1 = null, area) : y0;\n };\n area.y0 = function (_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), area) : y0;\n };\n area.y1 = function (_) {\n return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : y1;\n };\n area.lineX0 =\n area.lineY0 = function () {\n return arealine().x(x0).y(y0);\n };\n area.lineY1 = function () {\n return arealine().x(x0).y(y1);\n };\n area.lineX1 = function () {\n return arealine().x(x1).y(y0);\n };\n area.defined = function (_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), area) : defined;\n };\n area.curve = function (_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n };\n area.context = function (_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n };\n return area;\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function identity(d) {\n return d;\n }\n function pie() {\n var value = identity, sortValues = descending, sort = null, startAngle = constant(0), endAngle = constant(tau), padAngle = constant(0);\n function pie(data) {\n var i, n = data.length, j, k, sum = 0, index = new Array(n), arcs = new Array(n), a0 = +startAngle.apply(this, arguments), da = Math.min(tau, Math.max(-tau, endAngle.apply(this, arguments) - a0)), a1, p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), pa = p * (da < 0 ? -1 : 1), v;\n for (i = 0; i < n; ++i) {\n if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n sum += v;\n }\n }\n // Optionally sort the arcs by previously-computed values or by data.\n if (sortValues != null)\n index.sort(function (i, j) { return sortValues(arcs[i], arcs[j]); });\n else if (sort != null)\n index.sort(function (i, j) { return sort(data[i], data[j]); });\n // Compute the arcs! They are stored in the original data's order.\n for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n data: data[j],\n index: i,\n value: v,\n startAngle: a0,\n endAngle: a1,\n padAngle: p\n };\n }\n return arcs;\n }\n pie.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), pie) : value;\n };\n pie.sortValues = function (_) {\n return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n };\n pie.sort = function (_) {\n return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n };\n pie.startAngle = function (_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : startAngle;\n };\n pie.endAngle = function (_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : endAngle;\n };\n pie.padAngle = function (_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : padAngle;\n };\n return pie;\n }\n var curveRadialLinear = curveRadial(curveLinear);\n function Radial(curve) {\n this._curve = curve;\n }\n Radial.prototype = {\n areaStart: function () {\n this._curve.areaStart();\n },\n areaEnd: function () {\n this._curve.areaEnd();\n },\n lineStart: function () {\n this._curve.lineStart();\n },\n lineEnd: function () {\n this._curve.lineEnd();\n },\n point: function (a, r) {\n this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n }\n };\n function curveRadial(curve) {\n function radial(context) {\n return new Radial(curve(context));\n }\n radial._curve = curve;\n return radial;\n }\n function lineRadial(l) {\n var c = l.curve;\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n l.curve = function (_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n return l;\n }\n function lineRadial$1() {\n return lineRadial(line().curve(curveRadialLinear));\n }\n function areaRadial() {\n var a = area().curve(curveRadialLinear), c = a.curve, x0 = a.lineX0, x1 = a.lineX1, y0 = a.lineY0, y1 = a.lineY1;\n a.angle = a.x, delete a.x;\n a.startAngle = a.x0, delete a.x0;\n a.endAngle = a.x1, delete a.x1;\n a.radius = a.y, delete a.y;\n a.innerRadius = a.y0, delete a.y0;\n a.outerRadius = a.y1, delete a.y1;\n a.lineStartAngle = function () { return lineRadial(x0()); }, delete a.lineX0;\n a.lineEndAngle = function () { return lineRadial(x1()); }, delete a.lineX1;\n a.lineInnerRadius = function () { return lineRadial(y0()); }, delete a.lineY0;\n a.lineOuterRadius = function () { return lineRadial(y1()); }, delete a.lineY1;\n a.curve = function (_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n return a;\n }\n function pointRadial(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n }\n var slice = Array.prototype.slice;\n function linkSource(d) {\n return d.source;\n }\n function linkTarget(d) {\n return d.target;\n }\n function link(curve) {\n var source = linkSource, target = linkTarget, x$1 = x, y$1 = y, context = null;\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context)\n context = buffer = d3Path.path();\n curve(context, +x$1.apply(this, (argv[0] = s, argv)), +y$1.apply(this, argv), +x$1.apply(this, (argv[0] = t, argv)), +y$1.apply(this, argv));\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n link.source = function (_) {\n return arguments.length ? (source = _, link) : source;\n };\n link.target = function (_) {\n return arguments.length ? (target = _, link) : target;\n };\n link.x = function (_) {\n return arguments.length ? (x$1 = typeof _ === \"function\" ? _ : constant(+_), link) : x$1;\n };\n link.y = function (_) {\n return arguments.length ? (y$1 = typeof _ === \"function\" ? _ : constant(+_), link) : y$1;\n };\n link.context = function (_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n return link;\n }\n function curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n }\n function curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n }\n function curveRadial$1(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0), p1 = pointRadial(x0, y0 = (y0 + y1) / 2), p2 = pointRadial(x1, y0), p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n }\n function linkHorizontal() {\n return link(curveHorizontal);\n }\n function linkVertical() {\n return link(curveVertical);\n }\n function linkRadial() {\n var l = link(curveRadial$1);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n }\n var circle = {\n draw: function (context, size) {\n var r = Math.sqrt(size / pi);\n context.moveTo(r, 0);\n context.arc(0, 0, r, 0, tau);\n }\n };\n var cross = {\n draw: function (context, size) {\n var r = Math.sqrt(size / 5) / 2;\n context.moveTo(-3 * r, -r);\n context.lineTo(-r, -r);\n context.lineTo(-r, -3 * r);\n context.lineTo(r, -3 * r);\n context.lineTo(r, -r);\n context.lineTo(3 * r, -r);\n context.lineTo(3 * r, r);\n context.lineTo(r, r);\n context.lineTo(r, 3 * r);\n context.lineTo(-r, 3 * r);\n context.lineTo(-r, r);\n context.lineTo(-3 * r, r);\n context.closePath();\n }\n };\n var tan30 = Math.sqrt(1 / 3), tan30_2 = tan30 * 2;\n var diamond = {\n draw: function (context, size) {\n var y = Math.sqrt(size / tan30_2), x = y * tan30;\n context.moveTo(0, -y);\n context.lineTo(x, 0);\n context.lineTo(0, y);\n context.lineTo(-x, 0);\n context.closePath();\n }\n };\n var ka = 0.89081309152928522810, kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10), kx = Math.sin(tau / 10) * kr, ky = -Math.cos(tau / 10) * kr;\n var star = {\n draw: function (context, size) {\n var r = Math.sqrt(size * ka), x = kx * r, y = ky * r;\n context.moveTo(0, -r);\n context.lineTo(x, y);\n for (var i = 1; i < 5; ++i) {\n var a = tau * i / 5, c = Math.cos(a), s = Math.sin(a);\n context.lineTo(s * r, -c * r);\n context.lineTo(c * x - s * y, s * x + c * y);\n }\n context.closePath();\n }\n };\n var square = {\n draw: function (context, size) {\n var w = Math.sqrt(size), x = -w / 2;\n context.rect(x, x, w, w);\n }\n };\n var sqrt3 = Math.sqrt(3);\n var triangle = {\n draw: function (context, size) {\n var y = -Math.sqrt(size / (sqrt3 * 3));\n context.moveTo(0, y * 2);\n context.lineTo(-sqrt3 * y, -y);\n context.lineTo(sqrt3 * y, -y);\n context.closePath();\n }\n };\n var c = -0.5, s = Math.sqrt(3) / 2, k = 1 / Math.sqrt(12), a = (k / 2 + 1) * 3;\n var wye = {\n draw: function (context, size) {\n var r = Math.sqrt(size / a), x0 = r / 2, y0 = r * k, x1 = x0, y1 = r * k + r, x2 = -x1, y2 = y1;\n context.moveTo(x0, y0);\n context.lineTo(x1, y1);\n context.lineTo(x2, y2);\n context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n context.closePath();\n }\n };\n var symbols = [\n circle,\n cross,\n diamond,\n square,\n star,\n triangle,\n wye\n ];\n function symbol() {\n var type = constant(circle), size = constant(64), context = null;\n function symbol() {\n var buffer;\n if (!context)\n context = buffer = d3Path.path();\n type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n symbol.type = function (_) {\n return arguments.length ? (type = typeof _ === \"function\" ? _ : constant(_), symbol) : type;\n };\n symbol.size = function (_) {\n return arguments.length ? (size = typeof _ === \"function\" ? _ : constant(+_), symbol) : size;\n };\n symbol.context = function (_) {\n return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n };\n return symbol;\n }\n function noop() { }\n function point(that, x, y) {\n that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);\n }\n function Basis(context) {\n this._context = context;\n }\n Basis.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // proceed\n case 2:\n this._context.lineTo(this._x1, this._y1);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basis(context) {\n return new Basis(context);\n }\n function BasisClosed(context) {\n this._context = context;\n }\n BasisClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x2, this._y2);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x2, this._y2);\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x2 = x, this._y2 = y;\n break;\n case 1:\n this._point = 2;\n this._x3 = x, this._y3 = y;\n break;\n case 2:\n this._point = 3;\n this._x4 = x, this._y4 = y;\n this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6);\n break;\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basisClosed(context) {\n return new BasisClosed(context);\n }\n function BasisOpen(context) {\n this._context = context;\n }\n BasisOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6;\n this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0);\n break;\n case 3: this._point = 4; // proceed\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basisOpen(context) {\n return new BasisOpen(context);\n }\n function Bundle(context, beta) {\n this._basis = new Basis(context);\n this._beta = beta;\n }\n Bundle.prototype = {\n lineStart: function () {\n this._x = [];\n this._y = [];\n this._basis.lineStart();\n },\n lineEnd: function () {\n var x = this._x, y = this._y, j = x.length - 1;\n if (j > 0) {\n var x0 = x[0], y0 = y[0], dx = x[j] - x0, dy = y[j] - y0, i = -1, t;\n while (++i <= j) {\n t = i / j;\n this._basis.point(this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), this._beta * y[i] + (1 - this._beta) * (y0 + t * dy));\n }\n }\n this._x = this._y = null;\n this._basis.lineEnd();\n },\n point: function (x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n };\n var bundle = (function custom(beta) {\n function bundle(context) {\n return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n }\n bundle.beta = function (beta) {\n return custom(+beta);\n };\n return bundle;\n })(0.85);\n function point$1(that, x, y) {\n that._context.bezierCurveTo(that._x1 + that._k * (that._x2 - that._x0), that._y1 + that._k * (that._y2 - that._y0), that._x2 + that._k * (that._x1 - x), that._y2 + that._k * (that._y1 - y), that._x2, that._y2);\n }\n function Cardinal(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n Cardinal.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x2, this._y2);\n break;\n case 3:\n point$1(this, this._x1, this._y1);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n this._x1 = x, this._y1 = y;\n break;\n case 2: this._point = 3; // proceed\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinal = (function custom(tension) {\n function cardinal(context) {\n return new Cardinal(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function CardinalClosed(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n CardinalClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x3 = x, this._y3 = y;\n break;\n case 1:\n this._point = 2;\n this._context.moveTo(this._x4 = x, this._y4 = y);\n break;\n case 2:\n this._point = 3;\n this._x5 = x, this._y5 = y;\n break;\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinalClosed = (function custom(tension) {\n function cardinal(context) {\n return new CardinalClosed(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function CardinalOpen(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n CardinalOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);\n break;\n case 3: this._point = 4; // proceed\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinalOpen = (function custom(tension) {\n function cardinal(context) {\n return new CardinalOpen(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function point$2(that, x, y) {\n var x1 = that._x1, y1 = that._y1, x2 = that._x2, y2 = that._y2;\n if (that._l01_a > epsilon) {\n var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a, n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n }\n if (that._l23_a > epsilon) {\n var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a, m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n }\n that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n }\n function CatmullRom(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRom.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x2, this._y2);\n break;\n case 3:\n this.point(this._x2, this._y2);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2: this._point = 3; // proceed\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRom = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function CatmullRomClosed(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRomClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x3 = x, this._y3 = y;\n break;\n case 1:\n this._point = 2;\n this._context.moveTo(this._x4 = x, this._y4 = y);\n break;\n case 2:\n this._point = 3;\n this._x5 = x, this._y5 = y;\n break;\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRomClosed = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function CatmullRomOpen(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRomOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);\n break;\n case 3: this._point = 4; // proceed\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRomOpen = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function LinearClosed(context) {\n this._context = context;\n }\n LinearClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._point)\n this._context.closePath();\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point)\n this._context.lineTo(x, y);\n else\n this._point = 1, this._context.moveTo(x, y);\n }\n };\n function linearClosed(context) {\n return new LinearClosed(context);\n }\n function sign(x) {\n return x < 0 ? -1 : 1;\n }\n // Calculate the slopes of the tangents (Hermite-type interpolation) based on\n // the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n // NOV(II), P. 443, 1990.\n function slope3(that, x2, y2) {\n var h0 = that._x1 - that._x0, h1 = x2 - that._x1, s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0), s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0), p = (s0 * h1 + s1 * h0) / (h0 + h1);\n return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n }\n // Calculate a one-sided slope.\n function slope2(that, t) {\n var h = that._x1 - that._x0;\n return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n }\n // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n // \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\n function point$3(that, t0, t1) {\n var x0 = that._x0, y0 = that._y0, x1 = that._x1, y1 = that._y1, dx = (x1 - x0) / 3;\n that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n }\n function MonotoneX(context) {\n this._context = context;\n }\n MonotoneX.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 =\n this._t0 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x1, this._y1);\n break;\n case 3:\n point$3(this, this._t0, slope2(this, this._t0));\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n var t1 = NaN;\n x = +x, y = +y;\n if (x === this._x1 && y === this._y1)\n return; // Ignore coincident points.\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n point$3(this, slope2(this, t1 = slope3(this, x, y)), t1);\n break;\n default:\n point$3(this, this._t0, t1 = slope3(this, x, y));\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n this._t0 = t1;\n }\n };\n function MonotoneY(context) {\n this._context = new ReflectContext(context);\n }\n (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function (x, y) {\n MonotoneX.prototype.point.call(this, y, x);\n };\n function ReflectContext(context) {\n this._context = context;\n }\n ReflectContext.prototype = {\n moveTo: function (x, y) { this._context.moveTo(y, x); },\n closePath: function () { this._context.closePath(); },\n lineTo: function (x, y) { this._context.lineTo(y, x); },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n };\n function monotoneX(context) {\n return new MonotoneX(context);\n }\n function monotoneY(context) {\n return new MonotoneY(context);\n }\n function Natural(context) {\n this._context = context;\n }\n Natural.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x = [];\n this._y = [];\n },\n lineEnd: function () {\n var x = this._x, y = this._y, n = x.length;\n if (n) {\n this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n if (n === 2) {\n this._context.lineTo(x[1], y[1]);\n }\n else {\n var px = controlPoints(x), py = controlPoints(y);\n for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n }\n }\n }\n if (this._line || (this._line !== 0 && n === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n this._x = this._y = null;\n },\n point: function (x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n };\n // See https://www.particleincell.com/2012/bezier-splines/ for derivation.\n function controlPoints(x) {\n var i, n = x.length - 1, m, a = new Array(n), b = new Array(n), r = new Array(n);\n a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n for (i = 1; i < n - 1; ++i)\n a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n for (i = 1; i < n; ++i)\n m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n a[n - 1] = r[n - 1] / b[n - 1];\n for (i = n - 2; i >= 0; --i)\n a[i] = (r[i] - a[i + 1]) / b[i];\n b[n - 1] = (x[n] + a[n - 1]) / 2;\n for (i = 0; i < n - 1; ++i)\n b[i] = 2 * x[i + 1] - a[i + 1];\n return [a, b];\n }\n function natural(context) {\n return new Natural(context);\n }\n function Step(context, t) {\n this._context = context;\n this._t = t;\n }\n Step.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x = this._y = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (0 < this._t && this._t < 1 && this._point === 2)\n this._context.lineTo(this._x, this._y);\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n if (this._line >= 0)\n this._t = 1 - this._t, this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1: this._point = 2; // proceed\n default: {\n if (this._t <= 0) {\n this._context.lineTo(this._x, y);\n this._context.lineTo(x, y);\n }\n else {\n var x1 = this._x * (1 - this._t) + x * this._t;\n this._context.lineTo(x1, this._y);\n this._context.lineTo(x1, y);\n }\n break;\n }\n }\n this._x = x, this._y = y;\n }\n };\n function step(context) {\n return new Step(context, 0.5);\n }\n function stepBefore(context) {\n return new Step(context, 0);\n }\n function stepAfter(context) {\n return new Step(context, 1);\n }\n function none(series, order) {\n if (!((n = series.length) > 1))\n return;\n for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n s0 = s1, s1 = series[order[i]];\n for (j = 0; j < m; ++j) {\n s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n }\n }\n }\n function none$1(series) {\n var n = series.length, o = new Array(n);\n while (--n >= 0)\n o[n] = n;\n return o;\n }\n function stackValue(d, key) {\n return d[key];\n }\n function stack() {\n var keys = constant([]), order = none$1, offset = none, value = stackValue;\n function stack(data) {\n var kz = keys.apply(this, arguments), i, m = data.length, n = kz.length, sz = new Array(n), oz;\n for (i = 0; i < n; ++i) {\n for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n si[j] = sij = [0, +value(data[j], ki, j, data)];\n sij.data = data[j];\n }\n si.key = ki;\n }\n for (i = 0, oz = order(sz); i < n; ++i) {\n sz[oz[i]].index = i;\n }\n offset(sz, oz);\n return sz;\n }\n stack.keys = function (_) {\n return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : keys;\n };\n stack.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), stack) : value;\n };\n stack.order = function (_) {\n return arguments.length ? (order = _ == null ? none$1 : typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : order;\n };\n stack.offset = function (_) {\n return arguments.length ? (offset = _ == null ? none : _, stack) : offset;\n };\n return stack;\n }\n function expand(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n for (y = i = 0; i < n; ++i)\n y += series[i][j][1] || 0;\n if (y)\n for (i = 0; i < n; ++i)\n series[i][j][1] /= y;\n }\n none(series, order);\n }\n function diverging(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {\n for (yp = yn = 0, i = 0; i < n; ++i) {\n if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {\n d[0] = yp, d[1] = yp += dy;\n }\n else if (dy < 0) {\n d[1] = yn, d[0] = yn += dy;\n }\n else {\n d[0] = 0, d[1] = dy;\n }\n }\n }\n }\n function silhouette(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n for (var i = 0, y = 0; i < n; ++i)\n y += series[i][j][1] || 0;\n s0[j][1] += s0[j][0] = -y / 2;\n }\n none(series, order);\n }\n function wiggle(series, order) {\n if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0))\n return;\n for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n var si = series[order[i]], sij0 = si[j][1] || 0, sij1 = si[j - 1][1] || 0, s3 = (sij0 - sij1) / 2;\n for (var k = 0; k < i; ++k) {\n var sk = series[order[k]], skj0 = sk[j][1] || 0, skj1 = sk[j - 1][1] || 0;\n s3 += skj0 - skj1;\n }\n s1 += sij0, s2 += s3 * sij0;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n if (s1)\n y -= s2 / s1;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n none(series, order);\n }\n function appearance(series) {\n var peaks = series.map(peak);\n return none$1(series).sort(function (a, b) { return peaks[a] - peaks[b]; });\n }\n function peak(series) {\n var i = -1, j = 0, n = series.length, vi, vj = -Infinity;\n while (++i < n)\n if ((vi = +series[i][1]) > vj)\n vj = vi, j = i;\n return j;\n }\n function ascending(series) {\n var sums = series.map(sum);\n return none$1(series).sort(function (a, b) { return sums[a] - sums[b]; });\n }\n function sum(series) {\n var s = 0, i = -1, n = series.length, v;\n while (++i < n)\n if (v = +series[i][1])\n s += v;\n return s;\n }\n function descending$1(series) {\n return ascending(series).reverse();\n }\n function insideOut(series) {\n var n = series.length, i, j, sums = series.map(sum), order = appearance(series), top = 0, bottom = 0, tops = [], bottoms = [];\n for (i = 0; i < n; ++i) {\n j = order[i];\n if (top < bottom) {\n top += sums[j];\n tops.push(j);\n }\n else {\n bottom += sums[j];\n bottoms.push(j);\n }\n }\n return bottoms.reverse().concat(tops);\n }\n function reverse(series) {\n return none$1(series).reverse();\n }\n exports.arc = arc;\n exports.area = area;\n exports.areaRadial = areaRadial;\n exports.curveBasis = basis;\n exports.curveBasisClosed = basisClosed;\n exports.curveBasisOpen = basisOpen;\n exports.curveBundle = bundle;\n exports.curveCardinal = cardinal;\n exports.curveCardinalClosed = cardinalClosed;\n exports.curveCardinalOpen = cardinalOpen;\n exports.curveCatmullRom = catmullRom;\n exports.curveCatmullRomClosed = catmullRomClosed;\n exports.curveCatmullRomOpen = catmullRomOpen;\n exports.curveLinear = curveLinear;\n exports.curveLinearClosed = linearClosed;\n exports.curveMonotoneX = monotoneX;\n exports.curveMonotoneY = monotoneY;\n exports.curveNatural = natural;\n exports.curveStep = step;\n exports.curveStepAfter = stepAfter;\n exports.curveStepBefore = stepBefore;\n exports.line = line;\n exports.lineRadial = lineRadial$1;\n exports.linkHorizontal = linkHorizontal;\n exports.linkRadial = linkRadial;\n exports.linkVertical = linkVertical;\n exports.pie = pie;\n exports.pointRadial = pointRadial;\n exports.radialArea = areaRadial;\n exports.radialLine = lineRadial$1;\n exports.stack = stack;\n exports.stackOffsetDiverging = diverging;\n exports.stackOffsetExpand = expand;\n exports.stackOffsetNone = none;\n exports.stackOffsetSilhouette = silhouette;\n exports.stackOffsetWiggle = wiggle;\n exports.stackOrderAppearance = appearance;\n exports.stackOrderAscending = ascending;\n exports.stackOrderDescending = descending$1;\n exports.stackOrderInsideOut = insideOut;\n exports.stackOrderNone = none$1;\n exports.stackOrderReverse = reverse;\n exports.symbol = symbol;\n exports.symbolCircle = circle;\n exports.symbolCross = cross;\n exports.symbolDiamond = diamond;\n exports.symbolSquare = square;\n exports.symbolStar = star;\n exports.symbolTriangle = triangle;\n exports.symbolWye = wye;\n exports.symbols = symbols;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "name": "./node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "index": 477, + "index2": 473, + "size": 5217, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "issuerId": "./node_modules/d3-shape/dist/d3-shape.js", + "issuerName": "./node_modules/d3-shape/dist/d3-shape.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + }, + { + "id": "./node_modules/d3-shape/dist/d3-shape.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "name": "./node_modules/d3-shape/dist/d3-shape.js", + "profile": { + "factory": 605, + "building": 428 + } + } + ], + "profile": { + "factory": 460, + "building": 152 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-shape/dist/d3-shape.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "module": "./node_modules/d3-shape/dist/d3-shape.js", + "moduleName": "./node_modules/d3-shape/dist/d3-shape.js", + "type": "cjs require", + "userRequest": "d3-path", + "loc": "3:84-102" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-path/ v1.0.9 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var pi = Math.PI, tau = 2 * pi, epsilon = 1e-6, tauEpsilon = tau - epsilon;\n function Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n }\n function path() {\n return new Path;\n }\n Path.prototype = path.prototype = {\n constructor: Path,\n moveTo: function (x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function () {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function (x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function (x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function (x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon))\n ;\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function (x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n // Is this arc empty? We’re done.\n if (!r)\n return;\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0)\n da = da % tau + tau;\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function (x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function () {\n return this._;\n }\n };\n exports.path = path;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-voronoi/dist/d3-voronoi.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-voronoi/dist/d3-voronoi.js", + "name": "./node_modules/d3-voronoi/dist/d3-voronoi.js", + "index": 479, + "index2": 477, + "size": 30982, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "issuerId": "./src/transform/diagram/voronoi.ts", + "issuerName": "./src/transform/diagram/voronoi.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/voronoi.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "name": "./src/transform/diagram/voronoi.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1825, + "building": 422 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "d3-voronoi", + "loc": "4:37-58" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-voronoi/ v1.1.4 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n function constant(x) {\n return function () {\n return x;\n };\n }\n function x(d) {\n return d[0];\n }\n function y(d) {\n return d[1];\n }\n function RedBlackTree() {\n this._ = null; // root node\n }\n function RedBlackNode(node) {\n node.U = // parent node\n node.C = // color - true for red, false for black\n node.L = // left node\n node.R = // right node\n node.P = // previous node\n node.N = null; // next node\n }\n RedBlackTree.prototype = {\n constructor: RedBlackTree,\n insert: function (after, node) {\n var parent, grandpa, uncle;\n if (after) {\n node.P = after;\n node.N = after.N;\n if (after.N)\n after.N.P = node;\n after.N = node;\n if (after.R) {\n after = after.R;\n while (after.L)\n after = after.L;\n after.L = node;\n }\n else {\n after.R = node;\n }\n parent = after;\n }\n else if (this._) {\n after = RedBlackFirst(this._);\n node.P = null;\n node.N = after;\n after.P = after.L = node;\n parent = after;\n }\n else {\n node.P = node.N = null;\n this._ = node;\n parent = null;\n }\n node.L = node.R = null;\n node.U = parent;\n node.C = true;\n after = node;\n while (parent && parent.C) {\n grandpa = parent.U;\n if (parent === grandpa.L) {\n uncle = grandpa.R;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n }\n else {\n if (after === parent.R) {\n RedBlackRotateLeft(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateRight(this, grandpa);\n }\n }\n else {\n uncle = grandpa.L;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n }\n else {\n if (after === parent.L) {\n RedBlackRotateRight(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateLeft(this, grandpa);\n }\n }\n parent = after.U;\n }\n this._.C = false;\n },\n remove: function (node) {\n if (node.N)\n node.N.P = node.P;\n if (node.P)\n node.P.N = node.N;\n node.N = node.P = null;\n var parent = node.U, sibling, left = node.L, right = node.R, next, red;\n if (!left)\n next = right;\n else if (!right)\n next = left;\n else\n next = RedBlackFirst(right);\n if (parent) {\n if (parent.L === node)\n parent.L = next;\n else\n parent.R = next;\n }\n else {\n this._ = next;\n }\n if (left && right) {\n red = next.C;\n next.C = node.C;\n next.L = left;\n left.U = next;\n if (next !== right) {\n parent = next.U;\n next.U = node.U;\n node = next.R;\n parent.L = node;\n next.R = right;\n right.U = next;\n }\n else {\n next.U = parent;\n parent = next;\n node = next.R;\n }\n }\n else {\n red = node.C;\n node = next;\n }\n if (node)\n node.U = parent;\n if (red)\n return;\n if (node && node.C) {\n node.C = false;\n return;\n }\n do {\n if (node === this._)\n break;\n if (node === parent.L) {\n sibling = parent.R;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateLeft(this, parent);\n sibling = parent.R;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.R || !sibling.R.C) {\n sibling.L.C = false;\n sibling.C = true;\n RedBlackRotateRight(this, sibling);\n sibling = parent.R;\n }\n sibling.C = parent.C;\n parent.C = sibling.R.C = false;\n RedBlackRotateLeft(this, parent);\n node = this._;\n break;\n }\n }\n else {\n sibling = parent.L;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateRight(this, parent);\n sibling = parent.L;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.L || !sibling.L.C) {\n sibling.R.C = false;\n sibling.C = true;\n RedBlackRotateLeft(this, sibling);\n sibling = parent.L;\n }\n sibling.C = parent.C;\n parent.C = sibling.L.C = false;\n RedBlackRotateRight(this, parent);\n node = this._;\n break;\n }\n }\n sibling.C = true;\n node = parent;\n parent = parent.U;\n } while (!node.C);\n if (node)\n node.C = false;\n }\n };\n function RedBlackRotateLeft(tree, node) {\n var p = node, q = node.R, parent = p.U;\n if (parent) {\n if (parent.L === p)\n parent.L = q;\n else\n parent.R = q;\n }\n else {\n tree._ = q;\n }\n q.U = parent;\n p.U = q;\n p.R = q.L;\n if (p.R)\n p.R.U = p;\n q.L = p;\n }\n function RedBlackRotateRight(tree, node) {\n var p = node, q = node.L, parent = p.U;\n if (parent) {\n if (parent.L === p)\n parent.L = q;\n else\n parent.R = q;\n }\n else {\n tree._ = q;\n }\n q.U = parent;\n p.U = q;\n p.L = q.R;\n if (p.L)\n p.L.U = p;\n q.R = p;\n }\n function RedBlackFirst(node) {\n while (node.L)\n node = node.L;\n return node;\n }\n function createEdge(left, right, v0, v1) {\n var edge = [null, null], index = edges.push(edge) - 1;\n edge.left = left;\n edge.right = right;\n if (v0)\n setEdgeEnd(edge, left, right, v0);\n if (v1)\n setEdgeEnd(edge, right, left, v1);\n cells[left.index].halfedges.push(index);\n cells[right.index].halfedges.push(index);\n return edge;\n }\n function createBorderEdge(left, v0, v1) {\n var edge = [v0, v1];\n edge.left = left;\n return edge;\n }\n function setEdgeEnd(edge, left, right, vertex) {\n if (!edge[0] && !edge[1]) {\n edge[0] = vertex;\n edge.left = left;\n edge.right = right;\n }\n else if (edge.left === right) {\n edge[1] = vertex;\n }\n else {\n edge[0] = vertex;\n }\n }\n // Liang–Barsky line clipping.\n function clipEdge(edge, x0, y0, x1, y1) {\n var a = edge[0], b = edge[1], ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (!(t0 > 0) && !(t1 < 1))\n return true; // TODO Better check?\n if (t0 > 0)\n edge[0] = [ax + t0 * dx, ay + t0 * dy];\n if (t1 < 1)\n edge[1] = [ax + t1 * dx, ay + t1 * dy];\n return true;\n }\n function connectEdge(edge, x0, y0, x1, y1) {\n var v1 = edge[1];\n if (v1)\n return true;\n var v0 = edge[0], left = edge.left, right = edge.right, lx = left[0], ly = left[1], rx = right[0], ry = right[1], fx = (lx + rx) / 2, fy = (ly + ry) / 2, fm, fb;\n if (ry === ly) {\n if (fx < x0 || fx >= x1)\n return;\n if (lx > rx) {\n if (!v0)\n v0 = [fx, y0];\n else if (v0[1] >= y1)\n return;\n v1 = [fx, y1];\n }\n else {\n if (!v0)\n v0 = [fx, y1];\n else if (v0[1] < y0)\n return;\n v1 = [fx, y0];\n }\n }\n else {\n fm = (lx - rx) / (ry - ly);\n fb = fy - fm * fx;\n if (fm < -1 || fm > 1) {\n if (lx > rx) {\n if (!v0)\n v0 = [(y0 - fb) / fm, y0];\n else if (v0[1] >= y1)\n return;\n v1 = [(y1 - fb) / fm, y1];\n }\n else {\n if (!v0)\n v0 = [(y1 - fb) / fm, y1];\n else if (v0[1] < y0)\n return;\n v1 = [(y0 - fb) / fm, y0];\n }\n }\n else {\n if (ly < ry) {\n if (!v0)\n v0 = [x0, fm * x0 + fb];\n else if (v0[0] >= x1)\n return;\n v1 = [x1, fm * x1 + fb];\n }\n else {\n if (!v0)\n v0 = [x1, fm * x1 + fb];\n else if (v0[0] < x0)\n return;\n v1 = [x0, fm * x0 + fb];\n }\n }\n }\n edge[0] = v0;\n edge[1] = v1;\n return true;\n }\n function clipEdges(x0, y0, x1, y1) {\n var i = edges.length, edge;\n while (i--) {\n if (!connectEdge(edge = edges[i], x0, y0, x1, y1)\n || !clipEdge(edge, x0, y0, x1, y1)\n || !(Math.abs(edge[0][0] - edge[1][0]) > epsilon\n || Math.abs(edge[0][1] - edge[1][1]) > epsilon)) {\n delete edges[i];\n }\n }\n }\n function createCell(site) {\n return cells[site.index] = {\n site: site,\n halfedges: []\n };\n }\n function cellHalfedgeAngle(cell, edge) {\n var site = cell.site, va = edge.left, vb = edge.right;\n if (site === vb)\n vb = va, va = site;\n if (vb)\n return Math.atan2(vb[1] - va[1], vb[0] - va[0]);\n if (site === va)\n va = edge[1], vb = edge[0];\n else\n va = edge[0], vb = edge[1];\n return Math.atan2(va[0] - vb[0], vb[1] - va[1]);\n }\n function cellHalfedgeStart(cell, edge) {\n return edge[+(edge.left !== cell.site)];\n }\n function cellHalfedgeEnd(cell, edge) {\n return edge[+(edge.left === cell.site)];\n }\n function sortCellHalfedges() {\n for (var i = 0, n = cells.length, cell, halfedges, j, m; i < n; ++i) {\n if ((cell = cells[i]) && (m = (halfedges = cell.halfedges).length)) {\n var index = new Array(m), array = new Array(m);\n for (j = 0; j < m; ++j)\n index[j] = j, array[j] = cellHalfedgeAngle(cell, edges[halfedges[j]]);\n index.sort(function (i, j) { return array[j] - array[i]; });\n for (j = 0; j < m; ++j)\n array[j] = halfedges[index[j]];\n for (j = 0; j < m; ++j)\n halfedges[j] = array[j];\n }\n }\n }\n function clipCells(x0, y0, x1, y1) {\n var nCells = cells.length, iCell, cell, site, iHalfedge, halfedges, nHalfedges, start, startX, startY, end, endX, endY, cover = true;\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n halfedges = cell.halfedges;\n iHalfedge = halfedges.length;\n // Remove any dangling clipped edges.\n while (iHalfedge--) {\n if (!edges[halfedges[iHalfedge]]) {\n halfedges.splice(iHalfedge, 1);\n }\n }\n // Insert any border edges as necessary.\n iHalfedge = 0, nHalfedges = halfedges.length;\n while (iHalfedge < nHalfedges) {\n end = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end[0], endY = end[1];\n start = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start[0], startY = start[1];\n if (Math.abs(endX - startX) > epsilon || Math.abs(endY - startY) > epsilon) {\n halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(site, end, Math.abs(endX - x0) < epsilon && y1 - endY > epsilon ? [x0, Math.abs(startX - x0) < epsilon ? startY : y1]\n : Math.abs(endY - y1) < epsilon && x1 - endX > epsilon ? [Math.abs(startY - y1) < epsilon ? startX : x1, y1]\n : Math.abs(endX - x1) < epsilon && endY - y0 > epsilon ? [x1, Math.abs(startX - x1) < epsilon ? startY : y0]\n : Math.abs(endY - y0) < epsilon && endX - x0 > epsilon ? [Math.abs(startY - y0) < epsilon ? startX : x0, y0]\n : null)) - 1);\n ++nHalfedges;\n }\n }\n if (nHalfedges)\n cover = false;\n }\n }\n // If there weren’t any edges, have the closest site cover the extent.\n // It doesn’t matter which corner of the extent we measure!\n if (cover) {\n var dx, dy, d2, dc = Infinity;\n for (iCell = 0, cover = null; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n dx = site[0] - x0;\n dy = site[1] - y0;\n d2 = dx * dx + dy * dy;\n if (d2 < dc)\n dc = d2, cover = cell;\n }\n }\n if (cover) {\n var v00 = [x0, y0], v01 = [x0, y1], v11 = [x1, y1], v10 = [x1, y0];\n cover.halfedges.push(edges.push(createBorderEdge(site = cover.site, v00, v01)) - 1, edges.push(createBorderEdge(site, v01, v11)) - 1, edges.push(createBorderEdge(site, v11, v10)) - 1, edges.push(createBorderEdge(site, v10, v00)) - 1);\n }\n }\n // Lastly delete any cells with no edges; these were entirely clipped.\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n if (!cell.halfedges.length) {\n delete cells[iCell];\n }\n }\n }\n }\n var circlePool = [];\n var firstCircle;\n function Circle() {\n RedBlackNode(this);\n this.x =\n this.y =\n this.arc =\n this.site =\n this.cy = null;\n }\n function attachCircle(arc) {\n var lArc = arc.P, rArc = arc.N;\n if (!lArc || !rArc)\n return;\n var lSite = lArc.site, cSite = arc.site, rSite = rArc.site;\n if (lSite === rSite)\n return;\n var bx = cSite[0], by = cSite[1], ax = lSite[0] - bx, ay = lSite[1] - by, cx = rSite[0] - bx, cy = rSite[1] - by;\n var d = 2 * (ax * cy - ay * cx);\n if (d >= -epsilon2)\n return;\n var ha = ax * ax + ay * ay, hc = cx * cx + cy * cy, x = (cy * ha - ay * hc) / d, y = (ax * hc - cx * ha) / d;\n var circle = circlePool.pop() || new Circle;\n circle.arc = arc;\n circle.site = cSite;\n circle.x = x + bx;\n circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y); // y bottom\n arc.circle = circle;\n var before = null, node = circles._;\n while (node) {\n if (circle.y < node.y || (circle.y === node.y && circle.x <= node.x)) {\n if (node.L)\n node = node.L;\n else {\n before = node.P;\n break;\n }\n }\n else {\n if (node.R)\n node = node.R;\n else {\n before = node;\n break;\n }\n }\n }\n circles.insert(before, circle);\n if (!before)\n firstCircle = circle;\n }\n function detachCircle(arc) {\n var circle = arc.circle;\n if (circle) {\n if (!circle.P)\n firstCircle = circle.N;\n circles.remove(circle);\n circlePool.push(circle);\n RedBlackNode(circle);\n arc.circle = null;\n }\n }\n var beachPool = [];\n function Beach() {\n RedBlackNode(this);\n this.edge =\n this.site =\n this.circle = null;\n }\n function createBeach(site) {\n var beach = beachPool.pop() || new Beach;\n beach.site = site;\n return beach;\n }\n function detachBeach(beach) {\n detachCircle(beach);\n beaches.remove(beach);\n beachPool.push(beach);\n RedBlackNode(beach);\n }\n function removeBeach(beach) {\n var circle = beach.circle, x = circle.x, y = circle.cy, vertex = [x, y], previous = beach.P, next = beach.N, disappearing = [beach];\n detachBeach(beach);\n var lArc = previous;\n while (lArc.circle\n && Math.abs(x - lArc.circle.x) < epsilon\n && Math.abs(y - lArc.circle.cy) < epsilon) {\n previous = lArc.P;\n disappearing.unshift(lArc);\n detachBeach(lArc);\n lArc = previous;\n }\n disappearing.unshift(lArc);\n detachCircle(lArc);\n var rArc = next;\n while (rArc.circle\n && Math.abs(x - rArc.circle.x) < epsilon\n && Math.abs(y - rArc.circle.cy) < epsilon) {\n next = rArc.N;\n disappearing.push(rArc);\n detachBeach(rArc);\n rArc = next;\n }\n disappearing.push(rArc);\n detachCircle(rArc);\n var nArcs = disappearing.length, iArc;\n for (iArc = 1; iArc < nArcs; ++iArc) {\n rArc = disappearing[iArc];\n lArc = disappearing[iArc - 1];\n setEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);\n }\n lArc = disappearing[0];\n rArc = disappearing[nArcs - 1];\n rArc.edge = createEdge(lArc.site, rArc.site, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n }\n function addBeach(site) {\n var x = site[0], directrix = site[1], lArc, rArc, dxl, dxr, node = beaches._;\n while (node) {\n dxl = leftBreakPoint(node, directrix) - x;\n if (dxl > epsilon)\n node = node.L;\n else {\n dxr = x - rightBreakPoint(node, directrix);\n if (dxr > epsilon) {\n if (!node.R) {\n lArc = node;\n break;\n }\n node = node.R;\n }\n else {\n if (dxl > -epsilon) {\n lArc = node.P;\n rArc = node;\n }\n else if (dxr > -epsilon) {\n lArc = node;\n rArc = node.N;\n }\n else {\n lArc = rArc = node;\n }\n break;\n }\n }\n }\n createCell(site);\n var newArc = createBeach(site);\n beaches.insert(lArc, newArc);\n if (!lArc && !rArc)\n return;\n if (lArc === rArc) {\n detachCircle(lArc);\n rArc = createBeach(lArc.site);\n beaches.insert(newArc, rArc);\n newArc.edge = rArc.edge = createEdge(lArc.site, newArc.site);\n attachCircle(lArc);\n attachCircle(rArc);\n return;\n }\n if (!rArc) { // && lArc\n newArc.edge = createEdge(lArc.site, newArc.site);\n return;\n }\n // else lArc !== rArc\n detachCircle(lArc);\n detachCircle(rArc);\n var lSite = lArc.site, ax = lSite[0], ay = lSite[1], bx = site[0] - ax, by = site[1] - ay, rSite = rArc.site, cx = rSite[0] - ax, cy = rSite[1] - ay, d = 2 * (bx * cy - by * cx), hb = bx * bx + by * by, hc = cx * cx + cy * cy, vertex = [(cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay];\n setEdgeEnd(rArc.edge, lSite, rSite, vertex);\n newArc.edge = createEdge(lSite, site, null, vertex);\n rArc.edge = createEdge(site, rSite, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n }\n function leftBreakPoint(arc, directrix) {\n var site = arc.site, rfocx = site[0], rfocy = site[1], pby2 = rfocy - directrix;\n if (!pby2)\n return rfocx;\n var lArc = arc.P;\n if (!lArc)\n return -Infinity;\n site = lArc.site;\n var lfocx = site[0], lfocy = site[1], plby2 = lfocy - directrix;\n if (!plby2)\n return lfocx;\n var hl = lfocx - rfocx, aby2 = 1 / pby2 - 1 / plby2, b = hl / plby2;\n if (aby2)\n return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;\n return (rfocx + lfocx) / 2;\n }\n function rightBreakPoint(arc, directrix) {\n var rArc = arc.N;\n if (rArc)\n return leftBreakPoint(rArc, directrix);\n var site = arc.site;\n return site[1] === directrix ? site[0] : Infinity;\n }\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var beaches;\n var cells;\n var circles;\n var edges;\n function triangleArea(a, b, c) {\n return (a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]);\n }\n function lexicographic(a, b) {\n return b[1] - a[1]\n || b[0] - a[0];\n }\n function Diagram(sites, extent) {\n var site = sites.sort(lexicographic).pop(), x, y, circle;\n edges = [];\n cells = new Array(sites.length);\n beaches = new RedBlackTree;\n circles = new RedBlackTree;\n while (true) {\n circle = firstCircle;\n if (site && (!circle || site[1] < circle.y || (site[1] === circle.y && site[0] < circle.x))) {\n if (site[0] !== x || site[1] !== y) {\n addBeach(site);\n x = site[0], y = site[1];\n }\n site = sites.pop();\n }\n else if (circle) {\n removeBeach(circle.arc);\n }\n else {\n break;\n }\n }\n sortCellHalfedges();\n if (extent) {\n var x0 = +extent[0][0], y0 = +extent[0][1], x1 = +extent[1][0], y1 = +extent[1][1];\n clipEdges(x0, y0, x1, y1);\n clipCells(x0, y0, x1, y1);\n }\n this.edges = edges;\n this.cells = cells;\n beaches =\n circles =\n edges =\n cells = null;\n }\n Diagram.prototype = {\n constructor: Diagram,\n polygons: function () {\n var edges = this.edges;\n return this.cells.map(function (cell) {\n var polygon = cell.halfedges.map(function (i) { return cellHalfedgeStart(cell, edges[i]); });\n polygon.data = cell.site.data;\n return polygon;\n });\n },\n triangles: function () {\n var triangles = [], edges = this.edges;\n this.cells.forEach(function (cell, i) {\n if (!(m = (halfedges = cell.halfedges).length))\n return;\n var site = cell.site, halfedges, j = -1, m, s0, e1 = edges[halfedges[m - 1]], s1 = e1.left === site ? e1.right : e1.left;\n while (++j < m) {\n s0 = s1;\n e1 = edges[halfedges[j]];\n s1 = e1.left === site ? e1.right : e1.left;\n if (s0 && s1 && i < s0.index && i < s1.index && triangleArea(site, s0, s1) < 0) {\n triangles.push([site.data, s0.data, s1.data]);\n }\n }\n });\n return triangles;\n },\n links: function () {\n return this.edges.filter(function (edge) {\n return edge.right;\n }).map(function (edge) {\n return {\n source: edge.left.data,\n target: edge.right.data\n };\n });\n },\n find: function (x, y, radius) {\n var that = this, i0, i1 = that._found || 0, n = that.cells.length, cell;\n // Use the previously-found cell, or start with an arbitrary one.\n while (!(cell = that.cells[i1]))\n if (++i1 >= n)\n return null;\n var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy;\n // Traverse the half-edges to find a closer cell, if any.\n do {\n cell = that.cells[i0 = i1], i1 = null;\n cell.halfedges.forEach(function (e) {\n var edge = that.edges[e], v = edge.left;\n if ((v === cell.site || !v) && !(v = edge.right))\n return;\n var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy;\n if (v2 < d2)\n d2 = v2, i1 = v.index;\n });\n } while (i1 !== null);\n that._found = i0;\n return radius == null || d2 <= radius * radius ? cell.site : null;\n }\n };\n function voronoi() {\n var x$$1 = x, y$$1 = y, extent = null;\n function voronoi(data) {\n return new Diagram(data.map(function (d, i) {\n var s = [Math.round(x$$1(d, i, data) / epsilon) * epsilon, Math.round(y$$1(d, i, data) / epsilon) * epsilon];\n s.index = i;\n s.data = d;\n return s;\n }), extent);\n }\n voronoi.polygons = function (data) {\n return voronoi(data).polygons();\n };\n voronoi.links = function (data) {\n return voronoi(data).links();\n };\n voronoi.triangles = function (data) {\n return voronoi(data).triangles();\n };\n voronoi.x = function (_) {\n return arguments.length ? (x$$1 = typeof _ === \"function\" ? _ : constant(+_), voronoi) : x$$1;\n };\n voronoi.y = function (_) {\n return arguments.length ? (y$$1 = typeof _ === \"function\" ? _ : constant(+_), voronoi) : y$$1;\n };\n voronoi.extent = function (_) {\n return arguments.length ? (extent = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi) : extent && [[extent[0][0], extent[0][1]], [extent[1][0], extent[1][1]]];\n };\n voronoi.size = function (_) {\n return arguments.length ? (extent = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi) : extent && [extent[1][0] - extent[0][0], extent[1][1] - extent[0][1]];\n };\n return voronoi;\n }\n exports.voronoi = voronoi;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "index": 182, + "index2": 470, + "size": 1329, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "issuerId": "./src/transform/diagram/dagre.ts", + "issuerName": "./src/transform/diagram/dagre.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1881, + "building": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "dagre", + "loc": "9:38-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/*\nCopyright (c) 2012-2014 Chris Pettitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n\n layout: require(\"./lib/layout\"),\n debug: require(\"./lib/debug\"),\n util: {\n time: require(\"./lib/util\").time,\n notime: require(\"./lib/util\").notime\n },\n version: require(\"./lib/version\")\n};\n" + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "index": 447, + "index2": 445, + "size": 1242, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./acyclic", + "loc": "4:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar greedyFAS = require(\"./greedy-fas\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\nfunction run(g) {\n var fas = (g.graph().acyclicer === \"greedy\"\n ? greedyFAS(g, weightFn(g))\n : dfsFAS(g));\n _.forEach(fas, function(e) {\n var label = g.edge(e);\n g.removeEdge(e);\n label.forwardName = e.name;\n label.reversed = true;\n g.setEdge(e.w, e.v, label, _.uniqueId(\"rev\"));\n });\n\n function weightFn(g) {\n return function(e) {\n return g.edge(e).weight;\n };\n }\n}\n\nfunction dfsFAS(g) {\n var fas = [];\n var stack = {};\n var visited = {};\n\n function dfs(v) {\n if (_.has(visited, v)) {\n return;\n }\n visited[v] = true;\n stack[v] = true;\n _.forEach(g.outEdges(v), function(e) {\n if (_.has(stack, e.w)) {\n fas.push(e);\n } else {\n dfs(e.w);\n }\n });\n delete stack[v];\n }\n\n _.forEach(g.nodes(), dfs);\n return fas;\n}\n\nfunction undo(g) {\n _.forEach(g.edges(), function(e) {\n var label = g.edge(e);\n if (label.reversed) {\n g.removeEdge(e);\n\n var forwardName = label.forwardName;\n delete label.reversed;\n delete label.forwardName;\n g.setEdge(e.w, e.v, label, forwardName);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/add-border-segments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "name": "./node_modules/dagre/lib/add-border-segments.js", + "index": 458, + "index2": 454, + "size": 993, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./add-border-segments", + "loc": "11:24-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = addBorderSegments;\n\nfunction addBorderSegments(g) {\n function dfs(v) {\n var children = g.children(v);\n var node = g.node(v);\n if (children.length) {\n _.forEach(children, dfs);\n }\n\n if (_.has(node, \"minRank\")) {\n node.borderLeft = [];\n node.borderRight = [];\n for (var rank = node.minRank, maxRank = node.maxRank + 1;\n rank < maxRank;\n ++rank) {\n addBorderNode(g, \"borderLeft\", \"_bl\", v, node, rank);\n addBorderNode(g, \"borderRight\", \"_br\", v, node, rank);\n }\n }\n }\n\n _.forEach(g.children(), dfs);\n}\n\nfunction addBorderNode(g, prop, prefix, sg, sgNode, rank) {\n var label = { width: 0, height: 0, rank: rank, borderType: prop };\n var prev = sgNode[prop][rank - 1];\n var curr = util.addDummyNode(g, \"border\", label, prefix);\n sgNode[prop][rank] = curr;\n g.setParent(curr, sg);\n if (prev) {\n g.setEdge(prev, curr, { weight: 1 });\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/coordinate-system.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/coordinate-system.js", + "name": "./node_modules/dagre/lib/coordinate-system.js", + "index": 459, + "index2": 455, + "size": 1418, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./coordinate-system", + "loc": "12:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = {\n adjust: adjust,\n undo: undo\n};\n\nfunction adjust(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapWidthHeight(g);\n }\n}\n\nfunction undo(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"bt\" || rankDir === \"rl\") {\n reverseY(g);\n }\n\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapXY(g);\n swapWidthHeight(g);\n }\n}\n\nfunction swapWidthHeight(g) {\n _.forEach(g.nodes(), function(v) { swapWidthHeightOne(g.node(v)); });\n _.forEach(g.edges(), function(e) { swapWidthHeightOne(g.edge(e)); });\n}\n\nfunction swapWidthHeightOne(attrs) {\n var w = attrs.width;\n attrs.width = attrs.height;\n attrs.height = w;\n}\n\nfunction reverseY(g) {\n _.forEach(g.nodes(), function(v) { reverseYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, reverseYOne);\n if (_.has(edge, \"y\")) {\n reverseYOne(edge);\n }\n });\n}\n\nfunction reverseYOne(attrs) {\n attrs.y = -attrs.y;\n}\n\nfunction swapXY(g) {\n _.forEach(g.nodes(), function(v) { swapXYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, swapXYOne);\n if (_.has(edge, \"x\")) {\n swapXYOne(edge);\n }\n });\n}\n\nfunction swapXYOne(attrs) {\n var x = attrs.x;\n attrs.x = attrs.y;\n attrs.y = x;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/data/list.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/data/list.js", + "name": "./node_modules/dagre/lib/data/list.js", + "index": 449, + "index2": 443, + "size": 1188, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "issuerId": "./node_modules/dagre/lib/greedy-fas.js", + "issuerName": "./node_modules/dagre/lib/greedy-fas.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/greedy-fas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "name": "./node_modules/dagre/lib/greedy-fas.js", + "profile": { + "factory": 445, + "building": 4, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./data/list", + "loc": "3:11-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/*\n * Simple doubly linked list implementation derived from Cormen, et al.,\n * \"Introduction to Algorithms\".\n */\n\nmodule.exports = List;\n\nfunction List() {\n var sentinel = {};\n sentinel._next = sentinel._prev = sentinel;\n this._sentinel = sentinel;\n}\n\nList.prototype.dequeue = function() {\n var sentinel = this._sentinel;\n var entry = sentinel._prev;\n if (entry !== sentinel) {\n unlink(entry);\n return entry;\n }\n};\n\nList.prototype.enqueue = function(entry) {\n var sentinel = this._sentinel;\n if (entry._prev && entry._next) {\n unlink(entry);\n }\n entry._next = sentinel._next;\n sentinel._next._prev = entry;\n sentinel._next = entry;\n entry._prev = sentinel;\n};\n\nList.prototype.toString = function() {\n var strs = [];\n var sentinel = this._sentinel;\n var curr = sentinel._prev;\n while (curr !== sentinel) {\n strs.push(JSON.stringify(curr, filterOutLinks));\n curr = curr._prev;\n }\n return \"[\" + strs.join(\", \") + \"]\";\n};\n\nfunction unlink(entry) {\n entry._prev._next = entry._next;\n entry._next._prev = entry._prev;\n delete entry._next;\n delete entry._prev;\n}\n\nfunction filterOutLinks(k, v) {\n if (k !== \"_next\" && k !== \"_prev\") {\n return v;\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/debug.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "name": "./node_modules/dagre/lib/debug.js", + "index": 471, + "index2": 468, + "size": 775, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/debug", + "loc": "27:9-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n debugOrdering: debugOrdering\n};\n\n/* istanbul ignore next */\nfunction debugOrdering(g) {\n var layerMatrix = util.buildLayerMatrix(g);\n\n var h = new Graph({ compound: true, multigraph: true }).setGraph({});\n\n _.forEach(g.nodes(), function(v) {\n h.setNode(v, { label: v });\n h.setParent(v, \"layer\" + g.node(v).rank);\n });\n\n _.forEach(g.edges(), function(e) {\n h.setEdge(e.v, e.w, {}, e.name);\n });\n\n _.forEach(layerMatrix, function(layer, i) {\n var layerV = \"layer\" + i;\n h.setNode(layerV, { rank: \"same\" });\n _.reduce(layer, function(u, v) {\n h.setEdge(u, v, { style: \"invis\" });\n return v;\n });\n });\n\n return h;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "index": 183, + "index2": 395, + "size": 253, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/graphlib", + "loc": "24:12-37" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "3:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "2:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "16:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "module": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "2:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "9:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "4:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "4:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "7:15-37" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "8:16-38" + }, + { + "moduleId": "./node_modules/dagre/lib/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "module": "./node_modules/dagre/lib/util.js", + "moduleName": "./node_modules/dagre/lib/util.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "6:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" + }, + { + "id": "./node_modules/dagre/lib/greedy-fas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "name": "./node_modules/dagre/lib/greedy-fas.js", + "index": 448, + "index2": 444, + "size": 3370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "issuerId": "./node_modules/dagre/lib/acyclic.js", + "issuerName": "./node_modules/dagre/lib/acyclic.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 445, + "building": 4, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "module": "./node_modules/dagre/lib/acyclic.js", + "moduleName": "./node_modules/dagre/lib/acyclic.js", + "type": "cjs require", + "userRequest": "./greedy-fas", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\nvar List = require(\"./data/list\");\n\n/*\n * A greedy heuristic for finding a feedback arc set for a graph. A feedback\n * arc set is a set of edges that can be removed to make a graph acyclic.\n * The algorithm comes from: P. Eades, X. Lin, and W. F. Smyth, \"A fast and\n * effective heuristic for the feedback arc set problem.\" This implementation\n * adjusts that from the paper to allow for weighted edges.\n */\nmodule.exports = greedyFAS;\n\nvar DEFAULT_WEIGHT_FN = _.constant(1);\n\nfunction greedyFAS(g, weightFn) {\n if (g.nodeCount() <= 1) {\n return [];\n }\n var state = buildState(g, weightFn || DEFAULT_WEIGHT_FN);\n var results = doGreedyFAS(state.graph, state.buckets, state.zeroIdx);\n\n // Expand multi-edges\n return _.flatten(_.map(results, function(e) {\n return g.outEdges(e.v, e.w);\n }), true);\n}\n\nfunction doGreedyFAS(g, buckets, zeroIdx) {\n var results = [];\n var sources = buckets[buckets.length - 1];\n var sinks = buckets[0];\n\n var entry;\n while (g.nodeCount()) {\n while ((entry = sinks.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n while ((entry = sources.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n if (g.nodeCount()) {\n for (var i = buckets.length - 2; i > 0; --i) {\n entry = buckets[i].dequeue();\n if (entry) {\n results = results.concat(removeNode(g, buckets, zeroIdx, entry, true));\n break;\n }\n }\n }\n }\n\n return results;\n}\n\nfunction removeNode(g, buckets, zeroIdx, entry, collectPredecessors) {\n var results = collectPredecessors ? [] : undefined;\n\n _.forEach(g.inEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var uEntry = g.node(edge.v);\n\n if (collectPredecessors) {\n results.push({ v: edge.v, w: edge.w });\n }\n\n uEntry.out -= weight;\n assignBucket(buckets, zeroIdx, uEntry);\n });\n\n _.forEach(g.outEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var w = edge.w;\n var wEntry = g.node(w);\n wEntry[\"in\"] -= weight;\n assignBucket(buckets, zeroIdx, wEntry);\n });\n\n g.removeNode(entry.v);\n\n return results;\n}\n\nfunction buildState(g, weightFn) {\n var fasGraph = new Graph();\n var maxIn = 0;\n var maxOut = 0;\n\n _.forEach(g.nodes(), function(v) {\n fasGraph.setNode(v, { v: v, \"in\": 0, out: 0 });\n });\n\n // Aggregate weights on nodes, but also sum the weights across multi-edges\n // into a single edge for the fasGraph.\n _.forEach(g.edges(), function(e) {\n var prevWeight = fasGraph.edge(e.v, e.w) || 0;\n var weight = weightFn(e);\n var edgeWeight = prevWeight + weight;\n fasGraph.setEdge(e.v, e.w, edgeWeight);\n maxOut = Math.max(maxOut, fasGraph.node(e.v).out += weight);\n maxIn = Math.max(maxIn, fasGraph.node(e.w)[\"in\"] += weight);\n });\n\n var buckets = _.range(maxOut + maxIn + 3).map(function() { return new List(); });\n var zeroIdx = maxIn + 1;\n\n _.forEach(fasGraph.nodes(), function(v) {\n assignBucket(buckets, zeroIdx, fasGraph.node(v));\n });\n\n return { graph: fasGraph, buckets: buckets, zeroIdx: zeroIdx };\n}\n\nfunction assignBucket(buckets, zeroIdx, entry) {\n if (!entry.out) {\n buckets[0].enqueue(entry);\n } else if (!entry[\"in\"]) {\n buckets[buckets.length - 1].enqueue(entry);\n } else {\n buckets[entry.out - entry[\"in\"] + zeroIdx].enqueue(entry);\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "index": 399, + "index2": 467, + "size": 12344, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/layout", + "loc": "26:10-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar acyclic = require(\"./acyclic\");\nvar normalize = require(\"./normalize\");\nvar rank = require(\"./rank\");\nvar normalizeRanks = require(\"./util\").normalizeRanks;\nvar parentDummyChains = require(\"./parent-dummy-chains\");\nvar removeEmptyRanks = require(\"./util\").removeEmptyRanks;\nvar nestingGraph = require(\"./nesting-graph\");\nvar addBorderSegments = require(\"./add-border-segments\");\nvar coordinateSystem = require(\"./coordinate-system\");\nvar order = require(\"./order\");\nvar position = require(\"./position\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = layout;\n\nfunction layout(g, opts) {\n var time = opts && opts.debugTiming ? util.time : util.notime;\n time(\"layout\", function() {\n var layoutGraph = \n time(\" buildLayoutGraph\", function() { return buildLayoutGraph(g); });\n time(\" runLayout\", function() { runLayout(layoutGraph, time); });\n time(\" updateInputGraph\", function() { updateInputGraph(g, layoutGraph); });\n });\n}\n\nfunction runLayout(g, time) {\n time(\" makeSpaceForEdgeLabels\", function() { makeSpaceForEdgeLabels(g); });\n time(\" removeSelfEdges\", function() { removeSelfEdges(g); });\n time(\" acyclic\", function() { acyclic.run(g); });\n time(\" nestingGraph.run\", function() { nestingGraph.run(g); });\n time(\" rank\", function() { rank(util.asNonCompoundGraph(g)); });\n time(\" injectEdgeLabelProxies\", function() { injectEdgeLabelProxies(g); });\n time(\" removeEmptyRanks\", function() { removeEmptyRanks(g); });\n time(\" nestingGraph.cleanup\", function() { nestingGraph.cleanup(g); });\n time(\" normalizeRanks\", function() { normalizeRanks(g); });\n time(\" assignRankMinMax\", function() { assignRankMinMax(g); });\n time(\" removeEdgeLabelProxies\", function() { removeEdgeLabelProxies(g); });\n time(\" normalize.run\", function() { normalize.run(g); });\n time(\" parentDummyChains\", function() { parentDummyChains(g); });\n time(\" addBorderSegments\", function() { addBorderSegments(g); });\n time(\" order\", function() { order(g); });\n time(\" insertSelfEdges\", function() { insertSelfEdges(g); });\n time(\" adjustCoordinateSystem\", function() { coordinateSystem.adjust(g); });\n time(\" position\", function() { position(g); });\n time(\" positionSelfEdges\", function() { positionSelfEdges(g); });\n time(\" removeBorderNodes\", function() { removeBorderNodes(g); });\n time(\" normalize.undo\", function() { normalize.undo(g); });\n time(\" fixupEdgeLabelCoords\", function() { fixupEdgeLabelCoords(g); });\n time(\" undoCoordinateSystem\", function() { coordinateSystem.undo(g); });\n time(\" translateGraph\", function() { translateGraph(g); });\n time(\" assignNodeIntersects\", function() { assignNodeIntersects(g); });\n time(\" reversePoints\", function() { reversePointsForReversedEdges(g); });\n time(\" acyclic.undo\", function() { acyclic.undo(g); });\n}\n\n/*\n * Copies final layout information from the layout graph back to the input\n * graph. This process only copies whitelisted attributes from the layout graph\n * to the input graph, so it serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction updateInputGraph(inputGraph, layoutGraph) {\n _.forEach(inputGraph.nodes(), function(v) {\n var inputLabel = inputGraph.node(v);\n var layoutLabel = layoutGraph.node(v);\n\n if (inputLabel) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n\n if (layoutGraph.children(v).length) {\n inputLabel.width = layoutLabel.width;\n inputLabel.height = layoutLabel.height;\n }\n }\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var inputLabel = inputGraph.edge(e);\n var layoutLabel = layoutGraph.edge(e);\n\n inputLabel.points = layoutLabel.points;\n if (_.has(layoutLabel, \"x\")) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n }\n });\n\n inputGraph.graph().width = layoutGraph.graph().width;\n inputGraph.graph().height = layoutGraph.graph().height;\n}\n\nvar graphNumAttrs = [\"nodesep\", \"edgesep\", \"ranksep\", \"marginx\", \"marginy\"];\nvar graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: \"tb\" };\nvar graphAttrs = [\"acyclicer\", \"ranker\", \"rankdir\", \"align\"];\nvar nodeNumAttrs = [\"width\", \"height\"];\nvar nodeDefaults = { width: 0, height: 0 };\nvar edgeNumAttrs = [\"minlen\", \"weight\", \"width\", \"height\", \"labeloffset\"];\nvar edgeDefaults = {\n minlen: 1, weight: 1, width: 0, height: 0,\n labeloffset: 10, labelpos: \"r\"\n};\nvar edgeAttrs = [\"labelpos\"];\n\n/*\n * Constructs a new graph from the input graph, which can be used for layout.\n * This process copies only whitelisted attributes from the input graph to the\n * layout graph. Thus this function serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction buildLayoutGraph(inputGraph) {\n var g = new Graph({ multigraph: true, compound: true });\n var graph = canonicalize(inputGraph.graph());\n\n g.setGraph(_.merge({},\n graphDefaults,\n selectNumberAttrs(graph, graphNumAttrs),\n _.pick(graph, graphAttrs)));\n\n _.forEach(inputGraph.nodes(), function(v) {\n var node = canonicalize(inputGraph.node(v));\n g.setNode(v, _.defaults(selectNumberAttrs(node, nodeNumAttrs), nodeDefaults));\n g.setParent(v, inputGraph.parent(v));\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var edge = canonicalize(inputGraph.edge(e));\n g.setEdge(e, _.merge({},\n edgeDefaults,\n selectNumberAttrs(edge, edgeNumAttrs),\n _.pick(edge, edgeAttrs)));\n });\n\n return g;\n}\n\n/*\n * This idea comes from the Gansner paper: to account for edge labels in our\n * layout we split each rank in half by doubling minlen and halving ranksep.\n * Then we can place labels at these mid-points between nodes.\n *\n * We also add some minimal padding to the width to push the label for the edge\n * away from the edge itself a bit.\n */\nfunction makeSpaceForEdgeLabels(g) {\n var graph = g.graph();\n graph.ranksep /= 2;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n edge.minlen *= 2;\n if (edge.labelpos.toLowerCase() !== \"c\") {\n if (graph.rankdir === \"TB\" || graph.rankdir === \"BT\") {\n edge.width += edge.labeloffset;\n } else {\n edge.height += edge.labeloffset;\n }\n }\n });\n}\n\n/*\n * Creates temporary dummy nodes that capture the rank in which each edge's\n * label is going to, if it has one of non-zero width and height. We do this\n * so that we can safely remove empty ranks while preserving balance for the\n * label's position.\n */\nfunction injectEdgeLabelProxies(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.width && edge.height) {\n var v = g.node(e.v);\n var w = g.node(e.w);\n var label = { rank: (w.rank - v.rank) / 2 + v.rank, e: e };\n util.addDummyNode(g, \"edge-proxy\", label, \"_ep\");\n }\n });\n}\n\nfunction assignRankMinMax(g) {\n var maxRank = 0;\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.borderTop) {\n node.minRank = g.node(node.borderTop).rank;\n node.maxRank = g.node(node.borderBottom).rank;\n maxRank = _.max(maxRank, node.maxRank);\n }\n });\n g.graph().maxRank = maxRank;\n}\n\nfunction removeEdgeLabelProxies(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"edge-proxy\") {\n g.edge(node.e).labelRank = node.rank;\n g.removeNode(v);\n }\n });\n}\n\nfunction translateGraph(g) {\n var minX = Number.POSITIVE_INFINITY;\n var maxX = 0;\n var minY = Number.POSITIVE_INFINITY;\n var maxY = 0;\n var graphLabel = g.graph();\n var marginX = graphLabel.marginx || 0;\n var marginY = graphLabel.marginy || 0;\n\n function getExtremes(attrs) {\n var x = attrs.x;\n var y = attrs.y;\n var w = attrs.width;\n var h = attrs.height;\n minX = Math.min(minX, x - w / 2);\n maxX = Math.max(maxX, x + w / 2);\n minY = Math.min(minY, y - h / 2);\n maxY = Math.max(maxY, y + h / 2);\n }\n\n _.forEach(g.nodes(), function(v) { getExtremes(g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n getExtremes(edge);\n }\n });\n\n minX -= marginX;\n minY -= marginY;\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n node.x -= minX;\n node.y -= minY;\n });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, function(p) {\n p.x -= minX;\n p.y -= minY;\n });\n if (_.has(edge, \"x\")) { edge.x -= minX; }\n if (_.has(edge, \"y\")) { edge.y -= minY; }\n });\n\n graphLabel.width = maxX - minX + marginX;\n graphLabel.height = maxY - minY + marginY;\n}\n\nfunction assignNodeIntersects(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n var nodeV = g.node(e.v);\n var nodeW = g.node(e.w);\n var p1, p2;\n if (!edge.points) {\n edge.points = [];\n p1 = nodeW;\n p2 = nodeV;\n } else {\n p1 = edge.points[0];\n p2 = edge.points[edge.points.length - 1];\n }\n edge.points.unshift(util.intersectRect(nodeV, p1));\n edge.points.push(util.intersectRect(nodeW, p2));\n });\n}\n\nfunction fixupEdgeLabelCoords(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n if (edge.labelpos === \"l\" || edge.labelpos === \"r\") {\n edge.width -= edge.labeloffset;\n }\n switch (edge.labelpos) {\n case \"l\": edge.x -= edge.width / 2 + edge.labeloffset; break;\n case \"r\": edge.x += edge.width / 2 + edge.labeloffset; break;\n }\n }\n });\n}\n\nfunction reversePointsForReversedEdges(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.reversed) {\n edge.points.reverse();\n }\n });\n}\n\nfunction removeBorderNodes(g) {\n _.forEach(g.nodes(), function(v) {\n if (g.children(v).length) {\n var node = g.node(v);\n var t = g.node(node.borderTop);\n var b = g.node(node.borderBottom);\n var l = g.node(_.last(node.borderLeft));\n var r = g.node(_.last(node.borderRight));\n\n node.width = Math.abs(r.x - l.x);\n node.height = Math.abs(b.y - t.y);\n node.x = l.x + node.width / 2;\n node.y = t.y + node.height / 2;\n }\n });\n\n _.forEach(g.nodes(), function(v) {\n if (g.node(v).dummy === \"border\") {\n g.removeNode(v);\n }\n });\n}\n\nfunction removeSelfEdges(g) {\n _.forEach(g.edges(), function(e) {\n if (e.v === e.w) {\n var node = g.node(e.v);\n if (!node.selfEdges) {\n node.selfEdges = [];\n }\n node.selfEdges.push({ e: e, label: g.edge(e) });\n g.removeEdge(e);\n }\n });\n}\n\nfunction insertSelfEdges(g) {\n var layers = util.buildLayerMatrix(g);\n _.forEach(layers, function(layer) {\n var orderShift = 0;\n _.forEach(layer, function(v, i) {\n var node = g.node(v);\n node.order = i + orderShift;\n _.forEach(node.selfEdges, function(selfEdge) {\n util.addDummyNode(g, \"selfedge\", {\n width: selfEdge.label.width,\n height: selfEdge.label.height,\n rank: node.rank,\n order: i + (++orderShift),\n e: selfEdge.e,\n label: selfEdge.label\n }, \"_se\");\n });\n delete node.selfEdges;\n });\n });\n}\n\nfunction positionSelfEdges(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"selfedge\") {\n var selfNode = g.node(node.e.v);\n var x = selfNode.x + selfNode.width / 2;\n var y = selfNode.y;\n var dx = node.x - x;\n var dy = selfNode.height / 2;\n g.setEdge(node.e, node.label);\n g.removeNode(v);\n node.label.points = [\n { x: x + 2 * dx / 3, y: y - dy },\n { x: x + 5 * dx / 6, y: y - dy },\n { x: x + dx , y: y },\n { x: x + 5 * dx / 6, y: y + dy },\n { x: x + 2 * dx / 3, y: y + dy }\n ];\n node.label.x = node.x;\n node.label.y = node.y;\n }\n });\n}\n\nfunction selectNumberAttrs(obj, attrs) {\n return _.mapValues(_.pick(obj, attrs), Number);\n}\n\nfunction canonicalize(attrs) {\n var newAttrs = {};\n _.forEach(attrs, function(v, k) {\n newAttrs[k.toLowerCase()] = v;\n });\n return newAttrs;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "index": 400, + "index2": 442, + "size": 1255, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "issuerId": "./node_modules/dagre/lib/util.js", + "issuerName": "./node_modules/dagre/lib/util.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 6, + "building": 424 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "module": "./node_modules/dagre/lib/acyclic.js", + "moduleName": "./node_modules/dagre/lib/acyclic.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/add-border-segments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "module": "./node_modules/dagre/lib/add-border-segments.js", + "moduleName": "./node_modules/dagre/lib/add-border-segments.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/coordinate-system.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/coordinate-system.js", + "module": "./node_modules/dagre/lib/coordinate-system.js", + "moduleName": "./node_modules/dagre/lib/coordinate-system.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/nesting-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "module": "./node_modules/dagre/lib/nesting-graph.js", + "moduleName": "./node_modules/dagre/lib/nesting-graph.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/normalize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "module": "./node_modules/dagre/lib/normalize.js", + "moduleName": "./node_modules/dagre/lib/normalize.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/add-subgraph-constraints.js", + "module": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "moduleName": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/barycenter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/barycenter.js", + "module": "./node_modules/dagre/lib/order/barycenter.js", + "moduleName": "./node_modules/dagre/lib/order/barycenter.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "module": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/cross-count.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/cross-count.js", + "module": "./node_modules/dagre/lib/order/cross-count.js", + "moduleName": "./node_modules/dagre/lib/order/cross-count.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/init-order.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/init-order.js", + "module": "./node_modules/dagre/lib/order/init-order.js", + "moduleName": "./node_modules/dagre/lib/order/init-order.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/resolve-conflicts.js", + "module": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "moduleName": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "module": "./node_modules/dagre/lib/order/sort.js", + "moduleName": "./node_modules/dagre/lib/order/sort.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/parent-dummy-chains.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/parent-dummy-chains.js", + "module": "./node_modules/dagre/lib/parent-dummy-chains.js", + "moduleName": "./node_modules/dagre/lib/parent-dummy-chains.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/util.js", + "module": "./node_modules/dagre/lib/rank/util.js", + "moduleName": "./node_modules/dagre/lib/rank/util.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "module": "./node_modules/dagre/lib/util.js", + "moduleName": "./node_modules/dagre/lib/util.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "5:8-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n cloneDeep: require(\"lodash/cloneDeep\"),\n constant: require(\"lodash/constant\"),\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n find: require(\"lodash/find\"),\n flatten: require(\"lodash/flatten\"),\n forEach: require(\"lodash/forEach\"),\n forIn: require(\"lodash/forIn\"),\n has: require(\"lodash/has\"),\n isUndefined: require(\"lodash/isUndefined\"),\n last: require(\"lodash/last\"),\n map: require(\"lodash/map\"),\n mapValues: require(\"lodash/mapValues\"),\n max: require(\"lodash/max\"),\n merge: require(\"lodash/merge\"),\n min: require(\"lodash/min\"),\n minBy: require(\"lodash/minBy\"),\n now: require(\"lodash/now\"),\n pick: require(\"lodash/pick\"),\n range: require(\"lodash/range\"),\n reduce: require(\"lodash/reduce\"),\n sortBy: require(\"lodash/sortBy\"),\n uniqueId: require(\"lodash/uniqueId\"),\n values: require(\"lodash/values\"),\n zipObject: require(\"lodash/zipObject\"),\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" + }, + { + "id": "./node_modules/dagre/lib/nesting-graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "name": "./node_modules/dagre/lib/nesting-graph.js", + "index": 457, + "index2": 453, + "size": 3641, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./nesting-graph", + "loc": "10:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n cleanup: cleanup\n};\n\n/*\n * A nesting graph creates dummy nodes for the tops and bottoms of subgraphs,\n * adds appropriate edges to ensure that all cluster nodes are placed between\n * these boundries, and ensures that the graph is connected.\n *\n * In addition we ensure, through the use of the minlen property, that nodes\n * and subgraph border nodes to not end up on the same rank.\n *\n * Preconditions:\n *\n * 1. Input graph is a DAG\n * 2. Nodes in the input graph has a minlen attribute\n *\n * Postconditions:\n *\n * 1. Input graph is connected.\n * 2. Dummy nodes are added for the tops and bottoms of subgraphs.\n * 3. The minlen attribute for nodes is adjusted to ensure nodes do not\n * get placed on the same rank as subgraph border nodes.\n *\n * The nesting graph idea comes from Sander, \"Layout of Compound Directed\n * Graphs.\"\n */\nfunction run(g) {\n var root = util.addDummyNode(g, \"root\", {}, \"_root\");\n var depths = treeDepths(g);\n var height = _.max(_.values(depths)) - 1; // Note: depths is an Object not an array\n var nodeSep = 2 * height + 1;\n\n g.graph().nestingRoot = root;\n\n // Multiply minlen by nodeSep to align nodes on non-border ranks.\n _.forEach(g.edges(), function(e) { g.edge(e).minlen *= nodeSep; });\n\n // Calculate a weight that is sufficient to keep subgraphs vertically compact\n var weight = sumWeights(g) + 1;\n\n // Create border nodes and link them up\n _.forEach(g.children(), function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n });\n\n // Save the multiplier for node layers for later removal of empty border\n // layers.\n g.graph().nodeRankFactor = nodeSep;\n}\n\nfunction dfs(g, root, nodeSep, weight, height, depths, v) {\n var children = g.children(v);\n if (!children.length) {\n if (v !== root) {\n g.setEdge(root, v, { weight: 0, minlen: nodeSep });\n }\n return;\n }\n\n var top = util.addBorderNode(g, \"_bt\");\n var bottom = util.addBorderNode(g, \"_bb\");\n var label = g.node(v);\n\n g.setParent(top, v);\n label.borderTop = top;\n g.setParent(bottom, v);\n label.borderBottom = bottom;\n\n _.forEach(children, function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n\n var childNode = g.node(child);\n var childTop = childNode.borderTop ? childNode.borderTop : child;\n var childBottom = childNode.borderBottom ? childNode.borderBottom : child;\n var thisWeight = childNode.borderTop ? weight : 2 * weight;\n var minlen = childTop !== childBottom ? 1 : height - depths[v] + 1;\n\n g.setEdge(top, childTop, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n\n g.setEdge(childBottom, bottom, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n });\n\n if (!g.parent(v)) {\n g.setEdge(root, top, { weight: 0, minlen: height + depths[v] });\n }\n}\n\nfunction treeDepths(g) {\n var depths = {};\n function dfs(v, depth) {\n var children = g.children(v);\n if (children && children.length) {\n _.forEach(children, function(child) {\n dfs(child, depth + 1);\n });\n }\n depths[v] = depth;\n }\n _.forEach(g.children(), function(v) { dfs(v, 1); });\n return depths;\n}\n\nfunction sumWeights(g) {\n return _.reduce(g.edges(), function(acc, e) {\n return acc + g.edge(e).weight;\n }, 0);\n}\n\nfunction cleanup(g) {\n var graphLabel = g.graph();\n g.removeNode(graphLabel.nestingRoot);\n delete graphLabel.nestingRoot;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.nestingEdge) {\n g.removeEdge(e);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/normalize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "name": "./node_modules/dagre/lib/normalize.js", + "index": 450, + "index2": 447, + "size": 2279, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./normalize", + "loc": "5:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\n/*\n * Breaks any long edges in the graph into short segments that span 1 layer\n * each. This operation is undoable with the denormalize function.\n *\n * Pre-conditions:\n *\n * 1. The input graph is a DAG.\n * 2. Each node in the graph has a \"rank\" property.\n *\n * Post-condition:\n *\n * 1. All edges in the graph have a length of 1.\n * 2. Dummy nodes are added where edges have been split into segments.\n * 3. The graph is augmented with a \"dummyChains\" attribute which contains\n * the first dummy in each chain of dummy nodes produced.\n */\nfunction run(g) {\n g.graph().dummyChains = [];\n _.forEach(g.edges(), function(edge) { normalizeEdge(g, edge); });\n}\n\nfunction normalizeEdge(g, e) {\n var v = e.v;\n var vRank = g.node(v).rank;\n var w = e.w;\n var wRank = g.node(w).rank;\n var name = e.name;\n var edgeLabel = g.edge(e);\n var labelRank = edgeLabel.labelRank;\n\n if (wRank === vRank + 1) return;\n\n g.removeEdge(e);\n\n var dummy, attrs, i;\n for (i = 0, ++vRank; vRank < wRank; ++i, ++vRank) {\n edgeLabel.points = [];\n attrs = {\n width: 0, height: 0,\n edgeLabel: edgeLabel, edgeObj: e,\n rank: vRank\n };\n dummy = util.addDummyNode(g, \"edge\", attrs, \"_d\");\n if (vRank === labelRank) {\n attrs.width = edgeLabel.width;\n attrs.height = edgeLabel.height;\n attrs.dummy = \"edge-label\";\n attrs.labelpos = edgeLabel.labelpos;\n }\n g.setEdge(v, dummy, { weight: edgeLabel.weight }, name);\n if (i === 0) {\n g.graph().dummyChains.push(dummy);\n }\n v = dummy;\n }\n\n g.setEdge(v, w, { weight: edgeLabel.weight }, name);\n}\n\nfunction undo(g) {\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var origLabel = node.edgeLabel;\n var w;\n g.setEdge(node.edgeObj, origLabel);\n while (node.dummy) {\n w = g.successors(v)[0];\n g.removeNode(v);\n origLabel.points.push({ x: node.x, y: node.y });\n if (node.dummy === \"edge-label\") {\n origLabel.x = node.x;\n origLabel.y = node.y;\n origLabel.width = node.width;\n origLabel.height = node.height;\n }\n v = w;\n node = g.node(v);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/add-subgraph-constraints.js", + "name": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "index": 468, + "index2": 463, + "size": 1219, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./add-subgraph-constraints", + "loc": "8:29-66" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = addSubgraphConstraints;\n\nfunction addSubgraphConstraints(g, cg, vs) {\n var prev = {},\n rootPrev;\n\n _.forEach(vs, function(v) {\n var child = g.parent(v),\n parent,\n prevChild;\n while (child) {\n parent = g.parent(child);\n if (parent) {\n prevChild = prev[parent];\n prev[parent] = child;\n } else {\n prevChild = rootPrev;\n rootPrev = child;\n }\n if (prevChild && prevChild !== child) {\n cg.setEdge(prevChild, child);\n return;\n }\n child = parent;\n }\n });\n\n /*\n function dfs(v) {\n var children = v ? g.children(v) : g.children();\n if (children.length) {\n var min = Number.POSITIVE_INFINITY,\n subgraphs = [];\n _.each(children, function(child) {\n var childMin = dfs(child);\n if (g.children(child).length) {\n subgraphs.push({ v: child, order: childMin });\n }\n min = Math.min(min, childMin);\n });\n _.reduce(_.sortBy(subgraphs, \"order\"), function(prev, curr) {\n cg.setEdge(prev.v, curr.v);\n return curr;\n });\n return min;\n }\n return g.node(v).order;\n }\n dfs(undefined);\n */\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/barycenter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/barycenter.js", + "name": "./node_modules/dagre/lib/order/barycenter.js", + "index": 464, + "index2": 458, + "size": 623, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./barycenter", + "loc": "2:17-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = barycenter;\n\nfunction barycenter(g, movable) {\n return _.map(movable, function(v) {\n var inV = g.inEdges(v);\n if (!inV.length) {\n return { v: v };\n } else {\n var result = _.reduce(inV, function(acc, e) {\n var edge = g.edge(e),\n nodeU = g.node(e.v);\n return {\n sum: acc.sum + (edge.weight * nodeU.order),\n weight: acc.weight + edge.weight\n };\n }, { sum: 0, weight: 0 });\n\n return {\n v: v,\n barycenter: result.sum / result.weight,\n weight: result.weight\n };\n }\n });\n}\n\n" + }, + { + "id": "./node_modules/dagre/lib/order/build-layer-graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "name": "./node_modules/dagre/lib/order/build-layer-graph.js", + "index": 467, + "index2": 462, + "size": 2568, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./build-layer-graph", + "loc": "7:22-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\n\nmodule.exports = buildLayerGraph;\n\n/*\n * Constructs a graph that can be used to sort a layer of nodes. The graph will\n * contain all base and subgraph nodes from the request layer in their original\n * hierarchy and any edges that are incident on these nodes and are of the type\n * requested by the \"relationship\" parameter.\n *\n * Nodes from the requested rank that do not have parents are assigned a root\n * node in the output graph, which is set in the root graph attribute. This\n * makes it easy to walk the hierarchy of movable nodes during ordering.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG\n * 2. Base nodes in the input graph have a rank attribute\n * 3. Subgraph nodes in the input graph has minRank and maxRank attributes\n * 4. Edges have an assigned weight\n *\n * Post-conditions:\n *\n * 1. Output graph has all nodes in the movable rank with preserved\n * hierarchy.\n * 2. Root nodes in the movable layer are made children of the node\n * indicated by the root attribute of the graph.\n * 3. Non-movable nodes incident on movable nodes, selected by the\n * relationship parameter, are included in the graph (without hierarchy).\n * 4. Edges incident on movable nodes, selected by the relationship\n * parameter, are added to the output graph.\n * 5. The weights for copied edges are aggregated as need, since the output\n * graph is not a multi-graph.\n */\nfunction buildLayerGraph(g, rank, relationship) {\n var root = createRootNode(g),\n result = new Graph({ compound: true }).setGraph({ root: root })\n .setDefaultNodeLabel(function(v) { return g.node(v); });\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v),\n parent = g.parent(v);\n\n if (node.rank === rank || node.minRank <= rank && rank <= node.maxRank) {\n result.setNode(v);\n result.setParent(v, parent || root);\n\n // This assumes we have only short edges!\n _.forEach(g[relationship](v), function(e) {\n var u = e.v === v ? e.w : e.v,\n edge = result.edge(u, v),\n weight = !_.isUndefined(edge) ? edge.weight : 0;\n result.setEdge(u, v, { weight: g.edge(e).weight + weight });\n });\n\n if (_.has(node, \"minRank\")) {\n result.setNode(v, {\n borderLeft: node.borderLeft[rank],\n borderRight: node.borderRight[rank]\n });\n }\n }\n });\n\n return result;\n}\n\nfunction createRootNode(g) {\n var v;\n while (g.hasNode((v = _.uniqueId(\"_root\"))));\n return v;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/cross-count.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/cross-count.js", + "name": "./node_modules/dagre/lib/order/cross-count.js", + "index": 462, + "index2": 457, + "size": 1984, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./cross-count", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = crossCount;\n\n/*\n * A function that takes a layering (an array of layers, each with an array of\n * ordererd nodes) and a graph and returns a weighted crossing count.\n *\n * Pre-conditions:\n *\n * 1. Input graph must be simple (not a multigraph), directed, and include\n * only simple edges.\n * 2. Edges in the input graph must have assigned weights.\n *\n * Post-conditions:\n *\n * 1. The graph and layering matrix are left unchanged.\n *\n * This algorithm is derived from Barth, et al., \"Bilayer Cross Counting.\"\n */\nfunction crossCount(g, layering) {\n var cc = 0;\n for (var i = 1; i < layering.length; ++i) {\n cc += twoLayerCrossCount(g, layering[i-1], layering[i]);\n }\n return cc;\n}\n\nfunction twoLayerCrossCount(g, northLayer, southLayer) {\n // Sort all of the edges between the north and south layers by their position\n // in the north layer and then the south. Map these edges to the position of\n // their head in the south layer.\n var southPos = _.zipObject(southLayer,\n _.map(southLayer, function (v, i) { return i; }));\n var southEntries = _.flatten(_.map(northLayer, function(v) {\n return _.sortBy(_.map(g.outEdges(v), function(e) {\n return { pos: southPos[e.w], weight: g.edge(e).weight };\n }), \"pos\");\n }), true);\n\n // Build the accumulator tree\n var firstIndex = 1;\n while (firstIndex < southLayer.length) firstIndex <<= 1;\n var treeSize = 2 * firstIndex - 1;\n firstIndex -= 1;\n var tree = _.map(new Array(treeSize), function() { return 0; });\n\n // Calculate the weighted crossings\n var cc = 0;\n _.forEach(southEntries.forEach(function(entry) {\n var index = entry.pos + firstIndex;\n tree[index] += entry.weight;\n var weightSum = 0;\n while (index > 0) {\n if (index % 2) {\n weightSum += tree[index + 1];\n }\n index = (index - 1) >> 1;\n tree[index] += entry.weight;\n }\n cc += entry.weight * weightSum;\n }));\n\n return cc;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "index": 460, + "index2": 464, + "size": 2161, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./order", + "loc": "13:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar initOrder = require(\"./init-order\");\nvar crossCount = require(\"./cross-count\");\nvar sortSubgraph = require(\"./sort-subgraph\");\nvar buildLayerGraph = require(\"./build-layer-graph\");\nvar addSubgraphConstraints = require(\"./add-subgraph-constraints\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\nmodule.exports = order;\n\n/*\n * Applies heuristics to minimize edge crossings in the graph and sets the best\n * order solution as an order attribute on each node.\n *\n * Pre-conditions:\n *\n * 1. Graph must be DAG\n * 2. Graph nodes must be objects with a \"rank\" attribute\n * 3. Graph edges must have the \"weight\" attribute\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have an \"order\" attribute based on the results of the\n * algorithm.\n */\nfunction order(g) {\n var maxRank = util.maxRank(g),\n downLayerGraphs = buildLayerGraphs(g, _.range(1, maxRank + 1), \"inEdges\"),\n upLayerGraphs = buildLayerGraphs(g, _.range(maxRank - 1, -1, -1), \"outEdges\");\n\n var layering = initOrder(g);\n assignOrder(g, layering);\n\n var bestCC = Number.POSITIVE_INFINITY,\n best;\n\n for (var i = 0, lastBest = 0; lastBest < 4; ++i, ++lastBest) {\n sweepLayerGraphs(i % 2 ? downLayerGraphs : upLayerGraphs, i % 4 >= 2);\n\n layering = util.buildLayerMatrix(g);\n var cc = crossCount(g, layering);\n if (cc < bestCC) {\n lastBest = 0;\n best = _.cloneDeep(layering);\n bestCC = cc;\n }\n }\n\n assignOrder(g, best);\n}\n\nfunction buildLayerGraphs(g, ranks, relationship) {\n return _.map(ranks, function(rank) {\n return buildLayerGraph(g, rank, relationship);\n });\n}\n\nfunction sweepLayerGraphs(layerGraphs, biasRight) {\n var cg = new Graph();\n _.forEach(layerGraphs, function(lg) {\n var root = lg.graph().root;\n var sorted = sortSubgraph(lg, root, cg, biasRight);\n _.forEach(sorted.vs, function(v, i) {\n lg.node(v).order = i;\n });\n addSubgraphConstraints(lg, cg, sorted.vs);\n });\n}\n\nfunction assignOrder(g, layering) {\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, i) {\n g.node(v).order = i;\n });\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/init-order.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/init-order.js", + "name": "./node_modules/dagre/lib/order/init-order.js", + "index": 461, + "index2": 456, + "size": 1073, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./init-order", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = initOrder;\n\n/*\n * Assigns an initial order value for each node by performing a DFS search\n * starting from nodes in the first rank. Nodes are assigned an order in their\n * rank as they are first visited.\n *\n * This approach comes from Gansner, et al., \"A Technique for Drawing Directed\n * Graphs.\"\n *\n * Returns a layering matrix with an array per layer and each layer sorted by\n * the order of its nodes.\n */\nfunction initOrder(g) {\n var visited = {};\n var simpleNodes = _.filter(g.nodes(), function(v) {\n return !g.children(v).length;\n });\n var maxRank = _.max(_.map(simpleNodes, function(v) { return g.node(v).rank; }));\n var layers = _.map(_.range(maxRank + 1), function() { return []; });\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n var node = g.node(v);\n layers[node.rank].push(v);\n _.forEach(g.successors(v), dfs);\n }\n\n var orderedVs = _.sortBy(simpleNodes, function(v) { return g.node(v).rank; });\n _.forEach(orderedVs, dfs);\n\n return layers;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/resolve-conflicts.js", + "name": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "index": 465, + "index2": 459, + "size": 3329, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./resolve-conflicts", + "loc": "3:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = resolveConflicts;\n\n/*\n * Given a list of entries of the form {v, barycenter, weight} and a\n * constraint graph this function will resolve any conflicts between the\n * constraint graph and the barycenters for the entries. If the barycenters for\n * an entry would violate a constraint in the constraint graph then we coalesce\n * the nodes in the conflict into a new node that respects the contraint and\n * aggregates barycenter and weight information.\n *\n * This implementation is based on the description in Forster, \"A Fast and\n * Simple Hueristic for Constrained Two-Level Crossing Reduction,\" thought it\n * differs in some specific details.\n *\n * Pre-conditions:\n *\n * 1. Each entry has the form {v, barycenter, weight}, or if the node has\n * no barycenter, then {v}.\n *\n * Returns:\n *\n * A new list of entries of the form {vs, i, barycenter, weight}. The list\n * `vs` may either be a singleton or it may be an aggregation of nodes\n * ordered such that they do not violate constraints from the constraint\n * graph. The property `i` is the lowest original index of any of the\n * elements in `vs`.\n */\nfunction resolveConflicts(entries, cg) {\n var mappedEntries = {};\n _.forEach(entries, function(entry, i) {\n var tmp = mappedEntries[entry.v] = {\n indegree: 0,\n \"in\": [],\n out: [],\n vs: [entry.v],\n i: i\n };\n if (!_.isUndefined(entry.barycenter)) {\n tmp.barycenter = entry.barycenter;\n tmp.weight = entry.weight;\n }\n });\n\n _.forEach(cg.edges(), function(e) {\n var entryV = mappedEntries[e.v];\n var entryW = mappedEntries[e.w];\n if (!_.isUndefined(entryV) && !_.isUndefined(entryW)) {\n entryW.indegree++;\n entryV.out.push(mappedEntries[e.w]);\n }\n });\n\n var sourceSet = _.filter(mappedEntries, function(entry) {\n return !entry.indegree;\n });\n\n return doResolveConflicts(sourceSet);\n}\n\nfunction doResolveConflicts(sourceSet) {\n var entries = [];\n\n function handleIn(vEntry) {\n return function(uEntry) {\n if (uEntry.merged) {\n return;\n }\n if (_.isUndefined(uEntry.barycenter) ||\n _.isUndefined(vEntry.barycenter) ||\n uEntry.barycenter >= vEntry.barycenter) {\n mergeEntries(vEntry, uEntry);\n }\n };\n }\n\n function handleOut(vEntry) {\n return function(wEntry) {\n wEntry[\"in\"].push(vEntry);\n if (--wEntry.indegree === 0) {\n sourceSet.push(wEntry);\n }\n };\n }\n\n while (sourceSet.length) {\n var entry = sourceSet.pop();\n entries.push(entry);\n _.forEach(entry[\"in\"].reverse(), handleIn(entry));\n _.forEach(entry.out, handleOut(entry));\n }\n\n return _.map(_.filter(entries, function(entry) { return !entry.merged; }),\n function(entry) {\n return _.pick(entry, [\"vs\", \"i\", \"barycenter\", \"weight\"]);\n });\n\n}\n\nfunction mergeEntries(target, source) {\n var sum = 0;\n var weight = 0;\n\n if (target.weight) {\n sum += target.barycenter * target.weight;\n weight += target.weight;\n }\n\n if (source.weight) {\n sum += source.barycenter * source.weight;\n weight += source.weight;\n }\n\n target.vs = source.vs.concat(target.vs);\n target.barycenter = sum / weight;\n target.weight = weight;\n target.i = Math.min(source.i, target.i);\n source.merged = true;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "index": 463, + "index2": 461, + "size": 2144, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./sort-subgraph", + "loc": "6:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\nvar barycenter = require(\"./barycenter\");\nvar resolveConflicts = require(\"./resolve-conflicts\");\nvar sort = require(\"./sort\");\n\nmodule.exports = sortSubgraph;\n\nfunction sortSubgraph(g, v, cg, biasRight) {\n var movable = g.children(v);\n var node = g.node(v);\n var bl = node ? node.borderLeft : undefined;\n var br = node ? node.borderRight: undefined;\n var subgraphs = {};\n\n if (bl) {\n movable = _.filter(movable, function(w) {\n return w !== bl && w !== br;\n });\n }\n\n var barycenters = barycenter(g, movable);\n _.forEach(barycenters, function(entry) {\n if (g.children(entry.v).length) {\n var subgraphResult = sortSubgraph(g, entry.v, cg, biasRight);\n subgraphs[entry.v] = subgraphResult;\n if (_.has(subgraphResult, \"barycenter\")) {\n mergeBarycenters(entry, subgraphResult);\n }\n }\n });\n\n var entries = resolveConflicts(barycenters, cg);\n expandSubgraphs(entries, subgraphs);\n\n var result = sort(entries, biasRight);\n\n if (bl) {\n result.vs = _.flatten([bl, result.vs, br], true);\n if (g.predecessors(bl).length) {\n var blPred = g.node(g.predecessors(bl)[0]),\n brPred = g.node(g.predecessors(br)[0]);\n if (!_.has(result, \"barycenter\")) {\n result.barycenter = 0;\n result.weight = 0;\n }\n result.barycenter = (result.barycenter * result.weight +\n blPred.order + brPred.order) / (result.weight + 2);\n result.weight += 2;\n }\n }\n\n return result;\n}\n\nfunction expandSubgraphs(entries, subgraphs) {\n _.forEach(entries, function(entry) {\n entry.vs = _.flatten(entry.vs.map(function(v) {\n if (subgraphs[v]) {\n return subgraphs[v].vs;\n }\n return v;\n }), true);\n });\n}\n\nfunction mergeBarycenters(target, other) {\n if (!_.isUndefined(target.barycenter)) {\n target.barycenter = (target.barycenter * target.weight +\n other.barycenter * other.weight) /\n (target.weight + other.weight);\n target.weight += other.weight;\n } else {\n target.barycenter = other.barycenter;\n target.weight = other.weight;\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/sort.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "name": "./node_modules/dagre/lib/order/sort.js", + "index": 466, + "index2": 460, + "size": 1374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./sort", + "loc": "4:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar util = require(\"../util\");\n\nmodule.exports = sort;\n\nfunction sort(entries, biasRight) {\n var parts = util.partition(entries, function(entry) {\n return _.has(entry, \"barycenter\");\n });\n var sortable = parts.lhs,\n unsortable = _.sortBy(parts.rhs, function(entry) { return -entry.i; }),\n vs = [],\n sum = 0,\n weight = 0,\n vsIndex = 0;\n\n sortable.sort(compareWithBias(!!biasRight));\n\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n\n _.forEach(sortable, function (entry) {\n vsIndex += entry.vs.length;\n vs.push(entry.vs);\n sum += entry.barycenter * entry.weight;\n weight += entry.weight;\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n });\n\n var result = { vs: _.flatten(vs, true) };\n if (weight) {\n result.barycenter = sum / weight;\n result.weight = weight;\n }\n return result;\n}\n\nfunction consumeUnsortable(vs, unsortable, index) {\n var last;\n while (unsortable.length && (last = _.last(unsortable)).i <= index) {\n unsortable.pop();\n vs.push(last.vs);\n index++;\n }\n return index;\n}\n\nfunction compareWithBias(bias) {\n return function(entryV, entryW) {\n if (entryV.barycenter < entryW.barycenter) {\n return -1;\n } else if (entryV.barycenter > entryW.barycenter) {\n return 1;\n }\n\n return !bias ? entryV.i - entryW.i : entryW.i - entryV.i;\n };\n}\n" + }, + { + "id": "./node_modules/dagre/lib/parent-dummy-chains.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/parent-dummy-chains.js", + "name": "./node_modules/dagre/lib/parent-dummy-chains.js", + "index": 456, + "index2": 452, + "size": 2017, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./parent-dummy-chains", + "loc": "8:24-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\n\nmodule.exports = parentDummyChains;\n\nfunction parentDummyChains(g) {\n var postorderNums = postorder(g);\n\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var edgeObj = node.edgeObj;\n var pathData = findPath(g, postorderNums, edgeObj.v, edgeObj.w);\n var path = pathData.path;\n var lca = pathData.lca;\n var pathIdx = 0;\n var pathV = path[pathIdx];\n var ascending = true;\n\n while (v !== edgeObj.w) {\n node = g.node(v);\n\n if (ascending) {\n while ((pathV = path[pathIdx]) !== lca &&\n g.node(pathV).maxRank < node.rank) {\n pathIdx++;\n }\n\n if (pathV === lca) {\n ascending = false;\n }\n }\n\n if (!ascending) {\n while (pathIdx < path.length - 1 &&\n g.node(pathV = path[pathIdx + 1]).minRank <= node.rank) {\n pathIdx++;\n }\n pathV = path[pathIdx];\n }\n\n g.setParent(v, pathV);\n v = g.successors(v)[0];\n }\n });\n}\n\n// Find a path from v to w through the lowest common ancestor (LCA). Return the\n// full path and the LCA.\nfunction findPath(g, postorderNums, v, w) {\n var vPath = [];\n var wPath = [];\n var low = Math.min(postorderNums[v].low, postorderNums[w].low);\n var lim = Math.max(postorderNums[v].lim, postorderNums[w].lim);\n var parent;\n var lca;\n\n // Traverse up from v to find the LCA\n parent = v;\n do {\n parent = g.parent(parent);\n vPath.push(parent);\n } while (parent &&\n (postorderNums[parent].low > low || lim > postorderNums[parent].lim));\n lca = parent;\n\n // Traverse from w to LCA\n parent = w;\n while ((parent = g.parent(parent)) !== lca) {\n wPath.push(parent);\n }\n\n return { path: vPath.concat(wPath.reverse()), lca: lca };\n}\n\nfunction postorder(g) {\n var result = {};\n var lim = 0;\n\n function dfs(v) {\n var low = lim;\n _.forEach(g.children(v), dfs);\n result[v] = { low: low, lim: lim++ };\n }\n _.forEach(g.children(), dfs);\n\n return result;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/position/bk.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "name": "./node_modules/dagre/lib/position/bk.js", + "index": 470, + "index2": 465, + "size": 11912, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "issuerId": "./node_modules/dagre/lib/position/index.js", + "issuerName": "./node_modules/dagre/lib/position/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/position/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "name": "./node_modules/dagre/lib/position/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "./bk", + "loc": "5:16-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\n/*\n * This module provides coordinate assignment based on Brandes and Köpf, \"Fast\n * and Simple Horizontal Coordinate Assignment.\"\n */\n\nmodule.exports = {\n positionX: positionX,\n findType1Conflicts: findType1Conflicts,\n findType2Conflicts: findType2Conflicts,\n addConflict: addConflict,\n hasConflict: hasConflict,\n verticalAlignment: verticalAlignment,\n horizontalCompaction: horizontalCompaction,\n alignCoordinates: alignCoordinates,\n findSmallestWidthAlignment: findSmallestWidthAlignment,\n balance: balance\n};\n\n/*\n * Marks all edges in the graph with a type-1 conflict with the \"type1Conflict\"\n * property. A type-1 conflict is one where a non-inner segment crosses an\n * inner segment. An inner segment is an edge with both incident nodes marked\n * with the \"dummy\" property.\n *\n * This algorithm scans layer by layer, starting with the second, for type-1\n * conflicts between the current layer and the previous layer. For each layer\n * it scans the nodes from left to right until it reaches one that is incident\n * on an inner segment. It then scans predecessors to determine if they have\n * edges that cross that inner segment. At the end a final scan is done for all\n * nodes on the current rank to see if they cross the last visited inner\n * segment.\n *\n * This algorithm (safely) assumes that a dummy node will only be incident on a\n * single node in the layers being scanned.\n */\nfunction findType1Conflicts(g, layering) {\n var conflicts = {};\n\n function visitLayer(prevLayer, layer) {\n var\n // last visited node in the previous layer that is incident on an inner\n // segment.\n k0 = 0,\n // Tracks the last node in this layer scanned for crossings with a type-1\n // segment.\n scanPos = 0,\n prevLayerLength = prevLayer.length,\n lastNode = _.last(layer);\n\n _.forEach(layer, function(v, i) {\n var w = findOtherInnerSegmentNode(g, v),\n k1 = w ? g.node(w).order : prevLayerLength;\n\n if (w || v === lastNode) {\n _.forEach(layer.slice(scanPos, i +1), function(scanNode) {\n _.forEach(g.predecessors(scanNode), function(u) {\n var uLabel = g.node(u),\n uPos = uLabel.order;\n if ((uPos < k0 || k1 < uPos) &&\n !(uLabel.dummy && g.node(scanNode).dummy)) {\n addConflict(conflicts, u, scanNode);\n }\n });\n });\n scanPos = i + 1;\n k0 = k1;\n }\n });\n\n return layer;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findType2Conflicts(g, layering) {\n var conflicts = {};\n\n function scan(south, southPos, southEnd, prevNorthBorder, nextNorthBorder) {\n var v;\n _.forEach(_.range(southPos, southEnd), function(i) {\n v = south[i];\n if (g.node(v).dummy) {\n _.forEach(g.predecessors(v), function(u) {\n var uNode = g.node(u);\n if (uNode.dummy &&\n (uNode.order < prevNorthBorder || uNode.order > nextNorthBorder)) {\n addConflict(conflicts, u, v);\n }\n });\n }\n });\n }\n\n\n function visitLayer(north, south) {\n var prevNorthPos = -1,\n nextNorthPos,\n southPos = 0;\n\n _.forEach(south, function(v, southLookahead) {\n if (g.node(v).dummy === \"border\") {\n var predecessors = g.predecessors(v);\n if (predecessors.length) {\n nextNorthPos = g.node(predecessors[0]).order;\n scan(south, southPos, southLookahead, prevNorthPos, nextNorthPos);\n southPos = southLookahead;\n prevNorthPos = nextNorthPos;\n }\n }\n scan(south, southPos, south.length, nextNorthPos, north.length);\n });\n\n return south;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findOtherInnerSegmentNode(g, v) {\n if (g.node(v).dummy) {\n return _.find(g.predecessors(v), function(u) {\n return g.node(u).dummy;\n });\n }\n}\n\nfunction addConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n\n var conflictsV = conflicts[v];\n if (!conflictsV) {\n conflicts[v] = conflictsV = {};\n }\n conflictsV[w] = true;\n}\n\nfunction hasConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return _.has(conflicts[v], w);\n}\n\n/*\n * Try to align nodes into vertical \"blocks\" where possible. This algorithm\n * attempts to align a node with one of its median neighbors. If the edge\n * connecting a neighbor is a type-1 conflict then we ignore that possibility.\n * If a previous node has already formed a block with a node after the node\n * we're trying to form a block with, we also ignore that possibility - our\n * blocks would be split in that scenario.\n */\nfunction verticalAlignment(g, layering, conflicts, neighborFn) {\n var root = {},\n align = {},\n pos = {};\n\n // We cache the position here based on the layering because the graph and\n // layering may be out of sync. The layering matrix is manipulated to\n // generate different extreme alignments.\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, order) {\n root[v] = v;\n align[v] = v;\n pos[v] = order;\n });\n });\n\n _.forEach(layering, function(layer) {\n var prevIdx = -1;\n _.forEach(layer, function(v) {\n var ws = neighborFn(v);\n if (ws.length) {\n ws = _.sortBy(ws, function(w) { return pos[w]; });\n var mp = (ws.length - 1) / 2;\n for (var i = Math.floor(mp), il = Math.ceil(mp); i <= il; ++i) {\n var w = ws[i];\n if (align[v] === v &&\n prevIdx < pos[w] &&\n !hasConflict(conflicts, v, w)) {\n align[w] = v;\n align[v] = root[v] = root[w];\n prevIdx = pos[w];\n }\n }\n }\n });\n });\n\n return { root: root, align: align };\n}\n\nfunction horizontalCompaction(g, layering, root, align, reverseSep) {\n // This portion of the algorithm differs from BK due to a number of problems.\n // Instead of their algorithm we construct a new block graph and do two\n // sweeps. The first sweep places blocks with the smallest possible\n // coordinates. The second sweep removes unused space by moving blocks to the\n // greatest coordinates without violating separation.\n var xs = {},\n blockG = buildBlockGraph(g, layering, root, reverseSep),\n borderType = reverseSep ? \"borderLeft\" : \"borderRight\";\n\n function iterate(setXsFunc, nextNodesFunc) {\n var stack = blockG.nodes();\n var elem = stack.pop();\n var visited = {};\n while (elem) {\n if (visited[elem]) {\n setXsFunc(elem);\n } else {\n visited[elem] = true;\n stack.push(elem);\n stack = stack.concat(nextNodesFunc(elem));\n }\n\n elem = stack.pop();\n }\n }\n\n // First pass, assign smallest coordinates\n function pass1(elem) {\n xs[elem] = blockG.inEdges(elem).reduce(function(acc, e) {\n return Math.max(acc, xs[e.v] + blockG.edge(e));\n }, 0);\n }\n\n // Second pass, assign greatest coordinates\n function pass2(elem) {\n var min = blockG.outEdges(elem).reduce(function(acc, e) {\n return Math.min(acc, xs[e.w] - blockG.edge(e));\n }, Number.POSITIVE_INFINITY);\n\n var node = g.node(elem);\n if (min !== Number.POSITIVE_INFINITY && node.borderType !== borderType) {\n xs[elem] = Math.max(xs[elem], min);\n }\n }\n\n iterate(pass1, blockG.predecessors.bind(blockG));\n iterate(pass2, blockG.successors.bind(blockG));\n\n // Assign x coordinates to all nodes\n _.forEach(align, function(v) {\n xs[v] = xs[root[v]];\n });\n\n return xs;\n}\n\n\nfunction buildBlockGraph(g, layering, root, reverseSep) {\n var blockGraph = new Graph(),\n graphLabel = g.graph(),\n sepFn = sep(graphLabel.nodesep, graphLabel.edgesep, reverseSep);\n\n _.forEach(layering, function(layer) {\n var u;\n _.forEach(layer, function(v) {\n var vRoot = root[v];\n blockGraph.setNode(vRoot);\n if (u) {\n var uRoot = root[u],\n prevMax = blockGraph.edge(uRoot, vRoot);\n blockGraph.setEdge(uRoot, vRoot, Math.max(sepFn(g, v, u), prevMax || 0));\n }\n u = v;\n });\n });\n\n return blockGraph;\n}\n\n/*\n * Returns the alignment that has the smallest width of the given alignments.\n */\nfunction findSmallestWidthAlignment(g, xss) {\n return _.minBy(_.values(xss), function (xs) {\n var max = Number.NEGATIVE_INFINITY;\n var min = Number.POSITIVE_INFINITY;\n\n _.forIn(xs, function (x, v) {\n var halfWidth = width(g, v) / 2;\n\n max = Math.max(x + halfWidth, max);\n min = Math.min(x - halfWidth, min);\n });\n\n return max - min;\n });\n}\n\n/*\n * Align the coordinates of each of the layout alignments such that\n * left-biased alignments have their minimum coordinate at the same point as\n * the minimum coordinate of the smallest width alignment and right-biased\n * alignments have their maximum coordinate at the same point as the maximum\n * coordinate of the smallest width alignment.\n */\nfunction alignCoordinates(xss, alignTo) {\n var alignToVals = _.values(alignTo),\n alignToMin = _.min(alignToVals),\n alignToMax = _.max(alignToVals);\n\n _.forEach([\"u\", \"d\"], function(vert) {\n _.forEach([\"l\", \"r\"], function(horiz) {\n var alignment = vert + horiz,\n xs = xss[alignment],\n delta;\n if (xs === alignTo) return;\n\n var xsVals = _.values(xs);\n delta = horiz === \"l\" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);\n\n if (delta) {\n xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });\n }\n });\n });\n}\n\nfunction balance(xss, align) {\n return _.mapValues(xss.ul, function(ignore, v) {\n if (align) {\n return xss[align.toLowerCase()][v];\n } else {\n var xs = _.sortBy(_.map(xss, v));\n return (xs[1] + xs[2]) / 2;\n }\n });\n}\n\nfunction positionX(g) {\n var layering = util.buildLayerMatrix(g);\n var conflicts = _.merge(\n findType1Conflicts(g, layering),\n findType2Conflicts(g, layering));\n\n var xss = {};\n var adjustedLayering;\n _.forEach([\"u\", \"d\"], function(vert) {\n adjustedLayering = vert === \"u\" ? layering : _.values(layering).reverse();\n _.forEach([\"l\", \"r\"], function(horiz) {\n if (horiz === \"r\") {\n adjustedLayering = _.map(adjustedLayering, function(inner) {\n return _.values(inner).reverse();\n });\n }\n\n var neighborFn = (vert === \"u\" ? g.predecessors : g.successors).bind(g);\n var align = verticalAlignment(g, adjustedLayering, conflicts, neighborFn);\n var xs = horizontalCompaction(g, adjustedLayering,\n align.root, align.align, horiz === \"r\");\n if (horiz === \"r\") {\n xs = _.mapValues(xs, function(x) { return -x; });\n }\n xss[vert + horiz] = xs;\n });\n });\n\n var smallestWidth = findSmallestWidthAlignment(g, xss);\n alignCoordinates(xss, smallestWidth);\n return balance(xss, g.graph().align);\n}\n\nfunction sep(nodeSep, edgeSep, reverseSep) {\n return function(g, v, w) {\n var vLabel = g.node(v);\n var wLabel = g.node(w);\n var sum = 0;\n var delta;\n\n sum += vLabel.width / 2;\n if (_.has(vLabel, \"labelpos\")) {\n switch (vLabel.labelpos.toLowerCase()) {\n case \"l\": delta = -vLabel.width / 2; break;\n case \"r\": delta = vLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n sum += (vLabel.dummy ? edgeSep : nodeSep) / 2;\n sum += (wLabel.dummy ? edgeSep : nodeSep) / 2;\n\n sum += wLabel.width / 2;\n if (_.has(wLabel, \"labelpos\")) {\n switch (wLabel.labelpos.toLowerCase()) {\n case \"l\": delta = wLabel.width / 2; break;\n case \"r\": delta = -wLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n return sum;\n };\n}\n\nfunction width(g, v) {\n return g.node(v).width;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/position/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "name": "./node_modules/dagre/lib/position/index.js", + "index": 469, + "index2": 466, + "size": 666, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./position", + "loc": "14:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar util = require(\"../util\");\nvar positionX = require(\"./bk\").positionX;\n\nmodule.exports = position;\n\nfunction position(g) {\n g = util.asNonCompoundGraph(g);\n\n positionY(g);\n _.forEach(positionX(g), function(x, v) {\n g.node(v).x = x;\n });\n}\n\nfunction positionY(g) {\n var layering = util.buildLayerMatrix(g);\n var rankSep = g.graph().ranksep;\n var prevY = 0;\n _.forEach(layering, function(layer) {\n var maxHeight = _.max(_.map(layer, function(v) { return g.node(v).height; }));\n _.forEach(layer, function(v) {\n g.node(v).y = prevY + maxHeight / 2;\n });\n prevY += maxHeight + rankSep;\n });\n}\n\n" + }, + { + "id": "./node_modules/dagre/lib/rank/feasible-tree.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "name": "./node_modules/dagre/lib/rank/feasible-tree.js", + "index": 454, + "index2": 449, + "size": 2218, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./feasible-tree", + "loc": "5:19-45" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./feasible-tree", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar slack = require(\"./util\").slack;\n\nmodule.exports = feasibleTree;\n\n/*\n * Constructs a spanning tree with tight edges and adjusted the input node's\n * ranks to achieve this. A tight edge is one that is has a length that matches\n * its \"minlen\" attribute.\n *\n * The basic structure for this function is derived from Gansner, et al., \"A\n * Technique for Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a DAG.\n * 2. Graph must be connected.\n * 3. Graph must have at least one node.\n * 5. Graph nodes must have been previously assigned a \"rank\" property that\n * respects the \"minlen\" property of incident edges.\n * 6. Graph edges must have a \"minlen\" property.\n *\n * Post-conditions:\n *\n * - Graph nodes will have their rank adjusted to ensure that all edges are\n * tight.\n *\n * Returns a tree (undirected graph) that is constructed using only \"tight\"\n * edges.\n */\nfunction feasibleTree(g) {\n var t = new Graph({ directed: false });\n\n // Choose arbitrary node from which to start our tree\n var start = g.nodes()[0];\n var size = g.nodeCount();\n t.setNode(start, {});\n\n var edge, delta;\n while (tightTree(t, g) < size) {\n edge = findMinSlackEdge(t, g);\n delta = t.hasNode(edge.v) ? slack(g, edge) : -slack(g, edge);\n shiftRanks(t, g, delta);\n }\n\n return t;\n}\n\n/*\n * Finds a maximal tree of tight edges and returns the number of nodes in the\n * tree.\n */\nfunction tightTree(t, g) {\n function dfs(v) {\n _.forEach(g.nodeEdges(v), function(e) {\n var edgeV = e.v,\n w = (v === edgeV) ? e.w : edgeV;\n if (!t.hasNode(w) && !slack(g, e)) {\n t.setNode(w, {});\n t.setEdge(v, w, {});\n dfs(w);\n }\n });\n }\n\n _.forEach(t.nodes(), dfs);\n return t.nodeCount();\n}\n\n/*\n * Finds the edge with the smallest slack that is incident on tree and returns\n * it.\n */\nfunction findMinSlackEdge(t, g) {\n return _.minBy(g.edges(), function(e) {\n if (t.hasNode(e.v) !== t.hasNode(e.w)) {\n return slack(g, e);\n }\n });\n}\n\nfunction shiftRanks(t, g, delta) {\n _.forEach(t.nodes(), function(v) {\n g.node(v).rank += delta;\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "index": 452, + "index2": 451, + "size": 1302, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./rank", + "loc": "6:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar rankUtil = require(\"./util\");\nvar longestPath = rankUtil.longestPath;\nvar feasibleTree = require(\"./feasible-tree\");\nvar networkSimplex = require(\"./network-simplex\");\n\nmodule.exports = rank;\n\n/*\n * Assigns a rank to each node in the input graph that respects the \"minlen\"\n * constraint specified on edges between nodes.\n *\n * This basic structure is derived from Gansner, et al., \"A Technique for\n * Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a connected DAG\n * 2. Graph nodes must be objects\n * 3. Graph edges must have \"weight\" and \"minlen\" attributes\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have a \"rank\" attribute based on the results of the\n * algorithm. Ranks can start at any index (including negative), we'll\n * fix them up later.\n */\nfunction rank(g) {\n switch(g.graph().ranker) {\n case \"network-simplex\": networkSimplexRanker(g); break;\n case \"tight-tree\": tightTreeRanker(g); break;\n case \"longest-path\": longestPathRanker(g); break;\n default: networkSimplexRanker(g);\n }\n}\n\n// A fast and simple ranker, but results are far from optimal.\nvar longestPathRanker = longestPath;\n\nfunction tightTreeRanker(g) {\n longestPath(g);\n feasibleTree(g);\n}\n\nfunction networkSimplexRanker(g) {\n networkSimplex(g);\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/network-simplex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "name": "./node_modules/dagre/lib/rank/network-simplex.js", + "index": 455, + "index2": 450, + "size": 6706, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./network-simplex", + "loc": "6:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar feasibleTree = require(\"./feasible-tree\");\nvar slack = require(\"./util\").slack;\nvar initRank = require(\"./util\").longestPath;\nvar preorder = require(\"../graphlib\").alg.preorder;\nvar postorder = require(\"../graphlib\").alg.postorder;\nvar simplify = require(\"../util\").simplify;\n\nmodule.exports = networkSimplex;\n\n// Expose some internals for testing purposes\nnetworkSimplex.initLowLimValues = initLowLimValues;\nnetworkSimplex.initCutValues = initCutValues;\nnetworkSimplex.calcCutValue = calcCutValue;\nnetworkSimplex.leaveEdge = leaveEdge;\nnetworkSimplex.enterEdge = enterEdge;\nnetworkSimplex.exchangeEdges = exchangeEdges;\n\n/*\n * The network simplex algorithm assigns ranks to each node in the input graph\n * and iteratively improves the ranking to reduce the length of edges.\n *\n * Preconditions:\n *\n * 1. The input graph must be a DAG.\n * 2. All nodes in the graph must have an object value.\n * 3. All edges in the graph must have \"minlen\" and \"weight\" attributes.\n *\n * Postconditions:\n *\n * 1. All nodes in the graph will have an assigned \"rank\" attribute that has\n * been optimized by the network simplex algorithm. Ranks start at 0.\n *\n *\n * A rough sketch of the algorithm is as follows:\n *\n * 1. Assign initial ranks to each node. We use the longest path algorithm,\n * which assigns ranks to the lowest position possible. In general this\n * leads to very wide bottom ranks and unnecessarily long edges.\n * 2. Construct a feasible tight tree. A tight tree is one such that all\n * edges in the tree have no slack (difference between length of edge\n * and minlen for the edge). This by itself greatly improves the assigned\n * rankings by shorting edges.\n * 3. Iteratively find edges that have negative cut values. Generally a\n * negative cut value indicates that the edge could be removed and a new\n * tree edge could be added to produce a more compact graph.\n *\n * Much of the algorithms here are derived from Gansner, et al., \"A Technique\n * for Drawing Directed Graphs.\" The structure of the file roughly follows the\n * structure of the overall algorithm.\n */\nfunction networkSimplex(g) {\n g = simplify(g);\n initRank(g);\n var t = feasibleTree(g);\n initLowLimValues(t);\n initCutValues(t, g);\n\n var e, f;\n while ((e = leaveEdge(t))) {\n f = enterEdge(t, g, e);\n exchangeEdges(t, g, e, f);\n }\n}\n\n/*\n * Initializes cut values for all edges in the tree.\n */\nfunction initCutValues(t, g) {\n var vs = postorder(t, t.nodes());\n vs = vs.slice(0, vs.length - 1);\n _.forEach(vs, function(v) {\n assignCutValue(t, g, v);\n });\n}\n\nfunction assignCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n t.edge(child, parent).cutvalue = calcCutValue(t, g, child);\n}\n\n/*\n * Given the tight tree, its graph, and a child in the graph calculate and\n * return the cut value for the edge between the child and its parent.\n */\nfunction calcCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n // True if the child is on the tail end of the edge in the directed graph\n var childIsTail = true;\n // The graph's view of the tree edge we're inspecting\n var graphEdge = g.edge(child, parent);\n // The accumulated cut value for the edge between this node and its parent\n var cutValue = 0;\n\n if (!graphEdge) {\n childIsTail = false;\n graphEdge = g.edge(parent, child);\n }\n\n cutValue = graphEdge.weight;\n\n _.forEach(g.nodeEdges(child), function(e) {\n var isOutEdge = e.v === child,\n other = isOutEdge ? e.w : e.v;\n\n if (other !== parent) {\n var pointsToHead = isOutEdge === childIsTail,\n otherWeight = g.edge(e).weight;\n\n cutValue += pointsToHead ? otherWeight : -otherWeight;\n if (isTreeEdge(t, child, other)) {\n var otherCutValue = t.edge(child, other).cutvalue;\n cutValue += pointsToHead ? -otherCutValue : otherCutValue;\n }\n }\n });\n\n return cutValue;\n}\n\nfunction initLowLimValues(tree, root) {\n if (arguments.length < 2) {\n root = tree.nodes()[0];\n }\n dfsAssignLowLim(tree, {}, 1, root);\n}\n\nfunction dfsAssignLowLim(tree, visited, nextLim, v, parent) {\n var low = nextLim;\n var label = tree.node(v);\n\n visited[v] = true;\n _.forEach(tree.neighbors(v), function(w) {\n if (!_.has(visited, w)) {\n nextLim = dfsAssignLowLim(tree, visited, nextLim, w, v);\n }\n });\n\n label.low = low;\n label.lim = nextLim++;\n if (parent) {\n label.parent = parent;\n } else {\n // TODO should be able to remove this when we incrementally update low lim\n delete label.parent;\n }\n\n return nextLim;\n}\n\nfunction leaveEdge(tree) {\n return _.find(tree.edges(), function(e) {\n return tree.edge(e).cutvalue < 0;\n });\n}\n\nfunction enterEdge(t, g, edge) {\n var v = edge.v;\n var w = edge.w;\n\n // For the rest of this function we assume that v is the tail and w is the\n // head, so if we don't have this edge in the graph we should flip it to\n // match the correct orientation.\n if (!g.hasEdge(v, w)) {\n v = edge.w;\n w = edge.v;\n }\n\n var vLabel = t.node(v);\n var wLabel = t.node(w);\n var tailLabel = vLabel;\n var flip = false;\n\n // If the root is in the tail of the edge then we need to flip the logic that\n // checks for the head and tail nodes in the candidates function below.\n if (vLabel.lim > wLabel.lim) {\n tailLabel = wLabel;\n flip = true;\n }\n\n var candidates = _.filter(g.edges(), function(edge) {\n return flip === isDescendant(t, t.node(edge.v), tailLabel) &&\n flip !== isDescendant(t, t.node(edge.w), tailLabel);\n });\n\n return _.minBy(candidates, function(edge) { return slack(g, edge); });\n}\n\nfunction exchangeEdges(t, g, e, f) {\n var v = e.v;\n var w = e.w;\n t.removeEdge(v, w);\n t.setEdge(f.v, f.w, {});\n initLowLimValues(t);\n initCutValues(t, g);\n updateRanks(t, g);\n}\n\nfunction updateRanks(t, g) {\n var root = _.find(t.nodes(), function(v) { return !g.node(v).parent; });\n var vs = preorder(t, root);\n vs = vs.slice(1);\n _.forEach(vs, function(v) {\n var parent = t.node(v).parent,\n edge = g.edge(v, parent),\n flipped = false;\n\n if (!edge) {\n edge = g.edge(parent, v);\n flipped = true;\n }\n\n g.node(v).rank = g.node(parent).rank + (flipped ? edge.minlen : -edge.minlen);\n });\n}\n\n/*\n * Returns true if the edge is in the tree.\n */\nfunction isTreeEdge(tree, u, v) {\n return tree.hasEdge(u, v);\n}\n\n/*\n * Returns true if the specified node is descendant of the root node per the\n * assigned low and lim attributes in the tree.\n */\nfunction isDescendant(tree, vLabel, rootLabel) {\n return rootLabel.low <= vLabel.lim && vLabel.lim <= rootLabel.lim;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/util.js", + "name": "./node_modules/dagre/lib/rank/util.js", + "index": 453, + "index2": 448, + "size": 1769, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "5:12-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "3:15-32" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "5:12-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "6:15-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = {\n longestPath: longestPath,\n slack: slack\n};\n\n/*\n * Initializes ranks for the input graph using the longest path algorithm. This\n * algorithm scales well and is fast in practice, it yields rather poor\n * solutions. Nodes are pushed to the lowest layer possible, leaving the bottom\n * ranks wide and leaving edges longer than necessary. However, due to its\n * speed, this algorithm is good for getting an initial ranking that can be fed\n * into other algorithms.\n *\n * This algorithm does not normalize layers because it will be used by other\n * algorithms in most cases. If using this algorithm directly, be sure to\n * run normalize at the end.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG.\n * 2. Input graph node labels can be assigned properties.\n *\n * Post-conditions:\n *\n * 1. Each node will be assign an (unnormalized) \"rank\" property.\n */\nfunction longestPath(g) {\n var visited = {};\n\n function dfs(v) {\n var label = g.node(v);\n if (_.has(visited, v)) {\n return label.rank;\n }\n visited[v] = true;\n\n var rank = _.min(_.map(g.outEdges(v), function(e) {\n return dfs(e.w) - g.edge(e).minlen;\n }));\n\n if (rank === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3\n rank === undefined || // return value of _.map([]) for Lodash 4\n rank === null) { // return value of _.map([null])\n rank = 0;\n }\n\n return (label.rank = rank);\n }\n\n _.forEach(g.sources(), dfs);\n}\n\n/*\n * Returns the amount of slack for the given edge. The slack is defined as the\n * difference between the length of the edge and its minimum length.\n */\nfunction slack(g, e) {\n return g.node(e.w).rank - g.node(e.v).rank - g.edge(e).minlen;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "index": 451, + "index2": 446, + "size": 5785, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/util", + "loc": "29:10-31" + }, + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/util", + "loc": "30:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/add-border-segments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "module": "./node_modules/dagre/lib/add-border-segments.js", + "moduleName": "./node_modules/dagre/lib/add-border-segments.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "7:21-38" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "9:23-40" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "15:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/nesting-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "module": "./node_modules/dagre/lib/nesting-graph.js", + "moduleName": "./node_modules/dagre/lib/nesting-graph.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/normalize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "module": "./node_modules/dagre/lib/normalize.js", + "moduleName": "./node_modules/dagre/lib/normalize.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "4:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "10:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "module": "./node_modules/dagre/lib/order/sort.js", + "moduleName": "./node_modules/dagre/lib/order/sort.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "5:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "4:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "9:15-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "/* eslint \"no-console\": off */\n\n\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n addDummyNode: addDummyNode,\n simplify: simplify,\n asNonCompoundGraph: asNonCompoundGraph,\n successorWeights: successorWeights,\n predecessorWeights: predecessorWeights,\n intersectRect: intersectRect,\n buildLayerMatrix: buildLayerMatrix,\n normalizeRanks: normalizeRanks,\n removeEmptyRanks: removeEmptyRanks,\n addBorderNode: addBorderNode,\n maxRank: maxRank,\n partition: partition,\n time: time,\n notime: notime\n};\n\n/*\n * Adds a dummy node to the graph and return v.\n */\nfunction addDummyNode(g, type, attrs, name) {\n var v;\n do {\n v = _.uniqueId(name);\n } while (g.hasNode(v));\n\n attrs.dummy = type;\n g.setNode(v, attrs);\n return v;\n}\n\n/*\n * Returns a new graph with only simple edges. Handles aggregation of data\n * associated with multi-edges.\n */\nfunction simplify(g) {\n var simplified = new Graph().setGraph(g.graph());\n _.forEach(g.nodes(), function(v) { simplified.setNode(v, g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var simpleLabel = simplified.edge(e.v, e.w) || { weight: 0, minlen: 1 };\n var label = g.edge(e);\n simplified.setEdge(e.v, e.w, {\n weight: simpleLabel.weight + label.weight,\n minlen: Math.max(simpleLabel.minlen, label.minlen)\n });\n });\n return simplified;\n}\n\nfunction asNonCompoundGraph(g) {\n var simplified = new Graph({ multigraph: g.isMultigraph() }).setGraph(g.graph());\n _.forEach(g.nodes(), function(v) {\n if (!g.children(v).length) {\n simplified.setNode(v, g.node(v));\n }\n });\n _.forEach(g.edges(), function(e) {\n simplified.setEdge(e, g.edge(e));\n });\n return simplified;\n}\n\nfunction successorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var sucs = {};\n _.forEach(g.outEdges(v), function(e) {\n sucs[e.w] = (sucs[e.w] || 0) + g.edge(e).weight;\n });\n return sucs;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\nfunction predecessorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var preds = {};\n _.forEach(g.inEdges(v), function(e) {\n preds[e.v] = (preds[e.v] || 0) + g.edge(e).weight;\n });\n return preds;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\n/*\n * Finds where a line starting at point ({x, y}) would intersect a rectangle\n * ({x, y, width, height}) if it were pointing at the rectangle's center.\n */\nfunction intersectRect(rect, point) {\n var x = rect.x;\n var y = rect.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = rect.width / 2;\n var h = rect.height / 2;\n\n if (!dx && !dy) {\n throw new Error(\"Not possible to find intersection inside of the rectangle\");\n }\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = w * dy / dx;\n }\n\n return { x: x + sx, y: y + sy };\n}\n\n/*\n * Given a DAG with each node assigned \"rank\" and \"order\" properties, this\n * function will produce a matrix with the ids of each node.\n */\nfunction buildLayerMatrix(g) {\n var layering = _.map(_.range(maxRank(g) + 1), function() { return []; });\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n var rank = node.rank;\n if (!_.isUndefined(rank)) {\n layering[rank][node.order] = v;\n }\n });\n return layering;\n}\n\n/*\n * Adjusts the ranks for all nodes in the graph such that all nodes v have\n * rank(v) >= 0 and at least one node w has rank(w) = 0.\n */\nfunction normalizeRanks(g) {\n var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (_.has(node, \"rank\")) {\n node.rank -= min;\n }\n });\n}\n\nfunction removeEmptyRanks(g) {\n // Ranks may not start at 0, so we need to offset them\n var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n\n var layers = [];\n _.forEach(g.nodes(), function(v) {\n var rank = g.node(v).rank - offset;\n if (!layers[rank]) {\n layers[rank] = [];\n }\n layers[rank].push(v);\n });\n\n var delta = 0;\n var nodeRankFactor = g.graph().nodeRankFactor;\n _.forEach(layers, function(vs, i) {\n if (_.isUndefined(vs) && i % nodeRankFactor !== 0) {\n --delta;\n } else if (delta) {\n _.forEach(vs, function(v) { g.node(v).rank += delta; });\n }\n });\n}\n\nfunction addBorderNode(g, prefix, rank, order) {\n var node = {\n width: 0,\n height: 0\n };\n if (arguments.length >= 4) {\n node.rank = rank;\n node.order = order;\n }\n return addDummyNode(g, \"border\", node, prefix);\n}\n\nfunction maxRank(g) {\n return _.max(_.map(g.nodes(), function(v) {\n var rank = g.node(v).rank;\n if (!_.isUndefined(rank)) {\n return rank;\n }\n }));\n}\n\n/*\n * Partition a collection into two groups: `lhs` and `rhs`. If the supplied\n * function returns true for an entry it goes into `lhs`. Otherwise it goes\n * into `rhs.\n */\nfunction partition(collection, fn) {\n var result = { lhs: [], rhs: [] };\n _.forEach(collection, function(value) {\n if (fn(value)) {\n result.lhs.push(value);\n } else {\n result.rhs.push(value);\n }\n });\n return result;\n}\n\n/*\n * Returns a new function that wraps `fn` with a timer. The wrapper logs the\n * time it takes to execute the function.\n */\nfunction time(name, fn) {\n var start = _.now();\n try {\n return fn();\n } finally {\n console.log(name + \" time: \" + (_.now() - start) + \"ms\");\n }\n}\n\nfunction notime(name, fn) {\n return fn();\n}\n" + }, + { + "id": "./node_modules/dagre/lib/version.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/version.js", + "name": "./node_modules/dagre/lib/version.js", + "index": 472, + "index2": 469, + "size": 26, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/version", + "loc": "32:11-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "module.exports = \"0.8.5\";\n" + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "index": 184, + "index2": 394, + "size": 1723, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "issuerId": "./node_modules/dagre/lib/graphlib.js", + "issuerName": "./node_modules/dagre/lib/graphlib.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 878, + "building": 4 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/graphlib.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "module": "./node_modules/dagre/lib/graphlib.js", + "moduleName": "./node_modules/dagre/lib/graphlib.js", + "type": "cjs require", + "userRequest": "graphlib", + "loc": "7:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "/**\n * Copyright (c) 2014, Chris Pettitt\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar lib = require(\"./lib\");\n\nmodule.exports = {\n Graph: lib.Graph,\n json: require(\"./lib/json\"),\n alg: require(\"./lib/alg\"),\n version: lib.version\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/components.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/components.js", + "name": "./node_modules/graphlib/lib/alg/components.js", + "index": 386, + "index2": 380, + "size": 447, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./components", + "loc": "2:14-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = components;\n\nfunction components(g) {\n var visited = {};\n var cmpts = [];\n var cmpt;\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n cmpt.push(v);\n _.each(g.successors(v), dfs);\n _.each(g.predecessors(v), dfs);\n }\n\n _.each(g.nodes(), function(v) {\n cmpt = [];\n dfs(v);\n if (cmpt.length) {\n cmpts.push(cmpt);\n }\n });\n\n return cmpts;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dfs.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dfs.js", + "name": "./node_modules/graphlib/lib/alg/dfs.js", + "index": 396, + "index2": 389, + "size": 1078, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "issuerId": "./node_modules/graphlib/lib/alg/postorder.js", + "issuerName": "./node_modules/graphlib/lib/alg/postorder.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/postorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "name": "./node_modules/graphlib/lib/alg/postorder.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + } + } + ], + "profile": { + "factory": 9, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/postorder.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "module": "./node_modules/graphlib/lib/alg/postorder.js", + "moduleName": "./node_modules/graphlib/lib/alg/postorder.js", + "type": "cjs require", + "userRequest": "./dfs", + "loc": "1:10-26" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/preorder.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/preorder.js", + "module": "./node_modules/graphlib/lib/alg/preorder.js", + "moduleName": "./node_modules/graphlib/lib/alg/preorder.js", + "type": "cjs require", + "userRequest": "./dfs", + "loc": "1:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = dfs;\n\n/*\n * A helper that preforms a pre- or post-order traversal on the input graph\n * and returns the nodes in the order they were visited. If the graph is\n * undirected then this algorithm will navigate using neighbors. If the graph\n * is directed then this algorithm will navigate using successors.\n *\n * Order must be one of \"pre\" or \"post\".\n */\nfunction dfs(g, vs, order) {\n if (!_.isArray(vs)) {\n vs = [vs];\n }\n\n var navigation = (g.isDirected() ? g.successors : g.neighbors).bind(g);\n\n var acc = [];\n var visited = {};\n _.each(vs, function(v) {\n if (!g.hasNode(v)) {\n throw new Error(\"Graph does not have node: \" + v);\n }\n\n doDfs(g, v, order === \"post\", visited, navigation, acc);\n });\n return acc;\n}\n\nfunction doDfs(g, v, postorder, visited, navigation, acc) {\n if (!_.has(visited, v)) {\n visited[v] = true;\n\n if (!postorder) { acc.push(v); }\n _.each(navigation(v), function(w) {\n doDfs(g, w, postorder, visited, navigation, acc);\n });\n if (postorder) { acc.push(v); }\n }\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "index": 389, + "index2": 383, + "size": 262, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./dijkstra-all", + "loc": "4:15-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dijkstra = require(\"./dijkstra\");\nvar _ = require(\"../lodash\");\n\nmodule.exports = dijkstraAll;\n\nfunction dijkstraAll(g, weightFunc, edgeFunc) {\n return _.transform(g.nodes(), function(acc, v) {\n acc[v] = dijkstra(g, v, weightFunc, edgeFunc);\n }, {});\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra.js", + "index": 387, + "index2": 382, + "size": 1357, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "type": "cjs require", + "userRequest": "./dijkstra", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./dijkstra", + "loc": "3:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = dijkstra;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction dijkstra(g, source, weightFn, edgeFn) {\n return runDijkstra(g, String(source),\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runDijkstra(g, source, weightFn, edgeFn) {\n var results = {};\n var pq = new PriorityQueue();\n var v, vEntry;\n\n var updateNeighbors = function(edge) {\n var w = edge.v !== v ? edge.v : edge.w;\n var wEntry = results[w];\n var weight = weightFn(edge);\n var distance = vEntry.distance + weight;\n\n if (weight < 0) {\n throw new Error(\"dijkstra does not allow negative edge weights. \" +\n \"Bad edge: \" + edge + \" Weight: \" + weight);\n }\n\n if (distance < wEntry.distance) {\n wEntry.distance = distance;\n wEntry.predecessor = v;\n pq.decrease(w, distance);\n }\n };\n\n g.nodes().forEach(function(v) {\n var distance = v === source ? 0 : Number.POSITIVE_INFINITY;\n results[v] = { distance: distance };\n pq.add(v, distance);\n });\n\n while (pq.size() > 0) {\n v = pq.removeMin();\n vEntry = results[v];\n if (vEntry.distance === Number.POSITIVE_INFINITY) {\n break;\n }\n\n edgeFn(v).forEach(updateNeighbors);\n }\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/find-cycles.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "name": "./node_modules/graphlib/lib/alg/find-cycles.js", + "index": 390, + "index2": 385, + "size": 256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./find-cycles", + "loc": "5:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar tarjan = require(\"./tarjan\");\n\nmodule.exports = findCycles;\n\nfunction findCycles(g) {\n return _.filter(tarjan(g), function(cmpt) {\n return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));\n });\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/floyd-warshall.js", + "name": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "index": 392, + "index2": 386, + "size": 1235, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./floyd-warshall", + "loc": "6:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = floydWarshall;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction floydWarshall(g, weightFn, edgeFn) {\n return runFloydWarshall(g,\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runFloydWarshall(g, weightFn, edgeFn) {\n var results = {};\n var nodes = g.nodes();\n\n nodes.forEach(function(v) {\n results[v] = {};\n results[v][v] = { distance: 0 };\n nodes.forEach(function(w) {\n if (v !== w) {\n results[v][w] = { distance: Number.POSITIVE_INFINITY };\n }\n });\n edgeFn(v).forEach(function(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var d = weightFn(edge);\n results[v][w] = { distance: d, predecessor: v };\n });\n });\n\n nodes.forEach(function(k) {\n var rowK = results[k];\n nodes.forEach(function(i) {\n var rowI = results[i];\n nodes.forEach(function(j) {\n var ik = rowI[k];\n var kj = rowK[j];\n var ij = rowI[j];\n var altDistance = ik.distance + kj.distance;\n if (altDistance < ij.distance) {\n ij.distance = altDistance;\n ij.predecessor = kj.predecessor;\n }\n });\n });\n });\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "index": 385, + "index2": 393, + "size": 424, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib/alg", + "loc": "36:7-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "module.exports = {\n components: require(\"./components\"),\n dijkstra: require(\"./dijkstra\"),\n dijkstraAll: require(\"./dijkstra-all\"),\n findCycles: require(\"./find-cycles\"),\n floydWarshall: require(\"./floyd-warshall\"),\n isAcyclic: require(\"./is-acyclic\"),\n postorder: require(\"./postorder\"),\n preorder: require(\"./preorder\"),\n prim: require(\"./prim\"),\n tarjan: require(\"./tarjan\"),\n topsort: require(\"./topsort\")\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/is-acyclic.js", + "name": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "index": 393, + "index2": 388, + "size": 237, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./is-acyclic", + "loc": "7:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var topsort = require(\"./topsort\");\n\nmodule.exports = isAcyclic;\n\nfunction isAcyclic(g) {\n try {\n topsort(g);\n } catch (e) {\n if (e instanceof topsort.CycleException) {\n return false;\n }\n throw e;\n }\n return true;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/postorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "name": "./node_modules/graphlib/lib/alg/postorder.js", + "index": 395, + "index2": 390, + "size": 117, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./postorder", + "loc": "8:13-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = postorder;\n\nfunction postorder(g, vs) {\n return dfs(g, vs, \"post\");\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/preorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/preorder.js", + "name": "./node_modules/graphlib/lib/alg/preorder.js", + "index": 397, + "index2": 391, + "size": 114, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./preorder", + "loc": "9:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = preorder;\n\nfunction preorder(g, vs) {\n return dfs(g, vs, \"pre\");\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/prim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "name": "./node_modules/graphlib/lib/alg/prim.js", + "index": 398, + "index2": 392, + "size": 1105, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./prim", + "loc": "10:8-25" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graph\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = prim;\n\nfunction prim(g, weightFunc) {\n var result = new Graph();\n var parents = {};\n var pq = new PriorityQueue();\n var v;\n\n function updateNeighbors(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var pri = pq.priority(w);\n if (pri !== undefined) {\n var edgeWeight = weightFunc(edge);\n if (edgeWeight < pri) {\n parents[w] = v;\n pq.decrease(w, edgeWeight);\n }\n }\n }\n\n if (g.nodeCount() === 0) {\n return result;\n }\n\n _.each(g.nodes(), function(v) {\n pq.add(v, Number.POSITIVE_INFINITY);\n result.setNode(v);\n });\n\n // Start from an arbitrary node\n pq.decrease(g.nodes()[0], 0);\n\n var init = false;\n while (pq.size() > 0) {\n v = pq.removeMin();\n if (_.has(parents, v)) {\n result.setEdge(v, parents[v]);\n } else if (init) {\n throw new Error(\"Input graph is not connected: \" + g);\n } else {\n init = true;\n }\n\n g.nodeEdges(v).forEach(updateNeighbors);\n }\n\n return result;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/tarjan.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/tarjan.js", + "name": "./node_modules/graphlib/lib/alg/tarjan.js", + "index": 391, + "index2": 384, + "size": 962, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "module": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", + "type": "cjs require", + "userRequest": "./tarjan", + "loc": "2:13-32" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./tarjan", + "loc": "11:10-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = tarjan;\n\nfunction tarjan(g) {\n var index = 0;\n var stack = [];\n var visited = {}; // node id -> { onStack, lowlink, index }\n var results = [];\n\n function dfs(v) {\n var entry = visited[v] = {\n onStack: true,\n lowlink: index,\n index: index++\n };\n stack.push(v);\n\n g.successors(v).forEach(function(w) {\n if (!_.has(visited, w)) {\n dfs(w);\n entry.lowlink = Math.min(entry.lowlink, visited[w].lowlink);\n } else if (visited[w].onStack) {\n entry.lowlink = Math.min(entry.lowlink, visited[w].index);\n }\n });\n\n if (entry.lowlink === entry.index) {\n var cmpt = [];\n var w;\n do {\n w = stack.pop();\n visited[w].onStack = false;\n cmpt.push(w);\n } while (v !== w);\n results.push(cmpt);\n }\n }\n\n g.nodes().forEach(function(v) {\n if (!_.has(visited, v)) {\n dfs(v);\n }\n });\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/topsort.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/topsort.js", + "name": "./node_modules/graphlib/lib/alg/topsort.js", + "index": 394, + "index2": 387, + "size": 715, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./topsort", + "loc": "12:11-31" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/is-acyclic.js", + "module": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "moduleName": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "type": "cjs require", + "userRequest": "./topsort", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = topsort;\ntopsort.CycleException = CycleException;\n\nfunction topsort(g) {\n var visited = {};\n var stack = {};\n var results = [];\n\n function visit(node) {\n if (_.has(stack, node)) {\n throw new CycleException();\n }\n\n if (!_.has(visited, node)) {\n stack[node] = true;\n visited[node] = true;\n _.each(g.predecessors(node), visit);\n delete stack[node];\n results.push(node);\n }\n }\n\n _.each(g.sinks(), visit);\n\n if (_.size(visited) !== g.nodeCount()) {\n throw new CycleException();\n }\n\n return results;\n}\n\nfunction CycleException() {}\nCycleException.prototype = new Error(); // must be an instance of Error to pass testing" + }, + { + "id": "./node_modules/graphlib/lib/data/priority-queue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/data/priority-queue.js", + "name": "./node_modules/graphlib/lib/data/priority-queue.js", + "index": 388, + "index2": 381, + "size": 4150, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "issuerId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "issuerName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + } + } + ], + "profile": { + "factory": 10, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "type": "cjs require", + "userRequest": "../data/priority-queue", + "loc": "2:20-53" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../data/priority-queue", + "loc": "3:20-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n this._arr = [];\n this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n var index = this._keyIndices[key];\n if (index !== undefined) {\n return this._arr[index].priority;\n }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n if (this.size() === 0) {\n throw new Error(\"Queue underflow\");\n }\n return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n var keyIndices = this._keyIndices;\n key = String(key);\n if (!_.has(keyIndices, key)) {\n var arr = this._arr;\n var index = arr.length;\n keyIndices[key] = index;\n arr.push({key: key, priority: priority});\n this._decrease(index);\n return true;\n }\n return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n this._swap(0, this._arr.length - 1);\n var min = this._arr.pop();\n delete this._keyIndices[min.key];\n this._heapify(0);\n return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n var index = this._keyIndices[key];\n if (priority > this._arr[index].priority) {\n throw new Error(\"New priority is greater than current priority. \" +\n \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n }\n this._arr[index].priority = priority;\n this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n var arr = this._arr;\n var l = 2 * i;\n var r = l + 1;\n var largest = i;\n if (l < arr.length) {\n largest = arr[l].priority < arr[largest].priority ? l : largest;\n if (r < arr.length) {\n largest = arr[r].priority < arr[largest].priority ? r : largest;\n }\n if (largest !== i) {\n this._swap(i, largest);\n this._heapify(largest);\n }\n }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n var arr = this._arr;\n var priority = arr[index].priority;\n var parent;\n while (index !== 0) {\n parent = index >> 1;\n if (arr[parent].priority < priority) {\n break;\n }\n this._swap(index, parent);\n index = parent;\n }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n var arr = this._arr;\n var keyIndices = this._keyIndices;\n var origArrI = arr[i];\n var origArrJ = arr[j];\n arr[i] = origArrJ;\n arr[j] = origArrI;\n keyIndices[origArrJ.key] = i;\n keyIndices[origArrI.key] = j;\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/graph.js", + "name": "./node_modules/graphlib/lib/graph.js", + "index": 186, + "index2": 376, + "size": 12028, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "issuerId": "./node_modules/graphlib/lib/json.js", + "issuerName": "./node_modules/graphlib/lib/json.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../graph", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/graphlib/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "module": "./node_modules/graphlib/lib/index.js", + "moduleName": "./node_modules/graphlib/lib/index.js", + "type": "cjs require", + "userRequest": "./graph", + "loc": "3:9-27" + }, + { + "moduleId": "./node_modules/graphlib/lib/json.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "module": "./node_modules/graphlib/lib/json.js", + "moduleName": "./node_modules/graphlib/lib/json.js", + "type": "cjs require", + "userRequest": "./graph", + "loc": "2:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n this._label = label;\n return this;\n};\n\nGraph.prototype.graph = function() {\n return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.nodeCount = function() {\n return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._in[v]);\n });\n};\n\nGraph.prototype.sinks = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._out[v]);\n });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function(v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n if (_.has(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n};\n\nGraph.prototype.node = function(v) {\n return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode = function(v) {\n var self = this;\n if (_.has(this._nodes, v)) {\n var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), function(child) {\n self.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n if (!this._isCompound) {\n throw new Error(\"Cannot set parent in a non-compound graph\");\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += \"\";\n for (var ancestor = parent;\n !_.isUndefined(ancestor);\n ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n \" would create a cycle\");\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n};\n\nGraph.prototype.children = function(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n};\n\nGraph.prototype.predecessors = function(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n};\n\nGraph.prototype.successors = function(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n};\n\nGraph.prototype.neighbors = function(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n};\n\nGraph.prototype.isLeaf = function (v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function(value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function(e) {\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function(v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.edgeCount = function() {\n return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function(v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = \"\" + v;\n w = \"\" + w;\n if (!_.isUndefined(name)) {\n name = \"\" + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (_.has(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.v === u; });\n }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.w === w; });\n }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n};\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "name": "./node_modules/graphlib/lib/index.js", + "index": 185, + "index2": 378, + "size": 123, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib", + "loc": "31:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "// Includes only the \"core\" of graphlib\nmodule.exports = {\n Graph: require(\"./graph\"),\n version: require(\"./version\")\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "index": 384, + "index2": 379, + "size": 1399, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib/json", + "loc": "35:8-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graph\");\n\nmodule.exports = {\n write: write,\n read: read\n};\n\nfunction write(g) {\n var json = {\n options: {\n directed: g.isDirected(),\n multigraph: g.isMultigraph(),\n compound: g.isCompound()\n },\n nodes: writeNodes(g),\n edges: writeEdges(g)\n };\n if (!_.isUndefined(g.graph())) {\n json.value = _.clone(g.graph());\n }\n return json;\n}\n\nfunction writeNodes(g) {\n return _.map(g.nodes(), function(v) {\n var nodeValue = g.node(v);\n var parent = g.parent(v);\n var node = { v: v };\n if (!_.isUndefined(nodeValue)) {\n node.value = nodeValue;\n }\n if (!_.isUndefined(parent)) {\n node.parent = parent;\n }\n return node;\n });\n}\n\nfunction writeEdges(g) {\n return _.map(g.edges(), function(e) {\n var edgeValue = g.edge(e);\n var edge = { v: e.v, w: e.w };\n if (!_.isUndefined(e.name)) {\n edge.name = e.name;\n }\n if (!_.isUndefined(edgeValue)) {\n edge.value = edgeValue;\n }\n return edge;\n });\n}\n\nfunction read(json) {\n var g = new Graph(json.options).setGraph(json.value);\n _.each(json.nodes, function(entry) {\n g.setNode(entry.v, entry.value);\n if (entry.parent) {\n g.setParent(entry.v, entry.parent);\n }\n });\n _.each(json.edges, function(entry) {\n g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n });\n return g;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "index": 187, + "index2": 375, + "size": 868, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "issuerId": "./node_modules/graphlib/lib/json.js", + "issuerName": "./node_modules/graphlib/lib/json.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/components.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/components.js", + "module": "./node_modules/graphlib/lib/alg/components.js", + "moduleName": "./node_modules/graphlib/lib/alg/components.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dfs.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dfs.js", + "module": "./node_modules/graphlib/lib/alg/dfs.js", + "moduleName": "./node_modules/graphlib/lib/alg/dfs.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "2:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "module": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/floyd-warshall.js", + "module": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "moduleName": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/tarjan.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/tarjan.js", + "module": "./node_modules/graphlib/lib/alg/tarjan.js", + "moduleName": "./node_modules/graphlib/lib/alg/tarjan.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/topsort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/topsort.js", + "module": "./node_modules/graphlib/lib/alg/topsort.js", + "moduleName": "./node_modules/graphlib/lib/alg/topsort.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/data/priority-queue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/data/priority-queue.js", + "module": "./node_modules/graphlib/lib/data/priority-queue.js", + "moduleName": "./node_modules/graphlib/lib/data/priority-queue.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/graph.js", + "module": "./node_modules/graphlib/lib/graph.js", + "moduleName": "./node_modules/graphlib/lib/graph.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/graphlib/lib/json.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "module": "./node_modules/graphlib/lib/json.js", + "moduleName": "./node_modules/graphlib/lib/json.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n clone: require(\"lodash/clone\"),\n constant: require(\"lodash/constant\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n has: require(\"lodash/has\"),\n isArray: require(\"lodash/isArray\"),\n isEmpty: require(\"lodash/isEmpty\"),\n isFunction: require(\"lodash/isFunction\"),\n isUndefined: require(\"lodash/isUndefined\"),\n keys: require(\"lodash/keys\"),\n map: require(\"lodash/map\"),\n reduce: require(\"lodash/reduce\"),\n size: require(\"lodash/size\"),\n transform: require(\"lodash/transform\"),\n union: require(\"lodash/union\"),\n values: require(\"lodash/values\")\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" + }, + { + "id": "./node_modules/graphlib/lib/version.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/version.js", + "name": "./node_modules/graphlib/lib/version.js", + "index": 383, + "index2": 377, + "size": 26, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "issuerId": "./node_modules/graphlib/lib/index.js", + "issuerName": "./node_modules/graphlib/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "name": "./node_modules/graphlib/lib/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "module": "./node_modules/graphlib/lib/index.js", + "moduleName": "./node_modules/graphlib/lib/index.js", + "type": "cjs require", + "userRequest": "./version", + "loc": "4:11-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "module.exports = '2.1.8';\n" + }, + { + "id": "./node_modules/isarray/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/isarray/index.js", + "name": "./node_modules/isarray/index.js", + "index": 141, + "index2": 138, + "size": 120, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "isarray", + "loc": "2:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n" + }, + { + "id": "./node_modules/lodash/_DataView.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "name": "./node_modules/lodash/_DataView.js", + "index": 279, + "index2": 268, + "size": 210, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_DataView", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n" + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "index": 221, + "index2": 213, + "size": 747, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "issuerId": "./node_modules/lodash/_mapCacheClear.js", + "issuerName": "./node_modules/lodash/_mapCacheClear.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_Hash", + "loc": "1:11-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n" + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "index": 191, + "index2": 187, + "size": 869, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/_stackClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackClear.js", + "module": "./node_modules/lodash/_stackClear.js", + "moduleName": "./node_modules/lodash/_stackClear.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n" + }, + { + "id": "./node_modules/lodash/_Map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "name": "./node_modules/lodash/_Map.js", + "index": 204, + "index2": 206, + "size": 195, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "2:10-27" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "3:10-27" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "2:10-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n" + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "index": 219, + "index2": 221, + "size": 869, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "issuerId": "./node_modules/lodash/_stackSet.js", + "issuerName": "./node_modules/lodash/_stackSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/memoize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/memoize.js", + "module": "./node_modules/lodash/memoize.js", + "moduleName": "./node_modules/lodash/memoize.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n" + }, + { + "id": "./node_modules/lodash/_Promise.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "name": "./node_modules/lodash/_Promise.js", + "index": 280, + "index2": 269, + "size": 207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Promise", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n" + }, + { + "id": "./node_modules/lodash/_Set.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "name": "./node_modules/lodash/_Set.js", + "index": 281, + "index2": 270, + "size": 195, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./_Set", + "loc": "1:10-27" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Set", + "loc": "4:10-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n" + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "index": 315, + "index2": 302, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_SetCache", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_SetCache", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n" + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "index": 190, + "index2": 223, + "size": 734, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMatch.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "module": "./node_modules/lodash/_baseIsMatch.js", + "moduleName": "./node_modules/lodash/_baseIsMatch.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n" + }, + { + "id": "./node_modules/lodash/_Symbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Symbol.js", + "name": "./node_modules/lodash/_Symbol.js", + "index": 209, + "index2": 194, + "size": 118, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "issuerId": "./node_modules/lodash/_isFlattenable.js", + "issuerName": "./node_modules/lodash/_isFlattenable.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + }, + { + "id": "./node_modules/lodash/_isFlattenable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "name": "./node_modules/lodash/_isFlattenable.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_cloneSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneSymbol.js", + "module": "./node_modules/lodash/_cloneSymbol.js", + "moduleName": "./node_modules/lodash/_cloneSymbol.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_getRawTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getRawTag.js", + "module": "./node_modules/lodash/_getRawTag.js", + "moduleName": "./node_modules/lodash/_getRawTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n" + }, + { + "id": "./node_modules/lodash/_Uint8Array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Uint8Array.js", + "name": "./node_modules/lodash/_Uint8Array.js", + "index": 286, + "index2": 274, + "size": 130, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "issuerId": "./node_modules/lodash/_cloneArrayBuffer.js", + "issuerName": "./node_modules/lodash/_cloneArrayBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_cloneArrayBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "name": "./node_modules/lodash/_cloneArrayBuffer.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneArrayBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "module": "./node_modules/lodash/_cloneArrayBuffer.js", + "moduleName": "./node_modules/lodash/_cloneArrayBuffer.js", + "type": "cjs require", + "userRequest": "./_Uint8Array", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_Uint8Array", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n" + }, + { + "id": "./node_modules/lodash/_WeakMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "name": "./node_modules/lodash/_WeakMap.js", + "index": 282, + "index2": 271, + "size": 207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_WeakMap", + "loc": "5:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n" + }, + { + "id": "./node_modules/lodash/_apply.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_apply.js", + "name": "./node_modules/lodash/_apply.js", + "index": 367, + "index2": 356, + "size": 714, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "issuerId": "./node_modules/lodash/_overRest.js", + "issuerName": "./node_modules/lodash/_overRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_overRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "name": "./node_modules/lodash/_overRest.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 12, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_overRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "module": "./node_modules/lodash/_overRest.js", + "moduleName": "./node_modules/lodash/_overRest.js", + "type": "cjs require", + "userRequest": "./_apply", + "loc": "1:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n" + }, + { + "id": "./node_modules/lodash/_arrayEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayEach.js", + "name": "./node_modules/lodash/_arrayEach.js", + "index": 234, + "index2": 224, + "size": 537, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "issuerId": "./node_modules/lodash/forEach.js", + "issuerName": "./node_modules/lodash/forEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n" + }, + { + "id": "./node_modules/lodash/_arrayFilter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayFilter.js", + "name": "./node_modules/lodash/_arrayFilter.js", + "index": 269, + "index2": 257, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "module": "./node_modules/lodash/_getSymbols.js", + "moduleName": "./node_modules/lodash/_getSymbols.js", + "type": "cjs require", + "userRequest": "./_arrayFilter", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_arrayFilter", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n" + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "index": 372, + "index2": 366, + "size": 526, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_arrayIncludes", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n" + }, + { + "id": "./node_modules/lodash/_arrayIncludesWith.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludesWith.js", + "name": "./node_modules/lodash/_arrayIncludesWith.js", + "index": 377, + "index2": 367, + "size": 615, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_arrayIncludesWith", + "loc": "3:24-55" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n" + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "index": 241, + "index2": 243, + "size": 1778, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./_arrayLikeKeys", + "loc": "1:20-47" + }, + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./_arrayLikeKeys", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n" + }, + { + "id": "./node_modules/lodash/_arrayMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayMap.js", + "name": "./node_modules/lodash/_arrayMap.js", + "index": 338, + "index2": 322, + "size": 556, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "issuerId": "./node_modules/lodash/map.js", + "issuerName": "./node_modules/lodash/map.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseValues.js", + "module": "./node_modules/lodash/_baseValues.js", + "moduleName": "./node_modules/lodash/_baseValues.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n" + }, + { + "id": "./node_modules/lodash/_arrayPush.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayPush.js", + "name": "./node_modules/lodash/_arrayPush.js", + "index": 273, + "index2": 261, + "size": 437, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "issuerId": "./node_modules/lodash/_baseFlatten.js", + "issuerName": "./node_modules/lodash/_baseFlatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFlatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "module": "./node_modules/lodash/_baseFlatten.js", + "moduleName": "./node_modules/lodash/_baseFlatten.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "module": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n" + }, + { + "id": "./node_modules/lodash/_arrayReduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayReduce.js", + "name": "./node_modules/lodash/_arrayReduce.js", + "index": 353, + "index2": 344, + "size": 787, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "issuerId": "./node_modules/lodash/reduce.js", + "issuerName": "./node_modules/lodash/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 155, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_arrayReduce", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n" + }, + { + "id": "./node_modules/lodash/_arraySome.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arraySome.js", + "name": "./node_modules/lodash/_arraySome.js", + "index": 318, + "index2": 303, + "size": 594, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "issuerId": "./node_modules/lodash/_equalArrays.js", + "issuerName": "./node_modules/lodash/_equalArrays.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_equalArrays.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "name": "./node_modules/lodash/_equalArrays.js", + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 0, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_arraySome", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n" + }, + { + "id": "./node_modules/lodash/_asciiSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_asciiSize.js", + "name": "./node_modules/lodash/_asciiSize.js", + "index": 358, + "index2": 348, + "size": 271, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_asciiSize", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n" + }, + { + "id": "./node_modules/lodash/_assignMergeValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "name": "./node_modules/lodash/_assignMergeValue.js", + "index": 421, + "index2": 414, + "size": 582, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_assignMergeValue", + "loc": "2:23-53" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_assignMergeValue", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n" + }, + { + "id": "./node_modules/lodash/_assignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "name": "./node_modules/lodash/_assignValue.js", + "index": 235, + "index2": 227, + "size": 899, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "issuerId": "./node_modules/lodash/zipObject.js", + "issuerName": "./node_modules/lodash/zipObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/_copyObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "module": "./node_modules/lodash/_copyObject.js", + "moduleName": "./node_modules/lodash/_copyObject.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/zipObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "module": "./node_modules/lodash/zipObject.js", + "moduleName": "./node_modules/lodash/zipObject.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n" + }, + { + "id": "./node_modules/lodash/_assocIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assocIndexOf.js", + "name": "./node_modules/lodash/_assocIndexOf.js", + "index": 194, + "index2": 182, + "size": 487, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "issuerId": "./node_modules/lodash/_listCacheGet.js", + "issuerName": "./node_modules/lodash/_listCacheGet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_listCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "name": "./node_modules/lodash/_listCacheGet.js", + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 3, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_listCacheDelete.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheDelete.js", + "module": "./node_modules/lodash/_listCacheDelete.js", + "moduleName": "./node_modules/lodash/_listCacheDelete.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "module": "./node_modules/lodash/_listCacheGet.js", + "moduleName": "./node_modules/lodash/_listCacheGet.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheHas.js", + "module": "./node_modules/lodash/_listCacheHas.js", + "moduleName": "./node_modules/lodash/_listCacheHas.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheSet.js", + "module": "./node_modules/lodash/_listCacheSet.js", + "moduleName": "./node_modules/lodash/_listCacheSet.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_baseAssign.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "name": "./node_modules/lodash/_baseAssign.js", + "index": 238, + "index2": 250, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_baseAssign", + "loc": "4:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n" + }, + { + "id": "./node_modules/lodash/_baseAssignIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "name": "./node_modules/lodash/_baseAssignIn.js", + "index": 261, + "index2": 254, + "size": 482, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_baseAssignIn", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n" + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "index": 236, + "index2": 226, + "size": 625, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "issuerId": "./node_modules/lodash/mapValues.js", + "issuerName": "./node_modules/lodash/mapValues.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_assignMergeValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "module": "./node_modules/lodash/_assignMergeValue.js", + "moduleName": "./node_modules/lodash/_assignMergeValue.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + }, + { + "moduleId": "./node_modules/lodash/_assignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "module": "./node_modules/lodash/_assignValue.js", + "moduleName": "./node_modules/lodash/_assignValue.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + }, + { + "moduleId": "./node_modules/lodash/_copyObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "module": "./node_modules/lodash/_copyObject.js", + "moduleName": "./node_modules/lodash/_copyObject.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "2:22-51" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n" + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "index": 189, + "index2": 287, + "size": 5609, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "issuerId": "./node_modules/lodash/cloneDeep.js", + "issuerName": "./node_modules/lodash/cloneDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/clone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/clone.js", + "module": "./node_modules/lodash/clone.js", + "moduleName": "./node_modules/lodash/clone.js", + "type": "cjs require", + "userRequest": "./_baseClone", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/cloneDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "module": "./node_modules/lodash/cloneDeep.js", + "moduleName": "./node_modules/lodash/cloneDeep.js", + "type": "cjs require", + "userRequest": "./_baseClone", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n" + }, + { + "id": "./node_modules/lodash/_baseCreate.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseCreate.js", + "name": "./node_modules/lodash/_baseCreate.js", + "index": 292, + "index2": 281, + "size": 686, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "issuerId": "./node_modules/lodash/_initCloneObject.js", + "issuerName": "./node_modules/lodash/_initCloneObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_baseCreate", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseCreate", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n" + }, + { + "id": "./node_modules/lodash/_baseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "name": "./node_modules/lodash/_baseEach.js", + "index": 300, + "index2": 294, + "size": 455, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "issuerId": "./node_modules/lodash/forEach.js", + "issuerName": "./node_modules/lodash/forEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFilter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFilter.js", + "module": "./node_modules/lodash/_baseFilter.js", + "moduleName": "./node_modules/lodash/_baseFilter.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "module": "./node_modules/lodash/_baseMap.js", + "moduleName": "./node_modules/lodash/_baseMap.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n" + }, + { + "id": "./node_modules/lodash/_baseExtremum.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "name": "./node_modules/lodash/_baseExtremum.js", + "index": 417, + "index2": 411, + "size": 897, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n" + }, + { + "id": "./node_modules/lodash/_baseFilter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFilter.js", + "name": "./node_modules/lodash/_baseFilter.js", + "index": 308, + "index2": 299, + "size": 590, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_baseFilter", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n" + }, + { + "id": "./node_modules/lodash/_baseFindIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFindIndex.js", + "name": "./node_modules/lodash/_baseFindIndex.js", + "index": 374, + "index2": 362, + "size": 766, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "issuerId": "./node_modules/lodash/findIndex.js", + "issuerName": "./node_modules/lodash/findIndex.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 266, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_baseFindIndex", + "loc": "1:20-47" + }, + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./_baseFindIndex", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n" + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "index": 363, + "index2": 355, + "size": 1201, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "issuerId": "./node_modules/lodash/flatten.js", + "issuerName": "./node_modules/lodash/flatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/flatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "module": "./node_modules/lodash/flatten.js", + "moduleName": "./node_modules/lodash/flatten.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n" + }, + { + "id": "./node_modules/lodash/_baseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "name": "./node_modules/lodash/_baseFor.js", + "index": 302, + "index2": 291, + "size": 593, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "issuerId": "./node_modules/lodash/forIn.js", + "issuerName": "./node_modules/lodash/forIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseForOwn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "module": "./node_modules/lodash/_baseForOwn.js", + "moduleName": "./node_modules/lodash/_baseForOwn.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "3:14-35" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n" + }, + { + "id": "./node_modules/lodash/_baseForOwn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "name": "./node_modules/lodash/_baseForOwn.js", + "index": 301, + "index2": 292, + "size": 456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "issuerId": "./node_modules/lodash/mapValues.js", + "issuerName": "./node_modules/lodash/mapValues.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "module": "./node_modules/lodash/_baseEach.js", + "moduleName": "./node_modules/lodash/_baseEach.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n" + }, + { + "id": "./node_modules/lodash/_baseGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "name": "./node_modules/lodash/_baseGet.js", + "index": 329, + "index2": 327, + "size": 616, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "2:14-35" + }, + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_basePropertyDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePropertyDeep.js", + "module": "./node_modules/lodash/_basePropertyDeep.js", + "moduleName": "./node_modules/lodash/_basePropertyDeep.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/get.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/get.js", + "module": "./node_modules/lodash/get.js", + "moduleName": "./node_modules/lodash/get.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n" + }, + { + "id": "./node_modules/lodash/_baseGetAllKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "name": "./node_modules/lodash/_baseGetAllKeys.js", + "index": 276, + "index2": 265, + "size": 739, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "issuerId": "./node_modules/lodash/_getAllKeysIn.js", + "issuerName": "./node_modules/lodash/_getAllKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./_baseGetAllKeys", + "loc": "1:21-49" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./_baseGetAllKeys", + "loc": "1:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n" + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "index": 208, + "index2": 197, + "size": 792, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "module": "./node_modules/lodash/_baseIsArguments.js", + "moduleName": "./node_modules/lodash/_baseIsArguments.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "6:17-41" + }, + { + "moduleId": "./node_modules/lodash/isFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "module": "./node_modules/lodash/isFunction.js", + "moduleName": "./node_modules/lodash/isFunction.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "module": "./node_modules/lodash/isSymbol.js", + "moduleName": "./node_modules/lodash/isSymbol.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n" + }, + { + "id": "./node_modules/lodash/_baseGt.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGt.js", + "name": "./node_modules/lodash/_baseGt.js", + "index": 418, + "index2": 412, + "size": 357, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./_baseGt", + "loc": "2:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;\n" + }, + { + "id": "./node_modules/lodash/_baseHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseHas.js", + "name": "./node_modules/lodash/_baseHas.js", + "index": 347, + "index2": 338, + "size": 559, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "issuerId": "./node_modules/lodash/has.js", + "issuerName": "./node_modules/lodash/has.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/has.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "module": "./node_modules/lodash/has.js", + "moduleName": "./node_modules/lodash/has.js", + "type": "cjs require", + "userRequest": "./_baseHas", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n" + }, + { + "id": "./node_modules/lodash/_baseHasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseHasIn.js", + "name": "./node_modules/lodash/_baseHasIn.js", + "index": 341, + "index2": 329, + "size": 374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "issuerId": "./node_modules/lodash/hasIn.js", + "issuerName": "./node_modules/lodash/hasIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/hasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "name": "./node_modules/lodash/hasIn.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 5, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/hasIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "module": "./node_modules/lodash/hasIn.js", + "moduleName": "./node_modules/lodash/hasIn.js", + "type": "cjs require", + "userRequest": "./_baseHasIn", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n" + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "index": 373, + "index2": 365, + "size": 659, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "issuerId": "./node_modules/lodash/_arrayIncludes.js", + "issuerName": "./node_modules/lodash/_arrayIncludes.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayIncludes.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "module": "./node_modules/lodash/_arrayIncludes.js", + "moduleName": "./node_modules/lodash/_arrayIncludes.js", + "type": "cjs require", + "userRequest": "./_baseIndexOf", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_baseIsArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "name": "./node_modules/lodash/_baseIsArguments.js", + "index": 244, + "index2": 231, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "issuerId": "./node_modules/lodash/isArguments.js", + "issuerName": "./node_modules/lodash/isArguments.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "module": "./node_modules/lodash/isArguments.js", + "moduleName": "./node_modules/lodash/isArguments.js", + "type": "cjs require", + "userRequest": "./_baseIsArguments", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n" + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "index": 312, + "index2": 311, + "size": 1019, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsMatch.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "module": "./node_modules/lodash/_baseIsMatch.js", + "moduleName": "./node_modules/lodash/_baseIsMatch.js", + "type": "cjs require", + "userRequest": "./_baseIsEqual", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_baseIsEqual", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n" + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "index": 313, + "index2": 310, + "size": 3010, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "issuerId": "./node_modules/lodash/_baseIsEqual.js", + "issuerName": "./node_modules/lodash/_baseIsEqual.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqual.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "module": "./node_modules/lodash/_baseIsEqual.js", + "moduleName": "./node_modules/lodash/_baseIsEqual.js", + "type": "cjs require", + "userRequest": "./_baseIsEqualDeep", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseIsMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "name": "./node_modules/lodash/_baseIsMap.js", + "index": 294, + "index2": 283, + "size": 478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "issuerId": "./node_modules/lodash/isMap.js", + "issuerName": "./node_modules/lodash/isMap.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "name": "./node_modules/lodash/isMap.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_baseIsMap", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n" + }, + { + "id": "./node_modules/lodash/_baseIsMatch.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "name": "./node_modules/lodash/_baseIsMatch.js", + "index": 311, + "index2": 312, + "size": 1765, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_baseIsMatch", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n" + }, + { + "id": "./node_modules/lodash/_baseIsNaN.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNaN.js", + "name": "./node_modules/lodash/_baseIsNaN.js", + "index": 375, + "index2": 363, + "size": 296, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "issuerId": "./node_modules/lodash/_baseIndexOf.js", + "issuerName": "./node_modules/lodash/_baseIndexOf.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_baseIsNaN", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n" + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "index": 206, + "index2": 203, + "size": 1417, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "issuerId": "./node_modules/lodash/_getNative.js", + "issuerName": "./node_modules/lodash/_getNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "module": "./node_modules/lodash/_getNative.js", + "moduleName": "./node_modules/lodash/_getNative.js", + "type": "cjs require", + "userRequest": "./_baseIsNative", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n" + }, + { + "id": "./node_modules/lodash/_baseIsSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "name": "./node_modules/lodash/_baseIsSet.js", + "index": 296, + "index2": 285, + "size": 478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "issuerId": "./node_modules/lodash/isSet.js", + "issuerName": "./node_modules/lodash/isSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_baseIsSet", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n" + }, + { + "id": "./node_modules/lodash/_baseIsTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "name": "./node_modules/lodash/_baseIsTypedArray.js", + "index": 252, + "index2": 239, + "size": 2222, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "issuerId": "./node_modules/lodash/isTypedArray.js", + "issuerName": "./node_modules/lodash/isTypedArray.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + }, + { + "id": "./node_modules/lodash/isTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "name": "./node_modules/lodash/isTypedArray.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseIsTypedArray", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n" + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "index": 309, + "index2": 336, + "size": 895, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n" + }, + { + "id": "./node_modules/lodash/_baseKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "name": "./node_modules/lodash/_baseKeys.js", + "index": 256, + "index2": 247, + "size": 776, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "issuerId": "./node_modules/lodash/keys.js", + "issuerName": "./node_modules/lodash/keys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n" + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "index": 263, + "index2": 252, + "size": 870, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./_baseKeysIn", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_baseLt.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseLt.js", + "name": "./node_modules/lodash/_baseLt.js", + "index": 428, + "index2": 422, + "size": 354, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "issuerId": "./node_modules/lodash/min.js", + "issuerName": "./node_modules/lodash/min.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "name": "./node_modules/lodash/min.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./_baseLt", + "loc": "2:13-33" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseLt", + "loc": "3:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;\n" + }, + { + "id": "./node_modules/lodash/_baseMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "name": "./node_modules/lodash/_baseMap.js", + "index": 351, + "index2": 342, + "size": 668, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "issuerId": "./node_modules/lodash/map.js", + "issuerName": "./node_modules/lodash/map.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseMap", + "loc": "4:14-35" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_baseMap", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n" + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "index": 310, + "index2": 316, + "size": 710, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./_baseMatches", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n" + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "index": 327, + "index2": 332, + "size": 1129, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./_baseMatchesProperty", + "loc": "2:26-59" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n" + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "index": 420, + "index2": 419, + "size": 1328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "issuerId": "./node_modules/lodash/merge.js", + "issuerName": "./node_modules/lodash/merge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/merge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "module": "./node_modules/lodash/merge.js", + "moduleName": "./node_modules/lodash/merge.js", + "type": "cjs require", + "userRequest": "./_baseMerge", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n" + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "index": 422, + "index2": 418, + "size": 3069, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_baseMergeDeep", + "loc": "4:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "index": 440, + "index2": 437, + "size": 1558, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "issuerId": "./node_modules/lodash/sortBy.js", + "issuerName": "./node_modules/lodash/sortBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseOrderBy", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n" + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "index": 432, + "index2": 428, + "size": 501, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "issuerId": "./node_modules/lodash/pick.js", + "issuerName": "./node_modules/lodash/pick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "module": "./node_modules/lodash/pick.js", + "moduleName": "./node_modules/lodash/pick.js", + "type": "cjs require", + "userRequest": "./_basePick", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n" + }, + { + "id": "./node_modules/lodash/_basePickBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "name": "./node_modules/lodash/_basePickBy.js", + "index": 433, + "index2": 427, + "size": 791, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "issuerId": "./node_modules/lodash/_basePick.js", + "issuerName": "./node_modules/lodash/_basePick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_basePick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "module": "./node_modules/lodash/_basePick.js", + "moduleName": "./node_modules/lodash/_basePick.js", + "type": "cjs require", + "userRequest": "./_basePickBy", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n" + }, + { + "id": "./node_modules/lodash/_baseProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseProperty.js", + "name": "./node_modules/lodash/_baseProperty.js", + "index": 344, + "index2": 333, + "size": 360, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "issuerId": "./node_modules/lodash/property.js", + "issuerName": "./node_modules/lodash/property.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_asciiSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_asciiSize.js", + "module": "./node_modules/lodash/_asciiSize.js", + "moduleName": "./node_modules/lodash/_asciiSize.js", + "type": "cjs require", + "userRequest": "./_baseProperty", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_baseProperty", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n" + }, + { + "id": "./node_modules/lodash/_basePropertyDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePropertyDeep.js", + "name": "./node_modules/lodash/_basePropertyDeep.js", + "index": 345, + "index2": 334, + "size": 391, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "issuerId": "./node_modules/lodash/property.js", + "issuerName": "./node_modules/lodash/property.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_basePropertyDeep", + "loc": "2:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRange.js", + "name": "./node_modules/lodash/_baseRange.js", + "index": 438, + "index2": 431, + "size": 850, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "issuerId": "./node_modules/lodash/_createRange.js", + "issuerName": "./node_modules/lodash/_createRange.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 14 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./_baseRange", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n" + }, + { + "id": "./node_modules/lodash/_baseReduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseReduce.js", + "name": "./node_modules/lodash/_baseReduce.js", + "index": 354, + "index2": 345, + "size": 909, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "issuerId": "./node_modules/lodash/reduce.js", + "issuerName": "./node_modules/lodash/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 155, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseReduce", + "loc": "4:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n" + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "index": 365, + "index2": 361, + "size": 559, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createAssigner.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "module": "./node_modules/lodash/_createAssigner.js", + "moduleName": "./node_modules/lodash/_createAssigner.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n" + }, + { + "id": "./node_modules/lodash/_baseSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "name": "./node_modules/lodash/_baseSet.js", + "index": 434, + "index2": 426, + "size": 1385, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "issuerId": "./node_modules/lodash/_basePickBy.js", + "issuerName": "./node_modules/lodash/_basePickBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/_basePickBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "name": "./node_modules/lodash/_basePickBy.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 5, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_baseSet", + "loc": "2:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nmodule.exports = baseSet;\n" + }, + { + "id": "./node_modules/lodash/_baseSetToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "name": "./node_modules/lodash/_baseSetToString.js", + "index": 369, + "index2": 358, + "size": 641, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "issuerId": "./node_modules/lodash/_setToString.js", + "issuerName": "./node_modules/lodash/_setToString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_setToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "module": "./node_modules/lodash/_setToString.js", + "moduleName": "./node_modules/lodash/_setToString.js", + "type": "cjs require", + "userRequest": "./_baseSetToString", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n" + }, + { + "id": "./node_modules/lodash/_baseSortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSortBy.js", + "name": "./node_modules/lodash/_baseSortBy.js", + "index": 441, + "index2": 434, + "size": 543, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseSortBy", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n" + }, + { + "id": "./node_modules/lodash/_baseTimes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTimes.js", + "name": "./node_modules/lodash/_baseTimes.js", + "index": 242, + "index2": 229, + "size": 504, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "issuerId": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./_baseTimes", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n" + }, + { + "id": "./node_modules/lodash/_baseToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "name": "./node_modules/lodash/_baseToString.js", + "index": 337, + "index2": 323, + "size": 1154, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "issuerId": "./node_modules/lodash/toString.js", + "issuerName": "./node_modules/lodash/toString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/toString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "name": "./node_modules/lodash/toString.js", + "profile": { + "factory": 7, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "module": "./node_modules/lodash/toString.js", + "moduleName": "./node_modules/lodash/toString.js", + "type": "cjs require", + "userRequest": "./_baseToString", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n" + }, + { + "id": "./node_modules/lodash/_baseTrim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "name": "./node_modules/lodash/_baseTrim.js", + "index": 410, + "index2": 401, + "size": 444, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "issuerId": "./node_modules/lodash/toNumber.js", + "issuerName": "./node_modules/lodash/toNumber.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./_baseTrim", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n" + }, + { + "id": "./node_modules/lodash/_baseUnary.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUnary.js", + "name": "./node_modules/lodash/_baseUnary.js", + "index": 254, + "index2": 240, + "size": 332, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "6:16-39" + }, + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n" + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "index": 371, + "index2": 370, + "size": 1909, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "issuerId": "./node_modules/lodash/union.js", + "issuerName": "./node_modules/lodash/union.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 10, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseUniq", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n" + }, + { + "id": "./node_modules/lodash/_baseValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseValues.js", + "name": "./node_modules/lodash/_baseValues.js", + "index": 382, + "index2": 373, + "size": 534, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "issuerId": "./node_modules/lodash/values.js", + "issuerName": "./node_modules/lodash/values.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "module": "./node_modules/lodash/values.js", + "moduleName": "./node_modules/lodash/values.js", + "type": "cjs require", + "userRequest": "./_baseValues", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n" + }, + { + "id": "./node_modules/lodash/_baseZipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseZipObject.js", + "name": "./node_modules/lodash/_baseZipObject.js", + "index": 446, + "index2": 440, + "size": 660, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "issuerId": "./node_modules/lodash/zipObject.js", + "issuerName": "./node_modules/lodash/zipObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/zipObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "module": "./node_modules/lodash/zipObject.js", + "moduleName": "./node_modules/lodash/zipObject.js", + "type": "cjs require", + "userRequest": "./_baseZipObject", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\nfunction baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n}\n\nmodule.exports = baseZipObject;\n" + }, + { + "id": "./node_modules/lodash/_cacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cacheHas.js", + "name": "./node_modules/lodash/_cacheHas.js", + "index": 319, + "index2": 304, + "size": 337, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_cacheHas", + "loc": "4:15-37" + }, + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_cacheHas", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n" + }, + { + "id": "./node_modules/lodash/_castFunction.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castFunction.js", + "name": "./node_modules/lodash/_castFunction.js", + "index": 305, + "index2": 296, + "size": 326, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "issuerId": "./node_modules/lodash/forIn.js", + "issuerName": "./node_modules/lodash/forIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_castFunction", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./_castFunction", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n" + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "index": 330, + "index2": 325, + "size": 569, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "module": "./node_modules/lodash/_baseGet.js", + "moduleName": "./node_modules/lodash/_baseGet.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n" + }, + { + "id": "./node_modules/lodash/_cloneArrayBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "name": "./node_modules/lodash/_cloneArrayBuffer.js", + "index": 285, + "index2": 275, + "size": 449, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneDataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneDataView.js", + "module": "./node_modules/lodash/_cloneDataView.js", + "moduleName": "./node_modules/lodash/_cloneDataView.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + }, + { + "moduleId": "./node_modules/lodash/_cloneTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneTypedArray.js", + "module": "./node_modules/lodash/_cloneTypedArray.js", + "moduleName": "./node_modules/lodash/_cloneTypedArray.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + }, + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n" + }, + { + "id": "./node_modules/lodash/_cloneBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "name": "./node_modules/lodash/_cloneBuffer.js", + "index": 265, + "index2": 255, + "size": 1056, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_cloneBuffer", + "loc": "6:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_cloneBuffer", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n" + }, + { + "id": "./node_modules/lodash/_cloneDataView.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneDataView.js", + "name": "./node_modules/lodash/_cloneDataView.js", + "index": 287, + "index2": 276, + "size": 507, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneDataView", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n" + }, + { + "id": "./node_modules/lodash/_cloneRegExp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneRegExp.js", + "name": "./node_modules/lodash/_cloneRegExp.js", + "index": 288, + "index2": 277, + "size": 439, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneRegExp", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n" + }, + { + "id": "./node_modules/lodash/_cloneSymbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneSymbol.js", + "name": "./node_modules/lodash/_cloneSymbol.js", + "index": 289, + "index2": 278, + "size": 524, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneSymbol", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n" + }, + { + "id": "./node_modules/lodash/_cloneTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneTypedArray.js", + "name": "./node_modules/lodash/_cloneTypedArray.js", + "index": 290, + "index2": 279, + "size": 527, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_cloneTypedArray", + "loc": "3:22-51" + }, + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneTypedArray", + "loc": "5:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n" + }, + { + "id": "./node_modules/lodash/_compareAscending.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareAscending.js", + "name": "./node_modules/lodash/_compareAscending.js", + "index": 443, + "index2": 435, + "size": 1343, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "issuerId": "./node_modules/lodash/_compareMultiple.js", + "issuerName": "./node_modules/lodash/_compareMultiple.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_compareMultiple.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "name": "./node_modules/lodash/_compareMultiple.js", + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 6, + "building": 10, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_compareMultiple.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "module": "./node_modules/lodash/_compareMultiple.js", + "moduleName": "./node_modules/lodash/_compareMultiple.js", + "type": "cjs require", + "userRequest": "./_compareAscending", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n" + }, + { + "id": "./node_modules/lodash/_compareMultiple.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "name": "./node_modules/lodash/_compareMultiple.js", + "index": 442, + "index2": 436, + "size": 1599, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_compareMultiple", + "loc": "7:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n" + }, + { + "id": "./node_modules/lodash/_copyArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyArray.js", + "name": "./node_modules/lodash/_copyArray.js", + "index": 266, + "index2": 256, + "size": 454, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copyArray", + "loc": "7:16-39" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_copyArray", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n" + }, + { + "id": "./node_modules/lodash/_copyObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "name": "./node_modules/lodash/_copyObject.js", + "index": 239, + "index2": 228, + "size": 1044, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "issuerId": "./node_modules/lodash/_baseAssign.js", + "issuerName": "./node_modules/lodash/_baseAssign.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseAssign.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "name": "./node_modules/lodash/_baseAssign.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssign.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "module": "./node_modules/lodash/_baseAssign.js", + "moduleName": "./node_modules/lodash/_baseAssign.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_baseAssignIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "module": "./node_modules/lodash/_baseAssignIn.js", + "moduleName": "./node_modules/lodash/_baseAssignIn.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_copySymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "module": "./node_modules/lodash/_copySymbols.js", + "moduleName": "./node_modules/lodash/_copySymbols.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_copySymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "module": "./node_modules/lodash/_copySymbolsIn.js", + "moduleName": "./node_modules/lodash/_copySymbolsIn.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/toPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "module": "./node_modules/lodash/toPlainObject.js", + "moduleName": "./node_modules/lodash/toPlainObject.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n" + }, + { + "id": "./node_modules/lodash/_copySymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "name": "./node_modules/lodash/_copySymbols.js", + "index": 267, + "index2": 260, + "size": 446, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copySymbols", + "loc": "8:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n" + }, + { + "id": "./node_modules/lodash/_copySymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "name": "./node_modules/lodash/_copySymbolsIn.js", + "index": 271, + "index2": 264, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copySymbolsIn", + "loc": "9:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n" + }, + { + "id": "./node_modules/lodash/_coreJsData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_coreJsData.js", + "name": "./node_modules/lodash/_coreJsData.js", + "index": 216, + "index2": 200, + "size": 157, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "issuerId": "./node_modules/lodash/_isMasked.js", + "issuerName": "./node_modules/lodash/_isMasked.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_isMasked.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "name": "./node_modules/lodash/_isMasked.js", + "profile": { + "factory": 2, + "building": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_isMasked.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "module": "./node_modules/lodash/_isMasked.js", + "moduleName": "./node_modules/lodash/_isMasked.js", + "type": "cjs require", + "userRequest": "./_coreJsData", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n" + }, + { + "id": "./node_modules/lodash/_createAssigner.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "name": "./node_modules/lodash/_createAssigner.js", + "index": 426, + "index2": 420, + "size": 1042, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "issuerId": "./node_modules/lodash/merge.js", + "issuerName": "./node_modules/lodash/merge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/merge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "module": "./node_modules/lodash/merge.js", + "moduleName": "./node_modules/lodash/merge.js", + "type": "cjs require", + "userRequest": "./_createAssigner", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n" + }, + { + "id": "./node_modules/lodash/_createBaseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseEach.js", + "name": "./node_modules/lodash/_createBaseEach.js", + "index": 304, + "index2": 293, + "size": 886, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "issuerId": "./node_modules/lodash/_baseEach.js", + "issuerName": "./node_modules/lodash/_baseEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "name": "./node_modules/lodash/_baseEach.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "module": "./node_modules/lodash/_baseEach.js", + "moduleName": "./node_modules/lodash/_baseEach.js", + "type": "cjs require", + "userRequest": "./_createBaseEach", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n" + }, + { + "id": "./node_modules/lodash/_createBaseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseFor.js", + "name": "./node_modules/lodash/_createBaseFor.js", + "index": 303, + "index2": 290, + "size": 648, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "issuerId": "./node_modules/lodash/_baseFor.js", + "issuerName": "./node_modules/lodash/_baseFor.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "name": "./node_modules/lodash/_baseFor.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFor.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "module": "./node_modules/lodash/_baseFor.js", + "moduleName": "./node_modules/lodash/_baseFor.js", + "type": "cjs require", + "userRequest": "./_createBaseFor", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n" + }, + { + "id": "./node_modules/lodash/_createFind.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "name": "./node_modules/lodash/_createFind.js", + "index": 405, + "index2": 399, + "size": 853, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "issuerId": "./node_modules/lodash/find.js", + "issuerName": "./node_modules/lodash/find.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "module": "./node_modules/lodash/find.js", + "moduleName": "./node_modules/lodash/find.js", + "type": "cjs require", + "userRequest": "./_createFind", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n" + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "index": 437, + "index2": 432, + "size": 864, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "issuerId": "./node_modules/lodash/range.js", + "issuerName": "./node_modules/lodash/range.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "module": "./node_modules/lodash/range.js", + "moduleName": "./node_modules/lodash/range.js", + "type": "cjs require", + "userRequest": "./_createRange", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n" + }, + { + "id": "./node_modules/lodash/_createSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "name": "./node_modules/lodash/_createSet.js", + "index": 378, + "index2": 369, + "size": 501, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_createSet", + "loc": "5:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n" + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "index": 237, + "index2": 225, + "size": 233, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "issuerId": "./node_modules/lodash/_baseAssignValue.js", + "issuerName": "./node_modules/lodash/_baseAssignValue.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "module": "./node_modules/lodash/_baseAssignValue.js", + "moduleName": "./node_modules/lodash/_baseAssignValue.js", + "type": "cjs require", + "userRequest": "./_defineProperty", + "loc": "1:21-49" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./_defineProperty", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n" + }, + { + "id": "./node_modules/lodash/_equalArrays.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "name": "./node_modules/lodash/_equalArrays.js", + "index": 314, + "index2": 305, + "size": 2662, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalArrays", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_equalArrays", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n" + }, + { + "id": "./node_modules/lodash/_equalByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "name": "./node_modules/lodash/_equalByTag.js", + "index": 320, + "index2": 308, + "size": 3746, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalByTag", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n" + }, + { + "id": "./node_modules/lodash/_equalObjects.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalObjects.js", + "name": "./node_modules/lodash/_equalObjects.js", + "index": 323, + "index2": 309, + "size": 2971, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalObjects", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n" + }, + { + "id": "./node_modules/lodash/_flatRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "name": "./node_modules/lodash/_flatRest.js", + "index": 435, + "index2": 429, + "size": 457, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "issuerId": "./node_modules/lodash/pick.js", + "issuerName": "./node_modules/lodash/pick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "module": "./node_modules/lodash/pick.js", + "moduleName": "./node_modules/lodash/pick.js", + "type": "cjs require", + "userRequest": "./_flatRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n" + }, + { + "id": "./node_modules/lodash/_freeGlobal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_freeGlobal.js", + "name": "./node_modules/lodash/_freeGlobal.js", + "index": 211, + "index2": 192, + "size": 173, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "issuerId": "./node_modules/lodash/_root.js", + "issuerName": "./node_modules/lodash/_root.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_root.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "name": "./node_modules/lodash/_root.js", + "profile": { + "factory": 7, + "building": 157 + } + } + ], + "profile": { + "factory": 264, + "building": 12, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_nodeUtil.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "module": "./node_modules/lodash/_nodeUtil.js", + "moduleName": "./node_modules/lodash/_nodeUtil.js", + "type": "cjs require", + "userRequest": "./_freeGlobal", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_root.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "module": "./node_modules/lodash/_root.js", + "moduleName": "./node_modules/lodash/_root.js", + "type": "cjs require", + "userRequest": "./_freeGlobal", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n" + }, + { + "id": "./node_modules/lodash/_getAllKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "name": "./node_modules/lodash/_getAllKeys.js", + "index": 275, + "index2": 266, + "size": 455, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getAllKeys", + "loc": "10:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalObjects.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalObjects.js", + "module": "./node_modules/lodash/_equalObjects.js", + "moduleName": "./node_modules/lodash/_equalObjects.js", + "type": "cjs require", + "userRequest": "./_getAllKeys", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n" + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "index": 277, + "index2": 267, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getAllKeysIn", + "loc": "11:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_getMapData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "name": "./node_modules/lodash/_getMapData.js", + "index": 229, + "index2": 216, + "size": 400, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "issuerId": "./node_modules/lodash/_mapCacheGet.js", + "issuerName": "./node_modules/lodash/_mapCacheGet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_mapCacheDelete.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheDelete.js", + "module": "./node_modules/lodash/_mapCacheDelete.js", + "moduleName": "./node_modules/lodash/_mapCacheDelete.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "module": "./node_modules/lodash/_mapCacheGet.js", + "moduleName": "./node_modules/lodash/_mapCacheGet.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheHas.js", + "module": "./node_modules/lodash/_mapCacheHas.js", + "moduleName": "./node_modules/lodash/_mapCacheHas.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheSet.js", + "module": "./node_modules/lodash/_mapCacheSet.js", + "moduleName": "./node_modules/lodash/_mapCacheSet.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n" + }, + { + "id": "./node_modules/lodash/_getMatchData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "name": "./node_modules/lodash/_getMatchData.js", + "index": 324, + "index2": 314, + "size": 573, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_getMatchData", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n" + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "index": 205, + "index2": 205, + "size": 483, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "issuerId": "./node_modules/lodash/_defineProperty.js", + "issuerName": "./node_modules/lodash/_defineProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + } + ], + "profile": { + "factory": 8, + "building": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_DataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "module": "./node_modules/lodash/_DataView.js", + "moduleName": "./node_modules/lodash/_DataView.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "module": "./node_modules/lodash/_Map.js", + "moduleName": "./node_modules/lodash/_Map.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Promise.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "module": "./node_modules/lodash/_Promise.js", + "moduleName": "./node_modules/lodash/_Promise.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "module": "./node_modules/lodash/_Set.js", + "moduleName": "./node_modules/lodash/_Set.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_WeakMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "module": "./node_modules/lodash/_WeakMap.js", + "moduleName": "./node_modules/lodash/_WeakMap.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_defineProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "module": "./node_modules/lodash/_defineProperty.js", + "moduleName": "./node_modules/lodash/_defineProperty.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_nativeCreate.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeCreate.js", + "module": "./node_modules/lodash/_nativeCreate.js", + "moduleName": "./node_modules/lodash/_nativeCreate.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n" + }, + { + "id": "./node_modules/lodash/_getPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "name": "./node_modules/lodash/_getPrototype.js", + "index": 274, + "index2": 262, + "size": 163, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "issuerId": "./node_modules/lodash/_initCloneObject.js", + "issuerName": "./node_modules/lodash/_initCloneObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n" + }, + { + "id": "./node_modules/lodash/_getRawTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getRawTag.js", + "name": "./node_modules/lodash/_getRawTag.js", + "index": 212, + "index2": 195, + "size": 1139, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "issuerId": "./node_modules/lodash/_baseGetTag.js", + "issuerName": "./node_modules/lodash/_baseGetTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_getRawTag", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n" + }, + { + "id": "./node_modules/lodash/_getSymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "name": "./node_modules/lodash/_getSymbols.js", + "index": 268, + "index2": 259, + "size": 886, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "issuerId": "./node_modules/lodash/_copySymbols.js", + "issuerName": "./node_modules/lodash/_copySymbols.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_copySymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "name": "./node_modules/lodash/_copySymbols.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_copySymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "module": "./node_modules/lodash/_copySymbols.js", + "moduleName": "./node_modules/lodash/_copySymbols.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n" + }, + { + "id": "./node_modules/lodash/_getSymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "name": "./node_modules/lodash/_getSymbolsIn.js", + "index": 272, + "index2": 263, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "issuerId": "./node_modules/lodash/_getAllKeysIn.js", + "issuerName": "./node_modules/lodash/_getAllKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_copySymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "module": "./node_modules/lodash/_copySymbolsIn.js", + "moduleName": "./node_modules/lodash/_copySymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getSymbolsIn", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./_getSymbolsIn", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n" + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "index": 278, + "index2": 272, + "size": 1838, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "12:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "5:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "module": "./node_modules/lodash/_baseIsMap.js", + "moduleName": "./node_modules/lodash/_baseIsMap.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "module": "./node_modules/lodash/_baseIsSet.js", + "moduleName": "./node_modules/lodash/_baseIsSet.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "2:13-33" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "2:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n" + }, + { + "id": "./node_modules/lodash/_getValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getValue.js", + "name": "./node_modules/lodash/_getValue.js", + "index": 218, + "index2": 204, + "size": 325, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "issuerId": "./node_modules/lodash/_getNative.js", + "issuerName": "./node_modules/lodash/_getNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "module": "./node_modules/lodash/_getNative.js", + "moduleName": "./node_modules/lodash/_getNative.js", + "type": "cjs require", + "userRequest": "./_getValue", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n" + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "index": 342, + "index2": 330, + "size": 1085, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "issuerId": "./node_modules/lodash/has.js", + "issuerName": "./node_modules/lodash/has.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/has.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "module": "./node_modules/lodash/has.js", + "moduleName": "./node_modules/lodash/has.js", + "type": "cjs require", + "userRequest": "./_hasPath", + "loc": "2:14-35" + }, + { + "moduleId": "./node_modules/lodash/hasIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "module": "./node_modules/lodash/hasIn.js", + "moduleName": "./node_modules/lodash/hasIn.js", + "type": "cjs require", + "userRequest": "./_hasPath", + "loc": "2:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n" + }, + { + "id": "./node_modules/lodash/_hasUnicode.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasUnicode.js", + "name": "./node_modules/lodash/_hasUnicode.js", + "index": 359, + "index2": 349, + "size": 949, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_hasUnicode", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n" + }, + { + "id": "./node_modules/lodash/_hashClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "name": "./node_modules/lodash/_hashClear.js", + "index": 222, + "index2": 208, + "size": 281, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashClear", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n" + }, + { + "id": "./node_modules/lodash/_hashDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashDelete.js", + "name": "./node_modules/lodash/_hashDelete.js", + "index": 224, + "index2": 209, + "size": 445, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashDelete", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n" + }, + { + "id": "./node_modules/lodash/_hashGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashGet.js", + "name": "./node_modules/lodash/_hashGet.js", + "index": 225, + "index2": 210, + "size": 772, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashGet", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n" + }, + { + "id": "./node_modules/lodash/_hashHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashHas.js", + "name": "./node_modules/lodash/_hashHas.js", + "index": 226, + "index2": 211, + "size": 626, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashHas", + "loc": "4:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n" + }, + { + "id": "./node_modules/lodash/_hashSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashSet.js", + "name": "./node_modules/lodash/_hashSet.js", + "index": 227, + "index2": 212, + "size": 598, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashSet", + "loc": "5:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n" + }, + { + "id": "./node_modules/lodash/_initCloneArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneArray.js", + "name": "./node_modules/lodash/_initCloneArray.js", + "index": 283, + "index2": 273, + "size": 692, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneArray", + "loc": "13:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n" + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "index": 284, + "index2": 280, + "size": 2261, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneByTag", + "loc": "14:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n" + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "index": 291, + "index2": 282, + "size": 486, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneObject", + "loc": "15:22-51" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_initCloneObject", + "loc": "5:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n" + }, + { + "id": "./node_modules/lodash/_isFlattenable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "name": "./node_modules/lodash/_isFlattenable.js", + "index": 364, + "index2": 354, + "size": 608, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "issuerId": "./node_modules/lodash/_baseFlatten.js", + "issuerName": "./node_modules/lodash/_baseFlatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFlatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "module": "./node_modules/lodash/_baseFlatten.js", + "moduleName": "./node_modules/lodash/_baseFlatten.js", + "type": "cjs require", + "userRequest": "./_isFlattenable", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n" + }, + { + "id": "./node_modules/lodash/_isIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIndex.js", + "name": "./node_modules/lodash/_isIndex.js", + "index": 250, + "index2": 237, + "size": 759, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "issuerId": "./node_modules/lodash/_isIterateeCall.js", + "issuerName": "./node_modules/lodash/_isIterateeCall.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "5:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "3:14-35" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "4:14-35" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n" + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "index": 403, + "index2": 397, + "size": 877, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createAssigner.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "module": "./node_modules/lodash/_createAssigner.js", + "moduleName": "./node_modules/lodash/_createAssigner.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "2:21-49" + }, + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "2:21-49" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "3:21-49" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "4:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n" + }, + { + "id": "./node_modules/lodash/_isKey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "name": "./node_modules/lodash/_isKey.js", + "index": 331, + "index2": 318, + "size": 880, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "4:12-31" + }, + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "3:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n" + }, + { + "id": "./node_modules/lodash/_isKeyable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKeyable.js", + "name": "./node_modules/lodash/_isKeyable.js", + "index": 230, + "index2": 215, + "size": 430, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "issuerId": "./node_modules/lodash/_getMapData.js", + "issuerName": "./node_modules/lodash/_getMapData.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_getMapData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "name": "./node_modules/lodash/_getMapData.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getMapData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "module": "./node_modules/lodash/_getMapData.js", + "moduleName": "./node_modules/lodash/_getMapData.js", + "type": "cjs require", + "userRequest": "./_isKeyable", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n" + }, + { + "id": "./node_modules/lodash/_isMasked.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "name": "./node_modules/lodash/_isMasked.js", + "index": 215, + "index2": 201, + "size": 564, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "issuerId": "./node_modules/lodash/_baseIsNative.js", + "issuerName": "./node_modules/lodash/_baseIsNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 2, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./_isMasked", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n" + }, + { + "id": "./node_modules/lodash/_isPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isPrototype.js", + "name": "./node_modules/lodash/_isPrototype.js", + "index": 257, + "index2": 244, + "size": 480, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "issuerId": "./node_modules/lodash/_baseKeysIn.js", + "issuerName": "./node_modules/lodash/_baseKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "module": "./node_modules/lodash/_baseKeys.js", + "moduleName": "./node_modules/lodash/_baseKeys.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "7:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n" + }, + { + "id": "./node_modules/lodash/_isStrictComparable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isStrictComparable.js", + "name": "./node_modules/lodash/_isStrictComparable.js", + "index": 325, + "index2": 313, + "size": 414, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_isStrictComparable", + "loc": "5:25-57" + }, + { + "moduleId": "./node_modules/lodash/_getMatchData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "module": "./node_modules/lodash/_getMatchData.js", + "moduleName": "./node_modules/lodash/_getMatchData.js", + "type": "cjs require", + "userRequest": "./_isStrictComparable", + "loc": "1:25-57" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n" + }, + { + "id": "./node_modules/lodash/_listCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheClear.js", + "name": "./node_modules/lodash/_listCacheClear.js", + "index": 192, + "index2": 180, + "size": 218, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheClear", + "loc": "1:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n" + }, + { + "id": "./node_modules/lodash/_listCacheDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheDelete.js", + "name": "./node_modules/lodash/_listCacheDelete.js", + "index": 193, + "index2": 183, + "size": 775, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheDelete", + "loc": "2:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n" + }, + { + "id": "./node_modules/lodash/_listCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "name": "./node_modules/lodash/_listCacheGet.js", + "index": 196, + "index2": 184, + "size": 420, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheGet", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n" + }, + { + "id": "./node_modules/lodash/_listCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheHas.js", + "name": "./node_modules/lodash/_listCacheHas.js", + "index": 197, + "index2": 185, + "size": 403, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheHas", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_listCacheSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheSet.js", + "name": "./node_modules/lodash/_listCacheSet.js", + "index": 198, + "index2": 186, + "size": 553, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheSet", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "index": 220, + "index2": 214, + "size": 393, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheClear", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheDelete.js", + "name": "./node_modules/lodash/_mapCacheDelete.js", + "index": 228, + "index2": 217, + "size": 450, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheDelete", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "index": 231, + "index2": 218, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheGet", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheHas.js", + "name": "./node_modules/lodash/_mapCacheHas.js", + "index": 232, + "index2": 219, + "size": 382, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheHas", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheSet.js", + "name": "./node_modules/lodash/_mapCacheSet.js", + "index": 233, + "index2": 220, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheSet", + "loc": "5:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n" + }, + { + "id": "./node_modules/lodash/_mapToArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapToArray.js", + "name": "./node_modules/lodash/_mapToArray.js", + "index": 321, + "index2": 306, + "size": 363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "issuerId": "./node_modules/lodash/_equalByTag.js", + "issuerName": "./node_modules/lodash/_equalByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_equalByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "name": "./node_modules/lodash/_equalByTag.js", + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_mapToArray", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n" + }, + { + "id": "./node_modules/lodash/_matchesStrictComparable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_matchesStrictComparable.js", + "name": "./node_modules/lodash/_matchesStrictComparable.js", + "index": 326, + "index2": 315, + "size": 574, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_matchesStrictComparable", + "loc": "3:30-67" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_matchesStrictComparable", + "loc": "6:30-67" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n" + }, + { + "id": "./node_modules/lodash/_memoizeCapped.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "name": "./node_modules/lodash/_memoizeCapped.js", + "index": 334, + "index2": 320, + "size": 633, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "issuerId": "./node_modules/lodash/_stringToPath.js", + "issuerName": "./node_modules/lodash/_stringToPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringToPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "module": "./node_modules/lodash/_stringToPath.js", + "moduleName": "./node_modules/lodash/_stringToPath.js", + "type": "cjs require", + "userRequest": "./_memoizeCapped", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n" + }, + { + "id": "./node_modules/lodash/_nativeCreate.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeCreate.js", + "name": "./node_modules/lodash/_nativeCreate.js", + "index": 223, + "index2": 207, + "size": 187, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "issuerId": "./node_modules/lodash/_hashClear.js", + "issuerName": "./node_modules/lodash/_hashClear.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_hashClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "name": "./node_modules/lodash/_hashClear.js", + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 0, + "building": 0, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_hashClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "module": "./node_modules/lodash/_hashClear.js", + "moduleName": "./node_modules/lodash/_hashClear.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashGet.js", + "module": "./node_modules/lodash/_hashGet.js", + "moduleName": "./node_modules/lodash/_hashGet.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashHas.js", + "module": "./node_modules/lodash/_hashHas.js", + "moduleName": "./node_modules/lodash/_hashHas.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashSet.js", + "module": "./node_modules/lodash/_hashSet.js", + "moduleName": "./node_modules/lodash/_hashSet.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 13, + "source": "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n" + }, + { + "id": "./node_modules/lodash/_nativeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeys.js", + "name": "./node_modules/lodash/_nativeKeys.js", + "index": 258, + "index2": 246, + "size": 204, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "issuerId": "./node_modules/lodash/_baseKeys.js", + "issuerName": "./node_modules/lodash/_baseKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/_baseKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "name": "./node_modules/lodash/_baseKeys.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 6, + "building": 10, + "dependencies": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "module": "./node_modules/lodash/_baseKeys.js", + "moduleName": "./node_modules/lodash/_baseKeys.js", + "type": "cjs require", + "userRequest": "./_nativeKeys", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n" + }, + { + "id": "./node_modules/lodash/_nativeKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeysIn.js", + "name": "./node_modules/lodash/_nativeKeysIn.js", + "index": 264, + "index2": 251, + "size": 490, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "issuerId": "./node_modules/lodash/_baseKeysIn.js", + "issuerName": "./node_modules/lodash/_baseKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./_nativeKeysIn", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_nodeUtil.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "name": "./node_modules/lodash/_nodeUtil.js", + "index": 255, + "index2": 241, + "size": 995, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "issuerId": "./node_modules/lodash/isSet.js", + "issuerName": "./node_modules/lodash/isSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n" + }, + { + "id": "./node_modules/lodash/_objectToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_objectToString.js", + "name": "./node_modules/lodash/_objectToString.js", + "index": 213, + "index2": 196, + "size": 565, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "issuerId": "./node_modules/lodash/_baseGetTag.js", + "issuerName": "./node_modules/lodash/_baseGetTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_objectToString", + "loc": "3:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n" + }, + { + "id": "./node_modules/lodash/_overArg.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overArg.js", + "name": "./node_modules/lodash/_overArg.js", + "index": 259, + "index2": 245, + "size": 382, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "issuerId": "./node_modules/lodash/_getPrototype.js", + "issuerName": "./node_modules/lodash/_getPrototype.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_getPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "name": "./node_modules/lodash/_getPrototype.js", + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getPrototype.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "module": "./node_modules/lodash/_getPrototype.js", + "moduleName": "./node_modules/lodash/_getPrototype.js", + "type": "cjs require", + "userRequest": "./_overArg", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_nativeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeys.js", + "module": "./node_modules/lodash/_nativeKeys.js", + "moduleName": "./node_modules/lodash/_nativeKeys.js", + "type": "cjs require", + "userRequest": "./_overArg", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n" + }, + { + "id": "./node_modules/lodash/_overRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "name": "./node_modules/lodash/_overRest.js", + "index": 366, + "index2": 357, + "size": 1096, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "issuerId": "./node_modules/lodash/_baseRest.js", + "issuerName": "./node_modules/lodash/_baseRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./_overRest", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./_overRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n" + }, + { + "id": "./node_modules/lodash/_root.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "name": "./node_modules/lodash/_root.js", + "index": 210, + "index2": 193, + "size": 300, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "issuerId": "./node_modules/lodash/now.js", + "issuerName": "./node_modules/lodash/now.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 157 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_DataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "module": "./node_modules/lodash/_DataView.js", + "moduleName": "./node_modules/lodash/_DataView.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "module": "./node_modules/lodash/_Map.js", + "moduleName": "./node_modules/lodash/_Map.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Promise.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "module": "./node_modules/lodash/_Promise.js", + "moduleName": "./node_modules/lodash/_Promise.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "module": "./node_modules/lodash/_Set.js", + "moduleName": "./node_modules/lodash/_Set.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Symbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Symbol.js", + "module": "./node_modules/lodash/_Symbol.js", + "moduleName": "./node_modules/lodash/_Symbol.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Uint8Array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Uint8Array.js", + "module": "./node_modules/lodash/_Uint8Array.js", + "moduleName": "./node_modules/lodash/_Uint8Array.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_WeakMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "module": "./node_modules/lodash/_WeakMap.js", + "moduleName": "./node_modules/lodash/_WeakMap.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_cloneBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "module": "./node_modules/lodash/_cloneBuffer.js", + "moduleName": "./node_modules/lodash/_cloneBuffer.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_coreJsData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_coreJsData.js", + "module": "./node_modules/lodash/_coreJsData.js", + "moduleName": "./node_modules/lodash/_coreJsData.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/now.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "module": "./node_modules/lodash/now.js", + "moduleName": "./node_modules/lodash/now.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n" + }, + { + "id": "./node_modules/lodash/_safeGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_safeGet.js", + "name": "./node_modules/lodash/_safeGet.js", + "index": 424, + "index2": 416, + "size": 456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_safeGet", + "loc": "7:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_safeGet", + "loc": "14:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n" + }, + { + "id": "./node_modules/lodash/_setCacheAdd.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setCacheAdd.js", + "name": "./node_modules/lodash/_setCacheAdd.js", + "index": 316, + "index2": 300, + "size": 424, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "issuerId": "./node_modules/lodash/_SetCache.js", + "issuerName": "./node_modules/lodash/_SetCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 3, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_setCacheAdd", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n" + }, + { + "id": "./node_modules/lodash/_setCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setCacheHas.js", + "name": "./node_modules/lodash/_setCacheHas.js", + "index": 317, + "index2": 301, + "size": 316, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "issuerId": "./node_modules/lodash/_SetCache.js", + "issuerName": "./node_modules/lodash/_SetCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 3, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_setCacheHas", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_setToArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToArray.js", + "name": "./node_modules/lodash/_setToArray.js", + "index": 322, + "index2": 307, + "size": 345, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "6:17-41" + }, + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "3:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "6:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n" + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "index": 368, + "index2": 360, + "size": 392, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "issuerId": "./node_modules/lodash/_baseRest.js", + "issuerName": "./node_modules/lodash/_baseRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./_setToString", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./_setToString", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n" + }, + { + "id": "./node_modules/lodash/_shortOut.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_shortOut.js", + "name": "./node_modules/lodash/_shortOut.js", + "index": 370, + "index2": 359, + "size": 941, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "issuerId": "./node_modules/lodash/_setToString.js", + "issuerName": "./node_modules/lodash/_setToString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_setToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "module": "./node_modules/lodash/_setToString.js", + "moduleName": "./node_modules/lodash/_setToString.js", + "type": "cjs require", + "userRequest": "./_shortOut", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n" + }, + { + "id": "./node_modules/lodash/_stackClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackClear.js", + "name": "./node_modules/lodash/_stackClear.js", + "index": 199, + "index2": 188, + "size": 254, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackClear", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n" + }, + { + "id": "./node_modules/lodash/_stackDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackDelete.js", + "name": "./node_modules/lodash/_stackDelete.js", + "index": 200, + "index2": 189, + "size": 405, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackDelete", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n" + }, + { + "id": "./node_modules/lodash/_stackGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackGet.js", + "name": "./node_modules/lodash/_stackGet.js", + "index": 201, + "index2": 190, + "size": 271, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackGet", + "loc": "4:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n" + }, + { + "id": "./node_modules/lodash/_stackHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackHas.js", + "name": "./node_modules/lodash/_stackHas.js", + "index": 202, + "index2": 191, + "size": 323, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackHas", + "loc": "5:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n" + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "index": 203, + "index2": 222, + "size": 853, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackSet", + "loc": "6:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n" + }, + { + "id": "./node_modules/lodash/_strictIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_strictIndexOf.js", + "name": "./node_modules/lodash/_strictIndexOf.js", + "index": 376, + "index2": 364, + "size": 600, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "issuerId": "./node_modules/lodash/_baseIndexOf.js", + "issuerName": "./node_modules/lodash/_baseIndexOf.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_strictIndexOf", + "loc": "3:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "index": 357, + "index2": 351, + "size": 432, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "issuerId": "./node_modules/lodash/size.js", + "issuerName": "./node_modules/lodash/size.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_stringSize", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var asciiSize = require('./_asciiSize'),\n hasUnicode = require('./_hasUnicode'),\n unicodeSize = require('./_unicodeSize');\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n" + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "index": 333, + "index2": 321, + "size": 840, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "issuerId": "./node_modules/lodash/_castPath.js", + "issuerName": "./node_modules/lodash/_castPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./_stringToPath", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n" + }, + { + "id": "./node_modules/lodash/_toKey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toKey.js", + "name": "./node_modules/lodash/_toKey.js", + "index": 339, + "index2": 326, + "size": 523, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "module": "./node_modules/lodash/_baseGet.js", + "moduleName": "./node_modules/lodash/_baseGet.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "7:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "5:12-31" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "6:12-31" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "4:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n" + }, + { + "id": "./node_modules/lodash/_toSource.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toSource.js", + "name": "./node_modules/lodash/_toSource.js", + "index": 217, + "index2": 202, + "size": 556, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./_toSource", + "loc": "4:15-37" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_toSource", + "loc": "7:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n" + }, + { + "id": "./node_modules/lodash/_trimmedEndIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_trimmedEndIndex.js", + "name": "./node_modules/lodash/_trimmedEndIndex.js", + "index": 411, + "index2": 400, + "size": 515, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "issuerId": "./node_modules/lodash/_baseTrim.js", + "issuerName": "./node_modules/lodash/_baseTrim.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseTrim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "name": "./node_modules/lodash/_baseTrim.js", + "profile": { + "factory": 1, + "building": 3 + } + } + ], + "profile": { + "factory": 1, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseTrim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "module": "./node_modules/lodash/_baseTrim.js", + "moduleName": "./node_modules/lodash/_baseTrim.js", + "type": "cjs require", + "userRequest": "./_trimmedEndIndex", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n" + }, + { + "id": "./node_modules/lodash/_unicodeSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_unicodeSize.js", + "name": "./node_modules/lodash/_unicodeSize.js", + "index": 360, + "index2": 350, + "size": 1642, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_unicodeSize", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n}\n\nmodule.exports = unicodeSize;\n" + }, + { + "id": "./node_modules/lodash/clone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/clone.js", + "name": "./node_modules/lodash/clone.js", + "index": 188, + "index2": 288, + "size": 1065, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/clone", + "loc": "8:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n" + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "index": 401, + "index2": 396, + "size": 679, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/cloneDeep", + "loc": "8:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n" + }, + { + "id": "./node_modules/lodash/constant.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/constant.js", + "name": "./node_modules/lodash/constant.js", + "index": 297, + "index2": 289, + "size": 528, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/constant", + "loc": "9:16-42" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/constant", + "loc": "9:16-42" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./constant", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n" + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "index": 402, + "index2": 398, + "size": 1754, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/defaults", + "loc": "10:16-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nmodule.exports = defaults;\n" + }, + { + "id": "./node_modules/lodash/each.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/each.js", + "name": "./node_modules/lodash/each.js", + "index": 298, + "index2": 298, + "size": 39, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/each", + "loc": "11:12-34" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/each", + "loc": "10:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "module.exports = require('./forEach');\n" + }, + { + "id": "./node_modules/lodash/eq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/eq.js", + "name": "./node_modules/lodash/eq.js", + "index": 195, + "index2": 181, + "size": 799, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_assignMergeValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "module": "./node_modules/lodash/_assignMergeValue.js", + "moduleName": "./node_modules/lodash/_assignMergeValue.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + }, + { + "moduleId": "./node_modules/lodash/_assignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "module": "./node_modules/lodash/_assignValue.js", + "moduleName": "./node_modules/lodash/_assignValue.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + }, + { + "moduleId": "./node_modules/lodash/_assocIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assocIndexOf.js", + "module": "./node_modules/lodash/_assocIndexOf.js", + "moduleName": "./node_modules/lodash/_assocIndexOf.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "1:9-24" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "3:9-24" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "1:9-24" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n" + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "index": 307, + "index2": 337, + "size": 1683, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/filter", + "loc": "12:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/filter", + "loc": "11:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n" + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "index": 404, + "index2": 406, + "size": 1304, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/find", + "loc": "13:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n" + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "index": 406, + "index2": 405, + "size": 1654, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "issuerId": "./node_modules/lodash/find.js", + "issuerName": "./node_modules/lodash/find.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "module": "./node_modules/lodash/find.js", + "moduleName": "./node_modules/lodash/find.js", + "type": "cjs require", + "userRequest": "./findIndex", + "loc": "2:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n" + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "index": 412, + "index2": 407, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/flatten", + "loc": "14:15-40" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./flatten", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n" + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "index": 299, + "index2": 297, + "size": 1355, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/forEach", + "loc": "15:15-40" + }, + { + "moduleId": "./node_modules/lodash/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/each.js", + "module": "./node_modules/lodash/each.js", + "moduleName": "./node_modules/lodash/each.js", + "type": "cjs require", + "userRequest": "./forEach", + "loc": "1:17-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n" + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "index": 413, + "index2": 408, + "size": 1065, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/forIn", + "loc": "16:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n" + }, + { + "id": "./node_modules/lodash/get.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/get.js", + "name": "./node_modules/lodash/get.js", + "index": 328, + "index2": 328, + "size": 884, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./get", + "loc": "2:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n" + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "index": 346, + "index2": 339, + "size": 757, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/has", + "loc": "17:12-33" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/has", + "loc": "12:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseHas = require('./_baseHas'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nmodule.exports = has;\n" + }, + { + "id": "./node_modules/lodash/hasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "name": "./node_modules/lodash/hasIn.js", + "index": 340, + "index2": 331, + "size": 753, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "issuerId": "./node_modules/lodash/_basePick.js", + "issuerName": "./node_modules/lodash/_basePick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./hasIn", + "loc": "3:12-30" + }, + { + "moduleId": "./node_modules/lodash/_basePick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "module": "./node_modules/lodash/_basePick.js", + "moduleName": "./node_modules/lodash/_basePick.js", + "type": "cjs require", + "userRequest": "./hasIn", + "loc": "2:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n" + }, + { + "id": "./node_modules/lodash/identity.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/identity.js", + "name": "./node_modules/lodash/identity.js", + "index": 306, + "index2": 295, + "size": 370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "8:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_castFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castFunction.js", + "module": "./node_modules/lodash/_castFunction.js", + "moduleName": "./node_modules/lodash/_castFunction.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n" + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "index": 243, + "index2": 232, + "size": 1026, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "6:18-42" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "3:18-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n" + }, + { + "id": "./node_modules/lodash/isArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArray.js", + "name": "./node_modules/lodash/isArray.js", + "index": 246, + "index2": 233, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isArray", + "loc": "13:15-40" + }, + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "16:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "module": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "2:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "6:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "7:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "9:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "1:14-34" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_isKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "module": "./node_modules/lodash/_isKey.js", + "moduleName": "./node_modules/lodash/_isKey.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "1:14-34" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "2:14-34" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "5:14-34" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "6:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n" + }, + { + "id": "./node_modules/lodash/isArrayLike.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "name": "./node_modules/lodash/isArrayLike.js", + "index": 260, + "index2": 248, + "size": 830, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "module": "./node_modules/lodash/_baseMap.js", + "moduleName": "./node_modules/lodash/_baseMap.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_createBaseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseEach.js", + "module": "./node_modules/lodash/_createBaseEach.js", + "moduleName": "./node_modules/lodash/_createBaseEach.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "1:18-42" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/isArrayLikeObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "module": "./node_modules/lodash/isArrayLikeObject.js", + "moduleName": "./node_modules/lodash/isArrayLikeObject.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "1:18-42" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "5:18-42" + }, + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + }, + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n" + }, + { + "id": "./node_modules/lodash/isArrayLikeObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "name": "./node_modules/lodash/isArrayLikeObject.js", + "index": 380, + "index2": 371, + "size": 742, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArrayLikeObject", + "loc": "8:24-54" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./isArrayLikeObject", + "loc": "4:24-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n" + }, + { + "id": "./node_modules/lodash/isBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "name": "./node_modules/lodash/isBuffer.js", + "index": 247, + "index2": 236, + "size": 1114, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "17:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "7:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "9:15-36" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "6:15-36" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "7:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n" + }, + { + "id": "./node_modules/lodash/isEmpty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "name": "./node_modules/lodash/isEmpty.js", + "index": 348, + "index2": 340, + "size": 2000, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isEmpty", + "loc": "14:15-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n" + }, + { + "id": "./node_modules/lodash/isFunction.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "name": "./node_modules/lodash/isFunction.js", + "index": 207, + "index2": 199, + "size": 993, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isFunction", + "loc": "15:18-46" + }, + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "1:17-40" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "10:17-40" + }, + { + "moduleId": "./node_modules/lodash/isArrayLike.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "module": "./node_modules/lodash/isArrayLike.js", + "moduleName": "./node_modules/lodash/isArrayLike.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "1:17-40" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "8:17-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n" + }, + { + "id": "./node_modules/lodash/isLength.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isLength.js", + "name": "./node_modules/lodash/isLength.js", + "index": 253, + "index2": 238, + "size": 802, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "5:15-36" + }, + { + "moduleId": "./node_modules/lodash/isArrayLike.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "module": "./node_modules/lodash/isArrayLike.js", + "moduleName": "./node_modules/lodash/isArrayLike.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "2:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n" + }, + { + "id": "./node_modules/lodash/isMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "name": "./node_modules/lodash/isMap.js", + "index": 293, + "index2": 284, + "size": 613, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isMap", + "loc": "18:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n" + }, + { + "id": "./node_modules/lodash/isObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isObject.js", + "name": "./node_modules/lodash/isObject.js", + "index": 214, + "index2": 198, + "size": 733, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "issuerId": "./node_modules/lodash/_isIterateeCall.js", + "issuerName": "./node_modules/lodash/_isIterateeCall.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "19:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseCreate.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseCreate.js", + "module": "./node_modules/lodash/_baseCreate.js", + "moduleName": "./node_modules/lodash/_baseCreate.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "5:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "11:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isStrictComparable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isStrictComparable.js", + "module": "./node_modules/lodash/_isStrictComparable.js", + "moduleName": "./node_modules/lodash/_isStrictComparable.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/isFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "module": "./node_modules/lodash/isFunction.js", + "moduleName": "./node_modules/lodash/isFunction.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "9:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n" + }, + { + "id": "./node_modules/lodash/isObjectLike.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isObjectLike.js", + "name": "./node_modules/lodash/isObjectLike.js", + "index": 245, + "index2": 230, + "size": 614, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "issuerId": "./node_modules/lodash/isArguments.js", + "issuerName": "./node_modules/lodash/isArguments.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "module": "./node_modules/lodash/_baseIsArguments.js", + "moduleName": "./node_modules/lodash/_baseIsArguments.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqual.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "module": "./node_modules/lodash/_baseIsEqual.js", + "moduleName": "./node_modules/lodash/_baseIsEqual.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "module": "./node_modules/lodash/_baseIsMap.js", + "moduleName": "./node_modules/lodash/_baseIsMap.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "module": "./node_modules/lodash/_baseIsSet.js", + "moduleName": "./node_modules/lodash/_baseIsSet.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "module": "./node_modules/lodash/isArguments.js", + "moduleName": "./node_modules/lodash/isArguments.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/isArrayLikeObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "module": "./node_modules/lodash/isArrayLikeObject.js", + "moduleName": "./node_modules/lodash/isArrayLikeObject.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "module": "./node_modules/lodash/isSymbol.js", + "moduleName": "./node_modules/lodash/isSymbol.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n" + }, + { + "id": "./node_modules/lodash/isPlainObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "name": "./node_modules/lodash/isPlainObject.js", + "index": 423, + "index2": 415, + "size": 1650, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isPlainObject", + "loc": "12:20-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n" + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "index": 295, + "index2": 286, + "size": 613, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isSet", + "loc": "20:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n" + }, + { + "id": "./node_modules/lodash/isString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "name": "./node_modules/lodash/isString.js", + "index": 356, + "index2": 347, + "size": 723, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "issuerId": "./node_modules/lodash/size.js", + "issuerName": "./node_modules/lodash/size.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./isString", + "loc": "4:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n" + }, + { + "id": "./node_modules/lodash/isSymbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "name": "./node_modules/lodash/isSymbol.js", + "index": 332, + "index2": 317, + "size": 682, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "issuerId": "./node_modules/lodash/_baseExtremum.js", + "issuerName": "./node_modules/lodash/_baseExtremum.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseExtremum.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "name": "./node_modules/lodash/_baseExtremum.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseExtremum.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "module": "./node_modules/lodash/_baseExtremum.js", + "moduleName": "./node_modules/lodash/_baseExtremum.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_compareAscending.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareAscending.js", + "module": "./node_modules/lodash/_compareAscending.js", + "moduleName": "./node_modules/lodash/_compareAscending.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "module": "./node_modules/lodash/_isKey.js", + "moduleName": "./node_modules/lodash/_isKey.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/_toKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toKey.js", + "module": "./node_modules/lodash/_toKey.js", + "moduleName": "./node_modules/lodash/_toKey.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "3:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n" + }, + { + "id": "./node_modules/lodash/isTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "name": "./node_modules/lodash/isTypedArray.js", + "index": 251, + "index2": 242, + "size": 695, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "issuerId": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "6:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "8:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "13:19-44" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "8:19-44" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "10:19-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n" + }, + { + "id": "./node_modules/lodash/isUndefined.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isUndefined.js", + "name": "./node_modules/lodash/isUndefined.js", + "index": 349, + "index2": 341, + "size": 416, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isUndefined", + "loc": "18:19-48" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isUndefined", + "loc": "16:19-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n" + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "index": 240, + "index2": 249, + "size": 884, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "issuerId": "./node_modules/lodash/values.js", + "issuerName": "./node_modules/lodash/values.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/keys", + "loc": "17:12-34" + }, + { + "moduleId": "./node_modules/lodash/_baseAssign.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "module": "./node_modules/lodash/_baseAssign.js", + "moduleName": "./node_modules/lodash/_baseAssign.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "21:11-28" + }, + { + "moduleId": "./node_modules/lodash/_baseForOwn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "module": "./node_modules/lodash/_baseForOwn.js", + "moduleName": "./node_modules/lodash/_baseForOwn.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "3:11-28" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "3:11-28" + }, + { + "moduleId": "./node_modules/lodash/_getMatchData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "module": "./node_modules/lodash/_getMatchData.js", + "moduleName": "./node_modules/lodash/_getMatchData.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "module": "./node_modules/lodash/values.js", + "moduleName": "./node_modules/lodash/values.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n" + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "index": 262, + "index2": 253, + "size": 778, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssignIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "module": "./node_modules/lodash/_baseAssignIn.js", + "moduleName": "./node_modules/lodash/_baseAssignIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "2:13-32" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "22:13-32" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "6:13-32" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "3:13-32" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "4:13-32" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "3:13-32" + }, + { + "moduleId": "./node_modules/lodash/toPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "module": "./node_modules/lodash/toPlainObject.js", + "moduleName": "./node_modules/lodash/toPlainObject.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "2:13-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n" + }, + { + "id": "./node_modules/lodash/last.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/last.js", + "name": "./node_modules/lodash/last.js", + "index": 414, + "index2": 409, + "size": 401, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/last", + "loc": "19:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n" + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "index": 350, + "index2": 343, + "size": 1621, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/map", + "loc": "20:11-32" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/map", + "loc": "18:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n" + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "index": 415, + "index2": 410, + "size": 1338, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/mapValues", + "loc": "21:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee');\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nmodule.exports = mapValues;\n" + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "index": 416, + "index2": 413, + "size": 614, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/max", + "loc": "22:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseGt = require('./_baseGt'),\n identity = require('./identity');\n\n/**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\nfunction max(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseGt)\n : undefined;\n}\n\nmodule.exports = max;\n" + }, + { + "id": "./node_modules/lodash/memoize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/memoize.js", + "name": "./node_modules/lodash/memoize.js", + "index": 335, + "index2": 319, + "size": 2224, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "issuerId": "./node_modules/lodash/_memoizeCapped.js", + "issuerName": "./node_modules/lodash/_memoizeCapped.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_memoizeCapped.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "name": "./node_modules/lodash/_memoizeCapped.js", + "profile": { + "factory": 4, + "building": 3 + } + } + ], + "profile": { + "factory": 1, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_memoizeCapped.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "module": "./node_modules/lodash/_memoizeCapped.js", + "moduleName": "./node_modules/lodash/_memoizeCapped.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n" + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "index": 419, + "index2": 421, + "size": 1220, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/merge", + "loc": "23:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n" + }, + { + "id": "./node_modules/lodash/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "name": "./node_modules/lodash/min.js", + "index": 427, + "index2": 423, + "size": 614, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/min", + "loc": "24:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseLt = require('./_baseLt'),\n identity = require('./identity');\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nmodule.exports = min;\n" + }, + { + "id": "./node_modules/lodash/minBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "name": "./node_modules/lodash/minBy.js", + "index": 429, + "index2": 424, + "size": 991, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/minBy", + "loc": "25:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n return (array && array.length)\n ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n : undefined;\n}\n\nmodule.exports = minBy;\n" + }, + { + "id": "./node_modules/lodash/noop.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/noop.js", + "name": "./node_modules/lodash/noop.js", + "index": 379, + "index2": 368, + "size": 250, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "issuerId": "./node_modules/lodash/_createSet.js", + "issuerName": "./node_modules/lodash/_createSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_createSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "name": "./node_modules/lodash/_createSet.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./noop", + "loc": "2:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n" + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "index": 430, + "index2": 425, + "size": 520, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/now", + "loc": "26:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n" + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "index": 431, + "index2": 430, + "size": 629, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/pick", + "loc": "27:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n" + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "index": 343, + "index2": 335, + "size": 793, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./property", + "loc": "5:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n" + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "index": 436, + "index2": 433, + "size": 1151, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/range", + "loc": "28:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var createRange = require('./_createRange');\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nmodule.exports = range;\n" + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "index": 352, + "index2": 346, + "size": 1806, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/reduce", + "loc": "29:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/reduce", + "loc": "19:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayReduce = require('./_arrayReduce'),\n baseEach = require('./_baseEach'),\n baseIteratee = require('./_baseIteratee'),\n baseReduce = require('./_baseReduce'),\n isArray = require('./isArray');\n\n/**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\nfunction reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n}\n\nmodule.exports = reduce;\n" + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "index": 355, + "index2": 352, + "size": 1137, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/size", + "loc": "20:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n stringSize = require('./_stringSize');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n" + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "index": 439, + "index2": 438, + "size": 1668, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/sortBy", + "loc": "30:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n" + }, + { + "id": "./node_modules/lodash/stubArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/stubArray.js", + "name": "./node_modules/lodash/stubArray.js", + "index": 270, + "index2": 258, + "size": 390, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "issuerId": "./node_modules/lodash/_getSymbolsIn.js", + "issuerName": "./node_modules/lodash/_getSymbolsIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_getSymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "name": "./node_modules/lodash/_getSymbolsIn.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 8, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "module": "./node_modules/lodash/_getSymbols.js", + "moduleName": "./node_modules/lodash/_getSymbols.js", + "type": "cjs require", + "userRequest": "./stubArray", + "loc": "2:16-38" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./stubArray", + "loc": "4:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n" + }, + { + "id": "./node_modules/lodash/stubFalse.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/stubFalse.js", + "name": "./node_modules/lodash/stubFalse.js", + "index": 249, + "index2": 235, + "size": 280, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "issuerId": "./node_modules/lodash/isBuffer.js", + "issuerName": "./node_modules/lodash/isBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "name": "./node_modules/lodash/isBuffer.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "./stubFalse", + "loc": "2:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n" + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "index": 408, + "index2": 403, + "size": 868, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "issuerId": "./node_modules/lodash/_createRange.js", + "issuerName": "./node_modules/lodash/_createRange.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 14 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./toFinite", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/toInteger.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toInteger.js", + "module": "./node_modules/lodash/toInteger.js", + "moduleName": "./node_modules/lodash/toInteger.js", + "type": "cjs require", + "userRequest": "./toFinite", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n" + }, + { + "id": "./node_modules/lodash/toInteger.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toInteger.js", + "name": "./node_modules/lodash/toInteger.js", + "index": 407, + "index2": 404, + "size": 760, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "issuerId": "./node_modules/lodash/findIndex.js", + "issuerName": "./node_modules/lodash/findIndex.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 266, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./toInteger", + "loc": "3:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n" + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "index": 409, + "index2": 402, + "size": 1519, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "issuerId": "./node_modules/lodash/toFinite.js", + "issuerName": "./node_modules/lodash/toFinite.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + } + ], + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toFinite.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "module": "./node_modules/lodash/toFinite.js", + "moduleName": "./node_modules/lodash/toFinite.js", + "type": "cjs require", + "userRequest": "./toNumber", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n" + }, + { + "id": "./node_modules/lodash/toPlainObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "name": "./node_modules/lodash/toPlainObject.js", + "index": 425, + "index2": 417, + "size": 744, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./toPlainObject", + "loc": "15:20-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n" + }, + { + "id": "./node_modules/lodash/toString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "name": "./node_modules/lodash/toString.js", + "index": 336, + "index2": 324, + "size": 580, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "issuerId": "./node_modules/lodash/uniqueId.js", + "issuerName": "./node_modules/lodash/uniqueId.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./toString", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/uniqueId.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "module": "./node_modules/lodash/uniqueId.js", + "moduleName": "./node_modules/lodash/uniqueId.js", + "type": "cjs require", + "userRequest": "./toString", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n" + }, + { + "id": "./node_modules/lodash/transform.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "name": "./node_modules/lodash/transform.js", + "index": 361, + "index2": 353, + "size": 2280, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/transform", + "loc": "21:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var arrayEach = require('./_arrayEach'),\n baseCreate = require('./_baseCreate'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee'),\n getPrototype = require('./_getPrototype'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isTypedArray = require('./isTypedArray');\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nmodule.exports = transform;\n" + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "index": 362, + "index2": 372, + "size": 749, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/union", + "loc": "22:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n baseUniq = require('./_baseUniq'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n" + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "index": 444, + "index2": 439, + "size": 562, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/uniqueId", + "loc": "31:16-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n" + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "index": 381, + "index2": 374, + "size": 733, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/values", + "loc": "32:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/values", + "loc": "23:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseValues = require('./_baseValues'),\n keys = require('./keys');\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n" + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "index": 445, + "index2": 441, + "size": 664, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/zipObject", + "loc": "33:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\n\n/**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n" + }, + { + "id": "./node_modules/parse-svg-path/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/parse-svg-path/index.js", + "name": "./node_modules/parse-svg-path/index.js", + "index": 140, + "index2": 137, + "size": 1204, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "parse-svg-path", + "loc": "1:12-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\nmodule.exports = parse\n\n/**\n * expected argument lengths\n * @type {Object}\n */\n\nvar length = {a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0}\n\n/**\n * segment pattern\n * @type {RegExp}\n */\n\nvar segment = /([astvzqmhlc])([^astvzqmhlc]*)/ig\n\n/**\n * parse an svg path data string. Generates an Array\n * of commands where each command is an Array of the\n * form `[command, arg1, arg2, ...]`\n *\n * @param {String} path\n * @return {Array}\n */\n\nfunction parse(path) {\n\tvar data = []\n\tpath.replace(segment, function(_, command, args){\n\t\tvar type = command.toLowerCase()\n\t\targs = parseValues(args)\n\n\t\t// overloaded moveTo\n\t\tif (type == 'm' && args.length > 2) {\n\t\t\tdata.push([command].concat(args.splice(0, 2)))\n\t\t\ttype = 'l'\n\t\t\tcommand = command == 'm' ? 'l' : 'L'\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (args.length == length[type]) {\n\t\t\t\targs.unshift(command)\n\t\t\t\treturn data.push(args)\n\t\t\t}\n\t\t\tif (args.length < length[type]) throw new Error('malformed path data')\n\t\t\tdata.push([command].concat(args.splice(0, length[type])))\n\t\t}\n\t})\n\treturn data\n}\n\nvar number = /-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?/ig\n\nfunction parseValues(args) {\n\tvar numbers = args.match(number)\n\treturn numbers ? numbers.map(Number) : []\n}\n" + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "index": 139, + "index2": 140, + "size": 6344, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "issuerId": "./src/connector/geojson.ts", + "issuerName": "./src/connector/geojson.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 495, + "building": 32 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "point-at-length", + "loc": "4:48-74" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "point-at-length", + "loc": "6:48-74" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "var parse = require('parse-svg-path');\r\nvar isarray = require('isarray');\r\nvar abs = require('abs-svg-path');\r\n\r\nmodule.exports = Points;\r\n\r\nfunction Points (path) {\r\n if (!(this instanceof Points)) return new Points(path);\r\n this._path = isarray(path) ? path : parse(path);\r\n this._path = abs(this._path);\r\n this._path = zvhToL(this._path);\r\n this._path = longhand(this._path);\r\n}\r\n\r\nPoints.prototype.at = function (pos, opts) {\r\n return this._walk(pos, opts).pos;\r\n};\r\n\r\nPoints.prototype.length = function () {\r\n return this._walk(null).length;\r\n};\r\n\r\nPoints.prototype._walk = function (pos, opts) {\r\n var cur = [ 0, 0 ];\r\n var prev = [ 0, 0, 0 ];\r\n var p0 = [ 0, 0 ];\r\n var len = 0;\r\n\r\n for (var i = 0; i < this._path.length; i++) {\r\n var p = this._path[i];\r\n if (p[0] === 'M') {\r\n cur[0] = p[1];\r\n cur[1] = p[2];\r\n if (pos === 0) {\r\n return { length: len, pos: cur };\r\n }\r\n }\r\n else if (p[0] === 'C') {\r\n prev[0] = p0[0] = cur[0];\r\n prev[1] = p0[1] = cur[1];\r\n prev[2] = len;\r\n\r\n var n = 100;\r\n for (var j = 0; j <= n; j++) {\r\n var t = j / n;\r\n var x = xof_C(p, t);\r\n var y = yof_C(p, t);\r\n len += dist(cur[0], cur[1], x, y);\r\n\r\n cur[0] = x;\r\n cur[1] = y;\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n else if (p[0] === 'Q') {\r\n prev[0] = p0[0] = cur[0];\r\n prev[1] = p0[1] = cur[1];\r\n prev[2] = len;\r\n\r\n var n = 100;\r\n for (var j = 0; j <= n; j++) {\r\n var t = j / n;\r\n var x = xof_Q(p, t);\r\n var y = yof_Q(p, t);\r\n len += dist(cur[0], cur[1], x, y);\r\n\r\n cur[0] = x;\r\n cur[1] = y;\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n else if (p[0] === 'L') {\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n\r\n len += dist(cur[0], cur[1], p[1], p[2]);\r\n cur[0] = p[1];\r\n cur[1] = p[2];\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n\r\n return { length: len, pos: cur };\r\n function xof_C (p, t) {\r\n return Math.pow((1-t), 3) * p0[0]\r\n + 3 * Math.pow((1-t), 2) * t * p[1]\r\n + 3 * (1-t) * Math.pow(t, 2) * p[3]\r\n + Math.pow(t, 3) * p[5]\r\n ;\r\n }\r\n function yof_C (p, t) {\r\n return Math.pow((1-t), 3) * p0[1]\r\n + 3 * Math.pow((1-t), 2) * t * p[2]\r\n + 3 * (1-t) * Math.pow(t, 2) * p[4]\r\n + Math.pow(t, 3) * p[6]\r\n ;\r\n }\r\n\r\n function xof_Q (p, t) {\r\n return Math.pow((1-t), 2) * p0[0]\r\n + 2 * (1-t) * t * p[1]\r\n + Math.pow(t, 2) * p[3]\r\n ;\r\n }\r\n function yof_Q (p, t) {\r\n return Math.pow((1-t), 2) * p0[1]\r\n + 2 * (1-t) * t * p[2]\r\n + Math.pow(t, 2) * p[4]\r\n ;\r\n }\r\n};\r\n\r\nfunction dist (ax, ay, bx, by) {\r\n var x = ax - bx;\r\n var y = ay - by;\r\n return Math.sqrt(x*x + y*y);\r\n}\r\n\r\n// Expand shorthand curve commands to full versions; mutates the path in place for efficiency\r\n// Requires commands have already been converted to absolute versions\r\nfunction longhand(path){\r\n var prev,x1=0,y1=0;\r\n var conversion = { S:{to:'C',x:3}, T:{to:'Q',x:1} };\r\n for(var i=0, len=path.length; i>} data - Pairs of observed x-y values\n * @param {Array>} results - Pairs of observed predicted x-y values\n *\n * @return {number} - The r^2 value, or NaN if one cannot be calculated.\n */\n function determinationCoefficient(data, results) {\n var predictions = [];\n var observations = [];\n\n data.forEach(function (d, i) {\n if (d[1] !== null) {\n observations.push(d);\n predictions.push(results[i]);\n }\n });\n\n var sum = observations.reduce(function (a, observation) {\n return a + observation[1];\n }, 0);\n var mean = sum / observations.length;\n\n var ssyy = observations.reduce(function (a, observation) {\n var difference = observation[1] - mean;\n return a + difference * difference;\n }, 0);\n\n var sse = observations.reduce(function (accum, observation, index) {\n var prediction = predictions[index];\n var residual = observation[1] - prediction[1];\n return accum + residual * residual;\n }, 0);\n\n return 1 - sse / ssyy;\n }\n\n /**\n * Determine the solution of a system of linear equations A * x = b using\n * Gaussian elimination.\n *\n * @param {Array>} input - A 2-d matrix of data in row-major form [ A | b ]\n * @param {number} order - How many degrees to solve for\n *\n * @return {Array} - Vector of normalized solution coefficients matrix (x)\n */\n function gaussianElimination(input, order) {\n var matrix = input;\n var n = input.length - 1;\n var coefficients = [order];\n\n for (var i = 0; i < n; i++) {\n var maxrow = i;\n for (var j = i + 1; j < n; j++) {\n if (Math.abs(matrix[i][j]) > Math.abs(matrix[i][maxrow])) {\n maxrow = j;\n }\n }\n\n for (var k = i; k < n + 1; k++) {\n var tmp = matrix[k][i];\n matrix[k][i] = matrix[k][maxrow];\n matrix[k][maxrow] = tmp;\n }\n\n for (var _j = i + 1; _j < n; _j++) {\n for (var _k = n; _k >= i; _k--) {\n matrix[_k][_j] -= matrix[_k][i] * matrix[i][_j] / matrix[i][i];\n }\n }\n }\n\n for (var _j2 = n - 1; _j2 >= 0; _j2--) {\n var total = 0;\n for (var _k2 = _j2 + 1; _k2 < n; _k2++) {\n total += matrix[_k2][_j2] * coefficients[_k2];\n }\n\n coefficients[_j2] = (matrix[n][_j2] - total) / matrix[_j2][_j2];\n }\n\n return coefficients;\n }\n\n /**\n * Round a number to a precision, specificed in number of decimal places\n *\n * @param {number} number - The number to round\n * @param {number} precision - The number of decimal places to round to:\n * > 0 means decimals, < 0 means powers of 10\n *\n *\n * @return {numbr} - The number, rounded\n */\n function round(number, precision) {\n var factor = Math.pow(10, precision);\n return Math.round(number * factor) / factor;\n }\n\n /**\n * The set of all fitting methods\n *\n * @namespace\n */\n var methods = {\n linear: function linear(data, options) {\n var sum = [0, 0, 0, 0, 0];\n var len = 0;\n\n for (var n = 0; n < data.length; n++) {\n if (data[n][1] !== null) {\n len++;\n sum[0] += data[n][0];\n sum[1] += data[n][1];\n sum[2] += data[n][0] * data[n][0];\n sum[3] += data[n][0] * data[n][1];\n sum[4] += data[n][1] * data[n][1];\n }\n }\n\n var run = len * sum[2] - sum[0] * sum[0];\n var rise = len * sum[3] - sum[0] * sum[1];\n var gradient = run === 0 ? 0 : round(rise / run, options.precision);\n var intercept = round(sum[1] / len - gradient * sum[0] / len, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(gradient * x + intercept, options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [gradient, intercept],\n r2: round(determinationCoefficient(data, points), options.precision),\n string: intercept === 0 ? 'y = ' + gradient + 'x' : 'y = ' + gradient + 'x + ' + intercept\n };\n },\n exponential: function exponential(data, options) {\n var sum = [0, 0, 0, 0, 0, 0];\n\n for (var n = 0; n < data.length; n++) {\n if (data[n][1] !== null) {\n sum[0] += data[n][0];\n sum[1] += data[n][1];\n sum[2] += data[n][0] * data[n][0] * data[n][1];\n sum[3] += data[n][1] * Math.log(data[n][1]);\n sum[4] += data[n][0] * data[n][1] * Math.log(data[n][1]);\n sum[5] += data[n][0] * data[n][1];\n }\n }\n\n var denominator = sum[1] * sum[2] - sum[5] * sum[5];\n var a = Math.exp((sum[2] * sum[3] - sum[5] * sum[4]) / denominator);\n var b = (sum[1] * sum[4] - sum[5] * sum[3]) / denominator;\n var coeffA = round(a, options.precision);\n var coeffB = round(b, options.precision);\n var predict = function predict(x) {\n return [round(x, options.precision), round(coeffA * Math.exp(coeffB * x), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + 'e^(' + coeffB + 'x)',\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n logarithmic: function logarithmic(data, options) {\n var sum = [0, 0, 0, 0];\n var len = data.length;\n\n for (var n = 0; n < len; n++) {\n if (data[n][1] !== null) {\n sum[0] += Math.log(data[n][0]);\n sum[1] += data[n][1] * Math.log(data[n][0]);\n sum[2] += data[n][1];\n sum[3] += Math.pow(Math.log(data[n][0]), 2);\n }\n }\n\n var a = (len * sum[1] - sum[2] * sum[0]) / (len * sum[3] - sum[0] * sum[0]);\n var coeffB = round(a, options.precision);\n var coeffA = round((sum[2] - coeffB * sum[0]) / len, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(round(coeffA + coeffB * Math.log(x), options.precision), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + ' + ' + coeffB + ' ln(x)',\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n power: function power(data, options) {\n var sum = [0, 0, 0, 0, 0];\n var len = data.length;\n\n for (var n = 0; n < len; n++) {\n if (data[n][1] !== null) {\n sum[0] += Math.log(data[n][0]);\n sum[1] += Math.log(data[n][1]) * Math.log(data[n][0]);\n sum[2] += Math.log(data[n][1]);\n sum[3] += Math.pow(Math.log(data[n][0]), 2);\n }\n }\n\n var b = (len * sum[1] - sum[0] * sum[2]) / (len * sum[3] - Math.pow(sum[0], 2));\n var a = (sum[2] - b * sum[0]) / len;\n var coeffA = round(Math.exp(a), options.precision);\n var coeffB = round(b, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(round(coeffA * Math.pow(x, coeffB), options.precision), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + 'x^' + coeffB,\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n polynomial: function polynomial(data, options) {\n var lhs = [];\n var rhs = [];\n var a = 0;\n var b = 0;\n var len = data.length;\n var k = options.order + 1;\n\n for (var i = 0; i < k; i++) {\n for (var l = 0; l < len; l++) {\n if (data[l][1] !== null) {\n a += Math.pow(data[l][0], i) * data[l][1];\n }\n }\n\n lhs.push(a);\n a = 0;\n\n var c = [];\n for (var j = 0; j < k; j++) {\n for (var _l = 0; _l < len; _l++) {\n if (data[_l][1] !== null) {\n b += Math.pow(data[_l][0], i + j);\n }\n }\n c.push(b);\n b = 0;\n }\n rhs.push(c);\n }\n rhs.push(lhs);\n\n var coefficients = gaussianElimination(rhs, k).map(function (v) {\n return round(v, options.precision);\n });\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(coefficients.reduce(function (sum, coeff, power) {\n return sum + coeff * Math.pow(x, power);\n }, 0), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n var string = 'y = ';\n for (var _i = coefficients.length - 1; _i >= 0; _i--) {\n if (_i > 1) {\n string += coefficients[_i] + 'x^' + _i + ' + ';\n } else if (_i === 1) {\n string += coefficients[_i] + 'x + ';\n } else {\n string += coefficients[_i];\n }\n }\n\n return {\n string: string,\n points: points,\n predict: predict,\n equation: [].concat(_toConsumableArray(coefficients)).reverse(),\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n }\n };\n\n function createWrapper() {\n var reduce = function reduce(accumulator, name) {\n return _extends({\n _round: round\n }, accumulator, _defineProperty({}, name, function (data, supplied) {\n return methods[name](data, _extends({}, DEFAULT_OPTIONS, supplied));\n }));\n };\n\n return Object.keys(methods).reduce(reduce, {});\n }\n\n module.exports = createWrapper();\n});\n" + }, + { + "id": "./node_modules/simple-statistics/dist/simple-statistics.min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/simple-statistics/dist/simple-statistics.min.js", + "name": "./node_modules/simple-statistics/dist/simple-statistics.min.js", + "index": 130, + "index2": 128, + "size": 19861, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "4:44-72" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "6:44-72" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:44-72" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "14:26-54" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "11:26-54" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/util/bandwidth.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/bandwidth.ts", + "module": "./src/util/bandwidth.ts", + "moduleName": "./src/util/bandwidth.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "4:26-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "!function(t,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?r(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],r):r(t.ss={})}(this,function(t){\"use strict\";function r(t){if(0===t.length)return 0;for(var r,n=t[0],e=0,a=1;a=Math.abs(t[a])?e+=n-r+t[a]:e+=t[a]-r+n,n=r;return n+e}function g(t){if(0===t.length)throw new Error(\"mean requires at least one data point\");return r(t)/t.length}function n(t,r){var n,e,a=g(t),o=0;if(2===r)for(e=0;er&&(r=t[n]);return r}function i(t,r){var n=t.length*r;if(0===t.length)throw new Error(\"quantile requires at least one data point.\");if(r<0||1f&&p(t,n,e);sf;)l--}t[n]===f?p(t,n,l):p(t,++l,e),l<=r&&(n=l+1),r<=l&&(e=l-1)}}function p(t,r,n){var e=t[r];t[r]=t[n],t[n]=e}function s(t,r){var n=t.slice();if(Array.isArray(r)){!function(t,r){for(var n=[0],e=0;et[t.length-1])return 1;var n=function(t,r){var n=0,e=0,a=t.length;for(;e>>1]?a=n:e=-~n;return e}(t,r);if(t[n]!==r)return n/t.length;n++;var e=function(t,r){var n=0,e=0,a=t.length;for(;e=t[n=e+a>>>1]?e=-~n:a=n;return e}(t,r);if(e===n)return n/t.length;var a=e-n+1;return a*(e+n)/2/a/t.length}function m(t){var r=s(t,.75),n=s(t,.25);if(\"number\"==typeof r&&\"number\"==typeof n)return r-n}function d(t){return+s(t,.5)}function b(t){for(var r=d(t),n=[],e=0;e=e[n][u]);--g)(s=x(h,u,o,i)+e[n-1][h-1])n&&(n=t[e]),t[e]t.length)throw new Error(\"cannot generate more classes than there are data values\");var n=f(t);if(1===y(n))return[n];var e=S(r,n.length),a=S(r,n.length);!function(t,r,n){for(var e,a=r[0].length,o=t[Math.floor(a/2)],i=[],u=[],h=0;h=Math.abs(a)&&(c+=1);else if(\"greater\"===n)for(h=0;h<=e;h++)o[h]>=a&&(c+=1);else for(h=0;h<=e;h++)o[h]<=a&&(c+=1);return c/e},t.bisect=function(t,r,n,e,a){if(\"function\"!=typeof t)throw new TypeError(\"func must be a function\");for(var o=0;o x1) x1 = p[0];\n if (p[1] < y0) y0 = p[1];\n if (p[1] > y1) y1 = p[1];\n }\n\n function bboxGeometry(o) {\n switch (o.type) {\n case \"GeometryCollection\": o.geometries.forEach(bboxGeometry); break;\n case \"Point\": bboxPoint(o.coordinates); break;\n case \"MultiPoint\": o.coordinates.forEach(bboxPoint); break;\n }\n }\n\n topology.arcs.forEach(function(arc) {\n var i = -1, n = arc.length, p;\n while (++i < n) {\n p = t(arc[i], i);\n if (p[0] < x0) x0 = p[0];\n if (p[0] > x1) x1 = p[0];\n if (p[1] < y0) y0 = p[1];\n if (p[1] > y1) y1 = p[1];\n }\n });\n\n for (key in topology.objects) {\n bboxGeometry(topology.objects[key]);\n }\n\n return [x0, y0, x1, y1];\n}\n\nfunction reverse(array, n) {\n var t, j = array.length, i = j - n;\n while (i < --j) t = array[i], array[i++] = array[j], array[j] = t;\n}\n\nfunction feature(topology, o) {\n if (typeof o === \"string\") o = topology.objects[o];\n return o.type === \"GeometryCollection\"\n ? {type: \"FeatureCollection\", features: o.geometries.map(function(o) { return feature$1(topology, o); })}\n : feature$1(topology, o);\n}\n\nfunction feature$1(topology, o) {\n var id = o.id,\n bbox = o.bbox,\n properties = o.properties == null ? {} : o.properties,\n geometry = object(topology, o);\n return id == null && bbox == null ? {type: \"Feature\", properties: properties, geometry: geometry}\n : bbox == null ? {type: \"Feature\", id: id, properties: properties, geometry: geometry}\n : {type: \"Feature\", id: id, bbox: bbox, properties: properties, geometry: geometry};\n}\n\nfunction object(topology, o) {\n var transformPoint = transform(topology.transform),\n arcs = topology.arcs;\n\n function arc(i, points) {\n if (points.length) points.pop();\n for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length; k < n; ++k) {\n points.push(transformPoint(a[k], k));\n }\n if (i < 0) reverse(points, n);\n }\n\n function point(p) {\n return transformPoint(p);\n }\n\n function line(arcs) {\n var points = [];\n for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);\n if (points.length < 2) points.push(points[0]); // This should never happen per the specification.\n return points;\n }\n\n function ring(arcs) {\n var points = line(arcs);\n while (points.length < 4) points.push(points[0]); // This may happen if an arc has only two points.\n return points;\n }\n\n function polygon(arcs) {\n return arcs.map(ring);\n }\n\n function geometry(o) {\n var type = o.type, coordinates;\n switch (type) {\n case \"GeometryCollection\": return {type: type, geometries: o.geometries.map(geometry)};\n case \"Point\": coordinates = point(o.coordinates); break;\n case \"MultiPoint\": coordinates = o.coordinates.map(point); break;\n case \"LineString\": coordinates = line(o.arcs); break;\n case \"MultiLineString\": coordinates = o.arcs.map(line); break;\n case \"Polygon\": coordinates = polygon(o.arcs); break;\n case \"MultiPolygon\": coordinates = o.arcs.map(polygon); break;\n default: return null;\n }\n return {type: type, coordinates: coordinates};\n }\n\n return geometry(o);\n}\n\nfunction stitch(topology, arcs) {\n var stitchedArcs = {},\n fragmentByStart = {},\n fragmentByEnd = {},\n fragments = [],\n emptyIndex = -1;\n\n // Stitch empty arcs first, since they may be subsumed by other arcs.\n arcs.forEach(function(i, j) {\n var arc = topology.arcs[i < 0 ? ~i : i], t;\n if (arc.length < 3 && !arc[1][0] && !arc[1][1]) {\n t = arcs[++emptyIndex], arcs[emptyIndex] = i, arcs[j] = t;\n }\n });\n\n arcs.forEach(function(i) {\n var e = ends(i),\n start = e[0],\n end = e[1],\n f, g;\n\n if (f = fragmentByEnd[start]) {\n delete fragmentByEnd[f.end];\n f.push(i);\n f.end = end;\n if (g = fragmentByStart[end]) {\n delete fragmentByStart[g.start];\n var fg = g === f ? f : f.concat(g);\n fragmentByStart[fg.start = f.start] = fragmentByEnd[fg.end = g.end] = fg;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else if (f = fragmentByStart[end]) {\n delete fragmentByStart[f.start];\n f.unshift(i);\n f.start = start;\n if (g = fragmentByEnd[start]) {\n delete fragmentByEnd[g.end];\n var gf = g === f ? f : g.concat(f);\n fragmentByStart[gf.start = g.start] = fragmentByEnd[gf.end = f.end] = gf;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else {\n f = [i];\n fragmentByStart[f.start = start] = fragmentByEnd[f.end = end] = f;\n }\n });\n\n function ends(i) {\n var arc = topology.arcs[i < 0 ? ~i : i], p0 = arc[0], p1;\n if (topology.transform) p1 = [0, 0], arc.forEach(function(dp) { p1[0] += dp[0], p1[1] += dp[1]; });\n else p1 = arc[arc.length - 1];\n return i < 0 ? [p1, p0] : [p0, p1];\n }\n\n function flush(fragmentByEnd, fragmentByStart) {\n for (var k in fragmentByEnd) {\n var f = fragmentByEnd[k];\n delete fragmentByStart[f.start];\n delete f.start;\n delete f.end;\n f.forEach(function(i) { stitchedArcs[i < 0 ? ~i : i] = 1; });\n fragments.push(f);\n }\n }\n\n flush(fragmentByEnd, fragmentByStart);\n flush(fragmentByStart, fragmentByEnd);\n arcs.forEach(function(i) { if (!stitchedArcs[i < 0 ? ~i : i]) fragments.push([i]); });\n\n return fragments;\n}\n\nfunction mesh(topology) {\n return object(topology, meshArcs.apply(this, arguments));\n}\n\nfunction meshArcs(topology, object, filter) {\n var arcs, i, n;\n if (arguments.length > 1) arcs = extractArcs(topology, object, filter);\n else for (i = 0, arcs = new Array(n = topology.arcs.length); i < n; ++i) arcs[i] = i;\n return {type: \"MultiLineString\", arcs: stitch(topology, arcs)};\n}\n\nfunction extractArcs(topology, object, filter) {\n var arcs = [],\n geomsByArc = [],\n geom;\n\n function extract0(i) {\n var j = i < 0 ? ~i : i;\n (geomsByArc[j] || (geomsByArc[j] = [])).push({i: i, g: geom});\n }\n\n function extract1(arcs) {\n arcs.forEach(extract0);\n }\n\n function extract2(arcs) {\n arcs.forEach(extract1);\n }\n\n function extract3(arcs) {\n arcs.forEach(extract2);\n }\n\n function geometry(o) {\n switch (geom = o, o.type) {\n case \"GeometryCollection\": o.geometries.forEach(geometry); break;\n case \"LineString\": extract1(o.arcs); break;\n case \"MultiLineString\": case \"Polygon\": extract2(o.arcs); break;\n case \"MultiPolygon\": extract3(o.arcs); break;\n }\n }\n\n geometry(object);\n\n geomsByArc.forEach(filter == null\n ? function(geoms) { arcs.push(geoms[0].i); }\n : function(geoms) { if (filter(geoms[0].g, geoms[geoms.length - 1].g)) arcs.push(geoms[0].i); });\n\n return arcs;\n}\n\nfunction planarRingArea(ring) {\n var i = -1, n = ring.length, a, b = ring[n - 1], area = 0;\n while (++i < n) a = b, b = ring[i], area += a[0] * b[1] - a[1] * b[0];\n return Math.abs(area); // Note: doubled area!\n}\n\nfunction merge(topology) {\n return object(topology, mergeArcs.apply(this, arguments));\n}\n\nfunction mergeArcs(topology, objects) {\n var polygonsByArc = {},\n polygons = [],\n groups = [];\n\n objects.forEach(geometry);\n\n function geometry(o) {\n switch (o.type) {\n case \"GeometryCollection\": o.geometries.forEach(geometry); break;\n case \"Polygon\": extract(o.arcs); break;\n case \"MultiPolygon\": o.arcs.forEach(extract); break;\n }\n }\n\n function extract(polygon) {\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n (polygonsByArc[arc = arc < 0 ? ~arc : arc] || (polygonsByArc[arc] = [])).push(polygon);\n });\n });\n polygons.push(polygon);\n }\n\n function area(ring) {\n return planarRingArea(object(topology, {type: \"Polygon\", arcs: [ring]}).coordinates[0]);\n }\n\n polygons.forEach(function(polygon) {\n if (!polygon._) {\n var group = [],\n neighbors = [polygon];\n polygon._ = 1;\n groups.push(group);\n while (polygon = neighbors.pop()) {\n group.push(polygon);\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n polygonsByArc[arc < 0 ? ~arc : arc].forEach(function(polygon) {\n if (!polygon._) {\n polygon._ = 1;\n neighbors.push(polygon);\n }\n });\n });\n });\n }\n }\n });\n\n polygons.forEach(function(polygon) {\n delete polygon._;\n });\n\n return {\n type: \"MultiPolygon\",\n arcs: groups.map(function(polygons) {\n var arcs = [], n;\n\n // Extract the exterior (unique) arcs.\n polygons.forEach(function(polygon) {\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n if (polygonsByArc[arc < 0 ? ~arc : arc].length < 2) {\n arcs.push(arc);\n }\n });\n });\n });\n\n // Stitch the arcs into one or more rings.\n arcs = stitch(topology, arcs);\n\n // If more than one ring is returned,\n // at most one of these rings can be the exterior;\n // choose the one with the greatest absolute area.\n if ((n = arcs.length) > 1) {\n for (var i = 1, k = area(arcs[0]), ki, t; i < n; ++i) {\n if ((ki = area(arcs[i])) > k) {\n t = arcs[0], arcs[0] = arcs[i], arcs[i] = t, k = ki;\n }\n }\n }\n\n return arcs;\n }).filter(function(arcs) {\n return arcs.length > 0;\n })\n };\n}\n\nfunction bisect(a, x) {\n var lo = 0, hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (a[mid] < x) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n}\n\nfunction neighbors(objects) {\n var indexesByArc = {}, // arc index -> array of object indexes\n neighbors = objects.map(function() { return []; });\n\n function line(arcs, i) {\n arcs.forEach(function(a) {\n if (a < 0) a = ~a;\n var o = indexesByArc[a];\n if (o) o.push(i);\n else indexesByArc[a] = [i];\n });\n }\n\n function polygon(arcs, i) {\n arcs.forEach(function(arc) { line(arc, i); });\n }\n\n function geometry(o, i) {\n if (o.type === \"GeometryCollection\") o.geometries.forEach(function(o) { geometry(o, i); });\n else if (o.type in geometryType) geometryType[o.type](o.arcs, i);\n }\n\n var geometryType = {\n LineString: line,\n MultiLineString: polygon,\n Polygon: polygon,\n MultiPolygon: function(arcs, i) { arcs.forEach(function(arc) { polygon(arc, i); }); }\n };\n\n objects.forEach(geometry);\n\n for (var i in indexesByArc) {\n for (var indexes = indexesByArc[i], m = indexes.length, j = 0; j < m; ++j) {\n for (var k = j + 1; k < m; ++k) {\n var ij = indexes[j], ik = indexes[k], n;\n if ((n = neighbors[ij])[i = bisect(n, ik)] !== ik) n.splice(i, 0, ik);\n if ((n = neighbors[ik])[i = bisect(n, ij)] !== ij) n.splice(i, 0, ij);\n }\n }\n }\n\n return neighbors;\n}\n\nfunction untransform(transform) {\n if (transform == null) return identity;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function(input, i) {\n if (!i) x0 = y0 = 0;\n var j = 2,\n n = input.length,\n output = new Array(n),\n x1 = Math.round((input[0] - dx) / kx),\n y1 = Math.round((input[1] - dy) / ky);\n output[0] = x1 - x0, x0 = x1;\n output[1] = y1 - y0, y0 = y1;\n while (j < n) output[j] = input[j], ++j;\n return output;\n };\n}\n\nfunction quantize(topology, transform) {\n if (topology.transform) throw new Error(\"already quantized\");\n\n if (!transform || !transform.scale) {\n if (!((n = Math.floor(transform)) >= 2)) throw new Error(\"n must be ≥2\");\n box = topology.bbox || bbox(topology);\n var x0 = box[0], y0 = box[1], x1 = box[2], y1 = box[3], n;\n transform = {scale: [x1 - x0 ? (x1 - x0) / (n - 1) : 1, y1 - y0 ? (y1 - y0) / (n - 1) : 1], translate: [x0, y0]};\n } else {\n box = topology.bbox;\n }\n\n var t = untransform(transform), box, key, inputs = topology.objects, outputs = {};\n\n function quantizePoint(point) {\n return t(point);\n }\n\n function quantizeGeometry(input) {\n var output;\n switch (input.type) {\n case \"GeometryCollection\": output = {type: \"GeometryCollection\", geometries: input.geometries.map(quantizeGeometry)}; break;\n case \"Point\": output = {type: \"Point\", coordinates: quantizePoint(input.coordinates)}; break;\n case \"MultiPoint\": output = {type: \"MultiPoint\", coordinates: input.coordinates.map(quantizePoint)}; break;\n default: return input;\n }\n if (input.id != null) output.id = input.id;\n if (input.bbox != null) output.bbox = input.bbox;\n if (input.properties != null) output.properties = input.properties;\n return output;\n }\n\n function quantizeArc(input) {\n var i = 0, j = 1, n = input.length, p, output = new Array(n); // pessimistic\n output[0] = t(input[0], 0);\n while (++i < n) if ((p = t(input[i], i))[0] || p[1]) output[j++] = p; // non-coincident points\n if (j === 1) output[j++] = [0, 0]; // an arc must have at least two points\n output.length = j;\n return output;\n }\n\n for (key in inputs) outputs[key] = quantizeGeometry(inputs[key]);\n\n return {\n type: \"Topology\",\n bbox: box,\n transform: transform,\n objects: outputs,\n arcs: topology.arcs.map(quantizeArc)\n };\n}\n\nexports.bbox = bbox;\nexports.feature = feature;\nexports.merge = merge;\nexports.mergeArcs = mergeArcs;\nexports.mesh = mesh;\nexports.meshArcs = meshArcs;\nexports.neighbors = neighbors;\nexports.quantize = quantize;\nexports.transform = transform;\nexports.untransform = untransform;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n}));\n" + }, + { + "id": "./node_modules/tslib/tslib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "index": 2, + "index2": 1, + "size": 20563, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "module": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "moduleName": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "7:14-30" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/get-series-values.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-series-values.ts", + "module": "./src/util/get-series-values.ts", + "moduleName": "./src/util/get-series-values.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/tag-cloud.ts", + "module": "./src/util/tag-cloud.ts", + "moduleName": "./src/util/tag-cloud.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "9:14-30" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, Symbol, Reflect, Promise, SuppressedError */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __esDecorate;\r\nvar __runInitializers;\r\nvar __propKey;\r\nvar __setFunctionName;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __classPrivateFieldIn;\r\nvar __createBinding;\r\nvar __addDisposableResource;\r\nvar __disposeResources;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n };\r\n\r\n __runInitializers = function (thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n };\r\n\r\n __propKey = function (x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n };\r\n\r\n __setFunctionName = function (f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n __classPrivateFieldIn = function (state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n };\r\n\r\n __addDisposableResource = function (env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n };\r\n\r\n var _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n };\r\n\r\n __disposeResources = function (env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__esDecorate\", __esDecorate);\r\n exporter(\"__runInitializers\", __runInitializers);\r\n exporter(\"__propKey\", __propKey);\r\n exporter(\"__setFunctionName\", __setFunctionName);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n exporter(\"__classPrivateFieldIn\", __classPrivateFieldIn);\r\n exporter(\"__addDisposableResource\", __addDisposableResource);\r\n exporter(\"__disposeResources\", __disposeResources);\r\n});\r\n" + }, + { + "id": "./node_modules/webpack/buildin/global.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/webpack/buildin/global.js", + "name": "(webpack)/buildin/global.js", + "index": 3, + "index2": 0, + "size": 472, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "issuerId": "./node_modules/tslib/tslib.js", + "issuerName": "./node_modules/tslib/tslib.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/tslib/tslib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1543, + "building": 12 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_freeGlobal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_freeGlobal.js", + "module": "./node_modules/lodash/_freeGlobal.js", + "moduleName": "./node_modules/lodash/_freeGlobal.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/tslib/tslib.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "module": "./node_modules/tslib/tslib.js", + "moduleName": "./node_modules/tslib/tslib.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + }, + { + "id": "./node_modules/webpack/buildin/module.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/webpack/buildin/module.js", + "name": "(webpack)/buildin/module.js", + "index": 248, + "index2": 234, + "size": 497, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "issuerId": "./node_modules/lodash/_cloneBuffer.js", + "issuerName": "./node_modules/lodash/_cloneBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_cloneBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "name": "./node_modules/lodash/_cloneBuffer.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "module": "./node_modules/lodash/_cloneBuffer.js", + "moduleName": "./node_modules/lodash/_cloneBuffer.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/lodash/_nodeUtil.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "module": "./node_modules/lodash/_nodeUtil.js", + "moduleName": "./node_modules/lodash/_nodeUtil.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" + }, + { + "id": "./node_modules/wolfy87-eventemitter/EventEmitter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/wolfy87-eventemitter/EventEmitter.js", + "name": "./node_modules/wolfy87-eventemitter/EventEmitter.js", + "index": 119, + "index2": 116, + "size": 18855, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "issuerId": "./src/data-set.ts", + "issuerName": "./src/data-set.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/data-set.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "name": "./src/data-set.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 560, + "building": 31 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "wolfy87-eventemitter", + "loc": "9:53-84" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "wolfy87-eventemitter", + "loc": "5:53-84" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/*!\n * EventEmitter v5.2.9 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - https://oli.me.uk/\n * @preserve\n */\n\n;(function (exports) {\n 'use strict';\n\n /**\n * Class for managing events.\n * Can be extended to provide event functionality in other classes.\n *\n * @class EventEmitter Manages event registering and emitting.\n */\n function EventEmitter() {}\n\n // Shortcuts to improve speed and size\n var proto = EventEmitter.prototype;\n var originalGlobalValue = exports.EventEmitter;\n\n /**\n * Finds the index of the listener for the event in its storage array.\n *\n * @param {Function[]} listeners Array of listeners to search through.\n * @param {Function} listener Method to look for.\n * @return {Number} Index of the specified listener, -1 if not found\n * @api private\n */\n function indexOfListener(listeners, listener) {\n var i = listeners.length;\n while (i--) {\n if (listeners[i].listener === listener) {\n return i;\n }\n }\n\n return -1;\n }\n\n /**\n * Alias a method while keeping the context correct, to allow for overwriting of target method.\n *\n * @param {String} name The name of the target method.\n * @return {Function} The aliased method\n * @api private\n */\n function alias(name) {\n return function aliasClosure() {\n return this[name].apply(this, arguments);\n };\n }\n\n /**\n * Returns the listener array for the specified event.\n * Will initialise the event object and listener arrays if required.\n * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.\n * Each property in the object response is an array of listener functions.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Function[]|Object} All listener functions for the event.\n */\n proto.getListeners = function getListeners(evt) {\n var events = this._getEvents();\n var response;\n var key;\n\n // Return a concatenated array of all matching events if\n // the selector is a regular expression.\n if (evt instanceof RegExp) {\n response = {};\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n response[key] = events[key];\n }\n }\n }\n else {\n response = events[evt] || (events[evt] = []);\n }\n\n return response;\n };\n\n /**\n * Takes a list of listener objects and flattens it into a list of listener functions.\n *\n * @param {Object[]} listeners Raw listener objects.\n * @return {Function[]} Just the listener functions.\n */\n proto.flattenListeners = function flattenListeners(listeners) {\n var flatListeners = [];\n var i;\n\n for (i = 0; i < listeners.length; i += 1) {\n flatListeners.push(listeners[i].listener);\n }\n\n return flatListeners;\n };\n\n /**\n * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Object} All listener functions for an event in an object.\n */\n proto.getListenersAsObject = function getListenersAsObject(evt) {\n var listeners = this.getListeners(evt);\n var response;\n\n if (listeners instanceof Array) {\n response = {};\n response[evt] = listeners;\n }\n\n return response || listeners;\n };\n\n function isValidListener (listener) {\n if (typeof listener === 'function' || listener instanceof RegExp) {\n return true\n } else if (listener && typeof listener === 'object') {\n return isValidListener(listener.listener)\n } else {\n return false\n }\n }\n\n /**\n * Adds a listener function to the specified event.\n * The listener will not be added if it is a duplicate.\n * If the listener returns true then it will be removed after it is called.\n * If you pass a regular expression as the event name then the listener will be added to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListener = function addListener(evt, listener) {\n if (!isValidListener(listener)) {\n throw new TypeError('listener must be a function');\n }\n\n var listeners = this.getListenersAsObject(evt);\n var listenerIsWrapped = typeof listener === 'object';\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {\n listeners[key].push(listenerIsWrapped ? listener : {\n listener: listener,\n once: false\n });\n }\n }\n\n return this;\n };\n\n /**\n * Alias of addListener\n */\n proto.on = alias('addListener');\n\n /**\n * Semi-alias of addListener. It will add a listener that will be\n * automatically removed after its first execution.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addOnceListener = function addOnceListener(evt, listener) {\n return this.addListener(evt, {\n listener: listener,\n once: true\n });\n };\n\n /**\n * Alias of addOnceListener.\n */\n proto.once = alias('addOnceListener');\n\n /**\n * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.\n * You need to tell it what event names should be matched by a regex.\n *\n * @param {String} evt Name of the event to create.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvent = function defineEvent(evt) {\n this.getListeners(evt);\n return this;\n };\n\n /**\n * Uses defineEvent to define multiple events.\n *\n * @param {String[]} evts An array of event names to define.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvents = function defineEvents(evts) {\n for (var i = 0; i < evts.length; i += 1) {\n this.defineEvent(evts[i]);\n }\n return this;\n };\n\n /**\n * Removes a listener function from the specified event.\n * When passed a regular expression as the event name, it will remove the listener from all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to remove the listener from.\n * @param {Function} listener Method to remove from the event.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListener = function removeListener(evt, listener) {\n var listeners = this.getListenersAsObject(evt);\n var index;\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key)) {\n index = indexOfListener(listeners[key], listener);\n\n if (index !== -1) {\n listeners[key].splice(index, 1);\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of removeListener\n */\n proto.off = alias('removeListener');\n\n /**\n * Adds listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.\n * You can also pass it a regular expression to add the array of listeners to all events that match it.\n * Yeah, this function does quite a bit. That's probably a bad thing.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListeners = function addListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(false, evt, listeners);\n };\n\n /**\n * Removes listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be removed.\n * You can also pass it a regular expression to remove the listeners from all events that match it.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListeners = function removeListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(true, evt, listeners);\n };\n\n /**\n * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.\n * The first argument will determine if the listeners are removed (true) or added (false).\n * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be added/removed.\n * You can also pass it a regular expression to manipulate the listeners of all events that match it.\n *\n * @param {Boolean} remove True if you want to remove listeners, false if you want to add.\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add/remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {\n var i;\n var value;\n var single = remove ? this.removeListener : this.addListener;\n var multiple = remove ? this.removeListeners : this.addListeners;\n\n // If evt is an object then pass each of its properties to this method\n if (typeof evt === 'object' && !(evt instanceof RegExp)) {\n for (i in evt) {\n if (evt.hasOwnProperty(i) && (value = evt[i])) {\n // Pass the single listener straight through to the singular method\n if (typeof value === 'function') {\n single.call(this, i, value);\n }\n else {\n // Otherwise pass back to the multiple function\n multiple.call(this, i, value);\n }\n }\n }\n }\n else {\n // So evt must be a string\n // And listeners must be an array of listeners\n // Loop over it and pass each one to the multiple method\n i = listeners.length;\n while (i--) {\n single.call(this, evt, listeners[i]);\n }\n }\n\n return this;\n };\n\n /**\n * Removes all listeners from a specified event.\n * If you do not specify an event then all listeners will be removed.\n * That means every event will be emptied.\n * You can also pass a regex to remove all events that match it.\n *\n * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeEvent = function removeEvent(evt) {\n var type = typeof evt;\n var events = this._getEvents();\n var key;\n\n // Remove different things depending on the state of evt\n if (type === 'string') {\n // Remove all listeners for the specified event\n delete events[evt];\n }\n else if (evt instanceof RegExp) {\n // Remove all events matching the regex.\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n delete events[key];\n }\n }\n }\n else {\n // Remove all listeners in all events\n delete this._events;\n }\n\n return this;\n };\n\n /**\n * Alias of removeEvent.\n *\n * Added to mirror the node API.\n */\n proto.removeAllListeners = alias('removeEvent');\n\n /**\n * Emits an event of your choice.\n * When emitted, every listener attached to that event will be executed.\n * If you pass the optional argument array then those arguments will be passed to every listener upon execution.\n * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.\n * So they will not arrive within the array on the other side, they will be separate.\n * You can also pass a regular expression to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {Array} [args] Optional array of arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emitEvent = function emitEvent(evt, args) {\n var listenersMap = this.getListenersAsObject(evt);\n var listeners;\n var listener;\n var i;\n var key;\n var response;\n\n for (key in listenersMap) {\n if (listenersMap.hasOwnProperty(key)) {\n listeners = listenersMap[key].slice(0);\n\n for (i = 0; i < listeners.length; i++) {\n // If the listener returns true then it shall be removed from the event\n // The function is executed either with a basic call or an apply if there is an args array\n listener = listeners[i];\n\n if (listener.once === true) {\n this.removeListener(evt, listener.listener);\n }\n\n response = listener.listener.apply(this, args || []);\n\n if (response === this._getOnceReturnValue()) {\n this.removeListener(evt, listener.listener);\n }\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of emitEvent\n */\n proto.trigger = alias('emitEvent');\n\n /**\n * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.\n * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {...*} Optional additional arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emit = function emit(evt) {\n var args = Array.prototype.slice.call(arguments, 1);\n return this.emitEvent(evt, args);\n };\n\n /**\n * Sets the current value to check against when executing listeners. If a\n * listeners return value matches the one set here then it will be removed\n * after execution. This value defaults to true.\n *\n * @param {*} value The new value to check for when executing listeners.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.setOnceReturnValue = function setOnceReturnValue(value) {\n this._onceReturnValue = value;\n return this;\n };\n\n /**\n * Fetches the current value to check against when executing listeners. If\n * the listeners return value matches this one then it should be removed\n * automatically. It will return true by default.\n *\n * @return {*|Boolean} The current value to check for or the default, true.\n * @api private\n */\n proto._getOnceReturnValue = function _getOnceReturnValue() {\n if (this.hasOwnProperty('_onceReturnValue')) {\n return this._onceReturnValue;\n }\n else {\n return true;\n }\n };\n\n /**\n * Fetches the events object and creates one if required.\n *\n * @return {Object} The events storage object.\n * @api private\n */\n proto._getEvents = function _getEvents() {\n return this._events || (this._events = {});\n };\n\n /**\n * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.\n *\n * @return {Function} Non conflicting EventEmitter class.\n */\n EventEmitter.noConflict = function noConflict() {\n exports.EventEmitter = originalGlobalValue;\n return EventEmitter;\n };\n\n // Expose the class either via AMD, CommonJS or the global object\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return EventEmitter;\n });\n }\n else if (typeof module === 'object' && module.exports){\n module.exports = EventEmitter;\n }\n else {\n exports.EventEmitter = EventEmitter;\n }\n}(typeof window !== 'undefined' ? window : this || {}));\n" + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "index": 1, + "index2": 123, + "size": 3104, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/geo", + "loc": "3:0-20" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar d3_geo_projection_1 = require(\"d3-geo-projection\");\nvar view_1 = require(\"../view\");\nvar get_geo_projection_1 = tslib_1.__importDefault(require(\"../util/get-geo-projection\"));\nvar api = {\n // geo maintain\n geoArea: function (feature) {\n return (0, d3_geo_1.geoArea)(feature);\n },\n geoAreaByName: function (name) {\n return (0, d3_geo_1.geoArea)(this.geoFeatureByName(name));\n },\n geoCentroid: function (feature) {\n return (0, d3_geo_1.geoCentroid)(feature);\n },\n geoCentroidByName: function (name) {\n return (0, d3_geo_1.geoCentroid)(this.geoFeatureByName(name));\n },\n geoDistance: function (p1, p2) {\n return (0, d3_geo_1.geoDistance)(p1, p2);\n },\n geoLength: function (feature) {\n return (0, d3_geo_1.geoLength)(feature);\n },\n geoLengthByName: function (name) {\n return (0, d3_geo_1.geoLength)(this.geoFeatureByName(name));\n },\n geoContains: function (feature, position /* [longitude, latitude] */) {\n return (0, d3_geo_1.geoContains)(feature, position);\n },\n geoFeatureByName: function (name) {\n var rows = this.rows;\n var result;\n rows.some(function (feature) {\n if (feature.name === name) {\n result = feature;\n return true;\n }\n return false;\n });\n return result;\n },\n geoFeatureByPosition: function (position) {\n var rows = this.rows;\n var result;\n rows.some(function (feature) {\n if ((0, d3_geo_1.geoContains)(feature, position)) {\n result = feature;\n return true;\n }\n return false;\n });\n return result;\n },\n geoNameByPosition: function (position) {\n var feature = this.geoFeatureByPosition(position);\n if (feature) {\n return feature.name;\n }\n },\n // projection\n // export getGeoProjection for custom used.\n getGeoProjection: get_geo_projection_1.default,\n geoProject: function (feature, projection, exportRaw) {\n projection = (0, get_geo_projection_1.default)(projection, exportRaw);\n return (0, d3_geo_projection_1.geoProject)(feature, projection);\n },\n geoProjectByName: function (name, projection, exportRaw) {\n projection = (0, get_geo_projection_1.default)(projection, exportRaw);\n return (0, d3_geo_projection_1.geoProject)(this.geoFeatureByName(name), projection);\n },\n geoProjectPosition: function (position, projection, exportRaw) {\n var func = (0, get_geo_projection_1.default)(projection, exportRaw);\n return func(position);\n },\n geoProjectInvert: function (position /* [x, y] */, projection, exportRaw) {\n var func = (0, get_geo_projection_1.default)(projection, exportRaw);\n return func.invert(position);\n },\n};\n(0, util_1.assign)(view_1.View.prototype, api);\n" + }, + { + "id": "./src/api/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "name": "./src/api/hierarchy.ts", + "index": 125, + "index2": 124, + "size": 1259, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/hierarchy", + "loc": "4:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar view_1 = require(\"../view\");\n(0, util_1.assign)(view_1.View.prototype, {\n getAllNodes: function () {\n var nodes = [];\n var root = this.root;\n if (root && root.each) {\n // d3-hierarchy\n root.each(function (node) {\n nodes.push(node);\n });\n }\n else if (root && root.eachNode) {\n // @antv/hierarchy\n root.eachNode(function (node) {\n nodes.push(node);\n });\n }\n return nodes;\n },\n getAllLinks: function () {\n var links = [];\n var nodes = [this.root];\n var node;\n while ((node = nodes.pop())) {\n var children = node.children;\n if (children) {\n children.forEach(function (child) {\n links.push({\n source: node,\n target: child,\n });\n nodes.push(child);\n });\n }\n }\n return links;\n },\n});\n(0, util_1.assign)(view_1.View.prototype, {\n getAllEdges: view_1.View.prototype.getAllLinks,\n});\n" + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "index": 126, + "index2": 127, + "size": 829, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/partition", + "loc": "5:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar view_1 = require(\"../view\");\n(0, util_1.assign)(view_1.View.prototype, {\n partition: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n return (0, partition_1.default)(this.rows, group_by, order_by);\n },\n group: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n var groups = this.partition(group_by, order_by);\n return (0, util_1.values)(groups);\n },\n groups: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n return this.group(group_by, order_by);\n },\n});\n" + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "index": 129, + "index2": 131, + "size": 1674, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/statistics", + "loc": "6:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar util_1 = require(\"@antv/util\");\nvar view_1 = require(\"../view\");\nvar p_by_fraction_1 = tslib_1.__importDefault(require(\"../util/p-by-fraction\"));\nvar constants_1 = tslib_1.__importDefault(require(\"../constants\"));\nvar STATISTICS_METHODS = constants_1.default.STATISTICS_METHODS;\nfunction getColumnValues(view, column) {\n var values = view.getColumn(column);\n if ((0, util_1.isArray)(values) && (0, util_1.isArray)(values[0])) {\n values = (0, util_1.flattenDeep)(values);\n }\n return values;\n}\n// statistics\nSTATISTICS_METHODS.forEach(function (method) {\n // @ts-ignore;\n view_1.View.prototype[method] = function (column) {\n // @ts-ignore\n return simpleStatistics[method](getColumnValues(this, column));\n };\n});\nvar quantile = simpleStatistics.quantile;\n(0, util_1.assign)(view_1.View.prototype, {\n average: view_1.View.prototype.mean,\n quantile: function (column, p) {\n return quantile(getColumnValues(this, column), p);\n },\n quantiles: function (column, pArr) {\n var columnArr = getColumnValues(this, column);\n return pArr.map(function (p) { return quantile(columnArr, p); });\n },\n quantilesByFraction: function (column, fraction) {\n return this.quantiles(column, (0, p_by_fraction_1.default)(fraction));\n },\n range: function (column) {\n return [this.min(column), this.max(column)];\n },\n extent: function (column) {\n // alias\n return this.range(column);\n },\n});\n" + }, + { + "id": "./src/connector/default.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "name": "./src/connector/default.ts", + "index": 133, + "index2": 133, + "size": 486, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/default", + "loc": "8:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../data-set\");\ndata_set_1.DataSet.registerConnector('default', function (data, dataSet) {\n var view;\n if ((0, util_1.isString)(data)) {\n view = dataSet.getView(data);\n }\n else {\n view = data;\n }\n if (!view) {\n throw new TypeError('Invalid dataView');\n }\n return (0, util_1.deepMix)([], view.rows);\n});\n" + }, + { + "id": "./src/connector/dsv.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "name": "./src/connector/dsv.ts", + "index": 135, + "index2": 135, + "size": 741, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/dsv", + "loc": "9:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_dsv_1 = require(\"d3-dsv\");\nvar data_set_1 = require(\"../data-set\");\ndata_set_1.DataSet.registerConnector('dsv', function (str, options) {\n if (options === void 0) { options = {}; }\n var delimiter = options.delimiter || ',';\n if (!(0, util_1.isString)(delimiter)) {\n throw new TypeError('Invalid delimiter: must be a string!');\n }\n return (0, d3_dsv_1.dsvFormat)(delimiter).parse(str);\n});\ndata_set_1.DataSet.registerConnector('csv', function (str) {\n return (0, d3_dsv_1.csvParse)(str);\n});\ndata_set_1.DataSet.registerConnector('tsv', function (str) {\n return (0, d3_dsv_1.tsvParse)(str);\n});\n" + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "index": 137, + "index2": 136, + "size": 530, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/geo-graticule", + "loc": "10:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar d3_geo_1 = require(\"d3-geo\");\nvar data_set_1 = require(\"../data-set\");\nfunction connector(_options, dataView) {\n dataView.dataType = 'geo-graticule';\n var data = (0, d3_geo_1.geoGraticule)().lines();\n data.map(function (row, index) {\n row.index = \"\".concat(index);\n return row;\n });\n dataView.rows = data;\n return data;\n}\nexports.default = connector;\ndata_set_1.DataSet.registerConnector('geo-graticule', connector);\n" + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "index": 138, + "index2": 141, + "size": 1413, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "./geojson", + "loc": "6:40-60" + }, + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/geojson", + "loc": "11:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar point_at_length_1 = tslib_1.__importDefault(require(\"point-at-length\"));\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar data_set_1 = require(\"../data-set\");\nvar geoPathGenerator = (0, d3_geo_1.geoPath)();\nfunction GeoJSONConnector(data, _options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.GEO;\n var features = (0, util_1.deepMix)([], data.features);\n // pre-process\n features.forEach(function (feature) {\n feature.name = feature.properties.name;\n feature.longitude = [];\n feature.latitude = [];\n var pathData = (feature.pathData = geoPathGenerator(feature));\n var points = (0, point_at_length_1.default)(pathData);\n points._path.forEach(function (point) {\n feature.longitude.push(point[1]);\n feature.latitude.push(point[2]);\n });\n var centroid = geoPathGenerator.centroid(feature);\n feature.centroidX = centroid[0];\n feature.centroidY = centroid[1];\n });\n // dataView.origin = features;\n return features;\n}\ndata_set_1.DataSet.registerConnector('geo', GeoJSONConnector);\ndata_set_1.DataSet.registerConnector('geojson', GeoJSONConnector);\ndata_set_1.DataSet.registerConnector('GeoJSON', GeoJSONConnector);\nexports.default = GeoJSONConnector;\n" + }, + { + "id": "./src/connector/graph.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "name": "./src/connector/graph.ts", + "index": 143, + "index2": 142, + "size": 1145, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/graph", + "loc": "12:0-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../data-set\");\nvar DEFAULT_OPTIONS = {\n nodes: function (d) {\n // optional\n return d.nodes;\n },\n edges: function (d) {\n // optional\n return d.edges;\n },\n};\nfunction connector(data, options, dataView) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n dataView.dataType = data_set_1.DataSet.CONSTANTS.GRAPH;\n var nodes = options.nodes, edges = options.edges;\n if (nodes && !(0, util_1.isFunction)(nodes)) {\n throw new TypeError('Invalid nodes: must be a function!');\n }\n if (edges && !(0, util_1.isFunction)(edges)) {\n throw new TypeError('Invalid edges: must be a function!');\n }\n // @ts-ignore\n dataView.rows = dataView.graph = {\n // @ts-ignore\n nodes: nodes(data),\n edges: edges(data),\n };\n (0, util_1.assign)(dataView, dataView.graph);\n return dataView.rows;\n}\ndata_set_1.DataSet.registerConnector('graph', connector);\ndata_set_1.DataSet.registerConnector('diagram', connector);\n" + }, + { + "id": "./src/connector/hexjson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "name": "./src/connector/hexjson.ts", + "index": 144, + "index2": 144, + "size": 1406, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/hexjson", + "loc": "13:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_hexjson_1 = require(\"d3-hexjson\");\nvar data_set_1 = require(\"../data-set\");\nvar DEFAULT_OPTIONS = {\n width: 1,\n height: 1,\n};\nfunction processRow(row) {\n row.cx = row.x;\n row.cy = row.y;\n row.x = [];\n row.y = [];\n row.vertices.forEach(function (v) {\n row.x.push(v.x + row.cx);\n row.y.push(v.y + row.cy);\n });\n return row;\n}\nfunction HexJSONConnector(data, options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.HEX;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var width = options.width, height = options.height;\n var HexJSON = (0, util_1.deepMix)([], data);\n dataView._HexJSON = HexJSON;\n var grid = (dataView._GridHexJSON = (0, d3_hexjson_1.getGridForHexJSON)(HexJSON));\n var rows = (dataView.rows = (0, d3_hexjson_1.renderHexJSON)(HexJSON, width, height).map(processRow));\n dataView._gridRows = (0, d3_hexjson_1.renderHexJSON)(grid, width, height).map(processRow);\n return rows;\n}\ndata_set_1.DataSet.registerConnector('hex', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('hexjson', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('hex-json', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('HexJSON', HexJSONConnector);\nexports.default = HexJSONConnector;\n" + }, + { + "id": "./src/connector/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "name": "./src/connector/hierarchy.ts", + "index": 146, + "index2": 146, + "size": 862, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/hierarchy", + "loc": "14:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_hierarchy_1 = require(\"d3-hierarchy\");\nvar data_set_1 = require(\"../data-set\");\nfunction connector(data, options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.HIERARCHY;\n var children = options && options.children ? options.children : null;\n if (children && !(0, util_1.isFunction)(children)) {\n throw new TypeError('Invalid children: must be a function!');\n }\n if (!options.pureData) {\n // @ts-ignore\n dataView.rows = dataView.root = (0, d3_hierarchy_1.hierarchy)(data, children);\n }\n else {\n dataView.rows = dataView.root = data;\n }\n return data;\n}\ndata_set_1.DataSet.registerConnector('hierarchy', connector);\ndata_set_1.DataSet.registerConnector('tree', connector);\n" + }, + { + "id": "./src/connector/topojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "name": "./src/connector/topojson.ts", + "index": 148, + "index2": 148, + "size": 784, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/topojson", + "loc": "15:0-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar topojson_client_1 = require(\"topojson-client\");\nvar geojson_1 = tslib_1.__importDefault(require(\"./geojson\"));\nvar data_set_1 = require(\"../data-set\");\nfunction TopoJSONConnector(data, options, dataView) {\n var object = options.object;\n if (!(0, util_1.isString)(object)) {\n throw new TypeError('Invalid object: must be a string!');\n }\n var geoData = (0, topojson_client_1.feature)(data, data.objects[object]);\n return (0, geojson_1.default)(geoData, undefined, dataView);\n}\ndata_set_1.DataSet.registerConnector('topojson', TopoJSONConnector);\ndata_set_1.DataSet.registerConnector('TopoJSON', TopoJSONConnector);\n" + }, + { + "id": "./src/constants.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/constants.ts", + "name": "./src/constants.ts", + "index": 132, + "index2": 130, + "size": 471, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../constants", + "loc": "8:42-65" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "./constants", + "loc": "11:42-64" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n HIERARCHY: 'hierarchy',\n GEO: 'geo',\n HEX: 'hex',\n GRAPH: 'graph',\n TABLE: 'table',\n GEO_GRATICULE: 'geo-graticule',\n STATISTICS_METHODS: [\n 'max',\n 'mean', // alias: average\n 'median',\n 'min',\n 'mode',\n 'product',\n 'standardDeviation',\n 'sum',\n 'sumSimple',\n 'variance',\n ],\n};\n" + }, + { + "id": "./src/data-set.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "name": "./src/data-set.ts", + "index": 134, + "index2": 132, + "size": 4582, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/default.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "module": "./src/connector/default.ts", + "moduleName": "./src/connector/default.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/geo-graticule.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "module": "./src/connector/geo-graticule.ts", + "moduleName": "./src/connector/geo-graticule.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + }, + { + "moduleId": "./src/connector/graph.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "module": "./src/connector/graph.ts", + "moduleName": "./src/connector/graph.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + }, + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./data-set", + "loc": "70:17-38" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "8:17-39" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "8:17-42" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/diagram/arc.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "module": "./src/transform/diagram/arc.ts", + "moduleName": "./src/transform/diagram/arc.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "8:17-42" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "9:17-42" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "4:17-42" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "7:17-42" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "4:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\n/**\n * @jest-environment jsdom\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DataSet = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar wolfy87_eventemitter_1 = tslib_1.__importDefault(require(\"wolfy87-eventemitter\"));\nvar view_1 = require(\"./view\");\nvar constants_1 = tslib_1.__importDefault(require(\"./constants\"));\n/**\n * 数据集\n * @public\n */\nvar DataSet = /** @class */ (function (_super) {\n tslib_1.__extends(DataSet, _super);\n /**\n * @param initialProps - 初始状态\n */\n function DataSet(initialProps) {\n if (initialProps === void 0) { initialProps = { state: {} }; }\n var _this = _super.call(this) || this;\n /**\n * 否是 DataSet\n */\n _this.isDataSet = true;\n _this._onChangeTimer = null;\n /**\n * 所有挂在数据集上的数据视图(key-value 对)\n */\n _this.views = {};\n /**\n * 存储数据集上的状态量(key-value 对)\n */\n _this.state = {};\n // assign(me, initialProps);\n _this.state = initialProps.state;\n return _this;\n }\n /**\n * 注册一个数据连接函数,注册后所有数据视图都可以使用 name 来引用这个数据连接函数,从而接入某种数据源。\n * @param name - 类型\n * @param connector - 解析逻辑\n */\n DataSet.registerConnector = function (name, connector) {\n DataSet.connectors[name] = connector;\n };\n DataSet.getConnector = function (name) {\n return DataSet.connectors[name] || DataSet.connectors.default;\n };\n /**\n * 注册一个数据处理函数,注册后所有数据视图都可以使用 name 来引用这个数据处理函数,从而进行某种数据处理\n * @param name - transform 类型\n * @param transform - transform逻辑\n */\n DataSet.registerTransform = function (name, transform) {\n DataSet.transforms[name] = transform;\n };\n DataSet.getTransform = function (name) {\n return DataSet.transforms[name] || DataSet.transforms.default;\n };\n DataSet.prototype._getUniqueViewName = function () {\n var name = (0, util_1.uniqueId)('view_');\n while (this.views[name]) {\n name = (0, util_1.uniqueId)('view_');\n }\n return name;\n };\n DataSet.prototype.createView = function (name, options) {\n if ((0, util_1.isNil)(name)) {\n name = this._getUniqueViewName();\n }\n if ((0, util_1.isObject)(name)) {\n options = name;\n name = this._getUniqueViewName();\n }\n if (this.views[name]) {\n throw new Error(\"data view exists: \".concat(name));\n }\n var view = new view_1.View(this, options);\n this.views[name] = view;\n return view;\n };\n /**\n * 返回 name 对应的数据视图实例\n * @param name - name\n */\n DataSet.prototype.getView = function (name) {\n return this.views[name];\n };\n /**\n * 设置 name 对应的数据视图实例为 dv\n * @param name - 名称\n * @param view - data view\n */\n DataSet.prototype.setView = function (name, view) {\n this.views[name] = view;\n };\n /**\n * 设置状态量 name 的值为 value\n * @param name - 状态名\n * @param value - 值\n */\n DataSet.prototype.setState = function (name, value) {\n var _this = this;\n this.state[name] = value;\n if (this._onChangeTimer) {\n window.clearTimeout(this._onChangeTimer);\n this._onChangeTimer = null;\n }\n this._onChangeTimer = window.setTimeout(function () {\n _this.emit('statechange', name, value);\n }, 16); // execute after one frame\n };\n /**\n * 常量,譬如 DataSet.CONSTANTS.HIERARCHY 是树形结构的名称\n */\n DataSet.CONSTANTS = constants_1.default;\n /**\n * 注册的 Connector(key-value 对)\n */\n DataSet.connectors = {};\n /**\n * 已注册的 Transform(key-value 对)\n */\n DataSet.transforms = {};\n DataSet.DataSet = DataSet;\n DataSet.DataView = view_1.View; // alias\n DataSet.View = view_1.View;\n DataSet.version = '____DATASET_VERSION____';\n return DataSet;\n}(wolfy87_eventemitter_1.default));\nexports.DataSet = DataSet;\n// @ts-ignore\n(0, util_1.assign)(DataSet, constants_1.default);\n// @ts-ignore\n(0, util_1.assign)(DataSet.prototype, {\n view: DataSet.prototype.createView, // alias\n});\nview_1.View.DataSet = DataSet;\n" + }, + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "index": 0, + "index2": 493, + "size": 2123, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "profile": { + "factory": 9, + "building": 1395 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": null, + "module": null, + "moduleName": null, + "type": "single entry", + "userRequest": "./src/index.ts", + "loc": "data-set" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 0, + "source": "\"use strict\";\n// extra APIs\nrequire(\"./api/geo\");\nrequire(\"./api/hierarchy\");\nrequire(\"./api/partition\");\nrequire(\"./api/statistics\");\n// connectors\nrequire(\"./connector/default\");\nrequire(\"./connector/dsv\");\nrequire(\"./connector/geo-graticule\");\nrequire(\"./connector/geojson\");\nrequire(\"./connector/graph\");\nrequire(\"./connector/hexjson\");\nrequire(\"./connector/hierarchy\");\nrequire(\"./connector/topojson\");\n// transforms\n// static\nrequire(\"./transform/default\");\nrequire(\"./transform/filter\");\nrequire(\"./transform/fold\");\nrequire(\"./transform/map\");\nrequire(\"./transform/partition\");\nrequire(\"./transform/percent\");\nrequire(\"./transform/pick\");\nrequire(\"./transform/proportion\");\nrequire(\"./transform/rename\");\nrequire(\"./transform/reverse\");\nrequire(\"./transform/sort\");\nrequire(\"./transform/sort-by\");\nrequire(\"./transform/subset\");\n// imputation\nrequire(\"./transform/fill-rows\");\nrequire(\"./transform/impute\");\n// statistics\nrequire(\"./transform/aggregate\");\n// regression\nrequire(\"./transform/regression\");\n// KDE\nrequire(\"./transform/kde\");\n// binning\nrequire(\"./transform/bin/hexagon\");\nrequire(\"./transform/bin/histogram\");\nrequire(\"./transform/bin/quantile\");\nrequire(\"./transform/bin/rectangle\");\n// geo\nrequire(\"./transform/geo/centroid\");\nrequire(\"./transform/geo/projection\");\nrequire(\"./transform/geo/region\");\n// diagram\nrequire(\"./transform/diagram/arc\");\nrequire(\"./transform/diagram/dagre\");\nrequire(\"./transform/diagram/sankey\");\nrequire(\"./transform/diagram/voronoi\");\n// hierarchy\nrequire(\"./transform/hierarchy/cluster\");\nrequire(\"./transform/hierarchy/compact-box\");\nrequire(\"./transform/hierarchy/dendrogram\");\nrequire(\"./transform/hierarchy/indented\");\nrequire(\"./transform/hierarchy/pack\");\nrequire(\"./transform/hierarchy/partition\");\nrequire(\"./transform/hierarchy/tree\");\nrequire(\"./transform/hierarchy/treemap\");\n// tag cloud\nrequire(\"./transform/tag-cloud\");\n// waffle\nrequire(\"./transform/waffle\");\n// kernel smoothing\nrequire(\"./transform/kernel-smooth/density\");\nrequire(\"./transform/kernel-smooth/regression\");\nvar data_set_1 = require(\"./data-set\");\nmodule.exports = data_set_1.DataSet;\n" + }, + { + "id": "./src/transform/aggregate.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "name": "./src/transform/aggregate.ts", + "index": 166, + "index2": 165, + "size": 3018, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/aggregate", + "loc": "35:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.aggregates = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar data_set_1 = require(\"../data-set\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: [],\n fields: [],\n groupBy: [],\n operations: [],\n};\nvar DEFAULT_OPERATION = 'count';\nvar aggregates = {\n count: function (data) {\n return data.length;\n },\n distinct: function (data, field) {\n var values = (0, util_1.uniq)(data.map(function (row) { return row[field]; }));\n return values.length;\n },\n};\nexports.aggregates = aggregates;\ndata_set_1.DataSet.CONSTANTS.STATISTICS_METHODS.forEach(function (method) {\n aggregates[method] = function (data, field) {\n var values = data.map(function (row) { return row[field]; });\n if ((0, util_1.isArray)(values) && (0, util_1.isArray)(values[0])) {\n values = (0, util_1.flattenDeep)(values);\n }\n // @ts-ignore\n return simpleStatistics[method](values);\n };\n});\naggregates.average = aggregates.mean;\nfunction aggregateTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields)) {\n throw new TypeError('Invalid fields: it must be an array with one or more strings!');\n }\n var outputNames = options.as || [];\n if ((0, util_1.isString)(outputNames)) {\n outputNames = [outputNames];\n }\n var operations = options.operations;\n if ((0, util_1.isString)(operations)) {\n operations = [operations];\n }\n var DEFAULT_OPERATIONS = [DEFAULT_OPERATION];\n if (!(0, util_1.isArray)(operations) || !operations.length) {\n console.warn('operations is not defined, will use [ \"count\" ] directly.');\n operations = DEFAULT_OPERATIONS;\n outputNames = operations;\n }\n if (!(operations.length === 1 && operations[0] === DEFAULT_OPERATION)) {\n if (operations.length !== fields.length) {\n throw new TypeError(\"Invalid operations: it's length must be the same as fields!\");\n }\n if (outputNames.length !== fields.length) {\n throw new TypeError(\"Invalid as: it's length must be the same as fields!\");\n }\n }\n var groups = (0, partition_1.default)(dataView.rows, options.groupBy);\n var results = [];\n (0, util_1.forIn)(groups, function (group) {\n var result = group[0];\n operations.forEach(function (operation, i) {\n var outputName = outputNames[i];\n var field = fields[i];\n result[outputName] = aggregates[operation](group, field);\n });\n results.push(result);\n });\n dataView.rows = results;\n}\nexports.default = aggregateTransform;\n" + }, + { + "id": "./src/transform/bin/hexagon.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "name": "./src/transform/bin/hexagon.ts", + "index": 173, + "index2": 172, + "size": 6026, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/hexagon", + "loc": "41:0-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'count'],\n bins: [30, 30], // Numeric vector giving number of bins in both horizontal and vertical directions\n offset: [0, 0],\n sizeByCount: false, // calculate bin size by binning count\n // fields: ['field0', 'field1'], // required\n // binWidth: [ 30, 30 ], // Numeric vector giving bin width in both horizontal and vertical directions. Overrides bins if both set.\n};\nvar SQRT3 = Math.sqrt(3);\nvar THIRD_PI = Math.PI / 3;\nvar ANGLES = [0, THIRD_PI, 2 * THIRD_PI, 3 * THIRD_PI, 4 * THIRD_PI, 5 * THIRD_PI];\nfunction distance(x0, y0, x1, y1) {\n return Math.sqrt((x0 - x1) * (x0 - x1) + (y0 - y1) * (y0 - y1));\n}\nfunction nearestBinsCenters(value, scale, offset) {\n var temp = value - offset;\n scale = scale / 2;\n var div = Math.floor(temp / scale);\n var rounded = scale * (div + (Math.abs(div % 2) === 1 ? 1 : 0));\n var roundedScaled = scale * (div + (Math.abs(div % 2) === 1 ? 0 : 1));\n return [rounded + offset, roundedScaled + offset];\n}\nfunction generateBins(points, binWidth, offset) {\n if (binWidth === void 0) { binWidth = [1, 1]; }\n if (offset === void 0) { offset = [0, 0]; }\n // processing aligned data\n var bins = {};\n var _a = tslib_1.__read(binWidth, 2), binWidthX = _a[0], binWidthY = _a[1];\n var _b = tslib_1.__read(offset, 2), offsetX = _b[0], offsetY = _b[1];\n points.forEach(function (point) {\n var _a, _b;\n var _c = tslib_1.__read(point, 2), x = _c[0], y = _c[1];\n // step3.1: nearest two centers\n var _d = tslib_1.__read(nearestBinsCenters(x, binWidthX, offsetX), 2), xRounded = _d[0], xRoundedScaled = _d[1];\n var _e = tslib_1.__read(nearestBinsCenters(y, binWidthY, offsetY), 2), yRounded = _e[0], yRoundedScaled = _e[1];\n // step3.2: compare distances\n var d1 = distance(x, y, xRounded, yRounded);\n var d2 = distance(x, y, xRoundedScaled, yRoundedScaled);\n var binKey;\n var binX;\n var binY;\n if (d1 < d2) {\n binKey = \"x\".concat(xRounded, \"y\").concat(yRounded);\n _a = tslib_1.__read([xRounded, yRounded], 2), binX = _a[0], binY = _a[1];\n }\n else {\n binKey = \"x\".concat(xRoundedScaled, \"y\").concat(yRoundedScaled);\n _b = tslib_1.__read([xRoundedScaled, yRoundedScaled], 2), binX = _b[0], binY = _b[1];\n }\n bins[binKey] = bins[binKey] || {\n x: binX,\n y: binY,\n count: 0,\n };\n bins[binKey].count++;\n });\n return bins;\n}\nfunction transform(dataView, options) {\n // step1: get binWidth, etc.\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('Invalid fields: it must be an array with 2 strings!');\n }\n var _a = tslib_1.__read(fields, 2), fieldX = _a[0], fieldY = _a[1];\n var rangeFieldX = dataView.range(fieldX);\n var rangeFieldY = dataView.range(fieldY);\n var widthX = rangeFieldX[1] - rangeFieldX[0];\n var widthY = rangeFieldY[1] - rangeFieldY[0];\n var binWidth = options.binWidth || [];\n if (binWidth.length !== 2) {\n var _b = tslib_1.__read(options.bins, 2), binsX = _b[0], binsY = _b[1];\n if (binsX <= 0 || binsY <= 0) {\n throw new TypeError('Invalid bins: must be an array with two positive numbers (e.g. [ 30, 30 ])!');\n }\n binWidth = [widthX / binsX, widthY / binsY];\n }\n // step2: align scale (squash Y)\n /*\n * binWidthX / binWidthY should be Math.sqrt3 / 1.5\n * -: binWidthX |: binWidthY\n * 3\n * |\n * 4 | 2\n * |\n * |\n * 5----------------1\n *\n * 0\n */\n var _c = tslib_1.__read(options.offset, 2), offsetX = _c[0], offsetY = _c[1];\n var yScale = (3 * binWidth[0]) / (SQRT3 * binWidth[1]);\n // const yScale = binWidth[0] / (SQRT3 * binWidth[1]);\n var points = dataView.rows.map(function (row) { return [row[fieldX], yScale * row[fieldY]]; });\n // step3: binning\n var bins = generateBins(points, [binWidth[0], yScale * binWidth[1]], [offsetX, yScale * offsetY]);\n // step4: restore scale (for Y)\n var _d = tslib_1.__read(options.as, 3), asX = _d[0], asY = _d[1], asCount = _d[2];\n if (!asX || !asY || !asCount) {\n throw new TypeError('Invalid as: it must be an array with three elements (e.g. [ \"x\", \"y\", \"count\" ])!');\n }\n var radius = binWidth[0] / SQRT3;\n var hexagonPoints = ANGLES.map(function (angle) { return [Math.sin(angle) * radius, -Math.cos(angle) * radius]; });\n var result = [];\n var maxCount = 0;\n if (options.sizeByCount) {\n (0, util_1.forIn)(bins, function (bin) {\n if (bin.count > maxCount) {\n maxCount = bin.count;\n }\n });\n }\n (0, util_1.forIn)(bins, function (bin) {\n var x = bin.x, y = bin.y, count = bin.count;\n var row = {};\n row[asCount] = count;\n if (options.sizeByCount) {\n row[asX] = hexagonPoints.map(function (p) { return x + (bin.count / maxCount) * p[0]; });\n row[asY] = hexagonPoints.map(function (p) { return (y + (bin.count / maxCount) * p[1]) / yScale; });\n }\n else {\n row[asX] = hexagonPoints.map(function (p) { return x + p[0]; });\n row[asY] = hexagonPoints.map(function (p) { return (y + p[1]) / yScale; });\n }\n result.push(row);\n });\n dataView.rows = result;\n}\ndata_set_1.DataSet.registerTransform('bin.hexagon', transform);\ndata_set_1.DataSet.registerTransform('bin.hex', transform);\ndata_set_1.DataSet.registerTransform('hexbin', transform);\n" + }, + { + "id": "./src/transform/bin/histogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "name": "./src/transform/bin/histogram.ts", + "index": 174, + "index2": 173, + "size": 2835, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/histogram", + "loc": "42:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../../util/partition\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'count'],\n bins: undefined,\n offset: 0,\n groupBy: [],\n // field: '', // required\n // binWidth: 10, // override bins\n};\nfunction nearestBin(value, scale, offset) {\n var temp = value - offset;\n var div = Math.floor(temp / scale);\n return [div * scale + offset, (div + 1) * scale + offset];\n}\n/** Sturges formula */\nfunction sturges(dataLength) {\n return Math.ceil(Math.log(dataLength) / Math.LN2) + 1;\n}\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n if (dataView.rows.length === 0) {\n return;\n }\n var range = dataView.range(field);\n var width = range[1] - range[0];\n var binWidth = options.binWidth;\n var bins = options.bins;\n if (!binWidth && bins) {\n if (bins <= 0) {\n throw new TypeError('Invalid bins: it must be a positive number!');\n }\n binWidth = width / bins;\n }\n if (!binWidth && !bins) {\n var binNumber = sturges(dataView.rows.length);\n binWidth = width / binNumber;\n }\n var offset = options.offset % binWidth;\n // grouping\n var rows = [];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dataView.rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var bins = {};\n var column = group.map(function (row) { return row[field]; });\n column.forEach(function (value) {\n var _a = tslib_1.__read(nearestBin(value, binWidth, offset), 2), x0 = _a[0], x1 = _a[1];\n var binKey = \"\".concat(x0, \"-\").concat(x1);\n bins[binKey] = bins[binKey] || {\n x0: x0,\n x1: x1,\n count: 0,\n };\n bins[binKey].count++;\n });\n var _a = tslib_1.__read(options.as, 2), asX = _a[0], asCount = _a[1];\n if (!asX || !asCount) {\n throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ \"x\", \"count\" ])!');\n }\n var meta = (0, util_1.pick)(group[0], groupBy);\n (0, util_1.forIn)(bins, function (bin) {\n var row = (0, util_1.assign)({}, meta);\n row[asX] = [bin.x0, bin.x1];\n row[asCount] = bin.count;\n rows.push(row);\n });\n });\n dataView.rows = rows;\n}\ndata_set_1.DataSet.registerTransform('bin.histogram', transform);\ndata_set_1.DataSet.registerTransform('bin.dot', transform);\n" + }, + { + "id": "./src/transform/bin/quantile.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "name": "./src/transform/bin/quantile.ts", + "index": 175, + "index2": 174, + "size": 1825, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/quantile", + "loc": "43:0-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../../util/partition\"));\nvar p_by_fraction_1 = tslib_1.__importDefault(require(\"../../util/p-by-fraction\"));\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: '_bin',\n groupBy: [], // optional\n fraction: 4, // default\n // p: [0.5, 0.3], // array of p parameter\n // field: 'y', // required\n};\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var as = options.as;\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: it must be a string (e.g. \"_bin\")!');\n }\n var pArray = options.p;\n var fraction = options.fraction;\n if (!(0, util_1.isArray)(pArray) || pArray.length === 0) {\n pArray = (0, p_by_fraction_1.default)(fraction);\n }\n var rows = dataView.rows;\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(rows, groupBy);\n var result = [];\n (0, util_1.forIn)(groups, function (group) {\n // const resultRow = pick(group[0], groupBy);\n var resultRow = group[0];\n var binningColumn = group.map(function (row) { return row[field]; });\n var quantiles = pArray.map(function (p) { return (0, simple_statistics_1.quantile)(binningColumn, p); });\n resultRow[as] = quantiles;\n result.push(resultRow);\n });\n dataView.rows = result;\n}\nregisterTransform('bin.quantile', transform);\n" + }, + { + "id": "./src/transform/bin/rectangle.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "name": "./src/transform/bin/rectangle.ts", + "index": 176, + "index2": 175, + "size": 4148, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/rectangle", + "loc": "44:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'count'],\n bins: [30, 30], // Numeric vector giving number of bins in both horizontal and vertical directions\n offset: [0, 0],\n sizeByCount: false, // calculate bin size by binning count\n // fields: ['field0', 'field1'], // required\n // binWidth: [ 30, 30 ], // Numeric vector giving bin width in both horizontal and vertical directions. Overrides bins if both set.\n};\nfunction nearestBin(value, scale, offset) {\n var temp = value - offset;\n var div = Math.floor(temp / scale);\n return [div * scale + offset, (div + 1) * scale + offset];\n}\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var _a = tslib_1.__read((0, option_parser_1.getFields)(options), 2), fieldX = _a[0], fieldY = _a[1];\n if (!fieldX || !fieldY) {\n throw new TypeError('Invalid fields: must be an array with 2 strings!');\n }\n var rangeFieldX = dataView.range(fieldX);\n var rangeFieldY = dataView.range(fieldY);\n var widthX = rangeFieldX[1] - rangeFieldX[0];\n var widthY = rangeFieldY[1] - rangeFieldY[0];\n var binWidth = options.binWidth || [];\n if (binWidth.length !== 2) {\n var _b = tslib_1.__read(options.bins, 2), binsX = _b[0], binsY = _b[1];\n if (binsX <= 0 || binsY <= 0) {\n throw new TypeError('Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!');\n }\n binWidth = [widthX / binsX, widthY / binsY];\n }\n var points = dataView.rows.map(function (row) { return [row[fieldX], row[fieldY]]; });\n var bins = {};\n var _c = tslib_1.__read(options.offset, 2), offsetX = _c[0], offsetY = _c[1];\n points.forEach(function (point) {\n var _a = tslib_1.__read(nearestBin(point[0], binWidth[0], offsetX), 2), x0 = _a[0], x1 = _a[1];\n var _b = tslib_1.__read(nearestBin(point[1], binWidth[1], offsetY), 2), y0 = _b[0], y1 = _b[1];\n var binKey = \"\".concat(x0, \"-\").concat(x1, \"-\").concat(y0, \"-\").concat(y1);\n bins[binKey] = bins[binKey] || {\n x0: x0,\n x1: x1,\n y0: y0,\n y1: y1,\n count: 0,\n };\n bins[binKey].count++;\n });\n var rows = [];\n var _d = tslib_1.__read(options.as, 3), asX = _d[0], asY = _d[1], asCount = _d[2];\n if (!asX || !asY || !asCount) {\n throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"count\" ])!');\n }\n /* points\n * 3---2\n * | |\n * 0---1\n */\n if (!options.sizeByCount) {\n (0, util_1.forIn)(bins, function (bin) {\n var row = {};\n row[asX] = [bin.x0, bin.x1, bin.x1, bin.x0];\n row[asY] = [bin.y0, bin.y0, bin.y1, bin.y1];\n row[asCount] = bin.count;\n rows.push(row);\n });\n }\n else {\n var maxCount_1 = 0;\n (0, util_1.forIn)(bins, function (bin) {\n if (bin.count > maxCount_1) {\n maxCount_1 = bin.count;\n }\n });\n (0, util_1.forIn)(bins, function (bin) {\n var x0 = bin.x0, x1 = bin.x1, y0 = bin.y0, y1 = bin.y1, count = bin.count;\n var scale = count / maxCount_1;\n var _a = tslib_1.__read([(x0 + x1) / 2, (y0 + y1) / 2], 2), cx = _a[0], cy = _a[1];\n var rx = ((x1 - x0) * scale) / 2;\n var ry = ((y1 - y0) * scale) / 2;\n var x01 = cx - rx;\n var x11 = cx + rx;\n var y01 = cy - ry;\n var y11 = cy + ry;\n var row = {};\n row[asX] = [x01, x11, x11, x01];\n row[asY] = [y01, y01, y11, y11];\n row[asCount] = count;\n rows.push(row);\n });\n }\n dataView.rows = rows;\n}\nregisterTransform('bin.rectangle', transform);\nregisterTransform('bin.rect', transform);\n" + }, + { + "id": "./src/transform/default.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/default.ts", + "name": "./src/transform/default.ts", + "index": 150, + "index2": 149, + "size": 182, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/default", + "loc": "18:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultTransform = function (dataView) {\n return dataView;\n};\nexports.default = defaultTransform;\n" + }, + { + "id": "./src/transform/diagram/arc.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "name": "./src/transform/diagram/arc.ts", + "index": 180, + "index2": 179, + "size": 6767, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/arc", + "loc": "50:0-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * for Arc Diagram (edges without weight) / Chord Diagram (edges with source and target weight)\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {\n y: 0,\n thickness: 0.05, // thickness of the node, (0, 1)\n weight: false,\n marginRatio: 0.1, // margin ratio, [0, 1)\n id: function (node) { return node.id; },\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n sourceWeight: function (edge) { return edge.value || 1; },\n targetWeight: function (edge) { return edge.value || 1; },\n sortBy: null, // optional, id | weight | frequency | {function}\n};\nfunction _nodesFromEdges(edges, options, map) {\n if (map === void 0) { map = {}; }\n edges.forEach(function (edge) {\n var sId = options.edgeSource(edge);\n var tId = options.edgeTarget(edge);\n if (!map[sId]) {\n map[sId] = {\n id: sId,\n };\n }\n if (!map[tId]) {\n map[tId] = {\n id: tId,\n };\n }\n });\n return (0, util_1.values)(map);\n}\nfunction _processGraph(nodeById, edges, options) {\n (0, util_1.forIn)(nodeById, function (node, id) {\n // in edges, out edges\n node.inEdges = edges.filter(function (edge) { return \"\".concat(options.target(edge)) === \"\".concat(id); });\n node.outEdges = edges.filter(function (edge) { return \"\".concat(options.source(edge)) === \"\".concat(id); });\n // frequency\n node.edges = node.outEdges.concat(node.inEdges);\n node.frequency = node.edges.length;\n // weight\n node.value = 0;\n node.inEdges.forEach(function (edge) {\n node.value += options.targetWeight(edge);\n });\n node.outEdges.forEach(function (edge) {\n node.value += options.sourceWeight(edge);\n });\n });\n}\nfunction _sortNodes(nodes, options) {\n var sortMethods = {\n weight: function (a, b) { return b.value - a.value; },\n frequency: function (a, b) { return b.frequency - a.frequency; },\n id: function (a, b) { return \"\".concat(options.id(a)).localeCompare(\"\".concat(options.id(b))); },\n };\n var method = sortMethods[options.sortBy];\n if (!method && (0, util_1.isFunction)(options.sortBy)) {\n method = options.sortBy;\n }\n if (method) {\n nodes.sort(method);\n }\n}\nfunction _layoutNodes(nodes, options) {\n var len = nodes.length;\n if (!len) {\n throw new TypeError(\"Invalid nodes: it's empty!\");\n }\n if (options.weight) {\n var marginRatio_1 = options.marginRatio;\n if (marginRatio_1 < 0 || marginRatio_1 >= 1) {\n throw new TypeError('Invalid marginRatio: it must be in range [0, 1)!');\n }\n var margin_1 = marginRatio_1 / (2 * len);\n var thickness_1 = options.thickness;\n if (thickness_1 <= 0 || thickness_1 >= 1) {\n throw new TypeError('Invalid thickness: it must be in range (0, 1)!');\n }\n var totalValue_1 = 0;\n nodes.forEach(function (node) {\n totalValue_1 += node.value;\n });\n nodes.forEach(function (node) {\n node.weight = node.value / totalValue_1;\n node.width = node.weight * (1 - marginRatio_1);\n node.height = thickness_1;\n });\n nodes.forEach(function (node, index) {\n // x\n var deltaX = 0;\n for (var i = index - 1; i >= 0; i--) {\n deltaX += nodes[i].width + 2 * margin_1;\n }\n var minX = (node.minX = margin_1 + deltaX);\n var maxX = (node.maxX = node.minX + node.width);\n var minY = (node.minY = options.y - thickness_1 / 2);\n var maxY = (node.maxY = minY + thickness_1);\n node.x = [minX, maxX, maxX, minX];\n node.y = [minY, minY, maxY, maxY];\n /* points\n * 3---2\n * | |\n * 0---1\n */\n // node.x = minX + 0.5 * node.width;\n // node.y = options.y;\n });\n }\n else {\n var deltaX_1 = 1 / len;\n nodes.forEach(function (node, index) {\n node.x = (index + 0.5) * deltaX_1;\n node.y = options.y;\n });\n }\n}\nfunction _locatingEdges(nodeById, edges, options) {\n if (options.weight) {\n var valueById_1 = {};\n (0, util_1.forIn)(nodeById, function (node, id) {\n valueById_1[id] = node.value;\n });\n edges.forEach(function (edge) {\n var sId = options.source(edge);\n var tId = options.target(edge);\n var sNode = nodeById[sId];\n var tNode = nodeById[tId];\n if (sNode && tNode) {\n var sValue = valueById_1[sId];\n var currentSValue = options.sourceWeight(edge);\n var sStart = sNode.minX + ((sNode.value - sValue) / sNode.value) * sNode.width;\n var sEnd = sStart + (currentSValue / sNode.value) * sNode.width;\n valueById_1[sId] -= currentSValue;\n var tValue = valueById_1[tId];\n var currentTValue = options.targetWeight(edge);\n var tStart = tNode.minX + ((tNode.value - tValue) / tNode.value) * tNode.width;\n var tEnd = tStart + (currentTValue / tNode.value) * tNode.width;\n valueById_1[tId] -= currentTValue;\n var y = options.y;\n edge.x = [sStart, sEnd, tStart, tEnd];\n edge.y = [y, y, y, y];\n }\n });\n }\n else {\n edges.forEach(function (edge) {\n var sNode = nodeById[options.source(edge)];\n var tNode = nodeById[options.target(edge)];\n if (sNode && tNode) {\n edge.x = [sNode.x, tNode.x];\n edge.y = [sNode.y, tNode.y];\n }\n });\n }\n}\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var nodeById = {};\n var nodes = dv.nodes;\n var edges = dv.edges;\n if (!(0, util_1.isArray)(nodes) || nodes.length === 0) {\n nodes = _nodesFromEdges(edges, options, nodeById);\n }\n nodes.forEach(function (node) {\n var id = options.id(node);\n nodeById[id] = node;\n });\n _processGraph(nodeById, edges, options);\n _sortNodes(nodes, options);\n _layoutNodes(nodes, options);\n _locatingEdges(nodeById, edges, options);\n dv.nodes = nodes;\n dv.edges = edges;\n}\ndata_set_1.DataSet.registerTransform('diagram.arc', transform);\ndata_set_1.DataSet.registerTransform('arc', transform);\n" + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "index": 181, + "index2": 471, + "size": 2207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/dagre", + "loc": "51:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * for DAG\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar dagre_1 = tslib_1.__importDefault(require(\"dagre\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {\n // nodeId: node => node.index,\n rankdir: 'TB',\n align: 'TB',\n nodesep: 50,\n edgesep: 10,\n ranksep: 50,\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n};\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var g = new dagre_1.default.graphlib.Graph();\n // Set an object for the graph label\n g.setGraph({});\n // Default to assigning a new object as a label for each new edge.\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n dv.nodes.forEach(function (node) {\n var nodeId = options.nodeId ? options.nodeId(node) : node.id;\n if (!node.height && !node.width) {\n node.height = node.width = options.edgesep;\n }\n g.setNode(nodeId, node);\n });\n dv.edges.forEach(function (edge) {\n g.setEdge(options.source(edge), options.target(edge));\n });\n dagre_1.default.layout(g);\n var nodes = [];\n var edges = [];\n g.nodes().forEach(function (node) {\n var n = g.node(node);\n var x = n.x, y = n.y, height = n.height, width = n.width;\n /* points\n * 3---2\n * | |\n * 0---1\n */\n // @ts-ignore\n n.x = [x - width / 2, x + width / 2, x + width / 2, x - width / 2];\n // @ts-ignore\n n.y = [y + height / 2, y + height / 2, y - height / 2, y - height / 2];\n nodes.push(n);\n });\n g.edges().forEach(function (edge) {\n var points = g.edge(edge).points;\n var e = {};\n e.x = points.map(function (p) { return p.x; });\n e.y = points.map(function (p) { return p.y; });\n edges.push(e);\n });\n dv.nodes = nodes;\n dv.edges = edges;\n}\ndata_set_1.DataSet.registerTransform('diagram.dagre', transform);\ndata_set_1.DataSet.registerTransform('dagre', transform);\n" + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "index": 473, + "index2": 476, + "size": 2366, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/sankey", + "loc": "52:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * for Sankey Diagram\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar d3_sankey_1 = require(\"d3-sankey\");\nvar data_set_1 = require(\"../../data-set\");\nvar ALIGN_METHOD = {\n sankeyLeft: d3_sankey_1.sankeyLeft,\n sankeyRight: d3_sankey_1.sankeyRight,\n sankeyCenter: d3_sankey_1.sankeyCenter,\n sankeyJustify: d3_sankey_1.sankeyJustify,\n};\nvar DEFAULT_OPTIONS = {\n // nodeId: node => node.index,\n value: function (node) { return node.value; },\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n nodeAlign: 'sankeyJustify',\n nodeWidth: 0.02,\n nodePadding: 0.02,\n sort: undefined,\n};\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var nodeAlign = null;\n if ((0, util_1.isString)(options.nodeAlign)) {\n nodeAlign = ALIGN_METHOD[options.nodeAlign];\n }\n else if ((0, util_1.isFunction)(options.nodeAlign)) {\n nodeAlign = options.nodeAlign;\n }\n var sankeyProcessor = (0, d3_sankey_1.sankey)()\n .nodeSort(options.sort)\n .links(function (d) { return d.edges; })\n .nodeWidth(options.nodeWidth)\n .nodePadding(options.nodePadding)\n .extent([\n [0, 0],\n [1, 1],\n ]);\n if ((0, util_1.isFunction)(options.nodeId)) {\n sankeyProcessor.nodeId(options.nodeId);\n }\n if (nodeAlign) {\n sankeyProcessor.nodeAlign(nodeAlign);\n }\n // TODO:\n // @ts-ignore\n sankeyProcessor(dv);\n // post process (x, y), etc.\n dv.nodes.forEach(function (node) {\n var x0 = node.x0, x1 = node.x1, y0 = node.y0, y1 = node.y1;\n /* points\n * 3---2\n * | |\n * 0---1\n */\n node.x = [x0, x1, x1, x0];\n node.y = [y0, y0, y1, y1];\n });\n dv.edges.forEach(function (edge) {\n var source = edge.source, target = edge.target;\n var sx = source.x1;\n var tx = target.x0;\n edge.x = [sx, sx, tx, tx];\n var offset = edge.width / 2;\n edge.y = [edge.y0 + offset, edge.y0 - offset, edge.y1 + offset, edge.y1 - offset];\n });\n}\ndata_set_1.DataSet.registerTransform('diagram.sankey', transform);\ndata_set_1.DataSet.registerTransform('sankey', transform);\n" + }, + { + "id": "./src/transform/diagram/voronoi.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "name": "./src/transform/diagram/voronoi.ts", + "index": 478, + "index2": 478, + "size": 1856, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/voronoi", + "loc": "53:0-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Voronoi = tslib_1.__importStar(require(\"d3-voronoi\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // fields: [ 'x', 'y' ] // field x and field y, required\n // extend: [[x0, y0], [x1, y1]], // optional\n // size: [width, height], // optional\n as: ['_x', '_y'],\n};\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: must be an array with two strings!');\n }\n var xField = as[0];\n var yField = as[1];\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('Invalid fields: must be an array with two strings!');\n }\n var x = fields[0];\n var y = fields[1];\n var rows = dataView.rows;\n var data = rows.map(function (row) { return [row[x], row[y]]; });\n var voronoi = d3Voronoi.voronoi();\n if (options.extend) {\n voronoi.extent(options.extend);\n }\n if (options.size) {\n voronoi.size(options.size);\n }\n var polygons = voronoi(data).polygons();\n rows.forEach(function (row, i) {\n var polygon = polygons[i].filter(function (point) { return !!point; }); // some points are null\n row[xField] = polygon.map(function (point) { return point[0]; });\n row[yField] = polygon.map(function (point) { return point[1]; });\n });\n}\nregisterTransform('diagram.voronoi', transform);\nregisterTransform('voronoi', transform);\n" + }, + { + "id": "./src/transform/fill-rows.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "name": "./src/transform/fill-rows.ts", + "index": 164, + "index2": 163, + "size": 3658, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/fill-rows", + "loc": "32:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar DEFAULT_OPTIONS = {\n fillBy: 'group', // group | order\n groupBy: [],\n orderBy: [],\n};\nfunction arrayDifference(arr1, arr2) {\n // arrayDifference([1, 1, 1, 2], [1, 2]) => [1, 1]\n var shadow = arr1.map(function (item) { return item; }); // shadow copy\n arr2.forEach(function (item) {\n var index = shadow.indexOf(item);\n if (index > -1) {\n shadow.splice(index, 1);\n }\n });\n return shadow;\n}\nfunction fillRowsTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var rows = dataView.rows;\n var groupBy = options.groupBy;\n var orderBy = options.orderBy;\n var groups = (0, partition_1.default)(rows, groupBy, orderBy);\n var maxLength = 0;\n var referenceGroup = [];\n (0, util_1.forIn)(groups, function (group) {\n if (group.length > maxLength) {\n maxLength = group.length;\n referenceGroup = group;\n }\n });\n var referenceOrderByKeys = [];\n var referenceRowByOrderByKey = {};\n referenceGroup.forEach(function (row) {\n var key = orderBy.map(function (col) { return row[col]; }).join('-');\n referenceOrderByKeys.push(key);\n referenceRowByOrderByKey[key] = row;\n });\n if (options.fillBy === 'order') {\n var first_1 = referenceGroup[0];\n var allOrderByKeys_1 = [];\n var rowByOrderByKey_1 = {};\n rows.forEach(function (row) {\n var key = orderBy.map(function (col) { return row[col]; }).join('-');\n if (allOrderByKeys_1.indexOf(key) === -1) {\n allOrderByKeys_1.push(key);\n rowByOrderByKey_1[key] = row;\n }\n });\n var _missingOrderByKeys = arrayDifference(allOrderByKeys_1, referenceOrderByKeys);\n _missingOrderByKeys.forEach(function (key) {\n var row = {};\n groupBy.forEach(function (col) {\n row[col] = first_1[col];\n });\n orderBy.forEach(function (col) {\n row[col] = rowByOrderByKey_1[key][col];\n });\n rows.push(row);\n referenceGroup.push(row);\n referenceOrderByKeys.push(key);\n referenceRowByOrderByKey[key] = row;\n });\n maxLength = referenceGroup.length;\n }\n (0, util_1.forIn)(groups, function (group) {\n if (group !== referenceGroup && group.length < maxLength) {\n var first_2 = group[0];\n // missing orderBy keys\n var orderByKeys_1 = [];\n group.forEach(function (row) {\n orderByKeys_1.push(orderBy.map(function (col) { return row[col]; }).join('-'));\n });\n var missingOrderByKeys = arrayDifference(referenceOrderByKeys, orderByKeys_1);\n missingOrderByKeys.some(function (key, i) {\n if (i >= maxLength - group.length) {\n // group length overflow\n return true;\n }\n var referenceRow = referenceRowByOrderByKey[key];\n var row = {};\n groupBy.forEach(function (col) {\n row[col] = first_2[col];\n });\n orderBy.forEach(function (col) {\n row[col] = referenceRow[col];\n });\n rows.push(row);\n return false;\n });\n }\n });\n}\nexports.default = fillRowsTransform;\n" + }, + { + "id": "./src/transform/filter.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/filter.ts", + "name": "./src/transform/filter.ts", + "index": 151, + "index2": 150, + "size": 299, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/filter", + "loc": "19:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction defaultCallback(row) {\n return !!row;\n}\nvar filterTransform = function (dataView, options) {\n dataView.rows = dataView.rows.filter(options.callback || defaultCallback);\n};\nexports.default = filterTransform;\n" + }, + { + "id": "./src/transform/fold.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "name": "./src/transform/fold.ts", + "index": 152, + "index2": 152, + "size": 1214, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/fold", + "loc": "20:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: [],\n key: 'key',\n retains: [],\n value: 'value',\n};\nvar foldTransform = function (dataView, options) {\n var columns = dataView.getColumnNames();\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (fields.length === 0) {\n console.warn('warning: option fields is not specified, will fold all columns.');\n fields = columns;\n }\n var key = options.key;\n var value = options.value;\n var retains = options.retains;\n if (!retains || retains.length === 0) {\n retains = (0, util_1.difference)(columns, fields);\n }\n var resultRows = [];\n dataView.rows.forEach(function (row) {\n fields.forEach(function (field) {\n var resultRow = (0, util_1.pick)(row, retains);\n resultRow[key] = field;\n resultRow[value] = row[field];\n resultRows.push(resultRow);\n });\n });\n dataView.rows = resultRows;\n};\nexports.default = foldTransform;\n" + }, + { + "id": "./src/transform/geo/centroid.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "name": "./src/transform/geo/centroid.ts", + "index": 177, + "index2": 176, + "size": 1697, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/centroid", + "loc": "46:0-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'name', // required\n // geoView: view, // required\n // geoDataView: view, // alias\n as: ['_centroid_x', '_centroid_y'],\n};\nfunction transform(view, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n // @ts-ignore\n var geoView = options.geoView || options.geoDataView; // alias\n if ((0, util_1.isString)(geoView) && view.dataSet) {\n geoView = view.dataSet.getView(geoView);\n }\n if (!geoView || geoView.dataType !== 'geo') {\n throw new TypeError('Invalid geoView: must be a DataView of GEO dataType!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"cX\", \"cY\" ])!');\n }\n var centroidX = as[0];\n var centroidY = as[1];\n view.rows.forEach(function (row) {\n var feature = geoView.geoFeatureByName(row[field]);\n if (feature) {\n if (geoView._projectedAs) {\n row[centroidX] = feature[geoView._projectedAs[2]];\n row[centroidY] = feature[geoView._projectedAs[3]];\n }\n else {\n row[centroidX] = feature.centroidX;\n row[centroidY] = feature.centroidY;\n }\n }\n });\n}\nregisterTransform('geo.centroid', transform);\n" + }, + { + "id": "./src/transform/geo/projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "name": "./src/transform/geo/projection.ts", + "index": 178, + "index2": 177, + "size": 2209, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/projection", + "loc": "47:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar point_at_length_1 = tslib_1.__importDefault(require(\"point-at-length\"));\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar get_geo_projection_1 = tslib_1.__importDefault(require(\"../../util/get-geo-projection\"));\nvar DEFAULT_OPTIONS = {\n // projection: '', // default to null\n as: ['_x', '_y', '_centroid_x', '_centroid_y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== 'geo' && dataView.dataType !== 'geo-graticule') {\n throw new TypeError('Invalid dataView: this transform is for Geo data only!');\n }\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var projection = options.projection;\n if (!projection) {\n throw new TypeError('Invalid projection!');\n }\n projection = (0, get_geo_projection_1.default)(projection);\n // @ts-ignore;\n var geoPathGenerator = (0, d3_geo_1.geoPath)(projection);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 4) {\n throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ \"x\", \"y\", \"cX\", \"cY\" ])!');\n }\n dataView._projectedAs = as;\n var _a = tslib_1.__read(as, 4), lonField = _a[0], latField = _a[1], centroidX = _a[2], centroidY = _a[3];\n dataView.rows.forEach(function (row) {\n row[lonField] = [];\n row[latField] = [];\n var pathData = geoPathGenerator(row);\n if (pathData) {\n // TODO projection returns null\n var points = (0, point_at_length_1.default)(pathData);\n points._path.forEach(function (point) {\n row[lonField].push(point[1]);\n row[latField].push(point[2]);\n });\n var centroid = geoPathGenerator.centroid(row);\n row[centroidX] = centroid[0];\n row[centroidY] = centroid[1];\n }\n });\n dataView.rows = dataView.rows.filter(function (row) { return row[lonField].length !== 0; });\n}\nregisterTransform('geo.projection', transform);\n" + }, + { + "id": "./src/transform/geo/region.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "name": "./src/transform/geo/region.ts", + "index": 179, + "index2": 178, + "size": 1652, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/region", + "loc": "48:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'name', // required\n // geoView: view, // required\n // geoDataView: view, // alias\n as: ['_x', '_y'],\n};\nfunction transform(view, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n // @ts-ignore\n var geoView = options.geoView || options.geoDataView; // alias\n if ((0, util_1.isString)(geoView)) {\n geoView = view.dataSet.getView(geoView);\n }\n if (!geoView || geoView.dataType !== 'geo') {\n throw new TypeError('Invalid geoView: must be a DataView of GEO dataType!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var lonField = as[0];\n var latField = as[1];\n view.rows.forEach(function (row) {\n var feature = geoView.geoFeatureByName(row[field]);\n if (feature) {\n if (geoView._projectedAs) {\n row[lonField] = feature[geoView._projectedAs[0]];\n row[latField] = feature[geoView._projectedAs[1]];\n }\n else {\n row[lonField] = feature.longitude;\n row[latField] = feature.latitude;\n }\n }\n });\n}\nregisterTransform('geo.region', transform);\n" + }, + { + "id": "./src/transform/hierarchy/cluster.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "name": "./src/transform/hierarchy/cluster.ts", + "index": 480, + "index2": 479, + "size": 1737, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/cluster", + "loc": "55:0-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n nodeSize: null,\n separation: null,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY || !dataView.root) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field = undefined;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var clusterLayout = d3Hierarchy.cluster();\n clusterLayout.size(options.size);\n if (options.nodeSize) {\n clusterLayout.nodeSize(options.nodeSize);\n }\n if (options.separation) {\n clusterLayout.separation(options.separation);\n }\n clusterLayout(root);\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.cluster', transform);\ndata_set_1.DataSet.registerTransform('dendrogram', transform);\n" + }, + { + "id": "./src/transform/hierarchy/compact-box.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "name": "./src/transform/hierarchy/compact-box.ts", + "index": 481, + "index2": 481, + "size": 904, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/compact-box", + "loc": "56:0-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.compactBox(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.compact-box', transform);\ndata_set_1.DataSet.registerTransform('compact-box-tree', transform);\ndata_set_1.DataSet.registerTransform('non-layered-tidy-tree', transform);\ndata_set_1.DataSet.registerTransform('mindmap-logical', transform);\n" + }, + { + "id": "./src/transform/hierarchy/dendrogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "name": "./src/transform/hierarchy/dendrogram.ts", + "index": 483, + "index2": 482, + "size": 755, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/dendrogram", + "loc": "57:0-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.dendrogram(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.dendrogram', transform);\ndata_set_1.DataSet.registerTransform('dendrogram', transform);\n" + }, + { + "id": "./src/transform/hierarchy/indented.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "name": "./src/transform/hierarchy/indented.ts", + "index": 484, + "index2": 483, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/indented", + "loc": "58:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.indented(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.indented', transform);\ndata_set_1.DataSet.registerTransform('indented-tree', transform);\n" + }, + { + "id": "./src/transform/hierarchy/pack.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "name": "./src/transform/hierarchy/pack.ts", + "index": 485, + "index2": 484, + "size": 1760, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/pack", + "loc": "59:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n padding: 0,\n as: ['x', 'y', 'r'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 3) {\n throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"r\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; }).sort(function (a, b) { return b[field] - a[field]; });\n }\n var packLayout = d3Hierarchy.pack();\n packLayout.size(options.size);\n if (options.padding) {\n packLayout.padding(options.padding);\n }\n packLayout(root);\n var x = as[0];\n var y = as[1];\n var r = as[2];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n node[r] = node.r;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.pack', transform);\ndata_set_1.DataSet.registerTransform('hierarchy.circle-packing', transform);\ndata_set_1.DataSet.registerTransform('circle-packing', transform);\n" + }, + { + "id": "./src/transform/hierarchy/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "name": "./src/transform/hierarchy/partition.ts", + "index": 486, + "index2": 485, + "size": 1953, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/partition", + "loc": "60:0-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n round: false,\n // ratio: 1.618033988749895, // golden ratio\n padding: 0,\n sort: true,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var partitionLayout = d3Hierarchy.partition();\n partitionLayout\n .size(options.size)\n .round(options.round)\n .padding(options.padding);\n partitionLayout(root);\n /*\n * points:\n * 3 2\n * 0 1\n */\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = [node.x0, node.x1, node.x1, node.x0];\n node[y] = [node.y1, node.y1, node.y0, node.y0];\n ['x0', 'x1', 'y0', 'y1'].forEach(function (prop) {\n if (as.indexOf(prop) === -1) {\n delete node[prop];\n }\n });\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.partition', transform);\ndata_set_1.DataSet.registerTransform('adjacency', transform);\n" + }, + { + "id": "./src/transform/hierarchy/tree.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "name": "./src/transform/hierarchy/tree.ts", + "index": 487, + "index2": 486, + "size": 1680, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/tree", + "loc": "61:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n nodeSize: null,\n separation: null,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var treeLayout = d3Hierarchy.tree();\n treeLayout.size(options.size);\n if (options.nodeSize) {\n treeLayout.nodeSize(options.nodeSize);\n }\n if (options.separation) {\n treeLayout.separation(options.separation);\n }\n treeLayout(root);\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.tree', transform);\ndata_set_1.DataSet.registerTransform('tree', transform);\n" + }, + { + "id": "./src/transform/hierarchy/treemap.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "name": "./src/transform/hierarchy/treemap.ts", + "index": 488, + "index2": 487, + "size": 2477, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/treemap", + "loc": "62:0-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n tile: 'treemapSquarify', // treemapBinary, treemapDice, treemapSlice, treemapSliceDice, treemapSquarify, treemapResquarify\n size: [1, 1], // width, height\n round: false,\n // ratio: 1.618033988749895, // golden ratio\n padding: 0,\n paddingInner: 0,\n paddingOuter: 0,\n paddingTop: 0,\n paddingRight: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var treemapLayout = d3Hierarchy.treemap();\n treemapLayout\n .tile(d3Hierarchy[options.tile])\n .size(options.size)\n .round(options.round)\n .padding(options.padding)\n .paddingInner(options.paddingInner)\n .paddingOuter(options.paddingOuter)\n .paddingTop(options.paddingTop)\n .paddingRight(options.paddingRight)\n .paddingBottom(options.paddingBottom)\n .paddingLeft(options.paddingLeft);\n treemapLayout(root);\n /*\n * points:\n * 3 2\n * 0 1\n */\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = [node.x0, node.x1, node.x1, node.x0];\n node[y] = [node.y1, node.y1, node.y0, node.y0];\n ['x0', 'x1', 'y0', 'y1'].forEach(function (prop) {\n if (as.indexOf(prop) === -1) {\n delete node[prop];\n }\n });\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.treemap', transform);\ndata_set_1.DataSet.registerTransform('treemap', transform);\n" + }, + { + "id": "./src/transform/impute.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "name": "./src/transform/impute.ts", + "index": 165, + "index2": 164, + "size": 2378, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/impute", + "loc": "33:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: '', // required\n // method: 'value', // required\n // value: 10, // required if (method === 'value')\n groupBy: [],\n};\nfunction notUndefinedValues(values) {\n return values.filter(function (value) { return !(0, util_1.isUndefined)(value); });\n}\nvar STATISTICS_METHODS = ['mean', 'median', 'max', 'min'];\nvar imputations = {};\nSTATISTICS_METHODS.forEach(function (method) {\n // @ts-ignore\n imputations[method] = function (row, values) { return simpleStatistics[method](values); };\n});\nimputations.value = function (_row, _values, value) { return value; };\nfunction imputeTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var method = options.method;\n if (!method) {\n throw new TypeError('Invalid method!');\n }\n if (method === 'value' && !(0, util_1.has)(options, 'value')) {\n throw new TypeError('Invalid value: it is nil.');\n }\n var column = notUndefinedValues(dataView.getColumn(field));\n var groups = (0, partition_1.default)(dataView.rows, options.groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var fieldValues = notUndefinedValues(group.map(function (row) { return row[field]; }));\n if (fieldValues.length === 0) {\n fieldValues = column;\n }\n group.forEach(function (row) {\n if ((0, util_1.isUndefined)(row[field])) {\n if ((0, util_1.isFunction)(method)) {\n row[field] = method(row, fieldValues, options.value, group);\n }\n else if ((0, util_1.isString)(method)) {\n row[field] = imputations[method](row, fieldValues, options.value);\n }\n else {\n throw new TypeError(\"Invalid method: must be a function or one of \".concat(STATISTICS_METHODS.join(', ')));\n }\n }\n });\n });\n}\nexports.default = imputeTransform;\n" + }, + { + "id": "./src/transform/kde.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "name": "./src/transform/kde.ts", + "index": 171, + "index2": 171, + "size": 4230, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 4, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kde", + "loc": "39:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BANDWIDTH_METHODS = exports.KERNEL_METHODS = void 0;\nvar tslib_1 = require(\"tslib\");\n/*\n * kernel density estimation\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../util/kernel\"));\nvar bandwidth = tslib_1.__importStar(require(\"../util/bandwidth\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar DEFAULT_OPTIONS = {\n minSize: 0.01,\n as: ['key', 'y', 'size'],\n // fields: [ 'y1', 'y2' ], // required, one or more fields\n extent: [], // extent to execute regression function, default: [ [ min(x), max(x) ], [ min(y), max(y) ] ]\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n bandwidth: 'nrd', // bandwidth method to execute kernel function // nrd, silverman or a fixed bandwidth value\n step: 0,\n groupBy: [],\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\nexports.KERNEL_METHODS = KERNEL_METHODS;\nvar BANDWIDTH_METHODS = (0, util_1.keys)(bandwidth);\nexports.BANDWIDTH_METHODS = BANDWIDTH_METHODS;\nfunction kdeTransform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length < 1) {\n throw new TypeError('invalid fields: must be an array of at least 1 strings!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 3) {\n throw new TypeError('invalid as: must be an array of 3 strings!');\n }\n var method = options.method;\n if ((0, util_1.isString)(method)) {\n if (KERNEL_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n method = kernel_1.default[method];\n }\n if (!(0, util_1.isFunction)(method)) {\n throw new TypeError('invalid method: kernel method must be a function!');\n }\n var extent = options.extent;\n if (!(0, util_1.isArray)(extent) || extent.length === 0) {\n var rangeArr_1 = [];\n (0, util_1.each)(fields, function (field) {\n var range = dv.range(field);\n rangeArr_1 = rangeArr_1.concat(range);\n });\n extent = [Math.min.apply(Math, tslib_1.__spreadArray([], tslib_1.__read(rangeArr_1), false)), Math.max.apply(Math, tslib_1.__spreadArray([], tslib_1.__read(rangeArr_1), false))];\n }\n var bw = options.bandwidth;\n if ((0, util_1.isString)(bw) && bandwidth[bw]) {\n bw = bandwidth[bw](dv.getColumn(fields[0]));\n }\n else if ((0, util_1.isFunction)(bw)) {\n bw = bw(dv.getColumn(fields[0]));\n }\n else if (!(0, util_1.isNumber)(bw) || bw <= 0) {\n bw = bandwidth.nrd(dv.getColumn(fields[0]));\n }\n var seriesValues = (0, get_series_values_1.default)(extent, options.step ? options.step : bw);\n var result = [];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dv.rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var probalityDensityFunctionByField = {};\n (0, util_1.each)(fields, function (field) {\n var row = (0, util_1.pick)(group[0], groupBy);\n probalityDensityFunctionByField[field] = (0, simple_statistics_1.kernelDensityEstimation)(group.map(function (item) { return item[field]; }), method, bw);\n var _a = tslib_1.__read(as, 3), key = _a[0], y = _a[1], size = _a[2];\n row[key] = field;\n row[y] = [];\n row[size] = [];\n (0, util_1.each)(seriesValues, function (yValue) {\n var sizeValue = probalityDensityFunctionByField[field](yValue);\n if (sizeValue >= options.minSize) {\n row[y].push(yValue);\n row[size].push(sizeValue);\n }\n });\n result.push(row);\n });\n });\n dv.rows = result;\n}\nexports.default = kdeTransform;\n" + }, + { + "id": "./src/transform/kernel-smooth/density.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "name": "./src/transform/kernel-smooth/density.ts", + "index": 492, + "index2": 491, + "size": 3740, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kernel-smooth/density", + "loc": "68:0-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../../util/kernel\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar bandwidth_1 = require(\"../../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'z'],\n // fields: [ 'x', 'y' ], // required, one or two fields\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n // extent: [], // extent to execute regression function, default: [ [ min(x), max(x) ], [ min(y), max(y) ] ]\n // bandwidth: [], // bandWidth to execute kernel function\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\nfunction transform(dv, options) {\n var _a, _b;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('invalid fields: must be an array of 2 strings!');\n }\n var _c = tslib_1.__read(options.as, 3), asX = _c[0], asY = _c[1], asZ = _c[2];\n if (!(0, util_1.isString)(asX) || !(0, util_1.isString)(asY) || !(0, util_1.isString)(asZ)) {\n throw new TypeError('invalid as: must be an array of 3 strings!');\n }\n var method;\n if ((0, util_1.isString)(options.method)) {\n if (KERNEL_METHODS.indexOf(options.method) === -1) {\n throw new TypeError(\"invalid method: \".concat(options.method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n method = kernel_1.default[options.method];\n }\n var _d = tslib_1.__read(fields, 2), xField = _d[0], yField = _d[1];\n var extent = options.extent, bandwidth = options.bandwidth;\n var extentX;\n var extentY;\n if (extent && Array.isArray(extent) && Array.isArray(extent[0]) && Array.isArray(extent[1])) {\n _a = tslib_1.__read(extent, 2), extentX = _a[0], extentY = _a[1];\n }\n else {\n extentX = dv.range(xField);\n extentY = dv.range(yField);\n }\n var bwX, bwY;\n if (bandwidth &&\n Array.isArray(bandwidth) &&\n bandwidth.slice(0, 2).every(util_1.isNumber) &&\n bandwidth.slice(0, 2).every(function (item) { return item > 0; })) {\n _b = tslib_1.__read(bandwidth, 2), bwX = _b[0], bwY = _b[1];\n }\n else {\n bwX = (0, bandwidth_1.silverman)(dv.getColumn(xField));\n bwY = (0, bandwidth_1.silverman)(dv.getColumn(yField));\n }\n var seriesValuesX = (0, get_series_values_1.default)(extentX, bwX);\n var seriesValuesY = (0, get_series_values_1.default)(extentY, bwY);\n var count = dv.rows.length;\n var result = [];\n for (var i = 0; i < seriesValuesX.length; i++) {\n for (var j = 0; j < seriesValuesY.length; j++) {\n var sum = 0;\n var x = seriesValuesX[i];\n var y = seriesValuesY[j];\n for (var k = 0; k < count; k++) {\n sum += method((x - dv.rows[k][xField]) / bwX) * method((y - dv.rows[k][yField]) / bwY);\n }\n var z = (1 / (count * bwX * bwY)) * sum;\n var row = {};\n row[asX] = x;\n row[asY] = y;\n row[asZ] = z;\n result.push(row);\n }\n }\n dv.rows = result;\n}\ndata_set_1.DataSet.registerTransform('kernel-smooth.density', transform);\ndata_set_1.DataSet.registerTransform('kernel.density', transform);\nexports.default = {\n KERNEL_METHODS: KERNEL_METHODS,\n};\n" + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "index": 493, + "index2": 492, + "size": 4293, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kernel-smooth/regression", + "loc": "69:0-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../../util/kernel\"));\nvar data_set_1 = require(\"../../data-set\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar bandwidth_1 = require(\"../../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y'],\n // fields: [ 'x', 'y' ], // required, one or two fields\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n // extent: [], // extent to execute regression function, default: [ min(x), max(x) ]\n // bandwidth: 0.5 // bandWidth to execute kernel function\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\n// calculates weight for i-th obs\nfunction weight(kernel, bandwidth, x_0, x_i) {\n var arg = (x_i - x_0) / bandwidth;\n return kernel(arg);\n}\n// calculates weight for i-th obs when p > 1\n// function weight_vectors(kernel, bandwidth, x_0, x_i) {\n// const arg = enclideanDistance(x_i, x_0) / bandwidth;\n// return kernel(arg);\n// }\nfunction vectorize(fun) {\n return function (x) {\n if (!(0, util_1.isArray)(x)) {\n return fun(x);\n }\n return x.map(function (x) {\n return fun(x);\n });\n };\n}\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || !(fields.length === 1 || fields.length === 2)) {\n throw new TypeError('invalid fields: must be an array of 1 or 2 strings!');\n }\n var _a = tslib_1.__read(options.as, 2), asX = _a[0], asY = _a[1];\n if (!(0, util_1.isString)(asX) || !(0, util_1.isString)(asY)) {\n throw new TypeError('invalid as: must be an array of 2 strings!');\n }\n var func;\n var method = options.method;\n if ((0, util_1.isString)(method)) {\n if (KERNEL_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n func = kernel_1.default[method];\n }\n var _b = tslib_1.__read(fields, 2), xField = _b[0], yField = _b[1];\n var xs = dv.getColumn(xField);\n var extent = options.extent;\n if (extent || !(0, util_1.isArray)(extent)) {\n extent = dv.range(xField);\n }\n var bandwidth = options.bandwidth;\n if (!bandwidth || !(0, util_1.isNumber)(bandwidth) || bandwidth <= 0) {\n bandwidth = (0, bandwidth_1.silverman)(xs);\n }\n var seriesValues = (0, get_series_values_1.default)(extent, bandwidth);\n var xCount = xs.length;\n var weightFunc = weight.bind(null, func, bandwidth);\n var kernelSmoother;\n if ((0, util_1.isNil)(yField)) {\n // KDE\n kernelSmoother = vectorize(function (x) {\n var weights = xs.map(function (x_i) { return weightFunc(x, x_i); });\n var num = (0, simple_statistics_1.sum)(weights);\n var denom = xCount * bandwidth;\n if (!num || !denom)\n return 0;\n return num / denom;\n });\n }\n else {\n // kernel regression smoothing\n var ys_1 = dv.getColumn(yField);\n kernelSmoother = vectorize(function (x) {\n var weights = xs.map(function (x_i) { return weightFunc(x, x_i); });\n var num = (0, simple_statistics_1.sum)(weights.map(function (w, i) { return w * ys_1[i]; }));\n var denom = (0, simple_statistics_1.sum)(weights);\n if (!num || !denom)\n return 0;\n return num / denom;\n });\n }\n var result = seriesValues.map(function (x) {\n var row = {};\n row[asX] = x;\n row[asY] = kernelSmoother(x);\n return row;\n });\n dv.rows = result;\n}\ndata_set_1.DataSet.registerTransform('kernel-smooth.regression', transform);\ndata_set_1.DataSet.registerTransform('kernel.regression', transform);\nexports.default = {\n KERNEL_METHODS: KERNEL_METHODS,\n};\n" + }, + { + "id": "./src/transform/map.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/map.ts", + "name": "./src/transform/map.ts", + "index": 154, + "index2": 153, + "size": 288, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/map", + "loc": "21:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction defaultCallback(row) {\n return row;\n}\nvar mapTransform = function (dataView, options) {\n dataView.rows = dataView.rows.map(options.callback || defaultCallback);\n};\nexports.default = mapTransform;\n" + }, + { + "id": "./src/transform/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "name": "./src/transform/partition.ts", + "index": 155, + "index2": 154, + "size": 609, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/partition", + "loc": "22:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar DEFAULT_OPTIONS = {\n groupBy: [], // optional\n orderBy: [],\n};\nvar partitionTransform = function (dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n // TODO: rows 是否都只能是数组\n // @ts-ignore;\n dataView.rows = (0, partition_1.default)(dataView.rows, options.groupBy, options.orderBy);\n};\nexports.default = partitionTransform;\n" + }, + { + "id": "./src/transform/percent.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "name": "./src/transform/percent.ts", + "index": 156, + "index2": 155, + "size": 2256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/percent", + "loc": "23:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'y', // required\n // dimension: 'x', // required\n groupBy: [], // optional\n as: '_percent',\n};\nfunction percentTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var dimension = options.dimension, groupBy = options.groupBy;\n var as = options.as;\n if (!(0, util_1.isString)(dimension)) {\n throw new TypeError('Invalid dimension: must be a string!');\n }\n if ((0, util_1.isArray)(as)) {\n console.warn('Invalid as: must be a string, will use the first element of the array specified.');\n as = as[0];\n }\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: must be a string!');\n }\n var rows = dataView.rows;\n var result = [];\n var groups = (0, partition_1.default)(rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var totalSum = (0, simple_statistics_1.sum)(group.map(function (row) { return row[field]; }));\n var innerGroups = (0, partition_1.default)(group, [dimension]);\n (0, util_1.forIn)(innerGroups, function (innerGroup) {\n var innerSum = (0, simple_statistics_1.sum)(innerGroup.map(function (row) { return row[field]; }));\n // const resultRow = pick(innerGroup[0], union(groupBy, [ dimension ]));\n var resultRow = innerGroup[0];\n // FIXME in case dimension and field is the same\n var dimensionValue = resultRow[dimension];\n resultRow[field] = innerSum;\n resultRow[dimension] = dimensionValue;\n if (totalSum === 0) {\n resultRow[as] = 0;\n }\n else {\n resultRow[as] = innerSum / totalSum;\n }\n result.push(resultRow);\n });\n });\n dataView.rows = result;\n}\nexports.default = percentTransform;\n" + }, + { + "id": "./src/transform/pick.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "name": "./src/transform/pick.ts", + "index": 157, + "index2": 156, + "size": 440, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/pick", + "loc": "24:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar pickTransform = function (dataView, options) {\n var columns = (0, option_parser_1.getFields)(options, dataView.getColumnNames());\n dataView.rows = dataView.rows.map(function (row) { return (0, util_1.pick)(row, columns); });\n};\nexports.default = pickTransform;\n" + }, + { + "id": "./src/transform/proportion.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "name": "./src/transform/proportion.ts", + "index": 158, + "index2": 157, + "size": 1975, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/proportion", + "loc": "25:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'y', // required\n // dimension: 'x', // required\n groupBy: [], // optional\n as: '_proportion',\n};\nfunction proportionTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var dimension = options.dimension;\n var groupBy = options.groupBy;\n var as = options.as;\n if (!(0, util_1.isString)(dimension)) {\n throw new TypeError('Invalid dimension: must be a string!');\n }\n if ((0, util_1.isArray)(as)) {\n console.warn('Invalid as: must be a string, will use the first element of the array specified.');\n as = as[0];\n }\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: must be a string!');\n }\n var rows = dataView.rows;\n var result = [];\n var groups = (0, partition_1.default)(rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var totalCount = group.length;\n var innerGroups = (0, partition_1.default)(group, [dimension]);\n (0, util_1.forIn)(innerGroups, function (innerGroup) {\n var innerCount = innerGroup.length;\n // const resultRow = pick(innerGroup[0], union(groupBy, [ dimension ]));\n var resultRow = innerGroup[0];\n // FIXME in case dimension and field is the same\n var dimensionValue = resultRow[dimension];\n resultRow[field] = innerCount;\n resultRow[dimension] = dimensionValue;\n resultRow[as] = innerCount / totalCount;\n result.push(resultRow);\n });\n });\n dataView.rows = result;\n}\nexports.default = proportionTransform;\n" + }, + { + "id": "./src/transform/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "name": "./src/transform/regression.ts", + "index": 167, + "index2": 169, + "size": 2673, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/regression", + "loc": "37:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.REGRESSION_METHODS = void 0;\nvar tslib_1 = require(\"tslib\");\nvar regression_1 = tslib_1.__importDefault(require(\"regression\"));\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../util/get-series-values\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar bandwidth_1 = require(\"../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y'],\n // fields: [ 'x', 'y' ], // required two fields\n method: 'linear', // regression method: linear, exponential, logarithmic, power, polynomial\n // extent: [], // extent to execute regression function, default: [ min(x), max(x) ]\n // bandwidth: 1, // bandWidth to execute regression function\n order: 2, // order of the polynomial curve\n precision: 2, // the number of significant figures the output is rounded to\n};\nvar REGRESSION_METHODS = ['linear', 'exponential', 'logarithmic', 'power', 'polynomial'];\nexports.REGRESSION_METHODS = REGRESSION_METHODS;\nfunction regressionTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('invalid fields: must be an array of 2 strings.');\n }\n var _a = tslib_1.__read(fields, 2), xField = _a[0], yField = _a[1];\n var method = options.method;\n if (REGRESSION_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(REGRESSION_METHODS.join(', ')));\n }\n var points = dataView.rows.map(function (row) { return [row[xField], row[yField]]; });\n var regressionResult = regression_1.default[method](points, options);\n var extent = options.extent;\n if (!(0, util_1.isArray)(extent) || extent.length !== 2) {\n extent = dataView.range(xField);\n }\n var bandwidth = options.bandwidth;\n if (!(0, util_1.isNumber)(bandwidth) || bandwidth <= 0) {\n bandwidth = (0, bandwidth_1.silverman)(dataView.getColumn(xField));\n }\n var valuesToPredict = (0, get_series_values_1.default)(extent, bandwidth);\n var result = [];\n var _b = tslib_1.__read(options.as, 2), asX = _b[0], asY = _b[1];\n valuesToPredict.forEach(function (value) {\n var row = {};\n var _a = tslib_1.__read(regressionResult.predict(value), 2), x = _a[0], y = _a[1];\n row[asX] = x;\n row[asY] = y;\n if (isFinite(y)) {\n result.push(row);\n }\n });\n dataView.rows = result;\n}\nexports.default = regressionTransform;\n" + }, + { + "id": "./src/transform/rename.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/rename.ts", + "name": "./src/transform/rename.ts", + "index": 159, + "index2": 158, + "size": 714, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/rename", + "loc": "26:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nfunction renameTransform(dataView, options) {\n var map = options.map || {};\n var cleanMap = {};\n if ((0, util_1.isPlainObject)(map)) {\n (0, util_1.forIn)(map, function (value, key) {\n if ((0, util_1.isString)(value) && (0, util_1.isString)(key)) {\n cleanMap[key] = value;\n }\n });\n }\n dataView.rows.forEach(function (row) {\n (0, util_1.forIn)(cleanMap, function (newKey, key) {\n var temp = row[key];\n delete row[key];\n row[newKey] = temp;\n });\n });\n}\nexports.default = renameTransform;\n" + }, + { + "id": "./src/transform/reverse.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/reverse.ts", + "name": "./src/transform/reverse.ts", + "index": 160, + "index2": 159, + "size": 190, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/reverse", + "loc": "27:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar reverseTransform = function (dataView) {\n dataView.rows.reverse();\n};\nexports.default = reverseTransform;\n" + }, + { + "id": "./src/transform/sort-by.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "name": "./src/transform/sort-by.ts", + "index": 162, + "index2": 161, + "size": 934, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/sort-by", + "loc": "29:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\n/*\n * options: {\n * type: 'sort-by',\n * fields: [],\n * order: 'ASC' // 'DESC'\n * }\n */\nvar VALID_ORDERS = ['ASC', 'DESC'];\nfunction sortByTransform(dataView, options) {\n var fields = (0, option_parser_1.getFields)(options, [dataView.getColumnName(0)]);\n if (!(0, util_1.isArray)(fields)) {\n throw new TypeError('Invalid fields: must be an array with strings!');\n }\n dataView.rows = (0, util_1.sortBy)(dataView.rows, fields);\n var order = options.order;\n if (order && VALID_ORDERS.indexOf(order) === -1) {\n throw new TypeError(\"Invalid order: \".concat(order, \" must be one of \").concat(VALID_ORDERS.join(', ')));\n }\n else if (order === 'DESC') {\n dataView.rows.reverse();\n }\n}\nexports.default = sortByTransform;\n" + }, + { + "id": "./src/transform/sort.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort.ts", + "name": "./src/transform/sort.ts", + "index": 161, + "index2": 160, + "size": 317, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/sort", + "loc": "28:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sortTransform = function (dataView, options) {\n var columnName = dataView.getColumnName(0);\n dataView.rows.sort(options.callback || (function (a, b) { return a[columnName] - b[columnName]; }));\n};\nexports.default = sortTransform;\n" + }, + { + "id": "./src/transform/subset.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/subset.ts", + "name": "./src/transform/subset.ts", + "index": 163, + "index2": 162, + "size": 498, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/subset", + "loc": "30:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar option_parser_1 = require(\"../util/option-parser\");\nvar subsetTransform = function (dataView, options) {\n var startIndex = options.startRowIndex || 0;\n var endIndex = options.endRowIndex || dataView.rows.length - 1;\n var columns = (0, option_parser_1.getFields)(options, dataView.getColumnNames());\n dataView.rows = dataView.getSubset(startIndex, endIndex, columns);\n};\nexports.default = subsetTransform;\n" + }, + { + "id": "./src/transform/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "name": "./src/transform/tag-cloud.ts", + "index": 489, + "index2": 489, + "size": 2755, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/tag-cloud", + "loc": "64:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar tag_cloud_1 = tslib_1.__importDefault(require(\"../util/tag-cloud\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: ['text', 'value'], // fields to keep\n font: function () { return 'serif'; },\n padding: 1,\n size: [500, 500],\n spiral: 'archimedean', // 'archimedean' || 'rectangular' || {function}\n // timeInterval: Infinity // max execute time\n timeInterval: 500, // max execute time\n // imageMask: '', // instance of Image, must be loaded\n};\nfunction tagCloudTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var layout = (0, tag_cloud_1.default)();\n // 当宽或者高为 0 时,容不下任何一个词语,\n // 所以最后的数据应该是一个空数组。\n if (!options.size[0] || !options.size[1]) {\n dataView.rows = [];\n dataView._tagCloud = layout;\n return;\n }\n ['font', 'fontSize', 'fontWeight', 'padding', 'rotate', 'size', 'spiral', 'timeInterval'].forEach(function (key) {\n // @ts-ignore\n if (options[key]) {\n // @ts-ignore\n layout[key](options[key]);\n }\n });\n var fields = (0, option_parser_1.getFields)(options);\n var _a = tslib_1.__read(fields, 2), text = _a[0], value = _a[1];\n if (!(0, util_1.isString)(text) || !(0, util_1.isString)(value)) {\n throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ \"text\", \"value\" ])!');\n }\n var words = dataView.rows.map(function (row) {\n row.text = row[text];\n row.value = row[value];\n return row;\n });\n layout.words(words);\n if (options.imageMask) {\n layout.createMask(options.imageMask);\n }\n // 这里的 result 和 layout 指向同一个对象\n var result = layout.start();\n var tags = result._tags;\n var bounds = result._bounds || [\n { x: 0, y: 0 },\n { x: options.size[0], y: options.size[1] },\n ];\n tags.forEach(function (tag) {\n tag.x += options.size[0] / 2;\n tag.y += options.size[1] / 2;\n });\n var _b = tslib_1.__read(options.size, 2), w = _b[0], h = _b[1];\n var hasImage = result.hasImage;\n tags.push({\n text: '',\n value: 0,\n x: hasImage ? 0 : bounds[0].x,\n y: hasImage ? 0 : bounds[0].y,\n opacity: 0,\n });\n tags.push({\n text: '',\n value: 0,\n x: hasImage ? w : bounds[1].x,\n y: hasImage ? h : bounds[1].y,\n opacity: 0,\n });\n dataView.rows = tags;\n dataView._tagCloud = result;\n}\nexports.default = tagCloudTransform;\n" + }, + { + "id": "./src/transform/waffle.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "name": "./src/transform/waffle.ts", + "index": 491, + "index2": 490, + "size": 3073, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/waffle", + "loc": "66:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar data_set_1 = require(\"../data-set\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: ['name', 'value'], // fields\n rows: 5,\n size: [1, 1],\n scale: 1,\n groupBy: [],\n maxCount: 1000,\n gapRatio: 0.1,\n as: ['x', 'y'],\n};\nfunction waffleTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n var _a = tslib_1.__read(fields, 2), nameField = _a[0], valueField = _a[1];\n var _b = tslib_1.__read(options.as, 2), asX = _b[0], asY = _b[1];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dataView.rows, groupBy);\n var groupKeys = (0, util_1.keys)(groups);\n var _c = tslib_1.__read(options.size, 2), width = _c[0], height = _c[1];\n var maxCount = options.maxCount;\n var groupCount = groupKeys.length;\n var partHeight = height / groupCount;\n var rows = options.rows;\n var gapRatio = options.gapRatio;\n var result = [];\n var scale = options.scale;\n var currentGroupIndex = 0;\n var wStep = 0;\n // getting suitable scale and width step\n (0, util_1.forIn)(groups, function (group) {\n var totalValue = (0, simple_statistics_1.sum)((0, util_1.map)(group, function (row) { return row[valueField]; }));\n var cols = Math.ceil((totalValue * scale) / rows);\n if (totalValue * scale > maxCount) {\n scale = maxCount / totalValue;\n cols = Math.ceil((totalValue * scale) / rows);\n }\n wStep = width / cols;\n });\n // distributing values into grid\n (0, util_1.forIn)(groups, function (group) {\n var heightRange = [currentGroupIndex * partHeight, (currentGroupIndex + 1) * partHeight];\n var h = heightRange[1] - heightRange[0];\n var hStep = (h * (1 - gapRatio)) / rows;\n var currentCol = 0;\n var currentRow = 0;\n (0, util_1.each)(group, function (row) {\n var value = row[valueField];\n var count = Math.round(value * scale);\n for (var i = 0; i < count; i++) {\n if (currentRow === rows) {\n currentRow = 0;\n currentCol++;\n }\n var resultRow = (0, util_1.pick)(row, [nameField, valueField].concat(groupBy));\n resultRow[asX] = currentCol * wStep + wStep / 2;\n resultRow[asY] = currentRow * hStep + hStep / 2 + heightRange[0];\n resultRow._wStep = wStep;\n resultRow._hStep = hStep;\n currentRow++;\n result.push(resultRow);\n }\n });\n currentGroupIndex += 1;\n });\n dataView.rows = result;\n}\ndata_set_1.DataSet.registerTransform('waffle', waffleTransform);\n" + }, + { + "id": "./src/util/bandwidth.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/bandwidth.ts", + "name": "./src/util/bandwidth.ts", + "index": 170, + "index2": 168, + "size": 702, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/bandwidth", + "loc": "11:37-65" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/bandwidth", + "loc": "12:18-49" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/bandwidth", + "loc": "13:18-49" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/bandwidth", + "loc": "9:18-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.nrd = exports.silverman = void 0;\nvar simple_statistics_1 = require(\"simple-statistics\");\nfunction silverman(arr) {\n var stdev = (0, simple_statistics_1.standardDeviation)(arr);\n var num = 4 * Math.pow(stdev, 5);\n var denom = 3 * arr.length;\n return Math.pow(num / denom, 0.2);\n}\nexports.silverman = silverman;\nfunction nrd(arr) {\n var s = (0, simple_statistics_1.standardDeviation)(arr);\n var iqr = (0, simple_statistics_1.interquartileRange)(arr);\n if (typeof iqr === 'number') {\n s = Math.min(s, iqr / 1.34);\n }\n return 1.06 * s * Math.pow(arr.length, -0.2);\n}\nexports.nrd = nrd;\n" + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "index": 120, + "index2": 122, + "size": 1308, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "issuerId": "./src/api/geo.ts", + "issuerName": "./src/api/geo.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "../util/get-geo-projection", + "loc": "8:51-88" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "../../util/get-geo-projection", + "loc": "9:51-91" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3Geo = tslib_1.__importStar(require(\"d3-geo\"));\nvar d3GeoProjection = tslib_1.__importStar(require(\"d3-geo-projection\"));\nvar d3CompositeProjection = tslib_1.__importStar(require(\"d3-composite-projections\"));\n/*\n * getGeoProjection\n *\n * @param {string|function} projection projection name or projection function\n * @param {boolean} [exportRaw = false] - whether return the raw projection or not\n * */\nexports.default = (function (projection, exportRaw) {\n if (exportRaw === void 0) { exportRaw = false; }\n if ((0, util_1.isFunction)(projection)) {\n return exportRaw ? projection : projection();\n }\n if ((0, util_1.isString)(projection)) {\n // @ts-ignore\n if (d3Geo[projection]) {\n // @ts-ignore\n return exportRaw ? d3Geo[projection] : d3Geo[projection]();\n }\n if (d3GeoProjection[projection]) {\n return exportRaw ? d3GeoProjection[projection] : d3GeoProjection[projection]();\n }\n if (d3CompositeProjection[projection]) {\n return exportRaw ? d3CompositeProjection[projection] : d3CompositeProjection[projection]();\n }\n }\n return null;\n});\n" + }, + { + "id": "./src/util/get-series-values.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-series-values.ts", + "name": "./src/util/get-series-values.ts", + "index": 169, + "index2": 167, + "size": 414, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/get-series-values", + "loc": "9:50-86" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/get-series-values", + "loc": "8:50-89" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/get-series-values", + "loc": "8:50-89" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/get-series-values", + "loc": "7:50-86" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nexports.default = (function (extent, bw) {\n var bandwidth = bw || 1;\n var _a = tslib_1.__read(extent, 2), min = _a[0], max = _a[1];\n var values = [];\n var tmp = min;\n while (tmp < max) {\n values.push(tmp);\n tmp += bandwidth;\n }\n values.push(max);\n return values;\n});\n" + }, + { + "id": "./src/util/kernel.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/kernel.ts", + "name": "./src/util/kernel.ts", + "index": 172, + "index2": 170, + "size": 1456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/kernel", + "loc": "10:39-64" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/kernel", + "loc": "9:39-67" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/kernel", + "loc": "9:39-67" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * @reference: https://github.com/jasondavies/science.js/blob/master/src/stats/kernel.js\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js#L16\n */\nfunction uniform(u) {\n return Math.abs(u) <= 1 ? 0.5 : 0;\n}\nfunction tricubed(u) {\n var abs = 1 - Math.pow(Math.abs(u), 3);\n return Math.pow(abs, 3);\n}\nexports.default = {\n boxcar: uniform,\n cosine: function (u) {\n if (Math.abs(u) <= 1) {\n return (Math.PI / 4) * Math.cos((Math.PI / 2) * u);\n }\n return 0;\n },\n epanechnikov: function (u) {\n return Math.abs(u) < 1 ? 0.75 * (1 - u * u) : 0;\n },\n gaussian: function (u) {\n // return 1 / Math.sqrt(2 * Math.PI) * Math.exp(-0.5 * u * u);\n return 0.3989422804 * Math.exp(-0.5 * u * u);\n },\n quartic: function (u) {\n if (Math.abs(u) < 1) {\n var tmp = 1 - u * u;\n return (15 / 16) * tmp * tmp;\n }\n return 0;\n },\n triangular: function (u) {\n var abs = Math.abs(u);\n return abs < 1 ? 1 - abs : 0;\n },\n tricube: function (u) {\n return Math.abs(u) < 1 ? (70 / 81) * tricubed(u) : 0;\n },\n triweight: function (u) {\n if (Math.abs(u) < 1) {\n var tmp = 1 - u * u;\n return (35 / 32) * tmp * tmp * tmp;\n }\n return 0;\n },\n uniform: uniform,\n};\n" + }, + { + "id": "./src/util/option-parser.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/option-parser.ts", + "name": "./src/util/option-parser.ts", + "index": 153, + "index2": 151, + "size": 1719, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "issuerId": "./src/transform/fold.ts", + "issuerName": "./src/transform/fold.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/fold.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "name": "./src/transform/fold.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 501, + "building": 39, + "dependencies": 113 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "9:22-54" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "10:22-57" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "8:22-57" + }, + { + "moduleId": "./src/transform/fold.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "module": "./src/transform/fold.ts", + "moduleName": "./src/transform/fold.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "7:22-54" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "13:22-54" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "11:22-57" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "12:22-57" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "7:22-54" + }, + { + "moduleId": "./src/transform/pick.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "module": "./src/transform/pick.ts", + "moduleName": "./src/transform/pick.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "6:22-54" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "8:22-54" + }, + { + "moduleId": "./src/transform/sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "module": "./src/transform/sort-by.ts", + "moduleName": "./src/transform/sort-by.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/subset.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/subset.ts", + "module": "./src/transform/subset.ts", + "moduleName": "./src/transform/subset.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "3:22-54" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "6:22-54" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "8:22-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getFields = exports.getField = void 0;\nvar util_1 = require(\"@antv/util\");\nvar INVALID_FIELD_ERR_MSG = 'Invalid field: it must be a string!';\nvar INVALID_FIELDS_ERR_MSG = 'Invalid fields: it must be an array!';\nfunction getField(options, defaultField) {\n var field = options.field, fields = options.fields;\n if ((0, util_1.isString)(field)) {\n return field;\n }\n if ((0, util_1.isArray)(field)) {\n console.warn(INVALID_FIELD_ERR_MSG);\n return field[0];\n }\n console.warn(\"\".concat(INVALID_FIELD_ERR_MSG, \" will try to get fields instead.\"));\n if ((0, util_1.isString)(fields)) {\n return fields;\n }\n if ((0, util_1.isArray)(fields) && fields.length) {\n return fields[0];\n }\n if (defaultField) {\n return defaultField;\n }\n throw new TypeError(INVALID_FIELD_ERR_MSG);\n}\nexports.getField = getField;\nfunction getFields(options, defaultFields) {\n var field = options.field, fields = options.fields;\n if ((0, util_1.isArray)(fields)) {\n return fields;\n }\n if ((0, util_1.isString)(fields)) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return [fields];\n }\n console.warn(\"\".concat(INVALID_FIELDS_ERR_MSG, \" will try to get field instead.\"));\n if ((0, util_1.isString)(field)) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return [field];\n }\n if ((0, util_1.isArray)(field) && field.length) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return field;\n }\n if (defaultFields) {\n return defaultFields;\n }\n throw new TypeError(INVALID_FIELDS_ERR_MSG);\n}\nexports.getFields = getFields;\n" + }, + { + "id": "./src/util/p-by-fraction.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/p-by-fraction.ts", + "name": "./src/util/p-by-fraction.ts", + "index": 131, + "index2": 129, + "size": 259, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../util/p-by-fraction", + "loc": "7:46-78" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/p-by-fraction", + "loc": "7:46-81" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (fraction) {\n var step = 1 / fraction;\n var pArr = [];\n for (var i = 0; i <= 1; i = i + step) {\n pArr.push(i);\n }\n return pArr;\n});\n" + }, + { + "id": "./src/util/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "name": "./src/util/partition.ts", + "index": 127, + "index2": 126, + "size": 1089, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "issuerId": "./src/api/partition.ts", + "issuerName": "./src/api/partition.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 611, + "building": 61, + "dependencies": 90 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "7:42-70" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../util/partition", + "loc": "5:42-73" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/partition", + "loc": "6:42-73" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "12:42-70" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_sort_by_1 = tslib_1.__importDefault(require(\"./simple-sort-by\"));\nexports.default = (function (rows, group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n var newRows = rows;\n if (order_by && order_by.length) {\n newRows = (0, simple_sort_by_1.default)(rows, order_by);\n }\n var groupingFn;\n if ((0, util_1.isFunction)(group_by)) {\n groupingFn = group_by;\n }\n else if ((0, util_1.isArray)(group_by)) {\n groupingFn = function (row) { return \"_\".concat(group_by.map(function (col) { return row[col]; }).join('-')); };\n // NOTE: Object.keys({'b': 'b', '2': '2', '1': '1', 'a': 'a'}) => [ '1', '2', 'b', 'a' ]\n // that is why we have to add a prefix\n }\n else if ((0, util_1.isString)(group_by)) {\n groupingFn = function (row) { return \"_\".concat(row[group_by]); };\n }\n var groups = (0, util_1.groupBy)(newRows, groupingFn);\n return groups;\n});\n" + }, + { + "id": "./src/util/simple-sort-by.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/simple-sort-by.ts", + "name": "./src/util/simple-sort-by.ts", + "index": 128, + "index2": 125, + "size": 1010, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "issuerId": "./src/util/partition.ts", + "issuerName": "./src/util/partition.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "name": "./src/util/partition.ts", + "profile": { + "factory": 611, + "building": 61, + "dependencies": 90 + } + } + ], + "profile": { + "factory": 101, + "building": 1382, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "./simple-sort-by", + "loc": "5:47-74" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nfunction sortBy(arr, keys) {\n if (keys === void 0) { keys = []; }\n var comparer = undefined;\n if ((0, util_1.isFunction)(keys)) {\n comparer = keys;\n }\n else if ((0, util_1.isArray)(keys)) {\n comparer = function (a, b) {\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (a[key] < b[key]) {\n return -1;\n }\n if (a[key] > b[key]) {\n return 1;\n }\n }\n return 0;\n };\n }\n else if ((0, util_1.isString)(keys)) {\n comparer = function (a, b) {\n if (a[keys] < b[keys]) {\n return -1;\n }\n if (a[keys] > b[keys]) {\n return 1;\n }\n return 0;\n };\n }\n return arr.sort(comparer);\n}\nexports.default = sortBy;\n" + }, + { + "id": "./src/util/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/tag-cloud.ts", + "name": "./src/util/tag-cloud.ts", + "index": 490, + "index2": 488, + "size": 12938, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "issuerId": "./src/transform/tag-cloud.ts", + "issuerName": "./src/transform/tag-cloud.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "name": "./src/transform/tag-cloud.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 401, + "building": 135, + "dependencies": 12 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "../util/tag-cloud", + "loc": "5:42-70" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\n/*\n * Synchronous version of d3-cloud\n */\n// Word cloud layout by Jason Davies, https://www.jasondavies.com/wordcloud/\n// Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf\n/* eslint-disable no-return-assign, no-cond-assign */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar cloudRadians = Math.PI / 180, cw = (1 << 11) >> 5, ch = 1 << 11;\nfunction cloudText(d) {\n return d.text;\n}\nfunction cloudFont() {\n return 'serif';\n}\nfunction cloudFontNormal() {\n return 'normal';\n}\nfunction cloudFontSize(d) {\n return d.value;\n}\nfunction cloudRotate() {\n return ~~(Math.random() * 2) * 90;\n}\nfunction cloudPadding() {\n return 1;\n}\n// Fetches a monochrome sprite bitmap for the specified text.\n// Load in batches for speed.\nfunction cloudSprite(contextAndRatio, d, data, di) {\n if (d.sprite)\n return;\n var c = contextAndRatio.context, ratio = contextAndRatio.ratio;\n c.clearRect(0, 0, (cw << 5) / ratio, ch / ratio);\n var x = 0, y = 0, maxh = 0;\n var n = data.length;\n --di;\n while (++di < n) {\n d = data[di];\n c.save();\n c.font = d.style + ' ' + d.weight + ' ' + ~~((d.size + 1) / ratio) + 'px ' + d.font;\n var w = c.measureText(d.text + 'm').width * ratio, h = d.size << 1;\n if (d.rotate) {\n var sr = Math.sin(d.rotate * cloudRadians), cr = Math.cos(d.rotate * cloudRadians), wcr = w * cr, wsr = w * sr, hcr = h * cr, hsr = h * sr;\n w = ((Math.max(Math.abs(wcr + hsr), Math.abs(wcr - hsr)) + 0x1f) >> 5) << 5;\n h = ~~Math.max(Math.abs(wsr + hcr), Math.abs(wsr - hcr));\n }\n else {\n w = ((w + 0x1f) >> 5) << 5;\n }\n if (h > maxh)\n maxh = h;\n if (x + w >= cw << 5) {\n x = 0;\n y += maxh;\n maxh = 0;\n }\n if (y + h >= ch)\n break;\n c.translate((x + (w >> 1)) / ratio, (y + (h >> 1)) / ratio);\n if (d.rotate)\n c.rotate(d.rotate * cloudRadians);\n c.fillText(d.text, 0, 0);\n if (d.padding) {\n c.lineWidth = 2 * d.padding;\n c.strokeText(d.text, 0, 0);\n }\n c.restore();\n d.width = w;\n d.height = h;\n d.xoff = x;\n d.yoff = y;\n d.x1 = w >> 1;\n d.y1 = h >> 1;\n d.x0 = -d.x1;\n d.y0 = -d.y1;\n d.hasText = true;\n x += w;\n }\n var pixels = c.getImageData(0, 0, (cw << 5) / ratio, ch / ratio).data, sprite = [];\n while (--di >= 0) {\n d = data[di];\n if (!d.hasText)\n continue;\n var w = d.width, w32 = w >> 5;\n var h = d.y1 - d.y0;\n // Zero the buffer\n for (var i = 0; i < h * w32; i++)\n sprite[i] = 0;\n x = d.xoff;\n if (x == null)\n return;\n y = d.yoff;\n var seen = 0, seenRow = -1;\n for (var j = 0; j < h; j++) {\n for (var i = 0; i < w; i++) {\n var k = w32 * j + (i >> 5), m = pixels[((y + j) * (cw << 5) + (x + i)) << 2] ? 1 << (31 - (i % 32)) : 0;\n sprite[k] |= m;\n seen |= m;\n }\n if (seen)\n seenRow = j;\n else {\n d.y0++;\n h--;\n j--;\n y++;\n }\n }\n d.y1 = d.y0 + seenRow;\n d.sprite = sprite.slice(0, (d.y1 - d.y0) * w32);\n }\n}\n// Use mask-based collision detection.\nfunction cloudCollide(tag, board, sw) {\n sw >>= 5;\n var sprite = tag.sprite, w = tag.width >> 5, lx = tag.x - (w << 4), sx = lx & 0x7f, msx = 32 - sx, h = tag.y1 - tag.y0;\n var x = (tag.y + tag.y0) * sw + (lx >> 5), last;\n for (var j = 0; j < h; j++) {\n last = 0;\n for (var i = 0; i <= w; i++) {\n if (((last << msx) | (i < w ? (last = sprite[j * w + i]) >>> sx : 0)) & board[x + i])\n return true;\n }\n x += sw;\n }\n return false;\n}\nfunction cloudBounds(bounds, d) {\n var b0 = bounds[0], b1 = bounds[1];\n if (d.x + d.x0 < b0.x)\n b0.x = d.x + d.x0;\n if (d.y + d.y0 < b0.y)\n b0.y = d.y + d.y0;\n if (d.x + d.x1 > b1.x)\n b1.x = d.x + d.x1;\n if (d.y + d.y1 > b1.y)\n b1.y = d.y + d.y1;\n}\nfunction collideRects(a, b) {\n return a.x + a.x1 > b[0].x && a.x + a.x0 < b[1].x && a.y + a.y1 > b[0].y && a.y + a.y0 < b[1].y;\n}\nfunction archimedeanSpiral(size) {\n var e = size[0] / size[1];\n return function (t) {\n return [e * (t *= 0.1) * Math.cos(t), t * Math.sin(t)];\n };\n}\nfunction rectangularSpiral(size) {\n var dy = 4, dx = (dy * size[0]) / size[1];\n var x = 0, y = 0;\n return function (t) {\n var sign = t < 0 ? -1 : 1;\n // See triangular numbers: T_n = n * (n + 1) / 2.\n switch ((Math.sqrt(1 + 4 * sign * t) - sign) & 3) {\n case 0:\n x += dx;\n break;\n case 1:\n y += dy;\n break;\n case 2:\n x -= dx;\n break;\n default:\n y -= dy;\n break;\n }\n return [x, y];\n };\n}\n// TODO reuse arrays?\nfunction zeroArray(n) {\n var a = [];\n var i = -1;\n while (++i < n)\n a[i] = 0;\n return a;\n}\nfunction cloudCanvas() {\n return document.createElement('canvas');\n}\nfunction functor(d) {\n return typeof d === 'function'\n ? d\n : function () {\n return d;\n };\n}\nvar spirals = {\n archimedean: archimedeanSpiral,\n rectangular: rectangularSpiral,\n};\nfunction default_1() {\n var size = [256, 256], text = cloudText, font = cloudFont, fontSize = cloudFontSize, fontStyle = cloudFontNormal, fontWeight = cloudFontNormal, rotate = cloudRotate, padding = cloudPadding, spiral = archimedeanSpiral, words = [], timeInterval = Infinity, random = Math.random, canvas = cloudCanvas;\n var cloud = {};\n cloud.canvas = function (_) {\n return arguments.length ? ((canvas = functor(_)), cloud) : canvas;\n };\n cloud.start = function () {\n var _a = tslib_1.__read(size, 2), width = _a[0], height = _a[1];\n var contextAndRatio = getContext(canvas()), board = cloud.board ? cloud.board : zeroArray((size[0] >> 5) * size[1]), n = words.length, tags = [], data = words\n .map(function (d, i) {\n d.text = text.call(this, d, i);\n d.font = font.call(this, d, i);\n d.style = fontStyle.call(this, d, i);\n d.weight = fontWeight.call(this, d, i);\n d.rotate = rotate.call(this, d, i);\n d.size = ~~fontSize.call(this, d, i);\n d.padding = padding.call(this, d, i);\n return d;\n })\n .sort(function (a, b) {\n return b.size - a.size;\n });\n var i = -1, bounds = !cloud.board\n ? null\n : [\n {\n x: 0,\n y: 0,\n },\n {\n x: width,\n y: height,\n },\n ];\n step();\n function step() {\n var start = Date.now();\n while (Date.now() - start < timeInterval && ++i < n) {\n var d = data[i];\n d.x = (width * (random() + 0.5)) >> 1;\n d.y = (height * (random() + 0.5)) >> 1;\n cloudSprite(contextAndRatio, d, data, i);\n if (d.hasText && place(board, d, bounds)) {\n tags.push(d);\n if (bounds) {\n if (!cloud.hasImage) {\n // update bounds if image mask not set\n cloudBounds(bounds, d);\n }\n }\n else {\n bounds = [\n { x: d.x + d.x0, y: d.y + d.y0 },\n { x: d.x + d.x1, y: d.y + d.y1 },\n ];\n }\n // Temporary hack\n d.x -= size[0] >> 1;\n d.y -= size[1] >> 1;\n }\n }\n cloud._tags = tags;\n cloud._bounds = bounds;\n }\n return cloud;\n };\n function getContext(canvas) {\n canvas.width = canvas.height = 1;\n var ratio = Math.sqrt(canvas.getContext('2d').getImageData(0, 0, 1, 1).data.length >> 2);\n canvas.width = (cw << 5) / ratio;\n canvas.height = ch / ratio;\n var context = canvas.getContext('2d');\n context.fillStyle = context.strokeStyle = 'red';\n context.textAlign = 'center';\n return { context: context, ratio: ratio };\n }\n function place(board, tag, bounds) {\n // const perimeter = [{ x: 0, y: 0 }, { x: size[0], y: size[1] }],\n var startX = tag.x, startY = tag.y, maxDelta = Math.sqrt(size[0] * size[0] + size[1] * size[1]), s = spiral(size), dt = random() < 0.5 ? 1 : -1;\n var dxdy, t = -dt, dx, dy;\n while ((dxdy = s((t += dt)))) {\n dx = ~~dxdy[0];\n dy = ~~dxdy[1];\n if (Math.min(Math.abs(dx), Math.abs(dy)) >= maxDelta)\n break;\n tag.x = startX + dx;\n tag.y = startY + dy;\n if (tag.x + tag.x0 < 0 || tag.y + tag.y0 < 0 || tag.x + tag.x1 > size[0] || tag.y + tag.y1 > size[1])\n continue;\n // TODO only check for collisions within current bounds.\n if (!bounds || !cloudCollide(tag, board, size[0])) {\n if (!bounds || collideRects(tag, bounds)) {\n var sprite = tag.sprite, w = tag.width >> 5, sw = size[0] >> 5, lx = tag.x - (w << 4), sx = lx & 0x7f, msx = 32 - sx, h = tag.y1 - tag.y0;\n var last = void 0, x = (tag.y + tag.y0) * sw + (lx >> 5);\n for (var j = 0; j < h; j++) {\n last = 0;\n for (var i = 0; i <= w; i++) {\n board[x + i] |= (last << msx) | (i < w ? (last = sprite[j * w + i]) >>> sx : 0);\n }\n x += sw;\n }\n delete tag.sprite;\n return true;\n }\n }\n }\n return false;\n }\n cloud.createMask = function (img) {\n var can = document.createElement('canvas');\n var _a = tslib_1.__read(size, 2), width = _a[0], height = _a[1];\n // 当 width 或 height 为 0 时,调用 cxt.getImageData 会报错\n if (!width || !height) {\n return;\n }\n var w32 = width >> 5;\n var board = zeroArray((width >> 5) * height);\n can.width = width;\n can.height = height;\n var cxt = can.getContext('2d');\n cxt.drawImage(img, 0, 0, img.width, img.height, 0, 0, width, height);\n var imageData = cxt.getImageData(0, 0, width, height).data;\n for (var j = 0; j < height; j++) {\n for (var i = 0; i < width; i++) {\n var k = w32 * j + (i >> 5);\n var tmp = (j * width + i) << 2;\n var flag = imageData[tmp] >= 250 && imageData[tmp + 1] >= 250 && imageData[tmp + 2] >= 250;\n var m = flag ? 1 << (31 - (i % 32)) : 0;\n board[k] |= m;\n }\n }\n cloud.board = board;\n cloud.hasImage = true;\n };\n cloud.timeInterval = function (_) {\n return arguments.length ? ((timeInterval = _ == null ? Infinity : _), cloud) : timeInterval;\n };\n cloud.words = function (_) {\n return arguments.length ? ((words = _), cloud) : words;\n };\n cloud.size = function (_) {\n return arguments.length ? ((size = [+_[0], +_[1]]), cloud) : size;\n };\n cloud.font = function (_) {\n return arguments.length ? ((font = functor(_)), cloud) : font;\n };\n cloud.fontStyle = function (_) {\n return arguments.length ? ((fontStyle = functor(_)), cloud) : fontStyle;\n };\n cloud.fontWeight = function (_) {\n return arguments.length ? ((fontWeight = functor(_)), cloud) : fontWeight;\n };\n cloud.rotate = function (_) {\n return arguments.length ? ((rotate = functor(_)), cloud) : rotate;\n };\n cloud.text = function (_) {\n return arguments.length ? ((text = functor(_)), cloud) : text;\n };\n cloud.spiral = function (_) {\n return arguments.length ? ((spiral = spirals[_] || _), cloud) : spiral;\n };\n cloud.fontSize = function (_) {\n return arguments.length ? ((fontSize = functor(_)), cloud) : fontSize;\n };\n cloud.padding = function (_) {\n return arguments.length ? ((padding = functor(_)), cloud) : padding;\n };\n cloud.random = function (_) {\n return arguments.length ? ((random = _), cloud) : random;\n };\n return cloud;\n}\nexports.default = default_1;\n" + }, + { + "id": "./src/view.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "name": "./src/view.ts", + "index": 118, + "index2": 117, + "size": 7478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "7:13-31" + }, + { + "moduleId": "./src/api/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "module": "./src/api/hierarchy.ts", + "moduleName": "./src/api/hierarchy.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "4:13-31" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "6:13-31" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "6:13-31" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "./view", + "loc": "10:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.View = void 0;\nvar tslib_1 = require(\"tslib\");\nvar wolfy87_eventemitter_1 = tslib_1.__importDefault(require(\"wolfy87-eventemitter\"));\nvar util_1 = require(\"@antv/util\");\nfunction cloneOptions(options) {\n var result = {};\n (0, util_1.forIn)(options, function (value, key) {\n if ((0, util_1.isObject)(value) && value.isView) {\n result[key] = value;\n }\n else if ((0, util_1.isArray)(value)) {\n result[key] = value.concat([]);\n }\n else if ((0, util_1.isPlainObject)(value)) {\n result[key] = (0, util_1.clone)(value);\n }\n else {\n result[key] = value;\n }\n });\n return result;\n}\n/**\n * 数据视图\n * @public\n */\nvar View = /** @class */ (function (_super) {\n tslib_1.__extends(View, _super);\n function View(dataSet, options) {\n var _this = _super.call(this) || this;\n /**\n * 是否是View\n */\n _this.isView = true;\n /**\n * 是否是View\n */\n _this.isDataView = true; // alias\n /**\n *\n */\n _this.watchingStates = null;\n /**\n * 数据视图类型\n */\n _this.dataType = 'table';\n /**\n * 已应用的 transform\n */\n _this.transforms = [];\n /**\n * 原始数据\n */\n _this.origin = [];\n /**\n * 存储处理后的数据\n */\n _this.rows = [];\n if (dataSet && dataSet.isDataSet) {\n _this.dataSet = dataSet;\n }\n else {\n _this.dataSet = null;\n options = dataSet;\n }\n _this.loose = !_this.dataSet;\n // TODO:\n // assign(me, options);\n if (options) {\n _this.watchingStates = options.watchingStates;\n }\n if (!_this.loose) {\n var watchingStates_1 = _this.watchingStates;\n dataSet.on('statechange', function (name) {\n if ((0, util_1.isArray)(watchingStates_1)) {\n if (watchingStates_1.indexOf(name) > -1) {\n _this._reExecute();\n }\n }\n else {\n _this._reExecute();\n }\n });\n }\n return _this;\n }\n View.prototype._parseStateExpression = function (expr) {\n var dataSet = this.dataSet;\n if (dataSet === null)\n return undefined;\n var matched = /^\\$state\\.(\\w+)/.exec(expr);\n if (matched) {\n return dataSet.state[matched[1]];\n }\n return expr;\n };\n View.prototype._preparseOptions = function (options) {\n var _this = this;\n var optionsCloned = cloneOptions(options);\n if (this.loose) {\n return optionsCloned;\n }\n (0, util_1.forIn)(optionsCloned, function (value, key) {\n if ((0, util_1.isString)(value) && /^\\$state\\./.test(value)) {\n optionsCloned[key] = _this._parseStateExpression(value);\n }\n });\n return optionsCloned;\n };\n // connectors\n View.prototype._prepareSource = function (source, options) {\n // warning me.origin is protected\n this._source = { source: source, options: options };\n if (!options) {\n if (source instanceof View || (0, util_1.isString)(source)) {\n this.origin = View.DataSet.getConnector('default')(source, this.dataSet);\n }\n else if ((0, util_1.isArray)(source)) {\n // TODO branch: if source is like ['dataview1', 'dataview2']\n this.origin = source;\n }\n else if ((0, util_1.isObject)(source) && source.type) {\n var opts = this._preparseOptions(source); // connector without source\n this.origin = View.DataSet.getConnector(opts.type)(opts, this);\n }\n else {\n throw new TypeError('Invalid source');\n }\n }\n else {\n var opts = this._preparseOptions(options);\n this.origin = View.DataSet.getConnector(opts.type)(source, opts, this);\n }\n this.rows = (0, util_1.deepMix)([], this.origin);\n return this;\n };\n View.prototype.source = function (source, options) {\n this._prepareSource(source, options)._reExecuteTransforms();\n this.trigger('change', []);\n return this;\n };\n /**\n * 执行数据处理数据。执行完这个函数后,transform 会被存储\n * @param options - 某种类型的transform\n */\n View.prototype.transform = function (options) {\n if (options && options.type) {\n this.transforms.push(options);\n this._executeTransform(options);\n }\n return this;\n };\n View.prototype._executeTransform = function (options) {\n options = this._preparseOptions(options);\n var transform = View.DataSet.getTransform(options.type);\n transform(this, options);\n };\n View.prototype._reExecuteTransforms = function () {\n var _this = this;\n this.transforms.forEach(function (options) {\n _this._executeTransform(options);\n });\n };\n View.prototype.addRow = function (row) {\n this.rows.push(row);\n };\n View.prototype.removeRow = function (index) {\n this.rows.splice(index, 1);\n };\n View.prototype.updateRow = function (index, newRow) {\n (0, util_1.assign)(this.rows[index], newRow);\n };\n View.prototype.findRows = function (query) {\n return this.rows.filter(function (row) { return (0, util_1.isMatch)(row, query); });\n };\n View.prototype.findRow = function (query) {\n return (0, util_1.find)(this.rows, query);\n };\n // columns\n View.prototype.getColumnNames = function () {\n var firstRow = this.rows[0];\n if (firstRow) {\n return (0, util_1.keys)(firstRow);\n }\n return [];\n };\n View.prototype.getColumnName = function (index) {\n return this.getColumnNames()[index];\n };\n View.prototype.getColumnIndex = function (columnName) {\n var columnNames = this.getColumnNames();\n return columnNames.indexOf(columnName);\n };\n View.prototype.getColumn = function (columnName) {\n return this.rows.map(function (row) { return row[columnName]; });\n };\n View.prototype.getColumnData = function (columnName) {\n return this.getColumn(columnName);\n };\n // data process\n View.prototype.getSubset = function (startRowIndex, endRowIndex, columnNames) {\n var subset = [];\n for (var i = startRowIndex; i <= endRowIndex; i++) {\n subset.push((0, util_1.pick)(this.rows[i], columnNames));\n }\n return subset;\n };\n View.prototype.toString = function (prettyPrint) {\n if (prettyPrint === void 0) { prettyPrint = false; }\n if (prettyPrint) {\n return JSON.stringify(this.rows, null, 2);\n }\n return JSON.stringify(this.rows);\n };\n View.prototype._reExecute = function () {\n var _a = this._source, source = _a.source, options = _a.options;\n this._prepareSource(source, options);\n this._reExecuteTransforms();\n this.trigger('change', []);\n };\n return View;\n}(wolfy87_eventemitter_1.default));\nexports.View = View;\n" + } + ], + "filteredModules": 0, + "origins": [ + { + "module": "", + "moduleIdentifier": "", + "moduleName": "", + "loc": "data-set", + "request": "./src/index.ts", + "reasons": [] + } + ] + } + ], + "modules": [ + { + "id": "./node_modules/@antv/hierarchy/build/hierarchy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/hierarchy/build/hierarchy.js", + "name": "./node_modules/@antv/hierarchy/build/hierarchy.js", + "index": 482, + "index2": 480, + "size": 147858, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "issuerId": "./src/transform/hierarchy/dendrogram.ts", + "issuerName": "./src/transform/hierarchy/dendrogram.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/hierarchy/dendrogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "name": "./src/transform/hierarchy/dendrogram.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1581, + "building": 175 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "@antv/hierarchy", + "loc": "4:42-68" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "(function webpackUniversalModuleDefinition(root, factory) {\n\tif(typeof exports === 'object' && typeof module === 'object')\n\t\tmodule.exports = factory();\n\telse if(typeof define === 'function' && define.amd)\n\t\tdefine([], factory);\n\telse if(typeof exports === 'object')\n\t\texports[\"Hierarchy\"] = factory();\n\telse\n\t\troot[\"Hierarchy\"] = factory();\n})(typeof self !== 'undefined' ? self : this, function() {\nreturn /******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 36);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Array.isArray ? Array.isArray(value) : Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Array');\n});\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isArrayLike = function (value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isArrayLike);\n\n/***/ }),\n/* 2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Function');\n});\n\n/***/ }),\n/* 3 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar toString = {}.toString;\nvar isType = function (value, type) {\n return toString.call(value) === '[object ' + type + ']';\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isType);\n\n/***/ }),\n/* 4 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(str, 'String');\n});\n\n/***/ }),\n/* 5 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\n\nvar isNumber = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Number');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNumber);\n\n/***/ }),\n/* 6 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar _require = __webpack_require__(38),\n mix = _require.mix;\n\n/**\n * Get average height or height for node's position calculation, according to align.\n * @param {*} preNode previous node\n * @param {*} node current node, whose position is going to be calculated\n * @param {'center' | undefined} align 'center' means nodes align at the center, other value means align at the left-top\n * @param {string} heightField field name for height value on preNode and node\n * @return {number} the height for calculation\n */\nfunction getHeight(preNode, node, align, heightField) {\n if (heightField === void 0) {\n heightField = 'height';\n }\n return align === 'center' ? (preNode[heightField] + node[heightField]) / 2 : preNode.height;\n}\nmodule.exports = {\n assign: mix,\n getHeight: getHeight\n};\n\n/***/ }),\n/* 7 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n// isFinite,\nvar isNil = function (value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNil);\n\n/***/ }),\n/* 8 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_object__ = __webpack_require__(12);\n\n\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n var rst;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n if (rst === false) {\n break;\n }\n }\n } else if (Object(__WEBPACK_IMPORTED_MODULE_1__is_object__[\"a\" /* default */])(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (each);\n\n/***/ }),\n/* 9 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) return '';\n return value.toString();\n});\n\n/***/ }),\n/* 10 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object_like__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_type__ = __webpack_require__(3);\n\n\nvar isPlainObject = function (value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(value) || !Object(__WEBPACK_IMPORTED_MODULE_1__is_type__[\"a\" /* default */])(value, 'Object')) {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n var proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPlainObject);\n\n/***/ }),\n/* 11 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = __webpack_require__(18);\nvar Layout = /*#__PURE__*/function () {\n function Layout(root, options) {\n if (options === void 0) {\n options = {};\n }\n var me = this;\n me.options = options;\n me.rootNode = hierarchy(root, options);\n }\n var _proto = Layout.prototype;\n _proto.execute = function execute() {\n throw new Error('please override this method');\n };\n return Layout;\n}();\nmodule.exports = Layout;\n\n/***/ }),\n/* 12 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value;\n return value !== null && type === 'object' || type === 'function';\n});\n\n/***/ }),\n/* 13 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar contains = function (arr, value) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return false;\n }\n return arr.indexOf(value) > -1;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (contains);\n\n/***/ }),\n/* 14 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isObjectLike = function (value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return typeof value === 'object' && value !== null;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isObjectLike);\n\n/***/ }),\n/* 15 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n// @ts-ignore\nvar values = Object.values ? function (obj) {\n return Object.values(obj);\n} : function (obj) {\n var result = [];\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(obj, function (value, key) {\n if (!(Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (values);\n\n/***/ }),\n/* 16 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = mix;\n// FIXME: Mutable param should be forbidden in static lang.\nfunction _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\nfunction mix(dist, src1, src2, src3) {\n if (src1) _mix(dist, src1);\n if (src2) _mix(dist, src2);\n if (src3) _mix(dist, src3);\n return dist;\n}\n\n/***/ }),\n/* 17 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar separateTree = __webpack_require__(35);\nvar VALID_DIRECTIONS = ['LR',\n// left to right\n'RL',\n// right to left\n'TB',\n// top to bottom\n'BT',\n// bottom to top\n'H',\n// horizontal\n'V' // vertical\n];\n\nvar HORIZONTAL_DIRECTIONS = ['LR', 'RL', 'H'];\nvar isHorizontal = function isHorizontal(direction) {\n return HORIZONTAL_DIRECTIONS.indexOf(direction) > -1;\n};\nvar DEFAULT_DIRECTION = VALID_DIRECTIONS[0];\nmodule.exports = function (root, options, layoutAlgrithm) {\n var direction = options.direction || DEFAULT_DIRECTION;\n options.isHorizontal = isHorizontal(direction);\n if (direction && VALID_DIRECTIONS.indexOf(direction) === -1) {\n throw new TypeError(\"Invalid direction: \" + direction);\n }\n if (direction === VALID_DIRECTIONS[0]) {\n // LR\n layoutAlgrithm(root, options);\n } else if (direction === VALID_DIRECTIONS[1]) {\n // RL\n layoutAlgrithm(root, options);\n root.right2left();\n } else if (direction === VALID_DIRECTIONS[2]) {\n // TB\n layoutAlgrithm(root, options);\n } else if (direction === VALID_DIRECTIONS[3]) {\n // BT\n layoutAlgrithm(root, options);\n root.bottom2top();\n } else if (direction === VALID_DIRECTIONS[4] || direction === VALID_DIRECTIONS[5]) {\n // H or V\n // separate into left and right trees\n var _separateTree = separateTree(root, options),\n left = _separateTree.left,\n right = _separateTree.right;\n // do layout for left and right trees\n layoutAlgrithm(left, options);\n layoutAlgrithm(right, options);\n options.isHorizontal ? left.right2left() : left.bottom2top();\n // combine left and right trees\n right.translate(left.x - right.x, left.y - right.y);\n // translate root\n root.x = left.x;\n root.y = right.y;\n var bb = root.getBoundingBox();\n if (options.isHorizontal) {\n if (bb.top < 0) {\n root.translate(0, -bb.top);\n }\n } else {\n if (bb.left < 0) {\n root.translate(-bb.left, 0);\n }\n }\n }\n // fixed root position, default value is true\n var fixedRoot = options.fixedRoot;\n if (fixedRoot === undefined) fixedRoot = true;\n if (fixedRoot) {\n root.translate(-(root.x + root.width / 2 + root.hgap), -(root.y + root.height / 2 + root.vgap));\n }\n return root;\n};\n\n/***/ }),\n/* 18 */\n/***/ (function(module, exports, __webpack_require__) {\n\n/* eslint-disable no-cond-assign */\nvar util = __webpack_require__(6);\nvar PEM = 18;\nvar DEFAULT_HEIGHT = PEM * 2;\nvar DEFAULT_GAP = PEM;\nvar DEFAULT_OPTIONS = {\n getId: function getId(d) {\n return d.id || d.name;\n },\n getPreH: function getPreH(d) {\n return d.preH || 0;\n },\n getPreV: function getPreV(d) {\n return d.preV || 0;\n },\n getHGap: function getHGap(d) {\n return d.hgap || DEFAULT_GAP;\n },\n getVGap: function getVGap(d) {\n return d.vgap || DEFAULT_GAP;\n },\n getChildren: function getChildren(d) {\n return d.children;\n },\n getHeight: function getHeight(d) {\n return d.height || DEFAULT_HEIGHT;\n },\n getWidth: function getWidth(d) {\n var label = d.label || ' ';\n return d.width || label.split('').length * PEM; // FIXME DO NOT get width like this\n }\n};\n\nfunction Node(data, options) {\n var me = this;\n me.vgap = me.hgap = 0;\n if (data instanceof Node) return data;\n me.data = data;\n /*\n * Gaps: filling space between nodes\n * (x, y) ----------------------\n * | vgap |\n * | -------------------- h\n * | h | | e\n * | g | | i\n * | a | | g\n * | p | | h\n * | --------------------- t\n * | |\n * -----------width------------\n */\n var hgap = options.getHGap(data);\n var vgap = options.getVGap(data);\n me.preH = options.getPreH(data);\n me.preV = options.getPreV(data);\n me.width = options.getWidth(data);\n me.height = options.getHeight(data);\n me.width += me.preH;\n me.height += me.preV;\n me.id = options.getId(data);\n me.x = me.y = 0;\n me.depth = 0;\n if (!me.children) {\n me.children = [];\n }\n me.addGap(hgap, vgap);\n return me;\n}\nutil.assign(Node.prototype, {\n isRoot: function isRoot() {\n return this.depth === 0;\n },\n isLeaf: function isLeaf() {\n return this.children.length === 0;\n },\n addGap: function addGap(hgap, vgap) {\n var me = this;\n me.hgap += hgap;\n me.vgap += vgap;\n me.width += 2 * hgap;\n me.height += 2 * vgap;\n },\n eachNode: function eachNode(callback) {\n // Depth First traverse\n var me = this;\n var nodes = [me];\n var current;\n while (current = nodes.shift()) {\n callback(current);\n nodes = current.children.concat(nodes);\n }\n },\n DFTraverse: function DFTraverse(callback) {\n // Depth First traverse\n this.eachNode(callback);\n },\n BFTraverse: function BFTraverse(callback) {\n // Breadth First traverse\n var me = this;\n var nodes = [me];\n var current;\n while (current = nodes.shift()) {\n callback(current);\n nodes = nodes.concat(current.children);\n }\n },\n getBoundingBox: function getBoundingBox() {\n // BBox for just one tree node\n var bb = {\n left: Number.MAX_VALUE,\n top: Number.MAX_VALUE,\n width: 0,\n height: 0\n };\n this.eachNode(function (node) {\n bb.left = Math.min(bb.left, node.x);\n bb.top = Math.min(bb.top, node.y);\n bb.width = Math.max(bb.width, node.x + node.width);\n bb.height = Math.max(bb.height, node.y + node.height);\n });\n return bb;\n },\n // translate\n translate: function translate(tx, ty) {\n if (tx === void 0) {\n tx = 0;\n }\n if (ty === void 0) {\n ty = 0;\n }\n this.eachNode(function (node) {\n node.x += tx;\n node.y += ty;\n node.x += node.preH;\n node.y += node.preV;\n });\n },\n right2left: function right2left() {\n var me = this;\n var bb = me.getBoundingBox();\n me.eachNode(function (node) {\n node.x = node.x - (node.x - bb.left) * 2 - node.width;\n // node.x = - node.x;\n });\n\n me.translate(bb.width, 0);\n },\n bottom2top: function bottom2top() {\n var me = this;\n var bb = me.getBoundingBox();\n me.eachNode(function (node) {\n node.y = node.y - (node.y - bb.top) * 2 - node.height;\n // node.y = - node.y;\n });\n\n me.translate(0, bb.height);\n }\n});\nfunction hierarchy(data, options, isolated) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n var root = new Node(data, options);\n var nodes = [root];\n var node;\n if (!isolated && !data.collapsed) {\n while (node = nodes.shift()) {\n if (!node.data.collapsed) {\n var children = options.getChildren(node.data);\n var length = children ? children.length : 0;\n node.children = new Array(length);\n if (children && length) {\n for (var i = 0; i < length; i++) {\n var child = new Node(children[i], options);\n node.children[i] = child;\n nodes.push(child);\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n }\n }\n return root;\n}\nmodule.exports = hierarchy;\n\n/***/ }),\n/* 19 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar filter = function (arr, func) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n if (func(value, index)) {\n result.push(value);\n }\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (filter);\n\n/***/ }),\n/* 20 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__keys__ = __webpack_require__(21);\n\n\nfunction isMatch(obj, attrs) {\n var _keys = Object(__WEBPACK_IMPORTED_MODULE_1__keys__[\"a\" /* default */])(attrs);\n var length = _keys.length;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(obj)) return !length;\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n return true;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (isMatch);\n\n/***/ }),\n/* 21 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar keys = Object.keys ? function (obj) {\n return Object.keys(obj);\n} : function (obj) {\n var result = [];\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(obj, function (value, key) {\n if (!(Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (keys);\n\n/***/ }),\n/* 22 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the maximum value.\n * @example\n *\n * max([1, 2]);\n * // => 2\n *\n * max([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * max(data);\n * // => 1250010\n * // Math.max(...data) will encounter \"Maximum call stack size exceeded\" error\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.max(prev, curr);\n }, arr[0]);\n});\n\n/***/ }),\n/* 23 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the minimum value.\n * @example\n *\n * min([1, 2]);\n * // => 1\n *\n * min([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * min(data);\n * // => 1250010\n * // Math.min(...data) will encounter \"Maximum call stack size exceeded\" error\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.min(prev, curr);\n }, arr[0]);\n});\n\n/***/ }),\n/* 24 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar splice = Array.prototype.splice;\nvar pullAt = function pullAt(arr, indexes) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return [];\n }\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n return arr;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (pullAt);\n\n/***/ }),\n/* 25 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_plain_object__ = __webpack_require__(10);\n\n\n\nvar reduce = function (arr, fn, init) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_array__[\"a\" /* default */])(arr) && !Object(__WEBPACK_IMPORTED_MODULE_2__is_plain_object__[\"a\" /* default */])(arr)) {\n return arr;\n }\n var result = init;\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (reduce);\n\n/***/ }),\n/* 26 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = uniq;\nfunction uniq(arr, cache) {\n if (cache === void 0) {\n cache = new Map();\n }\n var r = [];\n if (Array.isArray(arr)) {\n for (var i = 0, len = arr.length; i < len; i++) {\n var item = arr[i];\n // 加一个 cache,提升性能\n if (!cache.has(item)) {\n r.push(item);\n cache.set(item, true);\n }\n }\n }\n return r;\n}\n\n/***/ }),\n/* 27 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = groupToMap;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__group_by__ = __webpack_require__(28);\n\n\n\n/**\n * 将数据分组成 map\n * @param data\n * @param condition\n */\nfunction groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data\n };\n }\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(condition)) {\n // 如果是字符串,则按照 a*b 风格成数组\n var paramscondition_1 = Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n condition = function (row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n // 根据字段列表的值,拼接成 key\n for (var i = 0, l = paramscondition_1.length; i < l; i++) {\n unique += row[paramscondition_1[i]] && row[paramscondition_1[i]].toString();\n }\n return unique;\n };\n }\n return Object(__WEBPACK_IMPORTED_MODULE_2__group_by__[\"a\" /* default */])(data, condition);\n}\n\n/***/ }),\n/* 28 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction groupBy(data, condition) {\n if (!condition || !Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(data)) {\n return {};\n }\n var result = {};\n // 兼容方法和 字符串的写法\n var predicate = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(condition) ? condition : function (item) {\n return item[condition];\n };\n var key;\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n } else {\n result[key] = [item];\n }\n }\n return result;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (groupBy);\n\n/***/ }),\n/* 29 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, key) {\n return obj.hasOwnProperty(key);\n});\n\n/***/ }),\n/* 30 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar toString = {}.toString;\nvar getType = function (value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (getType);\n\n/***/ }),\n/* 31 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar objectProto = Object.prototype;\nvar isPrototype = function (value) {\n var Ctor = value && value.constructor;\n var proto = typeof Ctor === 'function' && Ctor.prototype || objectProto;\n return value === proto;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPrototype);\n\n/***/ }),\n/* 32 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (f, resolver) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(f)) {\n throw new TypeError('Expected a function');\n }\n var memoized = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = f.apply(this, args);\n // 缓存起来\n cache.set(key, result);\n return result;\n };\n memoized.cache = new Map();\n return memoized;\n});\n\n/***/ }),\n/* 33 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object_like__ = __webpack_require__(14);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_string__ = __webpack_require__(4);\n\n\n\nvar isEqual = function (value, other) {\n if (value === other) {\n return true;\n }\n if (!value || !other) {\n return false;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_2__is_string__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_2__is_string__[\"a\" /* default */])(other)) {\n return false;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(other)) {\n if (value.length !== other.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(value) || Object(__WEBPACK_IMPORTED_MODULE_0__is_object_like__[\"a\" /* default */])(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n return false;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEqual);\n\n/***/ }),\n/* 34 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_tslib__ = __webpack_require__(116);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__values__ = __webpack_require__(15);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__memoize__ = __webpack_require__(32);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_string__ = __webpack_require__(4);\n\n\n\n\nvar ctx;\n/**\n * 计算文本的宽度\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (Object(__WEBPACK_IMPORTED_MODULE_2__memoize__[\"a\" /* default */])(function (text, font) {\n if (font === void 0) {\n font = {};\n }\n var fontSize = font.fontSize,\n fontFamily = font.fontFamily,\n fontWeight = font.fontWeight,\n fontStyle = font.fontStyle,\n fontVariant = font.fontVariant;\n if (!ctx) {\n ctx = document.createElement('canvas').getContext('2d');\n }\n ctx.font = [fontStyle, fontVariant, fontWeight, fontSize + \"px\", fontFamily].join(' ');\n return ctx.measureText(Object(__WEBPACK_IMPORTED_MODULE_3__is_string__[\"a\" /* default */])(text) ? text : '').width;\n}, function (text, font) {\n if (font === void 0) {\n font = {};\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0_tslib__[\"a\" /* __spreadArrays */])([text], Object(__WEBPACK_IMPORTED_MODULE_1__values__[\"a\" /* default */])(font)).join('');\n}));\n\n/***/ }),\n/* 35 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = __webpack_require__(18);\nmodule.exports = function (root, options) {\n // separate into left and right trees\n var left = hierarchy(root.data, options, true); // root only\n var right = hierarchy(root.data, options, true); // root only\n // automatically\n var treeSize = root.children.length;\n var rightTreeSize = Math.round(treeSize / 2);\n // separate left and right tree by meta data\n var getSide = options.getSide || function (child, index) {\n if (index < rightTreeSize) {\n return 'right';\n }\n return 'left';\n };\n for (var i = 0; i < treeSize; i++) {\n var child = root.children[i];\n var side = getSide(child, i);\n if (side === 'right') {\n right.children.push(child);\n } else {\n left.children.push(child);\n }\n }\n left.eachNode(function (node) {\n if (!node.isRoot()) {\n node.side = 'left';\n }\n });\n right.eachNode(function (node) {\n if (!node.isRoot()) {\n node.side = 'right';\n }\n });\n return {\n left: left,\n right: right\n };\n};\n\n/***/ }),\n/* 36 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar hierarchy = {\n compactBox: __webpack_require__(37),\n dendrogram: __webpack_require__(120),\n indented: __webpack_require__(122),\n mindmap: __webpack_require__(124)\n};\nmodule.exports = hierarchy;\n\n/***/ }),\n/* 37 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar nonLayeredTidyTree = __webpack_require__(119);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar CompactBoxTreeLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(CompactBoxTreeLayout, _TreeLayout);\n function CompactBoxTreeLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = CompactBoxTreeLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n return doTreeLayout(me.rootNode, me.options, nonLayeredTidyTree);\n };\n return CompactBoxTreeLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction compactBoxLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new CompactBoxTreeLayout(root, options).execute();\n}\nmodule.exports = compactBoxLayout;\n\n/***/ }),\n/* 38 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nObject.defineProperty(__webpack_exports__, \"__esModule\", { value: true });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__contains__ = __webpack_require__(13);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"contains\", function() { return __WEBPACK_IMPORTED_MODULE_0__contains__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"includes\", function() { return __WEBPACK_IMPORTED_MODULE_0__contains__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__difference__ = __webpack_require__(39);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"difference\", function() { return __WEBPACK_IMPORTED_MODULE_1__difference__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__find__ = __webpack_require__(40);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"find\", function() { return __WEBPACK_IMPORTED_MODULE_2__find__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__find_index__ = __webpack_require__(41);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"findIndex\", function() { return __WEBPACK_IMPORTED_MODULE_3__find_index__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_4__first_value__ = __webpack_require__(42);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"firstValue\", function() { return __WEBPACK_IMPORTED_MODULE_4__first_value__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_5__flatten__ = __webpack_require__(43);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"flatten\", function() { return __WEBPACK_IMPORTED_MODULE_5__flatten__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_6__flatten_deep__ = __webpack_require__(44);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"flattenDeep\", function() { return __WEBPACK_IMPORTED_MODULE_6__flatten_deep__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_7__get_range__ = __webpack_require__(45);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getRange\", function() { return __WEBPACK_IMPORTED_MODULE_7__get_range__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_8__pull__ = __webpack_require__(46);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pull\", function() { return __WEBPACK_IMPORTED_MODULE_8__pull__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_9__pull_at__ = __webpack_require__(24);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pullAt\", function() { return __WEBPACK_IMPORTED_MODULE_9__pull_at__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_10__reduce__ = __webpack_require__(25);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"reduce\", function() { return __WEBPACK_IMPORTED_MODULE_10__reduce__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_11__remove__ = __webpack_require__(47);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"remove\", function() { return __WEBPACK_IMPORTED_MODULE_11__remove__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_12__sort_by__ = __webpack_require__(48);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"sortBy\", function() { return __WEBPACK_IMPORTED_MODULE_12__sort_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_13__union__ = __webpack_require__(49);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"union\", function() { return __WEBPACK_IMPORTED_MODULE_13__union__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_14__uniq__ = __webpack_require__(26);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"uniq\", function() { return __WEBPACK_IMPORTED_MODULE_14__uniq__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_15__values_of_key__ = __webpack_require__(50);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"valuesOfKey\", function() { return __WEBPACK_IMPORTED_MODULE_15__values_of_key__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_16__head__ = __webpack_require__(51);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"head\", function() { return __WEBPACK_IMPORTED_MODULE_16__head__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_17__last__ = __webpack_require__(52);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"last\", function() { return __WEBPACK_IMPORTED_MODULE_17__last__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_18__starts_with__ = __webpack_require__(53);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"startsWith\", function() { return __WEBPACK_IMPORTED_MODULE_18__starts_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_19__ends_with__ = __webpack_require__(54);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"endsWith\", function() { return __WEBPACK_IMPORTED_MODULE_19__ends_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_20__filter__ = __webpack_require__(19);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"filter\", function() { return __WEBPACK_IMPORTED_MODULE_20__filter__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_21__every__ = __webpack_require__(55);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"every\", function() { return __WEBPACK_IMPORTED_MODULE_21__every__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_22__some__ = __webpack_require__(56);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"some\", function() { return __WEBPACK_IMPORTED_MODULE_22__some__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_23__group__ = __webpack_require__(57);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"group\", function() { return __WEBPACK_IMPORTED_MODULE_23__group__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_24__group_by__ = __webpack_require__(28);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"groupBy\", function() { return __WEBPACK_IMPORTED_MODULE_24__group_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_25__group_to_map__ = __webpack_require__(27);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"groupToMap\", function() { return __WEBPACK_IMPORTED_MODULE_25__group_to_map__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_26__get_wrap_behavior__ = __webpack_require__(58);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getWrapBehavior\", function() { return __WEBPACK_IMPORTED_MODULE_26__get_wrap_behavior__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_27__wrap_behavior__ = __webpack_require__(59);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"wrapBehavior\", function() { return __WEBPACK_IMPORTED_MODULE_27__wrap_behavior__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_28__number2color__ = __webpack_require__(60);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"number2color\", function() { return __WEBPACK_IMPORTED_MODULE_28__number2color__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_29__parse_radius__ = __webpack_require__(61);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"parseRadius\", function() { return __WEBPACK_IMPORTED_MODULE_29__parse_radius__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_30__clamp__ = __webpack_require__(62);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clamp\", function() { return __WEBPACK_IMPORTED_MODULE_30__clamp__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_31__fixed_base__ = __webpack_require__(63);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"fixedBase\", function() { return __WEBPACK_IMPORTED_MODULE_31__fixed_base__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_32__is_decimal__ = __webpack_require__(64);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isDecimal\", function() { return __WEBPACK_IMPORTED_MODULE_32__is_decimal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_33__is_even__ = __webpack_require__(65);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEven\", function() { return __WEBPACK_IMPORTED_MODULE_33__is_even__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_34__is_integer__ = __webpack_require__(66);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isInteger\", function() { return __WEBPACK_IMPORTED_MODULE_34__is_integer__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_35__is_negative__ = __webpack_require__(67);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNegative\", function() { return __WEBPACK_IMPORTED_MODULE_35__is_negative__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_36__is_number_equal__ = __webpack_require__(68);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumberEqual\", function() { return __WEBPACK_IMPORTED_MODULE_36__is_number_equal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_37__is_odd__ = __webpack_require__(69);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isOdd\", function() { return __WEBPACK_IMPORTED_MODULE_37__is_odd__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_38__is_positive__ = __webpack_require__(70);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPositive\", function() { return __WEBPACK_IMPORTED_MODULE_38__is_positive__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_39__max__ = __webpack_require__(22);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"max\", function() { return __WEBPACK_IMPORTED_MODULE_39__max__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_40__max_by__ = __webpack_require__(71);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"maxBy\", function() { return __WEBPACK_IMPORTED_MODULE_40__max_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_41__min__ = __webpack_require__(23);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"min\", function() { return __WEBPACK_IMPORTED_MODULE_41__min__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_42__min_by__ = __webpack_require__(72);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"minBy\", function() { return __WEBPACK_IMPORTED_MODULE_42__min_by__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_43__mod__ = __webpack_require__(73);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mod\", function() { return __WEBPACK_IMPORTED_MODULE_43__mod__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_44__to_degree__ = __webpack_require__(74);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toDegree\", function() { return __WEBPACK_IMPORTED_MODULE_44__to_degree__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_45__to_integer__ = __webpack_require__(75);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toInteger\", function() { return __WEBPACK_IMPORTED_MODULE_45__to_integer__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_46__to_radian__ = __webpack_require__(76);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toRadian\", function() { return __WEBPACK_IMPORTED_MODULE_46__to_radian__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_47__for_in__ = __webpack_require__(77);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"forIn\", function() { return __WEBPACK_IMPORTED_MODULE_47__for_in__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_48__has__ = __webpack_require__(29);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"has\", function() { return __WEBPACK_IMPORTED_MODULE_48__has__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_49__has_key__ = __webpack_require__(78);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"hasKey\", function() { return __WEBPACK_IMPORTED_MODULE_49__has_key__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_50__has_value__ = __webpack_require__(79);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"hasValue\", function() { return __WEBPACK_IMPORTED_MODULE_50__has_value__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_51__keys__ = __webpack_require__(21);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"keys\", function() { return __WEBPACK_IMPORTED_MODULE_51__keys__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_52__is_match__ = __webpack_require__(20);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isMatch\", function() { return __WEBPACK_IMPORTED_MODULE_52__is_match__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_53__values__ = __webpack_require__(15);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"values\", function() { return __WEBPACK_IMPORTED_MODULE_53__values__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_54__lower_case__ = __webpack_require__(80);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"lowerCase\", function() { return __WEBPACK_IMPORTED_MODULE_54__lower_case__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_55__lower_first__ = __webpack_require__(81);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"lowerFirst\", function() { return __WEBPACK_IMPORTED_MODULE_55__lower_first__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_56__substitute__ = __webpack_require__(82);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"substitute\", function() { return __WEBPACK_IMPORTED_MODULE_56__substitute__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_57__upper_case__ = __webpack_require__(83);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"upperCase\", function() { return __WEBPACK_IMPORTED_MODULE_57__upper_case__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_58__upper_first__ = __webpack_require__(84);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"upperFirst\", function() { return __WEBPACK_IMPORTED_MODULE_58__upper_first__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_59__get_type__ = __webpack_require__(30);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getType\", function() { return __WEBPACK_IMPORTED_MODULE_59__get_type__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_60__is_arguments__ = __webpack_require__(85);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArguments\", function() { return __WEBPACK_IMPORTED_MODULE_60__is_arguments__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_61__is_array__ = __webpack_require__(0);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArray\", function() { return __WEBPACK_IMPORTED_MODULE_61__is_array__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_62__is_array_like__ = __webpack_require__(1);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isArrayLike\", function() { return __WEBPACK_IMPORTED_MODULE_62__is_array_like__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_63__is_boolean__ = __webpack_require__(86);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isBoolean\", function() { return __WEBPACK_IMPORTED_MODULE_63__is_boolean__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_64__is_date__ = __webpack_require__(87);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isDate\", function() { return __WEBPACK_IMPORTED_MODULE_64__is_date__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_65__is_error__ = __webpack_require__(88);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isError\", function() { return __WEBPACK_IMPORTED_MODULE_65__is_error__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_66__is_function__ = __webpack_require__(2);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isFunction\", function() { return __WEBPACK_IMPORTED_MODULE_66__is_function__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_67__is_finite__ = __webpack_require__(89);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isFinite\", function() { return __WEBPACK_IMPORTED_MODULE_67__is_finite__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_68__is_nil__ = __webpack_require__(7);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNil\", function() { return __WEBPACK_IMPORTED_MODULE_68__is_nil__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_69__is_null__ = __webpack_require__(90);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNull\", function() { return __WEBPACK_IMPORTED_MODULE_69__is_null__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_70__is_number__ = __webpack_require__(5);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isNumber\", function() { return __WEBPACK_IMPORTED_MODULE_70__is_number__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_71__is_object__ = __webpack_require__(12);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isObject\", function() { return __WEBPACK_IMPORTED_MODULE_71__is_object__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_72__is_object_like__ = __webpack_require__(14);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isObjectLike\", function() { return __WEBPACK_IMPORTED_MODULE_72__is_object_like__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_73__is_plain_object__ = __webpack_require__(10);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPlainObject\", function() { return __WEBPACK_IMPORTED_MODULE_73__is_plain_object__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_74__is_prototype__ = __webpack_require__(31);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isPrototype\", function() { return __WEBPACK_IMPORTED_MODULE_74__is_prototype__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_75__is_reg_exp__ = __webpack_require__(91);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isRegExp\", function() { return __WEBPACK_IMPORTED_MODULE_75__is_reg_exp__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_76__is_string__ = __webpack_require__(4);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isString\", function() { return __WEBPACK_IMPORTED_MODULE_76__is_string__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_77__is_type__ = __webpack_require__(3);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isType\", function() { return __WEBPACK_IMPORTED_MODULE_77__is_type__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_78__is_undefined__ = __webpack_require__(92);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isUndefined\", function() { return __WEBPACK_IMPORTED_MODULE_78__is_undefined__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_79__is_element__ = __webpack_require__(93);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isElement\", function() { return __WEBPACK_IMPORTED_MODULE_79__is_element__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_80__request_animation_frame__ = __webpack_require__(94);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"requestAnimationFrame\", function() { return __WEBPACK_IMPORTED_MODULE_80__request_animation_frame__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_81__clear_animation_frame__ = __webpack_require__(95);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clearAnimationFrame\", function() { return __WEBPACK_IMPORTED_MODULE_81__clear_animation_frame__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_82__augment__ = __webpack_require__(96);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"augment\", function() { return __WEBPACK_IMPORTED_MODULE_82__augment__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_83__clone__ = __webpack_require__(97);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"clone\", function() { return __WEBPACK_IMPORTED_MODULE_83__clone__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_84__debounce__ = __webpack_require__(98);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"debounce\", function() { return __WEBPACK_IMPORTED_MODULE_84__debounce__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_85__memoize__ = __webpack_require__(32);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"memoize\", function() { return __WEBPACK_IMPORTED_MODULE_85__memoize__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_86__deep_mix__ = __webpack_require__(99);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"deepMix\", function() { return __WEBPACK_IMPORTED_MODULE_86__deep_mix__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_87__each__ = __webpack_require__(8);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"each\", function() { return __WEBPACK_IMPORTED_MODULE_87__each__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_88__extend__ = __webpack_require__(100);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"extend\", function() { return __WEBPACK_IMPORTED_MODULE_88__extend__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_89__index_of__ = __webpack_require__(101);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"indexOf\", function() { return __WEBPACK_IMPORTED_MODULE_89__index_of__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_90__is_empty__ = __webpack_require__(102);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEmpty\", function() { return __WEBPACK_IMPORTED_MODULE_90__is_empty__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_91__is_equal__ = __webpack_require__(33);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEqual\", function() { return __WEBPACK_IMPORTED_MODULE_91__is_equal__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_92__is_equal_with__ = __webpack_require__(103);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"isEqualWith\", function() { return __WEBPACK_IMPORTED_MODULE_92__is_equal_with__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_93__map__ = __webpack_require__(104);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"map\", function() { return __WEBPACK_IMPORTED_MODULE_93__map__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_94__map_values__ = __webpack_require__(105);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mapValues\", function() { return __WEBPACK_IMPORTED_MODULE_94__map_values__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_95__mix__ = __webpack_require__(16);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"mix\", function() { return __WEBPACK_IMPORTED_MODULE_95__mix__[\"a\"]; });\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"assign\", function() { return __WEBPACK_IMPORTED_MODULE_95__mix__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_96__get__ = __webpack_require__(106);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"get\", function() { return __WEBPACK_IMPORTED_MODULE_96__get__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_97__set__ = __webpack_require__(107);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"set\", function() { return __WEBPACK_IMPORTED_MODULE_97__set__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_98__pick__ = __webpack_require__(108);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"pick\", function() { return __WEBPACK_IMPORTED_MODULE_98__pick__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_99__omit__ = __webpack_require__(109);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"omit\", function() { return __WEBPACK_IMPORTED_MODULE_99__omit__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_100__throttle__ = __webpack_require__(110);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"throttle\", function() { return __WEBPACK_IMPORTED_MODULE_100__throttle__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_101__to_array__ = __webpack_require__(111);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toArray\", function() { return __WEBPACK_IMPORTED_MODULE_101__to_array__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_102__to_string__ = __webpack_require__(9);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"toString\", function() { return __WEBPACK_IMPORTED_MODULE_102__to_string__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_103__unique_id__ = __webpack_require__(112);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"uniqueId\", function() { return __WEBPACK_IMPORTED_MODULE_103__unique_id__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_104__noop__ = __webpack_require__(113);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"noop\", function() { return __WEBPACK_IMPORTED_MODULE_104__noop__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_105__identity__ = __webpack_require__(114);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"identity\", function() { return __WEBPACK_IMPORTED_MODULE_105__identity__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_106__size__ = __webpack_require__(115);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"size\", function() { return __WEBPACK_IMPORTED_MODULE_106__size__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_107__measure_text_width__ = __webpack_require__(34);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"measureTextWidth\", function() { return __WEBPACK_IMPORTED_MODULE_107__measure_text_width__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_108__get_ellipsis_text__ = __webpack_require__(117);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"getEllipsisText\", function() { return __WEBPACK_IMPORTED_MODULE_108__get_ellipsis_text__[\"a\"]; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_109__cache__ = __webpack_require__(118);\n/* harmony reexport (binding) */ __webpack_require__.d(__webpack_exports__, \"Cache\", function() { return __WEBPACK_IMPORTED_MODULE_109__cache__[\"a\"]; });\n// array\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// event\n\n\n// format\n\n\n// math\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// object\n\n\n\n\n\n\n\n// string\n\n\n\n\n\n// type\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// other\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n// text\n\n\n// 不知道为什么,需要把这个 export,不然 ts 会报类型错误\n\n\n/***/ }),\n/* 39 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__filter__ = __webpack_require__(19);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__contains__ = __webpack_require__(13);\n\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\nvar difference = function (arr, values) {\n if (values === void 0) {\n values = [];\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0__filter__[\"a\" /* default */])(arr, function (value) {\n return !Object(__WEBPACK_IMPORTED_MODULE_1__contains__[\"a\" /* default */])(values, value);\n });\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (difference);\n\n/***/ }),\n/* 40 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_match__ = __webpack_require__(20);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_plain_object__ = __webpack_require__(10);\n\n\n\n\nfunction find(arr, predicate) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_2__is_array__[\"a\" /* default */])(arr)) return null;\n var _predicate;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(predicate)) {\n _predicate = predicate;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_3__is_plain_object__[\"a\" /* default */])(predicate)) {\n _predicate = function (a) {\n return Object(__WEBPACK_IMPORTED_MODULE_1__is_match__[\"a\" /* default */])(a, predicate);\n };\n }\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n return null;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (find);\n\n/***/ }),\n/* 41 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) {\n fromIndex = 0;\n }\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n return -1;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (findIndex);\n\n/***/ }),\n/* 42 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array__ = __webpack_require__(0);\n\n\nvar firstValue = function (data, name) {\n var rst = null;\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) {\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array__[\"a\" /* default */])(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n } else {\n rst = value;\n }\n break;\n }\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (firstValue);\n\n/***/ }),\n/* 43 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\nvar flatten = function (arr) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return [];\n }\n var rst = [];\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (flatten);\n\n/***/ }),\n/* 44 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\nvar flattenDeep = function (arr, result) {\n if (result === void 0) {\n result = [];\n }\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n result.push(arr);\n } else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (flattenDeep);\n\n/***/ }),\n/* 45 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__max__ = __webpack_require__(22);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__min__ = __webpack_require__(23);\n\n\n\nvar getRange = function (values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) {\n return !isNaN(v);\n });\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0\n };\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(values[0])) {\n var tmp = [];\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n filterValues = tmp;\n }\n var max = Object(__WEBPACK_IMPORTED_MODULE_1__max__[\"a\" /* default */])(filterValues);\n var min = Object(__WEBPACK_IMPORTED_MODULE_2__min__[\"a\" /* default */])(filterValues);\n return {\n min: min,\n max: max\n };\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (getRange);\n\n/***/ }),\n/* 46 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar pull = function (arr) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n return arr;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (pull);\n\n/***/ }),\n/* 47 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__pull_at__ = __webpack_require__(24);\n\n\nvar remove = function (arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return result;\n }\n var i = -1;\n var indexes = [];\n var length = arr.length;\n while (++i < length) {\n var value = arr[i];\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n Object(__WEBPACK_IMPORTED_MODULE_1__pull_at__[\"a\" /* default */])(arr, indexes);\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (remove);\n\n/***/ }),\n/* 48 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_function__ = __webpack_require__(2);\n\n\n\nfunction sortBy(arr, key) {\n var comparer;\n if (Object(__WEBPACK_IMPORTED_MODULE_2__is_function__[\"a\" /* default */])(key)) {\n comparer = function (a, b) {\n return key(a) - key(b);\n };\n } else {\n var keys_1 = [];\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(key)) {\n keys_1.push(key);\n } else if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(key)) {\n keys_1 = key;\n }\n comparer = function (a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n if (a[prop] > b[prop]) {\n return 1;\n }\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n return 0;\n };\n }\n arr.sort(comparer);\n return arr;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (sortBy);\n\n/***/ }),\n/* 49 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__uniq__ = __webpack_require__(26);\n\nvar union = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return Object(__WEBPACK_IMPORTED_MODULE_0__uniq__[\"a\" /* default */])([].concat.apply([], sources));\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (union);\n\n/***/ }),\n/* 50 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_nil__ = __webpack_require__(7);\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (data, name) {\n var rst = [];\n var tmpMap = {};\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_nil__[\"a\" /* default */])(value)) {\n // flatten\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(value)) {\n value = [value];\n }\n for (var j = 0; j < value.length; j++) {\n var val = value[j];\n // unique\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n return rst;\n});\n\n/***/ }),\n/* 51 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = head;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nfunction head(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(o)) {\n return o[0];\n }\n return undefined;\n}\n\n/***/ }),\n/* 52 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = last;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nfunction last(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n return undefined;\n}\n\n/***/ }),\n/* 53 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n\n\nfunction startsWith(arr, e) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(arr) ? arr[0] === e : false;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (startsWith);\n\n/***/ }),\n/* 54 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n\n\nfunction endsWith(arr, e) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr) || Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(arr) ? arr[arr.length - 1] === e : false;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (endsWith);\n\n/***/ }),\n/* 55 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i)) return false;\n }\n return true;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (every);\n\n/***/ }),\n/* 56 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i)) return true;\n }\n return false;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (some);\n\n/***/ }),\n/* 57 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__group_to_map__ = __webpack_require__(27);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n var groups = Object(__WEBPACK_IMPORTED_MODULE_0__group_to_map__[\"a\" /* default */])(data, condition);\n var array = [];\n for (var i in groups) {\n array.push(groups[i]);\n }\n return array;\n});\n\n/***/ }),\n/* 58 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (getWrapBehavior);\n\n/***/ }),\n/* 59 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 封装事件,便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n var method = function (e) {\n obj[action](e);\n };\n obj['_wrap_' + action] = method;\n return method;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (wrapBehavior);\n\n/***/ }),\n/* 60 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar numColorCache = {};\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n if (!color) {\n var str = num.toString(16);\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n color = '#' + str;\n numColorCache[num] = color;\n }\n return color;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (numberToColor);\n\n/***/ }),\n/* 61 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\nfunction parseRadius(radius) {\n var r1 = 0,\n r2 = 0,\n r3 = 0,\n r4 = 0;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n } else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n } else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n } else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n } else {\n r1 = r2 = r3 = r4 = radius;\n }\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (parseRadius);\n\n/***/ }),\n/* 62 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar clamp = function (a, min, max) {\n if (a < min) {\n return min;\n } else if (a > max) {\n return max;\n }\n return a;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (clamp);\n\n/***/ }),\n/* 63 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar fixedBase = function (v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n if (index === -1) {\n return Math.round(v);\n }\n var length = str.substr(index + 1).length;\n if (length > 20) {\n length = 20;\n }\n return parseFloat(v.toFixed(length));\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (fixedBase);\n\n/***/ }),\n/* 64 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isDecimal = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 1 !== 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isDecimal);\n\n/***/ }),\n/* 65 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isEven = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 2 === 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEven);\n\n/***/ }),\n/* 66 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 1 === 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isInteger);\n\n/***/ }),\n/* 67 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isNegative = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num < 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNegative);\n\n/***/ }),\n/* 68 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = isNumberEqual;\nvar PRECISION = 0.00001; // numbers less than this is considered as 0\nfunction isNumberEqual(a, b, precision) {\n if (precision === void 0) {\n precision = PRECISION;\n }\n return Math.abs(a - b) < precision;\n}\n;\n\n/***/ }),\n/* 69 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isOdd = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num % 2 !== 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isOdd);\n\n/***/ }),\n/* 70 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n\nvar isPositive = function (num) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(num) && num > 0;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isPositive);\n\n/***/ }),\n/* 71 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n var maxItem;\n var max = -Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(fn) ? fn(item) : item[fn];\n if (v > max) {\n maxItem = item;\n max = v;\n }\n }\n return maxItem;\n});\n\n/***/ }),\n/* 72 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (arr, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(arr)) {\n return undefined;\n }\n var minItem;\n var min = Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(fn) ? fn(item) : item[fn];\n if (v < min) {\n minItem = item;\n min = v;\n }\n }\n return minItem;\n});\n\n/***/ }),\n/* 73 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar mod = function (n, m) {\n return (n % m + m) % m;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (mod);\n\n/***/ }),\n/* 74 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar DEGREE = 180 / Math.PI;\nvar toDegree = function (radian) {\n return DEGREE * radian;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (toDegree);\n\n/***/ }),\n/* 75 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (parseInt);\n\n/***/ }),\n/* 76 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar RADIAN = Math.PI / 180;\nvar toRadian = function (degree) {\n return RADIAN * degree;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (toRadian);\n\n/***/ }),\n/* 77 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */]);\n\n/***/ }),\n/* 78 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__has__ = __webpack_require__(29);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (__WEBPACK_IMPORTED_MODULE_0__has__[\"a\" /* default */]);\n\n/***/ }),\n/* 79 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__contains__ = __webpack_require__(13);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__values__ = __webpack_require__(15);\n\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__contains__[\"a\" /* default */])(Object(__WEBPACK_IMPORTED_MODULE_1__values__[\"a\" /* default */])(obj), value);\n});\n\n/***/ }),\n/* 80 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar lowerCase = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(str).toLowerCase();\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (lowerCase);\n\n/***/ }),\n/* 81 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar lowerFirst = function (value) {\n var str = Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (lowerFirst);\n\n/***/ }),\n/* 82 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n return o[name] === undefined ? '' : o[name];\n });\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (substitute);\n\n/***/ }),\n/* 83 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar upperCase = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(str).toUpperCase();\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (upperCase);\n\n/***/ }),\n/* 84 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__to_string__ = __webpack_require__(9);\n\nvar upperFirst = function (value) {\n var str = Object(__WEBPACK_IMPORTED_MODULE_0__to_string__[\"a\" /* default */])(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (upperFirst);\n\n/***/ }),\n/* 85 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isArguments = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Arguments');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isArguments);\n\n/***/ }),\n/* 86 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isBoolean = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Boolean');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isBoolean);\n\n/***/ }),\n/* 87 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\nvar isDate = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Date');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isDate);\n\n/***/ }),\n/* 88 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\n\nvar isError = function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(value, 'Error');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isError);\n\n/***/ }),\n/* 89 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_number__ = __webpack_require__(5);\n/**\n * 判断是否为有限数\n * @return {Boolean}\n */\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_number__[\"a\" /* default */])(value) && isFinite(value);\n});\n\n/***/ }),\n/* 90 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isNull = function (value) {\n return value === null;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isNull);\n\n/***/ }),\n/* 91 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_type__ = __webpack_require__(3);\n\nvar isRegExp = function (str) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_type__[\"a\" /* default */])(str, 'RegExp');\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isRegExp);\n\n/***/ }),\n/* 92 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar isUndefined = function (value) {\n return value === undefined;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isUndefined);\n\n/***/ }),\n/* 93 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function (o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (isElement);\n\n/***/ }),\n/* 94 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = requestAnimationFrame;\nfunction requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame || window.webkitRequestAnimationFrame ||\n // @ts-ignore\n window.mozRequestAnimationFrame ||\n // @ts-ignore\n window.msRequestAnimationFrame || function (f) {\n return setTimeout(f, 16);\n };\n return method(fn);\n}\n;\n\n/***/ }),\n/* 95 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = cancelAnimationFrame;\nfunction cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame || window.webkitCancelAnimationFrame ||\n // @ts-ignore\n window.mozCancelAnimationFrame ||\n // @ts-ignore\n window.msCancelAnimationFrame || clearTimeout;\n method(handler);\n}\n;\n\n/***/ }),\n/* 96 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mix__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar augment = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var c = args[0];\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(obj)) {\n obj = obj.prototype;\n }\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(c.prototype, obj);\n }\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (augment);\n\n/***/ }),\n/* 97 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n\nvar clone = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n var rst;\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(obj)) {\n rst = [];\n for (var i = 0, l = obj.length; i < l; i++) {\n if (typeof obj[i] === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n } else {\n rst[i] = obj[i];\n }\n }\n } else {\n rst = {};\n for (var k in obj) {\n if (typeof obj[k] === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n } else {\n rst[k] = obj[k];\n }\n }\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (clone);\n\n/***/ }),\n/* 98 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nfunction debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this,\n args = arguments;\n var later = function () {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (debounce);\n\n/***/ }),\n/* 99 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array__ = __webpack_require__(0);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_plain_object__ = __webpack_require__(10);\n\n\nvar MAX_MIX_LEVEL = 5;\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n if (value !== null && Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(value)) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(dist[key])) {\n dist[key] = {};\n }\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n } else {\n dist[key] = src[key];\n }\n } else if (Object(__WEBPACK_IMPORTED_MODULE_0__is_array__[\"a\" /* default */])(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n } else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n// todo 重写\nvar deepMix = function (rst) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n return rst;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (deepMix);\n\n/***/ }),\n/* 100 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__mix__ = __webpack_require__(16);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_function__ = __webpack_require__(2);\n\n\nvar extend = function (subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!Object(__WEBPACK_IMPORTED_MODULE_1__is_function__[\"a\" /* default */])(superclass)) {\n overrides = superclass;\n superclass = subclass;\n subclass = function () {};\n }\n var create = Object.create ? function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } : function (proto, c) {\n function Tmp() {}\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n subclass.prototype = Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(superObj, subclass.prototype); // 指定子类的prototype\n subclass.superclass = create(superclass.prototype, superclass);\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(superObj, overrides);\n Object(__WEBPACK_IMPORTED_MODULE_0__mix__[\"a\" /* default */])(subclass, staticOverrides);\n return subclass;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (extend);\n\n/***/ }),\n/* 101 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar indexOf = function (arr, obj) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n return -1;\n }\n var m = Array.prototype.indexOf;\n if (m) {\n return m.call(arr, obj);\n }\n var index = -1;\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n return index;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (indexOf);\n\n/***/ }),\n/* 102 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__get_type__ = __webpack_require__(30);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_3__is_prototype__ = __webpack_require__(31);\n\n\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(value)) {\n return true;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(value)) {\n return !value.length;\n }\n var type = Object(__WEBPACK_IMPORTED_MODULE_2__get_type__[\"a\" /* default */])(value);\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_3__is_prototype__[\"a\" /* default */])(value)) {\n return !Object.keys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n/* harmony default export */ __webpack_exports__[\"a\"] = (isEmpty);\n\n/***/ }),\n/* 103 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_function__ = __webpack_require__(2);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_equal__ = __webpack_require__(33);\n\n\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value, other, fn) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_function__[\"a\" /* default */])(fn)) {\n return Object(__WEBPACK_IMPORTED_MODULE_1__is_equal__[\"a\" /* default */])(value, other);\n }\n return !!fn(value, other);\n});\n\n/***/ }),\n/* 104 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\nvar map = function (arr, func) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(arr)) {\n // @ts-ignore\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n return result;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (map);\n\n/***/ }),\n/* 105 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_object__ = __webpack_require__(12);\n\n\nvar identity = function (v) {\n return v;\n};\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (object, func) {\n if (func === void 0) {\n func = identity;\n }\n var r = {};\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_object__[\"a\" /* default */])(object) && !Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n return r;\n});\n\n/***/ }),\n/* 106 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_string__ = __webpack_require__(4);\n\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = Object(__WEBPACK_IMPORTED_MODULE_0__is_string__[\"a\" /* default */])(key) ? key.split('.') : key;\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n return obj === undefined || p < keyArr.length ? defaultValue : obj;\n});\n\n/***/ }),\n/* 107 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_object__ = __webpack_require__(12);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__is_number__ = __webpack_require__(5);\n\n\n\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, path, value) {\n var o = obj;\n var keyArr = Object(__WEBPACK_IMPORTED_MODULE_1__is_string__[\"a\" /* default */])(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!Object(__WEBPACK_IMPORTED_MODULE_0__is_object__[\"a\" /* default */])(o[key])) {\n o[key] = Object(__WEBPACK_IMPORTED_MODULE_2__is_number__[\"a\" /* default */])(keyArr[idx + 1]) ? [] : {};\n }\n o = o[key];\n } else {\n o[key] = value;\n }\n });\n return obj;\n});\n\n/***/ }),\n/* 108 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__each__ = __webpack_require__(8);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_plain_object__ = __webpack_require__(10);\n\n\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (object, keys) {\n if (object === null || !Object(__WEBPACK_IMPORTED_MODULE_1__is_plain_object__[\"a\" /* default */])(object)) {\n return {};\n }\n var result = {};\n Object(__WEBPACK_IMPORTED_MODULE_0__each__[\"a\" /* default */])(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});\n\n/***/ }),\n/* 109 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__reduce__ = __webpack_require__(25);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (obj, keys) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__reduce__[\"a\" /* default */])(obj, function (r, curr, key) {\n if (!keys.includes(key)) {\n r[key] = curr;\n }\n return r;\n }, {});\n});\n\n/***/ }),\n/* 110 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options) options = {};\n var later = function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n };\n var throttled = function () {\n var now = Date.now();\n if (!previous && options.leading === false) previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout) context = args = null;\n } else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n return throttled;\n});\n\n/***/ }),\n/* 111 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_array_like__ = __webpack_require__(1);\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (value) {\n return Object(__WEBPACK_IMPORTED_MODULE_0__is_array_like__[\"a\" /* default */])(value) ? Array.prototype.slice.call(value) : [];\n});\n\n/***/ }),\n/* 112 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\nvar map = {};\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (prefix) {\n prefix = prefix || 'g';\n if (!map[prefix]) {\n map[prefix] = 1;\n } else {\n map[prefix] += 1;\n }\n return prefix + map[prefix];\n});\n\n/***/ }),\n/* 113 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function () {});\n\n/***/ }),\n/* 114 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (v) {\n return v;\n});\n\n/***/ }),\n/* 115 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = size;\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_nil__ = __webpack_require__(7);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__is_array_like__ = __webpack_require__(1);\n\n\nfunction size(o) {\n if (Object(__WEBPACK_IMPORTED_MODULE_0__is_nil__[\"a\" /* default */])(o)) {\n return 0;\n }\n if (Object(__WEBPACK_IMPORTED_MODULE_1__is_array_like__[\"a\" /* default */])(o)) {\n return o.length;\n }\n return Object.keys(o).length;\n}\n\n/***/ }),\n/* 116 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* unused harmony export __extends */\n/* unused harmony export __assign */\n/* unused harmony export __rest */\n/* unused harmony export __decorate */\n/* unused harmony export __param */\n/* unused harmony export __esDecorate */\n/* unused harmony export __runInitializers */\n/* unused harmony export __propKey */\n/* unused harmony export __setFunctionName */\n/* unused harmony export __metadata */\n/* unused harmony export __awaiter */\n/* unused harmony export __generator */\n/* unused harmony export __createBinding */\n/* unused harmony export __exportStar */\n/* unused harmony export __values */\n/* unused harmony export __read */\n/* unused harmony export __spread */\n/* harmony export (immutable) */ __webpack_exports__[\"a\"] = __spreadArrays;\n/* unused harmony export __spreadArray */\n/* unused harmony export __await */\n/* unused harmony export __asyncGenerator */\n/* unused harmony export __asyncDelegator */\n/* unused harmony export __asyncValues */\n/* unused harmony export __makeTemplateObject */\n/* unused harmony export __importStar */\n/* unused harmony export __importDefault */\n/* unused harmony export __classPrivateFieldGet */\n/* unused harmony export __classPrivateFieldSet */\n/* unused harmony export __classPrivateFieldIn */\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\n/* global Reflect, Promise */\n\nvar extendStatics = function (d, b) {\n extendStatics = Object.setPrototypeOf || {\n __proto__: []\n } instanceof Array && function (d, b) {\n d.__proto__ = b;\n } || function (d, b) {\n for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p];\n };\n return extendStatics(d, b);\n};\nfunction __extends(d, b) {\n if (typeof b !== \"function\" && b !== null) throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\n extendStatics(d, b);\n function __() {\n this.constructor = d;\n }\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\n}\nvar __assign = function () {\n __assign = Object.assign || function __assign(t) {\n for (var s, i = 1, n = arguments.length; i < n; i++) {\n s = arguments[i];\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\n }\n return t;\n };\n return __assign.apply(this, arguments);\n};\nfunction __rest(s, e) {\n var t = {};\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n }\n return t;\n}\nfunction __decorate(decorators, target, key, desc) {\n var c = arguments.length,\n r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n d;\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n return c > 3 && r && Object.defineProperty(target, key, r), r;\n}\nfunction __param(paramIndex, decorator) {\n return function (target, key) {\n decorator(target, key, paramIndex);\n };\n}\nfunction __esDecorate(ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\n function accept(f) {\n if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\");\n return f;\n }\n var kind = contextIn.kind,\n key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\n var _,\n done = false;\n for (var i = decorators.length - 1; i >= 0; i--) {\n var context = {};\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\n context.addInitializer = function (f) {\n if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\");\n extraInitializers.push(accept(f || null));\n };\n var result = (0, decorators[i])(kind === \"accessor\" ? {\n get: descriptor.get,\n set: descriptor.set\n } : descriptor[key], context);\n if (kind === \"accessor\") {\n if (result === void 0) continue;\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\n if (_ = accept(result.get)) descriptor.get = _;\n if (_ = accept(result.set)) descriptor.set = _;\n if (_ = accept(result.init)) initializers.push(_);\n } else if (_ = accept(result)) {\n if (kind === \"field\") initializers.push(_);else descriptor[key] = _;\n }\n }\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\n done = true;\n}\n;\nfunction __runInitializers(thisArg, initializers, value) {\n var useValue = arguments.length > 2;\n for (var i = 0; i < initializers.length; i++) {\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\n }\n return useValue ? value : void 0;\n}\n;\nfunction __propKey(x) {\n return typeof x === \"symbol\" ? x : \"\".concat(x);\n}\n;\nfunction __setFunctionName(f, name, prefix) {\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\n return Object.defineProperty(f, \"name\", {\n configurable: true,\n value: prefix ? \"\".concat(prefix, \" \", name) : name\n });\n}\n;\nfunction __metadata(metadataKey, metadataValue) {\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\n}\nfunction __awaiter(thisArg, _arguments, P, generator) {\n function adopt(value) {\n return value instanceof P ? value : new P(function (resolve) {\n resolve(value);\n });\n }\n return new (P || (P = Promise))(function (resolve, reject) {\n function fulfilled(value) {\n try {\n step(generator.next(value));\n } catch (e) {\n reject(e);\n }\n }\n function rejected(value) {\n try {\n step(generator[\"throw\"](value));\n } catch (e) {\n reject(e);\n }\n }\n function step(result) {\n result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected);\n }\n step((generator = generator.apply(thisArg, _arguments || [])).next());\n });\n}\nfunction __generator(thisArg, body) {\n var _ = {\n label: 0,\n sent: function () {\n if (t[0] & 1) throw t[1];\n return t[1];\n },\n trys: [],\n ops: []\n },\n f,\n y,\n t,\n g;\n return g = {\n next: verb(0),\n \"throw\": verb(1),\n \"return\": verb(2)\n }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function () {\n return this;\n }), g;\n function verb(n) {\n return function (v) {\n return step([n, v]);\n };\n }\n function step(op) {\n if (f) throw new TypeError(\"Generator is already executing.\");\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\n if (y = 0, t) op = [op[0] & 2, t.value];\n switch (op[0]) {\n case 0:\n case 1:\n t = op;\n break;\n case 4:\n _.label++;\n return {\n value: op[1],\n done: false\n };\n case 5:\n _.label++;\n y = op[1];\n op = [0];\n continue;\n case 7:\n op = _.ops.pop();\n _.trys.pop();\n continue;\n default:\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) {\n _ = 0;\n continue;\n }\n if (op[0] === 3 && (!t || op[1] > t[0] && op[1] < t[3])) {\n _.label = op[1];\n break;\n }\n if (op[0] === 6 && _.label < t[1]) {\n _.label = t[1];\n t = op;\n break;\n }\n if (t && _.label < t[2]) {\n _.label = t[2];\n _.ops.push(op);\n break;\n }\n if (t[2]) _.ops.pop();\n _.trys.pop();\n continue;\n }\n op = body.call(thisArg, _);\n } catch (e) {\n op = [6, e];\n y = 0;\n } finally {\n f = t = 0;\n }\n if (op[0] & 5) throw op[1];\n return {\n value: op[0] ? op[1] : void 0,\n done: true\n };\n }\n}\nvar __createBinding = Object.create ? function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n var desc = Object.getOwnPropertyDescriptor(m, k);\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\n desc = {\n enumerable: true,\n get: function () {\n return m[k];\n }\n };\n }\n Object.defineProperty(o, k2, desc);\n} : function (o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n};\nfunction __exportStar(m, o) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\n}\nfunction __values(o) {\n var s = typeof Symbol === \"function\" && Symbol.iterator,\n m = s && o[s],\n i = 0;\n if (m) return m.call(o);\n if (o && typeof o.length === \"number\") return {\n next: function () {\n if (o && i >= o.length) o = void 0;\n return {\n value: o && o[i++],\n done: !o\n };\n }\n };\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\n}\nfunction __read(o, n) {\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\n if (!m) return o;\n var i = m.call(o),\n r,\n ar = [],\n e;\n try {\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\n } catch (error) {\n e = {\n error: error\n };\n } finally {\n try {\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\n } finally {\n if (e) throw e.error;\n }\n }\n return ar;\n}\n\n/** @deprecated */\nfunction __spread() {\n for (var ar = [], i = 0; i < arguments.length; i++) ar = ar.concat(__read(arguments[i]));\n return ar;\n}\n\n/** @deprecated */\nfunction __spreadArrays() {\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\n for (var r = Array(s), k = 0, i = 0; i < il; i++) for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++) r[k] = a[j];\n return r;\n}\nfunction __spreadArray(to, from, pack) {\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\n if (ar || !(i in from)) {\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\n ar[i] = from[i];\n }\n }\n return to.concat(ar || Array.prototype.slice.call(from));\n}\nfunction __await(v) {\n return this instanceof __await ? (this.v = v, this) : new __await(v);\n}\nfunction __asyncGenerator(thisArg, _arguments, generator) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var g = generator.apply(thisArg, _arguments || []),\n i,\n q = [];\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i;\n function verb(n) {\n if (g[n]) i[n] = function (v) {\n return new Promise(function (a, b) {\n q.push([n, v, a, b]) > 1 || resume(n, v);\n });\n };\n }\n function resume(n, v) {\n try {\n step(g[n](v));\n } catch (e) {\n settle(q[0][3], e);\n }\n }\n function step(r) {\n r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r);\n }\n function fulfill(value) {\n resume(\"next\", value);\n }\n function reject(value) {\n resume(\"throw\", value);\n }\n function settle(f, v) {\n if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]);\n }\n}\nfunction __asyncDelegator(o) {\n var i, p;\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) {\n throw e;\n }), verb(\"return\"), i[Symbol.iterator] = function () {\n return this;\n }, i;\n function verb(n, f) {\n i[n] = o[n] ? function (v) {\n return (p = !p) ? {\n value: __await(o[n](v)),\n done: false\n } : f ? f(v) : v;\n } : f;\n }\n}\nfunction __asyncValues(o) {\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\n var m = o[Symbol.asyncIterator],\n i;\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () {\n return this;\n }, i);\n function verb(n) {\n i[n] = o[n] && function (v) {\n return new Promise(function (resolve, reject) {\n v = o[n](v), settle(resolve, reject, v.done, v.value);\n });\n };\n }\n function settle(resolve, reject, d, v) {\n Promise.resolve(v).then(function (v) {\n resolve({\n value: v,\n done: d\n });\n }, reject);\n }\n}\nfunction __makeTemplateObject(cooked, raw) {\n if (Object.defineProperty) {\n Object.defineProperty(cooked, \"raw\", {\n value: raw\n });\n } else {\n cooked.raw = raw;\n }\n return cooked;\n}\n;\nvar __setModuleDefault = Object.create ? function (o, v) {\n Object.defineProperty(o, \"default\", {\n enumerable: true,\n value: v\n });\n} : function (o, v) {\n o[\"default\"] = v;\n};\nfunction __importStar(mod) {\n if (mod && mod.__esModule) return mod;\n var result = {};\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\n __setModuleDefault(result, mod);\n return result;\n}\nfunction __importDefault(mod) {\n return mod && mod.__esModule ? mod : {\n default: mod\n };\n}\nfunction __classPrivateFieldGet(receiver, state, kind, f) {\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\n}\nfunction __classPrivateFieldSet(receiver, state, value, kind, f) {\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\n return kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value), value;\n}\nfunction __classPrivateFieldIn(state, receiver) {\n if (receiver === null || typeof receiver !== \"object\" && typeof receiver !== \"function\") throw new TypeError(\"Cannot use 'in' operator on non-object\");\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\n}\n\n/***/ }),\n/* 117 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__is_string__ = __webpack_require__(4);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1__to_string__ = __webpack_require__(9);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_2__measure_text_width__ = __webpack_require__(34);\n\n\n\n/**\n * 获取文本的 ... 文本。\n * 算法(减少每次 measureText 的长度,measureText 的性能跟字符串时间相关):\n * 1. 先通过 STEP 逐步计算,找到最后一个小于 maxWidth 的字符串\n * 2. 然后对最后这个字符串二分计算\n * @param text 需要计算的文本, 由于历史原因 除了支持string,还支持空值,number和数组等\n * @param maxWidth 最大宽度\n * @param font 字体\n * @param str 要替换的文本\n */\n/* harmony default export */ __webpack_exports__[\"a\"] = (function (text, maxWidth, font, str) {\n if (str === void 0) {\n str = '...';\n }\n var STEP = 16; // 每次 16,调参工程师\n var PLACEHOLDER_WIDTH = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(str, font);\n var leftText = !Object(__WEBPACK_IMPORTED_MODULE_0__is_string__[\"a\" /* default */])(text) ? Object(__WEBPACK_IMPORTED_MODULE_1__to_string__[\"a\" /* default */])(text) : text;\n var leftWidth = maxWidth;\n var r = []; // 最终的分段字符串\n var currentText;\n var currentWidth;\n if (Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(text, font) <= maxWidth) {\n return text;\n }\n // 首先通过 step 计算,找出最大的未超出长度的\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, STEP);\n // 计算宽度\n currentWidth = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n if (currentWidth > leftWidth) {\n break;\n }\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(STEP);\n // 字符串整体没有超出\n if (!leftText) {\n return r.join('');\n }\n }\n // 最下的最后一个 STEP,使用 1 递增(用二分效果更高)\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, 1);\n // 计算宽度\n currentWidth = Object(__WEBPACK_IMPORTED_MODULE_2__measure_text_width__[\"a\" /* default */])(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n break;\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(1);\n if (!leftText) {\n return r.join('');\n }\n }\n return \"\" + r.join('') + str;\n});\n\n/***/ }),\n/* 118 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/**\n * k-v 存储\n */\nvar default_1 = /** @class */function () {\n function default_1() {\n this.map = {};\n }\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n default_1.prototype.clear = function () {\n this.map = {};\n };\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n return default_1;\n}();\n/* harmony default export */ __webpack_exports__[\"a\"] = (default_1);\n\n/***/ }),\n/* 119 */\n/***/ (function(module, exports) {\n\n// wrap tree node\nfunction WrappedTree(w, h, y, c) {\n if (c === void 0) {\n c = [];\n }\n var me = this;\n // size\n me.w = w || 0;\n me.h = h || 0;\n\n // position\n me.y = y || 0;\n me.x = 0;\n\n // children\n me.c = c || [];\n me.cs = c.length;\n\n // modified\n me.prelim = 0;\n me.mod = 0;\n me.shift = 0;\n me.change = 0;\n\n // left/right tree\n me.tl = null;\n me.tr = null;\n\n // extreme left/right tree\n me.el = null;\n me.er = null;\n\n // modified left/right tree\n me.msel = 0;\n me.mser = 0;\n}\nWrappedTree.fromNode = function (root, isHorizontal) {\n if (!root) return null;\n var children = [];\n root.children.forEach(function (child) {\n children.push(WrappedTree.fromNode(child, isHorizontal));\n });\n if (isHorizontal) return new WrappedTree(root.height, root.width, root.x, children);\n return new WrappedTree(root.width, root.height, root.y, children);\n};\n\n// node utils\nfunction moveRight(node, move, isHorizontal) {\n if (isHorizontal) {\n node.y += move;\n } else {\n node.x += move;\n }\n node.children.forEach(function (child) {\n moveRight(child, move, isHorizontal);\n });\n}\nfunction getMin(node, isHorizontal) {\n var res = isHorizontal ? node.y : node.x;\n node.children.forEach(function (child) {\n res = Math.min(getMin(child, isHorizontal), res);\n });\n return res;\n}\nfunction normalize(node, isHorizontal) {\n var min = getMin(node, isHorizontal);\n moveRight(node, -min, isHorizontal);\n}\nfunction convertBack(converted /* WrappedTree */, root /* TreeNode */, isHorizontal) {\n if (isHorizontal) {\n root.y = converted.x;\n } else {\n root.x = converted.x;\n }\n converted.c.forEach(function (child, i) {\n convertBack(child, root.children[i], isHorizontal);\n });\n}\nfunction layer(node, isHorizontal, d) {\n if (d === void 0) {\n d = 0;\n }\n if (isHorizontal) {\n node.x = d;\n d += node.width;\n } else {\n node.y = d;\n d += node.height;\n }\n node.children.forEach(function (child) {\n layer(child, isHorizontal, d);\n });\n}\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n var isHorizontal = options.isHorizontal;\n function firstWalk(t) {\n if (t.cs === 0) {\n setExtremes(t);\n return;\n }\n firstWalk(t.c[0]);\n var ih = updateIYL(bottom(t.c[0].el), 0, null);\n for (var i = 1; i < t.cs; ++i) {\n firstWalk(t.c[i]);\n var min = bottom(t.c[i].er);\n separate(t, i, ih);\n ih = updateIYL(min, i, ih);\n }\n positionRoot(t);\n setExtremes(t);\n }\n function setExtremes(t) {\n if (t.cs === 0) {\n t.el = t;\n t.er = t;\n t.msel = t.mser = 0;\n } else {\n t.el = t.c[0].el;\n t.msel = t.c[0].msel;\n t.er = t.c[t.cs - 1].er;\n t.mser = t.c[t.cs - 1].mser;\n }\n }\n function separate(t, i, ih) {\n var sr = t.c[i - 1];\n var mssr = sr.mod;\n var cl = t.c[i];\n var mscl = cl.mod;\n while (sr !== null && cl !== null) {\n if (bottom(sr) > ih.low) ih = ih.nxt;\n var dist = mssr + sr.prelim + sr.w - (mscl + cl.prelim);\n if (dist > 0) {\n mscl += dist;\n moveSubtree(t, i, ih.index, dist);\n }\n var sy = bottom(sr);\n var cy = bottom(cl);\n if (sy <= cy) {\n sr = nextRightContour(sr);\n if (sr !== null) mssr += sr.mod;\n }\n if (sy >= cy) {\n cl = nextLeftContour(cl);\n if (cl !== null) mscl += cl.mod;\n }\n }\n if (!sr && !!cl) {\n setLeftThread(t, i, cl, mscl);\n } else if (!!sr && !cl) {\n setRightThread(t, i, sr, mssr);\n }\n }\n function moveSubtree(t, i, si, dist) {\n t.c[i].mod += dist;\n t.c[i].msel += dist;\n t.c[i].mser += dist;\n distributeExtra(t, i, si, dist);\n }\n function nextLeftContour(t) {\n return t.cs === 0 ? t.tl : t.c[0];\n }\n function nextRightContour(t) {\n return t.cs === 0 ? t.tr : t.c[t.cs - 1];\n }\n function bottom(t) {\n return t.y + t.h;\n }\n function setLeftThread(t, i, cl, modsumcl) {\n var li = t.c[0].el;\n li.tl = cl;\n var diff = modsumcl - cl.mod - t.c[0].msel;\n li.mod += diff;\n li.prelim -= diff;\n t.c[0].el = t.c[i].el;\n t.c[0].msel = t.c[i].msel;\n }\n function setRightThread(t, i, sr, modsumsr) {\n var ri = t.c[i].er;\n ri.tr = sr;\n var diff = modsumsr - sr.mod - t.c[i].mser;\n ri.mod += diff;\n ri.prelim -= diff;\n t.c[i].er = t.c[i - 1].er;\n t.c[i].mser = t.c[i - 1].mser;\n }\n function positionRoot(t) {\n t.prelim = (t.c[0].prelim + t.c[0].mod + t.c[t.cs - 1].mod + t.c[t.cs - 1].prelim + t.c[t.cs - 1].w) / 2 - t.w / 2;\n }\n function secondWalk(t, modsum) {\n modsum += t.mod;\n t.x = t.prelim + modsum;\n addChildSpacing(t);\n for (var i = 0; i < t.cs; i++) {\n secondWalk(t.c[i], modsum);\n }\n }\n function distributeExtra(t, i, si, dist) {\n if (si !== i - 1) {\n var nr = i - si;\n t.c[si + 1].shift += dist / nr;\n t.c[i].shift -= dist / nr;\n t.c[i].change -= dist - dist / nr;\n }\n }\n function addChildSpacing(t) {\n var d = 0;\n var modsumdelta = 0;\n for (var i = 0; i < t.cs; i++) {\n d += t.c[i].shift;\n modsumdelta += d + t.c[i].change;\n t.c[i].mod += modsumdelta;\n }\n }\n function updateIYL(low, index, ih) {\n while (ih !== null && low >= ih.low) {\n ih = ih.nxt;\n }\n return {\n low: low,\n index: index,\n nxt: ih\n };\n }\n\n // do layout\n layer(root, isHorizontal);\n var wt = WrappedTree.fromNode(root, isHorizontal);\n firstWalk(wt);\n secondWalk(wt, 0);\n convertBack(wt, root, isHorizontal);\n normalize(root, isHorizontal);\n return root;\n};\n\n/***/ }),\n/* 120 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar dendrogram = __webpack_require__(121);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar DendrogramLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(DendrogramLayout, _TreeLayout);\n function DendrogramLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = DendrogramLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n me.rootNode.width = 0;\n return doTreeLayout(me.rootNode, me.options, dendrogram);\n };\n return DendrogramLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction dendrogramLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new DendrogramLayout(root, options).execute();\n}\nmodule.exports = dendrogramLayout;\n\n/***/ }),\n/* 121 */\n/***/ (function(module, exports, __webpack_require__) {\n\n// wrap tree node\n// TODO considering size\nvar util = __webpack_require__(6);\nfunction WrappedTree(height, children) {\n if (height === void 0) {\n height = 0;\n }\n if (children === void 0) {\n children = [];\n }\n var me = this;\n me.x = me.y = 0;\n me.leftChild = me.rightChild = null;\n me.height = 0;\n me.children = children;\n}\nvar DEFAULT_OPTIONS = {\n isHorizontal: true,\n nodeSep: 20,\n nodeSize: 20,\n rankSep: 200,\n subTreeSep: 10\n};\nfunction convertBack(converted /* WrappedTree */, root /* TreeNode */, isHorizontal) {\n if (isHorizontal) {\n root.x = converted.x;\n root.y = converted.y;\n } else {\n root.x = converted.y;\n root.y = converted.x;\n }\n converted.children.forEach(function (child, i) {\n convertBack(child, root.children[i], isHorizontal);\n });\n}\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n var maxDepth = 0;\n function wrappedTreeFromNode(n) {\n if (!n) return null;\n n.width = 0;\n if (n.depth && n.depth > maxDepth) {\n maxDepth = n.depth; // get the max depth\n }\n\n var children = n.children;\n var childrenCount = children.length;\n var t = new WrappedTree(n.height, []);\n children.forEach(function (child, i) {\n var childWT = wrappedTreeFromNode(child);\n t.children.push(childWT);\n if (i === 0) {\n // t.leftChild = childWT.leftChild ? childWT.leftChild : childWT\n t.leftChild = childWT;\n }\n if (i === childrenCount - 1) {\n // t.rightChild = childWT.rightChild ? childWT.rightChild : childWT\n t.rightChild = childWT;\n }\n });\n t.originNode = n;\n t.isLeaf = n.isLeaf();\n return t;\n }\n function getDrawingDepth(t) {\n if (t.isLeaf || t.children.length === 0) {\n t.drawingDepth = maxDepth;\n } else {\n var depths = t.children.map(function (child) {\n return getDrawingDepth(child);\n });\n var minChildDepth = Math.min.apply(null, depths);\n t.drawingDepth = minChildDepth - 1;\n }\n return t.drawingDepth;\n }\n var prevLeaf;\n function position(t) {\n t.x = t.drawingDepth * options.rankSep;\n if (t.isLeaf) {\n t.y = 0;\n if (prevLeaf) {\n t.y = prevLeaf.y + prevLeaf.height + options.nodeSep;\n if (t.originNode.parent !== prevLeaf.originNode.parent) {\n t.y += options.subTreeSep;\n }\n }\n prevLeaf = t;\n } else {\n t.children.forEach(function (child) {\n position(child);\n });\n t.y = (t.leftChild.y + t.rightChild.y) / 2;\n }\n }\n\n // wrap node\n var wt = wrappedTreeFromNode(root);\n // get depth for drawing\n getDrawingDepth(wt);\n // get position\n position(wt);\n // get x, y\n convertBack(wt, root, options.isHorizontal);\n return root;\n};\n\n/***/ }),\n/* 122 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar indentedTree = __webpack_require__(123);\nvar separateTree = __webpack_require__(35);\nvar util = __webpack_require__(6);\nvar VALID_DIRECTIONS = ['LR',\n// left to right\n'RL',\n// right to left\n'H' // horizontal\n];\n\nvar DEFAULT_DIRECTION = VALID_DIRECTIONS[0];\nvar IndentedLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(IndentedLayout, _TreeLayout);\n function IndentedLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = IndentedLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n var options = me.options;\n var root = me.rootNode;\n options.isHorizontal = true;\n // default indent 20 and sink first children;\n var _options$indent = options.indent,\n indent = _options$indent === void 0 ? 20 : _options$indent,\n _options$dropCap = options.dropCap,\n dropCap = _options$dropCap === void 0 ? true : _options$dropCap,\n _options$direction = options.direction,\n direction = _options$direction === void 0 ? DEFAULT_DIRECTION : _options$direction,\n align = options.align;\n if (direction && VALID_DIRECTIONS.indexOf(direction) === -1) {\n throw new TypeError(\"Invalid direction: \" + direction);\n }\n if (direction === VALID_DIRECTIONS[0]) {\n // LR\n indentedTree(root, indent, dropCap, align);\n } else if (direction === VALID_DIRECTIONS[1]) {\n // RL\n indentedTree(root, indent, dropCap, align);\n root.right2left();\n } else if (direction === VALID_DIRECTIONS[2]) {\n // H\n // separate into left and right trees\n var _separateTree = separateTree(root, options),\n left = _separateTree.left,\n right = _separateTree.right;\n indentedTree(left, indent, dropCap, align);\n left.right2left();\n indentedTree(right, indent, dropCap, align);\n var bbox = left.getBoundingBox();\n right.translate(bbox.width, 0);\n root.x = right.x - root.width / 2;\n }\n return root;\n };\n return IndentedLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction indentedLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new IndentedLayout(root, options).execute();\n}\nmodule.exports = indentedLayout;\n\n/***/ }),\n/* 123 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar util = __webpack_require__(6);\nfunction positionNode(node, previousNode, indent, dropCap, align) {\n // caculate the node's horizontal offset DX, dx's type might be number or function\n var displacementX = typeof indent === \"function\" ? indent(node) : indent * node.depth;\n if (!dropCap) {\n try {\n if (node.id === node.parent.children[0].id) {\n node.x += displacementX;\n node.y = previousNode ? previousNode.y : 0;\n return;\n }\n } catch (e) {\n // skip to normal when a node has no parent\n }\n }\n node.x += displacementX;\n if (previousNode) {\n node.y = previousNode.y + util.getHeight(previousNode, node, align);\n if (previousNode.parent && node.parent.id !== previousNode.parent.id) {\n // previous node has different parent\n var prevParent = previousNode.parent;\n var preY = prevParent.y + util.getHeight(prevParent, node, align);\n node.y = preY > node.y ? preY : node.y;\n }\n } else {\n node.y = 0;\n }\n return;\n}\nmodule.exports = function (root, indent, dropCap, align) {\n var previousNode = null;\n root.eachNode(function (node) {\n positionNode(node, previousNode, indent, dropCap, align);\n previousNode = node;\n });\n};\n\n/***/ }),\n/* 124 */\n/***/ (function(module, exports, __webpack_require__) {\n\nfunction _inheritsLoose(subClass, superClass) { subClass.prototype = Object.create(superClass.prototype); subClass.prototype.constructor = subClass; _setPrototypeOf(subClass, superClass); }\nfunction _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }\nvar TreeLayout = __webpack_require__(11);\nvar mindmap = __webpack_require__(125);\nvar doTreeLayout = __webpack_require__(17);\nvar util = __webpack_require__(6);\nvar MindmapLayout = /*#__PURE__*/function (_TreeLayout) {\n _inheritsLoose(MindmapLayout, _TreeLayout);\n function MindmapLayout() {\n return _TreeLayout.apply(this, arguments) || this;\n }\n var _proto = MindmapLayout.prototype;\n _proto.execute = function execute() {\n var me = this;\n return doTreeLayout(me.rootNode, me.options, mindmap);\n };\n return MindmapLayout;\n}(TreeLayout);\nvar DEFAULT_OPTIONS = {};\nfunction mindmapLayout(root, options) {\n options = util.assign({}, DEFAULT_OPTIONS, options);\n return new MindmapLayout(root, options).execute();\n}\nmodule.exports = mindmapLayout;\n\n/***/ }),\n/* 125 */\n/***/ (function(module, exports, __webpack_require__) {\n\nvar util = __webpack_require__(6);\nfunction secondWalk(node, options) {\n var totalHeight = 0;\n if (!node.children.length) {\n totalHeight = node.height;\n } else {\n node.children.forEach(function (c) {\n totalHeight += secondWalk(c, options);\n });\n }\n node._subTreeSep = options.getSubTreeSep(node.data);\n node.totalHeight = Math.max(node.height, totalHeight) + 2 * node._subTreeSep;\n return node.totalHeight;\n}\nfunction thirdWalk(node) {\n var children = node.children;\n var len = children.length;\n if (len) {\n children.forEach(function (c) {\n thirdWalk(c);\n });\n var first = children[0];\n var last = children[len - 1];\n var childrenHeight = last.y - first.y + last.height;\n var childrenTotalHeight = 0;\n children.forEach(function (child) {\n childrenTotalHeight += child.totalHeight;\n });\n if (childrenHeight > node.height) {\n // 当子节点总高度大于父节点高度\n node.y = first.y + childrenHeight / 2 - node.height / 2;\n } else if (children.length !== 1 || node.height > childrenTotalHeight) {\n // 多于一个子节点或者父节点大于所有子节点的总高度\n var offset = node.y + (node.height - childrenHeight) / 2 - first.y;\n children.forEach(function (c) {\n c.translate(0, offset);\n });\n } else {\n // 只有一个子节点\n node.y = (first.y + first.height / 2 + last.y + last.height / 2) / 2 - node.height / 2;\n }\n }\n}\nvar DEFAULT_OPTIONS = {\n getSubTreeSep: function getSubTreeSep() {\n return 0;\n }\n};\nmodule.exports = function (root, options) {\n if (options === void 0) {\n options = {};\n }\n options = util.assign({}, DEFAULT_OPTIONS, options);\n root.parent = {\n x: 0,\n width: 0,\n height: 0,\n y: 0\n };\n // first walk\n root.BFTraverse(function (node) {\n node.x = node.parent.x + node.parent.width; // simply get x\n });\n\n root.parent = null;\n // second walk\n secondWalk(root, options); // assign sub tree totalHeight\n // adjusting\n // separating nodes\n root.startY = 0;\n root.y = root.totalHeight / 2 - root.height / 2;\n root.eachNode(function (node) {\n var children = node.children;\n var len = children.length;\n if (len) {\n var first = children[0];\n first.startY = node.startY + node._subTreeSep;\n if (len === 1) {\n first.y = node.y + node.height / 2 - first.height / 2;\n } else {\n first.y = first.startY + first.totalHeight / 2 - first.height / 2;\n for (var i = 1; i < len; i++) {\n var c = children[i];\n c.startY = children[i - 1].startY + children[i - 1].totalHeight;\n c.y = c.startY + c.totalHeight / 2 - c.height / 2;\n }\n }\n }\n });\n\n // third walk\n thirdWalk(root);\n};\n\n/***/ })\n/******/ ]);\n});\n//# sourceMappingURL=hierarchy.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/augment.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "name": "./node_modules/@antv/util/lib/augment.js", + "index": 89, + "index2": 87, + "size": 581, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./augment", + "loc": "176:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar augment = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var c = args[0];\n for (var i = 1; i < args.length; i++) {\n var obj = args[i];\n if (is_function_1.default(obj)) {\n obj = obj.prototype;\n }\n mix_1.default(c.prototype, obj);\n }\n};\nexports.default = augment;\n//# sourceMappingURL=augment.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/cache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/cache.js", + "name": "./node_modules/@antv/util/lib/cache.js", + "index": 114, + "index2": 111, + "size": 872, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./cache", + "loc": "233:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * k-v 存储\n */\nvar default_1 = /** @class */ (function () {\n function default_1() {\n this.map = {};\n }\n default_1.prototype.has = function (key) {\n return this.map[key] !== undefined;\n };\n default_1.prototype.get = function (key, def) {\n var v = this.map[key];\n return v === undefined ? def : v;\n };\n default_1.prototype.set = function (key, value) {\n this.map[key] = value;\n };\n default_1.prototype.clear = function () {\n this.map = {};\n };\n default_1.prototype.delete = function (key) {\n delete this.map[key];\n };\n default_1.prototype.size = function () {\n return Object.keys(this.map).length;\n };\n return default_1;\n}());\nexports.default = default_1;\n//# sourceMappingURL=cache.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clamp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clamp.js", + "name": "./node_modules/@antv/util/lib/clamp.js", + "index": 49, + "index2": 46, + "size": 284, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clamp", + "loc": "68:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar clamp = function (a, min, max) {\n if (a < min) {\n return min;\n }\n else if (a > max) {\n return max;\n }\n return a;\n};\nexports.default = clamp;\n//# sourceMappingURL=clamp.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clear-animation-frame.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clear-animation-frame.js", + "name": "./node_modules/@antv/util/lib/clear-animation-frame.js", + "index": 88, + "index2": 85, + "size": 474, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clear-animation-frame", + "loc": "173:30-64" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction cancelAnimationFrame(handler) {\n var method = window.cancelAnimationFrame ||\n window.webkitCancelAnimationFrame ||\n // @ts-ignore\n window.mozCancelAnimationFrame ||\n // @ts-ignore\n window.msCancelAnimationFrame ||\n clearTimeout;\n method(handler);\n}\nexports.default = cancelAnimationFrame;\n;\n//# sourceMappingURL=clear-animation-frame.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/clone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clone.js", + "name": "./node_modules/@antv/util/lib/clone.js", + "index": 91, + "index2": 88, + "size": 878, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./clone", + "loc": "178:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar clone = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n var rst;\n if (is_array_1.default(obj)) {\n rst = [];\n for (var i = 0, l = obj.length; i < l; i++) {\n if (typeof obj[i] === 'object' && obj[i] != null) {\n rst[i] = clone(obj[i]);\n }\n else {\n rst[i] = obj[i];\n }\n }\n }\n else {\n rst = {};\n for (var k in obj) {\n if (typeof obj[k] === 'object' && obj[k] != null) {\n rst[k] = clone(obj[k]);\n }\n else {\n rst[k] = obj[k];\n }\n }\n }\n return rst;\n};\nexports.default = clone;\n//# sourceMappingURL=clone.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/contains.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/contains.js", + "name": "./node_modules/@antv/util/lib/contains.js", + "index": 5, + "index2": 3, + "size": 338, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/difference.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "module": "./node_modules/@antv/util/lib/difference.js", + "moduleName": "./node_modules/@antv/util/lib/difference.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/has-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "module": "./node_modules/@antv/util/lib/has-value.js", + "moduleName": "./node_modules/@antv/util/lib/has-value.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./contains", + "loc": "4:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar contains = function (arr, value) {\n if (!is_array_like_1.default(arr)) {\n return false;\n }\n return arr.indexOf(value) > -1;\n};\nexports.default = contains;\n//# sourceMappingURL=contains.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/debounce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/debounce.js", + "name": "./node_modules/@antv/util/lib/debounce.js", + "index": 92, + "index2": 89, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./debounce", + "loc": "180:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction debounce(func, wait, immediate) {\n var timeout;\n return function () {\n var context = this, args = arguments;\n var later = function () {\n timeout = null;\n if (!immediate) {\n func.apply(context, args);\n }\n };\n var callNow = immediate && !timeout;\n clearTimeout(timeout);\n timeout = setTimeout(later, wait);\n if (callNow) {\n func.apply(context, args);\n }\n };\n}\nexports.default = debounce;\n//# sourceMappingURL=debounce.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/deep-mix.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "name": "./node_modules/@antv/util/lib/deep-mix.js", + "index": 94, + "index2": 91, + "size": 1405, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./deep-mix", + "loc": "184:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar MAX_MIX_LEVEL = 5;\nfunction _deepMix(dist, src, level, maxLevel) {\n level = level || 0;\n maxLevel = maxLevel || MAX_MIX_LEVEL;\n for (var key in src) {\n if (src.hasOwnProperty(key)) {\n var value = src[key];\n if (value !== null && is_plain_object_1.default(value)) {\n if (!is_plain_object_1.default(dist[key])) {\n dist[key] = {};\n }\n if (level < maxLevel) {\n _deepMix(dist[key], value, level + 1, maxLevel);\n }\n else {\n dist[key] = src[key];\n }\n }\n else if (is_array_1.default(value)) {\n dist[key] = [];\n dist[key] = dist[key].concat(value);\n }\n else if (value !== undefined) {\n dist[key] = value;\n }\n }\n }\n}\n// todo 重写\nvar deepMix = function (rst) {\n var args = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n args[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < args.length; i += 1) {\n _deepMix(rst, args[i]);\n }\n return rst;\n};\nexports.default = deepMix;\n//# sourceMappingURL=deep-mix.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/difference.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "name": "./node_modules/@antv/util/lib/difference.js", + "index": 7, + "index2": 5, + "size": 668, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./difference", + "loc": "7:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar filter_1 = require(\"./filter\");\nvar contains_1 = require(\"./contains\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to inspect.\n * @param {Array} values The values to exclude.\n * @return {Array} Returns the new array of filtered values.\n * @example\n * difference([2, 1], [2, 3]); // => [1]\n */\nvar difference = function (arr, values) {\n if (values === void 0) { values = []; }\n return filter_1.default(arr, function (value) { return !contains_1.default(values, value); });\n};\nexports.default = difference;\n//# sourceMappingURL=difference.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/each.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "name": "./node_modules/@antv/util/lib/each.js", + "index": 15, + "index2": 11, + "size": 816, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "issuerId": "./node_modules/@antv/util/lib/reduce.js", + "issuerName": "./node_modules/@antv/util/lib/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + }, + { + "id": "./node_modules/@antv/util/lib/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "name": "./node_modules/@antv/util/lib/reduce.js", + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + } + } + ], + "profile": { + "factory": 10, + "building": 422, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/for-in.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/for-in.js", + "module": "./node_modules/@antv/util/lib/for-in.js", + "moduleName": "./node_modules/@antv/util/lib/for-in.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "186:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "module": "./node_modules/@antv/util/lib/keys.js", + "moduleName": "./node_modules/@antv/util/lib/keys.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "module": "./node_modules/@antv/util/lib/pick.js", + "moduleName": "./node_modules/@antv/util/lib/pick.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "module": "./node_modules/@antv/util/lib/values.js", + "moduleName": "./node_modules/@antv/util/lib/values.js", + "type": "cjs require", + "userRequest": "./each", + "loc": "3:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_object_1 = require(\"./is-object\");\nfunction each(elements, func) {\n if (!elements) {\n return;\n }\n var rst;\n if (is_array_1.default(elements)) {\n for (var i = 0, len = elements.length; i < len; i++) {\n rst = func(elements[i], i);\n if (rst === false) {\n break;\n }\n }\n }\n else if (is_object_1.default(elements)) {\n for (var k in elements) {\n if (elements.hasOwnProperty(k)) {\n rst = func(elements[k], k);\n if (rst === false) {\n break;\n }\n }\n }\n }\n}\nexports.default = each;\n//# sourceMappingURL=each.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/ends-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "name": "./node_modules/@antv/util/lib/ends-with.js", + "index": 39, + "index2": 36, + "size": 356, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./ends-with", + "loc": "43:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction endsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[arr.length - 1] === e : false;\n}\nexports.default = endsWith;\n//# sourceMappingURL=ends-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/every.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/every.js", + "name": "./node_modules/@antv/util/lib/every.js", + "index": 40, + "index2": 37, + "size": 381, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./every", + "loc": "47:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个不满足条件就返回 false\n * @param arr\n * @param func\n */\nvar every = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (!func(arr[i], i))\n return false;\n }\n return true;\n};\nexports.default = every;\n//# sourceMappingURL=every.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/extend.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "name": "./node_modules/@antv/util/lib/extend.js", + "index": 95, + "index2": 92, + "size": 1315, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./extend", + "loc": "188:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mix_1 = require(\"./mix\");\nvar is_function_1 = require(\"./is-function\");\nvar extend = function (subclass, superclass, overrides, staticOverrides) {\n // 如果只提供父类构造函数,则自动生成子类构造函数\n if (!is_function_1.default(superclass)) {\n overrides = superclass;\n superclass = subclass;\n subclass = function () { };\n }\n var create = Object.create ?\n function (proto, c) {\n return Object.create(proto, {\n constructor: {\n value: c\n }\n });\n } :\n function (proto, c) {\n function Tmp() { }\n Tmp.prototype = proto;\n var o = new Tmp();\n o.constructor = c;\n return o;\n };\n var superObj = create(superclass.prototype, subclass); // new superclass(),//实例化父类作为子类的prototype\n subclass.prototype = mix_1.default(superObj, subclass.prototype); // 指定子类的prototype\n subclass.superclass = create(superclass.prototype, superclass);\n mix_1.default(superObj, overrides);\n mix_1.default(subclass, staticOverrides);\n return subclass;\n};\nexports.default = extend;\n//# sourceMappingURL=extend.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/filter.js", + "name": "./node_modules/@antv/util/lib/filter.js", + "index": 8, + "index2": 4, + "size": 502, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/difference.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/difference.js", + "module": "./node_modules/@antv/util/lib/difference.js", + "moduleName": "./node_modules/@antv/util/lib/difference.js", + "type": "cjs require", + "userRequest": "./filter", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./filter", + "loc": "45:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar filter = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n if (func(value, index)) {\n result.push(value);\n }\n }\n return result;\n};\nexports.default = filter;\n//# sourceMappingURL=filter.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/find-index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find-index.js", + "name": "./node_modules/@antv/util/lib/find-index.js", + "index": 20, + "index2": 17, + "size": 417, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./find-index", + "loc": "11:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction findIndex(arr, predicate, fromIndex) {\n if (fromIndex === void 0) { fromIndex = 0; }\n for (var i = fromIndex; i < arr.length; i++) {\n if (predicate(arr[i], i)) {\n // 找到终止循环\n return i;\n }\n }\n return -1;\n}\nexports.default = findIndex;\n//# sourceMappingURL=find-index.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "name": "./node_modules/@antv/util/lib/find.js", + "index": 9, + "index2": 16, + "size": 826, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./find", + "loc": "9:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_match_1 = require(\"./is-match\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nfunction find(arr, predicate) {\n if (!is_array_1.default(arr))\n return null;\n var _predicate;\n if (is_function_1.default(predicate)) {\n _predicate = predicate;\n }\n if (is_plain_object_1.default(predicate)) {\n _predicate = function (a) { return is_match_1.default(a, predicate); };\n }\n if (_predicate) {\n for (var i = 0; i < arr.length; i += 1) {\n if (_predicate(arr[i])) {\n return arr[i];\n }\n }\n }\n return null;\n}\nexports.default = find;\n//# sourceMappingURL=find.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/first-value.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "name": "./node_modules/@antv/util/lib/first-value.js", + "index": 21, + "index2": 18, + "size": 699, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./first-value", + "loc": "13:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_1 = require(\"./is-array\");\nvar firstValue = function (data, name) {\n var rst = null;\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n if (is_array_1.default(value)) {\n rst = value[0]; // todo 这里是否应该使用递归,调用 firstValue @绝云\n }\n else {\n rst = value;\n }\n break;\n }\n }\n return rst;\n};\nexports.default = firstValue;\n//# sourceMappingURL=first-value.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/fixed-base.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/fixed-base.js", + "name": "./node_modules/@antv/util/lib/fixed-base.js", + "index": 50, + "index2": 47, + "size": 448, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./fixed-base", + "loc": "70:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar fixedBase = function (v, base) {\n var str = base.toString();\n var index = str.indexOf('.');\n if (index === -1) {\n return Math.round(v);\n }\n var length = str.substr(index + 1).length;\n if (length > 20) {\n length = 20;\n }\n return parseFloat(v.toFixed(length));\n};\nexports.default = fixedBase;\n//# sourceMappingURL=fixed-base.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/flatten-deep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten-deep.js", + "name": "./node_modules/@antv/util/lib/flatten-deep.js", + "index": 23, + "index2": 20, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./flatten-deep", + "loc": "17:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @param {Array} result The array to return.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flattenDeep([1, [2, [3, [4]], 5]]); // => [1, 2, 3, 4, 5]\n */\nvar flattenDeep = function (arr, result) {\n if (result === void 0) { result = []; }\n if (!is_array_1.default(arr)) {\n result.push(arr);\n }\n else {\n for (var i = 0; i < arr.length; i += 1) {\n flattenDeep(arr[i], result);\n }\n }\n return result;\n};\nexports.default = flattenDeep;\n//# sourceMappingURL=flatten-deep.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten.js", + "name": "./node_modules/@antv/util/lib/flatten.js", + "index": 22, + "index2": 19, + "size": 616, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./flatten", + "loc": "15:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * Flattens `array` a single level deep.\n *\n * @param {Array} arr The array to flatten.\n * @return {Array} Returns the new flattened array.\n * @example\n *\n * flatten([1, [2, [3, [4]], 5]]); // => [1, 2, [3, [4]], 5]\n */\nvar flatten = function (arr) {\n if (!is_array_1.default(arr)) {\n return [];\n }\n var rst = [];\n for (var i = 0; i < arr.length; i++) {\n rst = rst.concat(arr[i]);\n }\n return rst;\n};\nexports.default = flatten;\n//# sourceMappingURL=flatten.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/for-in.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/for-in.js", + "name": "./node_modules/@antv/util/lib/for-in.js", + "index": 65, + "index2": 62, + "size": 177, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./for-in", + "loc": "103:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nexports.default = each_1.default;\n//# sourceMappingURL=for-in.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "name": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "index": 113, + "index2": 110, + "size": 2730, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-ellipsis-text", + "loc": "230:26-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_string_1 = require(\"./is-string\");\nvar to_string_1 = require(\"./to-string\");\nvar measure_text_width_1 = require(\"./measure-text-width\");\n/**\n * 获取文本的 ... 文本。\n * 算法(减少每次 measureText 的长度,measureText 的性能跟字符串时间相关):\n * 1. 先通过 STEP 逐步计算,找到最后一个小于 maxWidth 的字符串\n * 2. 然后对最后这个字符串二分计算\n * @param text 需要计算的文本, 由于历史原因 除了支持string,还支持空值,number和数组等\n * @param maxWidth 最大宽度\n * @param font 字体\n * @param str 要替换的文本\n */\nexports.default = (function (text, maxWidth, font, str) {\n if (str === void 0) { str = '...'; }\n var STEP = 16; // 每次 16,调参工程师\n var PLACEHOLDER_WIDTH = measure_text_width_1.default(str, font);\n var leftText = !is_string_1.default(text) ? to_string_1.default(text) : text;\n var leftWidth = maxWidth;\n var r = []; // 最终的分段字符串\n var currentText;\n var currentWidth;\n if (measure_text_width_1.default(text, font) <= maxWidth) {\n return text;\n }\n // 首先通过 step 计算,找出最大的未超出长度的\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, STEP);\n // 计算宽度\n currentWidth = measure_text_width_1.default(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n if (currentWidth > leftWidth) {\n break;\n }\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(STEP);\n // 字符串整体没有超出\n if (!leftText) {\n return r.join('');\n }\n }\n // 最下的最后一个 STEP,使用 1 递增(用二分效果更高)\n // eslint-disable-next-line no-constant-condition\n while (true) {\n // 更新字符串\n currentText = leftText.substr(0, 1);\n // 计算宽度\n currentWidth = measure_text_width_1.default(currentText, font);\n // 超出剩余宽度,则停止\n if (currentWidth + PLACEHOLDER_WIDTH > leftWidth) {\n break;\n }\n r.push(currentText);\n // 没有超出,则计算剩余宽度\n leftWidth -= currentWidth;\n leftText = leftText.substr(1);\n if (!leftText) {\n return r.join('');\n }\n }\n return \"\" + r.join('') + str;\n});\n//# sourceMappingURL=get-ellipsis-text.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "name": "./node_modules/@antv/util/lib/get-range.js", + "index": 24, + "index2": 23, + "size": 897, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-range", + "loc": "19:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar max_1 = require(\"./max\");\nvar min_1 = require(\"./min\");\nvar getRange = function (values) {\n // 存在 NaN 时,min,max 判定会出问题\n var filterValues = values.filter(function (v) { return !isNaN(v); });\n if (!filterValues.length) {\n // 如果没有数值则直接返回0\n return {\n min: 0,\n max: 0,\n };\n }\n if (is_array_1.default(values[0])) {\n var tmp = [];\n for (var i = 0; i < values.length; i++) {\n tmp = tmp.concat(values[i]);\n }\n filterValues = tmp;\n }\n var max = max_1.default(filterValues);\n var min = min_1.default(filterValues);\n return {\n min: min,\n max: max,\n };\n};\nexports.default = getRange;\n//# sourceMappingURL=get-range.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-type.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-type.js", + "name": "./node_modules/@antv/util/lib/get-type.js", + "index": 76, + "index2": 73, + "size": 281, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-type", + "loc": "129:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./get-type", + "loc": "5:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar getType = function (value) {\n return toString.call(value).replace(/^\\[object /, '').replace(/]$/, '');\n};\nexports.default = getType;\n//# sourceMappingURL=get-type.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get-wrap-behavior.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-wrap-behavior.js", + "name": "./node_modules/@antv/util/lib/get-wrap-behavior.js", + "index": 45, + "index2": 42, + "size": 408, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get-wrap-behavior", + "loc": "58:26-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 获取封装的事件\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction getWrapBehavior(obj, action) {\n return obj['_wrap_' + action];\n}\nexports.default = getWrapBehavior;\n//# sourceMappingURL=get-wrap-behavior.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/get.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get.js", + "name": "./node_modules/@antv/util/lib/get.js", + "index": 102, + "index2": 99, + "size": 557, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./get", + "loc": "205:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_string_1 = require(\"./is-string\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param key\n * @param defaultValue\n */\nexports.default = (function (obj, key, defaultValue) {\n var p = 0;\n var keyArr = is_string_1.default(key) ? key.split('.') : key;\n while (obj && p < keyArr.length) {\n obj = obj[keyArr[p++]];\n }\n return (obj === undefined || p < keyArr.length) ? defaultValue : obj;\n});\n//# sourceMappingURL=get.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "name": "./node_modules/@antv/util/lib/group-by.js", + "index": 44, + "index2": 39, + "size": 863, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./group-by", + "loc": "5:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group-by", + "loc": "53:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction groupBy(data, condition) {\n if (!condition || !is_array_1.default(data)) {\n return {};\n }\n var result = {};\n // 兼容方法和 字符串的写法\n var predicate = is_function_1.default(condition) ? condition : function (item) { return item[condition]; };\n var key;\n for (var i = 0; i < data.length; i++) {\n var item = data[i];\n key = predicate(item);\n if (hasOwnProperty.call(result, key)) {\n result[key].push(item);\n }\n else {\n result[key] = [item];\n }\n }\n return result;\n}\nexports.default = groupBy;\n//# sourceMappingURL=group-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group-to-map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "name": "./node_modules/@antv/util/lib/group-to-map.js", + "index": 43, + "index2": 40, + "size": 1152, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/group.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group.js", + "module": "./node_modules/@antv/util/lib/group.js", + "moduleName": "./node_modules/@antv/util/lib/group.js", + "type": "cjs require", + "userRequest": "./group-to-map", + "loc": "3:21-46" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group-to-map", + "loc": "55:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\nvar group_by_1 = require(\"./group-by\");\n/**\n * 将数据分组成 map\n * @param data\n * @param condition\n */\nfunction groupToMap(data, condition) {\n if (!condition) {\n return {\n 0: data,\n };\n }\n if (!is_function_1.default(condition)) {\n // 如果是字符串,则按照 a*b 风格成数组\n var paramscondition_1 = is_array_1.default(condition) ? condition : condition.replace(/\\s+/g, '').split('*');\n condition = function (row) {\n var unique = '_'; // 避免出现数字作为Key的情况,会进行按照数字的排序\n // 根据字段列表的值,拼接成 key\n for (var i = 0, l = paramscondition_1.length; i < l; i++) {\n unique += row[paramscondition_1[i]] && row[paramscondition_1[i]].toString();\n }\n return unique;\n };\n }\n return group_by_1.default(data, condition);\n}\nexports.default = groupToMap;\n//# sourceMappingURL=group-to-map.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/group.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group.js", + "name": "./node_modules/@antv/util/lib/group.js", + "index": 42, + "index2": 41, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./group", + "loc": "51:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar group_to_map_1 = require(\"./group-to-map\");\nexports.default = (function (data, condition) {\n if (!condition) {\n // 没有条件,则自身改成数组\n return [data];\n }\n var groups = group_to_map_1.default(data, condition);\n var array = [];\n for (var i in groups) {\n array.push(groups[i]);\n }\n return array;\n});\n//# sourceMappingURL=group.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has-key.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-key.js", + "name": "./node_modules/@antv/util/lib/has-key.js", + "index": 67, + "index2": 64, + "size": 175, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has-key", + "loc": "107:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar has_1 = require(\"./has\");\nexports.default = has_1.default;\n//# sourceMappingURL=has-key.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has-value.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "name": "./node_modules/@antv/util/lib/has-value.js", + "index": 68, + "index2": 66, + "size": 294, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has-value", + "loc": "109:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar contains_1 = require(\"./contains\");\nvar values_1 = require(\"./values\");\nexports.default = (function (obj, value) { return contains_1.default(values_1.default(obj), value); });\n//# sourceMappingURL=has-value.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has.js", + "name": "./node_modules/@antv/util/lib/has.js", + "index": 66, + "index2": 63, + "size": 185, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/has-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-key.js", + "module": "./node_modules/@antv/util/lib/has-key.js", + "moduleName": "./node_modules/@antv/util/lib/has-key.js", + "type": "cjs require", + "userRequest": "./has", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./has", + "loc": "105:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (obj, key) { return obj.hasOwnProperty(key); });\n//# sourceMappingURL=has.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/head.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/head.js", + "name": "./node_modules/@antv/util/lib/head.js", + "index": 36, + "index2": 33, + "size": 291, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./head", + "loc": "37:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction head(o) {\n if (is_array_like_1.default(o)) {\n return o[0];\n }\n return undefined;\n}\nexports.default = head;\n//# sourceMappingURL=head.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/identity.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/identity.js", + "name": "./node_modules/@antv/util/lib/identity.js", + "index": 110, + "index2": 107, + "size": 161, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "223:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (v) { return v; });\n//# sourceMappingURL=identity.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/index-of.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index-of.js", + "name": "./node_modules/@antv/util/lib/index-of.js", + "index": 96, + "index2": 93, + "size": 553, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./index-of", + "loc": "190:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar indexOf = function (arr, obj) {\n if (!is_array_like_1.default(arr)) {\n return -1;\n }\n var m = Array.prototype.indexOf;\n if (m) {\n return m.call(arr, obj);\n }\n var index = -1;\n for (var i = 0; i < arr.length; i++) {\n if (arr[i] === obj) {\n index = i;\n break;\n }\n }\n return index;\n};\nexports.default = indexOf;\n//# sourceMappingURL=index-of.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "index": 4, + "index2": 112, + "size": 17644, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/api/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "module": "./src/api/hierarchy.ts", + "moduleName": "./src/api/hierarchy.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/connector/default.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "module": "./src/connector/default.ts", + "moduleName": "./src/connector/default.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/connector/graph.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "module": "./src/connector/graph.ts", + "moduleName": "./src/connector/graph.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/diagram/arc.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "module": "./src/transform/diagram/arc.ts", + "moduleName": "./src/transform/diagram/arc.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/fold.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "module": "./src/transform/fold.ts", + "moduleName": "./src/transform/fold.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "5:13-34" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "8:13-34" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "7:13-34" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/pick.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "module": "./src/transform/pick.ts", + "moduleName": "./src/transform/pick.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "6:13-34" + }, + { + "moduleId": "./src/transform/rename.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/rename.ts", + "module": "./src/transform/rename.ts", + "moduleName": "./src/transform/rename.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "module": "./src/transform/sort-by.ts", + "moduleName": "./src/transform/sort-by.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/option-parser.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/option-parser.ts", + "module": "./src/util/option-parser.ts", + "moduleName": "./src/util/option-parser.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "4:13-34" + }, + { + "moduleId": "./src/util/simple-sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/simple-sort-by.ts", + "module": "./src/util/simple-sort-by.ts", + "moduleName": "./src/util/simple-sort-by.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "3:13-34" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "@antv/util", + "loc": "6:13-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// array\nvar contains_1 = require(\"./contains\");\nObject.defineProperty(exports, \"contains\", { enumerable: true, get: function () { return contains_1.default; } });\nObject.defineProperty(exports, \"includes\", { enumerable: true, get: function () { return contains_1.default; } });\nvar difference_1 = require(\"./difference\");\nObject.defineProperty(exports, \"difference\", { enumerable: true, get: function () { return difference_1.default; } });\nvar find_1 = require(\"./find\");\nObject.defineProperty(exports, \"find\", { enumerable: true, get: function () { return find_1.default; } });\nvar find_index_1 = require(\"./find-index\");\nObject.defineProperty(exports, \"findIndex\", { enumerable: true, get: function () { return find_index_1.default; } });\nvar first_value_1 = require(\"./first-value\");\nObject.defineProperty(exports, \"firstValue\", { enumerable: true, get: function () { return first_value_1.default; } });\nvar flatten_1 = require(\"./flatten\");\nObject.defineProperty(exports, \"flatten\", { enumerable: true, get: function () { return flatten_1.default; } });\nvar flatten_deep_1 = require(\"./flatten-deep\");\nObject.defineProperty(exports, \"flattenDeep\", { enumerable: true, get: function () { return flatten_deep_1.default; } });\nvar get_range_1 = require(\"./get-range\");\nObject.defineProperty(exports, \"getRange\", { enumerable: true, get: function () { return get_range_1.default; } });\nvar pull_1 = require(\"./pull\");\nObject.defineProperty(exports, \"pull\", { enumerable: true, get: function () { return pull_1.default; } });\nvar pull_at_1 = require(\"./pull-at\");\nObject.defineProperty(exports, \"pullAt\", { enumerable: true, get: function () { return pull_at_1.default; } });\nvar reduce_1 = require(\"./reduce\");\nObject.defineProperty(exports, \"reduce\", { enumerable: true, get: function () { return reduce_1.default; } });\nvar remove_1 = require(\"./remove\");\nObject.defineProperty(exports, \"remove\", { enumerable: true, get: function () { return remove_1.default; } });\nvar sort_by_1 = require(\"./sort-by\");\nObject.defineProperty(exports, \"sortBy\", { enumerable: true, get: function () { return sort_by_1.default; } });\nvar union_1 = require(\"./union\");\nObject.defineProperty(exports, \"union\", { enumerable: true, get: function () { return union_1.default; } });\nvar uniq_1 = require(\"./uniq\");\nObject.defineProperty(exports, \"uniq\", { enumerable: true, get: function () { return uniq_1.default; } });\nvar values_of_key_1 = require(\"./values-of-key\");\nObject.defineProperty(exports, \"valuesOfKey\", { enumerable: true, get: function () { return values_of_key_1.default; } });\nvar head_1 = require(\"./head\");\nObject.defineProperty(exports, \"head\", { enumerable: true, get: function () { return head_1.default; } });\nvar last_1 = require(\"./last\");\nObject.defineProperty(exports, \"last\", { enumerable: true, get: function () { return last_1.default; } });\nvar starts_with_1 = require(\"./starts-with\");\nObject.defineProperty(exports, \"startsWith\", { enumerable: true, get: function () { return starts_with_1.default; } });\nvar ends_with_1 = require(\"./ends-with\");\nObject.defineProperty(exports, \"endsWith\", { enumerable: true, get: function () { return ends_with_1.default; } });\nvar filter_1 = require(\"./filter\");\nObject.defineProperty(exports, \"filter\", { enumerable: true, get: function () { return filter_1.default; } });\nvar every_1 = require(\"./every\");\nObject.defineProperty(exports, \"every\", { enumerable: true, get: function () { return every_1.default; } });\nvar some_1 = require(\"./some\");\nObject.defineProperty(exports, \"some\", { enumerable: true, get: function () { return some_1.default; } });\nvar group_1 = require(\"./group\");\nObject.defineProperty(exports, \"group\", { enumerable: true, get: function () { return group_1.default; } });\nvar group_by_1 = require(\"./group-by\");\nObject.defineProperty(exports, \"groupBy\", { enumerable: true, get: function () { return group_by_1.default; } });\nvar group_to_map_1 = require(\"./group-to-map\");\nObject.defineProperty(exports, \"groupToMap\", { enumerable: true, get: function () { return group_to_map_1.default; } });\n// event\nvar get_wrap_behavior_1 = require(\"./get-wrap-behavior\");\nObject.defineProperty(exports, \"getWrapBehavior\", { enumerable: true, get: function () { return get_wrap_behavior_1.default; } });\nvar wrap_behavior_1 = require(\"./wrap-behavior\");\nObject.defineProperty(exports, \"wrapBehavior\", { enumerable: true, get: function () { return wrap_behavior_1.default; } });\n// format\nvar number2color_1 = require(\"./number2color\");\nObject.defineProperty(exports, \"number2color\", { enumerable: true, get: function () { return number2color_1.default; } });\nvar parse_radius_1 = require(\"./parse-radius\");\nObject.defineProperty(exports, \"parseRadius\", { enumerable: true, get: function () { return parse_radius_1.default; } });\n// math\nvar clamp_1 = require(\"./clamp\");\nObject.defineProperty(exports, \"clamp\", { enumerable: true, get: function () { return clamp_1.default; } });\nvar fixed_base_1 = require(\"./fixed-base\");\nObject.defineProperty(exports, \"fixedBase\", { enumerable: true, get: function () { return fixed_base_1.default; } });\nvar is_decimal_1 = require(\"./is-decimal\");\nObject.defineProperty(exports, \"isDecimal\", { enumerable: true, get: function () { return is_decimal_1.default; } });\nvar is_even_1 = require(\"./is-even\");\nObject.defineProperty(exports, \"isEven\", { enumerable: true, get: function () { return is_even_1.default; } });\nvar is_integer_1 = require(\"./is-integer\");\nObject.defineProperty(exports, \"isInteger\", { enumerable: true, get: function () { return is_integer_1.default; } });\nvar is_negative_1 = require(\"./is-negative\");\nObject.defineProperty(exports, \"isNegative\", { enumerable: true, get: function () { return is_negative_1.default; } });\nvar is_number_equal_1 = require(\"./is-number-equal\");\nObject.defineProperty(exports, \"isNumberEqual\", { enumerable: true, get: function () { return is_number_equal_1.default; } });\nvar is_odd_1 = require(\"./is-odd\");\nObject.defineProperty(exports, \"isOdd\", { enumerable: true, get: function () { return is_odd_1.default; } });\nvar is_positive_1 = require(\"./is-positive\");\nObject.defineProperty(exports, \"isPositive\", { enumerable: true, get: function () { return is_positive_1.default; } });\nvar max_1 = require(\"./max\");\nObject.defineProperty(exports, \"max\", { enumerable: true, get: function () { return max_1.default; } });\nvar max_by_1 = require(\"./max-by\");\nObject.defineProperty(exports, \"maxBy\", { enumerable: true, get: function () { return max_by_1.default; } });\nvar min_1 = require(\"./min\");\nObject.defineProperty(exports, \"min\", { enumerable: true, get: function () { return min_1.default; } });\nvar min_by_1 = require(\"./min-by\");\nObject.defineProperty(exports, \"minBy\", { enumerable: true, get: function () { return min_by_1.default; } });\nvar mod_1 = require(\"./mod\");\nObject.defineProperty(exports, \"mod\", { enumerable: true, get: function () { return mod_1.default; } });\nvar to_degree_1 = require(\"./to-degree\");\nObject.defineProperty(exports, \"toDegree\", { enumerable: true, get: function () { return to_degree_1.default; } });\nvar to_integer_1 = require(\"./to-integer\");\nObject.defineProperty(exports, \"toInteger\", { enumerable: true, get: function () { return to_integer_1.default; } });\nvar to_radian_1 = require(\"./to-radian\");\nObject.defineProperty(exports, \"toRadian\", { enumerable: true, get: function () { return to_radian_1.default; } });\n// object\nvar for_in_1 = require(\"./for-in\");\nObject.defineProperty(exports, \"forIn\", { enumerable: true, get: function () { return for_in_1.default; } });\nvar has_1 = require(\"./has\");\nObject.defineProperty(exports, \"has\", { enumerable: true, get: function () { return has_1.default; } });\nvar has_key_1 = require(\"./has-key\");\nObject.defineProperty(exports, \"hasKey\", { enumerable: true, get: function () { return has_key_1.default; } });\nvar has_value_1 = require(\"./has-value\");\nObject.defineProperty(exports, \"hasValue\", { enumerable: true, get: function () { return has_value_1.default; } });\nvar keys_1 = require(\"./keys\");\nObject.defineProperty(exports, \"keys\", { enumerable: true, get: function () { return keys_1.default; } });\nvar is_match_1 = require(\"./is-match\");\nObject.defineProperty(exports, \"isMatch\", { enumerable: true, get: function () { return is_match_1.default; } });\nvar values_1 = require(\"./values\");\nObject.defineProperty(exports, \"values\", { enumerable: true, get: function () { return values_1.default; } });\n// string\nvar lower_case_1 = require(\"./lower-case\");\nObject.defineProperty(exports, \"lowerCase\", { enumerable: true, get: function () { return lower_case_1.default; } });\nvar lower_first_1 = require(\"./lower-first\");\nObject.defineProperty(exports, \"lowerFirst\", { enumerable: true, get: function () { return lower_first_1.default; } });\nvar substitute_1 = require(\"./substitute\");\nObject.defineProperty(exports, \"substitute\", { enumerable: true, get: function () { return substitute_1.default; } });\nvar upper_case_1 = require(\"./upper-case\");\nObject.defineProperty(exports, \"upperCase\", { enumerable: true, get: function () { return upper_case_1.default; } });\nvar upper_first_1 = require(\"./upper-first\");\nObject.defineProperty(exports, \"upperFirst\", { enumerable: true, get: function () { return upper_first_1.default; } });\n// type\nvar get_type_1 = require(\"./get-type\");\nObject.defineProperty(exports, \"getType\", { enumerable: true, get: function () { return get_type_1.default; } });\nvar is_arguments_1 = require(\"./is-arguments\");\nObject.defineProperty(exports, \"isArguments\", { enumerable: true, get: function () { return is_arguments_1.default; } });\nvar is_array_1 = require(\"./is-array\");\nObject.defineProperty(exports, \"isArray\", { enumerable: true, get: function () { return is_array_1.default; } });\nvar is_array_like_1 = require(\"./is-array-like\");\nObject.defineProperty(exports, \"isArrayLike\", { enumerable: true, get: function () { return is_array_like_1.default; } });\nvar is_boolean_1 = require(\"./is-boolean\");\nObject.defineProperty(exports, \"isBoolean\", { enumerable: true, get: function () { return is_boolean_1.default; } });\nvar is_date_1 = require(\"./is-date\");\nObject.defineProperty(exports, \"isDate\", { enumerable: true, get: function () { return is_date_1.default; } });\nvar is_error_1 = require(\"./is-error\");\nObject.defineProperty(exports, \"isError\", { enumerable: true, get: function () { return is_error_1.default; } });\nvar is_function_1 = require(\"./is-function\");\nObject.defineProperty(exports, \"isFunction\", { enumerable: true, get: function () { return is_function_1.default; } });\nvar is_finite_1 = require(\"./is-finite\");\nObject.defineProperty(exports, \"isFinite\", { enumerable: true, get: function () { return is_finite_1.default; } });\nvar is_nil_1 = require(\"./is-nil\");\nObject.defineProperty(exports, \"isNil\", { enumerable: true, get: function () { return is_nil_1.default; } });\nvar is_null_1 = require(\"./is-null\");\nObject.defineProperty(exports, \"isNull\", { enumerable: true, get: function () { return is_null_1.default; } });\nvar is_number_1 = require(\"./is-number\");\nObject.defineProperty(exports, \"isNumber\", { enumerable: true, get: function () { return is_number_1.default; } });\nvar is_object_1 = require(\"./is-object\");\nObject.defineProperty(exports, \"isObject\", { enumerable: true, get: function () { return is_object_1.default; } });\nvar is_object_like_1 = require(\"./is-object-like\");\nObject.defineProperty(exports, \"isObjectLike\", { enumerable: true, get: function () { return is_object_like_1.default; } });\nvar is_plain_object_1 = require(\"./is-plain-object\");\nObject.defineProperty(exports, \"isPlainObject\", { enumerable: true, get: function () { return is_plain_object_1.default; } });\nvar is_prototype_1 = require(\"./is-prototype\");\nObject.defineProperty(exports, \"isPrototype\", { enumerable: true, get: function () { return is_prototype_1.default; } });\nvar is_reg_exp_1 = require(\"./is-reg-exp\");\nObject.defineProperty(exports, \"isRegExp\", { enumerable: true, get: function () { return is_reg_exp_1.default; } });\nvar is_string_1 = require(\"./is-string\");\nObject.defineProperty(exports, \"isString\", { enumerable: true, get: function () { return is_string_1.default; } });\nvar is_type_1 = require(\"./is-type\");\nObject.defineProperty(exports, \"isType\", { enumerable: true, get: function () { return is_type_1.default; } });\nvar is_undefined_1 = require(\"./is-undefined\");\nObject.defineProperty(exports, \"isUndefined\", { enumerable: true, get: function () { return is_undefined_1.default; } });\nvar is_element_1 = require(\"./is-element\");\nObject.defineProperty(exports, \"isElement\", { enumerable: true, get: function () { return is_element_1.default; } });\nvar request_animation_frame_1 = require(\"./request-animation-frame\");\nObject.defineProperty(exports, \"requestAnimationFrame\", { enumerable: true, get: function () { return request_animation_frame_1.default; } });\nvar clear_animation_frame_1 = require(\"./clear-animation-frame\");\nObject.defineProperty(exports, \"clearAnimationFrame\", { enumerable: true, get: function () { return clear_animation_frame_1.default; } });\n// other\nvar augment_1 = require(\"./augment\");\nObject.defineProperty(exports, \"augment\", { enumerable: true, get: function () { return augment_1.default; } });\nvar clone_1 = require(\"./clone\");\nObject.defineProperty(exports, \"clone\", { enumerable: true, get: function () { return clone_1.default; } });\nvar debounce_1 = require(\"./debounce\");\nObject.defineProperty(exports, \"debounce\", { enumerable: true, get: function () { return debounce_1.default; } });\nvar memoize_1 = require(\"./memoize\");\nObject.defineProperty(exports, \"memoize\", { enumerable: true, get: function () { return memoize_1.default; } });\nvar deep_mix_1 = require(\"./deep-mix\");\nObject.defineProperty(exports, \"deepMix\", { enumerable: true, get: function () { return deep_mix_1.default; } });\nvar each_1 = require(\"./each\");\nObject.defineProperty(exports, \"each\", { enumerable: true, get: function () { return each_1.default; } });\nvar extend_1 = require(\"./extend\");\nObject.defineProperty(exports, \"extend\", { enumerable: true, get: function () { return extend_1.default; } });\nvar index_of_1 = require(\"./index-of\");\nObject.defineProperty(exports, \"indexOf\", { enumerable: true, get: function () { return index_of_1.default; } });\nvar is_empty_1 = require(\"./is-empty\");\nObject.defineProperty(exports, \"isEmpty\", { enumerable: true, get: function () { return is_empty_1.default; } });\nvar is_equal_1 = require(\"./is-equal\");\nObject.defineProperty(exports, \"isEqual\", { enumerable: true, get: function () { return is_equal_1.default; } });\nvar is_equal_with_1 = require(\"./is-equal-with\");\nObject.defineProperty(exports, \"isEqualWith\", { enumerable: true, get: function () { return is_equal_with_1.default; } });\nvar map_1 = require(\"./map\");\nObject.defineProperty(exports, \"map\", { enumerable: true, get: function () { return map_1.default; } });\nvar map_values_1 = require(\"./map-values\");\nObject.defineProperty(exports, \"mapValues\", { enumerable: true, get: function () { return map_values_1.default; } });\nvar mix_1 = require(\"./mix\");\nObject.defineProperty(exports, \"mix\", { enumerable: true, get: function () { return mix_1.default; } });\nObject.defineProperty(exports, \"assign\", { enumerable: true, get: function () { return mix_1.default; } });\nvar get_1 = require(\"./get\");\nObject.defineProperty(exports, \"get\", { enumerable: true, get: function () { return get_1.default; } });\nvar set_1 = require(\"./set\");\nObject.defineProperty(exports, \"set\", { enumerable: true, get: function () { return set_1.default; } });\nvar pick_1 = require(\"./pick\");\nObject.defineProperty(exports, \"pick\", { enumerable: true, get: function () { return pick_1.default; } });\nvar omit_1 = require(\"./omit\");\nObject.defineProperty(exports, \"omit\", { enumerable: true, get: function () { return omit_1.default; } });\nvar throttle_1 = require(\"./throttle\");\nObject.defineProperty(exports, \"throttle\", { enumerable: true, get: function () { return throttle_1.default; } });\nvar to_array_1 = require(\"./to-array\");\nObject.defineProperty(exports, \"toArray\", { enumerable: true, get: function () { return to_array_1.default; } });\nvar to_string_1 = require(\"./to-string\");\nObject.defineProperty(exports, \"toString\", { enumerable: true, get: function () { return to_string_1.default; } });\nvar unique_id_1 = require(\"./unique-id\");\nObject.defineProperty(exports, \"uniqueId\", { enumerable: true, get: function () { return unique_id_1.default; } });\nvar noop_1 = require(\"./noop\");\nObject.defineProperty(exports, \"noop\", { enumerable: true, get: function () { return noop_1.default; } });\nvar identity_1 = require(\"./identity\");\nObject.defineProperty(exports, \"identity\", { enumerable: true, get: function () { return identity_1.default; } });\nvar size_1 = require(\"./size\");\nObject.defineProperty(exports, \"size\", { enumerable: true, get: function () { return size_1.default; } });\n// text\nvar measure_text_width_1 = require(\"./measure-text-width\");\nObject.defineProperty(exports, \"measureTextWidth\", { enumerable: true, get: function () { return measure_text_width_1.default; } });\nvar get_ellipsis_text_1 = require(\"./get-ellipsis-text\");\nObject.defineProperty(exports, \"getEllipsisText\", { enumerable: true, get: function () { return get_ellipsis_text_1.default; } });\n// 不知道为什么,需要把这个 export,不然 ts 会报类型错误\nvar cache_1 = require(\"./cache\");\nObject.defineProperty(exports, \"Cache\", { enumerable: true, get: function () { return cache_1.default; } });\n//# sourceMappingURL=index.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-arguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-arguments.js", + "name": "./node_modules/@antv/util/lib/is-arguments.js", + "index": 77, + "index2": 74, + "size": 371, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-arguments", + "loc": "131:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isArguments = function (value) {\n return is_type_1.default(value, 'Arguments');\n};\nexports.default = isArguments;\n//# sourceMappingURL=is-arguments.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-array-like.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array-like.js", + "name": "./node_modules/@antv/util/lib/is-array-like.js", + "index": 6, + "index2": 2, + "size": 450, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/contains.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/contains.js", + "module": "./node_modules/@antv/util/lib/contains.js", + "moduleName": "./node_modules/@antv/util/lib/contains.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/filter.js", + "module": "./node_modules/@antv/util/lib/filter.js", + "moduleName": "./node_modules/@antv/util/lib/filter.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/head.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/head.js", + "module": "./node_modules/@antv/util/lib/head.js", + "moduleName": "./node_modules/@antv/util/lib/head.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index-of.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index-of.js", + "module": "./node_modules/@antv/util/lib/index-of.js", + "moduleName": "./node_modules/@antv/util/lib/index-of.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "135:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/last.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/last.js", + "module": "./node_modules/@antv/util/lib/last.js", + "moduleName": "./node_modules/@antv/util/lib/last.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map.js", + "module": "./node_modules/@antv/util/lib/map.js", + "moduleName": "./node_modules/@antv/util/lib/map.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pull-at.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull-at.js", + "module": "./node_modules/@antv/util/lib/pull-at.js", + "moduleName": "./node_modules/@antv/util/lib/pull-at.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/remove.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "module": "./node_modules/@antv/util/lib/remove.js", + "moduleName": "./node_modules/@antv/util/lib/remove.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "module": "./node_modules/@antv/util/lib/size.js", + "moduleName": "./node_modules/@antv/util/lib/size.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "4:22-48" + }, + { + "moduleId": "./node_modules/@antv/util/lib/to-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-array.js", + "module": "./node_modules/@antv/util/lib/to-array.js", + "moduleName": "./node_modules/@antv/util/lib/to-array.js", + "type": "cjs require", + "userRequest": "./is-array-like", + "loc": "3:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isArrayLike = function (value) {\n /**\n * isArrayLike([1, 2, 3]) => true\n * isArrayLike(document.body.children) => true\n * isArrayLike('abc') => true\n * isArrayLike(Function) => false\n */\n return value !== null && typeof value !== 'function' && isFinite(value.length);\n};\nexports.default = isArrayLike;\n//# sourceMappingURL=is-array-like.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array.js", + "name": "./node_modules/@antv/util/lib/is-array.js", + "index": 16, + "index2": 9, + "size": 294, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/clone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/clone.js", + "module": "./node_modules/@antv/util/lib/clone.js", + "moduleName": "./node_modules/@antv/util/lib/clone.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "module": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleName": "./node_modules/@antv/util/lib/deep-mix.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "module": "./node_modules/@antv/util/lib/each.js", + "moduleName": "./node_modules/@antv/util/lib/each.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/ends-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "module": "./node_modules/@antv/util/lib/ends-with.js", + "moduleName": "./node_modules/@antv/util/lib/ends-with.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "5:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/first-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "module": "./node_modules/@antv/util/lib/first-value.js", + "moduleName": "./node_modules/@antv/util/lib/first-value.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/flatten-deep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten-deep.js", + "module": "./node_modules/@antv/util/lib/flatten-deep.js", + "moduleName": "./node_modules/@antv/util/lib/flatten-deep.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/flatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/flatten.js", + "module": "./node_modules/@antv/util/lib/flatten.js", + "moduleName": "./node_modules/@antv/util/lib/flatten.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "module": "./node_modules/@antv/util/lib/group-by.js", + "moduleName": "./node_modules/@antv/util/lib/group-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "133:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "module": "./node_modules/@antv/util/lib/max-by.js", + "moduleName": "./node_modules/@antv/util/lib/max-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max.js", + "module": "./node_modules/@antv/util/lib/max.js", + "moduleName": "./node_modules/@antv/util/lib/max.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "module": "./node_modules/@antv/util/lib/min-by.js", + "moduleName": "./node_modules/@antv/util/lib/min-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min.js", + "module": "./node_modules/@antv/util/lib/min.js", + "moduleName": "./node_modules/@antv/util/lib/min.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/parse-radius.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/parse-radius.js", + "module": "./node_modules/@antv/util/lib/parse-radius.js", + "moduleName": "./node_modules/@antv/util/lib/parse-radius.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/starts-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "module": "./node_modules/@antv/util/lib/starts-with.js", + "moduleName": "./node_modules/@antv/util/lib/starts-with.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "module": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleName": "./node_modules/@antv/util/lib/values-of-key.js", + "type": "cjs require", + "userRequest": "./is-array", + "loc": "3:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return Array.isArray ?\n Array.isArray(value) :\n is_type_1.default(value, 'Array');\n});\n//# sourceMappingURL=is-array.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-boolean.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-boolean.js", + "name": "./node_modules/@antv/util/lib/is-boolean.js", + "index": 78, + "index2": 75, + "size": 363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-boolean", + "loc": "137:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是布尔类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isBoolean = function (value) {\n return is_type_1.default(value, 'Boolean');\n};\nexports.default = isBoolean;\n//# sourceMappingURL=is-boolean.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-date.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-date.js", + "name": "./node_modules/@antv/util/lib/is-date.js", + "index": 79, + "index2": 76, + "size": 256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-date", + "loc": "139:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isDate = function (value) {\n return is_type_1.default(value, 'Date');\n};\nexports.default = isDate;\n//# sourceMappingURL=is-date.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-decimal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-decimal.js", + "name": "./node_modules/@antv/util/lib/is-decimal.js", + "index": 51, + "index2": 49, + "size": 276, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-decimal", + "loc": "72:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isDecimal = function (num) {\n return is_number_1.default(num) && num % 1 !== 0;\n};\nexports.default = isDecimal;\n//# sourceMappingURL=is-decimal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-element.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-element.js", + "name": "./node_modules/@antv/util/lib/is-element.js", + "index": 86, + "index2": 83, + "size": 312, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-element", + "loc": "169:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否HTML元素\n * @return {Boolean} 是否HTML元素\n */\nvar isElement = function (o) {\n return o instanceof Element || o instanceof HTMLDocument;\n};\nexports.default = isElement;\n//# sourceMappingURL=is-element.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-empty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "name": "./node_modules/@antv/util/lib/is-empty.js", + "index": 97, + "index2": 94, + "size": 1106, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-empty", + "loc": "192:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar get_type_1 = require(\"./get-type\");\nvar is_prototype_1 = require(\"./is-prototype\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction isEmpty(value) {\n /**\n * isEmpty(null) => true\n * isEmpty() => true\n * isEmpty(true) => true\n * isEmpty(1) => true\n * isEmpty([1, 2, 3]) => false\n * isEmpty('abc') => false\n * isEmpty({ a: 1 }) => false\n */\n if (is_nil_1.default(value)) {\n return true;\n }\n if (is_array_like_1.default(value)) {\n return !value.length;\n }\n var type = get_type_1.default(value);\n if (type === 'Map' || type === 'Set') {\n return !value.size;\n }\n if (is_prototype_1.default(value)) {\n return !Object.keys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isEmpty;\n//# sourceMappingURL=is-empty.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-equal-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "name": "./node_modules/@antv/util/lib/is-equal-with.js", + "index": 99, + "index2": 96, + "size": 986, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-equal-with", + "loc": "196:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\nvar is_equal_1 = require(\"./is-equal\");\n/**\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {Function} [fn] The function to customize comparisons.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * function isGreeting(value) {\n * return /^h(?:i|ello)$/.test(value);\n * }\n *\n * function customizer(objValue, othValue) {\n * if (isGreeting(objValue) && isGreeting(othValue)) {\n * return true;\n * }\n * }\n *\n * var array = ['hello', 'goodbye'];\n * var other = ['hi', 'goodbye'];\n *\n * isEqualWith(array, other, customizer); // => true\n */\nexports.default = (function (value, other, fn) {\n if (!is_function_1.default(fn)) {\n return is_equal_1.default(value, other);\n }\n return !!fn(value, other);\n});\n//# sourceMappingURL=is-equal-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-equal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "name": "./node_modules/@antv/util/lib/is-equal.js", + "index": 98, + "index2": 95, + "size": 1423, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-equal", + "loc": "194:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "module": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal-with.js", + "type": "cjs require", + "userRequest": "./is-equal", + "loc": "4:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_array_like_1 = require(\"./is-array-like\");\nvar is_string_1 = require(\"./is-string\");\nvar isEqual = function (value, other) {\n if (value === other) {\n return true;\n }\n if (!value || !other) {\n return false;\n }\n if (is_string_1.default(value) || is_string_1.default(other)) {\n return false;\n }\n if (is_array_like_1.default(value) || is_array_like_1.default(other)) {\n if (value.length !== other.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < value.length; i++) {\n rst = isEqual(value[i], other[i]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n if (is_object_like_1.default(value) || is_object_like_1.default(other)) {\n var valueKeys = Object.keys(value);\n var otherKeys = Object.keys(other);\n if (valueKeys.length !== otherKeys.length) {\n return false;\n }\n var rst = true;\n for (var i = 0; i < valueKeys.length; i++) {\n rst = isEqual(value[valueKeys[i]], other[valueKeys[i]]);\n if (!rst) {\n break;\n }\n }\n return rst;\n }\n return false;\n};\nexports.default = isEqual;\n//# sourceMappingURL=is-equal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-error.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-error.js", + "name": "./node_modules/@antv/util/lib/is-error.js", + "index": 80, + "index2": 77, + "size": 355, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-error", + "loc": "141:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否是参数类型\n *\n * @param {Object} value 测试的值\n * @return {Boolean}\n */\nvar is_type_1 = require(\"./is-type\");\nvar isError = function (value) {\n return is_type_1.default(value, 'Error');\n};\nexports.default = isError;\n//# sourceMappingURL=is-error.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-even.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-even.js", + "name": "./node_modules/@antv/util/lib/is-even.js", + "index": 53, + "index2": 50, + "size": 267, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-even", + "loc": "74:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isEven = function (num) {\n return is_number_1.default(num) && num % 2 === 0;\n};\nexports.default = isEven;\n//# sourceMappingURL=is-even.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-finite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-finite.js", + "name": "./node_modules/@antv/util/lib/is-finite.js", + "index": 81, + "index2": 78, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-finite", + "loc": "145:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否为有限数\n * @return {Boolean}\n */\nvar is_number_1 = require(\"./is-number\");\nfunction default_1(value) {\n return is_number_1.default(value) && isFinite(value);\n}\nexports.default = default_1;\n//# sourceMappingURL=is-finite.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-function.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-function.js", + "name": "./node_modules/@antv/util/lib/is-function.js", + "index": 10, + "index2": 7, + "size": 332, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/augment.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "module": "./node_modules/@antv/util/lib/augment.js", + "moduleName": "./node_modules/@antv/util/lib/augment.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/extend.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "module": "./node_modules/@antv/util/lib/extend.js", + "moduleName": "./node_modules/@antv/util/lib/extend.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-by.js", + "module": "./node_modules/@antv/util/lib/group-by.js", + "moduleName": "./node_modules/@antv/util/lib/group-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/group-to-map.js", + "module": "./node_modules/@antv/util/lib/group-to-map.js", + "moduleName": "./node_modules/@antv/util/lib/group-to-map.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "143:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal-with.js", + "module": "./node_modules/@antv/util/lib/is-equal-with.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal-with.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "module": "./node_modules/@antv/util/lib/keys.js", + "moduleName": "./node_modules/@antv/util/lib/keys.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/max-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "module": "./node_modules/@antv/util/lib/max-by.js", + "moduleName": "./node_modules/@antv/util/lib/max-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/memoize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/memoize.js", + "module": "./node_modules/@antv/util/lib/memoize.js", + "moduleName": "./node_modules/@antv/util/lib/memoize.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "3:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/min-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "module": "./node_modules/@antv/util/lib/min-by.js", + "moduleName": "./node_modules/@antv/util/lib/min-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "5:20-44" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "module": "./node_modules/@antv/util/lib/values.js", + "moduleName": "./node_modules/@antv/util/lib/values.js", + "type": "cjs require", + "userRequest": "./is-function", + "loc": "4:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 是否为函数\n * @param {*} fn 对象\n * @return {Boolean} 是否函数\n */\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (value) {\n return is_type_1.default(value, 'Function');\n});\n//# sourceMappingURL=is-function.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-integer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-integer.js", + "name": "./node_modules/@antv/util/lib/is-integer.js", + "index": 54, + "index2": 51, + "size": 314, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-integer", + "loc": "76:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isInteger = Number.isInteger ? Number.isInteger : function (num) {\n return is_number_1.default(num) && num % 1 === 0;\n};\nexports.default = isInteger;\n//# sourceMappingURL=is-integer.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-match.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "name": "./node_modules/@antv/util/lib/is-match.js", + "index": 12, + "index2": 13, + "size": 551, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-match", + "loc": "4:17-38" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-match", + "loc": "113:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar keys_1 = require(\"./keys\");\nfunction isMatch(obj, attrs) {\n var _keys = keys_1.default(attrs);\n var length = _keys.length;\n if (is_nil_1.default(obj))\n return !length;\n for (var i = 0; i < length; i += 1) {\n var key = _keys[i];\n if (attrs[key] !== obj[key] || !(key in obj)) {\n return false;\n }\n }\n return true;\n}\nexports.default = isMatch;\n//# sourceMappingURL=is-match.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-negative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-negative.js", + "name": "./node_modules/@antv/util/lib/is-negative.js", + "index": 55, + "index2": 52, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-negative", + "loc": "78:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isNegative = function (num) {\n return is_number_1.default(num) && num < 0;\n};\nexports.default = isNegative;\n//# sourceMappingURL=is-negative.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-nil.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-nil.js", + "name": "./node_modules/@antv/util/lib/is-nil.js", + "index": 13, + "index2": 8, + "size": 299, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/first-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/first-value.js", + "module": "./node_modules/@antv/util/lib/first-value.js", + "moduleName": "./node_modules/@antv/util/lib/first-value.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "147:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-match.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "module": "./node_modules/@antv/util/lib/is-match.js", + "moduleName": "./node_modules/@antv/util/lib/is-match.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map-values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "module": "./node_modules/@antv/util/lib/map-values.js", + "moduleName": "./node_modules/@antv/util/lib/map-values.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "module": "./node_modules/@antv/util/lib/size.js", + "moduleName": "./node_modules/@antv/util/lib/size.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/to-string.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-string.js", + "module": "./node_modules/@antv/util/lib/to-string.js", + "moduleName": "./node_modules/@antv/util/lib/to-string.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "3:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "module": "./node_modules/@antv/util/lib/values-of-key.js", + "moduleName": "./node_modules/@antv/util/lib/values-of-key.js", + "type": "cjs require", + "userRequest": "./is-nil", + "loc": "4:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// isFinite,\nvar isNil = function (value) {\n /**\n * isNil(null) => true\n * isNil() => true\n */\n return value === null || value === undefined;\n};\nexports.default = isNil;\n//# sourceMappingURL=is-nil.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-null.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-null.js", + "name": "./node_modules/@antv/util/lib/is-null.js", + "index": 82, + "index2": 79, + "size": 200, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-null", + "loc": "149:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isNull = function (value) {\n return value === null;\n};\nexports.default = isNull;\n//# sourceMappingURL=is-null.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-number-equal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number-equal.js", + "name": "./node_modules/@antv/util/lib/is-number-equal.js", + "index": 56, + "index2": 53, + "size": 368, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-number-equal", + "loc": "80:24-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar PRECISION = 0.00001; // numbers less than this is considered as 0\nfunction isNumberEqual(a, b, precision) {\n if (precision === void 0) { precision = PRECISION; }\n return Math.abs((a - b)) < precision;\n}\nexports.default = isNumberEqual;\n;\n//# sourceMappingURL=is-number-equal.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-number.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number.js", + "name": "./node_modules/@antv/util/lib/is-number.js", + "index": 52, + "index2": 48, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "151:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-decimal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-decimal.js", + "module": "./node_modules/@antv/util/lib/is-decimal.js", + "moduleName": "./node_modules/@antv/util/lib/is-decimal.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-even.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-even.js", + "module": "./node_modules/@antv/util/lib/is-even.js", + "moduleName": "./node_modules/@antv/util/lib/is-even.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-finite.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-finite.js", + "module": "./node_modules/@antv/util/lib/is-finite.js", + "moduleName": "./node_modules/@antv/util/lib/is-finite.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "7:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-integer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-integer.js", + "module": "./node_modules/@antv/util/lib/is-integer.js", + "moduleName": "./node_modules/@antv/util/lib/is-integer.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-negative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-negative.js", + "module": "./node_modules/@antv/util/lib/is-negative.js", + "moduleName": "./node_modules/@antv/util/lib/is-negative.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-odd.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-odd.js", + "module": "./node_modules/@antv/util/lib/is-odd.js", + "moduleName": "./node_modules/@antv/util/lib/is-odd.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-positive.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-positive.js", + "module": "./node_modules/@antv/util/lib/is-positive.js", + "moduleName": "./node_modules/@antv/util/lib/is-positive.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-number", + "loc": "5:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 判断是否数字\n * @return {Boolean} 是否数字\n */\nvar is_type_1 = require(\"./is-type\");\nvar isNumber = function (value) {\n return is_type_1.default(value, 'Number');\n};\nexports.default = isNumber;\n//# sourceMappingURL=is-number.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-object-like.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-object-like.js", + "name": "./node_modules/@antv/util/lib/is-object-like.js", + "index": 19, + "index2": 14, + "size": 409, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "155:23-50" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "3:23-50" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "module": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleName": "./node_modules/@antv/util/lib/is-plain-object.js", + "type": "cjs require", + "userRequest": "./is-object-like", + "loc": "3:23-50" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isObjectLike = function (value) {\n /**\n * isObjectLike({}) => true\n * isObjectLike([1, 2, 3]) => true\n * isObjectLike(Function) => false\n * isObjectLike(null) => false\n */\n return typeof value === 'object' && value !== null;\n};\nexports.default = isObjectLike;\n//# sourceMappingURL=is-object-like.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-object.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-object.js", + "name": "./node_modules/@antv/util/lib/is-object.js", + "index": 17, + "index2": 10, + "size": 400, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/each.js", + "module": "./node_modules/@antv/util/lib/each.js", + "moduleName": "./node_modules/@antv/util/lib/each.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "153:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/map-values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "module": "./node_modules/@antv/util/lib/map-values.js", + "moduleName": "./node_modules/@antv/util/lib/map-values.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-object", + "loc": "3:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (value) {\n /**\n * isObject({}) => true\n * isObject([1, 2, 3]) => true\n * isObject(Function) => true\n * isObject(null) => false\n */\n var type = typeof value;\n return value !== null && type === 'object' || type === 'function';\n});\n//# sourceMappingURL=is-object.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-odd.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-odd.js", + "name": "./node_modules/@antv/util/lib/is-odd.js", + "index": 57, + "index2": 54, + "size": 264, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-odd", + "loc": "82:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isOdd = function (num) {\n return is_number_1.default(num) && num % 2 !== 0;\n};\nexports.default = isOdd;\n//# sourceMappingURL=is-odd.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-plain-object.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "name": "./node_modules/@antv/util/lib/is-plain-object.js", + "index": 18, + "index2": 15, + "size": 837, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/deep-mix.js", + "module": "./node_modules/@antv/util/lib/deep-mix.js", + "moduleName": "./node_modules/@antv/util/lib/deep-mix.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "4:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/find.js", + "module": "./node_modules/@antv/util/lib/find.js", + "moduleName": "./node_modules/@antv/util/lib/find.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "6:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "157:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "module": "./node_modules/@antv/util/lib/pick.js", + "moduleName": "./node_modules/@antv/util/lib/pick.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "4:24-52" + }, + { + "moduleId": "./node_modules/@antv/util/lib/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "module": "./node_modules/@antv/util/lib/reduce.js", + "moduleName": "./node_modules/@antv/util/lib/reduce.js", + "type": "cjs require", + "userRequest": "./is-plain-object", + "loc": "5:24-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_like_1 = require(\"./is-object-like\");\nvar is_type_1 = require(\"./is-type\");\nvar isPlainObject = function (value) {\n /**\n * isObjectLike(new Foo) => false\n * isObjectLike([1, 2, 3]) => false\n * isObjectLike({ x: 0, y: 0 }) => true\n * isObjectLike(Object.create(null)) => true\n */\n if (!is_object_like_1.default(value) || !is_type_1.default(value, 'Object')) {\n return false;\n }\n if (Object.getPrototypeOf(value) === null) {\n return true;\n }\n var proto = value;\n while (Object.getPrototypeOf(proto) !== null) {\n proto = Object.getPrototypeOf(proto);\n }\n return Object.getPrototypeOf(value) === proto;\n};\nexports.default = isPlainObject;\n//# sourceMappingURL=is-plain-object.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-positive.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-positive.js", + "name": "./node_modules/@antv/util/lib/is-positive.js", + "index": 58, + "index2": 55, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-positive", + "loc": "84:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_number_1 = require(\"./is-number\");\nvar isPositive = function (num) {\n return is_number_1.default(num) && num > 0;\n};\nexports.default = isPositive;\n//# sourceMappingURL=is-positive.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-prototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-prototype.js", + "name": "./node_modules/@antv/util/lib/is-prototype.js", + "index": 83, + "index2": 80, + "size": 374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-prototype", + "loc": "159:21-46" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-empty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-empty.js", + "module": "./node_modules/@antv/util/lib/is-empty.js", + "moduleName": "./node_modules/@antv/util/lib/is-empty.js", + "type": "cjs require", + "userRequest": "./is-prototype", + "loc": "6:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar objectProto = Object.prototype;\nvar isPrototype = function (value) {\n var Ctor = value && value.constructor;\n var proto = (typeof Ctor === 'function' && Ctor.prototype) || objectProto;\n return value === proto;\n};\nexports.default = isPrototype;\n//# sourceMappingURL=is-prototype.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-reg-exp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-reg-exp.js", + "name": "./node_modules/@antv/util/lib/is-reg-exp.js", + "index": 84, + "index2": 81, + "size": 261, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-reg-exp", + "loc": "161:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nvar isRegExp = function (str) {\n return is_type_1.default(str, 'RegExp');\n};\nexports.default = isRegExp;\n//# sourceMappingURL=is-reg-exp.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-string.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-string.js", + "name": "./node_modules/@antv/util/lib/is-string.js", + "index": 32, + "index2": 28, + "size": 237, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/ends-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/ends-with.js", + "module": "./node_modules/@antv/util/lib/ends-with.js", + "moduleName": "./node_modules/@antv/util/lib/ends-with.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/get.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get.js", + "module": "./node_modules/@antv/util/lib/get.js", + "moduleName": "./node_modules/@antv/util/lib/get.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "163:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-equal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-equal.js", + "module": "./node_modules/@antv/util/lib/is-equal.js", + "moduleName": "./node_modules/@antv/util/lib/is-equal.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "5:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "6:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "module": "./node_modules/@antv/util/lib/set.js", + "moduleName": "./node_modules/@antv/util/lib/set.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/sort-by.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "module": "./node_modules/@antv/util/lib/sort-by.js", + "moduleName": "./node_modules/@antv/util/lib/sort-by.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/starts-with.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "module": "./node_modules/@antv/util/lib/starts-with.js", + "moduleName": "./node_modules/@antv/util/lib/starts-with.js", + "type": "cjs require", + "userRequest": "./is-string", + "loc": "4:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_type_1 = require(\"./is-type\");\nexports.default = (function (str) {\n return is_type_1.default(str, 'String');\n});\n//# sourceMappingURL=is-string.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-type.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-type.js", + "name": "./node_modules/@antv/util/lib/is-type.js", + "index": 11, + "index2": 6, + "size": 264, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "165:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-arguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-arguments.js", + "module": "./node_modules/@antv/util/lib/is-arguments.js", + "moduleName": "./node_modules/@antv/util/lib/is-arguments.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-array.js", + "module": "./node_modules/@antv/util/lib/is-array.js", + "moduleName": "./node_modules/@antv/util/lib/is-array.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-boolean.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-boolean.js", + "module": "./node_modules/@antv/util/lib/is-boolean.js", + "moduleName": "./node_modules/@antv/util/lib/is-boolean.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-date.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-date.js", + "module": "./node_modules/@antv/util/lib/is-date.js", + "moduleName": "./node_modules/@antv/util/lib/is-date.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-error.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-error.js", + "module": "./node_modules/@antv/util/lib/is-error.js", + "moduleName": "./node_modules/@antv/util/lib/is-error.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "9:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-function.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-function.js", + "module": "./node_modules/@antv/util/lib/is-function.js", + "moduleName": "./node_modules/@antv/util/lib/is-function.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "8:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-number.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-number.js", + "module": "./node_modules/@antv/util/lib/is-number.js", + "moduleName": "./node_modules/@antv/util/lib/is-number.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "7:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-plain-object.js", + "module": "./node_modules/@antv/util/lib/is-plain-object.js", + "moduleName": "./node_modules/@antv/util/lib/is-plain-object.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "4:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-reg-exp.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-reg-exp.js", + "module": "./node_modules/@antv/util/lib/is-reg-exp.js", + "moduleName": "./node_modules/@antv/util/lib/is-reg-exp.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-string.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-string.js", + "module": "./node_modules/@antv/util/lib/is-string.js", + "moduleName": "./node_modules/@antv/util/lib/is-string.js", + "type": "cjs require", + "userRequest": "./is-type", + "loc": "3:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar toString = {}.toString;\nvar isType = function (value, type) { return toString.call(value) === '[object ' + type + ']'; };\nexports.default = isType;\n//# sourceMappingURL=is-type.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/is-undefined.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-undefined.js", + "name": "./node_modules/@antv/util/lib/is-undefined.js", + "index": 85, + "index2": 82, + "size": 220, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./is-undefined", + "loc": "167:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar isUndefined = function (value) {\n return value === undefined;\n};\nexports.default = isUndefined;\n//# sourceMappingURL=is-undefined.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/keys.js", + "name": "./node_modules/@antv/util/lib/keys.js", + "index": 14, + "index2": 12, + "size": 506, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "111:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/is-match.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/is-match.js", + "module": "./node_modules/@antv/util/lib/is-match.js", + "moduleName": "./node_modules/@antv/util/lib/is-match.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "4:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\nvar keys = Object.keys ? function (obj) { return Object.keys(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(key);\n }\n });\n return result;\n};\nexports.default = keys;\n//# sourceMappingURL=keys.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/last.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/last.js", + "name": "./node_modules/@antv/util/lib/last.js", + "index": 37, + "index2": 34, + "size": 327, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./last", + "loc": "39:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction last(o) {\n if (is_array_like_1.default(o)) {\n var arr = o;\n return arr[arr.length - 1];\n }\n return undefined;\n}\nexports.default = last;\n//# sourceMappingURL=last.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/lower-case.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-case.js", + "name": "./node_modules/@antv/util/lib/lower-case.js", + "index": 70, + "index2": 68, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./lower-case", + "loc": "118:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerCase = function (str) {\n return to_string_1.default(str).toLowerCase();\n};\nexports.default = lowerCase;\n//# sourceMappingURL=lower-case.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/lower-first.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-first.js", + "name": "./node_modules/@antv/util/lib/lower-first.js", + "index": 72, + "index2": 69, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./lower-first", + "loc": "120:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar lowerFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toLowerCase() + str.substring(1);\n};\nexports.default = lowerFirst;\n//# sourceMappingURL=lower-first.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/map-values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map-values.js", + "name": "./node_modules/@antv/util/lib/map-values.js", + "index": 101, + "index2": 98, + "size": 571, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./map-values", + "loc": "200:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_object_1 = require(\"./is-object\");\nvar identity = function (v) { return v; };\nexports.default = (function (object, func) {\n if (func === void 0) { func = identity; }\n var r = {};\n if (is_object_1.default(object) && !is_nil_1.default(object)) {\n Object.keys(object).forEach(function (key) {\n // @ts-ignore\n r[key] = func(object[key], key);\n });\n }\n return r;\n});\n//# sourceMappingURL=map-values.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/map.js", + "name": "./node_modules/@antv/util/lib/map.js", + "index": 100, + "index2": 97, + "size": 480, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./map", + "loc": "198:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar map = function (arr, func) {\n if (!is_array_like_1.default(arr)) {\n // @ts-ignore\n return arr;\n }\n var result = [];\n for (var index = 0; index < arr.length; index++) {\n var value = arr[index];\n result.push(func(value, index));\n }\n return result;\n};\nexports.default = map;\n//# sourceMappingURL=map.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/max-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max-by.js", + "name": "./node_modules/@antv/util/lib/max-by.js", + "index": 59, + "index2": 56, + "size": 929, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./max-by", + "loc": "88:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the maximum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * maxBy(objects, function(o) { return o.n; });\n * // => { 'n': 2 }\n *\n * maxBy(objects, 'n');\n * // => { 'n': 2 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var maxItem;\n var max = -Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = is_function_1.default(fn) ? fn(item) : item[fn];\n if (v > max) {\n maxItem = item;\n max = v;\n }\n }\n return maxItem;\n});\n//# sourceMappingURL=max-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/max.js", + "name": "./node_modules/@antv/util/lib/max.js", + "index": 25, + "index2": 21, + "size": 711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./max", + "loc": "4:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./max", + "loc": "86:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the maximum value.\n * @example\n *\n * max([1, 2]);\n * // => 2\n *\n * max([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * max(data);\n * // => 1250010\n * // Math.max(...data) will encounter \"Maximum call stack size exceeded\" error\n */\nexports.default = (function (arr) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.max(prev, curr);\n }, arr[0]);\n});\n//# sourceMappingURL=max.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/measure-text-width.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "name": "./node_modules/@antv/util/lib/measure-text-width.js", + "index": 112, + "index2": 109, + "size": 966, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./measure-text-width", + "loc": "5:27-58" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./measure-text-width", + "loc": "228:27-58" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar values_1 = require(\"./values\");\nvar memoize_1 = require(\"./memoize\");\nvar is_string_1 = require(\"./is-string\");\nvar ctx;\n/**\n * 计算文本的宽度\n */\nexports.default = memoize_1.default(function (text, font) {\n if (font === void 0) { font = {}; }\n var fontSize = font.fontSize, fontFamily = font.fontFamily, fontWeight = font.fontWeight, fontStyle = font.fontStyle, fontVariant = font.fontVariant;\n if (!ctx) {\n ctx = document.createElement('canvas').getContext('2d');\n }\n ctx.font = [fontStyle, fontVariant, fontWeight, fontSize + \"px\", fontFamily].join(' ');\n return ctx.measureText(is_string_1.default(text) ? text : '').width;\n}, function (text, font) {\n if (font === void 0) { font = {}; }\n return tslib_1.__spreadArrays([text], values_1.default(font)).join('');\n});\n//# sourceMappingURL=measure-text-width.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/memoize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/memoize.js", + "name": "./node_modules/@antv/util/lib/memoize.js", + "index": 93, + "index2": 90, + "size": 1030, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "182:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "5:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_function_1 = require(\"./is-function\");\n/**\n * _.memoize(calColor);\n * _.memoize(calColor, (...args) => args[0]);\n * @param f\n * @param resolver\n */\nexports.default = (function (f, resolver) {\n if (!is_function_1.default(f)) {\n throw new TypeError('Expected a function');\n }\n var memoized = function () {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n // 使用方法构造 key,如果不存在 resolver,则直接取第一个参数作为 key\n var key = resolver ? resolver.apply(this, args) : args[0];\n var cache = memoized.cache;\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = f.apply(this, args);\n // 缓存起来\n cache.set(key, result);\n return result;\n };\n memoized.cache = new Map();\n return memoized;\n});\n//# sourceMappingURL=memoize.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/min-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min-by.js", + "name": "./node_modules/@antv/util/lib/min-by.js", + "index": 60, + "index2": 57, + "size": 928, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./min-by", + "loc": "92:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_function_1 = require(\"./is-function\");\n/**\n * @param {Array} arr The array to iterate over.\n * @param {Function} [fn] The iteratee invoked per element.\n * @return {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nexports.default = (function (arr, fn) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n var minItem;\n var min = Infinity;\n for (var i = 0; i < arr.length; i++) {\n var item = arr[i];\n var v = is_function_1.default(fn) ? fn(item) : item[fn];\n if (v < min) {\n minItem = item;\n min = v;\n }\n }\n return minItem;\n});\n//# sourceMappingURL=min-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/min.js", + "name": "./node_modules/@antv/util/lib/min.js", + "index": 26, + "index2": 22, + "size": 711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-range.js", + "module": "./node_modules/@antv/util/lib/get-range.js", + "moduleName": "./node_modules/@antv/util/lib/get-range.js", + "type": "cjs require", + "userRequest": "./min", + "loc": "5:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./min", + "loc": "90:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\n/**\n * @param {Array} arr The array to iterate over.\n * @return {*} Returns the minimum value.\n * @example\n *\n * min([1, 2]);\n * // => 1\n *\n * min([]);\n * // => undefined\n *\n * const data = new Array(1250010).fill(1).map((d,idx) => idx);\n *\n * min(data);\n * // => 1250010\n * // Math.min(...data) will encounter \"Maximum call stack size exceeded\" error\n */\nexports.default = (function (arr) {\n if (!is_array_1.default(arr)) {\n return undefined;\n }\n return arr.reduce(function (prev, curr) {\n return Math.min(prev, curr);\n }, arr[0]);\n});\n//# sourceMappingURL=min.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/mix.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/mix.js", + "name": "./node_modules/@antv/util/lib/mix.js", + "index": 90, + "index2": 86, + "size": 565, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/augment.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/augment.js", + "module": "./node_modules/@antv/util/lib/augment.js", + "moduleName": "./node_modules/@antv/util/lib/augment.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/extend.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/extend.js", + "module": "./node_modules/@antv/util/lib/extend.js", + "moduleName": "./node_modules/@antv/util/lib/extend.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "3:12-28" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./mix", + "loc": "202:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n// FIXME: Mutable param should be forbidden in static lang.\nfunction _mix(dist, obj) {\n for (var key in obj) {\n if (obj.hasOwnProperty(key) && key !== 'constructor' && obj[key] !== undefined) {\n dist[key] = obj[key];\n }\n }\n}\nfunction mix(dist, src1, src2, src3) {\n if (src1)\n _mix(dist, src1);\n if (src2)\n _mix(dist, src2);\n if (src3)\n _mix(dist, src3);\n return dist;\n}\nexports.default = mix;\n//# sourceMappingURL=mix.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/mod.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/mod.js", + "name": "./node_modules/@antv/util/lib/mod.js", + "index": 61, + "index2": 58, + "size": 192, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./mod", + "loc": "94:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar mod = function (n, m) {\n return ((n % m) + m) % m;\n};\nexports.default = mod;\n//# sourceMappingURL=mod.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/noop.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/noop.js", + "name": "./node_modules/@antv/util/lib/noop.js", + "index": 109, + "index2": 106, + "size": 146, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./noop", + "loc": "221:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function () { });\n//# sourceMappingURL=noop.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/number2color.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/number2color.js", + "name": "./node_modules/@antv/util/lib/number2color.js", + "index": 47, + "index2": 44, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./number2color", + "loc": "63:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar numColorCache = {};\nfunction numberToColor(num) {\n // 增加缓存\n var color = numColorCache[num];\n if (!color) {\n var str = num.toString(16);\n for (var i = str.length; i < 6; i++) {\n str = '0' + str;\n }\n color = '#' + str;\n numColorCache[num] = color;\n }\n return color;\n}\nexports.default = numberToColor;\n//# sourceMappingURL=number2color.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/omit.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/omit.js", + "name": "./node_modules/@antv/util/lib/omit.js", + "index": 105, + "index2": 102, + "size": 352, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./omit", + "loc": "211:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar reduce_1 = require(\"./reduce\");\nexports.default = (function (obj, keys) {\n return reduce_1.default(obj, function (r, curr, key) {\n if (!keys.includes(key)) {\n r[key] = curr;\n }\n return r;\n }, {});\n});\n//# sourceMappingURL=omit.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/parse-radius.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/parse-radius.js", + "name": "./node_modules/@antv/util/lib/parse-radius.js", + "index": 48, + "index2": 45, + "size": 921, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./parse-radius", + "loc": "65:21-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nfunction parseRadius(radius) {\n var r1 = 0, r2 = 0, r3 = 0, r4 = 0;\n if (is_array_1.default(radius)) {\n if (radius.length === 1) {\n r1 = r2 = r3 = r4 = radius[0];\n }\n else if (radius.length === 2) {\n r1 = r3 = radius[0];\n r2 = r4 = radius[1];\n }\n else if (radius.length === 3) {\n r1 = radius[0];\n r2 = r4 = radius[1];\n r3 = radius[2];\n }\n else {\n r1 = radius[0];\n r2 = radius[1];\n r3 = radius[2];\n r4 = radius[3];\n }\n }\n else {\n r1 = r2 = r3 = r4 = radius;\n }\n return {\n r1: r1,\n r2: r2,\n r3: r3,\n r4: r4\n };\n}\nexports.default = parseRadius;\n//# sourceMappingURL=parse-radius.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pick.js", + "name": "./node_modules/@antv/util/lib/pick.js", + "index": 104, + "index2": 101, + "size": 575, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pick", + "loc": "209:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nexports.default = (function (object, keys) {\n if (object === null || !is_plain_object_1.default(object)) {\n return {};\n }\n var result = {};\n each_1.default(keys, function (key) {\n if (hasOwnProperty.call(object, key)) {\n result[key] = object[key];\n }\n });\n return result;\n});\n//# sourceMappingURL=pick.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pull-at.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull-at.js", + "name": "./node_modules/@antv/util/lib/pull-at.js", + "index": 28, + "index2": 25, + "size": 655, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pull-at", + "loc": "23:16-36" + }, + { + "moduleId": "./node_modules/@antv/util/lib/remove.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "module": "./node_modules/@antv/util/lib/remove.js", + "moduleName": "./node_modules/@antv/util/lib/remove.js", + "type": "cjs require", + "userRequest": "./pull-at", + "loc": "4:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar splice = Array.prototype.splice;\nvar pullAt = function pullAt(arr, indexes) {\n if (!is_array_like_1.default(arr)) {\n return [];\n }\n var length = arr ? indexes.length : 0;\n var last = length - 1;\n while (length--) {\n var previous = void 0;\n var index = indexes[length];\n if (length === last || index !== previous) {\n previous = index;\n splice.call(arr, index, 1);\n }\n }\n return arr;\n};\nexports.default = pullAt;\n//# sourceMappingURL=pull-at.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/pull.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/pull.js", + "name": "./node_modules/@antv/util/lib/pull.js", + "index": 27, + "index2": 24, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./pull", + "loc": "21:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar arrPrototype = Array.prototype;\nvar splice = arrPrototype.splice;\nvar indexOf = arrPrototype.indexOf;\nvar pull = function (arr) {\n var values = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n values[_i - 1] = arguments[_i];\n }\n for (var i = 0; i < values.length; i++) {\n var value = values[i];\n var fromIndex = -1;\n while ((fromIndex = indexOf.call(arr, value)) > -1) {\n splice.call(arr, fromIndex, 1);\n }\n }\n return arr;\n};\nexports.default = pull;\n//# sourceMappingURL=pull.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/reduce.js", + "name": "./node_modules/@antv/util/lib/reduce.js", + "index": 29, + "index2": 26, + "size": 536, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./reduce", + "loc": "25:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/omit.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/omit.js", + "module": "./node_modules/@antv/util/lib/omit.js", + "moduleName": "./node_modules/@antv/util/lib/omit.js", + "type": "cjs require", + "userRequest": "./reduce", + "loc": "3:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_array_1 = require(\"./is-array\");\nvar is_plain_object_1 = require(\"./is-plain-object\");\nvar reduce = function (arr, fn, init) {\n if (!is_array_1.default(arr) && !is_plain_object_1.default(arr)) {\n return arr;\n }\n var result = init;\n each_1.default(arr, function (data, i) {\n result = fn(result, data, i);\n });\n return result;\n};\nexports.default = reduce;\n//# sourceMappingURL=reduce.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/remove.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/remove.js", + "name": "./node_modules/@antv/util/lib/remove.js", + "index": 30, + "index2": 27, + "size": 829, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./remove", + "loc": "27:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nvar pull_at_1 = require(\"./pull-at\");\nvar remove = function (arr, predicate) {\n /**\n * const arr = [1, 2, 3, 4]\n * const evens = remove(arr, n => n % 2 == 0)\n * console.log(arr) // => [1, 3]\n * console.log(evens) // => [2, 4]\n */\n var result = [];\n if (!is_array_like_1.default(arr)) {\n return result;\n }\n var i = -1;\n var indexes = [];\n var length = arr.length;\n while (++i < length) {\n var value = arr[i];\n if (predicate(value, i, arr)) {\n result.push(value);\n indexes.push(i);\n }\n }\n pull_at_1.default(arr, indexes);\n return result;\n};\nexports.default = remove;\n//# sourceMappingURL=remove.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/request-animation-frame.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/request-animation-frame.js", + "name": "./node_modules/@antv/util/lib/request-animation-frame.js", + "index": 87, + "index2": 84, + "size": 529, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./request-animation-frame", + "loc": "171:32-68" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction requestAnimationFrame(fn) {\n var method = window.requestAnimationFrame ||\n window.webkitRequestAnimationFrame ||\n // @ts-ignore\n window.mozRequestAnimationFrame ||\n // @ts-ignore\n window.msRequestAnimationFrame ||\n function (f) {\n return setTimeout(f, 16);\n };\n return method(fn);\n}\nexports.default = requestAnimationFrame;\n;\n//# sourceMappingURL=request-animation-frame.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/set.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/set.js", + "name": "./node_modules/@antv/util/lib/set.js", + "index": 103, + "index2": 100, + "size": 839, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./set", + "loc": "207:12-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_object_1 = require(\"./is-object\");\nvar is_string_1 = require(\"./is-string\");\nvar is_number_1 = require(\"./is-number\");\n/**\n * https://github.com/developit/dlv/blob/master/index.js\n * @param obj\n * @param path\n * @param value\n */\nexports.default = (function (obj, path, value) {\n var o = obj;\n var keyArr = is_string_1.default(path) ? path.split('.') : path;\n keyArr.forEach(function (key, idx) {\n // 不是最后一个\n if (idx < keyArr.length - 1) {\n if (!is_object_1.default(o[key])) {\n o[key] = is_number_1.default(keyArr[idx + 1]) ? [] : {};\n }\n o = o[key];\n }\n else {\n o[key] = value;\n }\n });\n return obj;\n});\n//# sourceMappingURL=set.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/size.js", + "name": "./node_modules/@antv/util/lib/size.js", + "index": 111, + "index2": 108, + "size": 398, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./size", + "loc": "225:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nvar is_array_like_1 = require(\"./is-array-like\");\nfunction size(o) {\n if (is_nil_1.default(o)) {\n return 0;\n }\n if (is_array_like_1.default(o)) {\n return o.length;\n }\n return Object.keys(o).length;\n}\nexports.default = size;\n//# sourceMappingURL=size.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/some.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/some.js", + "name": "./node_modules/@antv/util/lib/some.js", + "index": 41, + "index2": 38, + "size": 373, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./some", + "loc": "49:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 只要有一个满足条件就返回 true\n * @param arr\n * @param func\n */\nvar some = function (arr, func) {\n for (var i = 0; i < arr.length; i++) {\n if (func(arr[i], i))\n return true;\n }\n return false;\n};\nexports.default = some;\n//# sourceMappingURL=some.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/sort-by.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/sort-by.js", + "name": "./node_modules/@antv/util/lib/sort-by.js", + "index": 31, + "index2": 29, + "size": 1022, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./sort-by", + "loc": "29:16-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nvar is_function_1 = require(\"./is-function\");\nfunction sortBy(arr, key) {\n var comparer;\n if (is_function_1.default(key)) {\n comparer = function (a, b) { return key(a) - key(b); };\n }\n else {\n var keys_1 = [];\n if (is_string_1.default(key)) {\n keys_1.push(key);\n }\n else if (is_array_1.default(key)) {\n keys_1 = key;\n }\n comparer = function (a, b) {\n for (var i = 0; i < keys_1.length; i += 1) {\n var prop = keys_1[i];\n if (a[prop] > b[prop]) {\n return 1;\n }\n if (a[prop] < b[prop]) {\n return -1;\n }\n }\n return 0;\n };\n }\n arr.sort(comparer);\n return arr;\n}\nexports.default = sortBy;\n//# sourceMappingURL=sort-by.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/starts-with.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/starts-with.js", + "name": "./node_modules/@antv/util/lib/starts-with.js", + "index": 38, + "index2": 35, + "size": 349, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./starts-with", + "loc": "41:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_string_1 = require(\"./is-string\");\nfunction startsWith(arr, e) {\n return (is_array_1.default(arr) || is_string_1.default(arr)) ? arr[0] === e : false;\n}\nexports.default = startsWith;\n//# sourceMappingURL=starts-with.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/substitute.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/substitute.js", + "name": "./node_modules/@antv/util/lib/substitute.js", + "index": 73, + "index2": 70, + "size": 441, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./substitute", + "loc": "122:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction substitute(str, o) {\n if (!str || !o) {\n return str;\n }\n return str.replace(/\\\\?\\{([^{}]+)\\}/g, function (match, name) {\n if (match.charAt(0) === '\\\\') {\n return match.slice(1);\n }\n return (o[name] === undefined) ? '' : o[name];\n });\n}\nexports.default = substitute;\n//# sourceMappingURL=substitute.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/throttle.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/throttle.js", + "name": "./node_modules/@antv/util/lib/throttle.js", + "index": 106, + "index2": 103, + "size": 1363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./throttle", + "loc": "213:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (func, wait, options) {\n var timeout, context, args, result;\n var previous = 0;\n if (!options)\n options = {};\n var later = function () {\n previous = options.leading === false ? 0 : Date.now();\n timeout = null;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n };\n var throttled = function () {\n var now = Date.now();\n if (!previous && options.leading === false)\n previous = now;\n var remaining = wait - (now - previous);\n context = this;\n args = arguments;\n if (remaining <= 0 || remaining > wait) {\n if (timeout) {\n clearTimeout(timeout);\n timeout = null;\n }\n previous = now;\n result = func.apply(context, args);\n if (!timeout)\n context = args = null;\n }\n else if (!timeout && options.trailing !== false) {\n timeout = setTimeout(later, remaining);\n }\n return result;\n };\n throttled.cancel = function () {\n clearTimeout(timeout);\n previous = 0;\n timeout = context = args = null;\n };\n return throttled;\n});\n//# sourceMappingURL=throttle.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-array.js", + "name": "./node_modules/@antv/util/lib/to-array.js", + "index": 107, + "index2": 104, + "size": 289, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-array", + "loc": "215:17-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_like_1 = require(\"./is-array-like\");\nexports.default = (function (value) {\n return is_array_like_1.default(value) ? Array.prototype.slice.call(value) : [];\n});\n//# sourceMappingURL=to-array.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-degree.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-degree.js", + "name": "./node_modules/@antv/util/lib/to-degree.js", + "index": 62, + "index2": 59, + "size": 236, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-degree", + "loc": "96:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar DEGREE = 180 / Math.PI;\nvar toDegree = function (radian) {\n return DEGREE * radian;\n};\nexports.default = toDegree;\n//# sourceMappingURL=to-degree.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-integer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-integer.js", + "name": "./node_modules/@antv/util/lib/to-integer.js", + "index": 63, + "index2": 60, + "size": 143, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-integer", + "loc": "98:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = parseInt;\n//# sourceMappingURL=to-integer.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-radian.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-radian.js", + "name": "./node_modules/@antv/util/lib/to-radian.js", + "index": 64, + "index2": 61, + "size": 236, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-radian", + "loc": "100:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar RADIAN = Math.PI / 180;\nvar toRadian = function (degree) {\n return RADIAN * degree;\n};\nexports.default = toRadian;\n//# sourceMappingURL=to-radian.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/to-string.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/to-string.js", + "name": "./node_modules/@antv/util/lib/to-string.js", + "index": 71, + "index2": 67, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/get-ellipsis-text.js", + "module": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "moduleName": "./node_modules/@antv/util/lib/get-ellipsis-text.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "4:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "217:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/lower-case.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-case.js", + "module": "./node_modules/@antv/util/lib/lower-case.js", + "moduleName": "./node_modules/@antv/util/lib/lower-case.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/lower-first.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/lower-first.js", + "module": "./node_modules/@antv/util/lib/lower-first.js", + "moduleName": "./node_modules/@antv/util/lib/lower-first.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/upper-case.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-case.js", + "module": "./node_modules/@antv/util/lib/upper-case.js", + "moduleName": "./node_modules/@antv/util/lib/upper-case.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + }, + { + "moduleId": "./node_modules/@antv/util/lib/upper-first.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-first.js", + "module": "./node_modules/@antv/util/lib/upper-first.js", + "moduleName": "./node_modules/@antv/util/lib/upper-first.js", + "type": "cjs require", + "userRequest": "./to-string", + "loc": "3:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (value) {\n if (is_nil_1.default(value))\n return '';\n return value.toString();\n});\n//# sourceMappingURL=to-string.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/union.js", + "name": "./node_modules/@antv/util/lib/union.js", + "index": 33, + "index2": 31, + "size": 370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./union", + "loc": "31:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar uniq_1 = require(\"./uniq\");\nvar union = function () {\n var sources = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n sources[_i] = arguments[_i];\n }\n return uniq_1.default([].concat.apply([], sources));\n};\nexports.default = union;\n//# sourceMappingURL=union.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/uniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/uniq.js", + "name": "./node_modules/@antv/util/lib/uniq.js", + "index": 34, + "index2": 30, + "size": 542, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./uniq", + "loc": "33:13-30" + }, + { + "moduleId": "./node_modules/@antv/util/lib/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/union.js", + "module": "./node_modules/@antv/util/lib/union.js", + "moduleName": "./node_modules/@antv/util/lib/union.js", + "type": "cjs require", + "userRequest": "./uniq", + "loc": "3:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction uniq(arr, cache) {\n if (cache === void 0) { cache = new Map(); }\n var r = [];\n if (Array.isArray(arr)) {\n for (var i = 0, len = arr.length; i < len; i++) {\n var item = arr[i];\n // 加一个 cache,提升性能\n if (!cache.has(item)) {\n r.push(item);\n cache.set(item, true);\n }\n }\n }\n return r;\n}\nexports.default = uniq;\n//# sourceMappingURL=uniq.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/unique-id.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/unique-id.js", + "name": "./node_modules/@antv/util/lib/unique-id.js", + "index": 108, + "index2": 105, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./unique-id", + "loc": "219:18-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar map = {};\nexports.default = (function (prefix) {\n prefix = prefix || 'g';\n if (!map[prefix]) {\n map[prefix] = 1;\n }\n else {\n map[prefix] += 1;\n }\n return prefix + map[prefix];\n});\n//# sourceMappingURL=unique-id.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/upper-case.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-case.js", + "name": "./node_modules/@antv/util/lib/upper-case.js", + "index": 74, + "index2": 71, + "size": 273, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./upper-case", + "loc": "124:19-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperCase = function (str) {\n return to_string_1.default(str).toUpperCase();\n};\nexports.default = upperCase;\n//# sourceMappingURL=upper-case.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/upper-first.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/upper-first.js", + "name": "./node_modules/@antv/util/lib/upper-first.js", + "index": 75, + "index2": 72, + "size": 328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./upper-first", + "loc": "126:20-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar to_string_1 = require(\"./to-string\");\nvar upperFirst = function (value) {\n var str = to_string_1.default(value);\n return str.charAt(0).toUpperCase() + str.substring(1);\n};\nexports.default = upperFirst;\n//# sourceMappingURL=upper-first.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/values-of-key.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values-of-key.js", + "name": "./node_modules/@antv/util/lib/values-of-key.js", + "index": 35, + "index2": 32, + "size": 828, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./values-of-key", + "loc": "35:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar is_array_1 = require(\"./is-array\");\nvar is_nil_1 = require(\"./is-nil\");\nexports.default = (function (data, name) {\n var rst = [];\n var tmpMap = {};\n for (var i = 0; i < data.length; i++) {\n var obj = data[i];\n var value = obj[name];\n if (!is_nil_1.default(value)) {\n // flatten\n if (!is_array_1.default(value)) {\n value = [value];\n }\n for (var j = 0; j < value.length; j++) {\n var val = value[j];\n // unique\n if (!tmpMap[val]) {\n rst.push(val);\n tmpMap[val] = true;\n }\n }\n }\n }\n return rst;\n});\n//# sourceMappingURL=values-of-key.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/values.js", + "name": "./node_modules/@antv/util/lib/values.js", + "index": 69, + "index2": 65, + "size": 532, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/has-value.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/has-value.js", + "module": "./node_modules/@antv/util/lib/has-value.js", + "moduleName": "./node_modules/@antv/util/lib/has-value.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "4:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "115:15-34" + }, + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "./values", + "loc": "4:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar each_1 = require(\"./each\");\nvar is_function_1 = require(\"./is-function\");\n// @ts-ignore\nvar values = Object.values ? function (obj) { return Object.values(obj); } : function (obj) {\n var result = [];\n each_1.default(obj, function (value, key) {\n if (!(is_function_1.default(obj) && key === 'prototype')) {\n result.push(value);\n }\n });\n return result;\n};\nexports.default = values;\n//# sourceMappingURL=values.js.map" + }, + { + "id": "./node_modules/@antv/util/lib/wrap-behavior.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/wrap-behavior.js", + "name": "./node_modules/@antv/util/lib/wrap-behavior.js", + "index": 46, + "index2": 43, + "size": 611, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "issuerId": "./node_modules/@antv/util/lib/index.js", + "issuerName": "./node_modules/@antv/util/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/@antv/util/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "name": "./node_modules/@antv/util/lib/index.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1821, + "building": 171, + "dependencies": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/index.js", + "module": "./node_modules/@antv/util/lib/index.js", + "moduleName": "./node_modules/@antv/util/lib/index.js", + "type": "cjs require", + "userRequest": "./wrap-behavior", + "loc": "60:22-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/**\n * 封装事件,便于使用上下文this,和便于解除事件时使用\n * @protected\n * @param {Object} obj 对象\n * @param {String} action 事件名称\n * @return {Function} 返回事件处理函数\n */\nfunction wrapBehavior(obj, action) {\n if (obj['_wrap_' + action]) {\n return obj['_wrap_' + action];\n }\n var method = function (e) {\n obj[action](e);\n };\n obj['_wrap_' + action] = method;\n return method;\n}\nexports.default = wrapBehavior;\n//# sourceMappingURL=wrap-behavior.js.map" + }, + { + "id": "./node_modules/abs-svg-path/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/abs-svg-path/index.js", + "name": "./node_modules/abs-svg-path/index.js", + "index": 142, + "index2": 139, + "size": 991, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "abs-svg-path", + "loc": "3:10-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\nmodule.exports = absolutize\n\n/**\n * redefine `path` with absolute coordinates\n *\n * @param {Array} path\n * @return {Array}\n */\n\nfunction absolutize(path){\n\tvar startX = 0\n\tvar startY = 0\n\tvar x = 0\n\tvar y = 0\n\n\treturn path.map(function(seg){\n\t\tseg = seg.slice()\n\t\tvar type = seg[0]\n\t\tvar command = type.toUpperCase()\n\n\t\t// is relative\n\t\tif (type != command) {\n\t\t\tseg[0] = command\n\t\t\tswitch (type) {\n\t\t\t\tcase 'a':\n\t\t\t\t\tseg[6] += x\n\t\t\t\t\tseg[7] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'v':\n\t\t\t\t\tseg[1] += y\n\t\t\t\t\tbreak\n\t\t\t\tcase 'h':\n\t\t\t\t\tseg[1] += x\n\t\t\t\t\tbreak\n\t\t\t\tdefault:\n\t\t\t\t\tfor (var i = 1; i < seg.length;) {\n\t\t\t\t\t\tseg[i++] += x\n\t\t\t\t\t\tseg[i++] += y\n\t\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// update cursor state\n\t\tswitch (command) {\n\t\t\tcase 'Z':\n\t\t\t\tx = startX\n\t\t\t\ty = startY\n\t\t\t\tbreak\n\t\t\tcase 'H':\n\t\t\t\tx = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'V':\n\t\t\t\ty = seg[1]\n\t\t\t\tbreak\n\t\t\tcase 'M':\n\t\t\t\tx = startX = seg[1]\n\t\t\t\ty = startY = seg[2]\n\t\t\t\tbreak\n\t\t\tdefault:\n\t\t\t\tx = seg[seg.length - 2]\n\t\t\t\ty = seg[seg.length - 1]\n\t\t}\n\n\t\treturn seg\n\t})\n}\n" + }, + { + "id": "./node_modules/d3-array/dist/d3-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-array/dist/d3-array.js", + "name": "./node_modules/d3-array/dist/d3-array.js", + "index": 116, + "index2": 113, + "size": 17147, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "issuerId": "./node_modules/d3-geo/build/d3-geo.js", + "issuerName": "./node_modules/d3-geo/build/d3-geo.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-geo/build/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "name": "./node_modules/d3-geo/build/d3-geo.js", + "profile": { + "factory": 605, + "building": 454 + } + } + ], + "profile": { + "factory": 1550, + "building": 152 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "module": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleName": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:103-122" + }, + { + "moduleId": "./node_modules/d3-geo/build/d3-geo.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "module": "./node_modules/d3-geo/build/d3-geo.js", + "moduleName": "./node_modules/d3-geo/build/d3-geo.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:84-103" + }, + { + "moduleId": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hexjson/build/d3-hexjson.js", + "module": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "moduleName": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "2:84-103" + }, + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "4:84-103" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-array/ v1.2.4 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n function ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n }\n function bisector(compare) {\n if (compare.length === 1)\n compare = ascendingComparator(compare);\n return {\n left: function (a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) < 0)\n lo = mid + 1;\n else\n hi = mid;\n }\n return lo;\n },\n right: function (a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (compare(a[mid], x) > 0)\n hi = mid;\n else\n lo = mid + 1;\n }\n return lo;\n }\n };\n }\n function ascendingComparator(f) {\n return function (d, x) {\n return ascending(f(d), x);\n };\n }\n var ascendingBisect = bisector(ascending);\n var bisectRight = ascendingBisect.right;\n var bisectLeft = ascendingBisect.left;\n function pairs(array, f) {\n if (f == null)\n f = pair;\n var i = 0, n = array.length - 1, p = array[0], pairs = new Array(n < 0 ? 0 : n);\n while (i < n)\n pairs[i] = f(p, p = array[++i]);\n return pairs;\n }\n function pair(a, b) {\n return [a, b];\n }\n function cross(values0, values1, reduce) {\n var n0 = values0.length, n1 = values1.length, values = new Array(n0 * n1), i0, i1, i, value0;\n if (reduce == null)\n reduce = pair;\n for (i0 = i = 0; i0 < n0; ++i0) {\n for (value0 = values0[i0], i1 = 0; i1 < n1; ++i1, ++i) {\n values[i] = reduce(value0, values1[i1]);\n }\n }\n return values;\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function number(x) {\n return x === null ? NaN : +x;\n }\n function variance(values, valueof) {\n var n = values.length, m = 0, i = -1, mean = 0, value, delta, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n delta = value - mean;\n mean += delta / ++m;\n sum += delta * (value - mean);\n }\n }\n }\n if (m > 1)\n return sum / (m - 1);\n }\n function deviation(array, f) {\n var v = variance(array, f);\n return v ? Math.sqrt(v) : v;\n }\n function extent(values, valueof) {\n var n = values.length, i = -1, value, min, max;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null) {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null) {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n }\n return [min, max];\n }\n var array = Array.prototype;\n var slice = array.slice;\n var map = array.map;\n function constant(x) {\n return function () {\n return x;\n };\n }\n function identity(x) {\n return x;\n }\n function range(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n var i = -1, n = Math.max(0, Math.ceil((stop - start) / step)) | 0, range = new Array(n);\n while (++i < n) {\n range[i] = start + i * step;\n }\n return range;\n }\n var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);\n function ticks(start, stop, count) {\n var reverse, i = -1, n, ticks, step;\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0)\n return [start];\n if (reverse = stop < start)\n n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step))\n return [];\n if (step > 0) {\n start = Math.ceil(start / step);\n stop = Math.floor(stop / step);\n ticks = new Array(n = Math.ceil(stop - start + 1));\n while (++i < n)\n ticks[i] = (start + i) * step;\n }\n else {\n start = Math.floor(start * step);\n stop = Math.ceil(stop * step);\n ticks = new Array(n = Math.ceil(start - stop + 1));\n while (++i < n)\n ticks[i] = (start - i) / step;\n }\n if (reverse)\n ticks.reverse();\n return ticks;\n }\n function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n }\n function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1;\n if (error >= e10)\n step1 *= 10;\n else if (error >= e5)\n step1 *= 5;\n else if (error >= e2)\n step1 *= 2;\n return stop < start ? -step1 : step1;\n }\n function sturges(values) {\n return Math.ceil(Math.log(values.length) / Math.LN2) + 1;\n }\n function histogram() {\n var value = identity, domain = extent, threshold = sturges;\n function histogram(data) {\n var i, n = data.length, x, values = new Array(n);\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1);\n // Convert number of thresholds into uniform thresholds.\n if (!Array.isArray(tz)) {\n tz = tickStep(x0, x1, tz);\n tz = range(Math.ceil(x0 / tz) * tz, x1, tz); // exclusive\n }\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0)\n tz.shift(), --m;\n while (tz[m - 1] > x1)\n tz.pop(), --m;\n var bins = new Array(m + 1), bin;\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisectRight(tz, x, 0, m)].push(data[i]);\n }\n }\n return bins;\n }\n histogram.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n histogram.domain = function (_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n histogram.thresholds = function (_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n return histogram;\n }\n function quantile(values, p, valueof) {\n if (valueof == null)\n valueof = number;\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return +valueof(values[0], 0, values);\n if (p >= 1)\n return +valueof(values[n - 1], n - 1, values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values), value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n }\n function freedmanDiaconis(values, min, max) {\n values = map.call(values, number).sort(ascending);\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(values.length, -1 / 3)));\n }\n function scott(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(values.length, -1 / 3)));\n }\n function max(values, valueof) {\n var n = values.length, i = -1, value, max;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n max = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && value > max) {\n max = value;\n }\n }\n }\n }\n }\n return max;\n }\n function mean(values, valueof) {\n var n = values.length, m = n, i = -1, value, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i])))\n sum += value;\n else\n --m;\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values))))\n sum += value;\n else\n --m;\n }\n }\n if (m)\n return sum / m;\n }\n function median(values, valueof) {\n var n = values.length, i = -1, value, numbers = [];\n if (valueof == null) {\n while (++i < n) {\n if (!isNaN(value = number(values[i]))) {\n numbers.push(value);\n }\n }\n }\n else {\n while (++i < n) {\n if (!isNaN(value = number(valueof(values[i], i, values)))) {\n numbers.push(value);\n }\n }\n }\n return quantile(numbers.sort(ascending), 0.5);\n }\n function merge(arrays) {\n var n = arrays.length, m, i = -1, j = 0, merged, array;\n while (++i < n)\n j += arrays[i].length;\n merged = new Array(j);\n while (--n >= 0) {\n array = arrays[n];\n m = array.length;\n while (--m >= 0) {\n merged[--j] = array[m];\n }\n }\n return merged;\n }\n function min(values, valueof) {\n var n = values.length, i = -1, value, min;\n if (valueof == null) {\n while (++i < n) { // Find the first comparable value.\n if ((value = values[i]) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = values[i]) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n else {\n while (++i < n) { // Find the first comparable value.\n if ((value = valueof(values[i], i, values)) != null && value >= value) {\n min = value;\n while (++i < n) { // Compare the remaining values.\n if ((value = valueof(values[i], i, values)) != null && min > value) {\n min = value;\n }\n }\n }\n }\n }\n return min;\n }\n function permute(array, indexes) {\n var i = indexes.length, permutes = new Array(i);\n while (i--)\n permutes[i] = array[indexes[i]];\n return permutes;\n }\n function scan(values, compare) {\n if (!(n = values.length))\n return;\n var n, i = 0, j = 0, xi, xj = values[j];\n if (compare == null)\n compare = ascending;\n while (++i < n) {\n if (compare(xi = values[i], xj) < 0 || compare(xj, xj) !== 0) {\n xj = xi, j = i;\n }\n }\n if (compare(xj, xj) === 0)\n return j;\n }\n function shuffle(array, i0, i1) {\n var m = (i1 == null ? array.length : i1) - (i0 = i0 == null ? 0 : +i0), t, i;\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n return array;\n }\n function sum(values, valueof) {\n var n = values.length, i = -1, value, sum = 0;\n if (valueof == null) {\n while (++i < n) {\n if (value = +values[i])\n sum += value; // Note: zero and null are equivalent.\n }\n }\n else {\n while (++i < n) {\n if (value = +valueof(values[i], i, values))\n sum += value;\n }\n }\n return sum;\n }\n function transpose(matrix) {\n if (!(n = matrix.length))\n return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n }\n function length(d) {\n return d.length;\n }\n function zip() {\n return transpose(arguments);\n }\n exports.bisect = bisectRight;\n exports.bisectRight = bisectRight;\n exports.bisectLeft = bisectLeft;\n exports.ascending = ascending;\n exports.bisector = bisector;\n exports.cross = cross;\n exports.descending = descending;\n exports.deviation = deviation;\n exports.extent = extent;\n exports.histogram = histogram;\n exports.thresholdFreedmanDiaconis = freedmanDiaconis;\n exports.thresholdScott = scott;\n exports.thresholdSturges = sturges;\n exports.max = max;\n exports.mean = mean;\n exports.median = median;\n exports.merge = merge;\n exports.min = min;\n exports.pairs = pairs;\n exports.permute = permute;\n exports.quantile = quantile;\n exports.range = range;\n exports.scan = scan;\n exports.shuffle = shuffle;\n exports.sum = sum;\n exports.ticks = ticks;\n exports.tickIncrement = tickIncrement;\n exports.tickStep = tickStep;\n exports.transpose = transpose;\n exports.variance = variance;\n exports.zip = zip;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-collection/dist/d3-collection.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-collection/dist/d3-collection.js", + "name": "./node_modules/d3-collection/dist/d3-collection.js", + "index": 475, + "index2": 472, + "size": 7120, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "issuerId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + } + ], + "profile": { + "factory": 605, + "building": 428 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-collection", + "loc": "4:105-129" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-collection/ v1.0.7 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n var prefix = \"$\";\n function Map() { }\n Map.prototype = map.prototype = {\n constructor: Map,\n has: function (key) {\n return (prefix + key) in this;\n },\n get: function (key) {\n return this[prefix + key];\n },\n set: function (key, value) {\n this[prefix + key] = value;\n return this;\n },\n remove: function (key) {\n var property = prefix + key;\n return property in this && delete this[property];\n },\n clear: function () {\n for (var property in this)\n if (property[0] === prefix)\n delete this[property];\n },\n keys: function () {\n var keys = [];\n for (var property in this)\n if (property[0] === prefix)\n keys.push(property.slice(1));\n return keys;\n },\n values: function () {\n var values = [];\n for (var property in this)\n if (property[0] === prefix)\n values.push(this[property]);\n return values;\n },\n entries: function () {\n var entries = [];\n for (var property in this)\n if (property[0] === prefix)\n entries.push({ key: property.slice(1), value: this[property] });\n return entries;\n },\n size: function () {\n var size = 0;\n for (var property in this)\n if (property[0] === prefix)\n ++size;\n return size;\n },\n empty: function () {\n for (var property in this)\n if (property[0] === prefix)\n return false;\n return true;\n },\n each: function (f) {\n for (var property in this)\n if (property[0] === prefix)\n f(this[property], property.slice(1), this);\n }\n };\n function map(object, f) {\n var map = new Map;\n // Copy constructor.\n if (object instanceof Map)\n object.each(function (value, key) { map.set(key, value); });\n // Index array by numeric index or specified key function.\n else if (Array.isArray(object)) {\n var i = -1, n = object.length, o;\n if (f == null)\n while (++i < n)\n map.set(i, object[i]);\n else\n while (++i < n)\n map.set(f(o = object[i], i, object), o);\n }\n // Convert object to map.\n else if (object)\n for (var key in object)\n map.set(key, object[key]);\n return map;\n }\n function nest() {\n var keys = [], sortKeys = [], sortValues, rollup, nest;\n function apply(array, depth, createResult, setResult) {\n if (depth >= keys.length) {\n if (sortValues != null)\n array.sort(sortValues);\n return rollup != null ? rollup(array) : array;\n }\n var i = -1, n = array.length, key = keys[depth++], keyValue, value, valuesByKey = map(), values, result = createResult();\n while (++i < n) {\n if (values = valuesByKey.get(keyValue = key(value = array[i]) + \"\")) {\n values.push(value);\n }\n else {\n valuesByKey.set(keyValue, [value]);\n }\n }\n valuesByKey.each(function (values, key) {\n setResult(result, key, apply(values, depth, createResult, setResult));\n });\n return result;\n }\n function entries(map$$1, depth) {\n if (++depth > keys.length)\n return map$$1;\n var array, sortKey = sortKeys[depth - 1];\n if (rollup != null && depth >= keys.length)\n array = map$$1.entries();\n else\n array = [], map$$1.each(function (v, k) { array.push({ key: k, values: entries(v, depth) }); });\n return sortKey != null ? array.sort(function (a, b) { return sortKey(a.key, b.key); }) : array;\n }\n return nest = {\n object: function (array) { return apply(array, 0, createObject, setObject); },\n map: function (array) { return apply(array, 0, createMap, setMap); },\n entries: function (array) { return entries(apply(array, 0, createMap, setMap), 0); },\n key: function (d) { keys.push(d); return nest; },\n sortKeys: function (order) { sortKeys[keys.length - 1] = order; return nest; },\n sortValues: function (order) { sortValues = order; return nest; },\n rollup: function (f) { rollup = f; return nest; }\n };\n }\n function createObject() {\n return {};\n }\n function setObject(object, key, value) {\n object[key] = value;\n }\n function createMap() {\n return map();\n }\n function setMap(map$$1, key, value) {\n map$$1.set(key, value);\n }\n function Set() { }\n var proto = map.prototype;\n Set.prototype = set.prototype = {\n constructor: Set,\n has: proto.has,\n add: function (value) {\n value += \"\";\n this[prefix + value] = value;\n return this;\n },\n remove: proto.remove,\n clear: proto.clear,\n values: proto.keys,\n size: proto.size,\n empty: proto.empty,\n each: proto.each\n };\n function set(object, f) {\n var set = new Set;\n // Copy constructor.\n if (object instanceof Set)\n object.each(function (value) { set.add(value); });\n // Otherwise, assume it’s an array.\n else if (object) {\n var i = -1, n = object.length;\n if (f == null)\n while (++i < n)\n set.add(object[i]);\n else\n while (++i < n)\n set.add(f(object[i], i, object));\n }\n return set;\n }\n function keys(map) {\n var keys = [];\n for (var key in map)\n keys.push(key);\n return keys;\n }\n function values(map) {\n var values = [];\n for (var key in map)\n values.push(map[key]);\n return values;\n }\n function entries(map) {\n var entries = [];\n for (var key in map)\n entries.push({ key: key, value: map[key] });\n return entries;\n }\n exports.nest = nest;\n exports.set = set;\n exports.map = map;\n exports.keys = keys;\n exports.values = values;\n exports.entries = entries;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "index": 121, + "index2": 121, + "size": 131666, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "issuerId": "./src/util/get-geo-projection.ts", + "issuerName": "./src/util/get-geo-projection.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + } + ], + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-composite-projections", + "loc": "7:49-84" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var tslib_1 = require(\"tslib\");\n// http://geoexamples.com/d3-composite-projections/ v1.4.0 Copyright 2020 Roger Veciana i Rovira\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-geo'), require('d3-path')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-geo', 'd3-path'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.d3 = global.d3 || {}, global.d3, global.d3));\n}(this, (function (exports, d3Geo, d3Path) {\n 'use strict';\n var epsilon = 1e-6;\n function noop() { }\n var x0 = Infinity, y0 = x0, x1 = -x0, y1 = x1;\n var boundsStream = {\n point: boundsPoint,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0, y0], [x1, y1]];\n x1 = y1 = -(y0 = x0 = Infinity);\n return bounds;\n }\n };\n function boundsPoint(x, y) {\n if (x < x0)\n x0 = x;\n if (x > x1)\n x1 = x;\n if (y < y0)\n y0 = y;\n if (y > y1)\n y1 = y;\n }\n function fitExtent(projection, extent, object) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], clip = projection.clipExtent && projection.clipExtent();\n projection\n .scale(150)\n .translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n d3Geo.geoStream(object, projection.stream(boundsStream));\n var b = boundsStream.result(), k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n if (clip != null)\n projection.clipExtent(clip);\n return projection\n .scale(k * 150)\n .translate([x, y]);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsa() {\n var cache, cacheStream, lower48 = d3Geo.geoAlbers(), lower48Point, alaska = d3Geo.geoConicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = d3Geo.geoConicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n albersUsa.drawCompositionBorders = function (context) {\n var hawaii1 = lower48([-102.91, 26.3]);\n var hawaii2 = lower48([-104.0, 27.5]);\n var hawaii3 = lower48([-108.0, 29.1]);\n var hawaii4 = lower48([-110.0, 29.1]);\n var alaska1 = lower48([-110.0, 26.7]);\n var alaska2 = lower48([-112.8, 27.6]);\n var alaska3 = lower48([-114.3, 30.6]);\n var alaska4 = lower48([-119.3, 30.1]);\n context.moveTo(hawaii1[0], hawaii1[1]);\n context.lineTo(hawaii2[0], hawaii2[1]);\n context.lineTo(hawaii3[0], hawaii3[1]);\n context.lineTo(hawaii4[0], hawaii4[1]);\n context.moveTo(alaska1[0], alaska1[1]);\n context.lineTo(alaska2[0], alaska2[1]);\n context.lineTo(alaska3[0], alaska3[1]);\n context.lineTo(alaska4[0], alaska4[1]);\n };\n albersUsa.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUsa.scale(1070);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$1(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. Also works quite well at 960×600 with scale 1285. The set of\n // standard parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsaTerritories() {\n var cache, cacheStream, lower48 = d3Geo.geoAlbers(), lower48Point, alaska = d3Geo.geoConicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = d3Geo.geoConicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n puertoRico = d3Geo.geoConicEqualArea().rotate([66, 0]).center([0, 18]).parallels([8, 18]), puertoRicoPoint, //Taken from https://bl.ocks.org/mbostock/5629120\n samoa = d3Geo.geoEquirectangular().rotate([173, 14]), samoaPoint, // EPSG:4169\n guam = d3Geo.geoEquirectangular().rotate([-145, -16.8]), guamPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var puertoRicoBbox = [[-68.3, 19], [-63.9, 17]];\n var samoaBbox = [[-171, -14], [-168, -14.8]];\n var guamBbox = [[144, 20.8], [146.5, 12.7]];\n */\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point) ||\n (alaskaPoint.point(x, y), point) ||\n (hawaiiPoint.point(x, y), point) ||\n (puertoRicoPoint.point(x, y), point) ||\n (samoaPoint.point(x, y), point) ||\n (guamPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = puertoRico(puertoRicoBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 puertoRico\", x0 + ' - ' + y0);\n \n var c1 = puertoRico(puertoRicoBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 puertoRico\", x1 + ' - ' + y1);\n \n c0 = samoa(samoaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 samoa\", x0 + ' - ' + y0);\n \n c1 = samoa(samoaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 samoa\", x1 + ' - ' + y1);\n \n c0 = guam(guamBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 guam\", x0 + ' - ' + y0);\n \n c1 = guam(guamBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 guam\", x1 + ' - ' + y1);\n */\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : y >= 0.2064 && y < 0.2413 && x >= 0.312 && x < 0.385 ? puertoRico\n : y >= 0.09 && y < 0.1197 && x >= -0.4243 && x < -0.3232 ? samoa\n : y >= -0.0518 && y < 0.0895 && x >= -0.4243 && x < -0.3824 ? guam\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$1([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream), puertoRico.stream(stream), samoa.stream(stream), guam.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length) {\n return lower48.precision();\n }\n lower48.precision(_);\n alaska.precision(_);\n hawaii.precision(_);\n puertoRico.precision(_);\n samoa.precision(_);\n guam.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length) {\n return lower48.scale();\n }\n lower48.scale(_);\n alaska.scale(_ * 0.35);\n hawaii.scale(_);\n puertoRico.scale(_);\n samoa.scale(_ * 2);\n guam.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length) {\n return lower48.translate();\n }\n var k = lower48.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = puertoRico.translate([x + 0.350 * k, y + 0.224 * k])(puertoRicoBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = puertoRico.translate([x + 0.350 * k, y + 0.224 * k])(puertoRicoBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('puertoRico: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = samoa.translate([x - 0.492 * k, y + 0.09 * k])(samoaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = samoa.translate([x - 0.492 * k, y + 0.09 * k])(samoaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('samoa: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = guam.translate([x - 0.408 * k, y + 0.018 * k])(guamBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = guam.translate([x - 0.408 * k, y + 0.018 * k])(guamBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('guam: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n puertoRicoPoint = puertoRico\n .translate([x + 0.350 * k, y + 0.224 * k])\n .clipExtent([[x + 0.312 * k + epsilon, y + 0.2064 * k + epsilon], [x + 0.385 * k - epsilon, y + 0.233 * k - epsilon]])\n .stream(pointStream);\n samoaPoint = samoa\n .translate([x - 0.492 * k, y + 0.09 * k])\n .clipExtent([[x - 0.4243 * k + epsilon, y + 0.0903 * k + epsilon], [x - 0.3233 * k - epsilon, y + 0.1197 * k - epsilon]])\n .stream(pointStream);\n guamPoint = guam\n .translate([x - 0.408 * k, y + 0.018 * k])\n .clipExtent([[x - 0.4244 * k + epsilon, y - 0.0519 * k + epsilon], [x - 0.3824 * k - epsilon, y + 0.0895 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n albersUsa.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT hawaii: \", hawaii.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([hawaii.clipExtent()[0][0], hawaii.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([hawaii.clipExtent()[1][0], hawaii.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([hawaii.clipExtent()[1][0], hawaii.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([hawaii.clipExtent()[0][0], hawaii.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT alaska: \", alaska.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([alaska.clipExtent()[0][0], alaska.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([alaska.clipExtent()[1][0], alaska.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([alaska.clipExtent()[1][0], alaska.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([alaska.clipExtent()[0][0], alaska.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT puertoRico: \", puertoRico.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([puertoRico.clipExtent()[0][0], puertoRico.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([puertoRico.clipExtent()[1][0], puertoRico.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([puertoRico.clipExtent()[1][0], puertoRico.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([puertoRico.clipExtent()[0][0], puertoRico.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT samoa: \", samoa.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([samoa.clipExtent()[0][0], samoa.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([samoa.clipExtent()[1][0], samoa.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([samoa.clipExtent()[1][0], samoa.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([samoa.clipExtent()[0][0], samoa.clipExtent()[1][1]]));\n \n \n console.info(\"CLIP EXTENT guam: \", guam.clipExtent());\n console.info(\"UL BBOX:\", lower48.invert([guam.clipExtent()[0][0], guam.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", lower48.invert([guam.clipExtent()[1][0], guam.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", lower48.invert([guam.clipExtent()[1][0], guam.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", lower48.invert([guam.clipExtent()[0][0], guam.clipExtent()[1][1]]));\n */\n var ulhawaii = lower48([-110.4641, 28.2805]);\n var urhawaii = lower48([-104.0597, 28.9528]);\n var ldhawaii = lower48([-103.7049, 25.1031]);\n var llhawaii = lower48([-109.8337, 24.4531]);\n var ulalaska = lower48([-124.4745, 28.1407]);\n var uralaska = lower48([-110.931, 30.8844]);\n var ldalaska = lower48([-109.8337, 24.4531]);\n var llalaska = lower48([-122.4628, 21.8562]);\n var ulpuertoRico = lower48([-76.8579, 25.1544]);\n var urpuertoRico = lower48([-72.429, 24.2097]);\n var ldpuertoRico = lower48([-72.8265, 22.7056]);\n var llpuertoRico = lower48([-77.1852, 23.6392]);\n var ulsamoa = lower48([-125.0093, 29.7791]);\n var ursamoa = lower48([-118.5193, 31.3262]);\n var ldsamoa = lower48([-118.064, 29.6912]);\n var llsamoa = lower48([-124.4369, 28.169]);\n var ulguam = lower48([-128.1314, 37.4582]);\n var urguam = lower48([-125.2132, 38.214]);\n var ldguam = lower48([-122.3616, 30.5115]);\n var llguam = lower48([-125.0315, 29.8211]);\n context.moveTo(ulhawaii[0], ulhawaii[1]);\n context.lineTo(urhawaii[0], urhawaii[1]);\n context.lineTo(ldhawaii[0], ldhawaii[1]);\n context.lineTo(ldhawaii[0], ldhawaii[1]);\n context.lineTo(llhawaii[0], llhawaii[1]);\n context.closePath();\n context.moveTo(ulalaska[0], ulalaska[1]);\n context.lineTo(uralaska[0], uralaska[1]);\n context.lineTo(ldalaska[0], ldalaska[1]);\n context.lineTo(ldalaska[0], ldalaska[1]);\n context.lineTo(llalaska[0], llalaska[1]);\n context.closePath();\n context.moveTo(ulpuertoRico[0], ulpuertoRico[1]);\n context.lineTo(urpuertoRico[0], urpuertoRico[1]);\n context.lineTo(ldpuertoRico[0], ldpuertoRico[1]);\n context.lineTo(ldpuertoRico[0], ldpuertoRico[1]);\n context.lineTo(llpuertoRico[0], llpuertoRico[1]);\n context.closePath();\n context.moveTo(ulsamoa[0], ulsamoa[1]);\n context.lineTo(ursamoa[0], ursamoa[1]);\n context.lineTo(ldsamoa[0], ldsamoa[1]);\n context.lineTo(ldsamoa[0], ldsamoa[1]);\n context.lineTo(llsamoa[0], llsamoa[1]);\n context.closePath();\n context.moveTo(ulguam[0], ulguam[1]);\n context.lineTo(urguam[0], urguam[1]);\n context.lineTo(ldguam[0], ldguam[1]);\n context.lineTo(ldguam[0], ldguam[1]);\n context.lineTo(llguam[0], llguam[1]);\n context.closePath();\n };\n albersUsa.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUsa.scale(1070);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$2(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Spain, configured by default for 960×500.\n function conicConformalSpain() {\n var cache, cacheStream, iberianPeninsule = d3Geo.geoConicConformal().rotate([5, -38.6]).parallels([0, 60]), iberianPeninsulePoint, canaryIslands = d3Geo.geoConicConformal().rotate([5, -38.6]).parallels([0, 60]), canaryIslandsPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var iberianPeninsuleBbox = [[-11, 46], [4, 35]];\n var canaryIslandsBbox = [[-19.0, 28.85], [-12.7, 28.1]];\n */\n function conicConformalSpain(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (iberianPeninsulePoint.point(x, y), point) ||\n (canaryIslandsPoint.point(x, y), point);\n }\n conicConformalSpain.invert = function (coordinates) {\n var k = iberianPeninsule.scale(), t = iberianPeninsule.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.05346 && y < 0.0897 && x >= -0.13388 && x < -0.0322 ? canaryIslands\n : iberianPeninsule).invert(coordinates);\n };\n conicConformalSpain.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$2([iberianPeninsule.stream(cacheStream = stream), canaryIslands.stream(stream)]);\n };\n conicConformalSpain.precision = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.precision();\n }\n iberianPeninsule.precision(_);\n canaryIslands.precision(_);\n return reset();\n };\n conicConformalSpain.scale = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.scale();\n }\n iberianPeninsule.scale(_);\n canaryIslands.scale(_);\n return conicConformalSpain.translate(iberianPeninsule.translate());\n };\n conicConformalSpain.translate = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.translate();\n }\n var k = iberianPeninsule.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = iberianPeninsule(iberianPeninsuleBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = iberianPeninsule(iberianPeninsuleBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Iberian Peninsula: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n \n c0 = canaryIslands.translate([x + 0.1 * k, y - 0.094 * k])(canaryIslandsBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = canaryIslands.translate([x + 0.1 * k, y - 0.094 * k])(canaryIslandsBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Canry Islands: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n */\n iberianPeninsulePoint = iberianPeninsule\n .translate(_)\n .clipExtent([[x - 0.06857 * k, y - 0.1288 * k], [x + 0.13249 * k, y + 0.06 * k]])\n .stream(pointStream);\n canaryIslandsPoint = canaryIslands\n .translate([x + 0.1 * k, y - 0.094 * k])\n .clipExtent([[x - 0.1331 * k + epsilon, y + 0.053457 * k + epsilon], [x - 0.0354 * k - epsilon, y + 0.08969 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalSpain.fitExtent = function (extent, object) {\n return fitExtent(conicConformalSpain, extent, object);\n };\n conicConformalSpain.fitSize = function (size, object) {\n return fitSize(conicConformalSpain, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalSpain;\n }\n conicConformalSpain.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT: \", canaryIslands.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[0][0], canaryIslands.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[1][0], canaryIslands.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([canaryIslands.clipExtent()[1][0], canaryIslands.clipExtent()[1][1]]));\n */\n var ulCanaryIslands = iberianPeninsule([-14.0346750, 34.965007]);\n var urCanaryIslands = iberianPeninsule([-7.4208899, 35.536988]);\n var ldCanaryIslands = iberianPeninsule([-7.3148275, 33.54359]);\n context.moveTo(ulCanaryIslands[0], ulCanaryIslands[1]);\n context.lineTo(urCanaryIslands[0], urCanaryIslands[1]);\n context.lineTo(ldCanaryIslands[0], ldCanaryIslands[1]);\n };\n conicConformalSpain.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalSpain.scale(2700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$3(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicConformalPortugal() {\n var cache, cacheStream, iberianPeninsule = d3Geo.geoConicConformal().rotate([10, -39.3]).parallels([0, 60]), iberianPeninsulePoint, madeira = d3Geo.geoConicConformal().rotate([17, -32.7]).parallels([0, 60]), madeiraPoint, azores = d3Geo.geoConicConformal().rotate([27.8, -38.6]).parallels([0, 60]), azoresPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var iberianPeninsuleBbox = [[-11, 46], [4, 34]];\n var madeiraBbox = [[-17.85, 33.6], [-16, 32.02]];\n var azoresBbox = [[-32, 40.529], [-23.98, 35.75]];\n */\n function conicConformalPortugal(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (iberianPeninsulePoint.point(x, y), point) ||\n (madeiraPoint.point(x, y), point) ||\n (azoresPoint.point(x, y), point);\n }\n conicConformalPortugal.invert = function (coordinates) {\n var k = iberianPeninsule.scale(), t = iberianPeninsule.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = madeira(madeiraBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 madeira\", x0 + ' - ' + y0);\n \n var c1 = madeira(madeiraBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 madeira\", x1 + ' - ' + y1);\n \n c0 = azores(azoresBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 azores\", x0 + ' - ' + y0);\n \n c1 = azores(azoresBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 azores\", x1 + ' - ' + y1);\n */\n return (y >= 0.0093 && y < 0.03678 && x >= -0.03875 && x < -0.0116 ? madeira\n : y >= -0.0412 && y < 0.0091 && x >= -0.07782 && x < -0.01166 ? azores\n : iberianPeninsule).invert(coordinates);\n };\n conicConformalPortugal.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$3([iberianPeninsule.stream(cacheStream = stream), madeira.stream(stream), azores.stream(stream)]);\n };\n conicConformalPortugal.precision = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.precision();\n }\n iberianPeninsule.precision(_);\n madeira.precision(_);\n azores.precision(_);\n return reset();\n };\n conicConformalPortugal.scale = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.scale();\n }\n iberianPeninsule.scale(_);\n madeira.scale(_);\n azores.scale(_ * 0.6);\n return conicConformalPortugal.translate(iberianPeninsule.translate());\n };\n conicConformalPortugal.translate = function (_) {\n if (!arguments.length) {\n return iberianPeninsule.translate();\n }\n var k = iberianPeninsule.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = iberianPeninsule(iberianPeninsuleBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = iberianPeninsule(iberianPeninsuleBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Iberian Peninsula: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = madeira.translate([x - 0.0265 * k, y + 0.025 * k])(madeiraBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = madeira.translate([x - 0.0265 * k, y + 0.025 * k])(madeiraBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Madeira: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = azores.translate([x - 0.045 * k, y + -0.02 * k])(azoresBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = azores.translate([x - 0.045 * k, y + -0.02 * k])(azoresBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('Azores: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n iberianPeninsulePoint = iberianPeninsule\n .translate(_)\n .clipExtent([[x - 0.0115 * k, y - 0.1138 * k], [x + 0.2105 * k, y + 0.0673 * k]])\n .stream(pointStream);\n madeiraPoint = madeira\n .translate([x - 0.0265 * k, y + 0.025 * k])\n .clipExtent([[x - 0.0388 * k + epsilon, y + 0.0093 * k + epsilon], [x - 0.0116 * k - epsilon, y + 0.0368 * k - epsilon]])\n .stream(pointStream);\n azoresPoint = azores\n .translate([x - 0.045 * k, y + -0.02 * k])\n .clipExtent([[x - 0.0778 * k + epsilon, y - 0.0413 * k + epsilon], [x - 0.0117 * k - epsilon, y + 0.0091 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalPortugal.fitExtent = function (extent, object) {\n return fitExtent(conicConformalPortugal, extent, object);\n };\n conicConformalPortugal.fitSize = function (size, object) {\n return fitSize(conicConformalPortugal, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalPortugal;\n }\n conicConformalPortugal.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT MADEIRA: \", madeira.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[0][0], madeira.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[1][0], madeira.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[1][0], madeira.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", iberianPeninsule.invert([madeira.clipExtent()[0][0], madeira.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT AZORES: \", azores.clipExtent());\n console.info(\"UL BBOX:\", iberianPeninsule.invert([azores.clipExtent()[0][0], azores.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", iberianPeninsule.invert([azores.clipExtent()[1][0], azores.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", iberianPeninsule.invert([azores.clipExtent()[1][0], azores.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", iberianPeninsule.invert([azores.clipExtent()[0][0], azores.clipExtent()[1][1]]));\n */\n var ulmadeira = iberianPeninsule([-12.8351, 38.7113]);\n var urmadeira = iberianPeninsule([-10.8482, 38.7633]);\n var ldmadeira = iberianPeninsule([-10.8181, 37.2072]);\n var llmadeira = iberianPeninsule([-12.7345, 37.1573]);\n var ulazores = iberianPeninsule([-16.0753, 41.4436]);\n var urazores = iberianPeninsule([-10.9168, 41.6861]);\n var ldazores = iberianPeninsule([-10.8557, 38.7747]);\n var llazores = iberianPeninsule([-15.6728, 38.5505]);\n context.moveTo(ulmadeira[0], ulmadeira[1]);\n context.lineTo(urmadeira[0], urmadeira[1]);\n context.lineTo(ldmadeira[0], ldmadeira[1]);\n context.lineTo(ldmadeira[0], ldmadeira[1]);\n context.lineTo(llmadeira[0], llmadeira[1]);\n context.closePath();\n context.moveTo(ulazores[0], ulazores[1]);\n context.lineTo(urazores[0], urazores[1]);\n context.lineTo(ldazores[0], ldazores[1]);\n context.lineTo(ldazores[0], ldazores[1]);\n context.lineTo(llazores[0], llazores[1]);\n context.closePath();\n };\n conicConformalPortugal.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalPortugal.scale(4200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$4(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Ecuador, configured by default for 960×500.\n function mercatorEcuador() {\n var cache, cacheStream, mainland = d3Geo.geoMercator().rotate([80, 1.5]), mainlandPoint, galapagos = d3Geo.geoMercator().rotate([90.73, 1]), galapagosPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[-81.5, 2.7], [-70.0, -6.0]];\n var galapagosBbox = [[-92.2, 0.58], [-88.8, -1.8]];\n */\n function mercatorEcuador(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (galapagosPoint.point(x, y), point);\n }\n mercatorEcuador.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n var c0 = galapagos(galapagosBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 galapagos\", x0 + ' - ' + y0);\n \n \n var c1 = galapagos(galapagosBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 galapagos\", x1 + ' - ' + y1);\n */\n return (y >= -0.0676 && y < -0.026 && x >= -0.0857 && x < -0.0263 ? galapagos\n : mainland).invert(coordinates);\n };\n mercatorEcuador.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$4([mainland.stream(cacheStream = stream), galapagos.stream(stream)]);\n };\n mercatorEcuador.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n galapagos.precision(_);\n return reset();\n };\n mercatorEcuador.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n galapagos.scale(_);\n return mercatorEcuador.translate(mainland.translate());\n };\n mercatorEcuador.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('mainland: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = galapagos.translate([x - 0.06 * k, y - 0.04 * k])(galapagosBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = galapagos.translate([x - 0.06 * k, y - 0.04 * k])(galapagosBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('galapagos: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');*/\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.0262 * k, y - 0.0734 * k], [x + 0.1741 * k, y + 0.079 * k]])\n .stream(pointStream);\n galapagosPoint = galapagos\n .translate([x - 0.06 * k, y - 0.04 * k])\n .clipExtent([[x - 0.0857 * k + epsilon, y - 0.0676 * k + epsilon], [x - 0.0263 * k - epsilon, y - 0.026 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorEcuador.fitExtent = function (extent, object) {\n return fitExtent(mercatorEcuador, extent, object);\n };\n mercatorEcuador.fitSize = function (size, object) {\n return fitSize(mercatorEcuador, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorEcuador;\n }\n mercatorEcuador.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT: \", galapagos.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([galapagos.clipExtent()[0][0], galapagos.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([galapagos.clipExtent()[1][0], galapagos.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([galapagos.clipExtent()[1][0], galapagos.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([galapagos.clipExtent()[0][0], galapagos.clipExtent()[1][1]]));\n */\n var ulgalapagos = mainland([-84.9032, 2.3757]);\n var urgalapagos = mainland([-81.5047, 2.3708]);\n var ldgalapagos = mainland([-81.5063, -0.01]);\n var llgalapagos = mainland([-84.9086, -0.005]);\n context.moveTo(ulgalapagos[0], ulgalapagos[1]);\n context.lineTo(urgalapagos[0], urgalapagos[1]);\n context.lineTo(ldgalapagos[0], ldgalapagos[1]);\n context.lineTo(llgalapagos[0], llgalapagos[1]);\n context.closePath();\n };\n mercatorEcuador.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorEcuador.scale(3500);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$5(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Chile, configured by default for 960×500.\n function transverseMercatorChile() {\n var cache, cacheStream, mainland = d3Geo.geoTransverseMercator().rotate([72, 37]), mainlandPoint, antarctic = d3Geo.geoStereographic().rotate([72, 0]), antarcticPoint, juanFernandez = d3Geo.geoMercator().rotate([80, 33.5]), juanFernandezPoint, pascua = d3Geo.geoMercator().rotate([110, 25]), pascuaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[-75.5, -15.0], [-32, -49.0]];\n var antarcticBbox = [[-91.0, -60.0], [-43.0, -90.0]];\n var juanFernandezBbox = [[-81.0, -33.0], [-78.5, -34.0]];\n var pascuaBbox = [[-110, -26.6], [-108.7, -27.5]];\n */\n function transverseMercatorChile(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (antarcticPoint.point(x, y), point) ||\n (juanFernandezPoint.point(x, y), point) ||\n (pascuaPoint.point(x, y), point);\n }\n transverseMercatorChile.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = antarctic(antarcticBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 antarctic\", x0 + ' - ' + y0);\n \n var c1 = antarctic(antarcticBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 antarctic\", x1 + ' - ' + y1);\n \n c0 = juanFernandez(juanFernandezBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 juanFernandez\", x0 + ' - ' + y0);\n \n c1 = juanFernandez(juanFernandezBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 juanFernandez\", x1 + ' - ' + y1);\n \n c0 = pascua(pascuaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 pascua\", x0 + ' - ' + y0);\n \n c1 = pascua(pascuaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 pascua\", x1 + ' - ' + y1);\n */\n return (y >= 0.2582 && y < 0.32 && x >= -0.1036 && x < -0.087 ? antarctic\n : y >= -0.01298 && y < 0.0133 && x >= -0.11396 && x < -0.05944 ? juanFernandez\n : y >= 0.01539 && y < 0.03911 && x >= -0.089 && x < -0.0588 ? pascua\n : mainland).invert(coordinates);\n };\n transverseMercatorChile.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$5([mainland.stream(cacheStream = stream), antarctic.stream(stream), juanFernandez.stream(stream), pascua.stream(stream)]);\n };\n transverseMercatorChile.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n antarctic.precision(_);\n juanFernandez.precision(_);\n pascua.precision(_);\n return reset();\n };\n transverseMercatorChile.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n antarctic.scale(_ * 0.15);\n juanFernandez.scale(_ * 1.5);\n pascua.scale(_ * 1.5);\n return transverseMercatorChile.translate(mainland.translate());\n };\n transverseMercatorChile.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Mainland: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = antarctic.translate([x - 0.1 * k, y + 0.17 * k])(antarcticBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = antarctic.translate([x - 0.1 * k, y + 0.17 * k])(antarcticBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('antarctic: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('Doesn t work due to -90 latitude!' + '.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = juanFernandez.translate([x - 0.092 * k, y -0 * k])(juanFernandezBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = juanFernandez.translate([x - 0.092 * k, y -0 * k])(juanFernandezBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('juanFernandez: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = pascua.translate([x - 0.089 * k, y -0.0265 * k])(pascuaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = pascua.translate([x - 0.089 * k, y -0.0265 * k])(pascuaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('pascua: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.059 * k, y - 0.3835 * k], [x + 0.4498 * k, y + 0.3375 * k]])\n .stream(pointStream);\n antarcticPoint = antarctic\n .translate([x - 0.087 * k, y + 0.17 * k])\n .clipExtent([[x - 0.1166 * k + epsilon, y + 0.2582 * k + epsilon], [x - 0.06 * k - epsilon, y + 0.32 * k - epsilon]])\n .stream(pointStream);\n juanFernandezPoint = juanFernandez\n .translate([x - 0.092 * k, y - 0 * k])\n .clipExtent([[x - 0.114 * k + epsilon, y - 0.013 * k + epsilon], [x - 0.0594 * k - epsilon, y + 0.0133 * k - epsilon]])\n .stream(pointStream);\n pascuaPoint = pascua\n .translate([x - 0.089 * k, y - 0.0265 * k])\n .clipExtent([[x - 0.089 * k + epsilon, y + 0.0154 * k + epsilon], [x - 0.0588 * k - epsilon, y + 0.0391 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n transverseMercatorChile.fitExtent = function (extent, object) {\n return fitExtent(transverseMercatorChile, extent, object);\n };\n transverseMercatorChile.fitSize = function (size, object) {\n return fitSize(transverseMercatorChile, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return transverseMercatorChile;\n }\n transverseMercatorChile.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT antarctic: \", antarctic.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([antarctic.clipExtent()[0][0], antarctic.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([antarctic.clipExtent()[1][0], antarctic.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([antarctic.clipExtent()[1][0], antarctic.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([antarctic.clipExtent()[0][0], antarctic.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT juanFernandez: \", juanFernandez.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([juanFernandez.clipExtent()[0][0], juanFernandez.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([juanFernandez.clipExtent()[1][0], juanFernandez.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([juanFernandez.clipExtent()[1][0], juanFernandez.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([juanFernandez.clipExtent()[0][0], juanFernandez.clipExtent()[1][1]]));\n \n console.info(\"CLIP EXTENT pascua: \", pascua.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([pascua.clipExtent()[0][0], pascua.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([pascua.clipExtent()[1][0], pascua.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([pascua.clipExtent()[1][0], pascua.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([pascua.clipExtent()[0][0], pascua.clipExtent()[1][1]]));\n */\n var ulantarctic = mainland([-82.6999, -51.3043]);\n var urantarctic = mainland([-77.5442, -51.6631]);\n var ldantarctic = mainland([-78.0254, -55.1860]);\n var llantarctic = mainland([-83.6106, -54.7785]);\n var uljuanFernandez = mainland([-80.0638, -35.9840]);\n var urjuanFernandez = mainland([-76.2153, -36.1811]);\n var ldjuanFernandez = mainland([-76.2994, -37.6839]);\n var lljuanFernandez = mainland([-80.2231, -37.4757]);\n var ulpascua = mainland([-78.442, -37.706]);\n var urpascua = mainland([-76.263, -37.8054]);\n var ldpascua = mainland([-76.344, -39.1595]);\n var llpascua = mainland([-78.5638, -39.0559]);\n context.moveTo(ulantarctic[0], ulantarctic[1]);\n context.lineTo(urantarctic[0], urantarctic[1]);\n context.lineTo(ldantarctic[0], ldantarctic[1]);\n context.lineTo(ldantarctic[0], ldantarctic[1]);\n context.lineTo(llantarctic[0], llantarctic[1]);\n context.closePath();\n context.moveTo(uljuanFernandez[0], uljuanFernandez[1]);\n context.lineTo(urjuanFernandez[0], urjuanFernandez[1]);\n context.lineTo(ldjuanFernandez[0], ldjuanFernandez[1]);\n context.lineTo(ldjuanFernandez[0], ldjuanFernandez[1]);\n context.lineTo(lljuanFernandez[0], lljuanFernandez[1]);\n context.closePath();\n context.moveTo(ulpascua[0], ulpascua[1]);\n context.lineTo(urpascua[0], urpascua[1]);\n context.lineTo(ldpascua[0], ldpascua[1]);\n context.lineTo(ldpascua[0], ldpascua[1]);\n context.lineTo(llpascua[0], llpascua[1]);\n context.closePath();\n };\n transverseMercatorChile.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return transverseMercatorChile.scale(700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$6(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicEquidistantJapan() {\n var cache, cacheStream, mainland = d3Geo.geoConicEquidistant().rotate([-136, -22]).parallels([40, 34]), mainlandPoint, //gis.stackexchange.com/a/73135\n hokkaido = d3Geo.geoConicEquidistant().rotate([-146, -26]).parallels([40, 34]), hokkaidoPoint, okinawa = d3Geo.geoConicEquidistant().rotate([-126, -19]).parallels([40, 34]), okinawaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var mainlandBbox = [[126.0, 41.606], [142.97, 29.97]];\n var hokkaidoBbox = [[138.7, 45.61], [146.2, 41.2]];\n var okinawaBbox = [[122.6, 29.0], [130, 23.7]];\n */\n function conicEquidistantJapan(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (mainlandPoint.point(x, y), point) ||\n (hokkaidoPoint.point(x, y), point) ||\n (okinawaPoint.point(x, y), point);\n }\n conicEquidistantJapan.invert = function (coordinates) {\n var k = mainland.scale(), t = mainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n /*\n //How are the return values calculated:\n console.info(\"******\");\n var c0 = hokkaido(hokkaidoBbox[0]);\n var x0 = (c0[0] - t[0]) / k;\n var y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 hokkaido\", x0 + ' - ' + y0);\n \n var c1 = hokkaido(hokkaidoBbox[1]);\n var x1 = (c1[0] - t[0]) / k;\n var y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 hokkaido\", x1 + ' - ' + y1);\n \n c0 = okinawa(okinawaBbox[0]);\n x0 = (c0[0] - t[0]) / k;\n y0 = (c0[1] - t[1]) / k;\n \n console.info(\"p0 okinawa\", x0 + ' - ' + y0);\n \n c1 = okinawa(okinawaBbox[1]);\n x1 = (c1[0] - t[0]) / k;\n y1 = (c1[1] - t[1]) / k;\n \n console.info(\"p1 okinawa\", x1 + ' - ' + y1);\n */\n return (y >= -0.10925 && y < -0.02701 && x >= -0.135 && x < -0.0397 ? hokkaido\n : y >= 0.04713 && y < 0.11138 && x >= -0.03986 && x < 0.051 ? okinawa\n : mainland).invert(coordinates);\n };\n conicEquidistantJapan.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$6([mainland.stream(cacheStream = stream), hokkaido.stream(stream), okinawa.stream(stream)]);\n };\n conicEquidistantJapan.precision = function (_) {\n if (!arguments.length) {\n return mainland.precision();\n }\n mainland.precision(_);\n hokkaido.precision(_);\n okinawa.precision(_);\n return reset();\n };\n conicEquidistantJapan.scale = function (_) {\n if (!arguments.length) {\n return mainland.scale();\n }\n mainland.scale(_);\n hokkaido.scale(_);\n okinawa.scale(_ * 0.7);\n return conicEquidistantJapan.translate(mainland.translate());\n };\n conicEquidistantJapan.translate = function (_) {\n if (!arguments.length) {\n return mainland.translate();\n }\n var k = mainland.scale(), x = +_[0], y = +_[1];\n /*\n var c0 = mainland(mainlandBbox[0]);\n var x0 = (x - c0[0]) / k;\n var y0 = (y - c0[1]) / k;\n \n var c1 = mainland(mainlandBbox[1]);\n var x1 = (x - c1[0]) / k;\n var y1 = (y - c1[1]) / k;\n \n console.info('Main: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k]])');\n \n c0 = hokkaido.translate([x - 0.0425 * k, y - 0.005 * k])(hokkaidoBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = hokkaido.translate([x - 0.0425 * k, y - 0.005 * k])(hokkaidoBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('hokkaido: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n \n c0 = okinawa.translate([x - 0 * k, y + 0 * k])(okinawaBbox[0]);\n x0 = (x - c0[0]) / k;\n y0 = (y - c0[1]) / k;\n \n c1 = okinawa.translate([x - 0 * k, y + 0 * k])(okinawaBbox[1]);\n x1 = (x - c1[0]) / k;\n y1 = (y - c1[1]) / k;\n \n console.info('okinawa: p0: ' + x0 + ', ' + y0 + ' , p1: ' + x1 + ' - ' + y1);\n console.info('.clipExtent([[x '+\n (x0<0?'+ ':'- ') + Math.abs(x0.toFixed(4))+\n ' * k + epsilon, y '+\n (y0<0?'+ ':'- ') + Math.abs(y0.toFixed(4))+\n ' * k + epsilon],[x '+\n (x1<0?'+ ':'- ') + Math.abs(x1.toFixed(4))+\n ' * k - epsilon, y '+\n (y1<0?'+ ':'- ') + Math.abs(y1.toFixed(4))+\n ' * k - epsilon]])');\n */\n mainlandPoint = mainland\n .translate(_)\n .clipExtent([[x - 0.1352 * k, y - 0.1091 * k], [x + 0.117 * k, y + 0.098 * k]])\n .stream(pointStream);\n hokkaidoPoint = hokkaido\n .translate([x - 0.0425 * k, y - 0.005 * k])\n .clipExtent([[x - 0.135 * k + epsilon, y - 0.1093 * k + epsilon], [x - 0.0397 * k - epsilon, y - 0.027 * k - epsilon]])\n .stream(pointStream);\n okinawaPoint = okinawa\n .translate(_)\n .clipExtent([[x - 0.0399 * k + epsilon, y + 0.0471 * k + epsilon], [x + 0.051 * k - epsilon, y + 0.1114 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicEquidistantJapan.fitExtent = function (extent, object) {\n return fitExtent(conicEquidistantJapan, extent, object);\n };\n conicEquidistantJapan.fitSize = function (size, object) {\n return fitSize(conicEquidistantJapan, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicEquidistantJapan;\n }\n conicEquidistantJapan.drawCompositionBorders = function (context) {\n /*\n console.info(\"CLIP EXTENT hokkaido: \", hokkaido.clipExtent());\n console.info(\"UL BBOX:\", mainland.invert([hokkaido.clipExtent()[0][0], hokkaido.clipExtent()[0][1]]));\n console.info(\"UR BBOX:\", mainland.invert([hokkaido.clipExtent()[1][0], hokkaido.clipExtent()[0][1]]));\n console.info(\"LD BBOX:\", mainland.invert([hokkaido.clipExtent()[1][0], hokkaido.clipExtent()[1][1]]));\n console.info(\"LL BBOX:\", mainland.invert([hokkaido.clipExtent()[0][0], hokkaido.clipExtent()[1][1]]));\n */\n var ulhokkaido = mainland([126.01320483689143, 41.621090310215585]);\n var urhokkaido = mainland([133.04304387025903, 42.15087523707186]);\n var ldhokkaido = mainland([133.3021766080688, 37.43975444725098]);\n var llhokkaido = mainland([126.87889168628224, 36.95488945159779]);\n var llokinawa = mainland([132.9, 29.8]);\n var lmokinawa = mainland([134, 33]);\n var lrokinawa = mainland([139.3, 33.2]);\n var llrokinawa = mainland([139.16, 30.5]);\n context.moveTo(ulhokkaido[0], ulhokkaido[1]);\n context.lineTo(urhokkaido[0], urhokkaido[1]);\n context.lineTo(ldhokkaido[0], ldhokkaido[1]);\n context.lineTo(llhokkaido[0], llhokkaido[1]);\n context.closePath();\n context.moveTo(llokinawa[0], llokinawa[1]);\n context.lineTo(lmokinawa[0], lmokinawa[1]);\n context.lineTo(lrokinawa[0], lrokinawa[1]);\n context.lineTo(llrokinawa[0], llrokinawa[1]);\n };\n conicEquidistantJapan.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicEquidistantJapan.scale(2200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$7(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for France, configured by default for 960×500.\n function conicConformalFrance() {\n var cache, cacheStream, europe = d3Geo.geoConicConformal().rotate([-3, -46.2]).parallels([0, 60]), europePoint, guyane = d3Geo.geoMercator().center([-53.2, 3.9]), guyanePoint, martinique = d3Geo.geoMercator().center([-61.03, 14.67]), martiniquePoint, guadeloupe = d3Geo.geoMercator().center([-61.46, 16.14]), guadeloupePoint, saintBarthelemy = d3Geo.geoMercator().center([-62.85, 17.92]), saintBarthelemyPoint, stPierreMiquelon = d3Geo.geoMercator().center([-56.23, 46.93]), stPierreMiquelonPoint, mayotte = d3Geo.geoMercator().center([45.16, -12.8]), mayottePoint, reunion = d3Geo.geoMercator().center([55.52, -21.13]), reunionPoint, nouvelleCaledonie = d3Geo.geoMercator().center([165.8, -21.07]), nouvelleCaledoniePoint, wallisFutuna = d3Geo.geoMercator().center([-178.1, -14.3]), wallisFutunaPoint, polynesie = d3Geo.geoMercator().center([-150.55, -17.11]), polynesiePoint, polynesie2 = d3Geo.geoMercator().center([-150.55, -17.11]), polynesie2Point, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var europeBbox = [[-6.5, 51], [10, 41]];\n var guyaneBbox = [[-54.5, 6.29], [-50.9, 1.48]];\n */\n function conicConformalFrance(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (europePoint.point(x, y), point) ||\n (guyanePoint.point(x, y), point) ||\n (martiniquePoint.point(x, y), point) ||\n (guadeloupePoint.point(x, y), point) ||\n (saintBarthelemyPoint.point(x, y), point) ||\n (stPierreMiquelonPoint.point(x, y), point) ||\n (mayottePoint.point(x, y), point) ||\n (reunionPoint.point(x, y), point) ||\n (nouvelleCaledoniePoint.point(x, y), point) ||\n (wallisFutunaPoint.point(x, y), point) ||\n (polynesiePoint.point(x, y), point) ||\n (polynesie2Point.point(x, y), point);\n }\n conicConformalFrance.invert = function (coordinates) {\n var k = europe.scale(), t = europe.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.029 && y < 0.0864 && x >= -0.14 && x < -0.0996 ? guyane\n : y >= 0 && y < 0.029 && x >= -0.14 && x < -0.0996 ? martinique\n : y >= -0.032 && y < 0 && x >= -0.14 && x < -0.0996 ? guadeloupe\n : y >= -0.052 && y < -0.032 && x >= -0.14 && x < -0.0996 ? saintBarthelemy\n : y >= -0.076 && y < 0.052 && x >= -0.14 && x < -0.0996 ? stPierreMiquelon\n : y >= -0.076 && y < -0.052 && x >= 0.0967 && x < 0.1371 ? mayotte\n : y >= -0.052 && y < -0.02 && x >= 0.0967 && x < 0.1371 ? reunion\n : y >= -0.02 && y < 0.012 && x >= 0.0967 && x < 0.1371 ? nouvelleCaledonie\n : y >= 0.012 && y < 0.033 && x >= 0.0967 && x < 0.1371 ? wallisFutuna\n : y >= 0.033 && y < 0.0864 && x >= 0.0967 && x < 0.1371 ? polynesie\n : europe).invert(coordinates);\n };\n conicConformalFrance.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$7([europe.stream(cacheStream = stream), guyane.stream(stream), martinique.stream(stream), guadeloupe.stream(stream), saintBarthelemy.stream(stream), stPierreMiquelon.stream(stream), mayotte.stream(stream), reunion.stream(stream), nouvelleCaledonie.stream(stream), wallisFutuna.stream(stream), polynesie.stream(stream), polynesie2.stream(stream)]);\n };\n conicConformalFrance.precision = function (_) {\n if (!arguments.length) {\n return europe.precision();\n }\n europe.precision(_);\n guyane.precision(_);\n martinique.precision(_);\n guadeloupe.precision(_);\n saintBarthelemy.precision(_);\n stPierreMiquelon.precision(_);\n mayotte.precision(_);\n reunion.precision(_);\n nouvelleCaledonie.precision(_);\n wallisFutuna.precision(_);\n polynesie.precision(_);\n polynesie2.precision(_);\n return reset();\n };\n conicConformalFrance.scale = function (_) {\n if (!arguments.length) {\n return europe.scale();\n }\n europe.scale(_);\n guyane.scale(_ * 0.6);\n martinique.scale(_ * 1.6);\n guadeloupe.scale(_ * 1.4);\n saintBarthelemy.scale(_ * 5);\n stPierreMiquelon.scale(_ * 1.3);\n mayotte.scale(_ * 1.6);\n reunion.scale(_ * 1.2);\n nouvelleCaledonie.scale(_ * 0.3);\n wallisFutuna.scale(_ * 2.7);\n polynesie.scale(_ * 0.5);\n polynesie2.scale(_ * 0.06);\n return conicConformalFrance.translate(europe.translate());\n };\n conicConformalFrance.translate = function (_) {\n if (!arguments.length) {\n return europe.translate();\n }\n var k = europe.scale(), x = +_[0], y = +_[1];\n europePoint = europe\n .translate(_)\n .clipExtent([[x - 0.0996 * k, y - 0.0908 * k], [x + 0.0967 * k, y + 0.0864 * k]])\n .stream(pointStream);\n guyanePoint = guyane\n .translate([x - 0.12 * k, y + 0.0575 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y + 0.029 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0.0864 * k - epsilon]])\n .stream(pointStream);\n martiniquePoint = martinique\n .translate([x - 0.12 * k, y + 0.013 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y + 0 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0.029 * k - epsilon]])\n .stream(pointStream);\n guadeloupePoint = guadeloupe\n .translate([x - 0.12 * k, y - 0.014 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.032 * k + epsilon], [x - 0.0996 * k - epsilon, y + 0 * k - epsilon]])\n .stream(pointStream);\n saintBarthelemyPoint = saintBarthelemy\n .translate([x - 0.12 * k, y - 0.044 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.052 * k + epsilon], [x - 0.0996 * k - epsilon, y - 0.032 * k - epsilon]])\n .stream(pointStream);\n stPierreMiquelonPoint = stPierreMiquelon\n .translate([x - 0.12 * k, y - 0.065 * k])\n .clipExtent([[x - 0.14 * k + epsilon, y - 0.076 * k + epsilon], [x - 0.0996 * k - epsilon, y - 0.052 * k - epsilon]])\n .stream(pointStream);\n mayottePoint = mayotte\n .translate([x + 0.117 * k, y - 0.064 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.076 * k + epsilon], [x + 0.1371 * k - epsilon, y - 0.052 * k - epsilon]])\n .stream(pointStream);\n reunionPoint = reunion\n .translate([x + 0.116 * k, y - 0.0355 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.052 * k + epsilon], [x + 0.1371 * k - epsilon, y - 0.02 * k - epsilon]])\n .stream(pointStream);\n nouvelleCaledoniePoint = nouvelleCaledonie\n .translate([x + 0.116 * k, y - 0.0048 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y - 0.02 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.012 * k - epsilon]])\n .stream(pointStream);\n wallisFutunaPoint = wallisFutuna\n .translate([x + 0.116 * k, y + 0.022 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.012 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.033 * k - epsilon]])\n .stream(pointStream);\n polynesie2Point = polynesie2\n .translate([x + 0.11 * k, y + 0.045 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.033 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.06 * k - epsilon]])\n .stream(pointStream);\n polynesiePoint = polynesie\n .translate([x + 0.115 * k, y + 0.075 * k])\n .clipExtent([[x + 0.0967 * k + epsilon, y + 0.06 * k + epsilon], [x + 0.1371 * k - epsilon, y + 0.0864 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalFrance.fitExtent = function (extent, object) {\n return fitExtent(conicConformalFrance, extent, object);\n };\n conicConformalFrance.fitSize = function (size, object) {\n return fitSize(conicConformalFrance, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalFrance;\n }\n conicConformalFrance.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [guyane, martinique, guadeloupe, saintBarthelemy, stPierreMiquelon, mayotte, reunion, nouvelleCaledonie, wallisFutuna, polynesie, polynesie2];\n for (var i in projs){\n var ul = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = europe([\"+ul+\"]);\");\n console.log(\"ur = europe([\"+ur+\"]);\");\n console.log(\"ld = europe([\"+ld+\"]);\");\n console.log(\"ll = europe([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = europe([-7.938886725111036, 43.7219460918835]);\n ur = europe([-4.832080896458295, 44.12930268549372]);\n ld = europe([-4.205299743793263, 40.98096346967365]);\n ll = europe([-7.071796453126152, 40.610037319181444]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-8.42751373617692, 45.32889452553031]);\n ur = europe([-5.18599305777107, 45.7566442062976]);\n ld = europe([-4.832080905154431, 44.129302726751426]);\n ll = europe([-7.938886737126192, 43.72194613263854]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.012656899657046, 47.127733821030176]);\n ur = europe([-5.6105244772793155, 47.579777861410626]);\n ld = europe([-5.185993067168585, 45.756644248170346]);\n ll = europe([-8.427513749141811, 45.32889456686326]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.405747558985553, 48.26506375557457]);\n ur = europe([-5.896175018439575, 48.733352850851624]);\n ld = europe([-5.610524487556043, 47.57977790393761]);\n ll = europe([-9.012656913808351, 47.127733862971255]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([-9.908436061346974, 49.642448789505856]);\n ur = europe([-6.262026716233124, 50.131426841787174]);\n ld = europe([-5.896175029331232, 48.73335289377258]);\n ll = europe([-9.40574757396393, 48.26506379787767]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.996907706504462, 50.16039028163579]);\n ur = europe([15.649907879773343, 49.68279246765253]);\n ld = europe([15.156712840526632, 48.30371557625831]);\n ll = europe([11.64122661754411, 48.761078240546816]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.641226606955788, 48.7610781975889]);\n ur = europe([15.156712825832164, 48.30371553390465]);\n ld = europe([14.549932166241172, 46.4866532486199]);\n ll = europe([11.204443787952183, 46.91899233914248]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([11.204443778297161, 46.918992296823646]);\n ur = europe([14.549932152815039, 46.486653206856396]);\n ld = europe([13.994409796764009, 44.695833444323256]);\n ll = europe([10.805306599253848, 45.105133870684924]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.805306590412085, 45.10513382903308]);\n ur = europe([13.99440978444733, 44.695833403183606]);\n ld = europe([13.654633799024392, 43.53552468558152]);\n ll = europe([10.561516803980956, 43.930671459798624]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.561516795617383, 43.93067141859757]);\n ur = europe([13.654633787361952, 43.5355246448671]);\n ld = europe([12.867691604239901, 40.640701985019405]);\n ll = europe([9.997809515987688, 41.00288343254471]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([10.8, 42.4]);\n ur = europe([12.8, 42.13]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n };\n conicConformalFrance.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalFrance.scale(2700);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$8(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Portugal, configured by default for 960×500.\n function conicConformalEurope() {\n var cache, cacheStream, europe = d3Geo.geoConicConformal().rotate([-10, -53]).parallels([0, 60]), europePoint, guadeloupe = d3Geo.geoMercator().center([-61.46, 16.14]), guadeloupePoint, guyane = d3Geo.geoMercator().center([-53.2, 3.9]), guyanePoint, azores = d3Geo.geoConicConformal().rotate([27.8, -38.9]).parallels([0, 60]), azoresPoint, azores2 = d3Geo.geoConicConformal().rotate([25.43, -37.398]).parallels([0, 60]), azores2Point, azores3 = d3Geo.geoConicConformal().rotate([31.17, -39.539]).parallels([0, 60]), azores3Point, madeira = d3Geo.geoConicConformal().rotate([17, -32.7]).parallels([0, 60]), madeiraPoint, canaryIslands = d3Geo.geoConicConformal().rotate([16, -28.5]).parallels([0, 60]), canaryIslandsPoint, martinique = d3Geo.geoMercator().center([-61.03, 14.67]), martiniquePoint, mayotte = d3Geo.geoMercator().center([45.16, -12.8]), mayottePoint, reunion = d3Geo.geoMercator().center([55.52, -21.13]), reunionPoint, malta = d3Geo.geoConicConformal().rotate([-14.4, -35.95]).parallels([0, 60]), maltaPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n /*\n var europeBbox = [[-6.5, 51], [10, 41]];\n var guyaneBbox = [[-54.5, 6.29], [-50.9, 1.48]];\n */\n function conicConformalEurope(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (europePoint.point(x, y), point) ||\n (guyanePoint.point(x, y), point) ||\n (martiniquePoint.point(x, y), point) ||\n (guadeloupePoint.point(x, y), point) ||\n (canaryIslandsPoint.point(x, y), point) ||\n (madeiraPoint.point(x, y), point) ||\n (mayottePoint.point(x, y), point) ||\n (reunionPoint.point(x, y), point) ||\n (maltaPoint.point(x, y), point) ||\n (azoresPoint.point(x, y), point) ||\n (azores2Point.point(x, y), point) ||\n (azores3Point.point(x, y), point);\n }\n conicConformalEurope.invert = function (coordinates) {\n var k = europe.scale(), t = europe.translate(), x = (coordinates[0] - (t[0] + 0.08 * k)) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.31 && y < -0.24 && x >= 0.14 && x < 0.24 ? guadeloupe\n : y >= -0.24 && y < -0.17 && x >= 0.14 && x < 0.24 ? guyane\n : y >= -0.17 && y < -0.12 && x >= 0.21 && x < 0.24 ? azores2\n : y >= -0.17 && y < -0.14 && x >= 0.14 && x < 0.165 ? azores3\n : y >= -0.17 && y < -0.1 && x >= 0.14 && x < 0.24 ? azores\n : y >= -0.1 && y < -0.03 && x >= 0.14 && x < 0.24 ? madeira\n : y >= -0.03 && y < 0.04 && x >= 0.14 && x < 0.24 ? canaryIslands\n : y >= -0.31 && y < -0.24 && x >= 0.24 && x < 0.34 ? martinique\n : y >= -0.24 && y < -0.17 && x >= 0.24 && x < 0.34 ? mayotte\n : y >= -0.17 && y < -0.1 && x >= 0.24 && x < 0.34 ? reunion\n : y >= -0.1 && y < -0.03 && x >= 0.24 && x < 0.34 ? malta\n : europe).invert(coordinates);\n };\n conicConformalEurope.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$8([europe.stream(cacheStream = stream), guyane.stream(stream), martinique.stream(stream), guadeloupe.stream(stream), canaryIslands.stream(stream), madeira.stream(stream), mayotte.stream(stream), reunion.stream(stream), malta.stream(stream), azores.stream(stream), azores2.stream(stream), azores3.stream(stream)]);\n };\n conicConformalEurope.precision = function (_) {\n if (!arguments.length) {\n return europe.precision();\n }\n europe.precision(_);\n guyane.precision(_);\n martinique.precision(_);\n guadeloupe.precision(_);\n canaryIslands.precision(_);\n madeira.precision(_);\n mayotte.precision(_);\n reunion.precision(_);\n malta.precision(_);\n azores.precision(_);\n azores2.precision(_);\n azores3.precision(_);\n return reset();\n };\n conicConformalEurope.scale = function (_) {\n if (!arguments.length) {\n return europe.scale();\n }\n europe.scale(_);\n guadeloupe.scale(_ * 3);\n guyane.scale(_ * 0.8);\n martinique.scale(_ * 3.5);\n reunion.scale(_ * 2.7);\n azores.scale(_ * 2);\n azores2.scale(_ * 2);\n azores3.scale(_ * 2);\n madeira.scale(_ * 3);\n canaryIslands.scale(_);\n mayotte.scale(_ * 5.5);\n malta.scale(_ * 6);\n return conicConformalEurope.translate(europe.translate());\n };\n conicConformalEurope.translate = function (_) {\n if (!arguments.length) {\n return europe.translate();\n }\n var k = europe.scale(), x = +_[0], y = +_[1];\n europePoint = europe\n .translate([x - 0.08 * k, y])\n .clipExtent([[x - 0.51 * k, y - 0.33 * k], [x + 0.5 * k, y + 0.33 * k]])\n .stream(pointStream);\n guadeloupePoint = guadeloupe\n .translate([x + 0.19 * k, y - 0.275 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.31 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.24 * k - epsilon]])\n .stream(pointStream);\n guyanePoint = guyane\n .translate([x + 0.19 * k, y - 0.205 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.24 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.17 * k - epsilon]])\n .stream(pointStream);\n azoresPoint = azores\n .translate([x + 0.19 * k, y - 0.135 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.1 * k - epsilon]])\n .stream(pointStream);\n azores2Point = azores2\n .translate([x + 0.225 * k, y - 0.147 * k])\n .clipExtent([[x + 0.21 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.12 * k - epsilon]])\n .stream(pointStream);\n azores3Point = azores3\n .translate([x + 0.153 * k, y - 0.15 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.165 * k - epsilon, y - 0.14 * k - epsilon]])\n .stream(pointStream);\n madeiraPoint = madeira\n .translate([x + 0.19 * k, y - 0.065 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.1 * k + epsilon], [x + 0.24 * k - epsilon, y - 0.03 * k - epsilon]])\n .stream(pointStream);\n canaryIslandsPoint = canaryIslands\n .translate([x + 0.19 * k, y + 0.005 * k])\n .clipExtent([[x + 0.14 * k + epsilon, y - 0.03 * k + epsilon], [x + 0.24 * k - epsilon, y + 0.04 * k - epsilon]])\n .stream(pointStream);\n martiniquePoint = martinique\n .translate([x + 0.29 * k, y - 0.275 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.31 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.24 * k - epsilon]])\n .stream(pointStream);\n mayottePoint = mayotte\n .translate([x + 0.29 * k, y - 0.205 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.24 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.17 * k - epsilon]])\n .stream(pointStream);\n reunionPoint = reunion\n .translate([x + 0.29 * k, y - 0.135 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.17 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.1 * k - epsilon]])\n .stream(pointStream);\n maltaPoint = malta\n .translate([x + 0.29 * k, y - 0.065 * k])\n .clipExtent([[x + 0.24 * k + epsilon, y - 0.1 * k + epsilon], [x + 0.34 * k - epsilon, y - 0.03 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n conicConformalEurope.fitExtent = function (extent, object) {\n return fitExtent(conicConformalEurope, extent, object);\n };\n conicConformalEurope.fitSize = function (size, object) {\n return fitSize(conicConformalEurope, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalEurope;\n }\n conicConformalEurope.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [guyane, martinique, guadeloupe, canaryIslands, madeira, mayotte, reunion, malta, azores, azores2, azores3];\n for (var i in projs){\n var ul = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = europe.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = europe.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = europe([\"+ul+\"]);\");\n console.log(\"ur = europe([\"+ur+\"]);\");\n console.log(\"ld = europe([\"+ld+\"]);\");\n console.log(\"ll = europe([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = europe([42.45755610828648, 63.343658547914934]);\n ur = europe([52.65837266667029, 59.35045080290929]);\n ld = europe([47.19754502247785, 56.12653496548117]);\n ll = europe([37.673034273363044, 59.61638268506111]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([59.41110754003403, 62.35069727399336]);\n ur = europe([66.75050228640794, 57.11797303636038]);\n ld = europe([60.236065725110436, 54.63331433818992]);\n ll = europe([52.65837313153311, 59.350450804599355]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([48.81091130080243, 66.93353402634641]);\n ur = europe([59.41110730654679, 62.35069740653086]);\n ld = europe([52.6583728974441, 59.3504509222445]);\n ll = europe([42.45755631675751, 63.34365868805821]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([31.054198418446475, 52.1080673766184]);\n ur = europe([39.09869284884117, 49.400700047190554]);\n ld = europe([36.0580811499175, 46.02944174908498]);\n ll = europe([28.690508588835726, 48.433126979386415]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([33.977877745912025, 55.849945501331]);\n ur = europe([42.75328432167726, 52.78455122462353]);\n ld = europe([39.09869297540224, 49.400700176148625]);\n ll = europe([31.05419851807008, 52.10806751810923]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([52.658372900759296, 59.35045068526415]);\n ur = europe([60.23606549583304, 54.63331423800264]);\n ld = europe([54.6756370953122, 51.892298789399455]);\n ll = europe([47.19754524788189, 56.126534861222794]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([47.19754506082455, 56.126534735591456]);\n ur = europe([54.675636900123514, 51.892298681337095]);\n ld = europe([49.94448648951486, 48.98775484983285]);\n ll = europe([42.75328468716108, 52.78455126060818]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([42.75328453416769, 52.78455113209101]);\n ur = europe([49.94448632339758, 48.98775473706457]);\n ld = europe([45.912339990394315, 45.99361784987003]);\n ll = europe([39.09869317356607, 49.40070009378711]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([37.673034114296634, 59.61638254183119]);\n ur = europe([47.197544835420544, 56.126534839849846]);\n ld = europe([42.75328447467064, 52.78455135314068]);\n ll = europe([33.977877870363905, 55.849945644671145]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([44.56748486446032, 57.26489367845818]);\n ld = europe([43.9335791193588, 53.746540942601726]);\n ll = europe([43, 56]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = europe([37.673034114296634, 59.61638254183119]);\n ur = europe([40.25902691953466, 58.83002044222639]);\n ld = europe([38.458270492742024, 57.26232178028002]);\n ll = europe([35.97754948030156, 58.00266637992386]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n conicConformalEurope.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalEurope.scale(750);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$9(streams) {\n var n = streams.length;\n return {\n point: function (x, y) {\n var i = -1;\n while (++i < n) {\n streams[i].point(x, y);\n }\n },\n sphere: function () {\n var i = -1;\n while (++i < n) {\n streams[i].sphere();\n }\n },\n lineStart: function () {\n var i = -1;\n while (++i < n) {\n streams[i].lineStart();\n }\n },\n lineEnd: function () {\n var i = -1;\n while (++i < n) {\n streams[i].lineEnd();\n }\n },\n polygonStart: function () {\n var i = -1;\n while (++i < n) {\n streams[i].polygonStart();\n }\n },\n polygonEnd: function () {\n var i = -1;\n while (++i < n) {\n streams[i].polygonEnd();\n }\n },\n };\n }\n // A composite projection for the Netherlands, configured by default for 960×500.\n function conicConformalNetherlands() {\n var cache, cacheStream, netherlandsMainland = d3Geo.geoConicConformal().rotate([-5.50, -52.20]).parallels([0, 60]), netherlandsMainlandPoint, bonaire = d3Geo.geoMercator().center([-68.25, 12.20]), bonairePoint, sabaSintEustatius = d3Geo.geoMercator().center([-63.10, 17.50]), sabaSintEustatiusPoint, point, pointStream = {\n point: function (x, y) {\n point = [x, y];\n },\n };\n function conicConformalNetherlands(coordinates) {\n var _a = tslib_1.__read(coordinates, 2), x = _a[0], y = _a[1];\n return ((point = null),\n (netherlandsMainlandPoint.point(x, y), point) ||\n (bonairePoint.point(x, y), point) ||\n (sabaSintEustatiusPoint.point(x, y), point));\n }\n conicConformalNetherlands.invert = function (coordinates) {\n var k = netherlandsMainland.scale(), t = netherlandsMainland.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.0067 && y < 0.0015 && x >= -0.0232 && x < -0.0154\n ? bonaire\n : y >= -0.022 && y < -0.014 && x >= -0.023 && x < -0.014\n ? sabaSintEustatius\n : netherlandsMainland).invert(coordinates);\n };\n conicConformalNetherlands.stream = function (stream) {\n return cache && cacheStream === stream\n ? cache\n : (cache = multiplex$9([\n netherlandsMainland.stream((cacheStream = stream)),\n bonaire.stream(stream),\n sabaSintEustatius.stream(stream),\n ]));\n };\n conicConformalNetherlands.precision = function (_) {\n if (!arguments.length)\n return netherlandsMainland.precision();\n netherlandsMainland.precision(_);\n bonaire.precision(_);\n sabaSintEustatius.precision(_);\n return reset();\n };\n conicConformalNetherlands.scale = function (_) {\n if (!arguments.length)\n return netherlandsMainland.scale();\n netherlandsMainland.scale(_);\n bonaire.scale(_);\n sabaSintEustatius.scale(_);\n return conicConformalNetherlands.translate(netherlandsMainland.translate());\n };\n conicConformalNetherlands.translate = function (_) {\n if (!arguments.length)\n return netherlandsMainland.translate();\n var k = netherlandsMainland.scale(), x = +_[0], y = +_[1];\n netherlandsMainlandPoint = netherlandsMainland\n .translate(_)\n .clipExtent([\n [x - 0.0245 * k, y - 0.0260 * k],\n [x + 0.0230 * k, y + 0.0260 * k],\n ])\n .stream(pointStream);\n bonairePoint = bonaire\n .translate([x - 0.0186 * k, y - 0.00325 * k])\n .clipExtent([\n [x - 0.0232 * k + epsilon, y - 0.0067 * k + epsilon],\n [x - 0.0154 * k - epsilon, y + 0.0015 * k - epsilon],\n ])\n .stream(pointStream);\n sabaSintEustatiusPoint = sabaSintEustatius\n .translate([x - 0.0185 * k, y - 0.017 * k])\n .clipExtent([\n [x - 0.023 * k + epsilon, y - 0.022 * k + epsilon],\n [x - 0.014 * k - epsilon, y - 0.014 * k - epsilon],\n ])\n .stream(pointStream);\n return reset();\n };\n conicConformalNetherlands.fitExtent = function (extent, object) {\n return fitExtent(conicConformalNetherlands, extent, object);\n };\n conicConformalNetherlands.fitSize = function (size, object) {\n return fitSize(conicConformalNetherlands, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return conicConformalNetherlands;\n }\n conicConformalNetherlands.drawCompositionBorders = function (context) {\n /*\n console.table({\n \"Clip extent\": [\"Bonaire\", bonaire.clipExtent()],\n \"UL BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[0][0], bonaire.clipExtent()[0][1]]),\n \"UR BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[1][0], bonaire.clipExtent()[0][1]]),\n \"LD BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[1][0], bonaire.clipExtent()[1][1]]),\n \"LL BBOX:\": netherlandsMainland.invert([bonaire.clipExtent()[0][0], bonaire.clipExtent()[1][1]])\n });\n \n console.table({\n \"Clip extent\": [\"Saba & Sint Eustatius\", sabaSintEustatius.clipExtent()],\n \"UL BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[0][0], sabaSintEustatius.clipExtent()[0][1]]),\n \"UR BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[1][0], sabaSintEustatius.clipExtent()[0][1]]),\n \"LD BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[1][0], sabaSintEustatius.clipExtent()[1][1]]),\n \"LL BBOX:\": netherlandsMainland.invert([sabaSintEustatius.clipExtent()[0][0], sabaSintEustatius.clipExtent()[1][1]])\n });\n */\n var ulbonaire = netherlandsMainland([3.30573, 52.5562]);\n var urbonaire = netherlandsMainland([4.0430, 52.5720]);\n var ldbonaire = netherlandsMainland([4.0646, 52.1017]);\n var llbonaire = netherlandsMainland([3.3382, 52.0861]);\n var ulsabaSintEustatius = netherlandsMainland([3.2620, 53.4390]);\n var ursabaSintEustatius = netherlandsMainland([4.1373, 53.4571]);\n var ldsabaSintEustatius = netherlandsMainland([4.1574, 52.9946]);\n var llsabaSintEustatius = netherlandsMainland([3.2951, 52.9768]);\n context.moveTo(ulbonaire[0], ulbonaire[1]);\n context.lineTo(urbonaire[0], urbonaire[1]);\n context.lineTo(ldbonaire[0], ldbonaire[1]);\n context.lineTo(ldbonaire[0], ldbonaire[1]);\n context.lineTo(llbonaire[0], llbonaire[1]);\n context.closePath();\n context.moveTo(ulsabaSintEustatius[0], ulsabaSintEustatius[1]);\n context.lineTo(ursabaSintEustatius[0], ursabaSintEustatius[1]);\n context.lineTo(ldsabaSintEustatius[0], ldsabaSintEustatius[1]);\n context.lineTo(ldsabaSintEustatius[0], ldsabaSintEustatius[1]);\n context.lineTo(llsabaSintEustatius[0], llsabaSintEustatius[1]);\n context.closePath();\n };\n conicConformalNetherlands.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return conicConformalNetherlands.scale(4200);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$a(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Malaysia, configured by default for 960×500.\n function mercatorMalaysia() {\n var cache, cacheStream, peninsular = d3Geo.geoMercator().center([105.25, 4.00]), peninsularPoint, borneo = d3Geo.geoMercator().center([118.65, 2.86]), borneoPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function mercatorMalaysia(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (peninsularPoint.point(x, y), point) ||\n (borneoPoint.point(x, y), point);\n }\n mercatorMalaysia.invert = function (coordinates) {\n var k = peninsular.scale(), t = peninsular.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.0521 && y < 0.0229 && x >= -0.0111 && x < 0.1000 ? borneo\n : peninsular).invert(coordinates);\n };\n mercatorMalaysia.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$a([peninsular.stream(cacheStream = stream), borneo.stream(stream)]);\n };\n mercatorMalaysia.precision = function (_) {\n if (!arguments.length) {\n return peninsular.precision();\n }\n peninsular.precision(_);\n borneo.precision(_);\n return reset();\n };\n mercatorMalaysia.scale = function (_) {\n if (!arguments.length) {\n return peninsular.scale();\n }\n peninsular.scale(_);\n borneo.scale(_ * 0.615);\n return mercatorMalaysia.translate(peninsular.translate());\n };\n mercatorMalaysia.translate = function (_) {\n if (!arguments.length) {\n return peninsular.translate();\n }\n var k = peninsular.scale(), x = +_[0], y = +_[1];\n peninsularPoint = peninsular\n .translate(_)\n .clipExtent([[x - 0.1100 * k, y - 0.0521 * k], [x - 0.0111 * k, y + 0.0521 * k]])\n .stream(pointStream);\n borneoPoint = borneo\n .translate([x + 0.09000 * k, y - 0.00 * k])\n .clipExtent([[x - 0.0111 * k + epsilon, y - 0.0521 * k + epsilon], [x + 0.1000 * k - epsilon, y + 0.024 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorMalaysia.fitExtent = function (extent, object) {\n return fitExtent(mercatorMalaysia, extent, object);\n };\n mercatorMalaysia.fitSize = function (size, object) {\n return fitSize(mercatorMalaysia, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorMalaysia;\n }\n mercatorMalaysia.drawCompositionBorders = function (context) {\n var llbor = peninsular([106.3214, 2.0228]);\n var lmbor = peninsular([105.1843, 2.3761]);\n var lrbor = peninsular([104.2151, 3.3618]);\n var llrbor = peninsular([104.2150, 4.5651]);\n context.moveTo(llbor[0], llbor[1]);\n context.lineTo(lmbor[0], lmbor[1]);\n context.lineTo(lrbor[0], lrbor[1]);\n context.lineTo(llrbor[0], llrbor[1]);\n };\n mercatorMalaysia.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorMalaysia.scale(4800);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex$b(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n) {\n streams[i].point(x, y);\n } },\n sphere: function () { var i = -1; while (++i < n) {\n streams[i].sphere();\n } },\n lineStart: function () { var i = -1; while (++i < n) {\n streams[i].lineStart();\n } },\n lineEnd: function () { var i = -1; while (++i < n) {\n streams[i].lineEnd();\n } },\n polygonStart: function () { var i = -1; while (++i < n) {\n streams[i].polygonStart();\n } },\n polygonEnd: function () { var i = -1; while (++i < n) {\n streams[i].polygonEnd();\n } }\n };\n }\n // A composite projection for Equatorial Guinea, configured by default for 960×500.\n function mercatorEquatorialGuinea() {\n var cache, cacheStream, continent = d3Geo.geoMercator().rotate([-9.5, -1.5]), continentPoint, bioko = d3Geo.geoMercator().rotate([-8.6, -3.5]), biokoPoint, annobon = d3Geo.geoMercator().rotate([-5.6, 1.45]), annobonPoint, point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function mercatorEquatorialGuinea(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (continentPoint.point(x, y), point) ||\n (biokoPoint.point(x, y), point) ||\n (annobonPoint.point(x, y), point);\n }\n mercatorEquatorialGuinea.invert = function (coordinates) {\n var k = continent.scale(), t = continent.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.02 && y < 0 && x >= -0.038 && x < -0.005 ? bioko\n : y >= 0 && y < 0.02 && x >= -0.038 && x < -0.005 ? annobon\n : continent).invert(coordinates);\n };\n mercatorEquatorialGuinea.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex$b([continent.stream(cacheStream = stream), bioko.stream(stream), annobon.stream(stream)]);\n };\n mercatorEquatorialGuinea.precision = function (_) {\n if (!arguments.length) {\n return continent.precision();\n }\n continent.precision(_);\n bioko.precision(_);\n annobon.precision(_);\n return reset();\n };\n mercatorEquatorialGuinea.scale = function (_) {\n if (!arguments.length) {\n return continent.scale();\n }\n continent.scale(_);\n bioko.scale(_ * 1.5);\n annobon.scale(_ * 4);\n return mercatorEquatorialGuinea.translate(continent.translate());\n };\n mercatorEquatorialGuinea.translate = function (_) {\n if (!arguments.length) {\n return continent.translate();\n }\n var k = continent.scale(), x = +_[0], y = +_[1];\n continentPoint = continent\n .translate(_)\n .clipExtent([[x - 0.005 * k, y - 0.02 * k], [x + 0.038 * k, y + 0.02 * k]])\n .stream(pointStream);\n biokoPoint = bioko\n .translate([x - 0.025 * k, y - 0.01 * k])\n .clipExtent([[x - 0.038 * k + epsilon, y - 0.02 * k + epsilon], [x - 0.005 * k - epsilon, y + 0 * k - epsilon]])\n .stream(pointStream);\n annobonPoint = annobon\n .translate([x - 0.025 * k, y + 0.01 * k])\n .clipExtent([[x - 0.038 * k + epsilon, y - 0 * k + epsilon], [x - 0.005 * k - epsilon, y + 0.02 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n mercatorEquatorialGuinea.fitExtent = function (extent, object) {\n return fitExtent(mercatorEquatorialGuinea, extent, object);\n };\n mercatorEquatorialGuinea.fitSize = function (size, object) {\n return fitSize(mercatorEquatorialGuinea, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return mercatorEquatorialGuinea;\n }\n mercatorEquatorialGuinea.drawCompositionBorders = function (context) {\n /*\n console.log(\"var ul, ur, ld, ll;\");\n var projs = [continent, bioko, annobon];\n for (var i in projs){\n var ul = continent.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[0][1]]);\n var ur = continent.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[0][1]]);\n var ld = continent.invert([projs[i].clipExtent()[1][0], projs[i].clipExtent()[1][1]]);\n var ll = continent.invert([projs[i].clipExtent()[0][0], projs[i].clipExtent()[1][1]]);\n \n console.log(\"ul = continent([\"+ul+\"]);\");\n console.log(\"ur = continent([\"+ur+\"]);\");\n console.log(\"ld = continent([\"+ld+\"]);\");\n console.log(\"ll = continent([\"+ll+\"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");\n \n }*/\n var ul, ur, ld, ll;\n ul = continent([9.21327272751682, 2.645820439454123]);\n ur = continent([11.679126293239872, 2.644755519268689]);\n ld = continent([11.676845389029227, 0.35307824637606433]);\n ll = continent([9.213572917774014, 0.35414205204417754]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = continent([7.320873711543669, 2.64475551449975]);\n ur = continent([9.213272722738658, 2.645820434679803]);\n ld = continent([9.213422896480349, 1.4999812505283054]);\n ll = continent([7.322014760520787, 1.4989168878985566]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n ul = continent([7.3220147605302905, 1.4989168783492766]);\n ur = continent([9.213422896481598, 1.499981240979021]);\n ld = continent([9.213572912999604, 0.354142056817247]);\n ll = continent([7.323154615739809, 0.353078251154504]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n mercatorEquatorialGuinea.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return mercatorEquatorialGuinea.scale(12000);\n }\n function multiplex$c(streams) {\n var n = streams.length;\n return {\n point: function (x, y) {\n var i = -1;\n while (++i < n)\n streams[i].point(x, y);\n },\n sphere: function () {\n var i = -1;\n while (++i < n)\n streams[i].sphere();\n },\n lineStart: function () {\n var i = -1;\n while (++i < n)\n streams[i].lineStart();\n },\n lineEnd: function () {\n var i = -1;\n while (++i < n)\n streams[i].lineEnd();\n },\n polygonStart: function () {\n var i = -1;\n while (++i < n)\n streams[i].polygonStart();\n },\n polygonEnd: function () {\n var i = -1;\n while (++i < n)\n streams[i].polygonEnd();\n }\n };\n }\n function albersUk() {\n var cache, cacheStream, main = d3Geo.geoAlbers()\n .rotate([4.4, 0.8])\n .center([0, 55.4])\n .parallels([50, 60]), mainPoint, shetland = d3Geo.geoAlbers()\n .rotate([4.4, 0.8])\n .center([0, 55.4])\n .parallels([50, 60]), shetlandPoint, point, pointStream = {\n point: function (x, y) {\n point = [x, y];\n }\n };\n function albersUk(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return ((point = null),\n (mainPoint.point(x, y), point) || (shetlandPoint.point(x, y), point));\n }\n albersUk.invert = function (coordinates) {\n var k = main.scale(), t = main.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= -0.089 && y < 0.06 && x >= 0.029 && x < 0.046\n ? shetland\n : main).invert(coordinates);\n };\n albersUk.stream = function (stream) {\n return cache && cacheStream === stream\n ? cache\n : (cache = multiplex$c([\n main.stream((cacheStream = stream)),\n shetland.stream(stream)\n ]));\n };\n albersUk.precision = function (_) {\n if (!arguments.length)\n return main.precision();\n main.precision(_), shetland.precision(_);\n return reset();\n };\n albersUk.scale = function (_) {\n if (!arguments.length)\n return main.scale();\n main.scale(_), shetland.scale(_);\n return albersUk.translate(main.translate());\n };\n albersUk.translate = function (_) {\n if (!arguments.length)\n return main.translate();\n var k = main.scale(), x = +_[0], y = +_[1];\n mainPoint = main\n .translate(_)\n .clipExtent([\n [x - 0.065 * k, y - 0.089 * k],\n [x + 0.075 * k, y + 0.089 * k]\n ])\n .stream(pointStream);\n shetlandPoint = shetland\n .translate([x + 0.01 * k, y + 0.025 * k])\n .clipExtent([\n [x + 0.029 * k + epsilon, y - 0.089 * k + epsilon],\n [x + 0.046 * k - epsilon, y - 0.06 * k - epsilon]\n ])\n .stream(pointStream);\n return reset();\n };\n albersUk.fitExtent = function (extent, object) {\n return fitExtent(albersUk, extent, object);\n };\n albersUk.fitSize = function (size, object) {\n return fitSize(albersUk, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUk;\n }\n albersUk.drawCompositionBorders = function (context) {\n /*var ul = main.invert([\n shetland.clipExtent()[0][0],\n shetland.clipExtent()[0][1]\n ]);\n var ur = main.invert([\n shetland.clipExtent()[1][0],\n shetland.clipExtent()[0][1]\n ]);\n var ld = main.invert([\n shetland.clipExtent()[1][0],\n shetland.clipExtent()[1][1]\n ]);\n var ll = main.invert([\n shetland.clipExtent()[0][0],\n shetland.clipExtent()[1][1]\n ]);\n \n console.log(\"ul = main([\" + ul + \"]);\");\n console.log(\"ur = main([\" + ur + \"]);\");\n console.log(\"ld = main([\" + ld + \"]);\");\n console.log(\"ll = main([\" + ll + \"]);\");\n \n console.log(\"context.moveTo(ul[0], ul[1]);\");\n console.log(\"context.lineTo(ur[0], ur[1]);\");\n console.log(\"context.lineTo(ld[0], ld[1]);\");\n console.log(\"context.lineTo(ll[0], ll[1]);\");\n console.log(\"context.closePath();\");*/\n var ul, ur, ld, ll;\n ul = main([-1.113205870242365, 59.64920050773357]);\n ur = main([0.807899092399606, 59.59085836472269]);\n ld = main([0.5778611961420386, 57.93467822832577]);\n ll = main([-1.25867782078448, 57.99029450085142]);\n context.moveTo(ul[0], ul[1]);\n context.lineTo(ur[0], ur[1]);\n context.lineTo(ld[0], ld[1]);\n context.lineTo(ll[0], ll[1]);\n context.closePath();\n };\n albersUk.getCompositionBorders = function () {\n var context = d3Path.path();\n this.drawCompositionBorders(context);\n return context.toString();\n };\n return albersUk.scale(2800);\n }\n exports.geoAlbersUk = albersUk;\n exports.geoAlbersUsa = albersUsa;\n exports.geoAlbersUsaTerritories = albersUsaTerritories;\n exports.geoConicConformalEurope = conicConformalEurope;\n exports.geoConicConformalFrance = conicConformalFrance;\n exports.geoConicConformalNetherlands = conicConformalNetherlands;\n exports.geoConicConformalPortugal = conicConformalPortugal;\n exports.geoConicConformalSpain = conicConformalSpain;\n exports.geoConicEquidistantJapan = conicEquidistantJapan;\n exports.geoMercatorEcuador = mercatorEcuador;\n exports.geoMercatorEquatorialGuinea = mercatorEquatorialGuinea;\n exports.geoMercatorMalaysia = mercatorMalaysia;\n exports.geoTransverseMercatorChile = transverseMercatorChile;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "index": 123, + "index2": 118, + "size": 68324, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerId": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerName": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "profile": { + "factory": 751, + "building": 448 + } + } + ], + "profile": { + "factory": 166, + "building": 267, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "module": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "moduleName": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "type": "cjs require", + "userRequest": "d3-array", + "loc": "3:84-103" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var tslib_1 = require(\"tslib\");\n// https://d3js.org/d3-array/ v2.12.1 Copyright 2021 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory(global.d3 = global.d3 || {}));\n}(this, (function (exports) {\n 'use strict';\n function ascending(a, b) {\n return a < b ? -1 : a > b ? 1 : a >= b ? 0 : NaN;\n }\n function bisector(f) {\n var delta = f;\n var compare = f;\n if (f.length === 1) {\n delta = function (d, x) { return f(d) - x; };\n compare = ascendingComparator(f);\n }\n function left(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = (lo + hi) >>> 1;\n if (compare(a[mid], x) < 0)\n lo = mid + 1;\n else\n hi = mid;\n }\n return lo;\n }\n function right(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n while (lo < hi) {\n var mid = (lo + hi) >>> 1;\n if (compare(a[mid], x) > 0)\n hi = mid;\n else\n lo = mid + 1;\n }\n return lo;\n }\n function center(a, x, lo, hi) {\n if (lo == null)\n lo = 0;\n if (hi == null)\n hi = a.length;\n var i = left(a, x, lo, hi - 1);\n return i > lo && delta(a[i - 1], x) > -delta(a[i], x) ? i - 1 : i;\n }\n return { left: left, center: center, right: right };\n }\n function ascendingComparator(f) {\n return function (d, x) { return ascending(f(d), x); };\n }\n function number(x) {\n return x === null ? NaN : +x;\n }\n function numbers(values, valueof) {\n var values_1, values_1_1, value, e_1_1, index_1, values_2, values_2_1, value, e_2_1;\n var e_1, _a, e_2, _b;\n return tslib_1.__generator(this, function (_c) {\n switch (_c.label) {\n case 0:\n if (!(valueof === undefined)) return [3 /*break*/, 9];\n _c.label = 1;\n case 1:\n _c.trys.push([1, 6, 7, 8]);\n values_1 = tslib_1.__values(values), values_1_1 = values_1.next();\n _c.label = 2;\n case 2:\n if (!!values_1_1.done) return [3 /*break*/, 5];\n value = values_1_1.value;\n if (!(value != null && (value = +value) >= value)) return [3 /*break*/, 4];\n return [4 /*yield*/, value];\n case 3:\n _c.sent();\n _c.label = 4;\n case 4:\n values_1_1 = values_1.next();\n return [3 /*break*/, 2];\n case 5: return [3 /*break*/, 8];\n case 6:\n e_1_1 = _c.sent();\n e_1 = { error: e_1_1 };\n return [3 /*break*/, 8];\n case 7:\n try {\n if (values_1_1 && !values_1_1.done && (_a = values_1.return)) _a.call(values_1);\n }\n finally { if (e_1) throw e_1.error; }\n return [7 /*endfinally*/];\n case 8: return [3 /*break*/, 17];\n case 9:\n index_1 = -1;\n _c.label = 10;\n case 10:\n _c.trys.push([10, 15, 16, 17]);\n values_2 = tslib_1.__values(values), values_2_1 = values_2.next();\n _c.label = 11;\n case 11:\n if (!!values_2_1.done) return [3 /*break*/, 14];\n value = values_2_1.value;\n if (!((value = valueof(value, ++index_1, values)) != null && (value = +value) >= value)) return [3 /*break*/, 13];\n return [4 /*yield*/, value];\n case 12:\n _c.sent();\n _c.label = 13;\n case 13:\n values_2_1 = values_2.next();\n return [3 /*break*/, 11];\n case 14: return [3 /*break*/, 17];\n case 15:\n e_2_1 = _c.sent();\n e_2 = { error: e_2_1 };\n return [3 /*break*/, 17];\n case 16:\n try {\n if (values_2_1 && !values_2_1.done && (_b = values_2.return)) _b.call(values_2);\n }\n finally { if (e_2) throw e_2.error; }\n return [7 /*endfinally*/];\n case 17: return [2 /*return*/];\n }\n });\n }\n var ascendingBisect = bisector(ascending);\n var bisectRight = ascendingBisect.right;\n var bisectLeft = ascendingBisect.left;\n var bisectCenter = bisector(number).center;\n function count(values, valueof) {\n var e_3, _a, e_4, _b;\n var count = 0;\n if (valueof === undefined) {\n try {\n for (var values_3 = tslib_1.__values(values), values_3_1 = values_3.next(); !values_3_1.done; values_3_1 = values_3.next()) {\n var value = values_3_1.value;\n if (value != null && (value = +value) >= value) {\n ++count;\n }\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (values_3_1 && !values_3_1.done && (_a = values_3.return)) _a.call(values_3);\n }\n finally { if (e_3) throw e_3.error; }\n }\n }\n else {\n var index_2 = -1;\n try {\n for (var values_4 = tslib_1.__values(values), values_4_1 = values_4.next(); !values_4_1.done; values_4_1 = values_4.next()) {\n var value = values_4_1.value;\n if ((value = valueof(value, ++index_2, values)) != null && (value = +value) >= value) {\n ++count;\n }\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (values_4_1 && !values_4_1.done && (_b = values_4.return)) _b.call(values_4);\n }\n finally { if (e_4) throw e_4.error; }\n }\n }\n return count;\n }\n function length$1(array) {\n return array.length | 0;\n }\n function empty(length) {\n return !(length > 0);\n }\n function arrayify(values) {\n return typeof values !== \"object\" || \"length\" in values ? values : Array.from(values);\n }\n function reducer(reduce) {\n return function (values) { return reduce.apply(void 0, tslib_1.__spreadArray([], tslib_1.__read(values), false)); };\n }\n function cross() {\n var values = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n values[_i] = arguments[_i];\n }\n var reduce = typeof values[values.length - 1] === \"function\" && reducer(values.pop());\n values = values.map(arrayify);\n var lengths = values.map(length$1);\n var j = values.length - 1;\n var index = new Array(j + 1).fill(0);\n var product = [];\n if (j < 0 || lengths.some(empty))\n return product;\n while (true) {\n product.push(index.map(function (j, i) { return values[i][j]; }));\n var i = j;\n while (++index[i] === lengths[i]) {\n if (i === 0)\n return reduce ? product.map(reduce) : product;\n index[i--] = 0;\n }\n }\n }\n function cumsum(values, valueof) {\n var sum = 0, index = 0;\n return Float64Array.from(values, valueof === undefined\n ? function (v) { return (sum += +v || 0); }\n : function (v) { return (sum += +valueof(v, index++, values) || 0); });\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function variance(values, valueof) {\n var e_5, _a, e_6, _b;\n var count = 0;\n var delta;\n var mean = 0;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_5 = tslib_1.__values(values), values_5_1 = values_5.next(); !values_5_1.done; values_5_1 = values_5.next()) {\n var value = values_5_1.value;\n if (value != null && (value = +value) >= value) {\n delta = value - mean;\n mean += delta / ++count;\n sum += delta * (value - mean);\n }\n }\n }\n catch (e_5_1) { e_5 = { error: e_5_1 }; }\n finally {\n try {\n if (values_5_1 && !values_5_1.done && (_a = values_5.return)) _a.call(values_5);\n }\n finally { if (e_5) throw e_5.error; }\n }\n }\n else {\n var index_3 = -1;\n try {\n for (var values_6 = tslib_1.__values(values), values_6_1 = values_6.next(); !values_6_1.done; values_6_1 = values_6.next()) {\n var value = values_6_1.value;\n if ((value = valueof(value, ++index_3, values)) != null && (value = +value) >= value) {\n delta = value - mean;\n mean += delta / ++count;\n sum += delta * (value - mean);\n }\n }\n }\n catch (e_6_1) { e_6 = { error: e_6_1 }; }\n finally {\n try {\n if (values_6_1 && !values_6_1.done && (_b = values_6.return)) _b.call(values_6);\n }\n finally { if (e_6) throw e_6.error; }\n }\n }\n if (count > 1)\n return sum / (count - 1);\n }\n function deviation(values, valueof) {\n var v = variance(values, valueof);\n return v ? Math.sqrt(v) : v;\n }\n function extent(values, valueof) {\n var e_7, _a, e_8, _b;\n var min;\n var max;\n if (valueof === undefined) {\n try {\n for (var values_7 = tslib_1.__values(values), values_7_1 = values_7.next(); !values_7_1.done; values_7_1 = values_7.next()) {\n var value = values_7_1.value;\n if (value != null) {\n if (min === undefined) {\n if (value >= value)\n min = max = value;\n }\n else {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n catch (e_7_1) { e_7 = { error: e_7_1 }; }\n finally {\n try {\n if (values_7_1 && !values_7_1.done && (_a = values_7.return)) _a.call(values_7);\n }\n finally { if (e_7) throw e_7.error; }\n }\n }\n else {\n var index_4 = -1;\n try {\n for (var values_8 = tslib_1.__values(values), values_8_1 = values_8.next(); !values_8_1.done; values_8_1 = values_8.next()) {\n var value = values_8_1.value;\n if ((value = valueof(value, ++index_4, values)) != null) {\n if (min === undefined) {\n if (value >= value)\n min = max = value;\n }\n else {\n if (min > value)\n min = value;\n if (max < value)\n max = value;\n }\n }\n }\n }\n catch (e_8_1) { e_8 = { error: e_8_1 }; }\n finally {\n try {\n if (values_8_1 && !values_8_1.done && (_b = values_8.return)) _b.call(values_8);\n }\n finally { if (e_8) throw e_8.error; }\n }\n }\n return [min, max];\n }\n // https://github.com/python/cpython/blob/a74eea238f5baba15797e2e8b570d153bc8690a7/Modules/mathmodule.c#L1423\n var Adder = /** @class */ (function () {\n function Adder() {\n this._partials = new Float64Array(32);\n this._n = 0;\n }\n Adder.prototype.add = function (x) {\n var p = this._partials;\n var i = 0;\n for (var j = 0; j < this._n && j < 32; j++) {\n var y = p[j], hi = x + y, lo = Math.abs(x) < Math.abs(y) ? x - (hi - y) : y - (hi - x);\n if (lo)\n p[i++] = lo;\n x = hi;\n }\n p[i] = x;\n this._n = i + 1;\n return this;\n };\n Adder.prototype.valueOf = function () {\n var p = this._partials;\n var n = this._n, x, y, lo, hi = 0;\n if (n > 0) {\n hi = p[--n];\n while (n > 0) {\n x = hi;\n y = p[--n];\n hi = x + y;\n lo = y - (hi - x);\n if (lo)\n break;\n }\n if (n > 0 && ((lo < 0 && p[n - 1] < 0) || (lo > 0 && p[n - 1] > 0))) {\n y = lo * 2;\n x = hi + y;\n if (y == x - hi)\n hi = x;\n }\n }\n return hi;\n };\n return Adder;\n }());\n function fsum(values, valueof) {\n var e_9, _a, e_10, _b;\n var adder = new Adder();\n if (valueof === undefined) {\n try {\n for (var values_9 = tslib_1.__values(values), values_9_1 = values_9.next(); !values_9_1.done; values_9_1 = values_9.next()) {\n var value = values_9_1.value;\n if (value = +value) {\n adder.add(value);\n }\n }\n }\n catch (e_9_1) { e_9 = { error: e_9_1 }; }\n finally {\n try {\n if (values_9_1 && !values_9_1.done && (_a = values_9.return)) _a.call(values_9);\n }\n finally { if (e_9) throw e_9.error; }\n }\n }\n else {\n var index_5 = -1;\n try {\n for (var values_10 = tslib_1.__values(values), values_10_1 = values_10.next(); !values_10_1.done; values_10_1 = values_10.next()) {\n var value = values_10_1.value;\n if (value = +valueof(value, ++index_5, values)) {\n adder.add(value);\n }\n }\n }\n catch (e_10_1) { e_10 = { error: e_10_1 }; }\n finally {\n try {\n if (values_10_1 && !values_10_1.done && (_b = values_10.return)) _b.call(values_10);\n }\n finally { if (e_10) throw e_10.error; }\n }\n }\n return +adder;\n }\n function fcumsum(values, valueof) {\n var adder = new Adder();\n var index = -1;\n return Float64Array.from(values, valueof === undefined\n ? function (v) { return adder.add(+v || 0); }\n : function (v) { return adder.add(+valueof(v, ++index, values) || 0); });\n }\n var InternMap = /** @class */ (function (_super) {\n tslib_1.__extends(InternMap, _super);\n function InternMap(entries, key) {\n var e_11, _a;\n if (key === void 0) { key = keyof; }\n var _this = _super.call(this) || this;\n Object.defineProperties(_this, { _intern: { value: new Map() }, _key: { value: key } });\n if (entries != null)\n try {\n for (var entries_1 = tslib_1.__values(entries), entries_1_1 = entries_1.next(); !entries_1_1.done; entries_1_1 = entries_1.next()) {\n var _b = tslib_1.__read(entries_1_1.value, 2), key_1 = _b[0], value = _b[1];\n _this.set(key_1, value);\n }\n }\n catch (e_11_1) { e_11 = { error: e_11_1 }; }\n finally {\n try {\n if (entries_1_1 && !entries_1_1.done && (_a = entries_1.return)) _a.call(entries_1);\n }\n finally { if (e_11) throw e_11.error; }\n }\n return _this;\n }\n InternMap.prototype.get = function (key) {\n return _super.prototype.get.call(this, intern_get(this, key));\n };\n InternMap.prototype.has = function (key) {\n return _super.prototype.has.call(this, intern_get(this, key));\n };\n InternMap.prototype.set = function (key, value) {\n return _super.prototype.set.call(this, intern_set(this, key), value);\n };\n InternMap.prototype.delete = function (key) {\n return _super.prototype.delete.call(this, intern_delete(this, key));\n };\n return InternMap;\n }(Map));\n var InternSet = /** @class */ (function (_super) {\n tslib_1.__extends(InternSet, _super);\n function InternSet(values, key) {\n var e_12, _a;\n if (key === void 0) { key = keyof; }\n var _this = _super.call(this) || this;\n Object.defineProperties(_this, { _intern: { value: new Map() }, _key: { value: key } });\n if (values != null)\n try {\n for (var values_11 = tslib_1.__values(values), values_11_1 = values_11.next(); !values_11_1.done; values_11_1 = values_11.next()) {\n var value = values_11_1.value;\n _this.add(value);\n }\n }\n catch (e_12_1) { e_12 = { error: e_12_1 }; }\n finally {\n try {\n if (values_11_1 && !values_11_1.done && (_a = values_11.return)) _a.call(values_11);\n }\n finally { if (e_12) throw e_12.error; }\n }\n return _this;\n }\n InternSet.prototype.has = function (value) {\n return _super.prototype.has.call(this, intern_get(this, value));\n };\n InternSet.prototype.add = function (value) {\n return _super.prototype.add.call(this, intern_set(this, value));\n };\n InternSet.prototype.delete = function (value) {\n return _super.prototype.delete.call(this, intern_delete(this, value));\n };\n return InternSet;\n }(Set));\n function intern_get(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n return _intern.has(key) ? _intern.get(key) : value;\n }\n function intern_set(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n if (_intern.has(key))\n return _intern.get(key);\n _intern.set(key, value);\n return value;\n }\n function intern_delete(_a, value) {\n var _intern = _a._intern, _key = _a._key;\n var key = _key(value);\n if (_intern.has(key)) {\n value = _intern.get(value);\n _intern.delete(key);\n }\n return value;\n }\n function keyof(value) {\n return value !== null && typeof value === \"object\" ? value.valueOf() : value;\n }\n function identity(x) {\n return x;\n }\n function group(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, identity, identity, keys);\n }\n function groups(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, Array.from, identity, keys);\n }\n function rollup(values, reduce) {\n var keys = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n keys[_i - 2] = arguments[_i];\n }\n return nest(values, identity, reduce, keys);\n }\n function rollups(values, reduce) {\n var keys = [];\n for (var _i = 2; _i < arguments.length; _i++) {\n keys[_i - 2] = arguments[_i];\n }\n return nest(values, Array.from, reduce, keys);\n }\n function index(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, identity, unique, keys);\n }\n function indexes(values) {\n var keys = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n keys[_i - 1] = arguments[_i];\n }\n return nest(values, Array.from, unique, keys);\n }\n function unique(values) {\n if (values.length !== 1)\n throw new Error(\"duplicate key\");\n return values[0];\n }\n function nest(values, map, reduce, keys) {\n return (function regroup(values, i) {\n var e_13, _a, e_14, _b;\n if (i >= keys.length)\n return reduce(values);\n var groups = new InternMap();\n var keyof = keys[i++];\n var index = -1;\n try {\n for (var values_12 = tslib_1.__values(values), values_12_1 = values_12.next(); !values_12_1.done; values_12_1 = values_12.next()) {\n var value = values_12_1.value;\n var key = keyof(value, ++index, values);\n var group_1 = groups.get(key);\n if (group_1)\n group_1.push(value);\n else\n groups.set(key, [value]);\n }\n }\n catch (e_13_1) { e_13 = { error: e_13_1 }; }\n finally {\n try {\n if (values_12_1 && !values_12_1.done && (_a = values_12.return)) _a.call(values_12);\n }\n finally { if (e_13) throw e_13.error; }\n }\n try {\n for (var groups_1 = tslib_1.__values(groups), groups_1_1 = groups_1.next(); !groups_1_1.done; groups_1_1 = groups_1.next()) {\n var _c = tslib_1.__read(groups_1_1.value, 2), key = _c[0], values_13 = _c[1];\n groups.set(key, regroup(values_13, i));\n }\n }\n catch (e_14_1) { e_14 = { error: e_14_1 }; }\n finally {\n try {\n if (groups_1_1 && !groups_1_1.done && (_b = groups_1.return)) _b.call(groups_1);\n }\n finally { if (e_14) throw e_14.error; }\n }\n return map(groups);\n })(values, 0);\n }\n function permute(source, keys) {\n return Array.from(keys, function (key) { return source[key]; });\n }\n function sort(values) {\n var F = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n F[_i - 1] = arguments[_i];\n }\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n values = Array.from(values);\n var _a = tslib_1.__read(F, 1), _b = _a[0], f = _b === void 0 ? ascending : _b;\n if (f.length === 1 || F.length > 1) {\n var index_6 = Uint32Array.from(values, function (d, i) { return i; });\n if (F.length > 1) {\n F = F.map(function (f) { return values.map(f); });\n index_6.sort(function (i, j) {\n var e_15, _a;\n try {\n for (var F_1 = tslib_1.__values(F), F_1_1 = F_1.next(); !F_1_1.done; F_1_1 = F_1.next()) {\n var f_1 = F_1_1.value;\n var c = ascending(f_1[i], f_1[j]);\n if (c)\n return c;\n }\n }\n catch (e_15_1) { e_15 = { error: e_15_1 }; }\n finally {\n try {\n if (F_1_1 && !F_1_1.done && (_a = F_1.return)) _a.call(F_1);\n }\n finally { if (e_15) throw e_15.error; }\n }\n });\n }\n else {\n f = values.map(f);\n index_6.sort(function (i, j) { return ascending(f[i], f[j]); });\n }\n return permute(values, index_6);\n }\n return values.sort(f);\n }\n function groupSort(values, reduce, key) {\n return (reduce.length === 1\n ? sort(rollup(values, reduce, key), (function (_a, _b) {\n var _c = tslib_1.__read(_a, 2), ak = _c[0], av = _c[1];\n var _d = tslib_1.__read(_b, 2), bk = _d[0], bv = _d[1];\n return ascending(av, bv) || ascending(ak, bk);\n }))\n : sort(group(values, key), (function (_a, _b) {\n var _c = tslib_1.__read(_a, 2), ak = _c[0], av = _c[1];\n var _d = tslib_1.__read(_b, 2), bk = _d[0], bv = _d[1];\n return reduce(av, bv) || ascending(ak, bk);\n })))\n .map(function (_a) {\n var _b = tslib_1.__read(_a, 1), key = _b[0];\n return key;\n });\n }\n var array = Array.prototype;\n var slice = array.slice;\n function constant(x) {\n return function () {\n return x;\n };\n }\n var e10 = Math.sqrt(50), e5 = Math.sqrt(10), e2 = Math.sqrt(2);\n function ticks(start, stop, count) {\n var reverse, i = -1, n, ticks, step;\n stop = +stop, start = +start, count = +count;\n if (start === stop && count > 0)\n return [start];\n if (reverse = stop < start)\n n = start, start = stop, stop = n;\n if ((step = tickIncrement(start, stop, count)) === 0 || !isFinite(step))\n return [];\n if (step > 0) {\n var r0 = Math.round(start / step), r1 = Math.round(stop / step);\n if (r0 * step < start)\n ++r0;\n if (r1 * step > stop)\n --r1;\n ticks = new Array(n = r1 - r0 + 1);\n while (++i < n)\n ticks[i] = (r0 + i) * step;\n }\n else {\n step = -step;\n var r0 = Math.round(start * step), r1 = Math.round(stop * step);\n if (r0 / step < start)\n ++r0;\n if (r1 / step > stop)\n --r1;\n ticks = new Array(n = r1 - r0 + 1);\n while (++i < n)\n ticks[i] = (r0 + i) / step;\n }\n if (reverse)\n ticks.reverse();\n return ticks;\n }\n function tickIncrement(start, stop, count) {\n var step = (stop - start) / Math.max(0, count), power = Math.floor(Math.log(step) / Math.LN10), error = step / Math.pow(10, power);\n return power >= 0\n ? (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1) * Math.pow(10, power)\n : -Math.pow(10, -power) / (error >= e10 ? 10 : error >= e5 ? 5 : error >= e2 ? 2 : 1);\n }\n function tickStep(start, stop, count) {\n var step0 = Math.abs(stop - start) / Math.max(0, count), step1 = Math.pow(10, Math.floor(Math.log(step0) / Math.LN10)), error = step0 / step1;\n if (error >= e10)\n step1 *= 10;\n else if (error >= e5)\n step1 *= 5;\n else if (error >= e2)\n step1 *= 2;\n return stop < start ? -step1 : step1;\n }\n function nice(start, stop, count) {\n var prestep;\n while (true) {\n var step = tickIncrement(start, stop, count);\n if (step === prestep || step === 0 || !isFinite(step)) {\n return [start, stop];\n }\n else if (step > 0) {\n start = Math.floor(start / step) * step;\n stop = Math.ceil(stop / step) * step;\n }\n else if (step < 0) {\n start = Math.ceil(start * step) / step;\n stop = Math.floor(stop * step) / step;\n }\n prestep = step;\n }\n }\n function sturges(values) {\n return Math.ceil(Math.log(count(values)) / Math.LN2) + 1;\n }\n function bin() {\n var value = identity, domain = extent, threshold = sturges;\n function histogram(data) {\n var _a;\n if (!Array.isArray(data))\n data = Array.from(data);\n var i, n = data.length, x, values = new Array(n);\n for (i = 0; i < n; ++i) {\n values[i] = value(data[i], i, data);\n }\n var xz = domain(values), x0 = xz[0], x1 = xz[1], tz = threshold(values, x0, x1);\n // Convert number of thresholds into uniform thresholds, and nice the\n // default domain accordingly.\n if (!Array.isArray(tz)) {\n var max_1 = x1, tn = +tz;\n if (domain === extent)\n _a = tslib_1.__read(nice(x0, x1, tn), 2), x0 = _a[0], x1 = _a[1];\n tz = ticks(x0, x1, tn);\n // If the last threshold is coincident with the domain’s upper bound, the\n // last bin will be zero-width. If the default domain is used, and this\n // last threshold is coincident with the maximum input value, we can\n // extend the niced upper bound by one tick to ensure uniform bin widths;\n // otherwise, we simply remove the last threshold. Note that we don’t\n // coerce values or the domain to numbers, and thus must be careful to\n // compare order (>=) rather than strict equality (===)!\n if (tz[tz.length - 1] >= x1) {\n if (max_1 >= x1 && domain === extent) {\n var step = tickIncrement(x0, x1, tn);\n if (isFinite(step)) {\n if (step > 0) {\n x1 = (Math.floor(x1 / step) + 1) * step;\n }\n else if (step < 0) {\n x1 = (Math.ceil(x1 * -step) + 1) / -step;\n }\n }\n }\n else {\n tz.pop();\n }\n }\n }\n // Remove any thresholds outside the domain.\n var m = tz.length;\n while (tz[0] <= x0)\n tz.shift(), --m;\n while (tz[m - 1] > x1)\n tz.pop(), --m;\n var bins = new Array(m + 1), bin;\n // Initialize bins.\n for (i = 0; i <= m; ++i) {\n bin = bins[i] = [];\n bin.x0 = i > 0 ? tz[i - 1] : x0;\n bin.x1 = i < m ? tz[i] : x1;\n }\n // Assign data to bins by value, ignoring any outside the domain.\n for (i = 0; i < n; ++i) {\n x = values[i];\n if (x0 <= x && x <= x1) {\n bins[bisectRight(tz, x, 0, m)].push(data[i]);\n }\n }\n return bins;\n }\n histogram.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(_), histogram) : value;\n };\n histogram.domain = function (_) {\n return arguments.length ? (domain = typeof _ === \"function\" ? _ : constant([_[0], _[1]]), histogram) : domain;\n };\n histogram.thresholds = function (_) {\n return arguments.length ? (threshold = typeof _ === \"function\" ? _ : Array.isArray(_) ? constant(slice.call(_)) : constant(_), histogram) : threshold;\n };\n return histogram;\n }\n function max(values, valueof) {\n var e_16, _a, e_17, _b;\n var max;\n if (valueof === undefined) {\n try {\n for (var values_14 = tslib_1.__values(values), values_14_1 = values_14.next(); !values_14_1.done; values_14_1 = values_14.next()) {\n var value = values_14_1.value;\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n catch (e_16_1) { e_16 = { error: e_16_1 }; }\n finally {\n try {\n if (values_14_1 && !values_14_1.done && (_a = values_14.return)) _a.call(values_14);\n }\n finally { if (e_16) throw e_16.error; }\n }\n }\n else {\n var index_7 = -1;\n try {\n for (var values_15 = tslib_1.__values(values), values_15_1 = values_15.next(); !values_15_1.done; values_15_1 = values_15.next()) {\n var value = values_15_1.value;\n if ((value = valueof(value, ++index_7, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value;\n }\n }\n }\n catch (e_17_1) { e_17 = { error: e_17_1 }; }\n finally {\n try {\n if (values_15_1 && !values_15_1.done && (_b = values_15.return)) _b.call(values_15);\n }\n finally { if (e_17) throw e_17.error; }\n }\n }\n return max;\n }\n function min(values, valueof) {\n var e_18, _a, e_19, _b;\n var min;\n if (valueof === undefined) {\n try {\n for (var values_16 = tslib_1.__values(values), values_16_1 = values_16.next(); !values_16_1.done; values_16_1 = values_16.next()) {\n var value = values_16_1.value;\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n catch (e_18_1) { e_18 = { error: e_18_1 }; }\n finally {\n try {\n if (values_16_1 && !values_16_1.done && (_a = values_16.return)) _a.call(values_16);\n }\n finally { if (e_18) throw e_18.error; }\n }\n }\n else {\n var index_8 = -1;\n try {\n for (var values_17 = tslib_1.__values(values), values_17_1 = values_17.next(); !values_17_1.done; values_17_1 = values_17.next()) {\n var value = values_17_1.value;\n if ((value = valueof(value, ++index_8, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value;\n }\n }\n }\n catch (e_19_1) { e_19 = { error: e_19_1 }; }\n finally {\n try {\n if (values_17_1 && !values_17_1.done && (_b = values_17.return)) _b.call(values_17);\n }\n finally { if (e_19) throw e_19.error; }\n }\n }\n return min;\n }\n // Based on https://github.com/mourner/quickselect\n // ISC license, Copyright 2018 Vladimir Agafonkin.\n function quickselect(array, k, left, right, compare) {\n if (left === void 0) { left = 0; }\n if (right === void 0) { right = array.length - 1; }\n if (compare === void 0) { compare = ascending; }\n while (right > left) {\n if (right - left > 600) {\n var n = right - left + 1;\n var m = k - left + 1;\n var z = Math.log(n);\n var s = 0.5 * Math.exp(2 * z / 3);\n var sd = 0.5 * Math.sqrt(z * s * (n - s) / n) * (m - n / 2 < 0 ? -1 : 1);\n var newLeft = Math.max(left, Math.floor(k - m * s / n + sd));\n var newRight = Math.min(right, Math.floor(k + (n - m) * s / n + sd));\n quickselect(array, k, newLeft, newRight, compare);\n }\n var t = array[k];\n var i = left;\n var j = right;\n swap(array, left, k);\n if (compare(array[right], t) > 0)\n swap(array, left, right);\n while (i < j) {\n swap(array, i, j), ++i, --j;\n while (compare(array[i], t) < 0)\n ++i;\n while (compare(array[j], t) > 0)\n --j;\n }\n if (compare(array[left], t) === 0)\n swap(array, left, j);\n else\n ++j, swap(array, j, right);\n if (j <= k)\n left = j + 1;\n if (k <= j)\n right = j - 1;\n }\n return array;\n }\n function swap(array, i, j) {\n var t = array[i];\n array[i] = array[j];\n array[j] = t;\n }\n function quantile(values, p, valueof) {\n values = Float64Array.from(numbers(values, valueof));\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return min(values);\n if (p >= 1)\n return max(values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = max(quickselect(values, i0).subarray(0, i0 + 1)), value1 = min(values.subarray(i0 + 1));\n return value0 + (value1 - value0) * (i - i0);\n }\n function quantileSorted(values, p, valueof) {\n if (valueof === void 0) { valueof = number; }\n if (!(n = values.length))\n return;\n if ((p = +p) <= 0 || n < 2)\n return +valueof(values[0], 0, values);\n if (p >= 1)\n return +valueof(values[n - 1], n - 1, values);\n var n, i = (n - 1) * p, i0 = Math.floor(i), value0 = +valueof(values[i0], i0, values), value1 = +valueof(values[i0 + 1], i0 + 1, values);\n return value0 + (value1 - value0) * (i - i0);\n }\n function freedmanDiaconis(values, min, max) {\n return Math.ceil((max - min) / (2 * (quantile(values, 0.75) - quantile(values, 0.25)) * Math.pow(count(values), -1 / 3)));\n }\n function scott(values, min, max) {\n return Math.ceil((max - min) / (3.5 * deviation(values) * Math.pow(count(values), -1 / 3)));\n }\n function maxIndex(values, valueof) {\n var e_20, _a, e_21, _b;\n var max;\n var maxIndex = -1;\n var index = -1;\n if (valueof === undefined) {\n try {\n for (var values_18 = tslib_1.__values(values), values_18_1 = values_18.next(); !values_18_1.done; values_18_1 = values_18.next()) {\n var value = values_18_1.value;\n ++index;\n if (value != null\n && (max < value || (max === undefined && value >= value))) {\n max = value, maxIndex = index;\n }\n }\n }\n catch (e_20_1) { e_20 = { error: e_20_1 }; }\n finally {\n try {\n if (values_18_1 && !values_18_1.done && (_a = values_18.return)) _a.call(values_18);\n }\n finally { if (e_20) throw e_20.error; }\n }\n }\n else {\n try {\n for (var values_19 = tslib_1.__values(values), values_19_1 = values_19.next(); !values_19_1.done; values_19_1 = values_19.next()) {\n var value = values_19_1.value;\n if ((value = valueof(value, ++index, values)) != null\n && (max < value || (max === undefined && value >= value))) {\n max = value, maxIndex = index;\n }\n }\n }\n catch (e_21_1) { e_21 = { error: e_21_1 }; }\n finally {\n try {\n if (values_19_1 && !values_19_1.done && (_b = values_19.return)) _b.call(values_19);\n }\n finally { if (e_21) throw e_21.error; }\n }\n }\n return maxIndex;\n }\n function mean(values, valueof) {\n var e_22, _a, e_23, _b;\n var count = 0;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_20 = tslib_1.__values(values), values_20_1 = values_20.next(); !values_20_1.done; values_20_1 = values_20.next()) {\n var value = values_20_1.value;\n if (value != null && (value = +value) >= value) {\n ++count, sum += value;\n }\n }\n }\n catch (e_22_1) { e_22 = { error: e_22_1 }; }\n finally {\n try {\n if (values_20_1 && !values_20_1.done && (_a = values_20.return)) _a.call(values_20);\n }\n finally { if (e_22) throw e_22.error; }\n }\n }\n else {\n var index_9 = -1;\n try {\n for (var values_21 = tslib_1.__values(values), values_21_1 = values_21.next(); !values_21_1.done; values_21_1 = values_21.next()) {\n var value = values_21_1.value;\n if ((value = valueof(value, ++index_9, values)) != null && (value = +value) >= value) {\n ++count, sum += value;\n }\n }\n }\n catch (e_23_1) { e_23 = { error: e_23_1 }; }\n finally {\n try {\n if (values_21_1 && !values_21_1.done && (_b = values_21.return)) _b.call(values_21);\n }\n finally { if (e_23) throw e_23.error; }\n }\n }\n if (count)\n return sum / count;\n }\n function median(values, valueof) {\n return quantile(values, 0.5, valueof);\n }\n function flatten(arrays) {\n var arrays_1, arrays_1_1, array_1, e_24_1;\n var e_24, _a;\n return tslib_1.__generator(this, function (_b) {\n switch (_b.label) {\n case 0:\n _b.trys.push([0, 5, 6, 7]);\n arrays_1 = tslib_1.__values(arrays), arrays_1_1 = arrays_1.next();\n _b.label = 1;\n case 1:\n if (!!arrays_1_1.done) return [3 /*break*/, 4];\n array_1 = arrays_1_1.value;\n return [5 /*yield**/, tslib_1.__values(array_1)];\n case 2:\n _b.sent();\n _b.label = 3;\n case 3:\n arrays_1_1 = arrays_1.next();\n return [3 /*break*/, 1];\n case 4: return [3 /*break*/, 7];\n case 5:\n e_24_1 = _b.sent();\n e_24 = { error: e_24_1 };\n return [3 /*break*/, 7];\n case 6:\n try {\n if (arrays_1_1 && !arrays_1_1.done && (_a = arrays_1.return)) _a.call(arrays_1);\n }\n finally { if (e_24) throw e_24.error; }\n return [7 /*endfinally*/];\n case 7: return [2 /*return*/];\n }\n });\n }\n function merge(arrays) {\n return Array.from(flatten(arrays));\n }\n function minIndex(values, valueof) {\n var e_25, _a, e_26, _b;\n var min;\n var minIndex = -1;\n var index = -1;\n if (valueof === undefined) {\n try {\n for (var values_22 = tslib_1.__values(values), values_22_1 = values_22.next(); !values_22_1.done; values_22_1 = values_22.next()) {\n var value = values_22_1.value;\n ++index;\n if (value != null\n && (min > value || (min === undefined && value >= value))) {\n min = value, minIndex = index;\n }\n }\n }\n catch (e_25_1) { e_25 = { error: e_25_1 }; }\n finally {\n try {\n if (values_22_1 && !values_22_1.done && (_a = values_22.return)) _a.call(values_22);\n }\n finally { if (e_25) throw e_25.error; }\n }\n }\n else {\n try {\n for (var values_23 = tslib_1.__values(values), values_23_1 = values_23.next(); !values_23_1.done; values_23_1 = values_23.next()) {\n var value = values_23_1.value;\n if ((value = valueof(value, ++index, values)) != null\n && (min > value || (min === undefined && value >= value))) {\n min = value, minIndex = index;\n }\n }\n }\n catch (e_26_1) { e_26 = { error: e_26_1 }; }\n finally {\n try {\n if (values_23_1 && !values_23_1.done && (_b = values_23.return)) _b.call(values_23);\n }\n finally { if (e_26) throw e_26.error; }\n }\n }\n return minIndex;\n }\n function pairs(values, pairof) {\n var e_27, _a;\n if (pairof === void 0) { pairof = pair; }\n var pairs = [];\n var previous;\n var first = false;\n try {\n for (var values_24 = tslib_1.__values(values), values_24_1 = values_24.next(); !values_24_1.done; values_24_1 = values_24.next()) {\n var value = values_24_1.value;\n if (first)\n pairs.push(pairof(previous, value));\n previous = value;\n first = true;\n }\n }\n catch (e_27_1) { e_27 = { error: e_27_1 }; }\n finally {\n try {\n if (values_24_1 && !values_24_1.done && (_a = values_24.return)) _a.call(values_24);\n }\n finally { if (e_27) throw e_27.error; }\n }\n return pairs;\n }\n function pair(a, b) {\n return [a, b];\n }\n function range(start, stop, step) {\n start = +start, stop = +stop, step = (n = arguments.length) < 2 ? (stop = start, start = 0, 1) : n < 3 ? 1 : +step;\n var i = -1, n = Math.max(0, Math.ceil((stop - start) / step)) | 0, range = new Array(n);\n while (++i < n) {\n range[i] = start + i * step;\n }\n return range;\n }\n function least(values, compare) {\n var e_28, _a, e_29, _b;\n if (compare === void 0) { compare = ascending; }\n var min;\n var defined = false;\n if (compare.length === 1) {\n var minValue = void 0;\n try {\n for (var values_25 = tslib_1.__values(values), values_25_1 = values_25.next(); !values_25_1.done; values_25_1 = values_25.next()) {\n var element = values_25_1.value;\n var value = compare(element);\n if (defined\n ? ascending(value, minValue) < 0\n : ascending(value, value) === 0) {\n min = element;\n minValue = value;\n defined = true;\n }\n }\n }\n catch (e_28_1) { e_28 = { error: e_28_1 }; }\n finally {\n try {\n if (values_25_1 && !values_25_1.done && (_a = values_25.return)) _a.call(values_25);\n }\n finally { if (e_28) throw e_28.error; }\n }\n }\n else {\n try {\n for (var values_26 = tslib_1.__values(values), values_26_1 = values_26.next(); !values_26_1.done; values_26_1 = values_26.next()) {\n var value = values_26_1.value;\n if (defined\n ? compare(value, min) < 0\n : compare(value, value) === 0) {\n min = value;\n defined = true;\n }\n }\n }\n catch (e_29_1) { e_29 = { error: e_29_1 }; }\n finally {\n try {\n if (values_26_1 && !values_26_1.done && (_b = values_26.return)) _b.call(values_26);\n }\n finally { if (e_29) throw e_29.error; }\n }\n }\n return min;\n }\n function leastIndex(values, compare) {\n var e_30, _a;\n if (compare === void 0) { compare = ascending; }\n if (compare.length === 1)\n return minIndex(values, compare);\n var minValue;\n var min = -1;\n var index = -1;\n try {\n for (var values_27 = tslib_1.__values(values), values_27_1 = values_27.next(); !values_27_1.done; values_27_1 = values_27.next()) {\n var value = values_27_1.value;\n ++index;\n if (min < 0\n ? compare(value, value) === 0\n : compare(value, minValue) < 0) {\n minValue = value;\n min = index;\n }\n }\n }\n catch (e_30_1) { e_30 = { error: e_30_1 }; }\n finally {\n try {\n if (values_27_1 && !values_27_1.done && (_a = values_27.return)) _a.call(values_27);\n }\n finally { if (e_30) throw e_30.error; }\n }\n return min;\n }\n function greatest(values, compare) {\n var e_31, _a, e_32, _b;\n if (compare === void 0) { compare = ascending; }\n var max;\n var defined = false;\n if (compare.length === 1) {\n var maxValue = void 0;\n try {\n for (var values_28 = tslib_1.__values(values), values_28_1 = values_28.next(); !values_28_1.done; values_28_1 = values_28.next()) {\n var element = values_28_1.value;\n var value = compare(element);\n if (defined\n ? ascending(value, maxValue) > 0\n : ascending(value, value) === 0) {\n max = element;\n maxValue = value;\n defined = true;\n }\n }\n }\n catch (e_31_1) { e_31 = { error: e_31_1 }; }\n finally {\n try {\n if (values_28_1 && !values_28_1.done && (_a = values_28.return)) _a.call(values_28);\n }\n finally { if (e_31) throw e_31.error; }\n }\n }\n else {\n try {\n for (var values_29 = tslib_1.__values(values), values_29_1 = values_29.next(); !values_29_1.done; values_29_1 = values_29.next()) {\n var value = values_29_1.value;\n if (defined\n ? compare(value, max) > 0\n : compare(value, value) === 0) {\n max = value;\n defined = true;\n }\n }\n }\n catch (e_32_1) { e_32 = { error: e_32_1 }; }\n finally {\n try {\n if (values_29_1 && !values_29_1.done && (_b = values_29.return)) _b.call(values_29);\n }\n finally { if (e_32) throw e_32.error; }\n }\n }\n return max;\n }\n function greatestIndex(values, compare) {\n var e_33, _a;\n if (compare === void 0) { compare = ascending; }\n if (compare.length === 1)\n return maxIndex(values, compare);\n var maxValue;\n var max = -1;\n var index = -1;\n try {\n for (var values_30 = tslib_1.__values(values), values_30_1 = values_30.next(); !values_30_1.done; values_30_1 = values_30.next()) {\n var value = values_30_1.value;\n ++index;\n if (max < 0\n ? compare(value, value) === 0\n : compare(value, maxValue) > 0) {\n maxValue = value;\n max = index;\n }\n }\n }\n catch (e_33_1) { e_33 = { error: e_33_1 }; }\n finally {\n try {\n if (values_30_1 && !values_30_1.done && (_a = values_30.return)) _a.call(values_30);\n }\n finally { if (e_33) throw e_33.error; }\n }\n return max;\n }\n function scan(values, compare) {\n var index = leastIndex(values, compare);\n return index < 0 ? undefined : index;\n }\n var shuffle = shuffler(Math.random);\n function shuffler(random) {\n return function shuffle(array, i0, i1) {\n if (i0 === void 0) { i0 = 0; }\n if (i1 === void 0) { i1 = array.length; }\n var m = i1 - (i0 = +i0);\n while (m) {\n var i = random() * m-- | 0, t = array[m + i0];\n array[m + i0] = array[i + i0];\n array[i + i0] = t;\n }\n return array;\n };\n }\n function sum(values, valueof) {\n var e_34, _a, e_35, _b;\n var sum = 0;\n if (valueof === undefined) {\n try {\n for (var values_31 = tslib_1.__values(values), values_31_1 = values_31.next(); !values_31_1.done; values_31_1 = values_31.next()) {\n var value = values_31_1.value;\n if (value = +value) {\n sum += value;\n }\n }\n }\n catch (e_34_1) { e_34 = { error: e_34_1 }; }\n finally {\n try {\n if (values_31_1 && !values_31_1.done && (_a = values_31.return)) _a.call(values_31);\n }\n finally { if (e_34) throw e_34.error; }\n }\n }\n else {\n var index_10 = -1;\n try {\n for (var values_32 = tslib_1.__values(values), values_32_1 = values_32.next(); !values_32_1.done; values_32_1 = values_32.next()) {\n var value = values_32_1.value;\n if (value = +valueof(value, ++index_10, values)) {\n sum += value;\n }\n }\n }\n catch (e_35_1) { e_35 = { error: e_35_1 }; }\n finally {\n try {\n if (values_32_1 && !values_32_1.done && (_b = values_32.return)) _b.call(values_32);\n }\n finally { if (e_35) throw e_35.error; }\n }\n }\n return sum;\n }\n function transpose(matrix) {\n if (!(n = matrix.length))\n return [];\n for (var i = -1, m = min(matrix, length), transpose = new Array(m); ++i < m;) {\n for (var j = -1, n, row = transpose[i] = new Array(n); ++j < n;) {\n row[j] = matrix[j][i];\n }\n }\n return transpose;\n }\n function length(d) {\n return d.length;\n }\n function zip() {\n return transpose(arguments);\n }\n function every(values, test) {\n var e_36, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var index = -1;\n try {\n for (var values_33 = tslib_1.__values(values), values_33_1 = values_33.next(); !values_33_1.done; values_33_1 = values_33.next()) {\n var value = values_33_1.value;\n if (!test(value, ++index, values)) {\n return false;\n }\n }\n }\n catch (e_36_1) { e_36 = { error: e_36_1 }; }\n finally {\n try {\n if (values_33_1 && !values_33_1.done && (_a = values_33.return)) _a.call(values_33);\n }\n finally { if (e_36) throw e_36.error; }\n }\n return true;\n }\n function some(values, test) {\n var e_37, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var index = -1;\n try {\n for (var values_34 = tslib_1.__values(values), values_34_1 = values_34.next(); !values_34_1.done; values_34_1 = values_34.next()) {\n var value = values_34_1.value;\n if (test(value, ++index, values)) {\n return true;\n }\n }\n }\n catch (e_37_1) { e_37 = { error: e_37_1 }; }\n finally {\n try {\n if (values_34_1 && !values_34_1.done && (_a = values_34.return)) _a.call(values_34);\n }\n finally { if (e_37) throw e_37.error; }\n }\n return false;\n }\n function filter(values, test) {\n var e_38, _a;\n if (typeof test !== \"function\")\n throw new TypeError(\"test is not a function\");\n var array = [];\n var index = -1;\n try {\n for (var values_35 = tslib_1.__values(values), values_35_1 = values_35.next(); !values_35_1.done; values_35_1 = values_35.next()) {\n var value = values_35_1.value;\n if (test(value, ++index, values)) {\n array.push(value);\n }\n }\n }\n catch (e_38_1) { e_38 = { error: e_38_1 }; }\n finally {\n try {\n if (values_35_1 && !values_35_1.done && (_a = values_35.return)) _a.call(values_35);\n }\n finally { if (e_38) throw e_38.error; }\n }\n return array;\n }\n function map(values, mapper) {\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n if (typeof mapper !== \"function\")\n throw new TypeError(\"mapper is not a function\");\n return Array.from(values, function (value, index) { return mapper(value, index, values); });\n }\n function reduce(values, reducer, value) {\n var _a, _b;\n if (typeof reducer !== \"function\")\n throw new TypeError(\"reducer is not a function\");\n var iterator = values[Symbol.iterator]();\n var done, next, index = -1;\n if (arguments.length < 3) {\n (_a = iterator.next(), done = _a.done, value = _a.value);\n if (done)\n return;\n ++index;\n }\n while ((_b = iterator.next(), done = _b.done, next = _b.value), !done) {\n value = reducer(value, next, ++index, values);\n }\n return value;\n }\n function reverse(values) {\n if (typeof values[Symbol.iterator] !== \"function\")\n throw new TypeError(\"values is not iterable\");\n return Array.from(values).reverse();\n }\n function difference(values) {\n var e_39, _a, e_40, _b;\n var others = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n others[_i - 1] = arguments[_i];\n }\n values = new Set(values);\n try {\n for (var others_1 = tslib_1.__values(others), others_1_1 = others_1.next(); !others_1_1.done; others_1_1 = others_1.next()) {\n var other = others_1_1.value;\n try {\n for (var other_1 = (e_40 = void 0, tslib_1.__values(other)), other_1_1 = other_1.next(); !other_1_1.done; other_1_1 = other_1.next()) {\n var value = other_1_1.value;\n values.delete(value);\n }\n }\n catch (e_40_1) { e_40 = { error: e_40_1 }; }\n finally {\n try {\n if (other_1_1 && !other_1_1.done && (_b = other_1.return)) _b.call(other_1);\n }\n finally { if (e_40) throw e_40.error; }\n }\n }\n }\n catch (e_39_1) { e_39 = { error: e_39_1 }; }\n finally {\n try {\n if (others_1_1 && !others_1_1.done && (_a = others_1.return)) _a.call(others_1);\n }\n finally { if (e_39) throw e_39.error; }\n }\n return values;\n }\n function disjoint(values, other) {\n var e_41, _a, _b;\n var iterator = other[Symbol.iterator](), set = new Set();\n try {\n for (var values_36 = tslib_1.__values(values), values_36_1 = values_36.next(); !values_36_1.done; values_36_1 = values_36.next()) {\n var v = values_36_1.value;\n if (set.has(v))\n return false;\n var value = void 0, done = void 0;\n while ((_b = iterator.next(), value = _b.value, done = _b.done, _b)) {\n if (done)\n break;\n if (Object.is(v, value))\n return false;\n set.add(value);\n }\n }\n }\n catch (e_41_1) { e_41 = { error: e_41_1 }; }\n finally {\n try {\n if (values_36_1 && !values_36_1.done && (_a = values_36.return)) _a.call(values_36);\n }\n finally { if (e_41) throw e_41.error; }\n }\n return true;\n }\n function set(values) {\n return values instanceof Set ? values : new Set(values);\n }\n function intersection(values) {\n var e_42, _a, e_43, _b;\n var others = [];\n for (var _i = 1; _i < arguments.length; _i++) {\n others[_i - 1] = arguments[_i];\n }\n values = new Set(values);\n others = others.map(set);\n try {\n out: for (var values_37 = tslib_1.__values(values), values_37_1 = values_37.next(); !values_37_1.done; values_37_1 = values_37.next()) {\n var value = values_37_1.value;\n try {\n for (var others_2 = (e_43 = void 0, tslib_1.__values(others)), others_2_1 = others_2.next(); !others_2_1.done; others_2_1 = others_2.next()) {\n var other = others_2_1.value;\n if (!other.has(value)) {\n values.delete(value);\n continue out;\n }\n }\n }\n catch (e_43_1) { e_43 = { error: e_43_1 }; }\n finally {\n try {\n if (others_2_1 && !others_2_1.done && (_b = others_2.return)) _b.call(others_2);\n }\n finally { if (e_43) throw e_43.error; }\n }\n }\n }\n catch (e_42_1) { e_42 = { error: e_42_1 }; }\n finally {\n try {\n if (values_37_1 && !values_37_1.done && (_a = values_37.return)) _a.call(values_37);\n }\n finally { if (e_42) throw e_42.error; }\n }\n return values;\n }\n function superset(values, other) {\n var e_44, _a, _b;\n var iterator = values[Symbol.iterator](), set = new Set();\n try {\n for (var other_2 = tslib_1.__values(other), other_2_1 = other_2.next(); !other_2_1.done; other_2_1 = other_2.next()) {\n var o = other_2_1.value;\n if (set.has(o))\n continue;\n var value = void 0, done = void 0;\n while ((_b = iterator.next(), value = _b.value, done = _b.done, _b)) {\n if (done)\n return false;\n set.add(value);\n if (Object.is(o, value))\n break;\n }\n }\n }\n catch (e_44_1) { e_44 = { error: e_44_1 }; }\n finally {\n try {\n if (other_2_1 && !other_2_1.done && (_a = other_2.return)) _a.call(other_2);\n }\n finally { if (e_44) throw e_44.error; }\n }\n return true;\n }\n function subset(values, other) {\n return superset(other, values);\n }\n function union() {\n var e_45, _a, e_46, _b;\n var others = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n others[_i] = arguments[_i];\n }\n var set = new Set();\n try {\n for (var others_3 = tslib_1.__values(others), others_3_1 = others_3.next(); !others_3_1.done; others_3_1 = others_3.next()) {\n var other = others_3_1.value;\n try {\n for (var other_3 = (e_46 = void 0, tslib_1.__values(other)), other_3_1 = other_3.next(); !other_3_1.done; other_3_1 = other_3.next()) {\n var o = other_3_1.value;\n set.add(o);\n }\n }\n catch (e_46_1) { e_46 = { error: e_46_1 }; }\n finally {\n try {\n if (other_3_1 && !other_3_1.done && (_b = other_3.return)) _b.call(other_3);\n }\n finally { if (e_46) throw e_46.error; }\n }\n }\n }\n catch (e_45_1) { e_45 = { error: e_45_1 }; }\n finally {\n try {\n if (others_3_1 && !others_3_1.done && (_a = others_3.return)) _a.call(others_3);\n }\n finally { if (e_45) throw e_45.error; }\n }\n return set;\n }\n exports.Adder = Adder;\n exports.InternMap = InternMap;\n exports.InternSet = InternSet;\n exports.ascending = ascending;\n exports.bin = bin;\n exports.bisect = bisectRight;\n exports.bisectCenter = bisectCenter;\n exports.bisectLeft = bisectLeft;\n exports.bisectRight = bisectRight;\n exports.bisector = bisector;\n exports.count = count;\n exports.cross = cross;\n exports.cumsum = cumsum;\n exports.descending = descending;\n exports.deviation = deviation;\n exports.difference = difference;\n exports.disjoint = disjoint;\n exports.every = every;\n exports.extent = extent;\n exports.fcumsum = fcumsum;\n exports.filter = filter;\n exports.fsum = fsum;\n exports.greatest = greatest;\n exports.greatestIndex = greatestIndex;\n exports.group = group;\n exports.groupSort = groupSort;\n exports.groups = groups;\n exports.histogram = bin;\n exports.index = index;\n exports.indexes = indexes;\n exports.intersection = intersection;\n exports.least = least;\n exports.leastIndex = leastIndex;\n exports.map = map;\n exports.max = max;\n exports.maxIndex = maxIndex;\n exports.mean = mean;\n exports.median = median;\n exports.merge = merge;\n exports.min = min;\n exports.minIndex = minIndex;\n exports.nice = nice;\n exports.pairs = pairs;\n exports.permute = permute;\n exports.quantile = quantile;\n exports.quantileSorted = quantileSorted;\n exports.quickselect = quickselect;\n exports.range = range;\n exports.reduce = reduce;\n exports.reverse = reverse;\n exports.rollup = rollup;\n exports.rollups = rollups;\n exports.scan = scan;\n exports.shuffle = shuffle;\n exports.shuffler = shuffler;\n exports.some = some;\n exports.sort = sort;\n exports.subset = subset;\n exports.sum = sum;\n exports.superset = superset;\n exports.thresholdFreedmanDiaconis = freedmanDiaconis;\n exports.thresholdScott = scott;\n exports.thresholdSturges = sturges;\n exports.tickIncrement = tickIncrement;\n exports.tickStep = tickStep;\n exports.ticks = ticks;\n exports.transpose = transpose;\n exports.union = union;\n exports.variance = variance;\n exports.zip = zip;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "name": "./node_modules/d3-composite-projections/node_modules/d3-geo/dist/d3-geo.js", + "index": 122, + "index2": 119, + "size": 106669, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + } + ], + "profile": { + "factory": 751, + "building": 448 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "4:84-101" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-geo/ v2.0.2 Copyright 2021 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3));\n}(this, function (exports, d3Array) {\n 'use strict';\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var ceil = Math.ceil;\n var exp = Math.exp;\n var hypot = Math.hypot;\n var log = Math.log;\n var pow = Math.pow;\n var sin = Math.sin;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sqrt = Math.sqrt;\n var tan = Math.tan;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function haversin(x) {\n return (x = sin(x / 2)) * x;\n }\n function noop() { }\n function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n }\n var streamObjectType = {\n Feature: function (object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function (object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n streamGeometry(features[i].geometry, stream);\n }\n };\n var streamGeometryType = {\n Sphere: function (object, stream) {\n stream.sphere();\n },\n Point: function (object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function (object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamLine(coordinates[i], stream, 0);\n },\n Polygon: function (object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function (object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n streamGeometry(geometries[i], stream);\n }\n };\n function streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n)\n coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n }\n function streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n)\n streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n }\n function geoStream(object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n }\n else {\n streamGeometry(object, stream);\n }\n }\n var areaRingSum = new d3Array.Adder();\n // hello?\n var areaSum = new d3Array.Adder(), lambda00, phi00, lambda0, cosPhi0, sinPhi0;\n var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaRingSum = new d3Array.Adder();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function () {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function () {\n areaSum.add(tau);\n }\n };\n function areaRingStart() {\n areaStream.point = areaPointFirst;\n }\n function areaRingEnd() {\n areaPoint(lambda00, phi00);\n }\n function areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n }\n function areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0, sdLambda = dLambda >= 0 ? 1 : -1, adLambda = sdLambda * dLambda, cosPhi = cos(phi), sinPhi = sin(phi), k = sinPhi0 * sinPhi, u = cosPhi0 * cosPhi + k * cos(adLambda), v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n }\n function area(object) {\n areaSum = new d3Array.Adder();\n geoStream(object, areaStream);\n return areaSum * 2;\n }\n function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n }\n function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n }\n function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n }\n function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n }\n // TODO return a\n function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n }\n function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n }\n // TODO return d\n function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n }\n var lambda0$1, phi0, lambda1, phi1, // bounds\n lambda2, // previous lambda-coordinate\n lambda00$1, phi00$1, // first point\n p0, // previous 3D point\n deltaSum, ranges, range;\n var boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function () {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum = new d3Array.Adder();\n areaStream.polygonStart();\n },\n polygonEnd: function () {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0)\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon)\n phi1 = 90;\n else if (deltaSum < -epsilon)\n phi0 = -90;\n range[0] = lambda0$1, range[1] = lambda1;\n },\n sphere: function () {\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n }\n };\n function boundsPoint(lambda, phi) {\n ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n function linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p), equatorial = [normal[1], -normal[0], 0], inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2, sign = delta > 0 ? 1 : -1, lambdai = inflection[0] * degrees * sign, phii, antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1)\n phi1 = phii;\n }\n else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign * lambda2 < lambdai && lambdai < sign * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0)\n phi0 = phii;\n }\n else {\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n else {\n if (lambda1 >= lambda0$1) {\n if (lambda < lambda0$1)\n lambda0$1 = lambda;\n if (lambda > lambda1)\n lambda1 = lambda;\n }\n else {\n if (lambda > lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n }\n }\n else {\n ranges.push(range = [lambda0$1 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n p0 = p, lambda2 = lambda;\n }\n function boundsLineStart() {\n boundsStream.point = linePoint;\n }\n function boundsLineEnd() {\n range[0] = lambda0$1, range[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n }\n function boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n }\n else {\n lambda00$1 = lambda, phi00$1 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n }\n function boundsRingStart() {\n areaStream.lineStart();\n }\n function boundsRingEnd() {\n boundsRingPoint(lambda00$1, phi00$1);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon)\n lambda0$1 = -(lambda1 = 180);\n range[0] = lambda0$1, range[1] = lambda1;\n p0 = null;\n }\n // Finds the left-right distance between two longitudes.\n // This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n // the distance between ±180° to be 360°.\n function angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n }\n function rangeCompare(a, b) {\n return a[0] - b[0];\n }\n function rangeContains(range, x) {\n return range[0] <= range[1] ? range[0] <= x && x <= range[1] : x < range[0] || range[1] < x;\n }\n function bounds(feature) {\n var i, n, a, b, merged, deltaMax, delta;\n phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);\n ranges = [];\n geoStream(feature, boundsStream);\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1]))\n a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1]))\n a[0] = b[0];\n }\n else {\n merged.push(a = b);\n }\n }\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax)\n deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];\n }\n }\n ranges = range = null;\n return lambda0$1 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0$1, phi0], [lambda1, phi1]];\n }\n var W0, W1, X0, Y0, Z0, X1, Y1, Z1, X2, Y2, Z2, lambda00$2, phi00$2, // first point\n x0, y0, z0; // previous point\n var centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function () {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function () {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n };\n // Arithmetic mean of Cartesian vectors.\n function centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n }\n function centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n }\n function centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n }\n function centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLineEnd() {\n centroidStream.point = centroidPoint;\n }\n // See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n // J. Applied Mechanics 42, 239 (1975).\n function centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n }\n function centroidRingEnd() {\n centroidRingPoint(lambda00$2, phi00$2);\n centroidStream.point = centroidPoint;\n }\n function centroidRingPointFirst(lambda, phi) {\n lambda00$2 = lambda, phi00$2 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = hypot(cx, cy, cz), w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2.add(v * cx);\n Y2.add(v * cy);\n Z2.add(v * cz);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroid(object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 = 0;\n X2 = new d3Array.Adder();\n Y2 = new d3Array.Adder();\n Z2 = new d3Array.Adder();\n geoStream(object, centroidStream);\n var x = +X2, y = +Y2, z = +Z2, m = hypot(x, y, z);\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon)\n x = X0, y = Y0, z = Z0;\n m = hypot(x, y, z);\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2)\n return [NaN, NaN];\n }\n return [atan2(y, x) * degrees, asin(z / m) * degrees];\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function compose(a, b) {\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n if (a.invert && b.invert)\n compose.invert = function (x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n return compose;\n }\n function rotationIdentity(lambda, phi) {\n return [abs(lambda) > pi ? lambda + Math.round(-lambda / tau) * tau : lambda, phi];\n }\n rotationIdentity.invert = rotationIdentity;\n function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n }\n function forwardRotationLambda(deltaLambda) {\n return function (lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n }\n function rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n }\n function rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi), sinDeltaPhi = sin(deltaPhi), cosDeltaGamma = cos(deltaGamma), sinDeltaGamma = sin(deltaGamma);\n function rotation(lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n rotation.invert = function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n return rotation;\n }\n function rotation(rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n forward.invert = function (coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n return forward;\n }\n // Generates a circle centered at [0°, 0°], with a given radius and precision.\n function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta)\n return;\n var cosRadius = cos(radius), sinRadius = sin(radius), step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n }\n else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1)\n t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n }\n // Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\n function circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n }\n function circle() {\n var center = constant([0, 0]), radius = constant(90), precision = constant(6), ring, rotate, stream = { point: point };\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n function circle() {\n var c = center.apply(this, arguments), r = radius.apply(this, arguments) * radians, p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = { type: \"Polygon\", coordinates: [ring] };\n ring = rotate = null;\n return c;\n }\n circle.center = function (_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n circle.radius = function (_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n circle.precision = function (_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n return circle;\n }\n function clipBuffer() {\n var lines = [], line;\n return {\n point: function (x, y, m) {\n line.push([x, y, m]);\n },\n lineStart: function () {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function () {\n if (lines.length > 1)\n lines.push(lines.pop().concat(lines.shift()));\n },\n result: function () {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n }\n function pointEqual(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n }\n function Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n }\n // A generalized polygon clipping algorithm: given a polygon that has been cut\n // into its visible line segments, and rejoins the segments by interpolating\n // along the clip edge.\n function clipRejoin(segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [], clip = [], i, n;\n segments.forEach(function (segment) {\n if ((n = segment.length - 1) <= 0)\n return;\n var n, p0 = segment[0], p1 = segment[n], x;\n if (pointEqual(p0, p1)) {\n if (!p0[2] && !p1[2]) {\n stream.lineStart();\n for (i = 0; i < n; ++i)\n stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n // handle degenerate cases by moving the point\n p1[0] += 2 * epsilon;\n }\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n if (!subject.length)\n return;\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n var start = subject[0], points, point;\n while (1) {\n // Find first unvisited intersection.\n var current = start, isSubject = true;\n while (current.v)\n if ((current = current.n) === start)\n return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n }\n else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n }\n function link(array) {\n if (!(n = array.length))\n return;\n var n, i = 0, a = array[0], b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n }\n function longitude(point) {\n if (abs(point[0]) <= pi)\n return point[0];\n else\n return sign(point[0]) * ((abs(point[0]) + pi) % tau - pi);\n }\n function polygonContains(polygon, point) {\n var lambda = longitude(point), phi = point[1], sinPhi = sin(phi), normal = [sin(lambda), -cos(lambda), 0], angle = 0, winding = 0;\n var sum = new d3Array.Adder();\n if (sinPhi === 1)\n phi = halfPi + epsilon;\n else if (sinPhi === -1)\n phi = -halfPi - epsilon;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length))\n continue;\n var ring, m, point0 = ring[m - 1], lambda0 = longitude(point0), phi0 = point0[1] / 2 + quarterPi, sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j], lambda1 = longitude(point1), phi1 = point1[1] / 2 + quarterPi, sinPhi1 = sin(phi1), cosPhi1 = cos(phi1), delta = lambda1 - lambda0, sign = delta >= 0 ? 1 : -1, absDelta = sign * delta, antimeridian = absDelta > pi, k = sinPhi0 * sinPhi1;\n sum.add(atan2(k * sign * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign * tau : delta;\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n return (angle < -epsilon || angle < epsilon && sum < -epsilon2) ^ (winding & 1);\n }\n function clip(pointVisible, clipLine, interpolate, start) {\n return function (sink) {\n var line = clipLine(sink), ringBuffer = clipBuffer(), ringSink = clipLine(ringBuffer), polygonStarted = false, polygon, segments, ring;\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function () {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = d3Array.merge(segments);\n var startInside = polygonContains(polygon, start);\n if (segments.length) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n clipRejoin(segments, compareIntersection, startInside, interpolate, sink);\n }\n else if (startInside) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted)\n sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function () {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n function point(lambda, phi) {\n if (pointVisible(lambda, phi))\n sink.point(lambda, phi);\n }\n function pointLine(lambda, phi) {\n line.point(lambda, phi);\n }\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n ringSink.point(lambda, phi);\n }\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n var clean = ringSink.clean(), ringSegments = ringBuffer.result(), i, n = ringSegments.length, m, segment, point;\n ring.pop();\n polygon.push(ring);\n ring = null;\n if (!n)\n return;\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i)\n sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2)\n ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n segments.push(ringSegments.filter(validSegment));\n }\n return clip;\n };\n }\n function validSegment(segment) {\n return segment.length > 1;\n }\n // Intersections are sorted along the clip edge. For both antimeridian cutting\n // and circle clipping, the same comparison is used.\n function compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n }\n var clipAntimeridian = clip(function () { return true; }, clipAntimeridianLine, clipAntimeridianInterpolate, [-pi, -halfPi]);\n // Takes a line and cuts into visible segments. Return values: 0 - there were\n // intersections or the line was empty; 1 - no intersections; 2 - there were\n // intersections, and the first and last segments should be rejoined.\n function clipAntimeridianLine(stream) {\n var lambda0 = NaN, phi0 = NaN, sign0 = NaN, clean; // no intersections\n return {\n lineStart: function () {\n stream.lineStart();\n clean = 1;\n },\n point: function (lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi, delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n }\n else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon)\n lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon)\n lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function () {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function () {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n }\n function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0, cosPhi1, sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n }\n function clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n }\n else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function clipCircle(radius) {\n var cr = cos(radius), delta = 6 * radians, smallRadius = cr > 0, notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function () {\n v00 = v0 = false;\n clean = 1;\n },\n point: function (lambda, phi) {\n var point1 = [lambda, phi], point2, v = visible(lambda, phi), c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v))\n stream.lineStart();\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2))\n point1[2] = 1;\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n }\n else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1], 2);\n stream.lineEnd();\n }\n point0 = point2;\n }\n else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n }\n else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1], 3);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function () {\n if (v0)\n stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function () {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a), pb = cartesian(b);\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb), n2n2 = cartesianDot(n2, n2), n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n // Two polar points.\n if (!determinant)\n return !two && a;\n var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = cartesianCross(n1, n2), A = cartesianScale(n1, c1), B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n // Solve |p(t)|^2 = 1.\n var u = n1xn2, w = cartesianDot(A, u), uu = cartesianDot(u, u), t2 = w * w - uu * (cartesianDot(A, A) - 1);\n if (t2 < 0)\n return;\n var t = sqrt(t2), q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n if (!two)\n return q;\n // Two intersection points.\n var lambda0 = a[0], lambda1 = b[0], phi0 = a[1], phi1 = b[1], z;\n if (lambda1 < lambda0)\n z = lambda0, lambda0 = lambda1, lambda1 = z;\n var delta = lambda1 - lambda0, polar = abs(delta - pi) < epsilon, meridian = polar || delta < epsilon;\n if (!polar && phi1 < phi0)\n z = phi0, phi0 = phi1, phi1 = z;\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius, code = 0;\n if (lambda < -r)\n code |= 1; // left\n else if (lambda > r)\n code |= 2; // right\n if (phi < -r)\n code |= 4; // below\n else if (phi > r)\n code |= 8; // above\n return code;\n }\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n }\n function clipLine(a, b, x0, y0, x1, y1) {\n var ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (t0 > 0)\n a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1)\n b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n }\n var clipMax = 1e9, clipMin = -clipMax;\n // TODO Use d3-polygon’s polygonContains here for the ring check?\n // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n function clipRectangle(x0, y0, x1, y1) {\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do\n stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n function comparePoint(a, b) {\n var ca = corner(a, 1), cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n return function (stream) {\n var activeStream = stream, bufferStream = clipBuffer(), segments, polygon, ring, x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first, clean;\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n function point(x, y) {\n if (visible(x, y))\n activeStream.point(x, y);\n }\n function polygonInside() {\n var winding = 0;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) {\n if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0))\n ++winding;\n }\n else {\n if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0))\n --winding;\n }\n }\n }\n return winding;\n }\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n function polygonEnd() {\n var startInside = polygonInside(), cleanInside = clean && startInside, visible = (segments = d3Array.merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipRejoin(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon)\n polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_)\n bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_)\n activeStream.lineEnd();\n }\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon)\n ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n }\n else {\n if (v && v_)\n activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v)\n activeStream.lineEnd();\n clean = false;\n }\n else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n return clipStream;\n };\n }\n function extent() {\n var x0 = 0, y0 = 0, x1 = 960, y1 = 500, cache, cacheStream, clip;\n return clip = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = clipRectangle(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function (_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n }\n var lengthSum, lambda0$2, sinPhi0$1, cosPhi0$1;\n var lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n };\n function lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n }\n function lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n }\n function lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0$2 = lambda, sinPhi0$1 = sin(phi), cosPhi0$1 = cos(phi);\n lengthStream.point = lengthPoint;\n }\n function lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi), cosPhi = cos(phi), delta = abs(lambda - lambda0$2), cosDelta = cos(delta), sinDelta = sin(delta), x = cosPhi * sinDelta, y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta, z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;\n }\n function length(object) {\n lengthSum = new d3Array.Adder();\n geoStream(object, lengthStream);\n return +lengthSum;\n }\n var coordinates = [null, null], object = { type: \"LineString\", coordinates: coordinates };\n function distance(a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n }\n var containsObjectType = {\n Feature: function (object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function (object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n if (containsGeometry(features[i].geometry, point))\n return true;\n return false;\n }\n };\n var containsGeometryType = {\n Sphere: function () {\n return true;\n },\n Point: function (object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPoint(coordinates[i], point))\n return true;\n return false;\n },\n LineString: function (object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsLine(coordinates[i], point))\n return true;\n return false;\n },\n Polygon: function (object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPolygon(coordinates[i], point))\n return true;\n return false;\n },\n GeometryCollection: function (object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n if (containsGeometry(geometries[i], point))\n return true;\n return false;\n }\n };\n function containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n }\n function containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n }\n function containsLine(coordinates, point) {\n var ao, bo, ab;\n for (var i = 0, n = coordinates.length; i < n; i++) {\n bo = distance(coordinates[i], point);\n if (bo === 0)\n return true;\n if (i > 0) {\n ab = distance(coordinates[i], coordinates[i - 1]);\n if (ab > 0 &&\n ao <= ab &&\n bo <= ab &&\n (ao + bo - ab) * (1 - Math.pow((ao - bo) / ab, 2)) < epsilon2 * ab)\n return true;\n }\n ao = bo;\n }\n return false;\n }\n function containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n }\n function ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n }\n function pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n }\n function contains(object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n }\n function graticuleX(y0, y1, dy) {\n var y = d3Array.range(y0, y1 - epsilon, dy).concat(y1);\n return function (x) { return y.map(function (y) { return [x, y]; }); };\n }\n function graticuleY(x0, x1, dx) {\n var x = d3Array.range(x0, x1 - epsilon, dx).concat(x1);\n return function (y) { return x.map(function (x) { return [x, y]; }); };\n }\n function graticule() {\n var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;\n function graticule() {\n return { type: \"MultiLineString\", coordinates: lines() };\n }\n function lines() {\n return d3Array.range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(d3Array.range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(d3Array.range(ceil(x0 / dx) * dx, x1, dx).filter(function (x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(d3Array.range(ceil(y0 / dy) * dy, y1, dy).filter(function (y) { return abs(y % DY) > epsilon; }).map(y));\n }\n graticule.lines = function () {\n return lines().map(function (coordinates) { return { type: \"LineString\", coordinates: coordinates }; });\n };\n graticule.outline = function () {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1))\n ]\n };\n };\n graticule.extent = function (_) {\n if (!arguments.length)\n return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n graticule.extentMajor = function (_) {\n if (!arguments.length)\n return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1)\n _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1)\n _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n graticule.extentMinor = function (_) {\n if (!arguments.length)\n return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1)\n _ = x0, x0 = x1, x1 = _;\n if (y0 > y1)\n _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n graticule.step = function (_) {\n if (!arguments.length)\n return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n graticule.stepMajor = function (_) {\n if (!arguments.length)\n return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n graticule.stepMinor = function (_) {\n if (!arguments.length)\n return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n graticule.precision = function (_) {\n if (!arguments.length)\n return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n }\n function graticule10() {\n return graticule()();\n }\n function interpolate(a, b) {\n var x0 = a[0] * radians, y0 = a[1] * radians, x1 = b[0] * radians, y1 = b[1] * radians, cy0 = cos(y0), sy0 = sin(y0), cy1 = cos(y1), sy1 = sin(y1), kx0 = cy0 * cos(x0), ky0 = cy0 * sin(x0), kx1 = cy1 * cos(x1), ky1 = cy1 * sin(x1), d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))), k = sin(d);\n var interpolate = d ? function (t) {\n var B = sin(t *= d) / k, A = sin(d - t) / k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function () {\n return [x0 * degrees, y0 * degrees];\n };\n interpolate.distance = d;\n return interpolate;\n }\n var identity = function (x) { return x; };\n var areaSum$1 = new d3Array.Adder(), areaRingSum$1 = new d3Array.Adder(), x00, y00, x0$1, y0$1;\n var areaStream$1 = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaStream$1.lineStart = areaRingStart$1;\n areaStream$1.lineEnd = areaRingEnd$1;\n },\n polygonEnd: function () {\n areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop;\n areaSum$1.add(abs(areaRingSum$1));\n areaRingSum$1 = new d3Array.Adder();\n },\n result: function () {\n var area = areaSum$1 / 2;\n areaSum$1 = new d3Array.Adder();\n return area;\n }\n };\n function areaRingStart$1() {\n areaStream$1.point = areaPointFirst$1;\n }\n function areaPointFirst$1(x, y) {\n areaStream$1.point = areaPoint$1;\n x00 = x0$1 = x, y00 = y0$1 = y;\n }\n function areaPoint$1(x, y) {\n areaRingSum$1.add(y0$1 * x - x0$1 * y);\n x0$1 = x, y0$1 = y;\n }\n function areaRingEnd$1() {\n areaPoint$1(x00, y00);\n }\n var x0$2 = Infinity, y0$2 = x0$2, x1 = -x0$2, y1 = x1;\n var boundsStream$1 = {\n point: boundsPoint$1,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0$2, y0$2], [x1, y1]];\n x1 = y1 = -(y0$2 = x0$2 = Infinity);\n return bounds;\n }\n };\n function boundsPoint$1(x, y) {\n if (x < x0$2)\n x0$2 = x;\n if (x > x1)\n x1 = x;\n if (y < y0$2)\n y0$2 = y;\n if (y > y1)\n y1 = y;\n }\n // TODO Enforce positive area for exterior, negative area for interior?\n var X0$1 = 0, Y0$1 = 0, Z0$1 = 0, X1$1 = 0, Y1$1 = 0, Z1$1 = 0, X2$1 = 0, Y2$1 = 0, Z2$1 = 0, x00$1, y00$1, x0$3, y0$3;\n var centroidStream$1 = {\n point: centroidPoint$1,\n lineStart: centroidLineStart$1,\n lineEnd: centroidLineEnd$1,\n polygonStart: function () {\n centroidStream$1.lineStart = centroidRingStart$1;\n centroidStream$1.lineEnd = centroidRingEnd$1;\n },\n polygonEnd: function () {\n centroidStream$1.point = centroidPoint$1;\n centroidStream$1.lineStart = centroidLineStart$1;\n centroidStream$1.lineEnd = centroidLineEnd$1;\n },\n result: function () {\n var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]\n : Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]\n : Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]\n : [NaN, NaN];\n X0$1 = Y0$1 = Z0$1 =\n X1$1 = Y1$1 = Z1$1 =\n X2$1 = Y2$1 = Z2$1 = 0;\n return centroid;\n }\n };\n function centroidPoint$1(x, y) {\n X0$1 += x;\n Y0$1 += y;\n ++Z0$1;\n }\n function centroidLineStart$1() {\n centroidStream$1.point = centroidPointFirstLine;\n }\n function centroidPointFirstLine(x, y) {\n centroidStream$1.point = centroidPointLine;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidPointLine(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidLineEnd$1() {\n centroidStream$1.point = centroidPoint$1;\n }\n function centroidRingStart$1() {\n centroidStream$1.point = centroidPointFirstRing;\n }\n function centroidRingEnd$1() {\n centroidPointRing(x00$1, y00$1);\n }\n function centroidPointFirstRing(x, y) {\n centroidStream$1.point = centroidPointRing;\n centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);\n }\n function centroidPointRing(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n z = y0$3 * x - x0$3 * y;\n X2$1 += z * (x0$3 + x);\n Y2$1 += z * (y0$3 + y);\n Z2$1 += z * 3;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function PathContext(context) {\n this._context = context;\n }\n PathContext.prototype = {\n _radius: 4.5,\n pointRadius: function (_) {\n return this._radius = _, this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._context.closePath();\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n };\n var lengthSum$1 = new d3Array.Adder(), lengthRing, x00$2, y00$2, x0$4, y0$4;\n var lengthStream$1 = {\n point: noop,\n lineStart: function () {\n lengthStream$1.point = lengthPointFirst$1;\n },\n lineEnd: function () {\n if (lengthRing)\n lengthPoint$1(x00$2, y00$2);\n lengthStream$1.point = noop;\n },\n polygonStart: function () {\n lengthRing = true;\n },\n polygonEnd: function () {\n lengthRing = null;\n },\n result: function () {\n var length = +lengthSum$1;\n lengthSum$1 = new d3Array.Adder();\n return length;\n }\n };\n function lengthPointFirst$1(x, y) {\n lengthStream$1.point = lengthPoint$1;\n x00$2 = x0$4 = x, y00$2 = y0$4 = y;\n }\n function lengthPoint$1(x, y) {\n x0$4 -= x, y0$4 -= y;\n lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));\n x0$4 = x, y0$4 = y;\n }\n function PathString() {\n this._string = [];\n }\n PathString.prototype = {\n _radius: 4.5,\n _circle: circle$1(4.5),\n pointRadius: function (_) {\n if ((_ = +_) !== this._radius)\n this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null)\n this._circle = circle$1(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function () {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n }\n else {\n return null;\n }\n }\n };\n function circle$1(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n }\n function index(projection, context) {\n var pointRadius = 4.5, projectionStream, contextStream;\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\")\n contextStream.pointRadius(+pointRadius.apply(this, arguments));\n geoStream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n path.area = function (object) {\n geoStream(object, projectionStream(areaStream$1));\n return areaStream$1.result();\n };\n path.measure = function (object) {\n geoStream(object, projectionStream(lengthStream$1));\n return lengthStream$1.result();\n };\n path.bounds = function (object) {\n geoStream(object, projectionStream(boundsStream$1));\n return boundsStream$1.result();\n };\n path.centroid = function (object) {\n geoStream(object, projectionStream(centroidStream$1));\n return centroidStream$1.result();\n };\n path.projection = function (_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n path.context = function (_) {\n if (!arguments.length)\n return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\")\n contextStream.pointRadius(pointRadius);\n return path;\n };\n path.pointRadius = function (_) {\n if (!arguments.length)\n return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n return path.projection(projection).context(context);\n }\n function transform(methods) {\n return {\n stream: transformer(methods)\n };\n }\n function transformer(methods) {\n return function (stream) {\n var s = new TransformStream;\n for (var key in methods)\n s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n }\n function TransformStream() { }\n TransformStream.prototype = {\n constructor: TransformStream,\n point: function (x, y) { this.stream.point(x, y); },\n sphere: function () { this.stream.sphere(); },\n lineStart: function () { this.stream.lineStart(); },\n lineEnd: function () { this.stream.lineEnd(); },\n polygonStart: function () { this.stream.polygonStart(); },\n polygonEnd: function () { this.stream.polygonEnd(); }\n };\n function fit(projection, fitBounds, object) {\n var clip = projection.clipExtent && projection.clipExtent();\n projection.scale(150).translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream$1));\n fitBounds(boundsStream$1.result());\n if (clip != null)\n projection.clipExtent(clip);\n return projection;\n }\n function fitExtent(projection, extent, object) {\n return fit(projection, function (b) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n function fitWidth(projection, width, object) {\n return fit(projection, function (b) {\n var w = +width, k = w / (b[1][0] - b[0][0]), x = (w - k * (b[1][0] + b[0][0])) / 2, y = -k * b[0][1];\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n function fitHeight(projection, height, object) {\n return fit(projection, function (b) {\n var h = +height, k = h / (b[1][1] - b[0][1]), x = -k * b[0][0], y = (h - k * (b[1][1] + b[0][1])) / 2;\n projection.scale(150 * k).translate([x, y]);\n }, object);\n }\n var maxDepth = 16, // maximum depth of subdivision\n cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n function resample(project, delta2) {\n return +delta2 ? resample$1(project, delta2) : resampleNone(project);\n }\n function resampleNone(project) {\n return transformer({\n point: function (x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n }\n function resample$1(project, delta2) {\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = sqrt(a * a + b * b + c * c), phi2 = asin(c /= m), lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a), p = project(lambda2, phi2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function (stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function () { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n return resampleStream;\n };\n }\n var transformRadians = transformer({\n point: function (x, y) {\n this.stream.point(x * radians, y * radians);\n }\n });\n function transformRotate(rotate) {\n return transformer({\n point: function (x, y) {\n var r = rotate(x, y);\n return this.stream.point(r[0], r[1]);\n }\n });\n }\n function scaleTranslate(k, dx, dy, sx, sy) {\n function transform(x, y) {\n x *= sx;\n y *= sy;\n return [dx + k * x, dy - k * y];\n }\n transform.invert = function (x, y) {\n return [(x - dx) / k * sx, (dy - y) / k * sy];\n };\n return transform;\n }\n function scaleTranslateRotate(k, dx, dy, sx, sy, alpha) {\n if (!alpha)\n return scaleTranslate(k, dx, dy, sx, sy);\n var cosAlpha = cos(alpha), sinAlpha = sin(alpha), a = cosAlpha * k, b = sinAlpha * k, ai = cosAlpha / k, bi = sinAlpha / k, ci = (sinAlpha * dy - cosAlpha * dx) / k, fi = (sinAlpha * dx + cosAlpha * dy) / k;\n function transform(x, y) {\n x *= sx;\n y *= sy;\n return [a * x - b * y + dx, dy - b * x - a * y];\n }\n transform.invert = function (x, y) {\n return [sx * (ai * x - bi * y + ci), sy * (fi - bi * x - ai * y)];\n };\n return transform;\n }\n function projection(project) {\n return projectionMutator(function () { return project; })();\n }\n function projectionMutator(projectAt) {\n var project, k = 150, // scale\n x = 480, y = 250, // translate\n lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, // pre-rotate\n alpha = 0, // post-rotate angle\n sx = 1, // reflectX\n sy = 1, // reflectX\n theta = null, preclip = clipAntimeridian, // pre-clip angle\n x0 = null, y0, x1, y1, postclip = identity, // post-clip extent\n delta2 = 0.5, // precision\n projectResample, projectTransform, projectRotateTransform, cache, cacheStream;\n function projection(point) {\n return projectRotateTransform(point[0] * radians, point[1] * radians);\n }\n function invert(point) {\n point = projectRotateTransform.invert(point[0], point[1]);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(transformRotate(rotate)(preclip(projectResample(postclip(cacheStream = stream)))));\n };\n projection.preclip = function (_) {\n return arguments.length ? (preclip = _, theta = undefined, reset()) : preclip;\n };\n projection.postclip = function (_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n projection.clipAngle = function (_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n projection.center = function (_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n projection.rotate = function (_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n projection.angle = function (_) {\n return arguments.length ? (alpha = _ % 360 * radians, recenter()) : alpha * degrees;\n };\n projection.reflectX = function (_) {\n return arguments.length ? (sx = _ ? -1 : 1, recenter()) : sx < 0;\n };\n projection.reflectY = function (_) {\n return arguments.length ? (sy = _ ? -1 : 1, recenter()) : sy < 0;\n };\n projection.precision = function (_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n projection.fitWidth = function (width, object) {\n return fitWidth(projection, width, object);\n };\n projection.fitHeight = function (height, object) {\n return fitHeight(projection, height, object);\n };\n function recenter() {\n var center = scaleTranslateRotate(k, 0, 0, sx, sy, alpha).apply(null, project(lambda, phi)), transform = scaleTranslateRotate(k, x - center[0], y - center[1], sx, sy, alpha);\n rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma);\n projectTransform = compose(project, transform);\n projectRotateTransform = compose(rotate, projectTransform);\n projectResample = resample(projectTransform, delta2);\n return reset();\n }\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return function () {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n }\n function conicProjection(projectAt) {\n var phi0 = 0, phi1 = pi / 3, m = projectionMutator(projectAt), p = m(phi0, phi1);\n p.parallels = function (_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n return p;\n }\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon)\n return cylindricalEqualAreaRaw(y0);\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n project.invert = function (x, y) {\n var r0y = r0 - y, l = atan2(x, abs(r0y)) * sign(r0y);\n if (r0y * n < 0)\n l -= pi * sign(x) * sign(r0y);\n return [l / n, asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n return project;\n }\n function conicEqualArea() {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n }\n function albers() {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n }\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n function albersUsa() {\n var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n albersUsa.fitWidth = function (width, object) {\n return fitWidth(albersUsa, width, object);\n };\n albersUsa.fitHeight = function (height, object) {\n return fitHeight(albersUsa, height, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n return albersUsa.scale(1070);\n }\n function azimuthalRaw(scale) {\n return function (x, y) {\n var cx = cos(x), cy = cos(y), k = scale(cx * cy);\n if (k === Infinity)\n return [2, 0];\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n };\n }\n function azimuthalInvert(angle) {\n return function (x, y) {\n var z = sqrt(x * x + y * y), c = angle(z), sc = sin(c), cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n };\n }\n var azimuthalEqualAreaRaw = azimuthalRaw(function (cxcy) {\n return sqrt(2 / (1 + cxcy));\n });\n azimuthalEqualAreaRaw.invert = azimuthalInvert(function (z) {\n return 2 * asin(z / 2);\n });\n function azimuthalEqualArea() {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n }\n var azimuthalEquidistantRaw = azimuthalRaw(function (c) {\n return (c = acos(c)) && c / sin(c);\n });\n azimuthalEquidistantRaw.invert = azimuthalInvert(function (z) {\n return z;\n });\n function azimuthalEquidistant() {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n }\n function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n }\n mercatorRaw.invert = function (x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n };\n function mercator() {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n }\n function mercatorProjection(project) {\n var m = projection(project), center = m.center, scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, x0 = null, y0, x1, y1; // clip extent\n m.scale = function (_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n m.translate = function (_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n m.center = function (_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n m.clipExtent = function (_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n function reclip() {\n var k = pi * scale(), t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n return reclip();\n }\n function tany(y) {\n return tan((halfPi + y) / 2);\n }\n function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)), f = cy0 * pow(tany(y0), n) / n;\n if (!n)\n return mercatorRaw;\n function project(x, y) {\n if (f > 0) {\n if (y < -halfPi + epsilon)\n y = -halfPi + epsilon;\n }\n else {\n if (y > halfPi - epsilon)\n y = halfPi - epsilon;\n }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n project.invert = function (x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy), l = atan2(x, abs(fy)) * sign(fy);\n if (fy * n < 0)\n l -= pi * sign(x) * sign(fy);\n return [l / n, 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n return project;\n }\n function conicConformal() {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n }\n function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n }\n equirectangularRaw.invert = equirectangularRaw;\n function equirectangular() {\n return projection(equirectangularRaw)\n .scale(152.63);\n }\n function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0), g = cy0 / n + y0;\n if (abs(n) < epsilon)\n return equirectangularRaw;\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n project.invert = function (x, y) {\n var gy = g - y, l = atan2(x, abs(gy)) * sign(gy);\n if (gy * n < 0)\n l -= pi * sign(x) * sign(gy);\n return [l / n, g - sign(n) * sqrt(x * x + gy * gy)];\n };\n return project;\n }\n function conicEquidistant() {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n }\n var A1 = 1.340264, A2 = -0.081106, A3 = 0.000893, A4 = 0.003796, M = sqrt(3) / 2, iterations = 12;\n function equalEarthRaw(lambda, phi) {\n var l = asin(M * sin(phi)), l2 = l * l, l6 = l2 * l2 * l2;\n return [\n lambda * cos(l) / (M * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2))),\n l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2))\n ];\n }\n equalEarthRaw.invert = function (x, y) {\n var l = y, l2 = l * l, l6 = l2 * l2 * l2;\n for (var i = 0, delta, fy, fpy; i < iterations; ++i) {\n fy = l * (A1 + A2 * l2 + l6 * (A3 + A4 * l2)) - y;\n fpy = A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2);\n l -= delta = fy / fpy, l2 = l * l, l6 = l2 * l2 * l2;\n if (abs(delta) < epsilon2)\n break;\n }\n return [\n M * x * (A1 + 3 * A2 * l2 + l6 * (7 * A3 + 9 * A4 * l2)) / cos(l),\n asin(sin(l) / M)\n ];\n };\n function equalEarth() {\n return projection(equalEarthRaw)\n .scale(177.158);\n }\n function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n gnomonicRaw.invert = azimuthalInvert(atan);\n function gnomonic() {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n }\n function identity$1() {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, // scale, translate and reflect\n alpha = 0, ca, sa, // angle\n x0 = null, y0, x1, y1, // clip extent\n kx = 1, ky = 1, transform = transformer({\n point: function (x, y) {\n var p = projection([x, y]);\n this.stream.point(p[0], p[1]);\n }\n }), postclip = identity, cache, cacheStream;\n function reset() {\n kx = k * sx;\n ky = k * sy;\n cache = cacheStream = null;\n return projection;\n }\n function projection(p) {\n var x = p[0] * kx, y = p[1] * ky;\n if (alpha) {\n var t = y * ca - x * sa;\n x = x * ca + y * sa;\n y = t;\n }\n return [x + tx, y + ty];\n }\n projection.invert = function (p) {\n var x = p[0] - tx, y = p[1] - ty;\n if (alpha) {\n var t = y * ca + x * sa;\n x = x * ca - y * sa;\n y = t;\n }\n return [x / kx, y / ky];\n };\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transform(postclip(cacheStream = stream));\n };\n projection.postclip = function (_) {\n return arguments.length ? (postclip = _, x0 = y0 = x1 = y1 = null, reset()) : postclip;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipRectangle(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, reset()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (tx = +_[0], ty = +_[1], reset()) : [tx, ty];\n };\n projection.angle = function (_) {\n return arguments.length ? (alpha = _ % 360 * radians, sa = sin(alpha), ca = cos(alpha), reset()) : alpha * degrees;\n };\n projection.reflectX = function (_) {\n return arguments.length ? (sx = _ ? -1 : 1, reset()) : sx < 0;\n };\n projection.reflectY = function (_) {\n return arguments.length ? (sy = _ ? -1 : 1, reset()) : sy < 0;\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n projection.fitWidth = function (width, object) {\n return fitWidth(projection, width, object);\n };\n projection.fitHeight = function (height, object) {\n return fitHeight(projection, height, object);\n };\n return projection;\n }\n function naturalEarth1Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n }\n naturalEarth1Raw.invert = function (x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n };\n function naturalEarth1() {\n return projection(naturalEarth1Raw)\n .scale(175.295);\n }\n function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n }\n orthographicRaw.invert = azimuthalInvert(asin);\n function orthographic() {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n }\n function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n stereographicRaw.invert = azimuthalInvert(function (z) {\n return 2 * atan(z);\n });\n function stereographic() {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n }\n function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n }\n transverseMercatorRaw.invert = function (x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n };\n function transverseMercator() {\n var m = mercatorProjection(transverseMercatorRaw), center = m.center, rotate = m.rotate;\n m.center = function (_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n m.rotate = function (_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n return rotate([0, 0, 90])\n .scale(159.155);\n }\n exports.geoAlbers = albers;\n exports.geoAlbersUsa = albersUsa;\n exports.geoArea = area;\n exports.geoAzimuthalEqualArea = azimuthalEqualArea;\n exports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;\n exports.geoAzimuthalEquidistant = azimuthalEquidistant;\n exports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;\n exports.geoBounds = bounds;\n exports.geoCentroid = centroid;\n exports.geoCircle = circle;\n exports.geoClipAntimeridian = clipAntimeridian;\n exports.geoClipCircle = clipCircle;\n exports.geoClipExtent = extent;\n exports.geoClipRectangle = clipRectangle;\n exports.geoConicConformal = conicConformal;\n exports.geoConicConformalRaw = conicConformalRaw;\n exports.geoConicEqualArea = conicEqualArea;\n exports.geoConicEqualAreaRaw = conicEqualAreaRaw;\n exports.geoConicEquidistant = conicEquidistant;\n exports.geoConicEquidistantRaw = conicEquidistantRaw;\n exports.geoContains = contains;\n exports.geoDistance = distance;\n exports.geoEqualEarth = equalEarth;\n exports.geoEqualEarthRaw = equalEarthRaw;\n exports.geoEquirectangular = equirectangular;\n exports.geoEquirectangularRaw = equirectangularRaw;\n exports.geoGnomonic = gnomonic;\n exports.geoGnomonicRaw = gnomonicRaw;\n exports.geoGraticule = graticule;\n exports.geoGraticule10 = graticule10;\n exports.geoIdentity = identity$1;\n exports.geoInterpolate = interpolate;\n exports.geoLength = length;\n exports.geoMercator = mercator;\n exports.geoMercatorRaw = mercatorRaw;\n exports.geoNaturalEarth1 = naturalEarth1;\n exports.geoNaturalEarth1Raw = naturalEarth1Raw;\n exports.geoOrthographic = orthographic;\n exports.geoOrthographicRaw = orthographicRaw;\n exports.geoPath = index;\n exports.geoProjection = projection;\n exports.geoProjectionMutator = projectionMutator;\n exports.geoRotation = rotation;\n exports.geoStereographic = stereographic;\n exports.geoStereographicRaw = stereographicRaw;\n exports.geoStream = geoStream;\n exports.geoTransform = transform;\n exports.geoTransverseMercator = transverseMercator;\n exports.geoTransverseMercatorRaw = transverseMercatorRaw;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-dsv/dist/d3-dsv.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-dsv/dist/d3-dsv.js", + "name": "./node_modules/d3-dsv/dist/d3-dsv.js", + "index": 136, + "index2": 134, + "size": 8923, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "issuerId": "./src/connector/dsv.ts", + "issuerName": "./src/connector/dsv.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/dsv.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "name": "./src/connector/dsv.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 553, + "building": 1031 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "d3-dsv", + "loc": "4:15-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-dsv/ v1.2.0 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var EOL = {}, EOF = {}, QUOTE = 34, NEWLINE = 10, RETURN = 13;\n function objectConverter(columns) {\n return new Function(\"d\", \"return {\" + columns.map(function (name, i) {\n return JSON.stringify(name) + \": d[\" + i + \"] || \\\"\\\"\";\n }).join(\",\") + \"}\");\n }\n function customConverter(columns, f) {\n var object = objectConverter(columns);\n return function (row, i) {\n return f(object(row), i, columns);\n };\n }\n // Compute unique columns in order of discovery.\n function inferColumns(rows) {\n var columnSet = Object.create(null), columns = [];\n rows.forEach(function (row) {\n for (var column in row) {\n if (!(column in columnSet)) {\n columns.push(columnSet[column] = column);\n }\n }\n });\n return columns;\n }\n function pad(value, width) {\n var s = value + \"\", length = s.length;\n return length < width ? new Array(width - length + 1).join(0) + s : s;\n }\n function formatYear(year) {\n return year < 0 ? \"-\" + pad(-year, 6)\n : year > 9999 ? \"+\" + pad(year, 6)\n : pad(year, 4);\n }\n function formatDate(date) {\n var hours = date.getUTCHours(), minutes = date.getUTCMinutes(), seconds = date.getUTCSeconds(), milliseconds = date.getUTCMilliseconds();\n return isNaN(date) ? \"Invalid Date\"\n : formatYear(date.getUTCFullYear()) + \"-\" + pad(date.getUTCMonth() + 1, 2) + \"-\" + pad(date.getUTCDate(), 2)\n + (milliseconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \".\" + pad(milliseconds, 3) + \"Z\"\n : seconds ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \":\" + pad(seconds, 2) + \"Z\"\n : minutes || hours ? \"T\" + pad(hours, 2) + \":\" + pad(minutes, 2) + \"Z\"\n : \"\");\n }\n function dsv(delimiter) {\n var reFormat = new RegExp(\"[\\\"\" + delimiter + \"\\n\\r]\"), DELIMITER = delimiter.charCodeAt(0);\n function parse(text, f) {\n var convert, columns, rows = parseRows(text, function (row, i) {\n if (convert)\n return convert(row, i - 1);\n columns = row, convert = f ? customConverter(row, f) : objectConverter(row);\n });\n rows.columns = columns || [];\n return rows;\n }\n function parseRows(text, f) {\n var rows = [], // output rows\n N = text.length, I = 0, // current character index\n n = 0, // current line number\n t, // current token\n eof = N <= 0, // current token followed by EOF?\n eol = false; // current token followed by EOL?\n // Strip the trailing newline.\n if (text.charCodeAt(N - 1) === NEWLINE)\n --N;\n if (text.charCodeAt(N - 1) === RETURN)\n --N;\n function token() {\n if (eof)\n return EOF;\n if (eol)\n return eol = false, EOL;\n // Unescape quotes.\n var i, j = I, c;\n if (text.charCodeAt(j) === QUOTE) {\n while (I++ < N && text.charCodeAt(I) !== QUOTE || text.charCodeAt(++I) === QUOTE)\n ;\n if ((i = I) >= N)\n eof = true;\n else if ((c = text.charCodeAt(I++)) === NEWLINE)\n eol = true;\n else if (c === RETURN) {\n eol = true;\n if (text.charCodeAt(I) === NEWLINE)\n ++I;\n }\n return text.slice(j + 1, i - 1).replace(/\"\"/g, \"\\\"\");\n }\n // Find next delimiter or newline.\n while (I < N) {\n if ((c = text.charCodeAt(i = I++)) === NEWLINE)\n eol = true;\n else if (c === RETURN) {\n eol = true;\n if (text.charCodeAt(I) === NEWLINE)\n ++I;\n }\n else if (c !== DELIMITER)\n continue;\n return text.slice(j, i);\n }\n // Return last token before EOF.\n return eof = true, text.slice(j, N);\n }\n while ((t = token()) !== EOF) {\n var row = [];\n while (t !== EOL && t !== EOF)\n row.push(t), t = token();\n if (f && (row = f(row, n++)) == null)\n continue;\n rows.push(row);\n }\n return rows;\n }\n function preformatBody(rows, columns) {\n return rows.map(function (row) {\n return columns.map(function (column) {\n return formatValue(row[column]);\n }).join(delimiter);\n });\n }\n function format(rows, columns) {\n if (columns == null)\n columns = inferColumns(rows);\n return [columns.map(formatValue).join(delimiter)].concat(preformatBody(rows, columns)).join(\"\\n\");\n }\n function formatBody(rows, columns) {\n if (columns == null)\n columns = inferColumns(rows);\n return preformatBody(rows, columns).join(\"\\n\");\n }\n function formatRows(rows) {\n return rows.map(formatRow).join(\"\\n\");\n }\n function formatRow(row) {\n return row.map(formatValue).join(delimiter);\n }\n function formatValue(value) {\n return value == null ? \"\"\n : value instanceof Date ? formatDate(value)\n : reFormat.test(value += \"\") ? \"\\\"\" + value.replace(/\"/g, \"\\\"\\\"\") + \"\\\"\"\n : value;\n }\n return {\n parse: parse,\n parseRows: parseRows,\n format: format,\n formatBody: formatBody,\n formatRows: formatRows,\n formatRow: formatRow,\n formatValue: formatValue\n };\n }\n var csv = dsv(\",\");\n var csvParse = csv.parse;\n var csvParseRows = csv.parseRows;\n var csvFormat = csv.format;\n var csvFormatBody = csv.formatBody;\n var csvFormatRows = csv.formatRows;\n var csvFormatRow = csv.formatRow;\n var csvFormatValue = csv.formatValue;\n var tsv = dsv(\"\\t\");\n var tsvParse = tsv.parse;\n var tsvParseRows = tsv.parseRows;\n var tsvFormat = tsv.format;\n var tsvFormatBody = tsv.formatBody;\n var tsvFormatRows = tsv.formatRows;\n var tsvFormatRow = tsv.formatRow;\n var tsvFormatValue = tsv.formatValue;\n function autoType(object) {\n for (var key in object) {\n var value = object[key].trim(), number, m;\n if (!value)\n value = null;\n else if (value === \"true\")\n value = true;\n else if (value === \"false\")\n value = false;\n else if (value === \"NaN\")\n value = NaN;\n else if (!isNaN(number = +value))\n value = number;\n else if (m = value.match(/^([-+]\\d{2})?\\d{4}(-\\d{2}(-\\d{2})?)?(T\\d{2}:\\d{2}(:\\d{2}(\\.\\d{3})?)?(Z|[-+]\\d{2}:\\d{2})?)?$/)) {\n if (fixtz && !!m[4] && !m[7])\n value = value.replace(/-/g, \"/\").replace(/T/, \" \");\n value = new Date(value);\n }\n else\n continue;\n object[key] = value;\n }\n return object;\n }\n // https://github.com/d3/d3-dsv/issues/45\n var fixtz = new Date(\"2019-01-01T00:00\").getHours() || new Date(\"2019-07-01T00:00\").getHours();\n exports.autoType = autoType;\n exports.csvFormat = csvFormat;\n exports.csvFormatBody = csvFormatBody;\n exports.csvFormatRow = csvFormatRow;\n exports.csvFormatRows = csvFormatRows;\n exports.csvFormatValue = csvFormatValue;\n exports.csvParse = csvParse;\n exports.csvParseRows = csvParseRows;\n exports.dsvFormat = dsv;\n exports.tsvFormat = tsvFormat;\n exports.tsvFormatBody = tsvFormatBody;\n exports.tsvFormatRow = tsvFormatRow;\n exports.tsvFormatRows = tsvFormatRows;\n exports.tsvFormatValue = tsvFormatValue;\n exports.tsvParse = tsvParse;\n exports.tsvParseRows = tsvParseRows;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "name": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "index": 117, + "index2": 115, + "size": 145928, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "issuerId": "./src/api/geo.ts", + "issuerName": "./src/api/geo.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "d3-geo-projection", + "loc": "6:26-54" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-geo-projection", + "loc": "6:43-71" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-geo-projection/ Version 2.1.2. Copyright 2017 Mike Bostock.\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-geo'), require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-geo', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3, global.d3));\n}(this, (function (exports, d3Geo, d3Array) {\n 'use strict';\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var exp = Math.exp;\n var floor = Math.floor;\n var log = Math.log;\n var max = Math.max;\n var min = Math.min;\n var pow = Math.pow;\n var round = Math.round;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sin = Math.sin;\n var tan = Math.tan;\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var sqrt1_2 = Math.SQRT1_2;\n var sqrt2 = sqrt(2);\n var sqrtPi = sqrt(pi);\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n function sinci(x) {\n return x ? x / Math.sin(x) : 1;\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function sqrt(x) {\n return x > 0 ? Math.sqrt(x) : 0;\n }\n function tanh(x) {\n x = exp(2 * x);\n return (x - 1) / (x + 1);\n }\n function sinh(x) {\n return (exp(x) - exp(-x)) / 2;\n }\n function cosh(x) {\n return (exp(x) + exp(-x)) / 2;\n }\n function arsinh(x) {\n return log(x + sqrt(x * x + 1));\n }\n function arcosh(x) {\n return log(x + sqrt(x * x - 1));\n }\n function airyRaw(beta) {\n var tanBeta_2 = tan(beta / 2), b = 2 * log(cos(beta / 2)) / (tanBeta_2 * tanBeta_2);\n function forward(x, y) {\n var cosx = cos(x), cosy = cos(y), siny = sin(y), cosz = cosy * cosx, k = -((1 - cosz ? log((1 + cosz) / 2) / (1 - cosz) : -0.5) + b / (1 + cosz));\n return [k * cosy * sin(x), k * siny];\n }\n forward.invert = function (x, y) {\n var r = sqrt(x * x + y * y), z = -beta / 2, i = 50, delta;\n if (!r)\n return [0, 0];\n do {\n var z_2 = z / 2, cosz_2 = cos(z_2), sinz_2 = sin(z_2), tanz_2 = tan(z_2), lnsecz_2 = log(1 / cosz_2);\n z -= delta = (2 / tanz_2 * lnsecz_2 - b * tanz_2 - r) / (-lnsecz_2 / (sinz_2 * sinz_2) + 1 - b / (2 * cosz_2 * cosz_2));\n } while (abs(delta) > epsilon && --i > 0);\n var sinz = sin(z);\n return [atan2(x * sinz, r * cos(z)), asin(y * sinz / r)];\n };\n return forward;\n }\n var airy = function () {\n var beta = halfPi, m = d3Geo.geoProjectionMutator(airyRaw), p = m(beta);\n p.radius = function (_) {\n return arguments.length ? m(beta = _ * radians) : beta * degrees;\n };\n return p\n .scale(179.976)\n .clipAngle(147);\n };\n function aitoffRaw(x, y) {\n var cosy = cos(y), sincia = sinci(acos(cosy * cos(x /= 2)));\n return [2 * cosy * sin(x) * sincia, sin(y) * sincia];\n }\n // Abort if [x, y] is not within an ellipse centered at [0, 0] with\n // semi-major axis pi and semi-minor axis pi/2.\n aitoffRaw.invert = function (x, y) {\n if (x * x + 4 * y * y > pi * pi + epsilon)\n return;\n var x1 = x, y1 = y, i = 25;\n do {\n var sinx = sin(x1), sinx_2 = sin(x1 / 2), cosx_2 = cos(x1 / 2), siny = sin(y1), cosy = cos(y1), sin_2y = sin(2 * y1), sin2y = siny * siny, cos2y = cosy * cosy, sin2x_2 = sinx_2 * sinx_2, c = 1 - cos2y * cosx_2 * cosx_2, e = c ? acos(cosy * cosx_2) * sqrt(f = 1 / c) : f = 0, f, fx = 2 * e * cosy * sinx_2 - x, fy = e * siny - y, dxdx = f * (cos2y * sin2x_2 + e * cosy * cosx_2 * sin2y), dxdy = f * (0.5 * sinx * sin_2y - e * 2 * siny * sinx_2), dydx = f * 0.25 * (sin_2y * sinx_2 - e * siny * cos2y * sinx), dydy = f * (sin2y * cosx_2 + e * sin2x_2 * cosy), z = dxdy * dydx - dydy * dxdx;\n if (!z)\n break;\n var dx = (fy * dxdy - fx * dydy) / z, dy = (fx * dydx - fy * dxdx) / z;\n x1 -= dx, y1 -= dy;\n } while ((abs(dx) > epsilon || abs(dy) > epsilon) && --i > 0);\n return [x1, y1];\n };\n var aitoff = function () {\n return d3Geo.geoProjection(aitoffRaw)\n .scale(152.63);\n };\n function armadilloRaw(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0), sPhi0 = phi0 >= 0 ? 1 : -1, tanPhi0 = tan(sPhi0 * phi0), k = (1 + sinPhi0 - cosPhi0) / 2;\n function forward(lambda, phi) {\n var cosPhi = cos(phi), cosLambda = cos(lambda /= 2);\n return [\n (1 + cosPhi) * sin(lambda),\n (sPhi0 * phi > -atan2(cosLambda, tanPhi0) - 1e-3 ? 0 : -sPhi0 * 10) + k + sin(phi) * cosPhi0 - (1 + cosPhi) * sinPhi0 * cosLambda // TODO D3 core should allow null or [NaN, NaN] to be returned.\n ];\n }\n forward.invert = function (x, y) {\n var lambda = 0, phi = 0, i = 50;\n do {\n var cosLambda = cos(lambda), sinLambda = sin(lambda), cosPhi = cos(phi), sinPhi = sin(phi), A = 1 + cosPhi, fx = A * sinLambda - x, fy = k + sinPhi * cosPhi0 - A * sinPhi0 * cosLambda - y, dxdLambda = A * cosLambda / 2, dxdPhi = -sinLambda * sinPhi, dydLambda = sinPhi0 * A * sinLambda / 2, dydPhi = cosPhi0 * cosPhi + sinPhi0 * cosLambda * sinPhi, denominator = dxdPhi * dydLambda - dydPhi * dxdLambda, dLambda = (fy * dxdPhi - fx * dydPhi) / denominator / 2, dPhi = (fx * dydLambda - fy * dxdLambda) / denominator;\n lambda -= dLambda, phi -= dPhi;\n } while ((abs(dLambda) > epsilon || abs(dPhi) > epsilon) && --i > 0);\n return sPhi0 * phi > -atan2(cos(lambda), tanPhi0) - 1e-3 ? [lambda * 2, phi] : null;\n };\n return forward;\n }\n var armadillo = function () {\n var phi0 = 20 * radians, sPhi0 = phi0 >= 0 ? 1 : -1, tanPhi0 = tan(sPhi0 * phi0), m = d3Geo.geoProjectionMutator(armadilloRaw), p = m(phi0), stream_ = p.stream;\n p.parallel = function (_) {\n if (!arguments.length)\n return phi0 * degrees;\n tanPhi0 = tan((sPhi0 = (phi0 = _ * radians) >= 0 ? 1 : -1) * phi0);\n return m(phi0);\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var lambda = sPhi0 * -180; sPhi0 * lambda < 180; lambda += sPhi0 * 90)\n sphereStream.point(lambda, sPhi0 * 90);\n while (sPhi0 * (lambda -= phi0) >= -180) { // TODO precision?\n sphereStream.point(lambda, sPhi0 * -atan2(cos(lambda * radians / 2), tanPhi0) * degrees);\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .scale(218.695)\n .center([0, 28.0974]);\n };\n function augustRaw(lambda, phi) {\n var tanPhi = tan(phi / 2), k = sqrt(1 - tanPhi * tanPhi), c = 1 + k * cos(lambda /= 2), x = sin(lambda) * k / c, y = tanPhi / c, x2 = x * x, y2 = y * y;\n return [\n 4 / 3 * x * (3 + x2 - 3 * y2),\n 4 / 3 * y * (3 + 3 * x2 - y2)\n ];\n }\n augustRaw.invert = function (x, y) {\n x *= 3 / 8, y *= 3 / 8;\n if (!x && abs(y) > 1)\n return null;\n var x2 = x * x, y2 = y * y, s = 1 + x2 + y2, sin3Eta = sqrt((s - sqrt(s * s - 4 * y * y)) / 2), eta = asin(sin3Eta) / 3, xi = sin3Eta ? arcosh(abs(y / sin3Eta)) / 3 : arsinh(abs(x)) / 3, cosEta = cos(eta), coshXi = cosh(xi), d = coshXi * coshXi - cosEta * cosEta;\n return [\n sign(x) * 2 * atan2(sinh(xi) * cosEta, 0.25 - d),\n sign(y) * 2 * atan2(coshXi * sin(eta), 0.25 + d)\n ];\n };\n var august = function () {\n return d3Geo.geoProjection(augustRaw)\n .scale(66.1603);\n };\n var sqrt8 = sqrt(8);\n var phi0 = log(1 + sqrt2);\n function bakerRaw(lambda, phi) {\n var phi0 = abs(phi);\n return phi0 < quarterPi\n ? [lambda, log(tan(quarterPi + phi / 2))]\n : [lambda * cos(phi0) * (2 * sqrt2 - 1 / sin(phi0)), sign(phi) * (2 * sqrt2 * (phi0 - quarterPi) - log(tan(phi0 / 2)))];\n }\n bakerRaw.invert = function (x, y) {\n if ((y0 = abs(y)) < phi0)\n return [x, 2 * atan(exp(y)) - halfPi];\n var phi = quarterPi, i = 25, delta, y0;\n do {\n var cosPhi_2 = cos(phi / 2), tanPhi_2 = tan(phi / 2);\n phi -= delta = (sqrt8 * (phi - quarterPi) - log(tanPhi_2) - y0) / (sqrt8 - cosPhi_2 * cosPhi_2 / (2 * tanPhi_2));\n } while (abs(delta) > epsilon2 && --i > 0);\n return [x / (cos(phi) * (sqrt8 - 1 / sin(phi))), sign(y) * phi];\n };\n var baker = function () {\n return d3Geo.geoProjection(bakerRaw)\n .scale(112.314);\n };\n function berghausRaw(lobes) {\n var k = 2 * pi / lobes;\n function forward(lambda, phi) {\n var p = d3Geo.geoAzimuthalEquidistantRaw(lambda, phi);\n if (abs(lambda) > halfPi) { // back hemisphere\n var theta = atan2(p[1], p[0]), r = sqrt(p[0] * p[0] + p[1] * p[1]), theta0 = k * round((theta - halfPi) / k) + halfPi, alpha = atan2(sin(theta -= theta0), 2 - cos(theta)); // angle relative to lobe end\n theta = theta0 + asin(pi / r * sin(alpha)) - alpha;\n p[0] = r * cos(theta);\n p[1] = r * sin(theta);\n }\n return p;\n }\n forward.invert = function (x, y) {\n var r = sqrt(x * x + y * y);\n if (r > halfPi) {\n var theta = atan2(y, x), theta0 = k * round((theta - halfPi) / k) + halfPi, s = theta > theta0 ? -1 : 1, A = r * cos(theta0 - theta), cotAlpha = 1 / tan(s * acos((A - pi) / sqrt(pi * (pi - 2 * A) + r * r)));\n theta = theta0 + 2 * atan((cotAlpha + s * sqrt(cotAlpha * cotAlpha - 3)) / 3);\n x = r * cos(theta), y = r * sin(theta);\n }\n return d3Geo.geoAzimuthalEquidistantRaw.invert(x, y);\n };\n return forward;\n }\n var berghaus = function () {\n var lobes = 5, m = d3Geo.geoProjectionMutator(berghausRaw), p = m(lobes), projectionStream = p.stream, epsilon$$1 = 1e-2, cr = -cos(epsilon$$1 * radians), sr = sin(epsilon$$1 * radians);\n p.lobes = function (_) {\n return arguments.length ? m(lobes = +_) : lobes;\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = projectionStream(stream), sphereStream = (p.rotate([0, 0]), projectionStream(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var i = 0, delta = 360 / lobes, delta0 = 2 * pi / lobes, phi = 90 - 180 / lobes, phi0 = halfPi; i < lobes; ++i, phi -= delta, phi0 -= delta0) {\n sphereStream.point(atan2(sr * cos(phi0), cr) * degrees, asin(sr * sin(phi0)) * degrees);\n if (phi < -90) {\n sphereStream.point(-90, -180 - phi - epsilon$$1);\n sphereStream.point(-90, -180 - phi + epsilon$$1);\n }\n else {\n sphereStream.point(90, phi + epsilon$$1);\n sphereStream.point(90, phi - epsilon$$1);\n }\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .scale(87.8076)\n .center([0, 17.1875])\n .clipAngle(180 - 1e-3);\n };\n function mollweideBromleyTheta(cp, phi) {\n var cpsinPhi = cp * sin(phi), i = 30, delta;\n do\n phi -= delta = (phi + sin(phi) - cpsinPhi) / (1 + cos(phi));\n while (abs(delta) > epsilon && --i > 0);\n return phi / 2;\n }\n function mollweideBromleyRaw(cx, cy, cp) {\n function forward(lambda, phi) {\n return [cx * lambda * cos(phi = mollweideBromleyTheta(cp, phi)), cy * sin(phi)];\n }\n forward.invert = function (x, y) {\n return y = asin(y / cy), [x / (cx * cos(y)), asin((2 * y + sin(2 * y)) / cp)];\n };\n return forward;\n }\n var mollweideRaw = mollweideBromleyRaw(sqrt2 / halfPi, sqrt2, pi);\n var mollweide = function () {\n return d3Geo.geoProjection(mollweideRaw)\n .scale(169.529);\n };\n var k = 2.00276;\n var w = 1.11072;\n function boggsRaw(lambda, phi) {\n var theta = mollweideBromleyTheta(pi, phi);\n return [k * lambda / (1 / cos(phi) + w / cos(theta)), (phi + sqrt2 * sin(theta)) / k];\n }\n boggsRaw.invert = function (x, y) {\n var ky = k * y, theta = y < 0 ? -quarterPi : quarterPi, i = 25, delta, phi;\n do {\n phi = ky - sqrt2 * sin(theta);\n theta -= delta = (sin(2 * theta) + 2 * theta - pi * sin(phi)) / (2 * cos(2 * theta) + 2 + pi * cos(phi) * sqrt2 * cos(theta));\n } while (abs(delta) > epsilon && --i > 0);\n phi = ky - sqrt2 * sin(theta);\n return [x * (1 / cos(phi) + w / cos(theta)) / k, phi];\n };\n var boggs = function () {\n return d3Geo.geoProjection(boggsRaw)\n .scale(160.857);\n };\n var parallel1 = function (projectAt) {\n var phi0 = 0, m = d3Geo.geoProjectionMutator(projectAt), p = m(phi0);\n p.parallel = function (_) {\n return arguments.length ? m(phi0 = _ * radians) : phi0 * degrees;\n };\n return p;\n };\n function sinusoidalRaw(lambda, phi) {\n return [lambda * cos(phi), phi];\n }\n sinusoidalRaw.invert = function (x, y) {\n return [x / cos(y), y];\n };\n var sinusoidal = function () {\n return d3Geo.geoProjection(sinusoidalRaw)\n .scale(152.63);\n };\n function bonneRaw(phi0) {\n if (!phi0)\n return sinusoidalRaw;\n var cotPhi0 = 1 / tan(phi0);\n function forward(lambda, phi) {\n var rho = cotPhi0 + phi0 - phi, e = rho ? lambda * cos(phi) / rho : rho;\n return [rho * sin(e), cotPhi0 - rho * cos(e)];\n }\n forward.invert = function (x, y) {\n var rho = sqrt(x * x + (y = cotPhi0 - y) * y), phi = cotPhi0 + phi0 - rho;\n return [rho / cos(phi) * atan2(x, y), phi];\n };\n return forward;\n }\n var bonne = function () {\n return parallel1(bonneRaw)\n .scale(123.082)\n .center([0, 26.1441])\n .parallel(45);\n };\n function bottomleyRaw(sinPsi) {\n function forward(lambda, phi) {\n var rho = halfPi - phi, eta = rho ? lambda * sinPsi * sin(rho) / rho : rho;\n return [rho * sin(eta) / sinPsi, halfPi - rho * cos(eta)];\n }\n forward.invert = function (x, y) {\n var x1 = x * sinPsi, y1 = halfPi - y, rho = sqrt(x1 * x1 + y1 * y1), eta = atan2(x1, y1);\n return [(rho ? rho / sin(rho) : 1) * eta / sinPsi, halfPi - rho];\n };\n return forward;\n }\n var bottomley = function () {\n var sinPsi = 0.5, m = d3Geo.geoProjectionMutator(bottomleyRaw), p = m(sinPsi);\n p.fraction = function (_) {\n return arguments.length ? m(sinPsi = +_) : sinPsi;\n };\n return p\n .scale(158.837);\n };\n var bromleyRaw = mollweideBromleyRaw(1, 4 / pi, pi);\n var bromley = function () {\n return d3Geo.geoProjection(bromleyRaw)\n .scale(152.63);\n };\n // Azimuthal distance.\n function distance(dPhi, c1, s1, c2, s2, dLambda) {\n var cosdLambda = cos(dLambda), r;\n if (abs(dPhi) > 1 || abs(dLambda) > 1) {\n r = acos(s1 * s2 + c1 * c2 * cosdLambda);\n }\n else {\n var sindPhi = sin(dPhi / 2), sindLambda = sin(dLambda / 2);\n r = 2 * asin(sqrt(sindPhi * sindPhi + c1 * c2 * sindLambda * sindLambda));\n }\n return abs(r) > epsilon ? [r, atan2(c2 * sin(dLambda), c1 * s2 - s1 * c2 * cosdLambda)] : [0, 0];\n }\n // Angle opposite a, and contained between sides of lengths b and c.\n function angle(b, c, a) {\n return acos((b * b + c * c - a * a) / (2 * b * c));\n }\n // Normalize longitude.\n function longitude(lambda) {\n return lambda - 2 * pi * floor((lambda + pi) / (2 * pi));\n }\n function chamberlinRaw(p0, p1, p2) {\n var points = [\n [p0[0], p0[1], sin(p0[1]), cos(p0[1])],\n [p1[0], p1[1], sin(p1[1]), cos(p1[1])],\n [p2[0], p2[1], sin(p2[1]), cos(p2[1])]\n ];\n for (var a = points[2], b, i = 0; i < 3; ++i, a = b) {\n b = points[i];\n a.v = distance(b[1] - a[1], a[3], a[2], b[3], b[2], b[0] - a[0]);\n a.point = [0, 0];\n }\n var beta0 = angle(points[0].v[0], points[2].v[0], points[1].v[0]), beta1 = angle(points[0].v[0], points[1].v[0], points[2].v[0]), beta2 = pi - beta0;\n points[2].point[1] = 0;\n points[0].point[0] = -(points[1].point[0] = points[0].v[0] / 2);\n var mean = [\n points[2].point[0] = points[0].point[0] + points[2].v[0] * cos(beta0),\n 2 * (points[0].point[1] = points[1].point[1] = points[2].v[0] * sin(beta0))\n ];\n function forward(lambda, phi) {\n var sinPhi = sin(phi), cosPhi = cos(phi), v = new Array(3), i;\n // Compute distance and azimuth from control points.\n for (i = 0; i < 3; ++i) {\n var p = points[i];\n v[i] = distance(phi - p[1], p[3], p[2], cosPhi, sinPhi, lambda - p[0]);\n if (!v[i][0])\n return p.point;\n v[i][1] = longitude(v[i][1] - p.v[1]);\n }\n // Arithmetic mean of interception points.\n var point = mean.slice();\n for (i = 0; i < 3; ++i) {\n var j = i == 2 ? 0 : i + 1;\n var a = angle(points[i].v[0], v[i][0], v[j][0]);\n if (v[i][1] < 0)\n a = -a;\n if (!i) {\n point[0] += v[i][0] * cos(a);\n point[1] -= v[i][0] * sin(a);\n }\n else if (i == 1) {\n a = beta1 - a;\n point[0] -= v[i][0] * cos(a);\n point[1] -= v[i][0] * sin(a);\n }\n else {\n a = beta2 - a;\n point[0] += v[i][0] * cos(a);\n point[1] += v[i][0] * sin(a);\n }\n }\n point[0] /= 3, point[1] /= 3;\n return point;\n }\n return forward;\n }\n function pointRadians(p) {\n return p[0] *= radians, p[1] *= radians, p;\n }\n function chamberlinAfrica() {\n return chamberlin([0, 22], [45, 22], [22.5, -22])\n .scale(380)\n .center([22.5, 2]);\n }\n function chamberlin(p0, p1, p2) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: [p0, p1, p2] }), R = [-c[0], -c[1]], r = d3Geo.geoRotation(R), p = d3Geo.geoProjection(chamberlinRaw(pointRadians(r(p0)), pointRadians(r(p1)), pointRadians(r(p2)))).rotate(R), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p\n .clipAngle(90);\n }\n function collignonRaw(lambda, phi) {\n var alpha = sqrt(1 - sin(phi));\n return [(2 / sqrtPi) * lambda * alpha, sqrtPi * (1 - alpha)];\n }\n collignonRaw.invert = function (x, y) {\n var lambda = (lambda = y / sqrtPi - 1) * lambda;\n return [lambda > 0 ? x * sqrt(pi / lambda) / 2 : 0, asin(1 - lambda)];\n };\n var collignon = function () {\n return d3Geo.geoProjection(collignonRaw)\n .scale(95.6464)\n .center([0, 30]);\n };\n function craigRaw(phi0) {\n var tanPhi0 = tan(phi0);\n function forward(lambda, phi) {\n return [lambda, (lambda ? lambda / sin(lambda) : 1) * (sin(phi) * cos(lambda) - tanPhi0 * cos(phi))];\n }\n forward.invert = tanPhi0 ? function (x, y) {\n if (x)\n y *= sin(x) / x;\n var cosLambda = cos(x);\n return [x, 2 * atan2(sqrt(cosLambda * cosLambda + tanPhi0 * tanPhi0 - y * y) - cosLambda, tanPhi0 - y)];\n } : function (x, y) {\n return [x, asin(x ? y * tan(x) / x : y)];\n };\n return forward;\n }\n var craig = function () {\n return parallel1(craigRaw)\n .scale(249.828)\n .clipAngle(90);\n };\n var sqrt3 = sqrt(3);\n function crasterRaw(lambda, phi) {\n return [sqrt3 * lambda * (2 * cos(2 * phi / 3) - 1) / sqrtPi, sqrt3 * sqrtPi * sin(phi / 3)];\n }\n crasterRaw.invert = function (x, y) {\n var phi = 3 * asin(y / (sqrt3 * sqrtPi));\n return [sqrtPi * x / (sqrt3 * (2 * cos(2 * phi / 3) - 1)), phi];\n };\n var craster = function () {\n return d3Geo.geoProjection(crasterRaw)\n .scale(156.19);\n };\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n var cylindricalEqualArea = function () {\n return parallel1(cylindricalEqualAreaRaw)\n .parallel(38.58) // acos(sqrt(width / height / pi)) * radians\n .scale(195.044); // width / (sqrt(width / height / pi) * 2 * pi)\n };\n function cylindricalStereographicRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, (1 + cosPhi0) * tan(phi / 2)];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, atan(y / (1 + cosPhi0)) * 2];\n };\n return forward;\n }\n var cylindricalStereographic = function () {\n return parallel1(cylindricalStereographicRaw)\n .scale(124.75);\n };\n function eckert1Raw(lambda, phi) {\n var alpha = sqrt(8 / (3 * pi));\n return [\n alpha * lambda * (1 - abs(phi) / pi),\n alpha * phi\n ];\n }\n eckert1Raw.invert = function (x, y) {\n var alpha = sqrt(8 / (3 * pi)), phi = y / alpha;\n return [\n x / (alpha * (1 - abs(phi) / pi)),\n phi\n ];\n };\n var eckert1 = function () {\n return d3Geo.geoProjection(eckert1Raw)\n .scale(165.664);\n };\n function eckert2Raw(lambda, phi) {\n var alpha = sqrt(4 - 3 * sin(abs(phi)));\n return [\n 2 / sqrt(6 * pi) * lambda * alpha,\n sign(phi) * sqrt(2 * pi / 3) * (2 - alpha)\n ];\n }\n eckert2Raw.invert = function (x, y) {\n var alpha = 2 - abs(y) / sqrt(2 * pi / 3);\n return [\n x * sqrt(6 * pi) / (2 * alpha),\n sign(y) * asin((4 - alpha * alpha) / 3)\n ];\n };\n var eckert2 = function () {\n return d3Geo.geoProjection(eckert2Raw)\n .scale(165.664);\n };\n function eckert3Raw(lambda, phi) {\n var k = sqrt(pi * (4 + pi));\n return [\n 2 / k * lambda * (1 + sqrt(1 - 4 * phi * phi / (pi * pi))),\n 4 / k * phi\n ];\n }\n eckert3Raw.invert = function (x, y) {\n var k = sqrt(pi * (4 + pi)) / 2;\n return [\n x * k / (1 + sqrt(1 - y * y * (4 + pi) / (4 * pi))),\n y * k / 2\n ];\n };\n var eckert3 = function () {\n return d3Geo.geoProjection(eckert3Raw)\n .scale(180.739);\n };\n function eckert4Raw(lambda, phi) {\n var k = (2 + halfPi) * sin(phi);\n phi /= 2;\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; i++) {\n var cosPhi = cos(phi);\n phi -= delta = (phi + sin(phi) * (cosPhi + 2) - k) / (2 * cosPhi * (1 + cosPhi));\n }\n return [\n 2 / sqrt(pi * (4 + pi)) * lambda * (1 + cos(phi)),\n 2 * sqrt(pi / (4 + pi)) * sin(phi)\n ];\n }\n eckert4Raw.invert = function (x, y) {\n var A = y * sqrt((4 + pi) / pi) / 2, k = asin(A), c = cos(k);\n return [\n x / (2 / sqrt(pi * (4 + pi)) * (1 + c)),\n asin((k + A * (c + 2)) / (2 + halfPi))\n ];\n };\n var eckert4 = function () {\n return d3Geo.geoProjection(eckert4Raw)\n .scale(180.739);\n };\n function eckert5Raw(lambda, phi) {\n return [\n lambda * (1 + cos(phi)) / sqrt(2 + pi),\n 2 * phi / sqrt(2 + pi)\n ];\n }\n eckert5Raw.invert = function (x, y) {\n var k = sqrt(2 + pi), phi = y * k / 2;\n return [\n k * x / (1 + cos(phi)),\n phi\n ];\n };\n var eckert5 = function () {\n return d3Geo.geoProjection(eckert5Raw)\n .scale(173.044);\n };\n function eckert6Raw(lambda, phi) {\n var k = (1 + halfPi) * sin(phi);\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; i++) {\n phi -= delta = (phi + sin(phi) - k) / (1 + cos(phi));\n }\n k = sqrt(2 + pi);\n return [\n lambda * (1 + cos(phi)) / k,\n 2 * phi / k\n ];\n }\n eckert6Raw.invert = function (x, y) {\n var j = 1 + halfPi, k = sqrt(j / 2);\n return [\n x * 2 * k / (1 + cos(y *= k)),\n asin((y + sin(y)) / j)\n ];\n };\n var eckert6 = function () {\n return d3Geo.geoProjection(eckert6Raw)\n .scale(173.044);\n };\n var eisenlohrK = 3 + 2 * sqrt2;\n function eisenlohrRaw(lambda, phi) {\n var s0 = sin(lambda /= 2), c0 = cos(lambda), k = sqrt(cos(phi)), c1 = cos(phi /= 2), t = sin(phi) / (c1 + sqrt2 * c0 * k), c = sqrt(2 / (1 + t * t)), v = sqrt((sqrt2 * c1 + (c0 + s0) * k) / (sqrt2 * c1 + (c0 - s0) * k));\n return [\n eisenlohrK * (c * (v - 1 / v) - 2 * log(v)),\n eisenlohrK * (c * t * (v + 1 / v) - 2 * atan(t))\n ];\n }\n eisenlohrRaw.invert = function (x, y) {\n if (!(p = augustRaw.invert(x / 1.2, y * 1.065)))\n return null;\n var lambda = p[0], phi = p[1], i = 20, p;\n x /= eisenlohrK, y /= eisenlohrK;\n do {\n var _0 = lambda / 2, _1 = phi / 2, s0 = sin(_0), c0 = cos(_0), s1 = sin(_1), c1 = cos(_1), cos1 = cos(phi), k = sqrt(cos1), t = s1 / (c1 + sqrt2 * c0 * k), t2 = t * t, c = sqrt(2 / (1 + t2)), v0 = (sqrt2 * c1 + (c0 + s0) * k), v1 = (sqrt2 * c1 + (c0 - s0) * k), v2 = v0 / v1, v = sqrt(v2), vm1v = v - 1 / v, vp1v = v + 1 / v, fx = c * vm1v - 2 * log(v) - x, fy = c * t * vp1v - 2 * atan(t) - y, deltatDeltaLambda = s1 && sqrt1_2 * k * s0 * t2 / s1, deltatDeltaPhi = (sqrt2 * c0 * c1 + k) / (2 * (c1 + sqrt2 * c0 * k) * (c1 + sqrt2 * c0 * k) * k), deltacDeltat = -0.5 * t * c * c * c, deltacDeltaLambda = deltacDeltat * deltatDeltaLambda, deltacDeltaPhi = deltacDeltat * deltatDeltaPhi, A = (A = 2 * c1 + sqrt2 * k * (c0 - s0)) * A * v, deltavDeltaLambda = (sqrt2 * c0 * c1 * k + cos1) / A, deltavDeltaPhi = -(sqrt2 * s0 * s1) / (k * A), deltaxDeltaLambda = vm1v * deltacDeltaLambda - 2 * deltavDeltaLambda / v + c * (deltavDeltaLambda + deltavDeltaLambda / v2), deltaxDeltaPhi = vm1v * deltacDeltaPhi - 2 * deltavDeltaPhi / v + c * (deltavDeltaPhi + deltavDeltaPhi / v2), deltayDeltaLambda = t * vp1v * deltacDeltaLambda - 2 * deltatDeltaLambda / (1 + t2) + c * vp1v * deltatDeltaLambda + c * t * (deltavDeltaLambda - deltavDeltaLambda / v2), deltayDeltaPhi = t * vp1v * deltacDeltaPhi - 2 * deltatDeltaPhi / (1 + t2) + c * vp1v * deltatDeltaPhi + c * t * (deltavDeltaPhi - deltavDeltaPhi / v2), denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda;\n if (!denominator)\n break;\n var deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator, deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n lambda -= deltaLambda;\n phi = max(-halfPi, min(halfPi, phi - deltaPhi));\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return abs(abs(phi) - halfPi) < epsilon ? [0, phi] : i && [lambda, phi];\n };\n var eisenlohr = function () {\n return d3Geo.geoProjection(eisenlohrRaw)\n .scale(62.5271);\n };\n var faheyK = cos(35 * radians);\n function faheyRaw(lambda, phi) {\n var t = tan(phi / 2);\n return [lambda * faheyK * sqrt(1 - t * t), (1 + faheyK) * t];\n }\n faheyRaw.invert = function (x, y) {\n var t = y / (1 + faheyK);\n return [x && x / (faheyK * sqrt(1 - t * t)), 2 * atan(t)];\n };\n var fahey = function () {\n return d3Geo.geoProjection(faheyRaw)\n .scale(137.152);\n };\n function foucautRaw(lambda, phi) {\n var k = phi / 2, cosk = cos(k);\n return [2 * lambda / sqrtPi * cos(phi) * cosk * cosk, sqrtPi * tan(k)];\n }\n foucautRaw.invert = function (x, y) {\n var k = atan(y / sqrtPi), cosk = cos(k), phi = 2 * k;\n return [x * sqrtPi / 2 / (cos(phi) * cosk * cosk), phi];\n };\n var foucaut = function () {\n return d3Geo.geoProjection(foucautRaw)\n .scale(135.264);\n };\n function gilbertForward(point) {\n return [point[0] / 2, asin(tan(point[1] / 2 * radians)) * degrees];\n }\n function gilbertInvert(point) {\n return [point[0] * 2, 2 * atan(sin(point[1] * radians)) * degrees];\n }\n var gilbert = function (projectionType) {\n if (projectionType == null)\n projectionType = d3Geo.geoOrthographic;\n var projection = projectionType(), equirectangular = d3Geo.geoEquirectangular().scale(degrees).precision(0).clipAngle(null).translate([0, 0]); // antimeridian cutting\n function gilbert(point) {\n return projection(gilbertForward(point));\n }\n if (projection.invert)\n gilbert.invert = function (point) {\n return gilbertInvert(projection.invert(point));\n };\n gilbert.stream = function (stream) {\n var s1 = projection.stream(stream), s0 = equirectangular.stream({\n point: function (lambda, phi) { s1.point(lambda / 2, asin(tan(-phi / 2 * radians)) * degrees); },\n lineStart: function () { s1.lineStart(); },\n lineEnd: function () { s1.lineEnd(); },\n polygonStart: function () { s1.polygonStart(); },\n polygonEnd: function () { s1.polygonEnd(); }\n });\n s0.sphere = s1.sphere;\n return s0;\n };\n function property(name) {\n gilbert[name] = function (_) {\n return arguments.length ? (projection[name](_), gilbert) : projection[name]();\n };\n }\n gilbert.rotate = function (_) {\n return arguments.length ? (equirectangular.rotate(_), gilbert) : equirectangular.rotate();\n };\n gilbert.center = function (_) {\n return arguments.length ? (projection.center(gilbertForward(_)), gilbert) : gilbertInvert(projection.center());\n };\n property(\"clipAngle\");\n property(\"clipExtent\");\n property(\"scale\");\n property(\"translate\");\n property(\"precision\");\n return gilbert\n .scale(249.5);\n };\n function gingeryRaw(rho, n) {\n var k = 2 * pi / n, rho2 = rho * rho;\n function forward(lambda, phi) {\n var p = d3Geo.geoAzimuthalEquidistantRaw(lambda, phi), x = p[0], y = p[1], r2 = x * x + y * y;\n if (r2 > rho2) {\n var r = sqrt(r2), theta = atan2(y, x), theta0 = k * round(theta / k), alpha = theta - theta0, rhoCosAlpha = rho * cos(alpha), k_ = (rho * sin(alpha) - alpha * sin(rhoCosAlpha)) / (halfPi - rhoCosAlpha), s_ = gingeryLength(alpha, k_), e = (pi - rho) / gingeryIntegrate(s_, rhoCosAlpha, pi);\n x = r;\n var i = 50, delta;\n do {\n x -= delta = (rho + gingeryIntegrate(s_, rhoCosAlpha, x) * e - r) / (s_(x) * e);\n } while (abs(delta) > epsilon && --i > 0);\n y = alpha * sin(x);\n if (x < halfPi)\n y -= k_ * (x - halfPi);\n var s = sin(theta0), c = cos(theta0);\n p[0] = x * c - y * s;\n p[1] = x * s + y * c;\n }\n return p;\n }\n forward.invert = function (x, y) {\n var r2 = x * x + y * y;\n if (r2 > rho2) {\n var r = sqrt(r2), theta = atan2(y, x), theta0 = k * round(theta / k), dTheta = theta - theta0;\n x = r * cos(dTheta);\n y = r * sin(dTheta);\n var x_halfPi = x - halfPi, sinx = sin(x), alpha = y / sinx, delta = x < halfPi ? Infinity : 0, i = 10;\n while (true) {\n var rhosinAlpha = rho * sin(alpha), rhoCosAlpha = rho * cos(alpha), sinRhoCosAlpha = sin(rhoCosAlpha), halfPi_RhoCosAlpha = halfPi - rhoCosAlpha, k_ = (rhosinAlpha - alpha * sinRhoCosAlpha) / halfPi_RhoCosAlpha, s_ = gingeryLength(alpha, k_);\n if (abs(delta) < epsilon2 || !--i)\n break;\n alpha -= delta = (alpha * sinx - k_ * x_halfPi - y) / (sinx - x_halfPi * 2 * (halfPi_RhoCosAlpha * (rhoCosAlpha + alpha * rhosinAlpha * cos(rhoCosAlpha) - sinRhoCosAlpha) -\n rhosinAlpha * (rhosinAlpha - alpha * sinRhoCosAlpha)) / (halfPi_RhoCosAlpha * halfPi_RhoCosAlpha));\n }\n r = rho + gingeryIntegrate(s_, rhoCosAlpha, x) * (pi - rho) / gingeryIntegrate(s_, rhoCosAlpha, pi);\n theta = theta0 + alpha;\n x = r * cos(theta);\n y = r * sin(theta);\n }\n return d3Geo.geoAzimuthalEquidistantRaw.invert(x, y);\n };\n return forward;\n }\n function gingeryLength(alpha, k) {\n return function (x) {\n var y_ = alpha * cos(x);\n if (x < halfPi)\n y_ -= k;\n return sqrt(1 + y_ * y_);\n };\n }\n // Numerical integration: trapezoidal rule.\n function gingeryIntegrate(f, a, b) {\n var n = 50, h = (b - a) / n, s = f(a) + f(b);\n for (var i = 1, x = a; i < n; ++i)\n s += 2 * f(x += h);\n return s * 0.5 * h;\n }\n var gingery = function () {\n var n = 6, rho = 30 * radians, cRho = cos(rho), sRho = sin(rho), m = d3Geo.geoProjectionMutator(gingeryRaw), p = m(rho, n), stream_ = p.stream, epsilon$$1 = 1e-2, cr = -cos(epsilon$$1 * radians), sr = sin(epsilon$$1 * radians);\n p.radius = function (_) {\n if (!arguments.length)\n return rho * degrees;\n cRho = cos(rho = _ * radians);\n sRho = sin(rho);\n return m(rho, n);\n };\n p.lobes = function (_) {\n if (!arguments.length)\n return n;\n return m(rho, n = +_);\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart(), sphereStream.lineStart();\n for (var i = 0, delta = 2 * pi / n, phi = 0; i < n; ++i, phi -= delta) {\n sphereStream.point(atan2(sr * cos(phi), cr) * degrees, asin(sr * sin(phi)) * degrees);\n sphereStream.point(atan2(sRho * cos(phi - delta / 2), cRho) * degrees, asin(sRho * sin(phi - delta / 2)) * degrees);\n }\n sphereStream.lineEnd(), sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return p\n .rotate([90, -40])\n .scale(91.7095)\n .clipAngle(180 - 1e-3);\n };\n var ginzburgPolyconicRaw = function (a, b, c, d, e, f, g, h) {\n if (arguments.length < 8)\n h = 0;\n function forward(lambda, phi) {\n if (!phi)\n return [a * lambda / pi, 0];\n var phi2 = phi * phi, xB = a + phi2 * (b + phi2 * (c + phi2 * d)), yB = phi * (e - 1 + phi2 * (f - h + phi2 * g)), m = (xB * xB + yB * yB) / (2 * yB), alpha = lambda * asin(xB / m) / pi;\n return [m * sin(alpha), phi * (1 + phi2 * h) + m * (1 - cos(alpha))];\n }\n forward.invert = function (x, y) {\n var lambda = pi * x / a, phi = y, deltaLambda, deltaPhi, i = 50;\n do {\n var phi2 = phi * phi, xB = a + phi2 * (b + phi2 * (c + phi2 * d)), yB = phi * (e - 1 + phi2 * (f - h + phi2 * g)), p = xB * xB + yB * yB, q = 2 * yB, m = p / q, m2 = m * m, dAlphadLambda = asin(xB / m) / pi, alpha = lambda * dAlphadLambda, xB2 = xB * xB, dxBdPhi = (2 * b + phi2 * (4 * c + phi2 * 6 * d)) * phi, dyBdPhi = e + phi2 * (3 * f + phi2 * 5 * g), dpdPhi = 2 * (xB * dxBdPhi + yB * (dyBdPhi - 1)), dqdPhi = 2 * (dyBdPhi - 1), dmdPhi = (dpdPhi * q - p * dqdPhi) / (q * q), cosAlpha = cos(alpha), sinAlpha = sin(alpha), mcosAlpha = m * cosAlpha, msinAlpha = m * sinAlpha, dAlphadPhi = ((lambda / pi) * (1 / sqrt(1 - xB2 / m2)) * (dxBdPhi * m - xB * dmdPhi)) / m2, fx = msinAlpha - x, fy = phi * (1 + phi2 * h) + m - mcosAlpha - y, deltaxDeltaPhi = dmdPhi * sinAlpha + mcosAlpha * dAlphadPhi, deltaxDeltaLambda = mcosAlpha * dAlphadLambda, deltayDeltaPhi = 1 + dmdPhi - (dmdPhi * cosAlpha - msinAlpha * dAlphadPhi), deltayDeltaLambda = msinAlpha * dAlphadLambda, denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda;\n if (!denominator)\n break;\n lambda -= deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator;\n phi -= deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return [lambda, phi];\n };\n return forward;\n };\n var ginzburg4Raw = ginzburgPolyconicRaw(2.8284, -1.6988, 0.75432, -0.18071, 1.76003, -0.38914, 0.042555);\n var ginzburg4 = function () {\n return d3Geo.geoProjection(ginzburg4Raw)\n .scale(149.995);\n };\n var ginzburg5Raw = ginzburgPolyconicRaw(2.583819, -0.835827, 0.170354, -0.038094, 1.543313, -0.411435, 0.082742);\n var ginzburg5 = function () {\n return d3Geo.geoProjection(ginzburg5Raw)\n .scale(153.93);\n };\n var ginzburg6Raw = ginzburgPolyconicRaw(5 / 6 * pi, -0.62636, -0.0344, 0, 1.3493, -0.05524, 0, 0.045);\n var ginzburg6 = function () {\n return d3Geo.geoProjection(ginzburg6Raw)\n .scale(130.945);\n };\n function ginzburg8Raw(lambda, phi) {\n var lambda2 = lambda * lambda, phi2 = phi * phi;\n return [\n lambda * (1 - 0.162388 * phi2) * (0.87 - 0.000952426 * lambda2 * lambda2),\n phi * (1 + phi2 / 12)\n ];\n }\n ginzburg8Raw.invert = function (x, y) {\n var lambda = x, phi = y, i = 50, delta;\n do {\n var phi2 = phi * phi;\n phi -= delta = (phi * (1 + phi2 / 12) - y) / (1 + phi2 / 4);\n } while (abs(delta) > epsilon && --i > 0);\n i = 50;\n x /= 1 - 0.162388 * phi2;\n do {\n var lambda4 = (lambda4 = lambda * lambda) * lambda4;\n lambda -= delta = (lambda * (0.87 - 0.000952426 * lambda4) - x) / (0.87 - 0.00476213 * lambda4);\n } while (abs(delta) > epsilon && --i > 0);\n return [lambda, phi];\n };\n var ginzburg8 = function () {\n return d3Geo.geoProjection(ginzburg8Raw)\n .scale(131.747);\n };\n var ginzburg9Raw = ginzburgPolyconicRaw(2.6516, -0.76534, 0.19123, -0.047094, 1.36289, -0.13965, 0.031762);\n var ginzburg9 = function () {\n return d3Geo.geoProjection(ginzburg9Raw)\n .scale(131.087);\n };\n var squareRaw = function (project) {\n var dx = project(halfPi, 0)[0] - project(-halfPi, 0)[0];\n function projectSquare(lambda, phi) {\n var s = lambda > 0 ? -0.5 : 0.5, point = project(lambda + s * pi, phi);\n point[0] -= s * dx;\n return point;\n }\n if (project.invert)\n projectSquare.invert = function (x, y) {\n var s = x > 0 ? -0.5 : 0.5, location = project.invert(x + s * dx, y), lambda = location[0] - s * pi;\n if (lambda < -pi)\n lambda += 2 * pi;\n else if (lambda > pi)\n lambda -= 2 * pi;\n location[0] = lambda;\n return location;\n };\n return projectSquare;\n };\n function gringortenRaw(lambda, phi) {\n var sLambda = sign(lambda), sPhi = sign(phi), cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(sPhi * phi);\n lambda = abs(atan2(y, z));\n phi = asin(x);\n if (abs(lambda - halfPi) > epsilon)\n lambda %= halfPi;\n var point = gringortenHexadecant(lambda > pi / 4 ? halfPi - lambda : lambda, phi);\n if (lambda > pi / 4)\n z = point[0], point[0] = -point[1], point[1] = -z;\n return (point[0] *= sLambda, point[1] *= -sPhi, point);\n }\n gringortenRaw.invert = function (x, y) {\n if (abs(x) > 1)\n x = sign(x) * 2 - x;\n if (abs(y) > 1)\n y = sign(y) * 2 - y;\n var sx = sign(x), sy = sign(y), x0 = -sx * x, y0 = -sy * y, t = y0 / x0 < 1, p = gringortenHexadecantInvert(t ? y0 : x0, t ? x0 : y0), lambda = p[0], phi = p[1], cosPhi = cos(phi);\n if (t)\n lambda = -halfPi - lambda;\n return [sx * (atan2(sin(lambda) * cosPhi, -sin(phi)) + pi), sy * asin(cos(lambda) * cosPhi)];\n };\n function gringortenHexadecant(lambda, phi) {\n if (phi === halfPi)\n return [0, 0];\n var sinPhi = sin(phi), r = sinPhi * sinPhi, r2 = r * r, j = 1 + r2, k = 1 + 3 * r2, q = 1 - r2, z = asin(1 / sqrt(j)), v = q + r * j * z, p2 = (1 - sinPhi) / v, p = sqrt(p2), a2 = p2 * j, a = sqrt(a2), h = p * q, x, i;\n if (lambda === 0)\n return [0, -(h + r * a)];\n var cosPhi = cos(phi), secPhi = 1 / cosPhi, drdPhi = 2 * sinPhi * cosPhi, dvdPhi = (-3 * r + z * k) * drdPhi, dp2dPhi = (-v * cosPhi - (1 - sinPhi) * dvdPhi) / (v * v), dpdPhi = (0.5 * dp2dPhi) / p, dhdPhi = q * dpdPhi - 2 * r * p * drdPhi, dra2dPhi = r * j * dp2dPhi + p2 * k * drdPhi, mu = -secPhi * drdPhi, nu = -secPhi * dra2dPhi, zeta = -2 * secPhi * dhdPhi, lambda1 = 4 * lambda / pi, delta;\n // Slower but accurate bisection method.\n if (lambda > 0.222 * pi || phi < pi / 4 && lambda > 0.175 * pi) {\n x = (h + r * sqrt(a2 * (1 + r2) - h * h)) / (1 + r2);\n if (lambda > pi / 4)\n return [x, x];\n var x1 = x, x0 = 0.5 * x;\n x = 0.5 * (x0 + x1), i = 50;\n do {\n var g = sqrt(a2 - x * x), f = (x * (zeta + mu * g) + nu * asin(x / a)) - lambda1;\n if (!f)\n break;\n if (f < 0)\n x0 = x;\n else\n x1 = x;\n x = 0.5 * (x0 + x1);\n } while (abs(x1 - x0) > epsilon && --i > 0);\n }\n // Newton-Raphson.\n else {\n x = epsilon, i = 25;\n do {\n var x2 = x * x, g2 = sqrt(a2 - x2), zetaMug = zeta + mu * g2, f2 = x * zetaMug + nu * asin(x / a) - lambda1, df = zetaMug + (nu - mu * x2) / g2;\n x -= delta = g2 ? f2 / df : 0;\n } while (abs(delta) > epsilon && --i > 0);\n }\n return [x, -h - r * sqrt(a2 - x * x)];\n }\n function gringortenHexadecantInvert(x, y) {\n var x0 = 0, x1 = 1, r = 0.5, i = 50;\n while (true) {\n var r2 = r * r, sinPhi = sqrt(r), z = asin(1 / sqrt(1 + r2)), v = (1 - r2) + r * (1 + r2) * z, p2 = (1 - sinPhi) / v, p = sqrt(p2), a2 = p2 * (1 + r2), h = p * (1 - r2), g2 = a2 - x * x, g = sqrt(g2), y0 = y + h + r * g;\n if (abs(x1 - x0) < epsilon2 || --i === 0 || y0 === 0)\n break;\n if (y0 > 0)\n x0 = r;\n else\n x1 = r;\n r = 0.5 * (x0 + x1);\n }\n if (!i)\n return null;\n var phi = asin(sinPhi), cosPhi = cos(phi), secPhi = 1 / cosPhi, drdPhi = 2 * sinPhi * cosPhi, dvdPhi = (-3 * r + z * (1 + 3 * r2)) * drdPhi, dp2dPhi = (-v * cosPhi - (1 - sinPhi) * dvdPhi) / (v * v), dpdPhi = 0.5 * dp2dPhi / p, dhdPhi = (1 - r2) * dpdPhi - 2 * r * p * drdPhi, zeta = -2 * secPhi * dhdPhi, mu = -secPhi * drdPhi, nu = -secPhi * (r * (1 + r2) * dp2dPhi + p2 * (1 + 3 * r2) * drdPhi);\n return [pi / 4 * (x * (zeta + mu * g) + nu * asin(x / sqrt(a2))), phi];\n }\n var gringorten = function () {\n return d3Geo.geoProjection(squareRaw(gringortenRaw))\n .scale(239.75);\n };\n // Returns [sn, cn, dn](u + iv|m).\n function ellipticJi(u, v, m) {\n var a, b, c;\n if (!u) {\n b = ellipticJ(v, 1 - m);\n return [\n [0, b[0] / b[1]],\n [1 / b[1], 0],\n [b[2] / b[1], 0]\n ];\n }\n a = ellipticJ(u, m);\n if (!v)\n return [[a[0], 0], [a[1], 0], [a[2], 0]];\n b = ellipticJ(v, 1 - m);\n c = b[1] * b[1] + m * a[0] * a[0] * b[0] * b[0];\n return [\n [a[0] * b[2] / c, a[1] * a[2] * b[0] * b[1] / c],\n [a[1] * b[1] / c, -a[0] * a[2] * b[0] * b[2] / c],\n [a[2] * b[1] * b[2] / c, -m * a[0] * a[1] * b[0] / c]\n ];\n }\n // Returns [sn, cn, dn, ph](u|m).\n function ellipticJ(u, m) {\n var ai, b, phi, t, twon;\n if (m < epsilon) {\n t = sin(u);\n b = cos(u);\n ai = m * (u - t * b) / 4;\n return [\n t - ai * b,\n b + ai * t,\n 1 - m * t * t / 2,\n u - ai\n ];\n }\n if (m >= 1 - epsilon) {\n ai = (1 - m) / 4;\n b = cosh(u);\n t = tanh(u);\n phi = 1 / b;\n twon = b * sinh(u);\n return [\n t + ai * (twon - u) / (b * b),\n phi - ai * t * phi * (twon - u),\n phi + ai * t * phi * (twon + u),\n 2 * atan(exp(u)) - halfPi + ai * (twon - u) / b\n ];\n }\n var a = [1, 0, 0, 0, 0, 0, 0, 0, 0], c = [sqrt(m), 0, 0, 0, 0, 0, 0, 0, 0], i = 0;\n b = sqrt(1 - m);\n twon = 1;\n while (abs(c[i] / a[i]) > epsilon && i < 8) {\n ai = a[i++];\n c[i] = (ai - b) / 2;\n a[i] = (ai + b) / 2;\n b = sqrt(ai * b);\n twon *= 2;\n }\n phi = twon * a[i] * u;\n do {\n t = c[i] * sin(b = phi) / a[i];\n phi = (asin(t) + phi) / 2;\n } while (--i);\n return [sin(phi), t = cos(phi), t / cos(phi - b), phi];\n }\n // Calculate F(phi+iPsi|m).\n // See Abramowitz and Stegun, 17.4.11.\n function ellipticFi(phi, psi, m) {\n var r = abs(phi), i = abs(psi), sinhPsi = sinh(i);\n if (r) {\n var cscPhi = 1 / sin(r), cotPhi2 = 1 / (tan(r) * tan(r)), b = -(cotPhi2 + m * (sinhPsi * sinhPsi * cscPhi * cscPhi) - 1 + m), c = (m - 1) * cotPhi2, cotLambda2 = (-b + sqrt(b * b - 4 * c)) / 2;\n return [\n ellipticF(atan(1 / sqrt(cotLambda2)), m) * sign(phi),\n ellipticF(atan(sqrt((cotLambda2 / cotPhi2 - 1) / m)), 1 - m) * sign(psi)\n ];\n }\n return [\n 0,\n ellipticF(atan(sinhPsi), 1 - m) * sign(psi)\n ];\n }\n // Calculate F(phi|m) where m = k² = sin²α.\n // See Abramowitz and Stegun, 17.6.7.\n function ellipticF(phi, m) {\n if (!m)\n return phi;\n if (m === 1)\n return log(tan(phi / 2 + quarterPi));\n var a = 1, b = sqrt(1 - m), c = sqrt(m);\n for (var i = 0; abs(c) > epsilon; i++) {\n if (phi % pi) {\n var dPhi = atan(b * tan(phi) / a);\n if (dPhi < 0)\n dPhi += pi;\n phi += dPhi + ~~(phi / pi) * pi;\n }\n else\n phi += phi;\n c = (a + b) / 2;\n b = sqrt(a * b);\n c = ((a = c) - b) / 2;\n }\n return phi / (pow(2, i) * a);\n }\n function guyouRaw(lambda, phi) {\n var k_ = (sqrt2 - 1) / (sqrt2 + 1), k = sqrt(1 - k_ * k_), K = ellipticF(halfPi, k * k), f = -1, psi = log(tan(pi / 4 + abs(phi) / 2)), r = exp(f * psi) / sqrt(k_), at = guyouComplexAtan(r * cos(f * lambda), r * sin(f * lambda)), t = ellipticFi(at[0], at[1], k * k);\n return [-t[1], (phi >= 0 ? 1 : -1) * (0.5 * K - t[0])];\n }\n function guyouComplexAtan(x, y) {\n var x2 = x * x, y_1 = y + 1, t = 1 - x2 - y * y;\n return [\n 0.5 * ((x >= 0 ? halfPi : -halfPi) - atan2(t, 2 * x)),\n -0.25 * log(t * t + 4 * x2) + 0.5 * log(y_1 * y_1 + x2)\n ];\n }\n function guyouComplexDivide(a, b) {\n var denominator = b[0] * b[0] + b[1] * b[1];\n return [\n (a[0] * b[0] + a[1] * b[1]) / denominator,\n (a[1] * b[0] - a[0] * b[1]) / denominator\n ];\n }\n guyouRaw.invert = function (x, y) {\n var k_ = (sqrt2 - 1) / (sqrt2 + 1), k = sqrt(1 - k_ * k_), K = ellipticF(halfPi, k * k), f = -1, j = ellipticJi(0.5 * K - y, -x, k * k), tn = guyouComplexDivide(j[0], j[1]), lambda = atan2(tn[1], tn[0]) / f;\n return [\n lambda,\n 2 * atan(exp(0.5 / f * log(k_ * tn[0] * tn[0] + k_ * tn[1] * tn[1]))) - halfPi\n ];\n };\n var guyou = function () {\n return d3Geo.geoProjection(squareRaw(guyouRaw))\n .scale(151.496);\n };\n function hammerRaw(A, B) {\n if (arguments.length < 2)\n B = A;\n if (B === 1)\n return d3Geo.geoAzimuthalEqualAreaRaw;\n if (B === Infinity)\n return hammerQuarticAuthalicRaw;\n function forward(lambda, phi) {\n var coordinates = d3Geo.geoAzimuthalEqualAreaRaw(lambda / B, phi);\n coordinates[0] *= A;\n return coordinates;\n }\n forward.invert = function (x, y) {\n var coordinates = d3Geo.geoAzimuthalEqualAreaRaw.invert(x / A, y);\n coordinates[0] *= B;\n return coordinates;\n };\n return forward;\n }\n function hammerQuarticAuthalicRaw(lambda, phi) {\n return [\n lambda * cos(phi) / cos(phi /= 2),\n 2 * sin(phi)\n ];\n }\n hammerQuarticAuthalicRaw.invert = function (x, y) {\n var phi = 2 * asin(y / 2);\n return [\n x * cos(phi / 2) / cos(phi),\n phi\n ];\n };\n var hammer = function () {\n var B = 2, m = d3Geo.geoProjectionMutator(hammerRaw), p = m(B);\n p.coefficient = function (_) {\n if (!arguments.length)\n return B;\n return m(B = +_);\n };\n return p\n .scale(169.529);\n };\n function hammerRetroazimuthalRaw(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0), rotate = hammerRetroazimuthalRotation(phi0);\n rotate.invert = hammerRetroazimuthalRotation(-phi0);\n function forward(lambda, phi) {\n var p = rotate(lambda, phi);\n lambda = p[0], phi = p[1];\n var sinPhi = sin(phi), cosPhi = cos(phi), cosLambda = cos(lambda), z = acos(sinPhi0 * sinPhi + cosPhi0 * cosPhi * cosLambda), sinz = sin(z), K = abs(sinz) > epsilon ? z / sinz : 1;\n return [\n K * cosPhi0 * sin(lambda),\n (abs(lambda) > halfPi ? K : -K) // rotate for back hemisphere\n * (sinPhi0 * cosPhi - cosPhi0 * sinPhi * cosLambda)\n ];\n }\n forward.invert = function (x, y) {\n var rho = sqrt(x * x + y * y), sinz = -sin(rho), cosz = cos(rho), a = rho * cosz, b = -y * sinz, c = rho * sinPhi0, d = sqrt(a * a + b * b - c * c), phi = atan2(a * c + b * d, b * c - a * d), lambda = (rho > halfPi ? -1 : 1) * atan2(x * sinz, rho * cos(phi) * cosz + y * sin(phi) * sinz);\n return rotate.invert(lambda, phi);\n };\n return forward;\n }\n // Latitudinal rotation by phi0.\n // Temporary hack until D3 supports arbitrary small-circle clipping origins.\n function hammerRetroazimuthalRotation(phi0) {\n var sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n return function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi);\n return [\n atan2(y, x * cosPhi0 - z * sinPhi0),\n asin(z * cosPhi0 + x * sinPhi0)\n ];\n };\n }\n var hammerRetroazimuthal = function () {\n var phi0 = 0, m = d3Geo.geoProjectionMutator(hammerRetroazimuthalRaw), p = m(phi0), rotate_ = p.rotate, stream_ = p.stream, circle = d3Geo.geoCircle();\n p.parallel = function (_) {\n if (!arguments.length)\n return phi0 * degrees;\n var r = p.rotate();\n return m(phi0 = _ * radians).rotate(r);\n };\n // Temporary hack; see hammerRetroazimuthalRotation.\n p.rotate = function (_) {\n if (!arguments.length)\n return (_ = rotate_.call(p), _[1] += phi0 * degrees, _);\n rotate_.call(p, [_[0], _[1] - phi0 * degrees]);\n circle.center([-_[0], -_[1]]);\n return p;\n };\n p.stream = function (stream) {\n stream = stream_(stream);\n stream.sphere = function () {\n stream.polygonStart();\n var epsilon$$1 = 1e-2, ring = circle.radius(90 - epsilon$$1)().coordinates[0], n = ring.length - 1, i = -1, p;\n stream.lineStart();\n while (++i < n)\n stream.point((p = ring[i])[0], p[1]);\n stream.lineEnd();\n ring = circle.radius(90 + epsilon$$1)().coordinates[0];\n n = ring.length - 1;\n stream.lineStart();\n while (--i >= 0)\n stream.point((p = ring[i])[0], p[1]);\n stream.lineEnd();\n stream.polygonEnd();\n };\n return stream;\n };\n return p\n .scale(79.4187)\n .parallel(45)\n .clipAngle(180 - 1e-3);\n };\n var healpixParallel = 41 + 48 / 36 + 37 / 3600;\n var healpixLambert = cylindricalEqualAreaRaw(0);\n function healpixRaw(H) {\n var phi0 = healpixParallel * radians, dx = collignonRaw(pi, phi0)[0] - collignonRaw(-pi, phi0)[0], y0 = healpixLambert(0, phi0)[1], y1 = collignonRaw(0, phi0)[1], dy1 = sqrtPi - y1, k = tau / H, w = 4 / tau, h = y0 + (dy1 * dy1 * 4) / tau;\n function forward(lambda, phi) {\n var point, phi2 = abs(phi);\n if (phi2 > phi0) {\n var i = min(H - 1, max(0, floor((lambda + pi) / k)));\n lambda += pi * (H - 1) / H - i * k;\n point = collignonRaw(lambda, phi2);\n point[0] = point[0] * tau / dx - tau * (H - 1) / (2 * H) + i * tau / H;\n point[1] = y0 + (point[1] - y1) * 4 * dy1 / tau;\n if (phi < 0)\n point[1] = -point[1];\n }\n else {\n point = healpixLambert(lambda, phi);\n }\n point[0] *= w, point[1] /= h;\n return point;\n }\n forward.invert = function (x, y) {\n x /= w, y *= h;\n var y2 = abs(y);\n if (y2 > y0) {\n var i = min(H - 1, max(0, floor((x + pi) / k)));\n x = (x + pi * (H - 1) / H - i * k) * dx / tau;\n var point = collignonRaw.invert(x, 0.25 * (y2 - y0) * tau / dy1 + y1);\n point[0] -= pi * (H - 1) / H - i * k;\n if (y < 0)\n point[1] = -point[1];\n return point;\n }\n return healpixLambert.invert(x, y);\n };\n return forward;\n }\n function sphere(step) {\n return {\n type: \"Polygon\",\n coordinates: [\n d3Array.range(-180, 180 + step / 2, step).map(function (x, i) { return [x, i & 1 ? 90 - 1e-6 : healpixParallel]; })\n .concat(d3Array.range(180, -180 - step / 2, -step).map(function (x, i) { return [x, i & 1 ? -90 + 1e-6 : -healpixParallel]; }))\n ]\n };\n }\n var healpix = function () {\n var H = 4, m = d3Geo.geoProjectionMutator(healpixRaw), p = m(H), stream_ = p.stream;\n p.lobes = function (_) {\n return arguments.length ? m(H = +_) : H;\n };\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () { d3Geo.geoStream(sphere(180 / H), sphereStream); };\n return rotateStream;\n };\n return p\n .scale(239.75);\n };\n function hillRaw(K) {\n var L = 1 + K, sinBt = sin(1 / L), Bt = asin(sinBt), A = 2 * sqrt(pi / (B = pi + 4 * Bt * L)), B, rho0 = 0.5 * A * (L + sqrt(K * (2 + K))), K2 = K * K, L2 = L * L;\n function forward(lambda, phi) {\n var t = 1 - sin(phi), rho, omega;\n if (t && t < 2) {\n var theta = halfPi - phi, i = 25, delta;\n do {\n var sinTheta = sin(theta), cosTheta = cos(theta), Bt_Bt1 = Bt + atan2(sinTheta, L - cosTheta), C = 1 + L2 - 2 * L * cosTheta;\n theta -= delta = (theta - K2 * Bt - L * sinTheta + C * Bt_Bt1 - 0.5 * t * B) / (2 * L * sinTheta * Bt_Bt1);\n } while (abs(delta) > epsilon2 && --i > 0);\n rho = A * sqrt(C);\n omega = lambda * Bt_Bt1 / pi;\n }\n else {\n rho = A * (K + t);\n omega = lambda * Bt / pi;\n }\n return [\n rho * sin(omega),\n rho0 - rho * cos(omega)\n ];\n }\n forward.invert = function (x, y) {\n var rho2 = x * x + (y -= rho0) * y, cosTheta = (1 + L2 - rho2 / (A * A)) / (2 * L), theta = acos(cosTheta), sinTheta = sin(theta), Bt_Bt1 = Bt + atan2(sinTheta, L - cosTheta);\n return [\n asin(x / sqrt(rho2)) * pi / Bt_Bt1,\n asin(1 - 2 * (theta - K2 * Bt - L * sinTheta + (1 + L2 - 2 * L * cosTheta) * Bt_Bt1) / B)\n ];\n };\n return forward;\n }\n var hill = function () {\n var K = 1, m = d3Geo.geoProjectionMutator(hillRaw), p = m(K);\n p.ratio = function (_) {\n return arguments.length ? m(K = +_) : K;\n };\n return p\n .scale(167.774)\n .center([0, 18.67]);\n };\n var sinuMollweidePhi = 0.7109889596207567;\n var sinuMollweideY = 0.0528035274542;\n function sinuMollweideRaw(lambda, phi) {\n return phi > -sinuMollweidePhi\n ? (lambda = mollweideRaw(lambda, phi), lambda[1] += sinuMollweideY, lambda)\n : sinusoidalRaw(lambda, phi);\n }\n sinuMollweideRaw.invert = function (x, y) {\n return y > -sinuMollweidePhi\n ? mollweideRaw.invert(x, y - sinuMollweideY)\n : sinusoidalRaw.invert(x, y);\n };\n var sinuMollweide = function () {\n return d3Geo.geoProjection(sinuMollweideRaw)\n .rotate([-20, -55])\n .scale(164.263)\n .center([0, -5.4036]);\n };\n function homolosineRaw(lambda, phi) {\n return abs(phi) > sinuMollweidePhi\n ? (lambda = mollweideRaw(lambda, phi), lambda[1] -= phi > 0 ? sinuMollweideY : -sinuMollweideY, lambda)\n : sinusoidalRaw(lambda, phi);\n }\n homolosineRaw.invert = function (x, y) {\n return abs(y) > sinuMollweidePhi\n ? mollweideRaw.invert(x, y + (y > 0 ? sinuMollweideY : -sinuMollweideY))\n : sinusoidalRaw.invert(x, y);\n };\n var homolosine = function () {\n return d3Geo.geoProjection(homolosineRaw)\n .scale(152.63);\n };\n function pointEqual(a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n }\n function interpolateLine(coordinates, m) {\n var i = -1, n = coordinates.length, p0 = coordinates[0], p1, dx, dy, resampled = [];\n while (++i < n) {\n p1 = coordinates[i];\n dx = (p1[0] - p0[0]) / m;\n dy = (p1[1] - p0[1]) / m;\n for (var j = 0; j < m; ++j)\n resampled.push([p0[0] + j * dx, p0[1] + j * dy]);\n p0 = p1;\n }\n resampled.push(p1);\n return resampled;\n }\n function interpolateSphere(lobes) {\n var coordinates = [], lobe, lambda0, phi0, phi1, lambda2, phi2, i, n = lobes[0].length;\n // Northern Hemisphere\n for (i = 0; i < n; ++i) {\n lobe = lobes[0][i];\n lambda0 = lobe[0][0], phi0 = lobe[0][1], phi1 = lobe[1][1];\n lambda2 = lobe[2][0], phi2 = lobe[2][1];\n coordinates.push(interpolateLine([\n [lambda0 + epsilon, phi0 + epsilon],\n [lambda0 + epsilon, phi1 - epsilon],\n [lambda2 - epsilon, phi1 - epsilon],\n [lambda2 - epsilon, phi2 + epsilon]\n ], 30));\n }\n // Southern Hemisphere\n for (i = lobes[1].length - 1; i >= 0; --i) {\n lobe = lobes[1][i];\n lambda0 = lobe[0][0], phi0 = lobe[0][1], phi1 = lobe[1][1];\n lambda2 = lobe[2][0], phi2 = lobe[2][1];\n coordinates.push(interpolateLine([\n [lambda2 - epsilon, phi2 - epsilon],\n [lambda2 - epsilon, phi1 + epsilon],\n [lambda0 + epsilon, phi1 + epsilon],\n [lambda0 + epsilon, phi0 - epsilon]\n ], 30));\n }\n return {\n type: \"Polygon\",\n coordinates: [d3Array.merge(coordinates)]\n };\n }\n var interrupt = function (project, lobes) {\n var sphere = interpolateSphere(lobes);\n lobes = lobes.map(function (lobe) {\n return lobe.map(function (l) {\n return [\n [l[0][0] * radians, l[0][1] * radians],\n [l[1][0] * radians, l[1][1] * radians],\n [l[2][0] * radians, l[2][1] * radians]\n ];\n });\n });\n var bounds = lobes.map(function (lobe) {\n return lobe.map(function (l) {\n var x0 = project(l[0][0], l[0][1])[0], x1 = project(l[2][0], l[2][1])[0], y0 = project(l[1][0], l[0][1])[1], y1 = project(l[1][0], l[1][1])[1], t;\n if (y0 > y1)\n t = y0, y0 = y1, y1 = t;\n return [[x0, y0], [x1, y1]];\n });\n });\n function forward(lambda, phi) {\n var sign$$1 = phi < 0 ? -1 : +1, lobe = lobes[+(phi < 0)];\n for (var i = 0, n = lobe.length - 1; i < n && lambda > lobe[i][2][0]; ++i)\n ;\n var p = project(lambda - lobe[i][1][0], phi);\n p[0] += project(lobe[i][1][0], sign$$1 * phi > sign$$1 * lobe[i][0][1] ? lobe[i][0][1] : phi)[0];\n return p;\n }\n // Assumes mutually exclusive bounding boxes for lobes.\n if (project.invert)\n forward.invert = function (x, y) {\n var bound = bounds[+(y < 0)], lobe = lobes[+(y < 0)];\n for (var i = 0, n = bound.length; i < n; ++i) {\n var b = bound[i];\n if (b[0][0] <= x && x < b[1][0] && b[0][1] <= y && y < b[1][1]) {\n var p = project.invert(x - project(lobe[i][1][0], 0)[0], y);\n p[0] += lobe[i][1][0];\n return pointEqual(forward(p[0], p[1]), [x, y]) ? p : null;\n }\n }\n };\n var p = d3Geo.geoProjection(forward), stream_ = p.stream;\n p.stream = function (stream) {\n var rotate = p.rotate(), rotateStream = stream_(stream), sphereStream = (p.rotate([0, 0]), stream_(stream));\n p.rotate(rotate);\n rotateStream.sphere = function () { d3Geo.geoStream(sphere, sphereStream); };\n return rotateStream;\n };\n return p;\n };\n var lobes = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var boggs$1 = function () {\n return interrupt(boggsRaw, lobes)\n .scale(160.857);\n };\n var lobes$1 = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var homolosine$1 = function () {\n return interrupt(homolosineRaw, lobes$1)\n .scale(152.63);\n };\n var lobes$2 = [[\n [[-180, 0], [-100, 90], [-40, 0]],\n [[-40, 0], [30, 90], [180, 0]]\n ], [\n [[-180, 0], [-160, -90], [-100, 0]],\n [[-100, 0], [-60, -90], [-20, 0]],\n [[-20, 0], [20, -90], [80, 0]],\n [[80, 0], [140, -90], [180, 0]]\n ]];\n var mollweide$1 = function () {\n return interrupt(mollweideRaw, lobes$2)\n .scale(169.529);\n };\n var lobes$3 = [[\n [[-180, 0], [-90, 90], [0, 0]],\n [[0, 0], [90, 90], [180, 0]]\n ], [\n [[-180, 0], [-90, -90], [0, 0]],\n [[0, 0], [90, -90], [180, 0]]\n ]];\n var mollweideHemispheres = function () {\n return interrupt(mollweideRaw, lobes$3)\n .scale(169.529)\n .rotate([20, 0]);\n };\n var lobes$4 = [[\n [[-180, 35], [-30, 90], [0, 35]],\n [[0, 35], [30, 90], [180, 35]]\n ], [\n [[-180, -10], [-102, -90], [-65, -10]],\n [[-65, -10], [5, -90], [77, -10]],\n [[77, -10], [103, -90], [180, -10]]\n ]];\n var sinuMollweide$1 = function () {\n return interrupt(sinuMollweideRaw, lobes$4)\n .rotate([-20, -55])\n .scale(164.263)\n .center([0, -5.4036]);\n };\n var lobes$5 = [[\n [[-180, 0], [-110, 90], [-40, 0]],\n [[-40, 0], [0, 90], [40, 0]],\n [[40, 0], [110, 90], [180, 0]]\n ], [\n [[-180, 0], [-110, -90], [-40, 0]],\n [[-40, 0], [0, -90], [40, 0]],\n [[40, 0], [110, -90], [180, 0]]\n ]];\n var sinusoidal$1 = function () {\n return interrupt(sinusoidalRaw, lobes$5)\n .scale(152.63)\n .rotate([-20, 0]);\n };\n function kavrayskiy7Raw(lambda, phi) {\n return [3 / tau * lambda * sqrt(pi * pi / 3 - phi * phi), phi];\n }\n kavrayskiy7Raw.invert = function (x, y) {\n return [tau / 3 * x / sqrt(pi * pi / 3 - y * y), y];\n };\n var kavrayskiy7 = function () {\n return d3Geo.geoProjection(kavrayskiy7Raw)\n .scale(158.837);\n };\n function lagrangeRaw(n) {\n function forward(lambda, phi) {\n if (abs(abs(phi) - halfPi) < epsilon)\n return [0, phi < 0 ? -2 : 2];\n var sinPhi = sin(phi), v = pow((1 + sinPhi) / (1 - sinPhi), n / 2), c = 0.5 * (v + 1 / v) + cos(lambda *= n);\n return [\n 2 * sin(lambda) / c,\n (v - 1 / v) / c\n ];\n }\n forward.invert = function (x, y) {\n var y0 = abs(y);\n if (abs(y0 - 2) < epsilon)\n return x ? null : [0, sign(y) * halfPi];\n if (y0 > 2)\n return null;\n x /= 2, y /= 2;\n var x2 = x * x, y2 = y * y, t = 2 * y / (1 + x2 + y2); // tanh(nPhi)\n t = pow((1 + t) / (1 - t), 1 / n);\n return [\n atan2(2 * x, 1 - x2 - y2) / n,\n asin((t - 1) / (t + 1))\n ];\n };\n return forward;\n }\n var lagrange = function () {\n var n = 0.5, m = d3Geo.geoProjectionMutator(lagrangeRaw), p = m(n);\n p.spacing = function (_) {\n return arguments.length ? m(n = +_) : n;\n };\n return p\n .scale(124.75);\n };\n var pi_sqrt2 = pi / sqrt2;\n function larriveeRaw(lambda, phi) {\n return [\n lambda * (1 + sqrt(cos(phi))) / 2,\n phi / (cos(phi / 2) * cos(lambda / 6))\n ];\n }\n larriveeRaw.invert = function (x, y) {\n var x0 = abs(x), y0 = abs(y), lambda = epsilon, phi = halfPi;\n if (y0 < pi_sqrt2)\n phi *= y0 / pi_sqrt2;\n else\n lambda += 6 * acos(pi_sqrt2 / y0);\n for (var i = 0; i < 25; i++) {\n var sinPhi = sin(phi), sqrtcosPhi = sqrt(cos(phi)), sinPhi_2 = sin(phi / 2), cosPhi_2 = cos(phi / 2), sinLambda_6 = sin(lambda / 6), cosLambda_6 = cos(lambda / 6), f0 = 0.5 * lambda * (1 + sqrtcosPhi) - x0, f1 = phi / (cosPhi_2 * cosLambda_6) - y0, df0dPhi = sqrtcosPhi ? -0.25 * lambda * sinPhi / sqrtcosPhi : 0, df0dLambda = 0.5 * (1 + sqrtcosPhi), df1dPhi = (1 + 0.5 * phi * sinPhi_2 / cosPhi_2) / (cosPhi_2 * cosLambda_6), df1dLambda = (phi / cosPhi_2) * (sinLambda_6 / 6) / (cosLambda_6 * cosLambda_6), denom = df0dPhi * df1dLambda - df1dPhi * df0dLambda, dPhi = (f0 * df1dLambda - f1 * df0dLambda) / denom, dLambda = (f1 * df0dPhi - f0 * df1dPhi) / denom;\n phi -= dPhi;\n lambda -= dLambda;\n if (abs(dPhi) < epsilon && abs(dLambda) < epsilon)\n break;\n }\n return [x < 0 ? -lambda : lambda, y < 0 ? -phi : phi];\n };\n var larrivee = function () {\n return d3Geo.geoProjection(larriveeRaw)\n .scale(97.2672);\n };\n function laskowskiRaw(lambda, phi) {\n var lambda2 = lambda * lambda, phi2 = phi * phi;\n return [\n lambda * (0.975534 + phi2 * (-0.119161 + lambda2 * -0.0143059 + phi2 * -0.0547009)),\n phi * (1.00384 + lambda2 * (0.0802894 + phi2 * -0.02855 + lambda2 * 0.000199025) + phi2 * (0.0998909 + phi2 * -0.0491032))\n ];\n }\n laskowskiRaw.invert = function (x, y) {\n var lambda = sign(x) * pi, phi = y / 2, i = 50;\n do {\n var lambda2 = lambda * lambda, phi2 = phi * phi, lambdaPhi = lambda * phi, fx = lambda * (0.975534 + phi2 * (-0.119161 + lambda2 * -0.0143059 + phi2 * -0.0547009)) - x, fy = phi * (1.00384 + lambda2 * (0.0802894 + phi2 * -0.02855 + lambda2 * 0.000199025) + phi2 * (0.0998909 + phi2 * -0.0491032)) - y, deltaxDeltaLambda = 0.975534 - phi2 * (0.119161 + 3 * lambda2 * 0.0143059 + phi2 * 0.0547009), deltaxDeltaPhi = -lambdaPhi * (2 * 0.119161 + 4 * 0.0547009 * phi2 + 2 * 0.0143059 * lambda2), deltayDeltaLambda = lambdaPhi * (2 * 0.0802894 + 4 * 0.000199025 * lambda2 + 2 * -0.02855 * phi2), deltayDeltaPhi = 1.00384 + lambda2 * (0.0802894 + 0.000199025 * lambda2) + phi2 * (3 * (0.0998909 - 0.02855 * lambda2) - 5 * 0.0491032 * phi2), denominator = deltaxDeltaPhi * deltayDeltaLambda - deltayDeltaPhi * deltaxDeltaLambda, deltaLambda = (fy * deltaxDeltaPhi - fx * deltayDeltaPhi) / denominator, deltaPhi = (fx * deltayDeltaLambda - fy * deltaxDeltaLambda) / denominator;\n lambda -= deltaLambda, phi -= deltaPhi;\n } while ((abs(deltaLambda) > epsilon || abs(deltaPhi) > epsilon) && --i > 0);\n return i && [lambda, phi];\n };\n var laskowski = function () {\n return d3Geo.geoProjection(laskowskiRaw)\n .scale(139.98);\n };\n function littrowRaw(lambda, phi) {\n return [\n sin(lambda) / cos(phi),\n tan(phi) * cos(lambda)\n ];\n }\n littrowRaw.invert = function (x, y) {\n var x2 = x * x, y2 = y * y, y2_1 = y2 + 1, cosPhi = x\n ? sqrt1_2 * sqrt((y2_1 - sqrt(x2 * x2 + 2 * x2 * (y2 - 1) + y2_1 * y2_1)) / x2 + 1)\n : 1 / sqrt(y2_1);\n return [\n asin(x * cosPhi),\n sign(y) * acos(cosPhi)\n ];\n };\n var littrow = function () {\n return d3Geo.geoProjection(littrowRaw)\n .scale(144.049)\n .clipAngle(90 - 1e-3);\n };\n function loximuthalRaw(phi0) {\n var cosPhi0 = cos(phi0), tanPhi0 = tan(quarterPi + phi0 / 2);\n function forward(lambda, phi) {\n var y = phi - phi0, x = abs(y) < epsilon ? lambda * cosPhi0\n : abs(x = quarterPi + phi / 2) < epsilon || abs(abs(x) - halfPi) < epsilon\n ? 0 : lambda * y / log(tan(x) / tanPhi0);\n return [x, y];\n }\n forward.invert = function (x, y) {\n var lambda, phi = y + phi0;\n return [\n abs(y) < epsilon ? x / cosPhi0\n : (abs(lambda = quarterPi + phi / 2) < epsilon || abs(abs(lambda) - halfPi) < epsilon) ? 0\n : x * log(tan(lambda) / tanPhi0) / y,\n phi\n ];\n };\n return forward;\n }\n var loximuthal = function () {\n return parallel1(loximuthalRaw)\n .parallel(40)\n .scale(158.837);\n };\n function millerRaw(lambda, phi) {\n return [lambda, 1.25 * log(tan(quarterPi + 0.4 * phi))];\n }\n millerRaw.invert = function (x, y) {\n return [x, 2.5 * atan(exp(0.8 * y)) - 0.625 * pi];\n };\n var miller = function () {\n return d3Geo.geoProjection(millerRaw)\n .scale(108.318);\n };\n function modifiedStereographicRaw(C) {\n var m = C.length - 1;\n function forward(lambda, phi) {\n var cosPhi = cos(phi), k = 2 / (1 + cosPhi * cos(lambda)), zr = k * cosPhi * sin(lambda), zi = k * sin(phi), i = m, w = C[i], ar = w[0], ai = w[1], t;\n while (--i >= 0) {\n w = C[i];\n ar = w[0] + zr * (t = ar) - zi * ai;\n ai = w[1] + zr * ai + zi * t;\n }\n ar = zr * (t = ar) - zi * ai;\n ai = zr * ai + zi * t;\n return [ar, ai];\n }\n forward.invert = function (x, y) {\n var i = 20, zr = x, zi = y;\n do {\n var j = m, w = C[j], ar = w[0], ai = w[1], br = 0, bi = 0, t;\n while (--j >= 0) {\n w = C[j];\n br = ar + zr * (t = br) - zi * bi;\n bi = ai + zr * bi + zi * t;\n ar = w[0] + zr * (t = ar) - zi * ai;\n ai = w[1] + zr * ai + zi * t;\n }\n br = ar + zr * (t = br) - zi * bi;\n bi = ai + zr * bi + zi * t;\n ar = zr * (t = ar) - zi * ai - x;\n ai = zr * ai + zi * t - y;\n var denominator = br * br + bi * bi, deltar, deltai;\n zr -= deltar = (ar * br + ai * bi) / denominator;\n zi -= deltai = (ai * br - ar * bi) / denominator;\n } while (abs(deltar) + abs(deltai) > epsilon * epsilon && --i > 0);\n if (i) {\n var rho = sqrt(zr * zr + zi * zi), c = 2 * atan(rho * 0.5), sinc = sin(c);\n return [atan2(zr * sinc, rho * cos(c)), rho ? asin(zi * sinc / rho) : 0];\n }\n };\n return forward;\n }\n var alaska = [[0.9972523, 0], [0.0052513, -0.0041175], [0.0074606, 0.0048125], [-0.0153783, -0.1968253], [0.0636871, -0.1408027], [0.3660976, -0.2937382]];\n var gs48 = [[0.98879, 0], [0, 0], [-0.050909, 0], [0, 0], [0.075528, 0]];\n var gs50 = [[0.9842990, 0], [0.0211642, 0.0037608], [-0.1036018, -0.0575102], [-0.0329095, -0.0320119], [0.0499471, 0.1223335], [0.0260460, 0.0899805], [0.0007388, -0.1435792], [0.0075848, -0.1334108], [-0.0216473, 0.0776645], [-0.0225161, 0.0853673]];\n var miller$1 = [[0.9245, 0], [0, 0], [0.01943, 0]];\n var lee = [[0.721316, 0], [0, 0], [-0.00881625, -0.00617325]];\n function modifiedStereographicAlaska() {\n return modifiedStereographic(alaska, [152, -64])\n .scale(1500)\n .center([-160.908, 62.4864])\n .clipAngle(25);\n }\n function modifiedStereographicGs48() {\n return modifiedStereographic(gs48, [95, -38])\n .scale(1000)\n .clipAngle(55)\n .center([-96.5563, 38.8675]);\n }\n function modifiedStereographicGs50() {\n return modifiedStereographic(gs50, [120, -45])\n .scale(359.513)\n .clipAngle(55)\n .center([-117.474, 53.0628]);\n }\n function modifiedStereographicMiller() {\n return modifiedStereographic(miller$1, [-20, -18])\n .scale(209.091)\n .center([20, 16.7214])\n .clipAngle(82);\n }\n function modifiedStereographicLee() {\n return modifiedStereographic(lee, [165, 10])\n .scale(250)\n .clipAngle(130)\n .center([-165, -10]);\n }\n function modifiedStereographic(coefficients, rotate) {\n var p = d3Geo.geoProjection(modifiedStereographicRaw(coefficients)).rotate(rotate).clipAngle(90), r = d3Geo.geoRotation(rotate), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p;\n }\n var sqrt6 = sqrt(6);\n var sqrt7 = sqrt(7);\n function mtFlatPolarParabolicRaw(lambda, phi) {\n var theta = asin(7 * sin(phi) / (3 * sqrt6));\n return [\n sqrt6 * lambda * (2 * cos(2 * theta / 3) - 1) / sqrt7,\n 9 * sin(theta / 3) / sqrt7\n ];\n }\n mtFlatPolarParabolicRaw.invert = function (x, y) {\n var theta = 3 * asin(y * sqrt7 / 9);\n return [\n x * sqrt7 / (sqrt6 * (2 * cos(2 * theta / 3) - 1)),\n asin(sin(theta) * 3 * sqrt6 / 7)\n ];\n };\n var mtFlatPolarParabolic = function () {\n return d3Geo.geoProjection(mtFlatPolarParabolicRaw)\n .scale(164.859);\n };\n function mtFlatPolarQuarticRaw(lambda, phi) {\n var k = (1 + sqrt1_2) * sin(phi), theta = phi;\n for (var i = 0, delta; i < 25; i++) {\n theta -= delta = (sin(theta / 2) + sin(theta) - k) / (0.5 * cos(theta / 2) + cos(theta));\n if (abs(delta) < epsilon)\n break;\n }\n return [\n lambda * (1 + 2 * cos(theta) / cos(theta / 2)) / (3 * sqrt2),\n 2 * sqrt(3) * sin(theta / 2) / sqrt(2 + sqrt2)\n ];\n }\n mtFlatPolarQuarticRaw.invert = function (x, y) {\n var sinTheta_2 = y * sqrt(2 + sqrt2) / (2 * sqrt(3)), theta = 2 * asin(sinTheta_2);\n return [\n 3 * sqrt2 * x / (1 + 2 * cos(theta) / cos(theta / 2)),\n asin((sinTheta_2 + sin(theta)) / (1 + sqrt1_2))\n ];\n };\n var mtFlatPolarQuartic = function () {\n return d3Geo.geoProjection(mtFlatPolarQuarticRaw)\n .scale(188.209);\n };\n function mtFlatPolarSinusoidalRaw(lambda, phi) {\n var A = sqrt(6 / (4 + pi)), k = (1 + pi / 4) * sin(phi), theta = phi / 2;\n for (var i = 0, delta; i < 25; i++) {\n theta -= delta = (theta / 2 + sin(theta) - k) / (0.5 + cos(theta));\n if (abs(delta) < epsilon)\n break;\n }\n return [\n A * (0.5 + cos(theta)) * lambda / 1.5,\n A * theta\n ];\n }\n mtFlatPolarSinusoidalRaw.invert = function (x, y) {\n var A = sqrt(6 / (4 + pi)), theta = y / A;\n if (abs(abs(theta) - halfPi) < epsilon)\n theta = theta < 0 ? -halfPi : halfPi;\n return [\n 1.5 * x / (A * (0.5 + cos(theta))),\n asin((theta / 2 + sin(theta)) / (1 + pi / 4))\n ];\n };\n var mtFlatPolarSinusoidal = function () {\n return d3Geo.geoProjection(mtFlatPolarSinusoidalRaw)\n .scale(166.518);\n };\n function naturalEarthRaw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n return [\n lambda * (0.8707 - 0.131979 * phi2 + phi4 * (-0.013791 + phi4 * (0.003971 * phi2 - 0.001529 * phi4))),\n phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4)))\n ];\n }\n naturalEarthRaw.invert = function (x, y) {\n var phi = y, i = 25, delta;\n do {\n var phi2 = phi * phi, phi4 = phi2 * phi2;\n phi -= delta = (phi * (1.007226 + phi2 * (0.015085 + phi4 * (-0.044475 + 0.028874 * phi2 - 0.005916 * phi4))) - y) /\n (1.007226 + phi2 * (0.015085 * 3 + phi4 * (-0.044475 * 7 + 0.028874 * 9 * phi2 - 0.005916 * 11 * phi4)));\n } while (abs(delta) > epsilon && --i > 0);\n return [\n x / (0.8707 + (phi2 = phi * phi) * (-0.131979 + phi2 * (-0.013791 + phi2 * phi2 * phi2 * (0.003971 - 0.001529 * phi2)))),\n phi\n ];\n };\n var naturalEarth = function () {\n return d3Geo.geoProjection(naturalEarthRaw)\n .scale(175.295);\n };\n function naturalEarth2Raw(lambda, phi) {\n var phi2 = phi * phi, phi4 = phi2 * phi2, phi6 = phi2 * phi4;\n return [\n lambda * (0.84719 - 0.13063 * phi2 + phi6 * phi6 * (-0.04515 + 0.05494 * phi2 - 0.02326 * phi4 + 0.00331 * phi6)),\n phi * (1.01183 + phi4 * phi4 * (-0.02625 + 0.01926 * phi2 - 0.00396 * phi4))\n ];\n }\n naturalEarth2Raw.invert = function (x, y) {\n var phi = y, i = 25, delta, phi2, phi4, phi6;\n do {\n phi2 = phi * phi;\n phi4 = phi2 * phi2;\n phi -= delta = ((phi * (1.01183 + phi4 * phi4 * (-0.02625 + 0.01926 * phi2 - 0.00396 * phi4))) - y) /\n (1.01183 + phi4 * phi4 * ((9 * -0.02625) + (11 * 0.01926) * phi2 + (13 * -0.00396) * phi4));\n } while (abs(delta) > epsilon2 && --i > 0);\n phi2 = phi * phi;\n phi4 = phi2 * phi2;\n phi6 = phi2 * phi4;\n return [\n x / (0.84719 - 0.13063 * phi2 + phi6 * phi6 * (-0.04515 + 0.05494 * phi2 - 0.02326 * phi4 + 0.00331 * phi6)),\n phi\n ];\n };\n var naturalEarth2 = function () {\n return d3Geo.geoProjection(naturalEarth2Raw)\n .scale(175.295);\n };\n function nellHammerRaw(lambda, phi) {\n return [\n lambda * (1 + cos(phi)) / 2,\n 2 * (phi - tan(phi / 2))\n ];\n }\n nellHammerRaw.invert = function (x, y) {\n var p = y / 2;\n for (var i = 0, delta = Infinity; i < 10 && abs(delta) > epsilon; ++i) {\n var c = cos(y / 2);\n y -= delta = (y - tan(y / 2) - p) / (1 - 0.5 / (c * c));\n }\n return [\n 2 * x / (1 + cos(y)),\n y\n ];\n };\n var nellHammer = function () {\n return d3Geo.geoProjection(nellHammerRaw)\n .scale(152.63);\n };\n // Based on Java implementation by Bojan Savric.\n // https://github.com/OSUCartography/JMapProjLib/blob/master/src/com/jhlabs/map/proj/PattersonProjection.java\n var pattersonK1 = 1.0148;\n var pattersonK2 = 0.23185;\n var pattersonK3 = -0.14499;\n var pattersonK4 = 0.02406;\n var pattersonC1 = pattersonK1;\n var pattersonC2 = 5 * pattersonK2;\n var pattersonC3 = 7 * pattersonK3;\n var pattersonC4 = 9 * pattersonK4;\n var pattersonYmax = 1.790857183;\n function pattersonRaw(lambda, phi) {\n var phi2 = phi * phi;\n return [\n lambda,\n phi * (pattersonK1 + phi2 * phi2 * (pattersonK2 + phi2 * (pattersonK3 + pattersonK4 * phi2)))\n ];\n }\n pattersonRaw.invert = function (x, y) {\n if (y > pattersonYmax)\n y = pattersonYmax;\n else if (y < -pattersonYmax)\n y = -pattersonYmax;\n var yc = y, delta;\n do { // Newton-Raphson\n var y2 = yc * yc;\n yc -= delta = ((yc * (pattersonK1 + y2 * y2 * (pattersonK2 + y2 * (pattersonK3 + pattersonK4 * y2)))) - y) / (pattersonC1 + y2 * y2 * (pattersonC2 + y2 * (pattersonC3 + pattersonC4 * y2)));\n } while (abs(delta) > epsilon);\n return [x, yc];\n };\n var patterson = function () {\n return d3Geo.geoProjection(pattersonRaw)\n .scale(139.319);\n };\n function polyconicRaw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var tanPhi = tan(phi), k = lambda * sin(phi);\n return [\n sin(k) / tanPhi,\n phi + (1 - cos(k)) / tanPhi\n ];\n }\n polyconicRaw.invert = function (x, y) {\n if (abs(y) < epsilon)\n return [x, 0];\n var k = x * x + y * y, phi = y * 0.5, i = 10, delta;\n do {\n var tanPhi = tan(phi), secPhi = 1 / cos(phi), j = k - 2 * y * phi + phi * phi;\n phi -= delta = (tanPhi * j + 2 * (phi - y)) / (2 + j * secPhi * secPhi + 2 * (phi - y) * tanPhi);\n } while (abs(delta) > epsilon && --i > 0);\n tanPhi = tan(phi);\n return [\n (abs(y) < abs(phi + 1 / tanPhi) ? asin(x * tanPhi) : sign(x) * (acos(abs(x * tanPhi)) + halfPi)) / sin(phi),\n phi\n ];\n };\n var polyconic = function () {\n return d3Geo.geoProjection(polyconicRaw)\n .scale(103.74);\n };\n // Note: 6-element arrays are used to denote the 3x3 affine transform matrix:\n // [a, b, c,\n // d, e, f,\n // 0, 0, 1] - this redundant row is left out.\n // Transform matrix for [a0, a1] -> [b0, b1].\n var matrix = function (a, b) {\n var u = subtract(a[1], a[0]), v = subtract(b[1], b[0]), phi = angle$1(u, v), s = length(u) / length(v);\n return multiply([\n 1, 0, a[0][0],\n 0, 1, a[0][1]\n ], multiply([\n s, 0, 0,\n 0, s, 0\n ], multiply([\n cos(phi), sin(phi), 0,\n -sin(phi), cos(phi), 0\n ], [\n 1, 0, -b[0][0],\n 0, 1, -b[0][1]\n ])));\n };\n // Inverts a transform matrix.\n function inverse(m) {\n var k = 1 / (m[0] * m[4] - m[1] * m[3]);\n return [\n k * m[4], -k * m[1], k * (m[1] * m[5] - m[2] * m[4]),\n -k * m[3], k * m[0], k * (m[2] * m[3] - m[0] * m[5])\n ];\n }\n // Multiplies two 3x2 matrices.\n function multiply(a, b) {\n return [\n a[0] * b[0] + a[1] * b[3],\n a[0] * b[1] + a[1] * b[4],\n a[0] * b[2] + a[1] * b[5] + a[2],\n a[3] * b[0] + a[4] * b[3],\n a[3] * b[1] + a[4] * b[4],\n a[3] * b[2] + a[4] * b[5] + a[5]\n ];\n }\n // Subtracts 2D vectors.\n function subtract(a, b) {\n return [a[0] - b[0], a[1] - b[1]];\n }\n // Magnitude of a 2D vector.\n function length(v) {\n return sqrt(v[0] * v[0] + v[1] * v[1]);\n }\n // Angle between two 2D vectors.\n function angle$1(a, b) {\n return atan2(a[0] * b[1] - a[1] * b[0], a[0] * b[0] + a[1] * b[1]);\n }\n // Creates a polyhedral projection.\n // * root: a spanning tree of polygon faces. Nodes are automatically\n // augmented with a transform matrix.\n // * face: a function that returns the appropriate node for a given {lambda, phi}\n // point (radians).\n // * r: rotation angle for final polyhedral net. Defaults to -pi / 6 (for\n // butterflies).\n var polyhedral = function (root, face, r) {\n r = r == null ? -pi / 6 : r; // TODO automate\n recurse(root, { transform: [\n cos(r), sin(r), 0,\n -sin(r), cos(r), 0\n ] });\n function recurse(node, parent) {\n node.edges = faceEdges(node.face);\n // Find shared edge.\n if (parent.face) {\n var shared = node.shared = sharedEdge(node.face, parent.face), m = matrix(shared.map(parent.project), shared.map(node.project));\n node.transform = parent.transform ? multiply(parent.transform, m) : m;\n // Replace shared edge in parent edges array.\n var edges = parent.edges;\n for (var i = 0, n = edges.length; i < n; ++i) {\n if (pointEqual$1(shared[0], edges[i][1]) && pointEqual$1(shared[1], edges[i][0]))\n edges[i] = node;\n if (pointEqual$1(shared[0], edges[i][0]) && pointEqual$1(shared[1], edges[i][1]))\n edges[i] = node;\n }\n edges = node.edges;\n for (i = 0, n = edges.length; i < n; ++i) {\n if (pointEqual$1(shared[0], edges[i][0]) && pointEqual$1(shared[1], edges[i][1]))\n edges[i] = parent;\n if (pointEqual$1(shared[0], edges[i][1]) && pointEqual$1(shared[1], edges[i][0]))\n edges[i] = parent;\n }\n }\n else {\n node.transform = parent.transform;\n }\n if (node.children) {\n node.children.forEach(function (child) {\n recurse(child, node);\n });\n }\n return node;\n }\n function forward(lambda, phi) {\n var node = face(lambda, phi), point = node.project([lambda * degrees, phi * degrees]), t;\n if (t = node.transform) {\n return [\n t[0] * point[0] + t[1] * point[1] + t[2],\n -(t[3] * point[0] + t[4] * point[1] + t[5])\n ];\n }\n point[1] = -point[1];\n return point;\n }\n // Naive inverse! A faster solution would use bounding boxes, or even a\n // polygonal quadtree.\n if (hasInverse(root))\n forward.invert = function (x, y) {\n var coordinates = faceInvert(root, [x, -y]);\n return coordinates && (coordinates[0] *= radians, coordinates[1] *= radians, coordinates);\n };\n function faceInvert(node, coordinates) {\n var invert = node.project.invert, t = node.transform, point = coordinates;\n if (t) {\n t = inverse(t);\n point = [\n t[0] * point[0] + t[1] * point[1] + t[2],\n (t[3] * point[0] + t[4] * point[1] + t[5])\n ];\n }\n if (invert && node === faceDegrees(p = invert(point)))\n return p;\n var p, children = node.children;\n for (var i = 0, n = children && children.length; i < n; ++i) {\n if (p = faceInvert(children[i], coordinates))\n return p;\n }\n }\n function faceDegrees(coordinates) {\n return face(coordinates[0] * radians, coordinates[1] * radians);\n }\n var proj = d3Geo.geoProjection(forward), stream_ = proj.stream;\n proj.stream = function (stream) {\n var rotate = proj.rotate(), rotateStream = stream_(stream), sphereStream = (proj.rotate([0, 0]), stream_(stream));\n proj.rotate(rotate);\n rotateStream.sphere = function () {\n sphereStream.polygonStart();\n sphereStream.lineStart();\n outline(sphereStream, root);\n sphereStream.lineEnd();\n sphereStream.polygonEnd();\n };\n return rotateStream;\n };\n return proj;\n };\n function outline(stream, node, parent) {\n var point, edges = node.edges, n = edges.length, edge, multiPoint = { type: \"MultiPoint\", coordinates: node.face }, notPoles = node.face.filter(function (d) { return abs(d[1]) !== 90; }), b = d3Geo.geoBounds({ type: \"MultiPoint\", coordinates: notPoles }), inside = false, j = -1, dx = b[1][0] - b[0][0];\n // TODO\n var c = dx === 180 || dx === 360\n ? [(b[0][0] + b[1][0]) / 2, (b[0][1] + b[1][1]) / 2]\n : d3Geo.geoCentroid(multiPoint);\n // First find the shared edge…\n if (parent)\n while (++j < n) {\n if (edges[j] === parent)\n break;\n }\n ++j;\n for (var i = 0; i < n; ++i) {\n edge = edges[(i + j) % n];\n if (Array.isArray(edge)) {\n if (!inside) {\n stream.point((point = d3Geo.geoInterpolate(edge[0], c)(epsilon))[0], point[1]);\n inside = true;\n }\n stream.point((point = d3Geo.geoInterpolate(edge[1], c)(epsilon))[0], point[1]);\n }\n else {\n inside = false;\n if (edge !== parent)\n outline(stream, edge, node);\n }\n }\n }\n // Tests equality of two spherical points.\n function pointEqual$1(a, b) {\n return a && b && a[0] === b[0] && a[1] === b[1];\n }\n // Finds a shared edge given two clockwise polygons.\n function sharedEdge(a, b) {\n var x, y, n = a.length, found = null;\n for (var i = 0; i < n; ++i) {\n x = a[i];\n for (var j = b.length; --j >= 0;) {\n y = b[j];\n if (x[0] === y[0] && x[1] === y[1]) {\n if (found)\n return [found, x];\n found = x;\n }\n }\n }\n }\n // Converts an array of n face vertices to an array of n + 1 edges.\n function faceEdges(face) {\n var n = face.length, edges = [];\n for (var a = face[n - 1], i = 0; i < n; ++i)\n edges.push([a, a = face[i]]);\n return edges;\n }\n function hasInverse(node) {\n return node.project.invert || node.children && node.children.some(hasInverse);\n }\n // TODO generate on-the-fly to avoid external modification.\n var octahedron = [\n [0, 90],\n [-90, 0], [0, 0], [90, 0], [180, 0],\n [0, -90]\n ];\n var octahedron$1 = [\n [0, 2, 1],\n [0, 3, 2],\n [5, 1, 2],\n [5, 2, 3],\n [0, 1, 4],\n [0, 4, 3],\n [5, 4, 1],\n [5, 3, 4]\n ].map(function (face) {\n return face.map(function (i) {\n return octahedron[i];\n });\n });\n var butterfly = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face });\n return d3Geo.geoGnomonic().scale(1).translate([0, 0]).rotate([-c[0], -c[1]]);\n };\n var faces = octahedron$1.map(function (face) {\n return { face: face, project: faceProjection(face) };\n });\n [-1, 0, 0, 1, 0, 1, 4, 5].forEach(function (d, i) {\n var node = faces[d];\n node && (node.children || (node.children = [])).push(faces[i]);\n });\n return polyhedral(faces[0], function (lambda, phi) {\n return faces[lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5];\n })\n .scale(101.858)\n .center([0, 45]);\n };\n var kx = 2 / sqrt(3);\n function collignonK(a, b) {\n var p = collignonRaw(a, b);\n return [p[0] * kx, p[1]];\n }\n collignonK.invert = function (x, y) {\n return collignonRaw.invert(x / kx, y);\n };\n var collignon$1 = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face });\n return d3Geo.geoProjection(collignonK).translate([0, 0]).scale(1).rotate(c[1] > 0 ? [-c[0], 0] : [180 - c[0], 180]);\n };\n var faces = octahedron$1.map(function (face) {\n return { face: face, project: faceProjection(face) };\n });\n [-1, 0, 0, 1, 0, 1, 4, 5].forEach(function (d, i) {\n var node = faces[d];\n node && (node.children || (node.children = [])).push(faces[i]);\n });\n return polyhedral(faces[0], function (lambda, phi) {\n return faces[lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5];\n })\n .scale(121.906)\n .center([0, 48.5904]);\n };\n var waterman = function (faceProjection) {\n faceProjection = faceProjection || function (face) {\n var c = face.length === 6 ? d3Geo.geoCentroid({ type: \"MultiPoint\", coordinates: face }) : face[0];\n return d3Geo.geoGnomonic().scale(1).translate([0, 0]).rotate([-c[0], -c[1]]);\n };\n var w5 = octahedron$1.map(function (face) {\n var xyz = face.map(cartesian), n = xyz.length, a = xyz[n - 1], b, hexagon = [];\n for (var i = 0; i < n; ++i) {\n b = xyz[i];\n hexagon.push(spherical([\n a[0] * 0.9486832980505138 + b[0] * 0.31622776601683794,\n a[1] * 0.9486832980505138 + b[1] * 0.31622776601683794,\n a[2] * 0.9486832980505138 + b[2] * 0.31622776601683794\n ]), spherical([\n b[0] * 0.9486832980505138 + a[0] * 0.31622776601683794,\n b[1] * 0.9486832980505138 + a[1] * 0.31622776601683794,\n b[2] * 0.9486832980505138 + a[2] * 0.31622776601683794\n ]));\n a = b;\n }\n return hexagon;\n });\n var cornerNormals = [];\n var parents = [-1, 0, 0, 1, 0, 1, 4, 5];\n w5.forEach(function (hexagon, j) {\n var face = octahedron$1[j], n = face.length, normals = cornerNormals[j] = [];\n for (var i = 0; i < n; ++i) {\n w5.push([\n face[i],\n hexagon[(i * 2 + 2) % (2 * n)],\n hexagon[(i * 2 + 1) % (2 * n)]\n ]);\n parents.push(j);\n normals.push(cross(cartesian(hexagon[(i * 2 + 2) % (2 * n)]), cartesian(hexagon[(i * 2 + 1) % (2 * n)])));\n }\n });\n var faces = w5.map(function (face) {\n return {\n project: faceProjection(face),\n face: face\n };\n });\n parents.forEach(function (d, i) {\n var parent = faces[d];\n parent && (parent.children || (parent.children = [])).push(faces[i]);\n });\n function face(lambda, phi) {\n var cosphi = cos(phi), p = [cosphi * cos(lambda), cosphi * sin(lambda), sin(phi)];\n var hexagon = lambda < -pi / 2 ? phi < 0 ? 6 : 4\n : lambda < 0 ? phi < 0 ? 2 : 0\n : lambda < pi / 2 ? phi < 0 ? 3 : 1\n : phi < 0 ? 7 : 5;\n var n = cornerNormals[hexagon];\n return faces[dot(n[0], p) < 0 ? 8 + 3 * hexagon\n : dot(n[1], p) < 0 ? 8 + 3 * hexagon + 1\n : dot(n[2], p) < 0 ? 8 + 3 * hexagon + 2\n : hexagon];\n }\n return polyhedral(faces[0], face)\n .scale(110.625)\n .center([0, 45]);\n };\n function dot(a, b) {\n for (var i = 0, n = a.length, s = 0; i < n; ++i)\n s += a[i] * b[i];\n return s;\n }\n function cross(a, b) {\n return [\n a[1] * b[2] - a[2] * b[1],\n a[2] * b[0] - a[0] * b[2],\n a[0] * b[1] - a[1] * b[0]\n ];\n }\n // Converts 3D Cartesian to spherical coordinates (degrees).\n function spherical(cartesian) {\n return [\n atan2(cartesian[1], cartesian[0]) * degrees,\n asin(max(-1, min(1, cartesian[2]))) * degrees\n ];\n }\n // Converts spherical coordinates (degrees) to 3D Cartesian.\n function cartesian(coordinates) {\n var lambda = coordinates[0] * radians, phi = coordinates[1] * radians, cosphi = cos(phi);\n return [\n cosphi * cos(lambda),\n cosphi * sin(lambda),\n sin(phi)\n ];\n }\n var noop = function () { };\n var clockwise = function (ring) {\n if ((n = ring.length) < 4)\n return false;\n var i = 0, n, area = ring[n - 1][1] * ring[0][0] - ring[n - 1][0] * ring[0][1];\n while (++i < n)\n area += ring[i - 1][1] * ring[i][0] - ring[i - 1][0] * ring[i][1];\n return area <= 0;\n };\n var contains = function (ring, point) {\n var x = point[0], y = point[1], contains = false;\n for (var i = 0, n = ring.length, j = n - 1; i < n; j = i++) {\n var pi = ring[i], xi = pi[0], yi = pi[1], pj = ring[j], xj = pj[0], yj = pj[1];\n if (((yi > y) ^ (yj > y)) && (x < (xj - xi) * (y - yi) / (yj - yi) + xi))\n contains = !contains;\n }\n return contains;\n };\n var index = function (object, projection) {\n var stream = projection.stream, project;\n if (!stream)\n throw new Error(\"invalid projection\");\n switch (object && object.type) {\n case \"Feature\":\n project = projectFeature;\n break;\n case \"FeatureCollection\":\n project = projectFeatureCollection;\n break;\n default:\n project = projectGeometry;\n break;\n }\n return project(object, stream);\n };\n function projectFeatureCollection(o, stream) {\n return {\n type: \"FeatureCollection\",\n features: o.features.map(function (f) {\n return projectFeature(f, stream);\n })\n };\n }\n function projectFeature(o, stream) {\n return {\n type: \"Feature\",\n id: o.id,\n properties: o.properties,\n geometry: projectGeometry(o.geometry, stream)\n };\n }\n function projectGeometryCollection(o, stream) {\n return {\n type: \"GeometryCollection\",\n geometries: o.geometries.map(function (o) {\n return projectGeometry(o, stream);\n })\n };\n }\n function projectGeometry(o, stream) {\n if (!o)\n return null;\n if (o.type === \"GeometryCollection\")\n return projectGeometryCollection(o, stream);\n var sink;\n switch (o.type) {\n case \"Point\":\n sink = sinkPoint;\n break;\n case \"MultiPoint\":\n sink = sinkPoint;\n break;\n case \"LineString\":\n sink = sinkLine;\n break;\n case \"MultiLineString\":\n sink = sinkLine;\n break;\n case \"Polygon\":\n sink = sinkPolygon;\n break;\n case \"MultiPolygon\":\n sink = sinkPolygon;\n break;\n case \"Sphere\":\n sink = sinkPolygon;\n break;\n default: return null;\n }\n d3Geo.geoStream(o, stream(sink));\n return sink.result();\n }\n var points = [];\n var lines = [];\n var sinkPoint = {\n point: function (x, y) {\n points.push([x, y]);\n },\n result: function () {\n var result = !points.length ? null\n : points.length < 2 ? { type: \"Point\", coordinates: points[0] }\n : { type: \"MultiPoint\", coordinates: points };\n points = [];\n return result;\n }\n };\n var sinkLine = {\n lineStart: noop,\n point: function (x, y) {\n points.push([x, y]);\n },\n lineEnd: function () {\n if (points.length)\n lines.push(points), points = [];\n },\n result: function () {\n var result = !lines.length ? null\n : lines.length < 2 ? { type: \"LineString\", coordinates: lines[0] }\n : { type: \"MultiLineString\", coordinates: lines };\n lines = [];\n return result;\n }\n };\n var sinkPolygon = {\n polygonStart: noop,\n lineStart: noop,\n point: function (x, y) {\n points.push([x, y]);\n },\n lineEnd: function () {\n var n = points.length;\n if (n) {\n do\n points.push(points[0].slice());\n while (++n < 4);\n lines.push(points), points = [];\n }\n },\n polygonEnd: noop,\n result: function () {\n if (!lines.length)\n return null;\n var polygons = [], holes = [];\n // https://github.com/d3/d3/issues/1558\n lines.forEach(function (ring) {\n if (clockwise(ring))\n polygons.push([ring]);\n else\n holes.push(ring);\n });\n holes.forEach(function (hole) {\n var point = hole[0];\n polygons.some(function (polygon) {\n if (contains(polygon[0], point)) {\n polygon.push(hole);\n return true;\n }\n }) || polygons.push([hole]);\n });\n lines = [];\n return !polygons.length ? null\n : polygons.length > 1 ? { type: \"MultiPolygon\", coordinates: polygons }\n : { type: \"Polygon\", coordinates: polygons[0] };\n }\n };\n var quincuncial = function (project) {\n var dx = project(halfPi, 0)[0] - project(-halfPi, 0)[0];\n function projectQuincuncial(lambda, phi) {\n var t = abs(lambda) < halfPi, p = project(t ? lambda : lambda > 0 ? lambda - pi : lambda + pi, phi), x = (p[0] - p[1]) * sqrt1_2, y = (p[0] + p[1]) * sqrt1_2;\n if (t)\n return [x, y];\n var d = dx * sqrt1_2, s = x > 0 ^ y > 0 ? -1 : 1;\n return [s * x - sign(y) * d, s * y - sign(x) * d];\n }\n if (project.invert)\n projectQuincuncial.invert = function (x0, y0) {\n var x = (x0 + y0) * sqrt1_2, y = (y0 - x0) * sqrt1_2, t = abs(x) < 0.5 * dx && abs(y) < 0.5 * dx;\n if (!t) {\n var d = dx * sqrt1_2, s = x > 0 ^ y > 0 ? -1 : 1, x1 = -s * x0 + (y > 0 ? 1 : -1) * d, y1 = -s * y0 + (x > 0 ? 1 : -1) * d;\n x = (-x1 - y1) * sqrt1_2;\n y = (x1 - y1) * sqrt1_2;\n }\n var p = project.invert(x, y);\n if (!t)\n p[0] += x > 0 ? pi : -pi;\n return p;\n };\n return d3Geo.geoProjection(projectQuincuncial)\n .rotate([-90, -90, 45])\n .clipAngle(180 - 1e-3);\n };\n var gringorten$1 = function () {\n return quincuncial(gringortenRaw)\n .scale(176.423);\n };\n var peirce = function () {\n return quincuncial(guyouRaw)\n .scale(111.48);\n };\n var quantize = function (input, digits) {\n if (!(0 <= (digits = +digits) && digits <= 20))\n throw new Error(\"invalid digits\");\n function quantizePoint(input) {\n var n = input.length, i = 2, output = new Array(n);\n output[0] = +input[0].toFixed(digits);\n output[1] = +input[1].toFixed(digits);\n while (i < n)\n output[i] = input[i], ++i;\n return output;\n }\n function quantizePoints(input) {\n return input.map(quantizePoint);\n }\n function quantizePolygon(input) {\n return input.map(quantizePoints);\n }\n function quantizeGeometry(input) {\n if (input == null)\n return input;\n var output;\n switch (input.type) {\n case \"GeometryCollection\":\n output = { type: \"GeometryCollection\", geometries: input.geometries.map(quantizeGeometry) };\n break;\n case \"Point\":\n output = { type: \"Point\", coordinates: quantizePoint(input.coordinates) };\n break;\n case \"MultiPoint\":\n case \"LineString\":\n output = { type: input.type, coordinates: quantizePoints(input.coordinates) };\n break;\n case \"MultiLineString\":\n case \"Polygon\":\n output = { type: input.type, coordinates: quantizePolygon(input.coordinates) };\n break;\n case \"MultiPolygon\":\n output = { type: \"MultiPolygon\", coordinates: input.coordinates.map(quantizePolygon) };\n break;\n default: return input;\n }\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n function quantizeFeature(input) {\n var output = { type: \"Feature\", properties: input.properties, geometry: quantizeGeometry(input.geometry) };\n if (input.id != null)\n output.id = input.id;\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n if (input != null)\n switch (input.type) {\n case \"Feature\": return quantizeFeature(input);\n case \"FeatureCollection\": {\n var output = { type: \"FeatureCollection\", features: input.features.map(quantizeFeature) };\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n default: return quantizeGeometry(input);\n }\n return input;\n };\n function rectangularPolyconicRaw(phi0) {\n var sinPhi0 = sin(phi0);\n function forward(lambda, phi) {\n var A = sinPhi0 ? tan(lambda * sinPhi0 / 2) / sinPhi0 : lambda / 2;\n if (!phi)\n return [2 * A, -phi0];\n var E = 2 * atan(A * sin(phi)), cotPhi = 1 / tan(phi);\n return [\n sin(E) * cotPhi,\n phi + (1 - cos(E)) * cotPhi - phi0\n ];\n }\n // TODO return null for points outside outline.\n forward.invert = function (x, y) {\n if (abs(y += phi0) < epsilon)\n return [sinPhi0 ? 2 * atan(sinPhi0 * x / 2) / sinPhi0 : x, 0];\n var k = x * x + y * y, phi = 0, i = 10, delta;\n do {\n var tanPhi = tan(phi), secPhi = 1 / cos(phi), j = k - 2 * y * phi + phi * phi;\n phi -= delta = (tanPhi * j + 2 * (phi - y)) / (2 + j * secPhi * secPhi + 2 * (phi - y) * tanPhi);\n } while (abs(delta) > epsilon && --i > 0);\n var E = x * (tanPhi = tan(phi)), A = tan(abs(y) < abs(phi + 1 / tanPhi) ? asin(E) * 0.5 : acos(E) * 0.5 + pi / 4) / sin(phi);\n return [\n sinPhi0 ? 2 * atan(sinPhi0 * A) / sinPhi0 : 2 * A,\n phi\n ];\n };\n return forward;\n }\n var rectangularPolyconic = function () {\n return parallel1(rectangularPolyconicRaw)\n .scale(131.215);\n };\n var K = [\n [0.9986, -0.062],\n [1.0000, 0.0000],\n [0.9986, 0.0620],\n [0.9954, 0.1240],\n [0.9900, 0.1860],\n [0.9822, 0.2480],\n [0.9730, 0.3100],\n [0.9600, 0.3720],\n [0.9427, 0.4340],\n [0.9216, 0.4958],\n [0.8962, 0.5571],\n [0.8679, 0.6176],\n [0.8350, 0.6769],\n [0.7986, 0.7346],\n [0.7597, 0.7903],\n [0.7186, 0.8435],\n [0.6732, 0.8936],\n [0.6213, 0.9394],\n [0.5722, 0.9761],\n [0.5322, 1.0000]\n ];\n K.forEach(function (d) {\n d[1] *= 1.0144;\n });\n function robinsonRaw(lambda, phi) {\n var i = min(18, abs(phi) * 36 / pi), i0 = floor(i), di = i - i0, ax = (k = K[i0])[0], ay = k[1], bx = (k = K[++i0])[0], by = k[1], cx = (k = K[min(19, ++i0)])[0], cy = k[1], k;\n return [\n lambda * (bx + di * (cx - ax) / 2 + di * di * (cx - 2 * bx + ax) / 2),\n (phi > 0 ? halfPi : -halfPi) * (by + di * (cy - ay) / 2 + di * di * (cy - 2 * by + ay) / 2)\n ];\n }\n robinsonRaw.invert = function (x, y) {\n var yy = y / halfPi, phi = yy * 90, i = min(18, abs(phi / 5)), i0 = max(0, floor(i));\n do {\n var ay = K[i0][1], by = K[i0 + 1][1], cy = K[min(19, i0 + 2)][1], u = cy - ay, v = cy - 2 * by + ay, t = 2 * (abs(yy) - by) / u, c = v / u, di = t * (1 - c * t * (1 - 2 * c * t));\n if (di >= 0 || i0 === 1) {\n phi = (y >= 0 ? 5 : -5) * (di + i);\n var j = 50, delta;\n do {\n i = min(18, abs(phi) / 5);\n i0 = floor(i);\n di = i - i0;\n ay = K[i0][1];\n by = K[i0 + 1][1];\n cy = K[min(19, i0 + 2)][1];\n phi -= (delta = (y >= 0 ? halfPi : -halfPi) * (by + di * (cy - ay) / 2 + di * di * (cy - 2 * by + ay) / 2) - y) * degrees;\n } while (abs(delta) > epsilon2 && --j > 0);\n break;\n }\n } while (--i0 >= 0);\n var ax = K[i0][0], bx = K[i0 + 1][0], cx = K[min(19, i0 + 2)][0];\n return [\n x / (bx + di * (cx - ax) / 2 + di * di * (cx - 2 * bx + ax) / 2),\n phi * radians\n ];\n };\n var robinson = function () {\n return d3Geo.geoProjection(robinsonRaw)\n .scale(152.63);\n };\n function satelliteVerticalRaw(P) {\n function forward(lambda, phi) {\n var cosPhi = cos(phi), k = (P - 1) / (P - cosPhi * cos(lambda));\n return [\n k * cosPhi * sin(lambda),\n k * sin(phi)\n ];\n }\n forward.invert = function (x, y) {\n var rho2 = x * x + y * y, rho = sqrt(rho2), sinc = (P - sqrt(1 - rho2 * (P + 1) / (P - 1))) / ((P - 1) / rho + rho / (P - 1));\n return [\n atan2(x * sinc, rho * sqrt(1 - sinc * sinc)),\n rho ? asin(y * sinc / rho) : 0\n ];\n };\n return forward;\n }\n function satelliteRaw(P, omega) {\n var vertical = satelliteVerticalRaw(P);\n if (!omega)\n return vertical;\n var cosOmega = cos(omega), sinOmega = sin(omega);\n function forward(lambda, phi) {\n var coordinates = vertical(lambda, phi), y = coordinates[1], A = y * sinOmega / (P - 1) + cosOmega;\n return [\n coordinates[0] * cosOmega / A,\n y / A\n ];\n }\n forward.invert = function (x, y) {\n var k = (P - 1) / (P - 1 - y * sinOmega);\n return vertical.invert(k * x, k * y * cosOmega);\n };\n return forward;\n }\n var satellite = function () {\n var distance = 2, omega = 0, m = d3Geo.geoProjectionMutator(satelliteRaw), p = m(distance, omega);\n // As a multiple of radius.\n p.distance = function (_) {\n if (!arguments.length)\n return distance;\n return m(distance = +_, omega);\n };\n p.tilt = function (_) {\n if (!arguments.length)\n return omega * degrees;\n return m(distance, omega = _ * radians);\n };\n return p\n .scale(432.147)\n .clipAngle(acos(1 / distance) * degrees - 1e-6);\n };\n var epsilon$1 = 1e-4;\n var epsilonInverse = 1e4;\n var x0 = -180;\n var x0e = x0 + epsilon$1;\n var x1 = 180;\n var x1e = x1 - epsilon$1;\n var y0 = -90;\n var y0e = y0 + epsilon$1;\n var y1 = 90;\n var y1e = y1 - epsilon$1;\n function nonempty(coordinates) {\n return coordinates.length > 0;\n }\n function quantize$1(x) {\n return Math.floor(x * epsilonInverse) / epsilonInverse;\n }\n function normalizePoint(y) {\n return y === y0 || y === y1 ? [0, y] : [x0, quantize$1(y)]; // pole or antimeridian?\n }\n function clampPoint(p) {\n var x = p[0], y = p[1], clamped = false;\n if (x <= x0e)\n x = x0, clamped = true;\n else if (x >= x1e)\n x = x1, clamped = true;\n if (y <= y0e)\n y = y0, clamped = true;\n else if (y >= y1e)\n y = y1, clamped = true;\n return clamped ? [x, y] : p;\n }\n function clampPoints(points) {\n return points.map(clampPoint);\n }\n // For each ring, detect where it crosses the antimeridian or pole.\n function extractFragments(rings, polygon, fragments) {\n for (var j = 0, m = rings.length; j < m; ++j) {\n var ring = rings[j].slice();\n // By default, assume that this ring doesn’t need any stitching.\n fragments.push({ index: -1, polygon: polygon, ring: ring });\n for (var i = 0, n = ring.length; i < n; ++i) {\n var point = ring[i], x = point[0], y = point[1];\n // If this is an antimeridian or polar point…\n if (x <= x0e || x >= x1e || y <= y0e || y >= y1e) {\n ring[i] = clampPoint(point);\n // Advance through any antimeridian or polar points…\n for (var k = i + 1; k < n; ++k) {\n var pointk = ring[k], xk = pointk[0], yk = pointk[1];\n if (xk > x0e && xk < x1e && yk > y0e && yk < y1e)\n break;\n }\n // If this was just a single antimeridian or polar point,\n // we don’t need to cut this ring into a fragment;\n // we can just leave it as-is.\n if (k === i + 1)\n continue;\n // Otherwise, if this is not the first point in the ring,\n // cut the current fragment so that it ends at the current point.\n // The current point is also normalized for later joining.\n if (i) {\n var fragmentBefore = { index: -1, polygon: polygon, ring: ring.slice(0, i + 1) };\n fragmentBefore.ring[fragmentBefore.ring.length - 1] = normalizePoint(y);\n fragments[fragments.length - 1] = fragmentBefore;\n }\n // If the ring started with an antimeridian fragment,\n // we can ignore that fragment entirely.\n else\n fragments.pop();\n // If the remainder of the ring is an antimeridian fragment,\n // move on to the next ring.\n if (k >= n)\n break;\n // Otherwise, add the remaining ring fragment and continue.\n fragments.push({ index: -1, polygon: polygon, ring: ring = ring.slice(k - 1) });\n ring[0] = normalizePoint(ring[0][1]);\n i = -1;\n n = ring.length;\n }\n }\n }\n }\n // Now stitch the fragments back together into rings.\n function stitchFragments(fragments) {\n var i, n = fragments.length;\n // To connect the fragments start-to-end, create a simple index by end.\n var fragmentByStart = {}, fragmentByEnd = {}, fragment, start, startFragment, end, endFragment;\n // For each fragment…\n for (i = 0; i < n; ++i) {\n fragment = fragments[i];\n start = fragment.ring[0];\n end = fragment.ring[fragment.ring.length - 1];\n // If this fragment is closed, add it as a standalone ring.\n if (start[0] === end[0] && start[1] === end[1]) {\n fragment.polygon.push(fragment.ring);\n fragments[i] = null;\n continue;\n }\n fragment.index = i;\n fragmentByStart[start] = fragmentByEnd[end] = fragment;\n }\n // For each open fragment…\n for (i = 0; i < n; ++i) {\n fragment = fragments[i];\n if (fragment) {\n start = fragment.ring[0];\n end = fragment.ring[fragment.ring.length - 1];\n startFragment = fragmentByEnd[start];\n endFragment = fragmentByStart[end];\n delete fragmentByStart[start];\n delete fragmentByEnd[end];\n // If this fragment is closed, add it as a standalone ring.\n if (start[0] === end[0] && start[1] === end[1]) {\n fragment.polygon.push(fragment.ring);\n continue;\n }\n if (startFragment) {\n delete fragmentByEnd[start];\n delete fragmentByStart[startFragment.ring[0]];\n startFragment.ring.pop(); // drop the shared coordinate\n fragments[startFragment.index] = null;\n fragment = { index: -1, polygon: startFragment.polygon, ring: startFragment.ring.concat(fragment.ring) };\n if (startFragment === endFragment) {\n // Connect both ends to this single fragment to create a ring.\n fragment.polygon.push(fragment.ring);\n }\n else {\n fragment.index = n++;\n fragments.push(fragmentByStart[fragment.ring[0]] = fragmentByEnd[fragment.ring[fragment.ring.length - 1]] = fragment);\n }\n }\n else if (endFragment) {\n delete fragmentByStart[end];\n delete fragmentByEnd[endFragment.ring[endFragment.ring.length - 1]];\n fragment.ring.pop(); // drop the shared coordinate\n fragment = { index: n++, polygon: endFragment.polygon, ring: fragment.ring.concat(endFragment.ring) };\n fragments[endFragment.index] = null;\n fragments.push(fragmentByStart[fragment.ring[0]] = fragmentByEnd[fragment.ring[fragment.ring.length - 1]] = fragment);\n }\n else {\n fragment.ring.push(fragment.ring[0]); // close ring\n fragment.polygon.push(fragment.ring);\n }\n }\n }\n }\n function stitchFeature(input) {\n var output = { type: \"Feature\", geometry: stitchGeometry(input.geometry) };\n if (input.id != null)\n output.id = input.id;\n if (input.bbox != null)\n output.bbox = input.bbox;\n if (input.properties != null)\n output.properties = input.properties;\n return output;\n }\n function stitchGeometry(input) {\n if (input == null)\n return input;\n var output, fragments, i, n;\n switch (input.type) {\n case \"GeometryCollection\":\n output = { type: \"GeometryCollection\", geometries: input.geometries.map(stitchGeometry) };\n break;\n case \"Point\":\n output = { type: \"Point\", coordinates: clampPoint(input.coordinates) };\n break;\n case \"MultiPoint\":\n case \"LineString\":\n output = { type: input.type, coordinates: clampPoints(input.coordinates) };\n break;\n case \"MultiLineString\":\n output = { type: \"MultiLineString\", coordinates: input.coordinates.map(clampPoints) };\n break;\n case \"Polygon\": {\n var polygon = [];\n extractFragments(input.coordinates, polygon, fragments = []);\n stitchFragments(fragments);\n output = { type: \"Polygon\", coordinates: polygon };\n break;\n }\n case \"MultiPolygon\": {\n fragments = [], i = -1, n = input.coordinates.length;\n var polygons = new Array(n);\n while (++i < n)\n extractFragments(input.coordinates[i], polygons[i] = [], fragments);\n stitchFragments(fragments);\n output = { type: \"MultiPolygon\", coordinates: polygons.filter(nonempty) };\n break;\n }\n default: return input;\n }\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n var stitch = function (input) {\n if (input == null)\n return input;\n switch (input.type) {\n case \"Feature\": return stitchFeature(input);\n case \"FeatureCollection\": {\n var output = { type: \"FeatureCollection\", features: input.features.map(stitchFeature) };\n if (input.bbox != null)\n output.bbox = input.bbox;\n return output;\n }\n default: return stitchGeometry(input);\n }\n };\n function timesRaw(lambda, phi) {\n var t = tan(phi / 2), s = sin(quarterPi * t);\n return [\n lambda * (0.74482 - 0.34588 * s * s),\n 1.70711 * t\n ];\n }\n timesRaw.invert = function (x, y) {\n var t = y / 1.70711, s = sin(quarterPi * t);\n return [\n x / (0.74482 - 0.34588 * s * s),\n 2 * atan(t)\n ];\n };\n var times = function () {\n return d3Geo.geoProjection(timesRaw)\n .scale(146.153);\n };\n // Compute the origin as the midpoint of the two reference points.\n // Rotate one of the reference points by the origin.\n // Apply the spherical law of sines to compute gamma rotation.\n var twoPoint = function (raw, p0, p1) {\n var i = d3Geo.geoInterpolate(p0, p1), o = i(0.5), a = d3Geo.geoRotation([-o[0], -o[1]])(p0), b = i.distance / 2, y = -asin(sin(a[1] * radians) / sin(b)), R = [-o[0], -o[1], -(a[0] > 0 ? pi - y : y) * degrees], p = d3Geo.geoProjection(raw(b)).rotate(R), r = d3Geo.geoRotation(R), center = p.center;\n delete p.rotate;\n p.center = function (_) {\n return arguments.length ? center(r(_)) : r.invert(center());\n };\n return p\n .clipAngle(90);\n };\n function twoPointAzimuthalRaw(d) {\n var cosd = cos(d);\n function forward(lambda, phi) {\n var coordinates = d3Geo.geoGnomonicRaw(lambda, phi);\n coordinates[0] *= cosd;\n return coordinates;\n }\n forward.invert = function (x, y) {\n return d3Geo.geoGnomonicRaw.invert(x / cosd, y);\n };\n return forward;\n }\n function twoPointAzimuthalUsa() {\n return twoPointAzimuthal([-158, 21.5], [-77, 39])\n .clipAngle(60)\n .scale(400);\n }\n function twoPointAzimuthal(p0, p1) {\n return twoPoint(twoPointAzimuthalRaw, p0, p1);\n }\n // TODO clip to ellipse\n function twoPointEquidistantRaw(z0) {\n if (!(z0 *= 2))\n return d3Geo.geoAzimuthalEquidistantRaw;\n var lambdaa = -z0 / 2, lambdab = -lambdaa, z02 = z0 * z0, tanLambda0 = tan(lambdab), S = 0.5 / sin(lambdab);\n function forward(lambda, phi) {\n var za = acos(cos(phi) * cos(lambda - lambdaa)), zb = acos(cos(phi) * cos(lambda - lambdab)), ys = phi < 0 ? -1 : 1;\n za *= za, zb *= zb;\n return [\n (za - zb) / (2 * z0),\n ys * sqrt(4 * z02 * zb - (z02 - za + zb) * (z02 - za + zb)) / (2 * z0)\n ];\n }\n forward.invert = function (x, y) {\n var y2 = y * y, cosza = cos(sqrt(y2 + (t = x + lambdaa) * t)), coszb = cos(sqrt(y2 + (t = x + lambdab) * t)), t, d;\n return [\n atan2(d = cosza - coszb, t = (cosza + coszb) * tanLambda0),\n (y < 0 ? -1 : 1) * acos(sqrt(t * t + d * d) * S)\n ];\n };\n return forward;\n }\n function twoPointEquidistantUsa() {\n return twoPointEquidistant([-158, 21.5], [-77, 39])\n .clipAngle(130)\n .scale(122.571);\n }\n function twoPointEquidistant(p0, p1) {\n return twoPoint(twoPointEquidistantRaw, p0, p1);\n }\n function vanDerGrintenRaw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = abs(phi / halfPi), theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, sign(phi) * pi * tan(theta / 2)];\n var cosTheta = cos(theta), A = abs(pi / lambda - lambda / pi) / 2, A2 = A * A, G = cosTheta / (sinTheta + cosTheta - 1), P = G * (2 / sinTheta - 1), P2 = P * P, P2_A2 = P2 + A2, G_P2 = G - P2, Q = A2 + G;\n return [\n sign(lambda) * pi * (A * G_P2 + sqrt(A2 * G_P2 * G_P2 - P2_A2 * (G * G - P2))) / P2_A2,\n sign(phi) * pi * (P * Q - A * sqrt((A2 + 1) * P2_A2 - Q * Q)) / P2_A2\n ];\n }\n vanDerGrintenRaw.invert = function (x, y) {\n if (abs(y) < epsilon)\n return [x, 0];\n if (abs(x) < epsilon)\n return [0, halfPi * sin(2 * atan(y / pi))];\n var x2 = (x /= pi) * x, y2 = (y /= pi) * y, x2_y2 = x2 + y2, z = x2_y2 * x2_y2, c1 = -abs(y) * (1 + x2_y2), c2 = c1 - 2 * y2 + x2, c3 = -2 * c1 + 1 + 2 * y2 + z, d = y2 / c3 + (2 * c2 * c2 * c2 / (c3 * c3 * c3) - 9 * c1 * c2 / (c3 * c3)) / 27, a1 = (c1 - c2 * c2 / (3 * c3)) / c3, m1 = 2 * sqrt(-a1 / 3), theta1 = acos(3 * d / (a1 * m1)) / 3;\n return [\n pi * (x2_y2 - 1 + sqrt(1 + 2 * (x2 - y2) + z)) / (2 * x),\n sign(y) * pi * (-m1 * cos(theta1 + pi / 3) - c2 / (3 * c3))\n ];\n };\n var vanDerGrinten = function () {\n return d3Geo.geoProjection(vanDerGrintenRaw)\n .scale(79.4183);\n };\n function vanDerGrinten2Raw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = abs(phi / halfPi), theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, sign(phi) * pi * tan(theta / 2)];\n var cosTheta = cos(theta), A = abs(pi / lambda - lambda / pi) / 2, A2 = A * A, x1 = cosTheta * (sqrt(1 + A2) - A * cosTheta) / (1 + A2 * sinTheta * sinTheta);\n return [\n sign(lambda) * pi * x1,\n sign(phi) * pi * sqrt(1 - x1 * (2 * A + x1))\n ];\n }\n vanDerGrinten2Raw.invert = function (x, y) {\n if (!x)\n return [0, halfPi * sin(2 * atan(y / pi))];\n var x1 = abs(x / pi), A = (1 - x1 * x1 - (y /= pi) * y) / (2 * x1), A2 = A * A, B = sqrt(A2 + 1);\n return [\n sign(x) * pi * (B - A),\n sign(y) * halfPi * sin(2 * atan2(sqrt((1 - 2 * A * x1) * (A + B) - x1), sqrt(B + A + x1)))\n ];\n };\n var vanDerGrinten2 = function () {\n return d3Geo.geoProjection(vanDerGrinten2Raw)\n .scale(79.4183);\n };\n function vanDerGrinten3Raw(lambda, phi) {\n if (abs(phi) < epsilon)\n return [lambda, 0];\n var sinTheta = phi / halfPi, theta = asin(sinTheta);\n if (abs(lambda) < epsilon || abs(abs(phi) - halfPi) < epsilon)\n return [0, pi * tan(theta / 2)];\n var A = (pi / lambda - lambda / pi) / 2, y1 = sinTheta / (1 + cos(theta));\n return [\n pi * (sign(lambda) * sqrt(A * A + 1 - y1 * y1) - A),\n pi * y1\n ];\n }\n vanDerGrinten3Raw.invert = function (x, y) {\n if (!y)\n return [x, 0];\n var y1 = y / pi, A = (pi * pi * (1 - y1 * y1) - x * x) / (2 * pi * x);\n return [\n x ? pi * (sign(x) * sqrt(A * A + 1) - A) : 0,\n halfPi * sin(2 * atan(y1))\n ];\n };\n var vanDerGrinten3 = function () {\n return d3Geo.geoProjection(vanDerGrinten3Raw)\n .scale(79.4183);\n };\n function vanDerGrinten4Raw(lambda, phi) {\n if (!phi)\n return [lambda, 0];\n var phi0 = abs(phi);\n if (!lambda || phi0 === halfPi)\n return [0, phi];\n var B = phi0 / halfPi, B2 = B * B, C = (8 * B - B2 * (B2 + 2) - 5) / (2 * B2 * (B - 1)), C2 = C * C, BC = B * C, B_C2 = B2 + C2 + 2 * BC, B_3C = B + 3 * C, lambda0 = lambda / halfPi, lambda1 = lambda0 + 1 / lambda0, D = sign(abs(lambda) - halfPi) * sqrt(lambda1 * lambda1 - 4), D2 = D * D, F = B_C2 * (B2 + C2 * D2 - 1) + (1 - B2) * (B2 * (B_3C * B_3C + 4 * C2) + 12 * BC * C2 + 4 * C2 * C2), x1 = (D * (B_C2 + C2 - 1) + 2 * sqrt(F)) / (4 * B_C2 + D2);\n return [\n sign(lambda) * halfPi * x1,\n sign(phi) * halfPi * sqrt(1 + D * abs(x1) - x1 * x1)\n ];\n }\n vanDerGrinten4Raw.invert = function (x, y) {\n var delta;\n if (!x || !y)\n return [x, y];\n y /= pi;\n var x1 = sign(x) * x / halfPi, D = (x1 * x1 - 1 + 4 * y * y) / abs(x1), D2 = D * D, B = 2 * y, i = 50;\n do {\n var B2 = B * B, C = (8 * B - B2 * (B2 + 2) - 5) / (2 * B2 * (B - 1)), C_ = (3 * B - B2 * B - 10) / (2 * B2 * B), C2 = C * C, BC = B * C, B_C = B + C, B_C2 = B_C * B_C, B_3C = B + 3 * C, F = B_C2 * (B2 + C2 * D2 - 1) + (1 - B2) * (B2 * (B_3C * B_3C + 4 * C2) + C2 * (12 * BC + 4 * C2)), F_ = -2 * B_C * (4 * BC * C2 + (1 - 4 * B2 + 3 * B2 * B2) * (1 + C_) + C2 * (-6 + 14 * B2 - D2 + (-8 + 8 * B2 - 2 * D2) * C_) + BC * (-8 + 12 * B2 + (-10 + 10 * B2 - D2) * C_)), sqrtF = sqrt(F), f = D * (B_C2 + C2 - 1) + 2 * sqrtF - x1 * (4 * B_C2 + D2), f_ = D * (2 * C * C_ + 2 * B_C * (1 + C_)) + F_ / sqrtF - 8 * B_C * (D * (-1 + C2 + B_C2) + 2 * sqrtF) * (1 + C_) / (D2 + 4 * B_C2);\n B -= delta = f / f_;\n } while (delta > epsilon && --i > 0);\n return [\n sign(x) * (sqrt(D * D + 4) + D) * pi / 4,\n halfPi * B\n ];\n };\n var vanDerGrinten4 = function () {\n return d3Geo.geoProjection(vanDerGrinten4Raw)\n .scale(127.16);\n };\n var A = 4 * pi + 3 * sqrt(3);\n var B = 2 * sqrt(2 * pi * sqrt(3) / A);\n var wagner4Raw = mollweideBromleyRaw(B * sqrt(3) / pi, B, A / 6);\n var wagner4 = function () {\n return d3Geo.geoProjection(wagner4Raw)\n .scale(176.84);\n };\n function wagner6Raw(lambda, phi) {\n return [lambda * sqrt(1 - 3 * phi * phi / (pi * pi)), phi];\n }\n wagner6Raw.invert = function (x, y) {\n return [x / sqrt(1 - 3 * y * y / (pi * pi)), y];\n };\n var wagner6 = function () {\n return d3Geo.geoProjection(wagner6Raw)\n .scale(152.63);\n };\n function wagner7Raw(lambda, phi) {\n var s = 0.90631 * sin(phi), c0 = sqrt(1 - s * s), c1 = sqrt(2 / (1 + c0 * cos(lambda /= 3)));\n return [\n 2.66723 * c0 * c1 * sin(lambda),\n 1.24104 * s * c1\n ];\n }\n wagner7Raw.invert = function (x, y) {\n var t1 = x / 2.66723, t2 = y / 1.24104, p = sqrt(t1 * t1 + t2 * t2), c = 2 * asin(p / 2);\n return [\n 3 * atan2(x * tan(c), 2.66723 * p),\n p && asin(y * sin(c) / (1.24104 * 0.90631 * p))\n ];\n };\n var wagner7 = function () {\n return d3Geo.geoProjection(wagner7Raw)\n .scale(172.632);\n };\n function wiechelRaw(lambda, phi) {\n var cosPhi = cos(phi), sinPhi = cos(lambda) * cosPhi, sin1_Phi = 1 - sinPhi, cosLambda = cos(lambda = atan2(sin(lambda) * cosPhi, -sin(phi))), sinLambda = sin(lambda);\n cosPhi = sqrt(1 - sinPhi * sinPhi);\n return [\n sinLambda * cosPhi - cosLambda * sin1_Phi,\n -cosLambda * cosPhi - sinLambda * sin1_Phi\n ];\n }\n wiechelRaw.invert = function (x, y) {\n var w = (x * x + y * y) / -2, k = sqrt(-w * (2 + w)), b = y * w + x * k, a = x * w - y * k, D = sqrt(a * a + b * b);\n return [\n atan2(k * b, D * (1 + w)),\n D ? -asin(k * a / D) : 0\n ];\n };\n var wiechel = function () {\n return d3Geo.geoProjection(wiechelRaw)\n .rotate([0, -90, 45])\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n };\n function winkel3Raw(lambda, phi) {\n var coordinates = aitoffRaw(lambda, phi);\n return [\n (coordinates[0] + lambda / halfPi) / 2,\n (coordinates[1] + phi) / 2\n ];\n }\n winkel3Raw.invert = function (x, y) {\n var lambda = x, phi = y, i = 25;\n do {\n var cosphi = cos(phi), sinphi = sin(phi), sin_2phi = sin(2 * phi), sin2phi = sinphi * sinphi, cos2phi = cosphi * cosphi, sinlambda = sin(lambda), coslambda_2 = cos(lambda / 2), sinlambda_2 = sin(lambda / 2), sin2lambda_2 = sinlambda_2 * sinlambda_2, C = 1 - cos2phi * coslambda_2 * coslambda_2, E = C ? acos(cosphi * coslambda_2) * sqrt(F = 1 / C) : F = 0, F, fx = 0.5 * (2 * E * cosphi * sinlambda_2 + lambda / halfPi) - x, fy = 0.5 * (E * sinphi + phi) - y, dxdlambda = 0.5 * F * (cos2phi * sin2lambda_2 + E * cosphi * coslambda_2 * sin2phi) + 0.5 / halfPi, dxdphi = F * (sinlambda * sin_2phi / 4 - E * sinphi * sinlambda_2), dydlambda = 0.125 * F * (sin_2phi * sinlambda_2 - E * sinphi * cos2phi * sinlambda), dydphi = 0.5 * F * (sin2phi * coslambda_2 + E * sin2lambda_2 * cosphi) + 0.5, denominator = dxdphi * dydlambda - dydphi * dxdlambda, dlambda = (fy * dxdphi - fx * dydphi) / denominator, dphi = (fx * dydlambda - fy * dxdlambda) / denominator;\n lambda -= dlambda, phi -= dphi;\n } while ((abs(dlambda) > epsilon || abs(dphi) > epsilon) && --i > 0);\n return [lambda, phi];\n };\n var winkel3 = function () {\n return d3Geo.geoProjection(winkel3Raw)\n .scale(158.837);\n };\n exports.geoAiry = airy;\n exports.geoAiryRaw = airyRaw;\n exports.geoAitoff = aitoff;\n exports.geoAitoffRaw = aitoffRaw;\n exports.geoArmadillo = armadillo;\n exports.geoArmadilloRaw = armadilloRaw;\n exports.geoAugust = august;\n exports.geoAugustRaw = augustRaw;\n exports.geoBaker = baker;\n exports.geoBakerRaw = bakerRaw;\n exports.geoBerghaus = berghaus;\n exports.geoBerghausRaw = berghausRaw;\n exports.geoBoggs = boggs;\n exports.geoBoggsRaw = boggsRaw;\n exports.geoBonne = bonne;\n exports.geoBonneRaw = bonneRaw;\n exports.geoBottomley = bottomley;\n exports.geoBottomleyRaw = bottomleyRaw;\n exports.geoBromley = bromley;\n exports.geoBromleyRaw = bromleyRaw;\n exports.geoChamberlin = chamberlin;\n exports.geoChamberlinRaw = chamberlinRaw;\n exports.geoChamberlinAfrica = chamberlinAfrica;\n exports.geoCollignon = collignon;\n exports.geoCollignonRaw = collignonRaw;\n exports.geoCraig = craig;\n exports.geoCraigRaw = craigRaw;\n exports.geoCraster = craster;\n exports.geoCrasterRaw = crasterRaw;\n exports.geoCylindricalEqualArea = cylindricalEqualArea;\n exports.geoCylindricalEqualAreaRaw = cylindricalEqualAreaRaw;\n exports.geoCylindricalStereographic = cylindricalStereographic;\n exports.geoCylindricalStereographicRaw = cylindricalStereographicRaw;\n exports.geoEckert1 = eckert1;\n exports.geoEckert1Raw = eckert1Raw;\n exports.geoEckert2 = eckert2;\n exports.geoEckert2Raw = eckert2Raw;\n exports.geoEckert3 = eckert3;\n exports.geoEckert3Raw = eckert3Raw;\n exports.geoEckert4 = eckert4;\n exports.geoEckert4Raw = eckert4Raw;\n exports.geoEckert5 = eckert5;\n exports.geoEckert5Raw = eckert5Raw;\n exports.geoEckert6 = eckert6;\n exports.geoEckert6Raw = eckert6Raw;\n exports.geoEisenlohr = eisenlohr;\n exports.geoEisenlohrRaw = eisenlohrRaw;\n exports.geoFahey = fahey;\n exports.geoFaheyRaw = faheyRaw;\n exports.geoFoucaut = foucaut;\n exports.geoFoucautRaw = foucautRaw;\n exports.geoGilbert = gilbert;\n exports.geoGingery = gingery;\n exports.geoGingeryRaw = gingeryRaw;\n exports.geoGinzburg4 = ginzburg4;\n exports.geoGinzburg4Raw = ginzburg4Raw;\n exports.geoGinzburg5 = ginzburg5;\n exports.geoGinzburg5Raw = ginzburg5Raw;\n exports.geoGinzburg6 = ginzburg6;\n exports.geoGinzburg6Raw = ginzburg6Raw;\n exports.geoGinzburg8 = ginzburg8;\n exports.geoGinzburg8Raw = ginzburg8Raw;\n exports.geoGinzburg9 = ginzburg9;\n exports.geoGinzburg9Raw = ginzburg9Raw;\n exports.geoGringorten = gringorten;\n exports.geoGringortenRaw = gringortenRaw;\n exports.geoGuyou = guyou;\n exports.geoGuyouRaw = guyouRaw;\n exports.geoHammer = hammer;\n exports.geoHammerRaw = hammerRaw;\n exports.geoHammerRetroazimuthal = hammerRetroazimuthal;\n exports.geoHammerRetroazimuthalRaw = hammerRetroazimuthalRaw;\n exports.geoHealpix = healpix;\n exports.geoHealpixRaw = healpixRaw;\n exports.geoHill = hill;\n exports.geoHillRaw = hillRaw;\n exports.geoHomolosine = homolosine;\n exports.geoHomolosineRaw = homolosineRaw;\n exports.geoInterrupt = interrupt;\n exports.geoInterruptedBoggs = boggs$1;\n exports.geoInterruptedHomolosine = homolosine$1;\n exports.geoInterruptedMollweide = mollweide$1;\n exports.geoInterruptedMollweideHemispheres = mollweideHemispheres;\n exports.geoInterruptedSinuMollweide = sinuMollweide$1;\n exports.geoInterruptedSinusoidal = sinusoidal$1;\n exports.geoKavrayskiy7 = kavrayskiy7;\n exports.geoKavrayskiy7Raw = kavrayskiy7Raw;\n exports.geoLagrange = lagrange;\n exports.geoLagrangeRaw = lagrangeRaw;\n exports.geoLarrivee = larrivee;\n exports.geoLarriveeRaw = larriveeRaw;\n exports.geoLaskowski = laskowski;\n exports.geoLaskowskiRaw = laskowskiRaw;\n exports.geoLittrow = littrow;\n exports.geoLittrowRaw = littrowRaw;\n exports.geoLoximuthal = loximuthal;\n exports.geoLoximuthalRaw = loximuthalRaw;\n exports.geoMiller = miller;\n exports.geoMillerRaw = millerRaw;\n exports.geoModifiedStereographic = modifiedStereographic;\n exports.geoModifiedStereographicRaw = modifiedStereographicRaw;\n exports.geoModifiedStereographicAlaska = modifiedStereographicAlaska;\n exports.geoModifiedStereographicGs48 = modifiedStereographicGs48;\n exports.geoModifiedStereographicGs50 = modifiedStereographicGs50;\n exports.geoModifiedStereographicMiller = modifiedStereographicMiller;\n exports.geoModifiedStereographicLee = modifiedStereographicLee;\n exports.geoMollweide = mollweide;\n exports.geoMollweideRaw = mollweideRaw;\n exports.geoMtFlatPolarParabolic = mtFlatPolarParabolic;\n exports.geoMtFlatPolarParabolicRaw = mtFlatPolarParabolicRaw;\n exports.geoMtFlatPolarQuartic = mtFlatPolarQuartic;\n exports.geoMtFlatPolarQuarticRaw = mtFlatPolarQuarticRaw;\n exports.geoMtFlatPolarSinusoidal = mtFlatPolarSinusoidal;\n exports.geoMtFlatPolarSinusoidalRaw = mtFlatPolarSinusoidalRaw;\n exports.geoNaturalEarth = naturalEarth;\n exports.geoNaturalEarthRaw = naturalEarthRaw;\n exports.geoNaturalEarth2 = naturalEarth2;\n exports.geoNaturalEarth2Raw = naturalEarth2Raw;\n exports.geoNellHammer = nellHammer;\n exports.geoNellHammerRaw = nellHammerRaw;\n exports.geoPatterson = patterson;\n exports.geoPattersonRaw = pattersonRaw;\n exports.geoPolyconic = polyconic;\n exports.geoPolyconicRaw = polyconicRaw;\n exports.geoPolyhedral = polyhedral;\n exports.geoPolyhedralButterfly = butterfly;\n exports.geoPolyhedralCollignon = collignon$1;\n exports.geoPolyhedralWaterman = waterman;\n exports.geoProject = index;\n exports.geoGringortenQuincuncial = gringorten$1;\n exports.geoPeirceQuincuncial = peirce;\n exports.geoPierceQuincuncial = peirce;\n exports.geoQuantize = quantize;\n exports.geoQuincuncial = quincuncial;\n exports.geoRectangularPolyconic = rectangularPolyconic;\n exports.geoRectangularPolyconicRaw = rectangularPolyconicRaw;\n exports.geoRobinson = robinson;\n exports.geoRobinsonRaw = robinsonRaw;\n exports.geoSatellite = satellite;\n exports.geoSatelliteRaw = satelliteRaw;\n exports.geoSinuMollweide = sinuMollweide;\n exports.geoSinuMollweideRaw = sinuMollweideRaw;\n exports.geoSinusoidal = sinusoidal;\n exports.geoSinusoidalRaw = sinusoidalRaw;\n exports.geoStitch = stitch;\n exports.geoTimes = times;\n exports.geoTimesRaw = timesRaw;\n exports.geoTwoPointAzimuthal = twoPointAzimuthal;\n exports.geoTwoPointAzimuthalRaw = twoPointAzimuthalRaw;\n exports.geoTwoPointAzimuthalUsa = twoPointAzimuthalUsa;\n exports.geoTwoPointEquidistant = twoPointEquidistant;\n exports.geoTwoPointEquidistantRaw = twoPointEquidistantRaw;\n exports.geoTwoPointEquidistantUsa = twoPointEquidistantUsa;\n exports.geoVanDerGrinten = vanDerGrinten;\n exports.geoVanDerGrintenRaw = vanDerGrintenRaw;\n exports.geoVanDerGrinten2 = vanDerGrinten2;\n exports.geoVanDerGrinten2Raw = vanDerGrinten2Raw;\n exports.geoVanDerGrinten3 = vanDerGrinten3;\n exports.geoVanDerGrinten3Raw = vanDerGrinten3Raw;\n exports.geoVanDerGrinten4 = vanDerGrinten4;\n exports.geoVanDerGrinten4Raw = vanDerGrinten4Raw;\n exports.geoWagner4 = wagner4;\n exports.geoWagner4Raw = wagner4Raw;\n exports.geoWagner6 = wagner6;\n exports.geoWagner6Raw = wagner6Raw;\n exports.geoWagner7 = wagner7;\n exports.geoWagner7Raw = wagner7Raw;\n exports.geoWiechel = wiechel;\n exports.geoWiechelRaw = wiechelRaw;\n exports.geoWinkel3 = winkel3;\n exports.geoWinkel3Raw = winkel3Raw;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-geo/build/d3-geo.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo/build/d3-geo.js", + "name": "./node_modules/d3-geo/build/d3-geo.js", + "index": 115, + "index2": 114, + "size": 100932, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "issuerId": "./src/connector/geo-graticule.ts", + "issuerName": "./src/connector/geo-graticule.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 605, + "building": 454 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-geo-projection/build/d3-geo-projection.js", + "module": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "moduleName": "./node_modules/d3-geo-projection/build/d3-geo-projection.js", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "3:84-101" + }, + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:15-32" + }, + { + "moduleId": "./src/connector/geo-graticule.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "module": "./src/connector/geo-graticule.ts", + "moduleName": "./src/connector/geo-graticule.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "3:15-32" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "6:15-32" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:15-32" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "d3-geo", + "loc": "5:33-50" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-geo/ Version 1.6.4. Copyright 2017 Mike Bostock.\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3));\n}(this, (function (exports, d3Array) {\n 'use strict';\n // Adds floating point numbers with twice the normal precision.\n // Reference: J. R. Shewchuk, Adaptive Precision Floating-Point Arithmetic and\n // Fast Robust Geometric Predicates, Discrete & Computational Geometry 18(3)\n // 305–363 (1997).\n // Code adapted from GeographicLib by Charles F. F. Karney,\n // http://geographiclib.sourceforge.net/\n var adder = function () {\n return new Adder;\n };\n function Adder() {\n this.reset();\n }\n Adder.prototype = {\n constructor: Adder,\n reset: function () {\n this.s = // rounded value\n this.t = 0; // exact error\n },\n add: function (y) {\n add(temp, y, this.t);\n add(this, temp.s, this.s);\n if (this.s)\n this.t += temp.t;\n else\n this.s = temp.t;\n },\n valueOf: function () {\n return this.s;\n }\n };\n var temp = new Adder;\n function add(adder, a, b) {\n var x = adder.s = a + b, bv = x - a, av = x - bv;\n adder.t = (a - av) + (b - bv);\n }\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var quarterPi = pi / 4;\n var tau = pi * 2;\n var degrees = 180 / pi;\n var radians = pi / 180;\n var abs = Math.abs;\n var atan = Math.atan;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var ceil = Math.ceil;\n var exp = Math.exp;\n var log = Math.log;\n var pow = Math.pow;\n var sin = Math.sin;\n var sign = Math.sign || function (x) { return x > 0 ? 1 : x < 0 ? -1 : 0; };\n var sqrt = Math.sqrt;\n var tan = Math.tan;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x > 1 ? halfPi : x < -1 ? -halfPi : Math.asin(x);\n }\n function haversin(x) {\n return (x = sin(x / 2)) * x;\n }\n function noop() { }\n function streamGeometry(geometry, stream) {\n if (geometry && streamGeometryType.hasOwnProperty(geometry.type)) {\n streamGeometryType[geometry.type](geometry, stream);\n }\n }\n var streamObjectType = {\n Feature: function (object, stream) {\n streamGeometry(object.geometry, stream);\n },\n FeatureCollection: function (object, stream) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n streamGeometry(features[i].geometry, stream);\n }\n };\n var streamGeometryType = {\n Sphere: function (object, stream) {\n stream.sphere();\n },\n Point: function (object, stream) {\n object = object.coordinates;\n stream.point(object[0], object[1], object[2]);\n },\n MultiPoint: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n object = coordinates[i], stream.point(object[0], object[1], object[2]);\n },\n LineString: function (object, stream) {\n streamLine(object.coordinates, stream, 0);\n },\n MultiLineString: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamLine(coordinates[i], stream, 0);\n },\n Polygon: function (object, stream) {\n streamPolygon(object.coordinates, stream);\n },\n MultiPolygon: function (object, stream) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n streamPolygon(coordinates[i], stream);\n },\n GeometryCollection: function (object, stream) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n streamGeometry(geometries[i], stream);\n }\n };\n function streamLine(coordinates, stream, closed) {\n var i = -1, n = coordinates.length - closed, coordinate;\n stream.lineStart();\n while (++i < n)\n coordinate = coordinates[i], stream.point(coordinate[0], coordinate[1], coordinate[2]);\n stream.lineEnd();\n }\n function streamPolygon(coordinates, stream) {\n var i = -1, n = coordinates.length;\n stream.polygonStart();\n while (++i < n)\n streamLine(coordinates[i], stream, 1);\n stream.polygonEnd();\n }\n var geoStream = function (object, stream) {\n if (object && streamObjectType.hasOwnProperty(object.type)) {\n streamObjectType[object.type](object, stream);\n }\n else {\n streamGeometry(object, stream);\n }\n };\n var areaRingSum = adder();\n var areaSum = adder();\n var lambda00;\n var phi00;\n var lambda0;\n var cosPhi0;\n var sinPhi0;\n var areaStream = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaRingSum.reset();\n areaStream.lineStart = areaRingStart;\n areaStream.lineEnd = areaRingEnd;\n },\n polygonEnd: function () {\n var areaRing = +areaRingSum;\n areaSum.add(areaRing < 0 ? tau + areaRing : areaRing);\n this.lineStart = this.lineEnd = this.point = noop;\n },\n sphere: function () {\n areaSum.add(tau);\n }\n };\n function areaRingStart() {\n areaStream.point = areaPointFirst;\n }\n function areaRingEnd() {\n areaPoint(lambda00, phi00);\n }\n function areaPointFirst(lambda, phi) {\n areaStream.point = areaPoint;\n lambda00 = lambda, phi00 = phi;\n lambda *= radians, phi *= radians;\n lambda0 = lambda, cosPhi0 = cos(phi = phi / 2 + quarterPi), sinPhi0 = sin(phi);\n }\n function areaPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n phi = phi / 2 + quarterPi; // half the angular distance from south pole\n // Spherical excess E for a spherical triangle with vertices: south pole,\n // previous point, current point. Uses a formula derived from Cagnoli’s\n // theorem. See Todhunter, Spherical Trig. (1871), Sec. 103, Eq. (2).\n var dLambda = lambda - lambda0, sdLambda = dLambda >= 0 ? 1 : -1, adLambda = sdLambda * dLambda, cosPhi = cos(phi), sinPhi = sin(phi), k = sinPhi0 * sinPhi, u = cosPhi0 * cosPhi + k * cos(adLambda), v = k * sdLambda * sin(adLambda);\n areaRingSum.add(atan2(v, u));\n // Advance the previous points.\n lambda0 = lambda, cosPhi0 = cosPhi, sinPhi0 = sinPhi;\n }\n var area = function (object) {\n areaSum.reset();\n geoStream(object, areaStream);\n return areaSum * 2;\n };\n function spherical(cartesian) {\n return [atan2(cartesian[1], cartesian[0]), asin(cartesian[2])];\n }\n function cartesian(spherical) {\n var lambda = spherical[0], phi = spherical[1], cosPhi = cos(phi);\n return [cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi)];\n }\n function cartesianDot(a, b) {\n return a[0] * b[0] + a[1] * b[1] + a[2] * b[2];\n }\n function cartesianCross(a, b) {\n return [a[1] * b[2] - a[2] * b[1], a[2] * b[0] - a[0] * b[2], a[0] * b[1] - a[1] * b[0]];\n }\n // TODO return a\n function cartesianAddInPlace(a, b) {\n a[0] += b[0], a[1] += b[1], a[2] += b[2];\n }\n function cartesianScale(vector, k) {\n return [vector[0] * k, vector[1] * k, vector[2] * k];\n }\n // TODO return d\n function cartesianNormalizeInPlace(d) {\n var l = sqrt(d[0] * d[0] + d[1] * d[1] + d[2] * d[2]);\n d[0] /= l, d[1] /= l, d[2] /= l;\n }\n var lambda0$1;\n var phi0;\n var lambda1;\n var phi1;\n var lambda2;\n var lambda00$1;\n var phi00$1;\n var p0;\n var deltaSum = adder();\n var ranges;\n var range$1;\n var boundsStream = {\n point: boundsPoint,\n lineStart: boundsLineStart,\n lineEnd: boundsLineEnd,\n polygonStart: function () {\n boundsStream.point = boundsRingPoint;\n boundsStream.lineStart = boundsRingStart;\n boundsStream.lineEnd = boundsRingEnd;\n deltaSum.reset();\n areaStream.polygonStart();\n },\n polygonEnd: function () {\n areaStream.polygonEnd();\n boundsStream.point = boundsPoint;\n boundsStream.lineStart = boundsLineStart;\n boundsStream.lineEnd = boundsLineEnd;\n if (areaRingSum < 0)\n lambda0$1 = -(lambda1 = 180), phi0 = -(phi1 = 90);\n else if (deltaSum > epsilon)\n phi1 = 90;\n else if (deltaSum < -epsilon)\n phi0 = -90;\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n }\n };\n function boundsPoint(lambda, phi) {\n ranges.push(range$1 = [lambda0$1 = lambda, lambda1 = lambda]);\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n function linePoint(lambda, phi) {\n var p = cartesian([lambda * radians, phi * radians]);\n if (p0) {\n var normal = cartesianCross(p0, p), equatorial = [normal[1], -normal[0], 0], inflection = cartesianCross(equatorial, normal);\n cartesianNormalizeInPlace(inflection);\n inflection = spherical(inflection);\n var delta = lambda - lambda2, sign$$1 = delta > 0 ? 1 : -1, lambdai = inflection[0] * degrees * sign$$1, phii, antimeridian = abs(delta) > 180;\n if (antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n phii = inflection[1] * degrees;\n if (phii > phi1)\n phi1 = phii;\n }\n else if (lambdai = (lambdai + 360) % 360 - 180, antimeridian ^ (sign$$1 * lambda2 < lambdai && lambdai < sign$$1 * lambda)) {\n phii = -inflection[1] * degrees;\n if (phii < phi0)\n phi0 = phii;\n }\n else {\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n }\n if (antimeridian) {\n if (lambda < lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n else {\n if (lambda1 >= lambda0$1) {\n if (lambda < lambda0$1)\n lambda0$1 = lambda;\n if (lambda > lambda1)\n lambda1 = lambda;\n }\n else {\n if (lambda > lambda2) {\n if (angle(lambda0$1, lambda) > angle(lambda0$1, lambda1))\n lambda1 = lambda;\n }\n else {\n if (angle(lambda, lambda1) > angle(lambda0$1, lambda1))\n lambda0$1 = lambda;\n }\n }\n }\n }\n else {\n ranges.push(range$1 = [lambda0$1 = lambda, lambda1 = lambda]);\n }\n if (phi < phi0)\n phi0 = phi;\n if (phi > phi1)\n phi1 = phi;\n p0 = p, lambda2 = lambda;\n }\n function boundsLineStart() {\n boundsStream.point = linePoint;\n }\n function boundsLineEnd() {\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n boundsStream.point = boundsPoint;\n p0 = null;\n }\n function boundsRingPoint(lambda, phi) {\n if (p0) {\n var delta = lambda - lambda2;\n deltaSum.add(abs(delta) > 180 ? delta + (delta > 0 ? 360 : -360) : delta);\n }\n else {\n lambda00$1 = lambda, phi00$1 = phi;\n }\n areaStream.point(lambda, phi);\n linePoint(lambda, phi);\n }\n function boundsRingStart() {\n areaStream.lineStart();\n }\n function boundsRingEnd() {\n boundsRingPoint(lambda00$1, phi00$1);\n areaStream.lineEnd();\n if (abs(deltaSum) > epsilon)\n lambda0$1 = -(lambda1 = 180);\n range$1[0] = lambda0$1, range$1[1] = lambda1;\n p0 = null;\n }\n // Finds the left-right distance between two longitudes.\n // This is almost the same as (lambda1 - lambda0 + 360°) % 360°, except that we want\n // the distance between ±180° to be 360°.\n function angle(lambda0, lambda1) {\n return (lambda1 -= lambda0) < 0 ? lambda1 + 360 : lambda1;\n }\n function rangeCompare(a, b) {\n return a[0] - b[0];\n }\n function rangeContains(range$$1, x) {\n return range$$1[0] <= range$$1[1] ? range$$1[0] <= x && x <= range$$1[1] : x < range$$1[0] || range$$1[1] < x;\n }\n var bounds = function (feature) {\n var i, n, a, b, merged, deltaMax, delta;\n phi1 = lambda1 = -(lambda0$1 = phi0 = Infinity);\n ranges = [];\n geoStream(feature, boundsStream);\n // First, sort ranges by their minimum longitudes.\n if (n = ranges.length) {\n ranges.sort(rangeCompare);\n // Then, merge any ranges that overlap.\n for (i = 1, a = ranges[0], merged = [a]; i < n; ++i) {\n b = ranges[i];\n if (rangeContains(a, b[0]) || rangeContains(a, b[1])) {\n if (angle(a[0], b[1]) > angle(a[0], a[1]))\n a[1] = b[1];\n if (angle(b[0], a[1]) > angle(a[0], a[1]))\n a[0] = b[0];\n }\n else {\n merged.push(a = b);\n }\n }\n // Finally, find the largest gap between the merged ranges.\n // The final bounding box will be the inverse of this gap.\n for (deltaMax = -Infinity, n = merged.length - 1, i = 0, a = merged[n]; i <= n; a = b, ++i) {\n b = merged[i];\n if ((delta = angle(a[1], b[0])) > deltaMax)\n deltaMax = delta, lambda0$1 = b[0], lambda1 = a[1];\n }\n }\n ranges = range$1 = null;\n return lambda0$1 === Infinity || phi0 === Infinity\n ? [[NaN, NaN], [NaN, NaN]]\n : [[lambda0$1, phi0], [lambda1, phi1]];\n };\n var W0;\n var W1;\n var X0;\n var Y0;\n var Z0;\n var X1;\n var Y1;\n var Z1;\n var X2;\n var Y2;\n var Z2;\n var lambda00$2;\n var phi00$2;\n var x0;\n var y0;\n var z0; // previous point\n var centroidStream = {\n sphere: noop,\n point: centroidPoint,\n lineStart: centroidLineStart,\n lineEnd: centroidLineEnd,\n polygonStart: function () {\n centroidStream.lineStart = centroidRingStart;\n centroidStream.lineEnd = centroidRingEnd;\n },\n polygonEnd: function () {\n centroidStream.lineStart = centroidLineStart;\n centroidStream.lineEnd = centroidLineEnd;\n }\n };\n // Arithmetic mean of Cartesian vectors.\n function centroidPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n centroidPointCartesian(cosPhi * cos(lambda), cosPhi * sin(lambda), sin(phi));\n }\n function centroidPointCartesian(x, y, z) {\n ++W0;\n X0 += (x - X0) / W0;\n Y0 += (y - Y0) / W0;\n Z0 += (z - Z0) / W0;\n }\n function centroidLineStart() {\n centroidStream.point = centroidLinePointFirst;\n }\n function centroidLinePointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidStream.point = centroidLinePoint;\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLinePoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), w = atan2(sqrt((w = y0 * z - z0 * y) * w + (w = z0 * x - x0 * z) * w + (w = x0 * y - y0 * x) * w), x0 * x + y0 * y + z0 * z);\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidLineEnd() {\n centroidStream.point = centroidPoint;\n }\n // See J. E. Brock, The Inertia Tensor for a Spherical Triangle,\n // J. Applied Mechanics 42, 239 (1975).\n function centroidRingStart() {\n centroidStream.point = centroidRingPointFirst;\n }\n function centroidRingEnd() {\n centroidRingPoint(lambda00$2, phi00$2);\n centroidStream.point = centroidPoint;\n }\n function centroidRingPointFirst(lambda, phi) {\n lambda00$2 = lambda, phi00$2 = phi;\n lambda *= radians, phi *= radians;\n centroidStream.point = centroidRingPoint;\n var cosPhi = cos(phi);\n x0 = cosPhi * cos(lambda);\n y0 = cosPhi * sin(lambda);\n z0 = sin(phi);\n centroidPointCartesian(x0, y0, z0);\n }\n function centroidRingPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var cosPhi = cos(phi), x = cosPhi * cos(lambda), y = cosPhi * sin(lambda), z = sin(phi), cx = y0 * z - z0 * y, cy = z0 * x - x0 * z, cz = x0 * y - y0 * x, m = sqrt(cx * cx + cy * cy + cz * cz), w = asin(m), // line weight = angle\n v = m && -w / m; // area weight multiplier\n X2 += v * cx;\n Y2 += v * cy;\n Z2 += v * cz;\n W1 += w;\n X1 += w * (x0 + (x0 = x));\n Y1 += w * (y0 + (y0 = y));\n Z1 += w * (z0 + (z0 = z));\n centroidPointCartesian(x0, y0, z0);\n }\n var centroid = function (object) {\n W0 = W1 =\n X0 = Y0 = Z0 =\n X1 = Y1 = Z1 =\n X2 = Y2 = Z2 = 0;\n geoStream(object, centroidStream);\n var x = X2, y = Y2, z = Z2, m = x * x + y * y + z * z;\n // If the area-weighted ccentroid is undefined, fall back to length-weighted ccentroid.\n if (m < epsilon2) {\n x = X1, y = Y1, z = Z1;\n // If the feature has zero length, fall back to arithmetic mean of point vectors.\n if (W1 < epsilon)\n x = X0, y = Y0, z = Z0;\n m = x * x + y * y + z * z;\n // If the feature still has an undefined ccentroid, then return.\n if (m < epsilon2)\n return [NaN, NaN];\n }\n return [atan2(y, x) * degrees, asin(z / sqrt(m)) * degrees];\n };\n var constant = function (x) {\n return function () {\n return x;\n };\n };\n var compose = function (a, b) {\n function compose(x, y) {\n return x = a(x, y), b(x[0], x[1]);\n }\n if (a.invert && b.invert)\n compose.invert = function (x, y) {\n return x = b.invert(x, y), x && a.invert(x[0], x[1]);\n };\n return compose;\n };\n function rotationIdentity(lambda, phi) {\n return [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n }\n rotationIdentity.invert = rotationIdentity;\n function rotateRadians(deltaLambda, deltaPhi, deltaGamma) {\n return (deltaLambda %= tau) ? (deltaPhi || deltaGamma ? compose(rotationLambda(deltaLambda), rotationPhiGamma(deltaPhi, deltaGamma))\n : rotationLambda(deltaLambda))\n : (deltaPhi || deltaGamma ? rotationPhiGamma(deltaPhi, deltaGamma)\n : rotationIdentity);\n }\n function forwardRotationLambda(deltaLambda) {\n return function (lambda, phi) {\n return lambda += deltaLambda, [lambda > pi ? lambda - tau : lambda < -pi ? lambda + tau : lambda, phi];\n };\n }\n function rotationLambda(deltaLambda) {\n var rotation = forwardRotationLambda(deltaLambda);\n rotation.invert = forwardRotationLambda(-deltaLambda);\n return rotation;\n }\n function rotationPhiGamma(deltaPhi, deltaGamma) {\n var cosDeltaPhi = cos(deltaPhi), sinDeltaPhi = sin(deltaPhi), cosDeltaGamma = cos(deltaGamma), sinDeltaGamma = sin(deltaGamma);\n function rotation(lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaPhi + x * sinDeltaPhi;\n return [\n atan2(y * cosDeltaGamma - k * sinDeltaGamma, x * cosDeltaPhi - z * sinDeltaPhi),\n asin(k * cosDeltaGamma + y * sinDeltaGamma)\n ];\n }\n rotation.invert = function (lambda, phi) {\n var cosPhi = cos(phi), x = cos(lambda) * cosPhi, y = sin(lambda) * cosPhi, z = sin(phi), k = z * cosDeltaGamma - y * sinDeltaGamma;\n return [\n atan2(y * cosDeltaGamma + z * sinDeltaGamma, x * cosDeltaPhi + k * sinDeltaPhi),\n asin(k * cosDeltaPhi - x * sinDeltaPhi)\n ];\n };\n return rotation;\n }\n var rotation = function (rotate) {\n rotate = rotateRadians(rotate[0] * radians, rotate[1] * radians, rotate.length > 2 ? rotate[2] * radians : 0);\n function forward(coordinates) {\n coordinates = rotate(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n }\n forward.invert = function (coordinates) {\n coordinates = rotate.invert(coordinates[0] * radians, coordinates[1] * radians);\n return coordinates[0] *= degrees, coordinates[1] *= degrees, coordinates;\n };\n return forward;\n };\n // Generates a circle centered at [0°, 0°], with a given radius and precision.\n function circleStream(stream, radius, delta, direction, t0, t1) {\n if (!delta)\n return;\n var cosRadius = cos(radius), sinRadius = sin(radius), step = direction * delta;\n if (t0 == null) {\n t0 = radius + direction * tau;\n t1 = radius - step / 2;\n }\n else {\n t0 = circleRadius(cosRadius, t0);\n t1 = circleRadius(cosRadius, t1);\n if (direction > 0 ? t0 < t1 : t0 > t1)\n t0 += direction * tau;\n }\n for (var point, t = t0; direction > 0 ? t > t1 : t < t1; t -= step) {\n point = spherical([cosRadius, -sinRadius * cos(t), -sinRadius * sin(t)]);\n stream.point(point[0], point[1]);\n }\n }\n // Returns the signed angle of a cartesian point relative to [cosRadius, 0, 0].\n function circleRadius(cosRadius, point) {\n point = cartesian(point), point[0] -= cosRadius;\n cartesianNormalizeInPlace(point);\n var radius = acos(-point[1]);\n return ((-point[2] < 0 ? -radius : radius) + tau - epsilon) % tau;\n }\n var circle = function () {\n var center = constant([0, 0]), radius = constant(90), precision = constant(6), ring, rotate, stream = { point: point };\n function point(x, y) {\n ring.push(x = rotate(x, y));\n x[0] *= degrees, x[1] *= degrees;\n }\n function circle() {\n var c = center.apply(this, arguments), r = radius.apply(this, arguments) * radians, p = precision.apply(this, arguments) * radians;\n ring = [];\n rotate = rotateRadians(-c[0] * radians, -c[1] * radians, 0).invert;\n circleStream(stream, r, p, 1);\n c = { type: \"Polygon\", coordinates: [ring] };\n ring = rotate = null;\n return c;\n }\n circle.center = function (_) {\n return arguments.length ? (center = typeof _ === \"function\" ? _ : constant([+_[0], +_[1]]), circle) : center;\n };\n circle.radius = function (_) {\n return arguments.length ? (radius = typeof _ === \"function\" ? _ : constant(+_), circle) : radius;\n };\n circle.precision = function (_) {\n return arguments.length ? (precision = typeof _ === \"function\" ? _ : constant(+_), circle) : precision;\n };\n return circle;\n };\n var clipBuffer = function () {\n var lines = [], line;\n return {\n point: function (x, y) {\n line.push([x, y]);\n },\n lineStart: function () {\n lines.push(line = []);\n },\n lineEnd: noop,\n rejoin: function () {\n if (lines.length > 1)\n lines.push(lines.pop().concat(lines.shift()));\n },\n result: function () {\n var result = lines;\n lines = [];\n line = null;\n return result;\n }\n };\n };\n var clipLine = function (a, b, x0, y0, x1, y1) {\n var ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (t0 > 0)\n a[0] = ax + t0 * dx, a[1] = ay + t0 * dy;\n if (t1 < 1)\n b[0] = ax + t1 * dx, b[1] = ay + t1 * dy;\n return true;\n };\n var pointEqual = function (a, b) {\n return abs(a[0] - b[0]) < epsilon && abs(a[1] - b[1]) < epsilon;\n };\n function Intersection(point, points, other, entry) {\n this.x = point;\n this.z = points;\n this.o = other; // another intersection\n this.e = entry; // is an entry?\n this.v = false; // visited\n this.n = this.p = null; // next & previous\n }\n // A generalized polygon clipping algorithm: given a polygon that has been cut\n // into its visible line segments, and rejoins the segments by interpolating\n // along the clip edge.\n var clipPolygon = function (segments, compareIntersection, startInside, interpolate, stream) {\n var subject = [], clip = [], i, n;\n segments.forEach(function (segment) {\n if ((n = segment.length - 1) <= 0)\n return;\n var n, p0 = segment[0], p1 = segment[n], x;\n // If the first and last points of a segment are coincident, then treat as a\n // closed ring. TODO if all rings are closed, then the winding order of the\n // exterior ring should be checked.\n if (pointEqual(p0, p1)) {\n stream.lineStart();\n for (i = 0; i < n; ++i)\n stream.point((p0 = segment[i])[0], p0[1]);\n stream.lineEnd();\n return;\n }\n subject.push(x = new Intersection(p0, segment, null, true));\n clip.push(x.o = new Intersection(p0, null, x, false));\n subject.push(x = new Intersection(p1, segment, null, false));\n clip.push(x.o = new Intersection(p1, null, x, true));\n });\n if (!subject.length)\n return;\n clip.sort(compareIntersection);\n link(subject);\n link(clip);\n for (i = 0, n = clip.length; i < n; ++i) {\n clip[i].e = startInside = !startInside;\n }\n var start = subject[0], points, point;\n while (1) {\n // Find first unvisited intersection.\n var current = start, isSubject = true;\n while (current.v)\n if ((current = current.n) === start)\n return;\n points = current.z;\n stream.lineStart();\n do {\n current.v = current.o.v = true;\n if (current.e) {\n if (isSubject) {\n for (i = 0, n = points.length; i < n; ++i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.n.x, 1, stream);\n }\n current = current.n;\n }\n else {\n if (isSubject) {\n points = current.p.z;\n for (i = points.length - 1; i >= 0; --i)\n stream.point((point = points[i])[0], point[1]);\n }\n else {\n interpolate(current.x, current.p.x, -1, stream);\n }\n current = current.p;\n }\n current = current.o;\n points = current.z;\n isSubject = !isSubject;\n } while (!current.v);\n stream.lineEnd();\n }\n };\n function link(array) {\n if (!(n = array.length))\n return;\n var n, i = 0, a = array[0], b;\n while (++i < n) {\n a.n = b = array[i];\n b.p = a;\n a = b;\n }\n a.n = b = array[0];\n b.p = a;\n }\n var clipMax = 1e9;\n var clipMin = -clipMax;\n // TODO Use d3-polygon’s polygonContains here for the ring check?\n // TODO Eliminate duplicate buffering in clipBuffer and polygon.push?\n function clipExtent(x0, y0, x1, y1) {\n function visible(x, y) {\n return x0 <= x && x <= x1 && y0 <= y && y <= y1;\n }\n function interpolate(from, to, direction, stream) {\n var a = 0, a1 = 0;\n if (from == null\n || (a = corner(from, direction)) !== (a1 = corner(to, direction))\n || comparePoint(from, to) < 0 ^ direction > 0) {\n do\n stream.point(a === 0 || a === 3 ? x0 : x1, a > 1 ? y1 : y0);\n while ((a = (a + direction + 4) % 4) !== a1);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n function corner(p, direction) {\n return abs(p[0] - x0) < epsilon ? direction > 0 ? 0 : 3\n : abs(p[0] - x1) < epsilon ? direction > 0 ? 2 : 1\n : abs(p[1] - y0) < epsilon ? direction > 0 ? 1 : 0\n : direction > 0 ? 3 : 2; // abs(p[1] - y1) < epsilon\n }\n function compareIntersection(a, b) {\n return comparePoint(a.x, b.x);\n }\n function comparePoint(a, b) {\n var ca = corner(a, 1), cb = corner(b, 1);\n return ca !== cb ? ca - cb\n : ca === 0 ? b[1] - a[1]\n : ca === 1 ? a[0] - b[0]\n : ca === 2 ? a[1] - b[1]\n : b[0] - a[0];\n }\n return function (stream) {\n var activeStream = stream, bufferStream = clipBuffer(), segments, polygon, ring, x__, y__, v__, // first point\n x_, y_, v_, // previous point\n first, clean;\n var clipStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: polygonStart,\n polygonEnd: polygonEnd\n };\n function point(x, y) {\n if (visible(x, y))\n activeStream.point(x, y);\n }\n function polygonInside() {\n var winding = 0;\n for (var i = 0, n = polygon.length; i < n; ++i) {\n for (var ring = polygon[i], j = 1, m = ring.length, point = ring[0], a0, a1, b0 = point[0], b1 = point[1]; j < m; ++j) {\n a0 = b0, a1 = b1, point = ring[j], b0 = point[0], b1 = point[1];\n if (a1 <= y1) {\n if (b1 > y1 && (b0 - a0) * (y1 - a1) > (b1 - a1) * (x0 - a0))\n ++winding;\n }\n else {\n if (b1 <= y1 && (b0 - a0) * (y1 - a1) < (b1 - a1) * (x0 - a0))\n --winding;\n }\n }\n }\n return winding;\n }\n // Buffer geometry within a polygon and then clip it en masse.\n function polygonStart() {\n activeStream = bufferStream, segments = [], polygon = [], clean = true;\n }\n function polygonEnd() {\n var startInside = polygonInside(), cleanInside = clean && startInside, visible = (segments = d3Array.merge(segments)).length;\n if (cleanInside || visible) {\n stream.polygonStart();\n if (cleanInside) {\n stream.lineStart();\n interpolate(null, null, 1, stream);\n stream.lineEnd();\n }\n if (visible) {\n clipPolygon(segments, compareIntersection, startInside, interpolate, stream);\n }\n stream.polygonEnd();\n }\n activeStream = stream, segments = polygon = ring = null;\n }\n function lineStart() {\n clipStream.point = linePoint;\n if (polygon)\n polygon.push(ring = []);\n first = true;\n v_ = false;\n x_ = y_ = NaN;\n }\n // TODO rather than special-case polygons, simply handle them separately.\n // Ideally, coincident intersection points should be jittered to avoid\n // clipping issues.\n function lineEnd() {\n if (segments) {\n linePoint(x__, y__);\n if (v__ && v_)\n bufferStream.rejoin();\n segments.push(bufferStream.result());\n }\n clipStream.point = point;\n if (v_)\n activeStream.lineEnd();\n }\n function linePoint(x, y) {\n var v = visible(x, y);\n if (polygon)\n ring.push([x, y]);\n if (first) {\n x__ = x, y__ = y, v__ = v;\n first = false;\n if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n }\n }\n else {\n if (v && v_)\n activeStream.point(x, y);\n else {\n var a = [x_ = Math.max(clipMin, Math.min(clipMax, x_)), y_ = Math.max(clipMin, Math.min(clipMax, y_))], b = [x = Math.max(clipMin, Math.min(clipMax, x)), y = Math.max(clipMin, Math.min(clipMax, y))];\n if (clipLine(a, b, x0, y0, x1, y1)) {\n if (!v_) {\n activeStream.lineStart();\n activeStream.point(a[0], a[1]);\n }\n activeStream.point(b[0], b[1]);\n if (!v)\n activeStream.lineEnd();\n clean = false;\n }\n else if (v) {\n activeStream.lineStart();\n activeStream.point(x, y);\n clean = false;\n }\n }\n }\n x_ = x, y_ = y, v_ = v;\n }\n return clipStream;\n };\n }\n var extent = function () {\n var x0 = 0, y0 = 0, x1 = 960, y1 = 500, cache, cacheStream, clip;\n return clip = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = clipExtent(x0, y0, x1, y1)(cacheStream = stream);\n },\n extent: function (_) {\n return arguments.length ? (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1], cache = cacheStream = null, clip) : [[x0, y0], [x1, y1]];\n }\n };\n };\n var sum = adder();\n var polygonContains = function (polygon, point) {\n var lambda = point[0], phi = point[1], normal = [sin(lambda), -cos(lambda), 0], angle = 0, winding = 0;\n sum.reset();\n for (var i = 0, n = polygon.length; i < n; ++i) {\n if (!(m = (ring = polygon[i]).length))\n continue;\n var ring, m, point0 = ring[m - 1], lambda0 = point0[0], phi0 = point0[1] / 2 + quarterPi, sinPhi0 = sin(phi0), cosPhi0 = cos(phi0);\n for (var j = 0; j < m; ++j, lambda0 = lambda1, sinPhi0 = sinPhi1, cosPhi0 = cosPhi1, point0 = point1) {\n var point1 = ring[j], lambda1 = point1[0], phi1 = point1[1] / 2 + quarterPi, sinPhi1 = sin(phi1), cosPhi1 = cos(phi1), delta = lambda1 - lambda0, sign$$1 = delta >= 0 ? 1 : -1, absDelta = sign$$1 * delta, antimeridian = absDelta > pi, k = sinPhi0 * sinPhi1;\n sum.add(atan2(k * sign$$1 * sin(absDelta), cosPhi0 * cosPhi1 + k * cos(absDelta)));\n angle += antimeridian ? delta + sign$$1 * tau : delta;\n // Are the longitudes either side of the point’s meridian (lambda),\n // and are the latitudes smaller than the parallel (phi)?\n if (antimeridian ^ lambda0 >= lambda ^ lambda1 >= lambda) {\n var arc = cartesianCross(cartesian(point0), cartesian(point1));\n cartesianNormalizeInPlace(arc);\n var intersection = cartesianCross(normal, arc);\n cartesianNormalizeInPlace(intersection);\n var phiArc = (antimeridian ^ delta >= 0 ? -1 : 1) * asin(intersection[2]);\n if (phi > phiArc || phi === phiArc && (arc[0] || arc[1])) {\n winding += antimeridian ^ delta >= 0 ? 1 : -1;\n }\n }\n }\n }\n // First, determine whether the South pole is inside or outside:\n //\n // It is inside if:\n // * the polygon winds around it in a clockwise direction.\n // * the polygon does not (cumulatively) wind around it, but has a negative\n // (counter-clockwise) area.\n //\n // Second, count the (signed) number of times a segment crosses a lambda\n // from the point to the South pole. If it is zero, then the point is the\n // same side as the South pole.\n return (angle < -epsilon || angle < epsilon && sum < -epsilon) ^ (winding & 1);\n };\n var lengthSum = adder();\n var lambda0$2;\n var sinPhi0$1;\n var cosPhi0$1;\n var lengthStream = {\n sphere: noop,\n point: noop,\n lineStart: lengthLineStart,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop\n };\n function lengthLineStart() {\n lengthStream.point = lengthPointFirst;\n lengthStream.lineEnd = lengthLineEnd;\n }\n function lengthLineEnd() {\n lengthStream.point = lengthStream.lineEnd = noop;\n }\n function lengthPointFirst(lambda, phi) {\n lambda *= radians, phi *= radians;\n lambda0$2 = lambda, sinPhi0$1 = sin(phi), cosPhi0$1 = cos(phi);\n lengthStream.point = lengthPoint;\n }\n function lengthPoint(lambda, phi) {\n lambda *= radians, phi *= radians;\n var sinPhi = sin(phi), cosPhi = cos(phi), delta = abs(lambda - lambda0$2), cosDelta = cos(delta), sinDelta = sin(delta), x = cosPhi * sinDelta, y = cosPhi0$1 * sinPhi - sinPhi0$1 * cosPhi * cosDelta, z = sinPhi0$1 * sinPhi + cosPhi0$1 * cosPhi * cosDelta;\n lengthSum.add(atan2(sqrt(x * x + y * y), z));\n lambda0$2 = lambda, sinPhi0$1 = sinPhi, cosPhi0$1 = cosPhi;\n }\n var length = function (object) {\n lengthSum.reset();\n geoStream(object, lengthStream);\n return +lengthSum;\n };\n var coordinates = [null, null];\n var object = { type: \"LineString\", coordinates: coordinates };\n var distance = function (a, b) {\n coordinates[0] = a;\n coordinates[1] = b;\n return length(object);\n };\n var containsObjectType = {\n Feature: function (object, point) {\n return containsGeometry(object.geometry, point);\n },\n FeatureCollection: function (object, point) {\n var features = object.features, i = -1, n = features.length;\n while (++i < n)\n if (containsGeometry(features[i].geometry, point))\n return true;\n return false;\n }\n };\n var containsGeometryType = {\n Sphere: function () {\n return true;\n },\n Point: function (object, point) {\n return containsPoint(object.coordinates, point);\n },\n MultiPoint: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPoint(coordinates[i], point))\n return true;\n return false;\n },\n LineString: function (object, point) {\n return containsLine(object.coordinates, point);\n },\n MultiLineString: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsLine(coordinates[i], point))\n return true;\n return false;\n },\n Polygon: function (object, point) {\n return containsPolygon(object.coordinates, point);\n },\n MultiPolygon: function (object, point) {\n var coordinates = object.coordinates, i = -1, n = coordinates.length;\n while (++i < n)\n if (containsPolygon(coordinates[i], point))\n return true;\n return false;\n },\n GeometryCollection: function (object, point) {\n var geometries = object.geometries, i = -1, n = geometries.length;\n while (++i < n)\n if (containsGeometry(geometries[i], point))\n return true;\n return false;\n }\n };\n function containsGeometry(geometry, point) {\n return geometry && containsGeometryType.hasOwnProperty(geometry.type)\n ? containsGeometryType[geometry.type](geometry, point)\n : false;\n }\n function containsPoint(coordinates, point) {\n return distance(coordinates, point) === 0;\n }\n function containsLine(coordinates, point) {\n var ab = distance(coordinates[0], coordinates[1]), ao = distance(coordinates[0], point), ob = distance(point, coordinates[1]);\n return ao + ob <= ab + epsilon;\n }\n function containsPolygon(coordinates, point) {\n return !!polygonContains(coordinates.map(ringRadians), pointRadians(point));\n }\n function ringRadians(ring) {\n return ring = ring.map(pointRadians), ring.pop(), ring;\n }\n function pointRadians(point) {\n return [point[0] * radians, point[1] * radians];\n }\n var contains = function (object, point) {\n return (object && containsObjectType.hasOwnProperty(object.type)\n ? containsObjectType[object.type]\n : containsGeometry)(object, point);\n };\n function graticuleX(y0, y1, dy) {\n var y = d3Array.range(y0, y1 - epsilon, dy).concat(y1);\n return function (x) { return y.map(function (y) { return [x, y]; }); };\n }\n function graticuleY(x0, x1, dx) {\n var x = d3Array.range(x0, x1 - epsilon, dx).concat(x1);\n return function (y) { return x.map(function (x) { return [x, y]; }); };\n }\n function graticule() {\n var x1, x0, X1, X0, y1, y0, Y1, Y0, dx = 10, dy = dx, DX = 90, DY = 360, x, y, X, Y, precision = 2.5;\n function graticule() {\n return { type: \"MultiLineString\", coordinates: lines() };\n }\n function lines() {\n return d3Array.range(ceil(X0 / DX) * DX, X1, DX).map(X)\n .concat(d3Array.range(ceil(Y0 / DY) * DY, Y1, DY).map(Y))\n .concat(d3Array.range(ceil(x0 / dx) * dx, x1, dx).filter(function (x) { return abs(x % DX) > epsilon; }).map(x))\n .concat(d3Array.range(ceil(y0 / dy) * dy, y1, dy).filter(function (y) { return abs(y % DY) > epsilon; }).map(y));\n }\n graticule.lines = function () {\n return lines().map(function (coordinates) { return { type: \"LineString\", coordinates: coordinates }; });\n };\n graticule.outline = function () {\n return {\n type: \"Polygon\",\n coordinates: [\n X(X0).concat(Y(Y1).slice(1), X(X1).reverse().slice(1), Y(Y0).reverse().slice(1))\n ]\n };\n };\n graticule.extent = function (_) {\n if (!arguments.length)\n return graticule.extentMinor();\n return graticule.extentMajor(_).extentMinor(_);\n };\n graticule.extentMajor = function (_) {\n if (!arguments.length)\n return [[X0, Y0], [X1, Y1]];\n X0 = +_[0][0], X1 = +_[1][0];\n Y0 = +_[0][1], Y1 = +_[1][1];\n if (X0 > X1)\n _ = X0, X0 = X1, X1 = _;\n if (Y0 > Y1)\n _ = Y0, Y0 = Y1, Y1 = _;\n return graticule.precision(precision);\n };\n graticule.extentMinor = function (_) {\n if (!arguments.length)\n return [[x0, y0], [x1, y1]];\n x0 = +_[0][0], x1 = +_[1][0];\n y0 = +_[0][1], y1 = +_[1][1];\n if (x0 > x1)\n _ = x0, x0 = x1, x1 = _;\n if (y0 > y1)\n _ = y0, y0 = y1, y1 = _;\n return graticule.precision(precision);\n };\n graticule.step = function (_) {\n if (!arguments.length)\n return graticule.stepMinor();\n return graticule.stepMajor(_).stepMinor(_);\n };\n graticule.stepMajor = function (_) {\n if (!arguments.length)\n return [DX, DY];\n DX = +_[0], DY = +_[1];\n return graticule;\n };\n graticule.stepMinor = function (_) {\n if (!arguments.length)\n return [dx, dy];\n dx = +_[0], dy = +_[1];\n return graticule;\n };\n graticule.precision = function (_) {\n if (!arguments.length)\n return precision;\n precision = +_;\n x = graticuleX(y0, y1, 90);\n y = graticuleY(x0, x1, precision);\n X = graticuleX(Y0, Y1, 90);\n Y = graticuleY(X0, X1, precision);\n return graticule;\n };\n return graticule\n .extentMajor([[-180, -90 + epsilon], [180, 90 - epsilon]])\n .extentMinor([[-180, -80 - epsilon], [180, 80 + epsilon]]);\n }\n function graticule10() {\n return graticule()();\n }\n var interpolate = function (a, b) {\n var x0 = a[0] * radians, y0 = a[1] * radians, x1 = b[0] * radians, y1 = b[1] * radians, cy0 = cos(y0), sy0 = sin(y0), cy1 = cos(y1), sy1 = sin(y1), kx0 = cy0 * cos(x0), ky0 = cy0 * sin(x0), kx1 = cy1 * cos(x1), ky1 = cy1 * sin(x1), d = 2 * asin(sqrt(haversin(y1 - y0) + cy0 * cy1 * haversin(x1 - x0))), k = sin(d);\n var interpolate = d ? function (t) {\n var B = sin(t *= d) / k, A = sin(d - t) / k, x = A * kx0 + B * kx1, y = A * ky0 + B * ky1, z = A * sy0 + B * sy1;\n return [\n atan2(y, x) * degrees,\n atan2(z, sqrt(x * x + y * y)) * degrees\n ];\n } : function () {\n return [x0 * degrees, y0 * degrees];\n };\n interpolate.distance = d;\n return interpolate;\n };\n var identity = function (x) {\n return x;\n };\n var areaSum$1 = adder();\n var areaRingSum$1 = adder();\n var x00;\n var y00;\n var x0$1;\n var y0$1;\n var areaStream$1 = {\n point: noop,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: function () {\n areaStream$1.lineStart = areaRingStart$1;\n areaStream$1.lineEnd = areaRingEnd$1;\n },\n polygonEnd: function () {\n areaStream$1.lineStart = areaStream$1.lineEnd = areaStream$1.point = noop;\n areaSum$1.add(abs(areaRingSum$1));\n areaRingSum$1.reset();\n },\n result: function () {\n var area = areaSum$1 / 2;\n areaSum$1.reset();\n return area;\n }\n };\n function areaRingStart$1() {\n areaStream$1.point = areaPointFirst$1;\n }\n function areaPointFirst$1(x, y) {\n areaStream$1.point = areaPoint$1;\n x00 = x0$1 = x, y00 = y0$1 = y;\n }\n function areaPoint$1(x, y) {\n areaRingSum$1.add(y0$1 * x - x0$1 * y);\n x0$1 = x, y0$1 = y;\n }\n function areaRingEnd$1() {\n areaPoint$1(x00, y00);\n }\n var x0$2 = Infinity;\n var y0$2 = x0$2;\n var x1 = -x0$2;\n var y1 = x1;\n var boundsStream$1 = {\n point: boundsPoint$1,\n lineStart: noop,\n lineEnd: noop,\n polygonStart: noop,\n polygonEnd: noop,\n result: function () {\n var bounds = [[x0$2, y0$2], [x1, y1]];\n x1 = y1 = -(y0$2 = x0$2 = Infinity);\n return bounds;\n }\n };\n function boundsPoint$1(x, y) {\n if (x < x0$2)\n x0$2 = x;\n if (x > x1)\n x1 = x;\n if (y < y0$2)\n y0$2 = y;\n if (y > y1)\n y1 = y;\n }\n // TODO Enforce positive area for exterior, negative area for interior?\n var X0$1 = 0;\n var Y0$1 = 0;\n var Z0$1 = 0;\n var X1$1 = 0;\n var Y1$1 = 0;\n var Z1$1 = 0;\n var X2$1 = 0;\n var Y2$1 = 0;\n var Z2$1 = 0;\n var x00$1;\n var y00$1;\n var x0$3;\n var y0$3;\n var centroidStream$1 = {\n point: centroidPoint$1,\n lineStart: centroidLineStart$1,\n lineEnd: centroidLineEnd$1,\n polygonStart: function () {\n centroidStream$1.lineStart = centroidRingStart$1;\n centroidStream$1.lineEnd = centroidRingEnd$1;\n },\n polygonEnd: function () {\n centroidStream$1.point = centroidPoint$1;\n centroidStream$1.lineStart = centroidLineStart$1;\n centroidStream$1.lineEnd = centroidLineEnd$1;\n },\n result: function () {\n var centroid = Z2$1 ? [X2$1 / Z2$1, Y2$1 / Z2$1]\n : Z1$1 ? [X1$1 / Z1$1, Y1$1 / Z1$1]\n : Z0$1 ? [X0$1 / Z0$1, Y0$1 / Z0$1]\n : [NaN, NaN];\n X0$1 = Y0$1 = Z0$1 =\n X1$1 = Y1$1 = Z1$1 =\n X2$1 = Y2$1 = Z2$1 = 0;\n return centroid;\n }\n };\n function centroidPoint$1(x, y) {\n X0$1 += x;\n Y0$1 += y;\n ++Z0$1;\n }\n function centroidLineStart$1() {\n centroidStream$1.point = centroidPointFirstLine;\n }\n function centroidPointFirstLine(x, y) {\n centroidStream$1.point = centroidPointLine;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidPointLine(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function centroidLineEnd$1() {\n centroidStream$1.point = centroidPoint$1;\n }\n function centroidRingStart$1() {\n centroidStream$1.point = centroidPointFirstRing;\n }\n function centroidRingEnd$1() {\n centroidPointRing(x00$1, y00$1);\n }\n function centroidPointFirstRing(x, y) {\n centroidStream$1.point = centroidPointRing;\n centroidPoint$1(x00$1 = x0$3 = x, y00$1 = y0$3 = y);\n }\n function centroidPointRing(x, y) {\n var dx = x - x0$3, dy = y - y0$3, z = sqrt(dx * dx + dy * dy);\n X1$1 += z * (x0$3 + x) / 2;\n Y1$1 += z * (y0$3 + y) / 2;\n Z1$1 += z;\n z = y0$3 * x - x0$3 * y;\n X2$1 += z * (x0$3 + x);\n Y2$1 += z * (y0$3 + y);\n Z2$1 += z * 3;\n centroidPoint$1(x0$3 = x, y0$3 = y);\n }\n function PathContext(context) {\n this._context = context;\n }\n PathContext.prototype = {\n _radius: 4.5,\n pointRadius: function (_) {\n return this._radius = _, this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._context.closePath();\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._context.moveTo(x, y);\n this._point = 1;\n break;\n }\n case 1: {\n this._context.lineTo(x, y);\n break;\n }\n default: {\n this._context.moveTo(x + this._radius, y);\n this._context.arc(x, y, this._radius, 0, tau);\n break;\n }\n }\n },\n result: noop\n };\n var lengthSum$1 = adder();\n var lengthRing;\n var x00$2;\n var y00$2;\n var x0$4;\n var y0$4;\n var lengthStream$1 = {\n point: noop,\n lineStart: function () {\n lengthStream$1.point = lengthPointFirst$1;\n },\n lineEnd: function () {\n if (lengthRing)\n lengthPoint$1(x00$2, y00$2);\n lengthStream$1.point = noop;\n },\n polygonStart: function () {\n lengthRing = true;\n },\n polygonEnd: function () {\n lengthRing = null;\n },\n result: function () {\n var length = +lengthSum$1;\n lengthSum$1.reset();\n return length;\n }\n };\n function lengthPointFirst$1(x, y) {\n lengthStream$1.point = lengthPoint$1;\n x00$2 = x0$4 = x, y00$2 = y0$4 = y;\n }\n function lengthPoint$1(x, y) {\n x0$4 -= x, y0$4 -= y;\n lengthSum$1.add(sqrt(x0$4 * x0$4 + y0$4 * y0$4));\n x0$4 = x, y0$4 = y;\n }\n function PathString() {\n this._string = [];\n }\n PathString.prototype = {\n _radius: 4.5,\n _circle: circle$1(4.5),\n pointRadius: function (_) {\n if ((_ = +_) !== this._radius)\n this._radius = _, this._circle = null;\n return this;\n },\n polygonStart: function () {\n this._line = 0;\n },\n polygonEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line === 0)\n this._string.push(\"Z\");\n this._point = NaN;\n },\n point: function (x, y) {\n switch (this._point) {\n case 0: {\n this._string.push(\"M\", x, \",\", y);\n this._point = 1;\n break;\n }\n case 1: {\n this._string.push(\"L\", x, \",\", y);\n break;\n }\n default: {\n if (this._circle == null)\n this._circle = circle$1(this._radius);\n this._string.push(\"M\", x, \",\", y, this._circle);\n break;\n }\n }\n },\n result: function () {\n if (this._string.length) {\n var result = this._string.join(\"\");\n this._string = [];\n return result;\n }\n else {\n return null;\n }\n }\n };\n function circle$1(radius) {\n return \"m0,\" + radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + -2 * radius\n + \"a\" + radius + \",\" + radius + \" 0 1,1 0,\" + 2 * radius\n + \"z\";\n }\n var index = function (projection, context) {\n var pointRadius = 4.5, projectionStream, contextStream;\n function path(object) {\n if (object) {\n if (typeof pointRadius === \"function\")\n contextStream.pointRadius(+pointRadius.apply(this, arguments));\n geoStream(object, projectionStream(contextStream));\n }\n return contextStream.result();\n }\n path.area = function (object) {\n geoStream(object, projectionStream(areaStream$1));\n return areaStream$1.result();\n };\n path.measure = function (object) {\n geoStream(object, projectionStream(lengthStream$1));\n return lengthStream$1.result();\n };\n path.bounds = function (object) {\n geoStream(object, projectionStream(boundsStream$1));\n return boundsStream$1.result();\n };\n path.centroid = function (object) {\n geoStream(object, projectionStream(centroidStream$1));\n return centroidStream$1.result();\n };\n path.projection = function (_) {\n return arguments.length ? (projectionStream = _ == null ? (projection = null, identity) : (projection = _).stream, path) : projection;\n };\n path.context = function (_) {\n if (!arguments.length)\n return context;\n contextStream = _ == null ? (context = null, new PathString) : new PathContext(context = _);\n if (typeof pointRadius !== \"function\")\n contextStream.pointRadius(pointRadius);\n return path;\n };\n path.pointRadius = function (_) {\n if (!arguments.length)\n return pointRadius;\n pointRadius = typeof _ === \"function\" ? _ : (contextStream.pointRadius(+_), +_);\n return path;\n };\n return path.projection(projection).context(context);\n };\n var clip = function (pointVisible, clipLine, interpolate, start) {\n return function (rotate, sink) {\n var line = clipLine(sink), rotatedStart = rotate.invert(start[0], start[1]), ringBuffer = clipBuffer(), ringSink = clipLine(ringBuffer), polygonStarted = false, polygon, segments, ring;\n var clip = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () {\n clip.point = pointRing;\n clip.lineStart = ringStart;\n clip.lineEnd = ringEnd;\n segments = [];\n polygon = [];\n },\n polygonEnd: function () {\n clip.point = point;\n clip.lineStart = lineStart;\n clip.lineEnd = lineEnd;\n segments = d3Array.merge(segments);\n var startInside = polygonContains(polygon, rotatedStart);\n if (segments.length) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n clipPolygon(segments, compareIntersection, startInside, interpolate, sink);\n }\n else if (startInside) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n }\n if (polygonStarted)\n sink.polygonEnd(), polygonStarted = false;\n segments = polygon = null;\n },\n sphere: function () {\n sink.polygonStart();\n sink.lineStart();\n interpolate(null, null, 1, sink);\n sink.lineEnd();\n sink.polygonEnd();\n }\n };\n function point(lambda, phi) {\n var point = rotate(lambda, phi);\n if (pointVisible(lambda = point[0], phi = point[1]))\n sink.point(lambda, phi);\n }\n function pointLine(lambda, phi) {\n var point = rotate(lambda, phi);\n line.point(point[0], point[1]);\n }\n function lineStart() {\n clip.point = pointLine;\n line.lineStart();\n }\n function lineEnd() {\n clip.point = point;\n line.lineEnd();\n }\n function pointRing(lambda, phi) {\n ring.push([lambda, phi]);\n var point = rotate(lambda, phi);\n ringSink.point(point[0], point[1]);\n }\n function ringStart() {\n ringSink.lineStart();\n ring = [];\n }\n function ringEnd() {\n pointRing(ring[0][0], ring[0][1]);\n ringSink.lineEnd();\n var clean = ringSink.clean(), ringSegments = ringBuffer.result(), i, n = ringSegments.length, m, segment, point;\n ring.pop();\n polygon.push(ring);\n ring = null;\n if (!n)\n return;\n // No intersections.\n if (clean & 1) {\n segment = ringSegments[0];\n if ((m = segment.length - 1) > 0) {\n if (!polygonStarted)\n sink.polygonStart(), polygonStarted = true;\n sink.lineStart();\n for (i = 0; i < m; ++i)\n sink.point((point = segment[i])[0], point[1]);\n sink.lineEnd();\n }\n return;\n }\n // Rejoin connected segments.\n // TODO reuse ringBuffer.rejoin()?\n if (n > 1 && clean & 2)\n ringSegments.push(ringSegments.pop().concat(ringSegments.shift()));\n segments.push(ringSegments.filter(validSegment));\n }\n return clip;\n };\n };\n function validSegment(segment) {\n return segment.length > 1;\n }\n // Intersections are sorted along the clip edge. For both antimeridian cutting\n // and circle clipping, the same comparison is used.\n function compareIntersection(a, b) {\n return ((a = a.x)[0] < 0 ? a[1] - halfPi - epsilon : halfPi - a[1])\n - ((b = b.x)[0] < 0 ? b[1] - halfPi - epsilon : halfPi - b[1]);\n }\n var clipAntimeridian = clip(function () { return true; }, clipAntimeridianLine, clipAntimeridianInterpolate, [-pi, -halfPi]);\n // Takes a line and cuts into visible segments. Return values: 0 - there were\n // intersections or the line was empty; 1 - no intersections; 2 - there were\n // intersections, and the first and last segments should be rejoined.\n function clipAntimeridianLine(stream) {\n var lambda0 = NaN, phi0 = NaN, sign0 = NaN, clean; // no intersections\n return {\n lineStart: function () {\n stream.lineStart();\n clean = 1;\n },\n point: function (lambda1, phi1) {\n var sign1 = lambda1 > 0 ? pi : -pi, delta = abs(lambda1 - lambda0);\n if (abs(delta - pi) < epsilon) { // line crosses a pole\n stream.point(lambda0, phi0 = (phi0 + phi1) / 2 > 0 ? halfPi : -halfPi);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n stream.point(lambda1, phi0);\n clean = 0;\n }\n else if (sign0 !== sign1 && delta >= pi) { // line crosses antimeridian\n if (abs(lambda0 - sign0) < epsilon)\n lambda0 -= sign0 * epsilon; // handle degeneracies\n if (abs(lambda1 - sign1) < epsilon)\n lambda1 -= sign1 * epsilon;\n phi0 = clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1);\n stream.point(sign0, phi0);\n stream.lineEnd();\n stream.lineStart();\n stream.point(sign1, phi0);\n clean = 0;\n }\n stream.point(lambda0 = lambda1, phi0 = phi1);\n sign0 = sign1;\n },\n lineEnd: function () {\n stream.lineEnd();\n lambda0 = phi0 = NaN;\n },\n clean: function () {\n return 2 - clean; // if intersections, rejoin first and last segments\n }\n };\n }\n function clipAntimeridianIntersect(lambda0, phi0, lambda1, phi1) {\n var cosPhi0, cosPhi1, sinLambda0Lambda1 = sin(lambda0 - lambda1);\n return abs(sinLambda0Lambda1) > epsilon\n ? atan((sin(phi0) * (cosPhi1 = cos(phi1)) * sin(lambda1)\n - sin(phi1) * (cosPhi0 = cos(phi0)) * sin(lambda0))\n / (cosPhi0 * cosPhi1 * sinLambda0Lambda1))\n : (phi0 + phi1) / 2;\n }\n function clipAntimeridianInterpolate(from, to, direction, stream) {\n var phi;\n if (from == null) {\n phi = direction * halfPi;\n stream.point(-pi, phi);\n stream.point(0, phi);\n stream.point(pi, phi);\n stream.point(pi, 0);\n stream.point(pi, -phi);\n stream.point(0, -phi);\n stream.point(-pi, -phi);\n stream.point(-pi, 0);\n stream.point(-pi, phi);\n }\n else if (abs(from[0] - to[0]) > epsilon) {\n var lambda = from[0] < to[0] ? pi : -pi;\n phi = direction * lambda / 2;\n stream.point(-lambda, phi);\n stream.point(0, phi);\n stream.point(lambda, phi);\n }\n else {\n stream.point(to[0], to[1]);\n }\n }\n var clipCircle = function (radius, delta) {\n var cr = cos(radius), smallRadius = cr > 0, notHemisphere = abs(cr) > epsilon; // TODO optimise for this common case\n function interpolate(from, to, direction, stream) {\n circleStream(stream, radius, delta, direction, from, to);\n }\n function visible(lambda, phi) {\n return cos(lambda) * cos(phi) > cr;\n }\n // Takes a line and cuts into visible segments. Return values used for polygon\n // clipping: 0 - there were intersections or the line was empty; 1 - no\n // intersections 2 - there were intersections, and the first and last segments\n // should be rejoined.\n function clipLine(stream) {\n var point0, // previous point\n c0, // code for previous point\n v0, // visibility of previous point\n v00, // visibility of first point\n clean; // no intersections\n return {\n lineStart: function () {\n v00 = v0 = false;\n clean = 1;\n },\n point: function (lambda, phi) {\n var point1 = [lambda, phi], point2, v = visible(lambda, phi), c = smallRadius\n ? v ? 0 : code(lambda, phi)\n : v ? code(lambda + (lambda < 0 ? pi : -pi), phi) : 0;\n if (!point0 && (v00 = v0 = v))\n stream.lineStart();\n // Handle degeneracies.\n // TODO ignore if not clipping polygons.\n if (v !== v0) {\n point2 = intersect(point0, point1);\n if (!point2 || pointEqual(point0, point2) || pointEqual(point1, point2)) {\n point1[0] += epsilon;\n point1[1] += epsilon;\n v = visible(point1[0], point1[1]);\n }\n }\n if (v !== v0) {\n clean = 0;\n if (v) {\n // outside going in\n stream.lineStart();\n point2 = intersect(point1, point0);\n stream.point(point2[0], point2[1]);\n }\n else {\n // inside going out\n point2 = intersect(point0, point1);\n stream.point(point2[0], point2[1]);\n stream.lineEnd();\n }\n point0 = point2;\n }\n else if (notHemisphere && point0 && smallRadius ^ v) {\n var t;\n // If the codes for two points are different, or are both zero,\n // and there this segment intersects with the small circle.\n if (!(c & c0) && (t = intersect(point1, point0, true))) {\n clean = 0;\n if (smallRadius) {\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n }\n else {\n stream.point(t[1][0], t[1][1]);\n stream.lineEnd();\n stream.lineStart();\n stream.point(t[0][0], t[0][1]);\n }\n }\n }\n if (v && (!point0 || !pointEqual(point0, point1))) {\n stream.point(point1[0], point1[1]);\n }\n point0 = point1, v0 = v, c0 = c;\n },\n lineEnd: function () {\n if (v0)\n stream.lineEnd();\n point0 = null;\n },\n // Rejoin first and last segments if there were intersections and the first\n // and last points were visible.\n clean: function () {\n return clean | ((v00 && v0) << 1);\n }\n };\n }\n // Intersects the great circle between a and b with the clip circle.\n function intersect(a, b, two) {\n var pa = cartesian(a), pb = cartesian(b);\n // We have two planes, n1.p = d1 and n2.p = d2.\n // Find intersection line p(t) = c1 n1 + c2 n2 + t (n1 ⨯ n2).\n var n1 = [1, 0, 0], // normal\n n2 = cartesianCross(pa, pb), n2n2 = cartesianDot(n2, n2), n1n2 = n2[0], // cartesianDot(n1, n2),\n determinant = n2n2 - n1n2 * n1n2;\n // Two polar points.\n if (!determinant)\n return !two && a;\n var c1 = cr * n2n2 / determinant, c2 = -cr * n1n2 / determinant, n1xn2 = cartesianCross(n1, n2), A = cartesianScale(n1, c1), B = cartesianScale(n2, c2);\n cartesianAddInPlace(A, B);\n // Solve |p(t)|^2 = 1.\n var u = n1xn2, w = cartesianDot(A, u), uu = cartesianDot(u, u), t2 = w * w - uu * (cartesianDot(A, A) - 1);\n if (t2 < 0)\n return;\n var t = sqrt(t2), q = cartesianScale(u, (-w - t) / uu);\n cartesianAddInPlace(q, A);\n q = spherical(q);\n if (!two)\n return q;\n // Two intersection points.\n var lambda0 = a[0], lambda1 = b[0], phi0 = a[1], phi1 = b[1], z;\n if (lambda1 < lambda0)\n z = lambda0, lambda0 = lambda1, lambda1 = z;\n var delta = lambda1 - lambda0, polar = abs(delta - pi) < epsilon, meridian = polar || delta < epsilon;\n if (!polar && phi1 < phi0)\n z = phi0, phi0 = phi1, phi1 = z;\n // Check that the first point is between a and b.\n if (meridian\n ? polar\n ? phi0 + phi1 > 0 ^ q[1] < (abs(q[0] - lambda0) < epsilon ? phi0 : phi1)\n : phi0 <= q[1] && q[1] <= phi1\n : delta > pi ^ (lambda0 <= q[0] && q[0] <= lambda1)) {\n var q1 = cartesianScale(u, (-w + t) / uu);\n cartesianAddInPlace(q1, A);\n return [q, spherical(q1)];\n }\n }\n // Generates a 4-bit vector representing the location of a point relative to\n // the small circle's bounding box.\n function code(lambda, phi) {\n var r = smallRadius ? radius : pi - radius, code = 0;\n if (lambda < -r)\n code |= 1; // left\n else if (lambda > r)\n code |= 2; // right\n if (phi < -r)\n code |= 4; // below\n else if (phi > r)\n code |= 8; // above\n return code;\n }\n return clip(visible, clipLine, interpolate, smallRadius ? [0, -radius] : [-pi, radius - pi]);\n };\n var transform = function (methods) {\n return {\n stream: transformer(methods)\n };\n };\n function transformer(methods) {\n return function (stream) {\n var s = new TransformStream;\n for (var key in methods)\n s[key] = methods[key];\n s.stream = stream;\n return s;\n };\n }\n function TransformStream() { }\n TransformStream.prototype = {\n constructor: TransformStream,\n point: function (x, y) { this.stream.point(x, y); },\n sphere: function () { this.stream.sphere(); },\n lineStart: function () { this.stream.lineStart(); },\n lineEnd: function () { this.stream.lineEnd(); },\n polygonStart: function () { this.stream.polygonStart(); },\n polygonEnd: function () { this.stream.polygonEnd(); }\n };\n function fitExtent(projection, extent, object) {\n var w = extent[1][0] - extent[0][0], h = extent[1][1] - extent[0][1], clip = projection.clipExtent && projection.clipExtent();\n projection\n .scale(150)\n .translate([0, 0]);\n if (clip != null)\n projection.clipExtent(null);\n geoStream(object, projection.stream(boundsStream$1));\n var b = boundsStream$1.result(), k = Math.min(w / (b[1][0] - b[0][0]), h / (b[1][1] - b[0][1])), x = +extent[0][0] + (w - k * (b[1][0] + b[0][0])) / 2, y = +extent[0][1] + (h - k * (b[1][1] + b[0][1])) / 2;\n if (clip != null)\n projection.clipExtent(clip);\n return projection\n .scale(k * 150)\n .translate([x, y]);\n }\n function fitSize(projection, size, object) {\n return fitExtent(projection, [[0, 0], size], object);\n }\n var maxDepth = 16;\n var cosMinDistance = cos(30 * radians); // cos(minimum angular distance)\n var resample = function (project, delta2) {\n return +delta2 ? resample$1(project, delta2) : resampleNone(project);\n };\n function resampleNone(project) {\n return transformer({\n point: function (x, y) {\n x = project(x, y);\n this.stream.point(x[0], x[1]);\n }\n });\n }\n function resample$1(project, delta2) {\n function resampleLineTo(x0, y0, lambda0, a0, b0, c0, x1, y1, lambda1, a1, b1, c1, depth, stream) {\n var dx = x1 - x0, dy = y1 - y0, d2 = dx * dx + dy * dy;\n if (d2 > 4 * delta2 && depth--) {\n var a = a0 + a1, b = b0 + b1, c = c0 + c1, m = sqrt(a * a + b * b + c * c), phi2 = asin(c /= m), lambda2 = abs(abs(c) - 1) < epsilon || abs(lambda0 - lambda1) < epsilon ? (lambda0 + lambda1) / 2 : atan2(b, a), p = project(lambda2, phi2), x2 = p[0], y2 = p[1], dx2 = x2 - x0, dy2 = y2 - y0, dz = dy * dx2 - dx * dy2;\n if (dz * dz / d2 > delta2 // perpendicular projected distance\n || abs((dx * dx2 + dy * dy2) / d2 - 0.5) > 0.3 // midpoint close to an end\n || a0 * a1 + b0 * b1 + c0 * c1 < cosMinDistance) { // angular distance\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x2, y2, lambda2, a /= m, b /= m, c, depth, stream);\n stream.point(x2, y2);\n resampleLineTo(x2, y2, lambda2, a, b, c, x1, y1, lambda1, a1, b1, c1, depth, stream);\n }\n }\n }\n return function (stream) {\n var lambda00, x00, y00, a00, b00, c00, // first point\n lambda0, x0, y0, a0, b0, c0; // previous point\n var resampleStream = {\n point: point,\n lineStart: lineStart,\n lineEnd: lineEnd,\n polygonStart: function () { stream.polygonStart(); resampleStream.lineStart = ringStart; },\n polygonEnd: function () { stream.polygonEnd(); resampleStream.lineStart = lineStart; }\n };\n function point(x, y) {\n x = project(x, y);\n stream.point(x[0], x[1]);\n }\n function lineStart() {\n x0 = NaN;\n resampleStream.point = linePoint;\n stream.lineStart();\n }\n function linePoint(lambda, phi) {\n var c = cartesian([lambda, phi]), p = project(lambda, phi);\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x0 = p[0], y0 = p[1], lambda0 = lambda, a0 = c[0], b0 = c[1], c0 = c[2], maxDepth, stream);\n stream.point(x0, y0);\n }\n function lineEnd() {\n resampleStream.point = point;\n stream.lineEnd();\n }\n function ringStart() {\n lineStart();\n resampleStream.point = ringPoint;\n resampleStream.lineEnd = ringEnd;\n }\n function ringPoint(lambda, phi) {\n linePoint(lambda00 = lambda, phi), x00 = x0, y00 = y0, a00 = a0, b00 = b0, c00 = c0;\n resampleStream.point = linePoint;\n }\n function ringEnd() {\n resampleLineTo(x0, y0, lambda0, a0, b0, c0, x00, y00, lambda00, a00, b00, c00, maxDepth, stream);\n resampleStream.lineEnd = lineEnd;\n lineEnd();\n }\n return resampleStream;\n };\n }\n var transformRadians = transformer({\n point: function (x, y) {\n this.stream.point(x * radians, y * radians);\n }\n });\n function projection(project) {\n return projectionMutator(function () { return project; })();\n }\n function projectionMutator(projectAt) {\n var project, k = 150, // scale\n x = 480, y = 250, // translate\n dx, dy, lambda = 0, phi = 0, // center\n deltaLambda = 0, deltaPhi = 0, deltaGamma = 0, rotate, projectRotate, // rotate\n theta = null, preclip = clipAntimeridian, // clip angle\n x0 = null, y0, x1, y1, postclip = identity, // clip extent\n delta2 = 0.5, projectResample = resample(projectTransform, delta2), // precision\n cache, cacheStream;\n function projection(point) {\n point = projectRotate(point[0] * radians, point[1] * radians);\n return [point[0] * k + dx, dy - point[1] * k];\n }\n function invert(point) {\n point = projectRotate.invert((point[0] - dx) / k, (dy - point[1]) / k);\n return point && [point[0] * degrees, point[1] * degrees];\n }\n function projectTransform(x, y) {\n return x = project(x, y), [x[0] * k + dx, dy - x[1] * k];\n }\n projection.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = transformRadians(preclip(rotate, projectResample(postclip(cacheStream = stream))));\n };\n projection.clipAngle = function (_) {\n return arguments.length ? (preclip = +_ ? clipCircle(theta = _ * radians, 6 * radians) : (theta = null, clipAntimeridian), reset()) : theta * degrees;\n };\n projection.clipExtent = function (_) {\n return arguments.length ? (postclip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n projection.scale = function (_) {\n return arguments.length ? (k = +_, recenter()) : k;\n };\n projection.translate = function (_) {\n return arguments.length ? (x = +_[0], y = +_[1], recenter()) : [x, y];\n };\n projection.center = function (_) {\n return arguments.length ? (lambda = _[0] % 360 * radians, phi = _[1] % 360 * radians, recenter()) : [lambda * degrees, phi * degrees];\n };\n projection.rotate = function (_) {\n return arguments.length ? (deltaLambda = _[0] % 360 * radians, deltaPhi = _[1] % 360 * radians, deltaGamma = _.length > 2 ? _[2] % 360 * radians : 0, recenter()) : [deltaLambda * degrees, deltaPhi * degrees, deltaGamma * degrees];\n };\n projection.precision = function (_) {\n return arguments.length ? (projectResample = resample(projectTransform, delta2 = _ * _), reset()) : sqrt(delta2);\n };\n projection.fitExtent = function (extent, object) {\n return fitExtent(projection, extent, object);\n };\n projection.fitSize = function (size, object) {\n return fitSize(projection, size, object);\n };\n function recenter() {\n projectRotate = compose(rotate = rotateRadians(deltaLambda, deltaPhi, deltaGamma), project);\n var center = project(lambda, phi);\n dx = x - center[0] * k;\n dy = y + center[1] * k;\n return reset();\n }\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return function () {\n project = projectAt.apply(this, arguments);\n projection.invert = project.invert && invert;\n return recenter();\n };\n }\n function conicProjection(projectAt) {\n var phi0 = 0, phi1 = pi / 3, m = projectionMutator(projectAt), p = m(phi0, phi1);\n p.parallels = function (_) {\n return arguments.length ? m(phi0 = _[0] * radians, phi1 = _[1] * radians) : [phi0 * degrees, phi1 * degrees];\n };\n return p;\n }\n function cylindricalEqualAreaRaw(phi0) {\n var cosPhi0 = cos(phi0);\n function forward(lambda, phi) {\n return [lambda * cosPhi0, sin(phi) / cosPhi0];\n }\n forward.invert = function (x, y) {\n return [x / cosPhi0, asin(y * cosPhi0)];\n };\n return forward;\n }\n function conicEqualAreaRaw(y0, y1) {\n var sy0 = sin(y0), n = (sy0 + sin(y1)) / 2;\n // Are the parallels symmetrical around the Equator?\n if (abs(n) < epsilon)\n return cylindricalEqualAreaRaw(y0);\n var c = 1 + sy0 * (2 * n - sy0), r0 = sqrt(c) / n;\n function project(x, y) {\n var r = sqrt(c - 2 * n * sin(y)) / n;\n return [r * sin(x *= n), r0 - r * cos(x)];\n }\n project.invert = function (x, y) {\n var r0y = r0 - y;\n return [atan2(x, abs(r0y)) / n * sign(r0y), asin((c - (x * x + r0y * r0y) * n * n) / (2 * n))];\n };\n return project;\n }\n var conicEqualArea = function () {\n return conicProjection(conicEqualAreaRaw)\n .scale(155.424)\n .center([0, 33.6442]);\n };\n var albers = function () {\n return conicEqualArea()\n .parallels([29.5, 45.5])\n .scale(1070)\n .translate([480, 250])\n .rotate([96, 0])\n .center([-0.6, 38.7]);\n };\n // The projections must have mutually exclusive clip regions on the sphere,\n // as this will avoid emitting interleaving lines and polygons.\n function multiplex(streams) {\n var n = streams.length;\n return {\n point: function (x, y) { var i = -1; while (++i < n)\n streams[i].point(x, y); },\n sphere: function () { var i = -1; while (++i < n)\n streams[i].sphere(); },\n lineStart: function () { var i = -1; while (++i < n)\n streams[i].lineStart(); },\n lineEnd: function () { var i = -1; while (++i < n)\n streams[i].lineEnd(); },\n polygonStart: function () { var i = -1; while (++i < n)\n streams[i].polygonStart(); },\n polygonEnd: function () { var i = -1; while (++i < n)\n streams[i].polygonEnd(); }\n };\n }\n // A composite projection for the United States, configured by default for\n // 960×500. The projection also works quite well at 960×600 if you change the\n // scale to 1285 and adjust the translate accordingly. The set of standard\n // parallels for each region comes from USGS, which is published here:\n // http://egsc.usgs.gov/isb/pubs/MapProjections/projections.html#albers\n var albersUsa = function () {\n var cache, cacheStream, lower48 = albers(), lower48Point, alaska = conicEqualArea().rotate([154, 0]).center([-2, 58.5]).parallels([55, 65]), alaskaPoint, // EPSG:3338\n hawaii = conicEqualArea().rotate([157, 0]).center([-3, 19.9]).parallels([8, 18]), hawaiiPoint, // ESRI:102007\n point, pointStream = { point: function (x, y) { point = [x, y]; } };\n function albersUsa(coordinates) {\n var x = coordinates[0], y = coordinates[1];\n return point = null,\n (lower48Point.point(x, y), point)\n || (alaskaPoint.point(x, y), point)\n || (hawaiiPoint.point(x, y), point);\n }\n albersUsa.invert = function (coordinates) {\n var k = lower48.scale(), t = lower48.translate(), x = (coordinates[0] - t[0]) / k, y = (coordinates[1] - t[1]) / k;\n return (y >= 0.120 && y < 0.234 && x >= -0.425 && x < -0.214 ? alaska\n : y >= 0.166 && y < 0.234 && x >= -0.214 && x < -0.115 ? hawaii\n : lower48).invert(coordinates);\n };\n albersUsa.stream = function (stream) {\n return cache && cacheStream === stream ? cache : cache = multiplex([lower48.stream(cacheStream = stream), alaska.stream(stream), hawaii.stream(stream)]);\n };\n albersUsa.precision = function (_) {\n if (!arguments.length)\n return lower48.precision();\n lower48.precision(_), alaska.precision(_), hawaii.precision(_);\n return reset();\n };\n albersUsa.scale = function (_) {\n if (!arguments.length)\n return lower48.scale();\n lower48.scale(_), alaska.scale(_ * 0.35), hawaii.scale(_);\n return albersUsa.translate(lower48.translate());\n };\n albersUsa.translate = function (_) {\n if (!arguments.length)\n return lower48.translate();\n var k = lower48.scale(), x = +_[0], y = +_[1];\n lower48Point = lower48\n .translate(_)\n .clipExtent([[x - 0.455 * k, y - 0.238 * k], [x + 0.455 * k, y + 0.238 * k]])\n .stream(pointStream);\n alaskaPoint = alaska\n .translate([x - 0.307 * k, y + 0.201 * k])\n .clipExtent([[x - 0.425 * k + epsilon, y + 0.120 * k + epsilon], [x - 0.214 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n hawaiiPoint = hawaii\n .translate([x - 0.205 * k, y + 0.212 * k])\n .clipExtent([[x - 0.214 * k + epsilon, y + 0.166 * k + epsilon], [x - 0.115 * k - epsilon, y + 0.234 * k - epsilon]])\n .stream(pointStream);\n return reset();\n };\n albersUsa.fitExtent = function (extent, object) {\n return fitExtent(albersUsa, extent, object);\n };\n albersUsa.fitSize = function (size, object) {\n return fitSize(albersUsa, size, object);\n };\n function reset() {\n cache = cacheStream = null;\n return albersUsa;\n }\n return albersUsa.scale(1070);\n };\n function azimuthalRaw(scale) {\n return function (x, y) {\n var cx = cos(x), cy = cos(y), k = scale(cx * cy);\n return [\n k * cy * sin(x),\n k * sin(y)\n ];\n };\n }\n function azimuthalInvert(angle) {\n return function (x, y) {\n var z = sqrt(x * x + y * y), c = angle(z), sc = sin(c), cc = cos(c);\n return [\n atan2(x * sc, z * cc),\n asin(z && y * sc / z)\n ];\n };\n }\n var azimuthalEqualAreaRaw = azimuthalRaw(function (cxcy) {\n return sqrt(2 / (1 + cxcy));\n });\n azimuthalEqualAreaRaw.invert = azimuthalInvert(function (z) {\n return 2 * asin(z / 2);\n });\n var azimuthalEqualArea = function () {\n return projection(azimuthalEqualAreaRaw)\n .scale(124.75)\n .clipAngle(180 - 1e-3);\n };\n var azimuthalEquidistantRaw = azimuthalRaw(function (c) {\n return (c = acos(c)) && c / sin(c);\n });\n azimuthalEquidistantRaw.invert = azimuthalInvert(function (z) {\n return z;\n });\n var azimuthalEquidistant = function () {\n return projection(azimuthalEquidistantRaw)\n .scale(79.4188)\n .clipAngle(180 - 1e-3);\n };\n function mercatorRaw(lambda, phi) {\n return [lambda, log(tan((halfPi + phi) / 2))];\n }\n mercatorRaw.invert = function (x, y) {\n return [x, 2 * atan(exp(y)) - halfPi];\n };\n var mercator = function () {\n return mercatorProjection(mercatorRaw)\n .scale(961 / tau);\n };\n function mercatorProjection(project) {\n var m = projection(project), center = m.center, scale = m.scale, translate = m.translate, clipExtent = m.clipExtent, x0 = null, y0, x1, y1; // clip extent\n m.scale = function (_) {\n return arguments.length ? (scale(_), reclip()) : scale();\n };\n m.translate = function (_) {\n return arguments.length ? (translate(_), reclip()) : translate();\n };\n m.center = function (_) {\n return arguments.length ? (center(_), reclip()) : center();\n };\n m.clipExtent = function (_) {\n return arguments.length ? ((_ == null ? x0 = y0 = x1 = y1 = null : (x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1])), reclip()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n };\n function reclip() {\n var k = pi * scale(), t = m(rotation(m.rotate()).invert([0, 0]));\n return clipExtent(x0 == null\n ? [[t[0] - k, t[1] - k], [t[0] + k, t[1] + k]] : project === mercatorRaw\n ? [[Math.max(t[0] - k, x0), y0], [Math.min(t[0] + k, x1), y1]]\n : [[x0, Math.max(t[1] - k, y0)], [x1, Math.min(t[1] + k, y1)]]);\n }\n return reclip();\n }\n function tany(y) {\n return tan((halfPi + y) / 2);\n }\n function conicConformalRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : log(cy0 / cos(y1)) / log(tany(y1) / tany(y0)), f = cy0 * pow(tany(y0), n) / n;\n if (!n)\n return mercatorRaw;\n function project(x, y) {\n if (f > 0) {\n if (y < -halfPi + epsilon)\n y = -halfPi + epsilon;\n }\n else {\n if (y > halfPi - epsilon)\n y = halfPi - epsilon;\n }\n var r = f / pow(tany(y), n);\n return [r * sin(n * x), f - r * cos(n * x)];\n }\n project.invert = function (x, y) {\n var fy = f - y, r = sign(n) * sqrt(x * x + fy * fy);\n return [atan2(x, abs(fy)) / n * sign(fy), 2 * atan(pow(f / r, 1 / n)) - halfPi];\n };\n return project;\n }\n var conicConformal = function () {\n return conicProjection(conicConformalRaw)\n .scale(109.5)\n .parallels([30, 30]);\n };\n function equirectangularRaw(lambda, phi) {\n return [lambda, phi];\n }\n equirectangularRaw.invert = equirectangularRaw;\n var equirectangular = function () {\n return projection(equirectangularRaw)\n .scale(152.63);\n };\n function conicEquidistantRaw(y0, y1) {\n var cy0 = cos(y0), n = y0 === y1 ? sin(y0) : (cy0 - cos(y1)) / (y1 - y0), g = cy0 / n + y0;\n if (abs(n) < epsilon)\n return equirectangularRaw;\n function project(x, y) {\n var gy = g - y, nx = n * x;\n return [gy * sin(nx), g - gy * cos(nx)];\n }\n project.invert = function (x, y) {\n var gy = g - y;\n return [atan2(x, abs(gy)) / n * sign(gy), g - sign(n) * sqrt(x * x + gy * gy)];\n };\n return project;\n }\n var conicEquidistant = function () {\n return conicProjection(conicEquidistantRaw)\n .scale(131.154)\n .center([0, 13.9389]);\n };\n function gnomonicRaw(x, y) {\n var cy = cos(y), k = cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n gnomonicRaw.invert = azimuthalInvert(atan);\n var gnomonic = function () {\n return projection(gnomonicRaw)\n .scale(144.049)\n .clipAngle(60);\n };\n function scaleTranslate(kx, ky, tx, ty) {\n return kx === 1 && ky === 1 && tx === 0 && ty === 0 ? identity : transformer({\n point: function (x, y) {\n this.stream.point(x * kx + tx, y * ky + ty);\n }\n });\n }\n var identity$1 = function () {\n var k = 1, tx = 0, ty = 0, sx = 1, sy = 1, transform = identity, // scale, translate and reflect\n x0 = null, y0, x1, y1, clip = identity, // clip extent\n cache, cacheStream, projection;\n function reset() {\n cache = cacheStream = null;\n return projection;\n }\n return projection = {\n stream: function (stream) {\n return cache && cacheStream === stream ? cache : cache = transform(clip(cacheStream = stream));\n },\n clipExtent: function (_) {\n return arguments.length ? (clip = _ == null ? (x0 = y0 = x1 = y1 = null, identity) : clipExtent(x0 = +_[0][0], y0 = +_[0][1], x1 = +_[1][0], y1 = +_[1][1]), reset()) : x0 == null ? null : [[x0, y0], [x1, y1]];\n },\n scale: function (_) {\n return arguments.length ? (transform = scaleTranslate((k = +_) * sx, k * sy, tx, ty), reset()) : k;\n },\n translate: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * sy, tx = +_[0], ty = +_[1]), reset()) : [tx, ty];\n },\n reflectX: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * (sx = _ ? -1 : 1), k * sy, tx, ty), reset()) : sx < 0;\n },\n reflectY: function (_) {\n return arguments.length ? (transform = scaleTranslate(k * sx, k * (sy = _ ? -1 : 1), tx, ty), reset()) : sy < 0;\n },\n fitExtent: function (extent, object) {\n return fitExtent(projection, extent, object);\n },\n fitSize: function (size, object) {\n return fitSize(projection, size, object);\n }\n };\n };\n function orthographicRaw(x, y) {\n return [cos(y) * sin(x), sin(y)];\n }\n orthographicRaw.invert = azimuthalInvert(asin);\n var orthographic = function () {\n return projection(orthographicRaw)\n .scale(249.5)\n .clipAngle(90 + epsilon);\n };\n function stereographicRaw(x, y) {\n var cy = cos(y), k = 1 + cos(x) * cy;\n return [cy * sin(x) / k, sin(y) / k];\n }\n stereographicRaw.invert = azimuthalInvert(function (z) {\n return 2 * atan(z);\n });\n var stereographic = function () {\n return projection(stereographicRaw)\n .scale(250)\n .clipAngle(142);\n };\n function transverseMercatorRaw(lambda, phi) {\n return [log(tan((halfPi + phi) / 2)), -lambda];\n }\n transverseMercatorRaw.invert = function (x, y) {\n return [-y, 2 * atan(exp(x)) - halfPi];\n };\n var transverseMercator = function () {\n var m = mercatorProjection(transverseMercatorRaw), center = m.center, rotate = m.rotate;\n m.center = function (_) {\n return arguments.length ? center([-_[1], _[0]]) : (_ = center(), [_[1], -_[0]]);\n };\n m.rotate = function (_) {\n return arguments.length ? rotate([_[0], _[1], _.length > 2 ? _[2] + 90 : 90]) : (_ = rotate(), [_[0], _[1], _[2] - 90]);\n };\n return rotate([0, 0, 90])\n .scale(159.155);\n };\n exports.geoArea = area;\n exports.geoBounds = bounds;\n exports.geoCentroid = centroid;\n exports.geoCircle = circle;\n exports.geoClipExtent = extent;\n exports.geoContains = contains;\n exports.geoDistance = distance;\n exports.geoGraticule = graticule;\n exports.geoGraticule10 = graticule10;\n exports.geoInterpolate = interpolate;\n exports.geoLength = length;\n exports.geoPath = index;\n exports.geoAlbers = albers;\n exports.geoAlbersUsa = albersUsa;\n exports.geoAzimuthalEqualArea = azimuthalEqualArea;\n exports.geoAzimuthalEqualAreaRaw = azimuthalEqualAreaRaw;\n exports.geoAzimuthalEquidistant = azimuthalEquidistant;\n exports.geoAzimuthalEquidistantRaw = azimuthalEquidistantRaw;\n exports.geoConicConformal = conicConformal;\n exports.geoConicConformalRaw = conicConformalRaw;\n exports.geoConicEqualArea = conicEqualArea;\n exports.geoConicEqualAreaRaw = conicEqualAreaRaw;\n exports.geoConicEquidistant = conicEquidistant;\n exports.geoConicEquidistantRaw = conicEquidistantRaw;\n exports.geoEquirectangular = equirectangular;\n exports.geoEquirectangularRaw = equirectangularRaw;\n exports.geoGnomonic = gnomonic;\n exports.geoGnomonicRaw = gnomonicRaw;\n exports.geoIdentity = identity$1;\n exports.geoProjection = projection;\n exports.geoProjectionMutator = projectionMutator;\n exports.geoMercator = mercator;\n exports.geoMercatorRaw = mercatorRaw;\n exports.geoOrthographic = orthographic;\n exports.geoOrthographicRaw = orthographicRaw;\n exports.geoStereographic = stereographic;\n exports.geoStereographicRaw = stereographicRaw;\n exports.geoTransverseMercator = transverseMercator;\n exports.geoTransverseMercatorRaw = transverseMercatorRaw;\n exports.geoRotation = rotation;\n exports.geoStream = geoStream;\n exports.geoTransform = transform;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hexjson/build/d3-hexjson.js", + "name": "./node_modules/d3-hexjson/build/d3-hexjson.js", + "index": 145, + "index2": 143, + "size": 14440, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "issuerId": "./src/connector/hexjson.ts", + "issuerName": "./src/connector/hexjson.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/hexjson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "name": "./src/connector/hexjson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 546, + "building": 1386, + "dependencies": 617 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "d3-hexjson", + "loc": "4:19-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array'], factory) :\n (factory((global.d3 = global.d3 || {}), global.d3));\n}(this, function (exports, d3Array) {\n 'use strict';\n // Main render method\n function renderHexJSON(hexjson, width, height) {\n // Get the layout\n var layout = hexjson.layout;\n // Get the hex objects as an array\n var hexes = [];\n var hexRadius = 0;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexjson.hexes[key].key = key;\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Get the vertices and points for this layout\n var vertices = getVertices(layout, hexWidth, hexRadius);\n var points = getPoints(vertices);\n // Calculate the values needed to render each hex and add to hexes\n hexes.forEach(function (hex) {\n // Calculate the absolute co-ordinates of each hex\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n // Add the vertex positions and points relative to x and y\n hex.vertices = vertices;\n hex.points = points;\n });\n return hexes;\n }\n // Get the x position for a hex\n function getX(hex, layout, hexWidth, hexRadius) {\n var x = 0, xOffset = 0;\n switch (layout) {\n case \"odd-r\":\n xOffset = (hex.rc % 2 === 1) ? hexWidth : (hexWidth / 2);\n x = (hex.qc * hexWidth) + xOffset;\n break;\n case \"even-r\":\n xOffset = (hex.rc % 2 === 0) ? hexWidth : (hexWidth / 2);\n x = (hex.qc * hexWidth) + xOffset;\n break;\n case \"odd-q\":\n case \"even-q\":\n x = (hex.qc * hexRadius * 1.5) + hexRadius;\n break;\n }\n return x;\n }\n // Get the y position for a hex\n function getY(hex, layout, hexWidth, hexRadius) {\n var y = 0, yOffset = 0;\n switch (layout) {\n case \"odd-r\":\n case \"even-r\":\n y = (hex.rc * hexRadius * 1.5) + hexRadius;\n break;\n case \"odd-q\":\n yOffset = (hex.qc % 2 === 1) ? hexWidth : (hexWidth / 2);\n y = (hex.rc * hexWidth) + yOffset;\n break;\n case \"even-q\":\n yOffset = (hex.qc % 2 === 0) ? hexWidth : (hexWidth / 2);\n y = (hex.rc * hexWidth) + yOffset;\n break;\n }\n return y;\n }\n // Get the positions of the vertices for the hex:\n // - Row layouts are ordered from the topmost vertex clockwise\n // - Column layouts are ordered from the leftmost vertex clockwise\n function getVertices(layout, hexWidth, hexRadius) {\n var vertices = [];\n switch (layout) {\n case \"odd-r\":\n case \"even-r\":\n vertices.push({ x: 0, y: (0 - hexRadius) });\n vertices.push({ x: (0 + hexWidth * 0.5), y: (0 - 0.5 * hexRadius) });\n vertices.push({ x: (0 + hexWidth * 0.5), y: (0 + 0.5 * hexRadius) });\n vertices.push({ x: 0, y: (0 + hexRadius) });\n vertices.push({ x: (0 - hexWidth * 0.5), y: (0 + 0.5 * hexRadius) });\n vertices.push({ x: (0 - hexWidth * 0.5), y: (0 - 0.5 * hexRadius) });\n break;\n case \"odd-q\":\n case \"even-q\":\n vertices.push({ x: (0 - hexRadius), y: 0 });\n vertices.push({ x: (0 - 0.5 * hexRadius), y: (0 - hexWidth * 0.5) });\n vertices.push({ x: (0 + 0.5 * hexRadius), y: (0 - hexWidth * 0.5) });\n vertices.push({ x: (0 + hexRadius), y: 0 });\n vertices.push({ x: (0 + 0.5 * hexRadius), y: (0 + hexWidth * 0.5) });\n vertices.push({ x: (0 - 0.5 * hexRadius), y: (0 + hexWidth * 0.5) });\n break;\n }\n return vertices;\n }\n // Get the points attribute for a polygon with these vertices\n function getPoints(vertices) {\n var points = \"\";\n vertices.forEach(function (v) { points += v.x + \",\" + v.y + \" \"; });\n return points.substring(0, points.length - 1);\n }\n // Creates a hexjson grid with the layout and dimensions of the given hexjson\n function getGridForHexJSON(hexjson) {\n // Create a new HexJSON object for the grid\n var grid = {};\n grid.layout = hexjson.layout;\n grid.hexes = {};\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns in the grid\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n // Create the hexjson grid\n var i, j, fkey;\n for (i = qmin; i <= qmax; i++) {\n for (j = rmin; j <= rmax; j++) {\n fkey = \"Q\" + i + \"R\" + j;\n grid.hexes[fkey] = { q: i, r: j };\n }\n }\n return grid;\n }\n // Creates a list of dots along the boundaries between\n // hexes which have different values of \"field\"\n function getBoundaryDotsForHexJSON(hexjson, width, height, field) {\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n var layout = hexjson.layout;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n var hexRadius;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Create an array into which we will put points along the\n // boundaries between differing hexes.\n // Each edge has five points, equally spaced.\n var lines = [];\n var hexRadiusSquared = hexRadius * hexRadius * 4;\n var maxHex = hexes.length;\n if (maxHex > 1) {\n hexes.forEach(function (hex) {\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n });\n for (var i = 0; i < maxHex - 1; i++) {\n for (var j = i + 1; j < maxHex; j++) {\n var hex = hexes[i];\n var otherHex = hexes[j];\n if (hex[field] !== otherHex[field]) {\n if (Math.abs(hex.q - otherHex.q) <= 1 &&\n Math.abs(hex.r - otherHex.r) <= 1) {\n if (((hex.x - otherHex.x) * (hex.x - otherHex.x)) +\n ((hex.y - otherHex.y) * (hex.y - otherHex.y)) < hexRadiusSquared) {\n // They're neighbours\n var midpoint = {};\n midpoint.x = otherHex.x + (hex.x - otherHex.x) / 2;\n midpoint.y = otherHex.y + (hex.y - otherHex.y) / 2;\n var perp = {};\n var denom = Math.sqrt(3) * 4;\n perp.dx = (hex.y - otherHex.y) / denom;\n perp.dy = -(hex.x - otherHex.x) / denom;\n lines.push({ x: midpoint.x - 2 * perp.dx, y: midpoint.y - 2 * perp.dy });\n lines.push({ x: midpoint.x - perp.dx, y: midpoint.y - perp.dy });\n lines.push({ x: midpoint.x, y: midpoint.y });\n lines.push({ x: midpoint.x + perp.dx, y: midpoint.y + perp.dy });\n lines.push({ x: midpoint.x + 2 * perp.dx, y: midpoint.y + 2 * perp.dy });\n }\n }\n }\n }\n }\n }\n return lines;\n }\n // Creates a list of line segments along the boundaries\n // between hexes which have different values of \"field\"\n function getBoundarySegmentsForHexJSON(hexjson, width, height, field) {\n // Get the hex objects from the hexjson as an array\n var hexes = [];\n var layout = hexjson.layout;\n Object.keys(hexjson.hexes).forEach(function (key) {\n hexes.push(hexjson.hexes[key]);\n });\n // Calculate the number of rows and columns\n var qmax = d3Array.max(hexes, function (d) { return +d.q; }), qmin = d3Array.min(hexes, function (d) { return +d.q; }), rmax = d3Array.max(hexes, function (d) { return +d.r; }), rmin = d3Array.min(hexes, function (d) { return +d.r; });\n var qnum = qmax - qmin + 1, rnum = rmax - rmin + 1;\n var hexRadius;\n // Calculate maximum radius the hexagons can have to fit the svg\n if (layout === \"odd-r\" || layout === \"even-r\") {\n hexRadius = d3Array.min([(width) / ((qnum + 0.5) * Math.sqrt(3)),\n height / ((rnum + 1 / 3) * 1.5)]);\n }\n else {\n hexRadius = d3Array.min([(height) / ((rnum + 0.5) * Math.sqrt(3)),\n width / ((qnum + 1 / 3) * 1.5)]);\n }\n // Calculate the hexagon width\n var hexWidth = hexRadius * Math.sqrt(3);\n // Create an array into which we will put points along the\n // boundaries between differing hexes.\n // Each segment will be of the form\n // {x: , y: , cx: , cy: }\n // intended to be used with the simple line drawing functionality of d3\n //\n var segments = [];\n var hexRadiusSquared = hexRadius * hexRadius * 4;\n var maxHex = hexes.length;\n if (maxHex > 1) {\n hexes.forEach(function (hex) {\n hex.qc = hex.q - qmin;\n hex.rc = rmax - hex.r;\n // Calculate the x and y position of each hex for this svg\n hex.x = getX(hex, layout, hexWidth, hexRadius);\n hex.y = getY(hex, layout, hexWidth, hexRadius);\n });\n for (var i = 0; i < maxHex - 1; i++) {\n for (var j = i + 1; j < maxHex; j++) {\n var hex = hexes[i];\n var otherHex = hexes[j];\n if (hex[field] !== otherHex[field]) {\n if (Math.abs(hex.q - otherHex.q) <= 1 &&\n Math.abs(hex.r - otherHex.r) <= 1) {\n if (((hex.x - otherHex.x) * (hex.x - otherHex.x)) +\n ((hex.y - otherHex.y) * (hex.y - otherHex.y)) < hexRadiusSquared) {\n // They're neighbours\n var midpoint = {};\n midpoint.x = otherHex.x + (hex.x - otherHex.x) / 2;\n midpoint.y = otherHex.y + (hex.y - otherHex.y) / 2;\n var perp = {};\n var direction = +1;\n if (hex[field] < otherHex[field]) {\n direction = -1;\n } // otherwise, direction will be +1\n var denom = Math.sqrt(3) * 2 * direction;\n perp.dx = (hex.y - otherHex.y) / denom;\n perp.dy = -(hex.x - otherHex.x) / denom;\n segments.push({\n x1: midpoint.x - perp.dx,\n y1: midpoint.y - perp.dy,\n x2: midpoint.x + perp.dx,\n y2: midpoint.y + perp.dy\n });\n }\n }\n }\n }\n }\n }\n return segments;\n }\n exports.renderHexJSON = renderHexJSON;\n exports.getGridForHexJSON = getGridForHexJSON;\n exports.getBoundaryDotsForHexJSON = getBoundaryDotsForHexJSON;\n exports.getBoundarySegmentsForHexJSON = getBoundarySegmentsForHexJSON;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "name": "./node_modules/d3-hierarchy/dist/d3-hierarchy.js", + "index": 147, + "index2": 145, + "size": 39951, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "issuerId": "./src/connector/hierarchy.ts", + "issuerName": "./src/connector/hierarchy.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "name": "./src/connector/hierarchy.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 533, + "building": 1238 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:21-44" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "5:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "d3-hierarchy", + "loc": "4:39-62" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-hierarchy/ v1.1.9 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n function defaultSeparation(a, b) {\n return a.parent === b.parent ? 1 : 2;\n }\n function meanX(children) {\n return children.reduce(meanXReduce, 0) / children.length;\n }\n function meanXReduce(x, c) {\n return x + c.x;\n }\n function maxY(children) {\n return 1 + children.reduce(maxYReduce, 0);\n }\n function maxYReduce(y, c) {\n return Math.max(y, c.y);\n }\n function leafLeft(node) {\n var children;\n while (children = node.children)\n node = children[0];\n return node;\n }\n function leafRight(node) {\n var children;\n while (children = node.children)\n node = children[children.length - 1];\n return node;\n }\n function cluster() {\n var separation = defaultSeparation, dx = 1, dy = 1, nodeSize = false;\n function cluster(root) {\n var previousNode, x = 0;\n // First walk, computing the initial x & y values.\n root.eachAfter(function (node) {\n var children = node.children;\n if (children) {\n node.x = meanX(children);\n node.y = maxY(children);\n }\n else {\n node.x = previousNode ? x += separation(node, previousNode) : 0;\n node.y = 0;\n previousNode = node;\n }\n });\n var left = leafLeft(root), right = leafRight(root), x0 = left.x - separation(left, right) / 2, x1 = right.x + separation(right, left) / 2;\n // Second walk, normalizing x & y to the desired size.\n return root.eachAfter(nodeSize ? function (node) {\n node.x = (node.x - root.x) * dx;\n node.y = (root.y - node.y) * dy;\n } : function (node) {\n node.x = (node.x - x0) / (x1 - x0) * dx;\n node.y = (1 - (root.y ? node.y / root.y : 1)) * dy;\n });\n }\n cluster.separation = function (x) {\n return arguments.length ? (separation = x, cluster) : separation;\n };\n cluster.size = function (x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? null : [dx, dy]);\n };\n cluster.nodeSize = function (x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], cluster) : (nodeSize ? [dx, dy] : null);\n };\n return cluster;\n }\n function count(node) {\n var sum = 0, children = node.children, i = children && children.length;\n if (!i)\n sum = 1;\n else\n while (--i >= 0)\n sum += children[i].value;\n node.value = sum;\n }\n function node_count() {\n return this.eachAfter(count);\n }\n function node_each(callback) {\n var node = this, current, next = [node], children, i, n;\n do {\n current = next.reverse(), next = [];\n while (node = current.pop()) {\n callback(node), children = node.children;\n if (children)\n for (i = 0, n = children.length; i < n; ++i) {\n next.push(children[i]);\n }\n }\n } while (next.length);\n return this;\n }\n function node_eachBefore(callback) {\n var node = this, nodes = [node], children, i;\n while (node = nodes.pop()) {\n callback(node), children = node.children;\n if (children)\n for (i = children.length - 1; i >= 0; --i) {\n nodes.push(children[i]);\n }\n }\n return this;\n }\n function node_eachAfter(callback) {\n var node = this, nodes = [node], next = [], children, i, n;\n while (node = nodes.pop()) {\n next.push(node), children = node.children;\n if (children)\n for (i = 0, n = children.length; i < n; ++i) {\n nodes.push(children[i]);\n }\n }\n while (node = next.pop()) {\n callback(node);\n }\n return this;\n }\n function node_sum(value) {\n return this.eachAfter(function (node) {\n var sum = +value(node.data) || 0, children = node.children, i = children && children.length;\n while (--i >= 0)\n sum += children[i].value;\n node.value = sum;\n });\n }\n function node_sort(compare) {\n return this.eachBefore(function (node) {\n if (node.children) {\n node.children.sort(compare);\n }\n });\n }\n function node_path(end) {\n var start = this, ancestor = leastCommonAncestor(start, end), nodes = [start];\n while (start !== ancestor) {\n start = start.parent;\n nodes.push(start);\n }\n var k = nodes.length;\n while (end !== ancestor) {\n nodes.splice(k, 0, end);\n end = end.parent;\n }\n return nodes;\n }\n function leastCommonAncestor(a, b) {\n if (a === b)\n return a;\n var aNodes = a.ancestors(), bNodes = b.ancestors(), c = null;\n a = aNodes.pop();\n b = bNodes.pop();\n while (a === b) {\n c = a;\n a = aNodes.pop();\n b = bNodes.pop();\n }\n return c;\n }\n function node_ancestors() {\n var node = this, nodes = [node];\n while (node = node.parent) {\n nodes.push(node);\n }\n return nodes;\n }\n function node_descendants() {\n var nodes = [];\n this.each(function (node) {\n nodes.push(node);\n });\n return nodes;\n }\n function node_leaves() {\n var leaves = [];\n this.eachBefore(function (node) {\n if (!node.children) {\n leaves.push(node);\n }\n });\n return leaves;\n }\n function node_links() {\n var root = this, links = [];\n root.each(function (node) {\n if (node !== root) { // Don’t include the root’s parent, if any.\n links.push({ source: node.parent, target: node });\n }\n });\n return links;\n }\n function hierarchy(data, children) {\n var root = new Node(data), valued = +data.value && (root.value = data.value), node, nodes = [root], child, childs, i, n;\n if (children == null)\n children = defaultChildren;\n while (node = nodes.pop()) {\n if (valued)\n node.value = +node.data.value;\n if ((childs = children(node.data)) && (n = childs.length)) {\n node.children = new Array(n);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new Node(childs[i]));\n child.parent = node;\n child.depth = node.depth + 1;\n }\n }\n }\n return root.eachBefore(computeHeight);\n }\n function node_copy() {\n return hierarchy(this).eachBefore(copyData);\n }\n function defaultChildren(d) {\n return d.children;\n }\n function copyData(node) {\n node.data = node.data.data;\n }\n function computeHeight(node) {\n var height = 0;\n do\n node.height = height;\n while ((node = node.parent) && (node.height < ++height));\n }\n function Node(data) {\n this.data = data;\n this.depth =\n this.height = 0;\n this.parent = null;\n }\n Node.prototype = hierarchy.prototype = {\n constructor: Node,\n count: node_count,\n each: node_each,\n eachAfter: node_eachAfter,\n eachBefore: node_eachBefore,\n sum: node_sum,\n sort: node_sort,\n path: node_path,\n ancestors: node_ancestors,\n descendants: node_descendants,\n leaves: node_leaves,\n links: node_links,\n copy: node_copy\n };\n var slice = Array.prototype.slice;\n function shuffle(array) {\n var m = array.length, t, i;\n while (m) {\n i = Math.random() * m-- | 0;\n t = array[m];\n array[m] = array[i];\n array[i] = t;\n }\n return array;\n }\n function enclose(circles) {\n var i = 0, n = (circles = shuffle(slice.call(circles))).length, B = [], p, e;\n while (i < n) {\n p = circles[i];\n if (e && enclosesWeak(e, p))\n ++i;\n else\n e = encloseBasis(B = extendBasis(B, p)), i = 0;\n }\n return e;\n }\n function extendBasis(B, p) {\n var i, j;\n if (enclosesWeakAll(p, B))\n return [p];\n // If we get here then B must have at least one element.\n for (i = 0; i < B.length; ++i) {\n if (enclosesNot(p, B[i])\n && enclosesWeakAll(encloseBasis2(B[i], p), B)) {\n return [B[i], p];\n }\n }\n // If we get here then B must have at least two elements.\n for (i = 0; i < B.length - 1; ++i) {\n for (j = i + 1; j < B.length; ++j) {\n if (enclosesNot(encloseBasis2(B[i], B[j]), p)\n && enclosesNot(encloseBasis2(B[i], p), B[j])\n && enclosesNot(encloseBasis2(B[j], p), B[i])\n && enclosesWeakAll(encloseBasis3(B[i], B[j], p), B)) {\n return [B[i], B[j], p];\n }\n }\n }\n // If we get here then something is very wrong.\n throw new Error;\n }\n function enclosesNot(a, b) {\n var dr = a.r - b.r, dx = b.x - a.x, dy = b.y - a.y;\n return dr < 0 || dr * dr < dx * dx + dy * dy;\n }\n function enclosesWeak(a, b) {\n var dr = a.r - b.r + 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n }\n function enclosesWeakAll(a, B) {\n for (var i = 0; i < B.length; ++i) {\n if (!enclosesWeak(a, B[i])) {\n return false;\n }\n }\n return true;\n }\n function encloseBasis(B) {\n switch (B.length) {\n case 1: return encloseBasis1(B[0]);\n case 2: return encloseBasis2(B[0], B[1]);\n case 3: return encloseBasis3(B[0], B[1], B[2]);\n }\n }\n function encloseBasis1(a) {\n return {\n x: a.x,\n y: a.y,\n r: a.r\n };\n }\n function encloseBasis2(a, b) {\n var x1 = a.x, y1 = a.y, r1 = a.r, x2 = b.x, y2 = b.y, r2 = b.r, x21 = x2 - x1, y21 = y2 - y1, r21 = r2 - r1, l = Math.sqrt(x21 * x21 + y21 * y21);\n return {\n x: (x1 + x2 + x21 / l * r21) / 2,\n y: (y1 + y2 + y21 / l * r21) / 2,\n r: (l + r1 + r2) / 2\n };\n }\n function encloseBasis3(a, b, c) {\n var x1 = a.x, y1 = a.y, r1 = a.r, x2 = b.x, y2 = b.y, r2 = b.r, x3 = c.x, y3 = c.y, r3 = c.r, a2 = x1 - x2, a3 = x1 - x3, b2 = y1 - y2, b3 = y1 - y3, c2 = r2 - r1, c3 = r3 - r1, d1 = x1 * x1 + y1 * y1 - r1 * r1, d2 = d1 - x2 * x2 - y2 * y2 + r2 * r2, d3 = d1 - x3 * x3 - y3 * y3 + r3 * r3, ab = a3 * b2 - a2 * b3, xa = (b2 * d3 - b3 * d2) / (ab * 2) - x1, xb = (b3 * c2 - b2 * c3) / ab, ya = (a3 * d2 - a2 * d3) / (ab * 2) - y1, yb = (a2 * c3 - a3 * c2) / ab, A = xb * xb + yb * yb - 1, B = 2 * (r1 + xa * xb + ya * yb), C = xa * xa + ya * ya - r1 * r1, r = -(A ? (B + Math.sqrt(B * B - 4 * A * C)) / (2 * A) : C / B);\n return {\n x: x1 + xa + xb * r,\n y: y1 + ya + yb * r,\n r: r\n };\n }\n function place(b, a, c) {\n var dx = b.x - a.x, x, a2, dy = b.y - a.y, y, b2, d2 = dx * dx + dy * dy;\n if (d2) {\n a2 = a.r + c.r, a2 *= a2;\n b2 = b.r + c.r, b2 *= b2;\n if (a2 > b2) {\n x = (d2 + b2 - a2) / (2 * d2);\n y = Math.sqrt(Math.max(0, b2 / d2 - x * x));\n c.x = b.x - x * dx - y * dy;\n c.y = b.y - x * dy + y * dx;\n }\n else {\n x = (d2 + a2 - b2) / (2 * d2);\n y = Math.sqrt(Math.max(0, a2 / d2 - x * x));\n c.x = a.x + x * dx - y * dy;\n c.y = a.y + x * dy + y * dx;\n }\n }\n else {\n c.x = a.x + c.r;\n c.y = a.y;\n }\n }\n function intersects(a, b) {\n var dr = a.r + b.r - 1e-6, dx = b.x - a.x, dy = b.y - a.y;\n return dr > 0 && dr * dr > dx * dx + dy * dy;\n }\n function score(node) {\n var a = node._, b = node.next._, ab = a.r + b.r, dx = (a.x * b.r + b.x * a.r) / ab, dy = (a.y * b.r + b.y * a.r) / ab;\n return dx * dx + dy * dy;\n }\n function Node$1(circle) {\n this._ = circle;\n this.next = null;\n this.previous = null;\n }\n function packEnclose(circles) {\n if (!(n = circles.length))\n return 0;\n var a, b, c, n, aa, ca, i, j, k, sj, sk;\n // Place the first circle.\n a = circles[0], a.x = 0, a.y = 0;\n if (!(n > 1))\n return a.r;\n // Place the second circle.\n b = circles[1], a.x = -b.r, b.x = a.r, b.y = 0;\n if (!(n > 2))\n return a.r + b.r;\n // Place the third circle.\n place(b, a, c = circles[2]);\n // Initialize the front-chain using the first three circles a, b and c.\n a = new Node$1(a), b = new Node$1(b), c = new Node$1(c);\n a.next = c.previous = b;\n b.next = a.previous = c;\n c.next = b.previous = a;\n // Attempt to place each remaining circle…\n pack: for (i = 3; i < n; ++i) {\n place(a._, b._, c = circles[i]), c = new Node$1(c);\n // Find the closest intersecting circle on the front-chain, if any.\n // “Closeness” is determined by linear distance along the front-chain.\n // “Ahead” or “behind” is likewise determined by linear distance.\n j = b.next, k = a.previous, sj = b._.r, sk = a._.r;\n do {\n if (sj <= sk) {\n if (intersects(j._, c._)) {\n b = j, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sj += j._.r, j = j.next;\n }\n else {\n if (intersects(k._, c._)) {\n a = k, a.next = b, b.previous = a, --i;\n continue pack;\n }\n sk += k._.r, k = k.previous;\n }\n } while (j !== k.next);\n // Success! Insert the new circle c between a and b.\n c.previous = a, c.next = b, a.next = b.previous = b = c;\n // Compute the new closest circle pair to the centroid.\n aa = score(a);\n while ((c = c.next) !== b) {\n if ((ca = score(c)) < aa) {\n a = c, aa = ca;\n }\n }\n b = a.next;\n }\n // Compute the enclosing circle of the front chain.\n a = [b._], c = b;\n while ((c = c.next) !== b)\n a.push(c._);\n c = enclose(a);\n // Translate the circles to put the enclosing circle around the origin.\n for (i = 0; i < n; ++i)\n a = circles[i], a.x -= c.x, a.y -= c.y;\n return c.r;\n }\n function siblings(circles) {\n packEnclose(circles);\n return circles;\n }\n function optional(f) {\n return f == null ? null : required(f);\n }\n function required(f) {\n if (typeof f !== \"function\")\n throw new Error;\n return f;\n }\n function constantZero() {\n return 0;\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function defaultRadius(d) {\n return Math.sqrt(d.value);\n }\n function index() {\n var radius = null, dx = 1, dy = 1, padding = constantZero;\n function pack(root) {\n root.x = dx / 2, root.y = dy / 2;\n if (radius) {\n root.eachBefore(radiusLeaf(radius))\n .eachAfter(packChildren(padding, 0.5))\n .eachBefore(translateChild(1));\n }\n else {\n root.eachBefore(radiusLeaf(defaultRadius))\n .eachAfter(packChildren(constantZero, 1))\n .eachAfter(packChildren(padding, root.r / Math.min(dx, dy)))\n .eachBefore(translateChild(Math.min(dx, dy) / (2 * root.r)));\n }\n return root;\n }\n pack.radius = function (x) {\n return arguments.length ? (radius = optional(x), pack) : radius;\n };\n pack.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], pack) : [dx, dy];\n };\n pack.padding = function (x) {\n return arguments.length ? (padding = typeof x === \"function\" ? x : constant(+x), pack) : padding;\n };\n return pack;\n }\n function radiusLeaf(radius) {\n return function (node) {\n if (!node.children) {\n node.r = Math.max(0, +radius(node) || 0);\n }\n };\n }\n function packChildren(padding, k) {\n return function (node) {\n if (children = node.children) {\n var children, i, n = children.length, r = padding(node) * k || 0, e;\n if (r)\n for (i = 0; i < n; ++i)\n children[i].r += r;\n e = packEnclose(children);\n if (r)\n for (i = 0; i < n; ++i)\n children[i].r -= r;\n node.r = e + r;\n }\n };\n }\n function translateChild(k) {\n return function (node) {\n var parent = node.parent;\n node.r *= k;\n if (parent) {\n node.x = parent.x + k * node.x;\n node.y = parent.y + k * node.y;\n }\n };\n }\n function roundNode(node) {\n node.x0 = Math.round(node.x0);\n node.y0 = Math.round(node.y0);\n node.x1 = Math.round(node.x1);\n node.y1 = Math.round(node.y1);\n }\n function treemapDice(parent, x0, y0, x1, y1) {\n var nodes = parent.children, node, i = -1, n = nodes.length, k = parent.value && (x1 - x0) / parent.value;\n while (++i < n) {\n node = nodes[i], node.y0 = y0, node.y1 = y1;\n node.x0 = x0, node.x1 = x0 += node.value * k;\n }\n }\n function partition() {\n var dx = 1, dy = 1, padding = 0, round = false;\n function partition(root) {\n var n = root.height + 1;\n root.x0 =\n root.y0 = padding;\n root.x1 = dx;\n root.y1 = dy / n;\n root.eachBefore(positionNode(dy, n));\n if (round)\n root.eachBefore(roundNode);\n return root;\n }\n function positionNode(dy, n) {\n return function (node) {\n if (node.children) {\n treemapDice(node, node.x0, dy * (node.depth + 1) / n, node.x1, dy * (node.depth + 2) / n);\n }\n var x0 = node.x0, y0 = node.y0, x1 = node.x1 - padding, y1 = node.y1 - padding;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n };\n }\n partition.round = function (x) {\n return arguments.length ? (round = !!x, partition) : round;\n };\n partition.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], partition) : [dx, dy];\n };\n partition.padding = function (x) {\n return arguments.length ? (padding = +x, partition) : padding;\n };\n return partition;\n }\n var keyPrefix = \"$\", // Protect against keys like “__proto__”.\n preroot = { depth: -1 }, ambiguous = {};\n function defaultId(d) {\n return d.id;\n }\n function defaultParentId(d) {\n return d.parentId;\n }\n function stratify() {\n var id = defaultId, parentId = defaultParentId;\n function stratify(data) {\n var d, i, n = data.length, root, parent, node, nodes = new Array(n), nodeId, nodeKey, nodeByKey = {};\n for (i = 0; i < n; ++i) {\n d = data[i], node = nodes[i] = new Node(d);\n if ((nodeId = id(d, i, data)) != null && (nodeId += \"\")) {\n nodeKey = keyPrefix + (node.id = nodeId);\n nodeByKey[nodeKey] = nodeKey in nodeByKey ? ambiguous : node;\n }\n }\n for (i = 0; i < n; ++i) {\n node = nodes[i], nodeId = parentId(data[i], i, data);\n if (nodeId == null || !(nodeId += \"\")) {\n if (root)\n throw new Error(\"multiple roots\");\n root = node;\n }\n else {\n parent = nodeByKey[keyPrefix + nodeId];\n if (!parent)\n throw new Error(\"missing: \" + nodeId);\n if (parent === ambiguous)\n throw new Error(\"ambiguous: \" + nodeId);\n if (parent.children)\n parent.children.push(node);\n else\n parent.children = [node];\n node.parent = parent;\n }\n }\n if (!root)\n throw new Error(\"no root\");\n root.parent = preroot;\n root.eachBefore(function (node) { node.depth = node.parent.depth + 1; --n; }).eachBefore(computeHeight);\n root.parent = null;\n if (n > 0)\n throw new Error(\"cycle\");\n return root;\n }\n stratify.id = function (x) {\n return arguments.length ? (id = required(x), stratify) : id;\n };\n stratify.parentId = function (x) {\n return arguments.length ? (parentId = required(x), stratify) : parentId;\n };\n return stratify;\n }\n function defaultSeparation$1(a, b) {\n return a.parent === b.parent ? 1 : 2;\n }\n // function radialSeparation(a, b) {\n // return (a.parent === b.parent ? 1 : 2) / a.depth;\n // }\n // This function is used to traverse the left contour of a subtree (or\n // subforest). It returns the successor of v on this contour. This successor is\n // either given by the leftmost child of v or by the thread of v. The function\n // returns null if and only if v is on the highest level of its subtree.\n function nextLeft(v) {\n var children = v.children;\n return children ? children[0] : v.t;\n }\n // This function works analogously to nextLeft.\n function nextRight(v) {\n var children = v.children;\n return children ? children[children.length - 1] : v.t;\n }\n // Shifts the current subtree rooted at w+. This is done by increasing\n // prelim(w+) and mod(w+) by shift.\n function moveSubtree(wm, wp, shift) {\n var change = shift / (wp.i - wm.i);\n wp.c -= change;\n wp.s += shift;\n wm.c += change;\n wp.z += shift;\n wp.m += shift;\n }\n // All other shifts, applied to the smaller subtrees between w- and w+, are\n // performed by this function. To prepare the shifts, we have to adjust\n // change(w+), shift(w+), and change(w-).\n function executeShifts(v) {\n var shift = 0, change = 0, children = v.children, i = children.length, w;\n while (--i >= 0) {\n w = children[i];\n w.z += shift;\n w.m += shift;\n shift += w.s + (change += w.c);\n }\n }\n // If vi-’s ancestor is a sibling of v, returns vi-’s ancestor. Otherwise,\n // returns the specified (default) ancestor.\n function nextAncestor(vim, v, ancestor) {\n return vim.a.parent === v.parent ? vim.a : ancestor;\n }\n function TreeNode(node, i) {\n this._ = node;\n this.parent = null;\n this.children = null;\n this.A = null; // default ancestor\n this.a = this; // ancestor\n this.z = 0; // prelim\n this.m = 0; // mod\n this.c = 0; // change\n this.s = 0; // shift\n this.t = null; // thread\n this.i = i; // number\n }\n TreeNode.prototype = Object.create(Node.prototype);\n function treeRoot(root) {\n var tree = new TreeNode(root, 0), node, nodes = [tree], child, children, i, n;\n while (node = nodes.pop()) {\n if (children = node._.children) {\n node.children = new Array(n = children.length);\n for (i = n - 1; i >= 0; --i) {\n nodes.push(child = node.children[i] = new TreeNode(children[i], i));\n child.parent = node;\n }\n }\n }\n (tree.parent = new TreeNode(null, 0)).children = [tree];\n return tree;\n }\n // Node-link tree diagram using the Reingold-Tilford \"tidy\" algorithm\n function tree() {\n var separation = defaultSeparation$1, dx = 1, dy = 1, nodeSize = null;\n function tree(root) {\n var t = treeRoot(root);\n // Compute the layout using Buchheim et al.’s algorithm.\n t.eachAfter(firstWalk), t.parent.m = -t.z;\n t.eachBefore(secondWalk);\n // If a fixed node size is specified, scale x and y.\n if (nodeSize)\n root.eachBefore(sizeNode);\n // If a fixed tree size is specified, scale x and y based on the extent.\n // Compute the left-most, right-most, and depth-most nodes for extents.\n else {\n var left = root, right = root, bottom = root;\n root.eachBefore(function (node) {\n if (node.x < left.x)\n left = node;\n if (node.x > right.x)\n right = node;\n if (node.depth > bottom.depth)\n bottom = node;\n });\n var s = left === right ? 1 : separation(left, right) / 2, tx = s - left.x, kx = dx / (right.x + s + tx), ky = dy / (bottom.depth || 1);\n root.eachBefore(function (node) {\n node.x = (node.x + tx) * kx;\n node.y = node.depth * ky;\n });\n }\n return root;\n }\n // Computes a preliminary x-coordinate for v. Before that, FIRST WALK is\n // applied recursively to the children of v, as well as the function\n // APPORTION. After spacing out the children by calling EXECUTE SHIFTS, the\n // node v is placed to the midpoint of its outermost children.\n function firstWalk(v) {\n var children = v.children, siblings = v.parent.children, w = v.i ? siblings[v.i - 1] : null;\n if (children) {\n executeShifts(v);\n var midpoint = (children[0].z + children[children.length - 1].z) / 2;\n if (w) {\n v.z = w.z + separation(v._, w._);\n v.m = v.z - midpoint;\n }\n else {\n v.z = midpoint;\n }\n }\n else if (w) {\n v.z = w.z + separation(v._, w._);\n }\n v.parent.A = apportion(v, w, v.parent.A || siblings[0]);\n }\n // Computes all real x-coordinates by summing up the modifiers recursively.\n function secondWalk(v) {\n v._.x = v.z + v.parent.m;\n v.m += v.parent.m;\n }\n // The core of the algorithm. Here, a new subtree is combined with the\n // previous subtrees. Threads are used to traverse the inside and outside\n // contours of the left and right subtree up to the highest common level. The\n // vertices used for the traversals are vi+, vi-, vo-, and vo+, where the\n // superscript o means outside and i means inside, the subscript - means left\n // subtree and + means right subtree. For summing up the modifiers along the\n // contour, we use respective variables si+, si-, so-, and so+. Whenever two\n // nodes of the inside contours conflict, we compute the left one of the\n // greatest uncommon ancestors using the function ANCESTOR and call MOVE\n // SUBTREE to shift the subtree and prepare the shifts of smaller subtrees.\n // Finally, we add a new thread (if necessary).\n function apportion(v, w, ancestor) {\n if (w) {\n var vip = v, vop = v, vim = w, vom = vip.parent.children[0], sip = vip.m, sop = vop.m, sim = vim.m, som = vom.m, shift;\n while (vim = nextRight(vim), vip = nextLeft(vip), vim && vip) {\n vom = nextLeft(vom);\n vop = nextRight(vop);\n vop.a = v;\n shift = vim.z + sim - vip.z - sip + separation(vim._, vip._);\n if (shift > 0) {\n moveSubtree(nextAncestor(vim, v, ancestor), v, shift);\n sip += shift;\n sop += shift;\n }\n sim += vim.m;\n sip += vip.m;\n som += vom.m;\n sop += vop.m;\n }\n if (vim && !nextRight(vop)) {\n vop.t = vim;\n vop.m += sim - sop;\n }\n if (vip && !nextLeft(vom)) {\n vom.t = vip;\n vom.m += sip - som;\n ancestor = v;\n }\n }\n return ancestor;\n }\n function sizeNode(node) {\n node.x *= dx;\n node.y = node.depth * dy;\n }\n tree.separation = function (x) {\n return arguments.length ? (separation = x, tree) : separation;\n };\n tree.size = function (x) {\n return arguments.length ? (nodeSize = false, dx = +x[0], dy = +x[1], tree) : (nodeSize ? null : [dx, dy]);\n };\n tree.nodeSize = function (x) {\n return arguments.length ? (nodeSize = true, dx = +x[0], dy = +x[1], tree) : (nodeSize ? [dx, dy] : null);\n };\n return tree;\n }\n function treemapSlice(parent, x0, y0, x1, y1) {\n var nodes = parent.children, node, i = -1, n = nodes.length, k = parent.value && (y1 - y0) / parent.value;\n while (++i < n) {\n node = nodes[i], node.x0 = x0, node.x1 = x1;\n node.y0 = y0, node.y1 = y0 += node.value * k;\n }\n }\n var phi = (1 + Math.sqrt(5)) / 2;\n function squarifyRatio(ratio, parent, x0, y0, x1, y1) {\n var rows = [], nodes = parent.children, row, nodeValue, i0 = 0, i1 = 0, n = nodes.length, dx, dy, value = parent.value, sumValue, minValue, maxValue, newRatio, minRatio, alpha, beta;\n while (i0 < n) {\n dx = x1 - x0, dy = y1 - y0;\n // Find the next non-empty node.\n do\n sumValue = nodes[i1++].value;\n while (!sumValue && i1 < n);\n minValue = maxValue = sumValue;\n alpha = Math.max(dy / dx, dx / dy) / (value * ratio);\n beta = sumValue * sumValue * alpha;\n minRatio = Math.max(maxValue / beta, beta / minValue);\n // Keep adding nodes while the aspect ratio maintains or improves.\n for (; i1 < n; ++i1) {\n sumValue += nodeValue = nodes[i1].value;\n if (nodeValue < minValue)\n minValue = nodeValue;\n if (nodeValue > maxValue)\n maxValue = nodeValue;\n beta = sumValue * sumValue * alpha;\n newRatio = Math.max(maxValue / beta, beta / minValue);\n if (newRatio > minRatio) {\n sumValue -= nodeValue;\n break;\n }\n minRatio = newRatio;\n }\n // Position and record the row orientation.\n rows.push(row = { value: sumValue, dice: dx < dy, children: nodes.slice(i0, i1) });\n if (row.dice)\n treemapDice(row, x0, y0, x1, value ? y0 += dy * sumValue / value : y1);\n else\n treemapSlice(row, x0, y0, value ? x0 += dx * sumValue / value : x1, y1);\n value -= sumValue, i0 = i1;\n }\n return rows;\n }\n var squarify = (function custom(ratio) {\n function squarify(parent, x0, y0, x1, y1) {\n squarifyRatio(ratio, parent, x0, y0, x1, y1);\n }\n squarify.ratio = function (x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n return squarify;\n })(phi);\n function index$1() {\n var tile = squarify, round = false, dx = 1, dy = 1, paddingStack = [0], paddingInner = constantZero, paddingTop = constantZero, paddingRight = constantZero, paddingBottom = constantZero, paddingLeft = constantZero;\n function treemap(root) {\n root.x0 =\n root.y0 = 0;\n root.x1 = dx;\n root.y1 = dy;\n root.eachBefore(positionNode);\n paddingStack = [0];\n if (round)\n root.eachBefore(roundNode);\n return root;\n }\n function positionNode(node) {\n var p = paddingStack[node.depth], x0 = node.x0 + p, y0 = node.y0 + p, x1 = node.x1 - p, y1 = node.y1 - p;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n node.x0 = x0;\n node.y0 = y0;\n node.x1 = x1;\n node.y1 = y1;\n if (node.children) {\n p = paddingStack[node.depth + 1] = paddingInner(node) / 2;\n x0 += paddingLeft(node) - p;\n y0 += paddingTop(node) - p;\n x1 -= paddingRight(node) - p;\n y1 -= paddingBottom(node) - p;\n if (x1 < x0)\n x0 = x1 = (x0 + x1) / 2;\n if (y1 < y0)\n y0 = y1 = (y0 + y1) / 2;\n tile(node, x0, y0, x1, y1);\n }\n }\n treemap.round = function (x) {\n return arguments.length ? (round = !!x, treemap) : round;\n };\n treemap.size = function (x) {\n return arguments.length ? (dx = +x[0], dy = +x[1], treemap) : [dx, dy];\n };\n treemap.tile = function (x) {\n return arguments.length ? (tile = required(x), treemap) : tile;\n };\n treemap.padding = function (x) {\n return arguments.length ? treemap.paddingInner(x).paddingOuter(x) : treemap.paddingInner();\n };\n treemap.paddingInner = function (x) {\n return arguments.length ? (paddingInner = typeof x === \"function\" ? x : constant(+x), treemap) : paddingInner;\n };\n treemap.paddingOuter = function (x) {\n return arguments.length ? treemap.paddingTop(x).paddingRight(x).paddingBottom(x).paddingLeft(x) : treemap.paddingTop();\n };\n treemap.paddingTop = function (x) {\n return arguments.length ? (paddingTop = typeof x === \"function\" ? x : constant(+x), treemap) : paddingTop;\n };\n treemap.paddingRight = function (x) {\n return arguments.length ? (paddingRight = typeof x === \"function\" ? x : constant(+x), treemap) : paddingRight;\n };\n treemap.paddingBottom = function (x) {\n return arguments.length ? (paddingBottom = typeof x === \"function\" ? x : constant(+x), treemap) : paddingBottom;\n };\n treemap.paddingLeft = function (x) {\n return arguments.length ? (paddingLeft = typeof x === \"function\" ? x : constant(+x), treemap) : paddingLeft;\n };\n return treemap;\n }\n function binary(parent, x0, y0, x1, y1) {\n var nodes = parent.children, i, n = nodes.length, sum, sums = new Array(n + 1);\n for (sums[0] = sum = i = 0; i < n; ++i) {\n sums[i + 1] = sum += nodes[i].value;\n }\n partition(0, n, parent.value, x0, y0, x1, y1);\n function partition(i, j, value, x0, y0, x1, y1) {\n if (i >= j - 1) {\n var node = nodes[i];\n node.x0 = x0, node.y0 = y0;\n node.x1 = x1, node.y1 = y1;\n return;\n }\n var valueOffset = sums[i], valueTarget = (value / 2) + valueOffset, k = i + 1, hi = j - 1;\n while (k < hi) {\n var mid = k + hi >>> 1;\n if (sums[mid] < valueTarget)\n k = mid + 1;\n else\n hi = mid;\n }\n if ((valueTarget - sums[k - 1]) < (sums[k] - valueTarget) && i + 1 < k)\n --k;\n var valueLeft = sums[k] - valueOffset, valueRight = value - valueLeft;\n if ((x1 - x0) > (y1 - y0)) {\n var xk = (x0 * valueRight + x1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, xk, y1);\n partition(k, j, valueRight, xk, y0, x1, y1);\n }\n else {\n var yk = (y0 * valueRight + y1 * valueLeft) / value;\n partition(i, k, valueLeft, x0, y0, x1, yk);\n partition(k, j, valueRight, x0, yk, x1, y1);\n }\n }\n }\n function sliceDice(parent, x0, y0, x1, y1) {\n (parent.depth & 1 ? treemapSlice : treemapDice)(parent, x0, y0, x1, y1);\n }\n var resquarify = (function custom(ratio) {\n function resquarify(parent, x0, y0, x1, y1) {\n if ((rows = parent._squarify) && (rows.ratio === ratio)) {\n var rows, row, nodes, i, j = -1, n, m = rows.length, value = parent.value;\n while (++j < m) {\n row = rows[j], nodes = row.children;\n for (i = row.value = 0, n = nodes.length; i < n; ++i)\n row.value += nodes[i].value;\n if (row.dice)\n treemapDice(row, x0, y0, x1, y0 += (y1 - y0) * row.value / value);\n else\n treemapSlice(row, x0, y0, x0 += (x1 - x0) * row.value / value, y1);\n value -= row.value;\n }\n }\n else {\n parent._squarify = rows = squarifyRatio(ratio, parent, x0, y0, x1, y1);\n rows.ratio = ratio;\n }\n }\n resquarify.ratio = function (x) {\n return custom((x = +x) > 1 ? x : 1);\n };\n return resquarify;\n })(phi);\n exports.cluster = cluster;\n exports.hierarchy = hierarchy;\n exports.pack = index;\n exports.packEnclose = enclose;\n exports.packSiblings = siblings;\n exports.partition = partition;\n exports.stratify = stratify;\n exports.tree = tree;\n exports.treemap = index$1;\n exports.treemapBinary = binary;\n exports.treemapDice = treemapDice;\n exports.treemapResquarify = resquarify;\n exports.treemapSlice = treemapSlice;\n exports.treemapSliceDice = sliceDice;\n exports.treemapSquarify = squarify;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-path/dist/d3-path.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-path/dist/d3-path.js", + "name": "./node_modules/d3-path/dist/d3-path.js", + "index": 124, + "index2": 120, + "size": 5217, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + } + }, + { + "id": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "name": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "profile": { + "factory": 1591, + "building": 256, + "dependencies": 329 + } + } + ], + "profile": { + "factory": 751, + "building": 448 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "d3-path", + "loc": "4:103-121" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-path/ v2.0.0 Copyright 2020 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var pi = Math.PI, tau = 2 * pi, epsilon = 1e-6, tauEpsilon = tau - epsilon;\n function Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n }\n function path() {\n return new Path;\n }\n Path.prototype = path.prototype = {\n constructor: Path,\n moveTo: function (x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function () {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function (x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function (x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function (x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon))\n ;\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function (x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n // Is this arc empty? We’re done.\n if (!r)\n return;\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0)\n da = da % tau + tau;\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function (x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function () {\n return this._;\n }\n };\n exports.path = path;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "index": 474, + "index2": 475, + "size": 15646, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "issuerId": "./src/transform/diagram/sankey.ts", + "issuerName": "./src/transform/diagram/sankey.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "d3-sankey", + "loc": "8:18-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "var tslib_1 = require(\"tslib\");\n// https://github.com/d3/d3-sankey v0.9.1 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-array'), require('d3-collection'), require('d3-shape')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-array', 'd3-collection', 'd3-shape'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3, global.d3, global.d3));\n}(this, function (exports, d3Array, d3Collection, d3Shape) {\n 'use strict';\n function targetDepth(d) {\n return d.target.depth;\n }\n function left(node) {\n return node.depth;\n }\n function right(node, n) {\n return n - 1 - node.height;\n }\n function justify(node, n) {\n return node.sourceLinks.length ? node.depth : n - 1;\n }\n function center(node) {\n return node.targetLinks.length ? node.depth\n : node.sourceLinks.length ? d3Array.min(node.sourceLinks, targetDepth) - 1\n : 0;\n }\n function constant(x) {\n return function () {\n return x;\n };\n }\n function ascendingSourceBreadth(a, b) {\n return ascendingBreadth(a.source, b.source) || a.index - b.index;\n }\n function ascendingTargetBreadth(a, b) {\n return ascendingBreadth(a.target, b.target) || a.index - b.index;\n }\n function ascendingBreadth(a, b) {\n return a.y0 - b.y0;\n }\n function value(d) {\n return d.value;\n }\n function defaultId(d) {\n return d.index;\n }\n function defaultNodes(graph) {\n return graph.nodes;\n }\n function defaultLinks(graph) {\n return graph.links;\n }\n function find(nodeById, id) {\n var node = nodeById.get(id);\n if (!node)\n throw new Error(\"missing: \" + id);\n return node;\n }\n function Sankey() {\n var x0 = 0, y0 = 0, x1 = 1, y1 = 1, // extent\n dx = 24, // nodeWidth\n py = 8, // nodePadding\n id = defaultId, align = justify, sort, nodes = defaultNodes, links = defaultLinks, iterations = 6;\n function sankey() {\n var graph = { nodes: nodes.apply(null, arguments), links: links.apply(null, arguments) };\n computeNodeLinks(graph);\n computeNodeValues(graph);\n computeNodeDepths(graph);\n computeNodeBreadths(graph);\n computeLinkBreadths(graph);\n return graph;\n }\n sankey.update = function (graph) {\n computeLinkBreadths(graph);\n return graph;\n };\n sankey.nodeId = function (_) {\n return arguments.length ? (id = typeof _ === \"function\" ? _ : constant(_), sankey) : id;\n };\n sankey.nodeAlign = function (_) {\n return arguments.length ? (align = typeof _ === \"function\" ? _ : constant(_), sankey) : align;\n };\n sankey.nodeSort = function (_) {\n return arguments.length ? (sort = _, sankey) : sort;\n };\n sankey.nodeWidth = function (_) {\n return arguments.length ? (dx = +_, sankey) : dx;\n };\n sankey.nodePadding = function (_) {\n return arguments.length ? (py = +_, sankey) : py;\n };\n sankey.nodes = function (_) {\n return arguments.length ? (nodes = typeof _ === \"function\" ? _ : constant(_), sankey) : nodes;\n };\n sankey.links = function (_) {\n return arguments.length ? (links = typeof _ === \"function\" ? _ : constant(_), sankey) : links;\n };\n sankey.size = function (_) {\n return arguments.length ? (x0 = y0 = 0, x1 = +_[0], y1 = +_[1], sankey) : [x1 - x0, y1 - y0];\n };\n sankey.extent = function (_) {\n return arguments.length ? (x0 = +_[0][0], x1 = +_[1][0], y0 = +_[0][1], y1 = +_[1][1], sankey) : [[x0, y0], [x1, y1]];\n };\n sankey.iterations = function (_) {\n return arguments.length ? (iterations = +_, sankey) : iterations;\n };\n // Populate the sourceLinks and targetLinks for each node.\n // Also, if the source and target are not objects, assume they are indices.\n function computeNodeLinks(graph) {\n graph.nodes.forEach(function (node, i) {\n node.index = i;\n node.sourceLinks = [];\n node.targetLinks = [];\n });\n var nodeById = d3Collection.map(graph.nodes, id);\n graph.links.forEach(function (link, i) {\n link.index = i;\n var source = link.source, target = link.target;\n if (typeof source !== \"object\")\n source = link.source = find(nodeById, source);\n if (typeof target !== \"object\")\n target = link.target = find(nodeById, target);\n source.sourceLinks.push(link);\n target.targetLinks.push(link);\n });\n }\n // Compute the value (size) of each node by summing the associated links.\n function computeNodeValues(graph) {\n graph.nodes.forEach(function (node) {\n node.value = Math.max(d3Array.sum(node.sourceLinks, value), d3Array.sum(node.targetLinks, value));\n });\n }\n // Iteratively assign the depth (x-position) for each node.\n // Nodes are assigned the maximum depth of incoming neighbors plus one;\n // nodes with no incoming links are assigned depth zero, while\n // nodes with no outgoing links are assigned the maximum depth.\n function computeNodeDepths(graph) {\n var nodes, next, x, n = graph.nodes.length;\n for (nodes = graph.nodes, next = [], x = 0; nodes.length; ++x, nodes = next, next = []) {\n if (x > n)\n throw new Error(\"circular link\");\n nodes.forEach(function (node) {\n node.depth = x;\n node.sourceLinks.forEach(function (link) {\n if (next.indexOf(link.target) < 0) {\n next.push(link.target);\n }\n });\n });\n }\n for (nodes = graph.nodes, next = [], x = 0; nodes.length; ++x, nodes = next, next = []) {\n if (x > n)\n throw new Error(\"circular link\");\n nodes.forEach(function (node) {\n node.height = x;\n node.targetLinks.forEach(function (link) {\n if (next.indexOf(link.source) < 0) {\n next.push(link.source);\n }\n });\n });\n }\n var kx = (x1 - x0 - dx) / (x - 1);\n graph.nodes.forEach(function (node) {\n node.x1 = (node.x0 = x0 + Math.max(0, Math.min(x - 1, Math.floor(align.call(null, node, x)))) * kx) + dx;\n });\n }\n function computeNodeBreadths(graph) {\n var columns = d3Collection.nest()\n .key(function (d) { return d.x0; })\n .sortKeys(d3Array.ascending)\n .entries(graph.nodes)\n .map(function (d) { return d.values; });\n //\n initializeNodeBreadth();\n resolveCollisions();\n for (var alpha = 0.9, n = iterations; n > 0; --n, alpha *= 0.9) {\n relaxRightToLeft(alpha);\n resolveCollisions();\n relaxLeftToRight(alpha);\n resolveCollisions();\n }\n function initializeNodeBreadth() {\n var ky = d3Array.min(columns, function (nodes) {\n return (y1 - y0 - (nodes.length - 1) * py) / d3Array.sum(nodes, value);\n });\n columns.forEach(function (nodes) {\n if (sort != null)\n nodes.sort(sort);\n nodes.forEach(function (node, i) {\n node.y1 = (node.y0 = i) + node.value * ky;\n });\n });\n graph.links.forEach(function (link) {\n link.width = link.value * ky;\n });\n }\n function relaxLeftToRight(alpha) {\n columns.forEach(function (nodes) {\n nodes.forEach(function (node) {\n var e_1, _a, e_2, _b;\n var y = node.y0;\n try {\n for (var _c = tslib_1.__values(node.sourceLinks.sort(ascendingTargetBreadth)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var _e = _d.value, target = _e.target, width = _e.width, value_1 = _e.value;\n if (value_1 > 0) {\n var dy = 0;\n try {\n for (var _f = (e_2 = void 0, tslib_1.__values(target.targetLinks)), _g = _f.next(); !_g.done; _g = _f.next()) {\n var _h = _g.value, source = _h.source, width_1 = _h.width;\n if (source === node)\n break;\n dy += width_1 + py / 2;\n }\n }\n catch (e_2_1) { e_2 = { error: e_2_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_2) throw e_2.error; }\n }\n dy = (y - dy - target.y0) * alpha * (value_1 / Math.min(node.value, target.value));\n target.y0 += dy;\n target.y1 += dy;\n }\n y += width + py / 2;\n }\n }\n catch (e_1_1) { e_1 = { error: e_1_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_1) throw e_1.error; }\n }\n });\n });\n }\n function relaxRightToLeft(alpha) {\n columns.slice().reverse().forEach(function (nodes) {\n nodes.forEach(function (node) {\n var e_3, _a, e_4, _b;\n var y = node.y0;\n try {\n for (var _c = tslib_1.__values(node.targetLinks.sort(ascendingSourceBreadth)), _d = _c.next(); !_d.done; _d = _c.next()) {\n var _e = _d.value, source = _e.source, width = _e.width, value_2 = _e.value;\n if (value_2 > 0) {\n var dy = 0;\n try {\n for (var _f = (e_4 = void 0, tslib_1.__values(source.sourceLinks)), _g = _f.next(); !_g.done; _g = _f.next()) {\n var _h = _g.value, target = _h.target, width_2 = _h.width;\n if (target === node)\n break;\n dy += width_2 + py / 2;\n }\n }\n catch (e_4_1) { e_4 = { error: e_4_1 }; }\n finally {\n try {\n if (_g && !_g.done && (_b = _f.return)) _b.call(_f);\n }\n finally { if (e_4) throw e_4.error; }\n }\n dy = (y - dy - source.y0) * alpha * (value_2 / Math.min(node.value, source.value));\n source.y0 += dy;\n source.y1 += dy;\n }\n y += width + py / 2;\n }\n }\n catch (e_3_1) { e_3 = { error: e_3_1 }; }\n finally {\n try {\n if (_d && !_d.done && (_a = _c.return)) _a.call(_c);\n }\n finally { if (e_3) throw e_3.error; }\n }\n });\n });\n }\n function resolveCollisions() {\n columns.forEach(function (nodes) {\n var node, dy, y = y0, n = nodes.length, i;\n // Push any overlapping nodes down.\n if (sort === undefined)\n nodes.sort(ascendingBreadth);\n for (i = 0; i < n; ++i) {\n node = nodes[i];\n dy = y - node.y0;\n if (dy > 0)\n node.y0 += dy, node.y1 += dy;\n y = node.y1 + py;\n }\n // If the bottommost node goes outside the bounds, push it back up.\n dy = y - py - y1;\n if (dy > 0) {\n y = (node.y0 -= dy), node.y1 -= dy;\n // Push any overlapping nodes back up.\n for (i = n - 2; i >= 0; --i) {\n node = nodes[i];\n dy = node.y1 + py - y;\n if (dy > 0)\n node.y0 -= dy, node.y1 -= dy;\n y = node.y0;\n }\n }\n });\n }\n }\n function computeLinkBreadths(graph) {\n graph.nodes.forEach(function (node) {\n node.sourceLinks.sort(ascendingTargetBreadth);\n node.targetLinks.sort(ascendingSourceBreadth);\n });\n graph.nodes.forEach(function (node) {\n var y0 = node.y0, y1 = y0;\n node.sourceLinks.forEach(function (link) {\n link.y0 = y0 + link.width / 2, y0 += link.width;\n });\n node.targetLinks.forEach(function (link) {\n link.y1 = y1 + link.width / 2, y1 += link.width;\n });\n });\n }\n return sankey;\n }\n function horizontalSource(d) {\n return [d.source.x1, d.y0];\n }\n function horizontalTarget(d) {\n return [d.target.x0, d.y1];\n }\n function sankeyLinkHorizontal() {\n return d3Shape.linkHorizontal()\n .source(horizontalSource)\n .target(horizontalTarget);\n }\n exports.sankey = Sankey;\n exports.sankeyCenter = center;\n exports.sankeyLeft = left;\n exports.sankeyRight = right;\n exports.sankeyJustify = justify;\n exports.sankeyLinkHorizontal = sankeyLinkHorizontal;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-shape/dist/d3-shape.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "name": "./node_modules/d3-shape/dist/d3-shape.js", + "index": 476, + "index2": 474, + "size": 64711, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "issuerId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + } + ], + "profile": { + "factory": 605, + "building": 428 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "d3-shape", + "loc": "4:131-150" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "// https://d3js.org/d3-shape/ v1.3.7 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('d3-path')) :\n typeof define === 'function' && define.amd ? define(['exports', 'd3-path'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}, global.d3));\n}(this, function (exports, d3Path) {\n 'use strict';\n function constant(x) {\n return function constant() {\n return x;\n };\n }\n var abs = Math.abs;\n var atan2 = Math.atan2;\n var cos = Math.cos;\n var max = Math.max;\n var min = Math.min;\n var sin = Math.sin;\n var sqrt = Math.sqrt;\n var epsilon = 1e-12;\n var pi = Math.PI;\n var halfPi = pi / 2;\n var tau = 2 * pi;\n function acos(x) {\n return x > 1 ? 0 : x < -1 ? pi : Math.acos(x);\n }\n function asin(x) {\n return x >= 1 ? halfPi : x <= -1 ? -halfPi : Math.asin(x);\n }\n function arcInnerRadius(d) {\n return d.innerRadius;\n }\n function arcOuterRadius(d) {\n return d.outerRadius;\n }\n function arcStartAngle(d) {\n return d.startAngle;\n }\n function arcEndAngle(d) {\n return d.endAngle;\n }\n function arcPadAngle(d) {\n return d && d.padAngle; // Note: optional!\n }\n function intersect(x0, y0, x1, y1, x2, y2, x3, y3) {\n var x10 = x1 - x0, y10 = y1 - y0, x32 = x3 - x2, y32 = y3 - y2, t = y32 * x10 - x32 * y10;\n if (t * t < epsilon)\n return;\n t = (x32 * (y0 - y2) - y32 * (x0 - x2)) / t;\n return [x0 + t * x10, y0 + t * y10];\n }\n // Compute perpendicular offset line of length rc.\n // http://mathworld.wolfram.com/Circle-LineIntersection.html\n function cornerTangents(x0, y0, x1, y1, r1, rc, cw) {\n var x01 = x0 - x1, y01 = y0 - y1, lo = (cw ? rc : -rc) / sqrt(x01 * x01 + y01 * y01), ox = lo * y01, oy = -lo * x01, x11 = x0 + ox, y11 = y0 + oy, x10 = x1 + ox, y10 = y1 + oy, x00 = (x11 + x10) / 2, y00 = (y11 + y10) / 2, dx = x10 - x11, dy = y10 - y11, d2 = dx * dx + dy * dy, r = r1 - rc, D = x11 * y10 - x10 * y11, d = (dy < 0 ? -1 : 1) * sqrt(max(0, r * r * d2 - D * D)), cx0 = (D * dy - dx * d) / d2, cy0 = (-D * dx - dy * d) / d2, cx1 = (D * dy + dx * d) / d2, cy1 = (-D * dx + dy * d) / d2, dx0 = cx0 - x00, dy0 = cy0 - y00, dx1 = cx1 - x00, dy1 = cy1 - y00;\n // Pick the closer of the two intersection points.\n // TODO Is there a faster way to determine which intersection to use?\n if (dx0 * dx0 + dy0 * dy0 > dx1 * dx1 + dy1 * dy1)\n cx0 = cx1, cy0 = cy1;\n return {\n cx: cx0,\n cy: cy0,\n x01: -ox,\n y01: -oy,\n x11: cx0 * (r1 / r - 1),\n y11: cy0 * (r1 / r - 1)\n };\n }\n function arc() {\n var innerRadius = arcInnerRadius, outerRadius = arcOuterRadius, cornerRadius = constant(0), padRadius = null, startAngle = arcStartAngle, endAngle = arcEndAngle, padAngle = arcPadAngle, context = null;\n function arc() {\n var buffer, r, r0 = +innerRadius.apply(this, arguments), r1 = +outerRadius.apply(this, arguments), a0 = startAngle.apply(this, arguments) - halfPi, a1 = endAngle.apply(this, arguments) - halfPi, da = abs(a1 - a0), cw = a1 > a0;\n if (!context)\n context = buffer = d3Path.path();\n // Ensure that the outer radius is always larger than the inner radius.\n if (r1 < r0)\n r = r1, r1 = r0, r0 = r;\n // Is it a point?\n if (!(r1 > epsilon))\n context.moveTo(0, 0);\n // Or is it a circle or annulus?\n else if (da > tau - epsilon) {\n context.moveTo(r1 * cos(a0), r1 * sin(a0));\n context.arc(0, 0, r1, a0, a1, !cw);\n if (r0 > epsilon) {\n context.moveTo(r0 * cos(a1), r0 * sin(a1));\n context.arc(0, 0, r0, a1, a0, cw);\n }\n }\n // Or is it a circular or annular sector?\n else {\n var a01 = a0, a11 = a1, a00 = a0, a10 = a1, da0 = da, da1 = da, ap = padAngle.apply(this, arguments) / 2, rp = (ap > epsilon) && (padRadius ? +padRadius.apply(this, arguments) : sqrt(r0 * r0 + r1 * r1)), rc = min(abs(r1 - r0) / 2, +cornerRadius.apply(this, arguments)), rc0 = rc, rc1 = rc, t0, t1;\n // Apply padding? Note that since r1 ≥ r0, da1 ≥ da0.\n if (rp > epsilon) {\n var p0 = asin(rp / r0 * sin(ap)), p1 = asin(rp / r1 * sin(ap));\n if ((da0 -= p0 * 2) > epsilon)\n p0 *= (cw ? 1 : -1), a00 += p0, a10 -= p0;\n else\n da0 = 0, a00 = a10 = (a0 + a1) / 2;\n if ((da1 -= p1 * 2) > epsilon)\n p1 *= (cw ? 1 : -1), a01 += p1, a11 -= p1;\n else\n da1 = 0, a01 = a11 = (a0 + a1) / 2;\n }\n var x01 = r1 * cos(a01), y01 = r1 * sin(a01), x10 = r0 * cos(a10), y10 = r0 * sin(a10);\n // Apply rounded corners?\n if (rc > epsilon) {\n var x11 = r1 * cos(a11), y11 = r1 * sin(a11), x00 = r0 * cos(a00), y00 = r0 * sin(a00), oc;\n // Restrict the corner radius according to the sector angle.\n if (da < pi && (oc = intersect(x01, y01, x00, y00, x11, y11, x10, y10))) {\n var ax = x01 - oc[0], ay = y01 - oc[1], bx = x11 - oc[0], by = y11 - oc[1], kc = 1 / sin(acos((ax * bx + ay * by) / (sqrt(ax * ax + ay * ay) * sqrt(bx * bx + by * by))) / 2), lc = sqrt(oc[0] * oc[0] + oc[1] * oc[1]);\n rc0 = min(rc, (r0 - lc) / (kc - 1));\n rc1 = min(rc, (r1 - lc) / (kc + 1));\n }\n }\n // Is the sector collapsed to a line?\n if (!(da1 > epsilon))\n context.moveTo(x01, y01);\n // Does the sector’s outer ring have rounded corners?\n else if (rc1 > epsilon) {\n t0 = cornerTangents(x00, y00, x01, y01, r1, rc1, cw);\n t1 = cornerTangents(x11, y11, x10, y10, r1, rc1, cw);\n context.moveTo(t0.cx + t0.x01, t0.cy + t0.y01);\n // Have the corners merged?\n if (rc1 < rc)\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc1, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r1, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), !cw);\n context.arc(t1.cx, t1.cy, rc1, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n // Or is the outer ring just a circular arc?\n else\n context.moveTo(x01, y01), context.arc(0, 0, r1, a01, a11, !cw);\n // Is there no inner ring, and it’s a circular sector?\n // Or perhaps it’s an annular sector collapsed due to padding?\n if (!(r0 > epsilon) || !(da0 > epsilon))\n context.lineTo(x10, y10);\n // Does the sector’s inner ring (or point) have rounded corners?\n else if (rc0 > epsilon) {\n t0 = cornerTangents(x10, y10, x11, y11, r0, -rc0, cw);\n t1 = cornerTangents(x01, y01, x00, y00, r0, -rc0, cw);\n context.lineTo(t0.cx + t0.x01, t0.cy + t0.y01);\n // Have the corners merged?\n if (rc0 < rc)\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t1.y01, t1.x01), !cw);\n // Otherwise, draw the two corners and the ring.\n else {\n context.arc(t0.cx, t0.cy, rc0, atan2(t0.y01, t0.x01), atan2(t0.y11, t0.x11), !cw);\n context.arc(0, 0, r0, atan2(t0.cy + t0.y11, t0.cx + t0.x11), atan2(t1.cy + t1.y11, t1.cx + t1.x11), cw);\n context.arc(t1.cx, t1.cy, rc0, atan2(t1.y11, t1.x11), atan2(t1.y01, t1.x01), !cw);\n }\n }\n // Or is the inner ring just a circular arc?\n else\n context.arc(0, 0, r0, a10, a00, cw);\n }\n context.closePath();\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n arc.centroid = function () {\n var r = (+innerRadius.apply(this, arguments) + +outerRadius.apply(this, arguments)) / 2, a = (+startAngle.apply(this, arguments) + +endAngle.apply(this, arguments)) / 2 - pi / 2;\n return [cos(a) * r, sin(a) * r];\n };\n arc.innerRadius = function (_) {\n return arguments.length ? (innerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : innerRadius;\n };\n arc.outerRadius = function (_) {\n return arguments.length ? (outerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : outerRadius;\n };\n arc.cornerRadius = function (_) {\n return arguments.length ? (cornerRadius = typeof _ === \"function\" ? _ : constant(+_), arc) : cornerRadius;\n };\n arc.padRadius = function (_) {\n return arguments.length ? (padRadius = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), arc) : padRadius;\n };\n arc.startAngle = function (_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : startAngle;\n };\n arc.endAngle = function (_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : endAngle;\n };\n arc.padAngle = function (_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), arc) : padAngle;\n };\n arc.context = function (_) {\n return arguments.length ? ((context = _ == null ? null : _), arc) : context;\n };\n return arc;\n }\n function Linear(context) {\n this._context = context;\n }\n Linear.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1: this._point = 2; // proceed\n default:\n this._context.lineTo(x, y);\n break;\n }\n }\n };\n function curveLinear(context) {\n return new Linear(context);\n }\n function x(p) {\n return p[0];\n }\n function y(p) {\n return p[1];\n }\n function line() {\n var x$1 = x, y$1 = y, defined = constant(true), context = null, curve = curveLinear, output = null;\n function line(data) {\n var i, n = data.length, d, defined0 = false, buffer;\n if (context == null)\n output = curve(buffer = d3Path.path());\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0)\n output.lineStart();\n else\n output.lineEnd();\n }\n if (defined0)\n output.point(+x$1(d, i, data), +y$1(d, i, data));\n }\n if (buffer)\n return output = null, buffer + \"\" || null;\n }\n line.x = function (_) {\n return arguments.length ? (x$1 = typeof _ === \"function\" ? _ : constant(+_), line) : x$1;\n };\n line.y = function (_) {\n return arguments.length ? (y$1 = typeof _ === \"function\" ? _ : constant(+_), line) : y$1;\n };\n line.defined = function (_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), line) : defined;\n };\n line.curve = function (_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), line) : curve;\n };\n line.context = function (_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), line) : context;\n };\n return line;\n }\n function area() {\n var x0 = x, x1 = null, y0 = constant(0), y1 = y, defined = constant(true), context = null, curve = curveLinear, output = null;\n function area(data) {\n var i, j, k, n = data.length, d, defined0 = false, buffer, x0z = new Array(n), y0z = new Array(n);\n if (context == null)\n output = curve(buffer = d3Path.path());\n for (i = 0; i <= n; ++i) {\n if (!(i < n && defined(d = data[i], i, data)) === defined0) {\n if (defined0 = !defined0) {\n j = i;\n output.areaStart();\n output.lineStart();\n }\n else {\n output.lineEnd();\n output.lineStart();\n for (k = i - 1; k >= j; --k) {\n output.point(x0z[k], y0z[k]);\n }\n output.lineEnd();\n output.areaEnd();\n }\n }\n if (defined0) {\n x0z[i] = +x0(d, i, data), y0z[i] = +y0(d, i, data);\n output.point(x1 ? +x1(d, i, data) : x0z[i], y1 ? +y1(d, i, data) : y0z[i]);\n }\n }\n if (buffer)\n return output = null, buffer + \"\" || null;\n }\n function arealine() {\n return line().defined(defined).curve(curve).context(context);\n }\n area.x = function (_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), x1 = null, area) : x0;\n };\n area.x0 = function (_) {\n return arguments.length ? (x0 = typeof _ === \"function\" ? _ : constant(+_), area) : x0;\n };\n area.x1 = function (_) {\n return arguments.length ? (x1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : x1;\n };\n area.y = function (_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), y1 = null, area) : y0;\n };\n area.y0 = function (_) {\n return arguments.length ? (y0 = typeof _ === \"function\" ? _ : constant(+_), area) : y0;\n };\n area.y1 = function (_) {\n return arguments.length ? (y1 = _ == null ? null : typeof _ === \"function\" ? _ : constant(+_), area) : y1;\n };\n area.lineX0 =\n area.lineY0 = function () {\n return arealine().x(x0).y(y0);\n };\n area.lineY1 = function () {\n return arealine().x(x0).y(y1);\n };\n area.lineX1 = function () {\n return arealine().x(x1).y(y0);\n };\n area.defined = function (_) {\n return arguments.length ? (defined = typeof _ === \"function\" ? _ : constant(!!_), area) : defined;\n };\n area.curve = function (_) {\n return arguments.length ? (curve = _, context != null && (output = curve(context)), area) : curve;\n };\n area.context = function (_) {\n return arguments.length ? (_ == null ? context = output = null : output = curve(context = _), area) : context;\n };\n return area;\n }\n function descending(a, b) {\n return b < a ? -1 : b > a ? 1 : b >= a ? 0 : NaN;\n }\n function identity(d) {\n return d;\n }\n function pie() {\n var value = identity, sortValues = descending, sort = null, startAngle = constant(0), endAngle = constant(tau), padAngle = constant(0);\n function pie(data) {\n var i, n = data.length, j, k, sum = 0, index = new Array(n), arcs = new Array(n), a0 = +startAngle.apply(this, arguments), da = Math.min(tau, Math.max(-tau, endAngle.apply(this, arguments) - a0)), a1, p = Math.min(Math.abs(da) / n, padAngle.apply(this, arguments)), pa = p * (da < 0 ? -1 : 1), v;\n for (i = 0; i < n; ++i) {\n if ((v = arcs[index[i] = i] = +value(data[i], i, data)) > 0) {\n sum += v;\n }\n }\n // Optionally sort the arcs by previously-computed values or by data.\n if (sortValues != null)\n index.sort(function (i, j) { return sortValues(arcs[i], arcs[j]); });\n else if (sort != null)\n index.sort(function (i, j) { return sort(data[i], data[j]); });\n // Compute the arcs! They are stored in the original data's order.\n for (i = 0, k = sum ? (da - n * pa) / sum : 0; i < n; ++i, a0 = a1) {\n j = index[i], v = arcs[j], a1 = a0 + (v > 0 ? v * k : 0) + pa, arcs[j] = {\n data: data[j],\n index: i,\n value: v,\n startAngle: a0,\n endAngle: a1,\n padAngle: p\n };\n }\n return arcs;\n }\n pie.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), pie) : value;\n };\n pie.sortValues = function (_) {\n return arguments.length ? (sortValues = _, sort = null, pie) : sortValues;\n };\n pie.sort = function (_) {\n return arguments.length ? (sort = _, sortValues = null, pie) : sort;\n };\n pie.startAngle = function (_) {\n return arguments.length ? (startAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : startAngle;\n };\n pie.endAngle = function (_) {\n return arguments.length ? (endAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : endAngle;\n };\n pie.padAngle = function (_) {\n return arguments.length ? (padAngle = typeof _ === \"function\" ? _ : constant(+_), pie) : padAngle;\n };\n return pie;\n }\n var curveRadialLinear = curveRadial(curveLinear);\n function Radial(curve) {\n this._curve = curve;\n }\n Radial.prototype = {\n areaStart: function () {\n this._curve.areaStart();\n },\n areaEnd: function () {\n this._curve.areaEnd();\n },\n lineStart: function () {\n this._curve.lineStart();\n },\n lineEnd: function () {\n this._curve.lineEnd();\n },\n point: function (a, r) {\n this._curve.point(r * Math.sin(a), r * -Math.cos(a));\n }\n };\n function curveRadial(curve) {\n function radial(context) {\n return new Radial(curve(context));\n }\n radial._curve = curve;\n return radial;\n }\n function lineRadial(l) {\n var c = l.curve;\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n l.curve = function (_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n return l;\n }\n function lineRadial$1() {\n return lineRadial(line().curve(curveRadialLinear));\n }\n function areaRadial() {\n var a = area().curve(curveRadialLinear), c = a.curve, x0 = a.lineX0, x1 = a.lineX1, y0 = a.lineY0, y1 = a.lineY1;\n a.angle = a.x, delete a.x;\n a.startAngle = a.x0, delete a.x0;\n a.endAngle = a.x1, delete a.x1;\n a.radius = a.y, delete a.y;\n a.innerRadius = a.y0, delete a.y0;\n a.outerRadius = a.y1, delete a.y1;\n a.lineStartAngle = function () { return lineRadial(x0()); }, delete a.lineX0;\n a.lineEndAngle = function () { return lineRadial(x1()); }, delete a.lineX1;\n a.lineInnerRadius = function () { return lineRadial(y0()); }, delete a.lineY0;\n a.lineOuterRadius = function () { return lineRadial(y1()); }, delete a.lineY1;\n a.curve = function (_) {\n return arguments.length ? c(curveRadial(_)) : c()._curve;\n };\n return a;\n }\n function pointRadial(x, y) {\n return [(y = +y) * Math.cos(x -= Math.PI / 2), y * Math.sin(x)];\n }\n var slice = Array.prototype.slice;\n function linkSource(d) {\n return d.source;\n }\n function linkTarget(d) {\n return d.target;\n }\n function link(curve) {\n var source = linkSource, target = linkTarget, x$1 = x, y$1 = y, context = null;\n function link() {\n var buffer, argv = slice.call(arguments), s = source.apply(this, argv), t = target.apply(this, argv);\n if (!context)\n context = buffer = d3Path.path();\n curve(context, +x$1.apply(this, (argv[0] = s, argv)), +y$1.apply(this, argv), +x$1.apply(this, (argv[0] = t, argv)), +y$1.apply(this, argv));\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n link.source = function (_) {\n return arguments.length ? (source = _, link) : source;\n };\n link.target = function (_) {\n return arguments.length ? (target = _, link) : target;\n };\n link.x = function (_) {\n return arguments.length ? (x$1 = typeof _ === \"function\" ? _ : constant(+_), link) : x$1;\n };\n link.y = function (_) {\n return arguments.length ? (y$1 = typeof _ === \"function\" ? _ : constant(+_), link) : y$1;\n };\n link.context = function (_) {\n return arguments.length ? ((context = _ == null ? null : _), link) : context;\n };\n return link;\n }\n function curveHorizontal(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0 = (x0 + x1) / 2, y0, x0, y1, x1, y1);\n }\n function curveVertical(context, x0, y0, x1, y1) {\n context.moveTo(x0, y0);\n context.bezierCurveTo(x0, y0 = (y0 + y1) / 2, x1, y0, x1, y1);\n }\n function curveRadial$1(context, x0, y0, x1, y1) {\n var p0 = pointRadial(x0, y0), p1 = pointRadial(x0, y0 = (y0 + y1) / 2), p2 = pointRadial(x1, y0), p3 = pointRadial(x1, y1);\n context.moveTo(p0[0], p0[1]);\n context.bezierCurveTo(p1[0], p1[1], p2[0], p2[1], p3[0], p3[1]);\n }\n function linkHorizontal() {\n return link(curveHorizontal);\n }\n function linkVertical() {\n return link(curveVertical);\n }\n function linkRadial() {\n var l = link(curveRadial$1);\n l.angle = l.x, delete l.x;\n l.radius = l.y, delete l.y;\n return l;\n }\n var circle = {\n draw: function (context, size) {\n var r = Math.sqrt(size / pi);\n context.moveTo(r, 0);\n context.arc(0, 0, r, 0, tau);\n }\n };\n var cross = {\n draw: function (context, size) {\n var r = Math.sqrt(size / 5) / 2;\n context.moveTo(-3 * r, -r);\n context.lineTo(-r, -r);\n context.lineTo(-r, -3 * r);\n context.lineTo(r, -3 * r);\n context.lineTo(r, -r);\n context.lineTo(3 * r, -r);\n context.lineTo(3 * r, r);\n context.lineTo(r, r);\n context.lineTo(r, 3 * r);\n context.lineTo(-r, 3 * r);\n context.lineTo(-r, r);\n context.lineTo(-3 * r, r);\n context.closePath();\n }\n };\n var tan30 = Math.sqrt(1 / 3), tan30_2 = tan30 * 2;\n var diamond = {\n draw: function (context, size) {\n var y = Math.sqrt(size / tan30_2), x = y * tan30;\n context.moveTo(0, -y);\n context.lineTo(x, 0);\n context.lineTo(0, y);\n context.lineTo(-x, 0);\n context.closePath();\n }\n };\n var ka = 0.89081309152928522810, kr = Math.sin(pi / 10) / Math.sin(7 * pi / 10), kx = Math.sin(tau / 10) * kr, ky = -Math.cos(tau / 10) * kr;\n var star = {\n draw: function (context, size) {\n var r = Math.sqrt(size * ka), x = kx * r, y = ky * r;\n context.moveTo(0, -r);\n context.lineTo(x, y);\n for (var i = 1; i < 5; ++i) {\n var a = tau * i / 5, c = Math.cos(a), s = Math.sin(a);\n context.lineTo(s * r, -c * r);\n context.lineTo(c * x - s * y, s * x + c * y);\n }\n context.closePath();\n }\n };\n var square = {\n draw: function (context, size) {\n var w = Math.sqrt(size), x = -w / 2;\n context.rect(x, x, w, w);\n }\n };\n var sqrt3 = Math.sqrt(3);\n var triangle = {\n draw: function (context, size) {\n var y = -Math.sqrt(size / (sqrt3 * 3));\n context.moveTo(0, y * 2);\n context.lineTo(-sqrt3 * y, -y);\n context.lineTo(sqrt3 * y, -y);\n context.closePath();\n }\n };\n var c = -0.5, s = Math.sqrt(3) / 2, k = 1 / Math.sqrt(12), a = (k / 2 + 1) * 3;\n var wye = {\n draw: function (context, size) {\n var r = Math.sqrt(size / a), x0 = r / 2, y0 = r * k, x1 = x0, y1 = r * k + r, x2 = -x1, y2 = y1;\n context.moveTo(x0, y0);\n context.lineTo(x1, y1);\n context.lineTo(x2, y2);\n context.lineTo(c * x0 - s * y0, s * x0 + c * y0);\n context.lineTo(c * x1 - s * y1, s * x1 + c * y1);\n context.lineTo(c * x2 - s * y2, s * x2 + c * y2);\n context.lineTo(c * x0 + s * y0, c * y0 - s * x0);\n context.lineTo(c * x1 + s * y1, c * y1 - s * x1);\n context.lineTo(c * x2 + s * y2, c * y2 - s * x2);\n context.closePath();\n }\n };\n var symbols = [\n circle,\n cross,\n diamond,\n square,\n star,\n triangle,\n wye\n ];\n function symbol() {\n var type = constant(circle), size = constant(64), context = null;\n function symbol() {\n var buffer;\n if (!context)\n context = buffer = d3Path.path();\n type.apply(this, arguments).draw(context, +size.apply(this, arguments));\n if (buffer)\n return context = null, buffer + \"\" || null;\n }\n symbol.type = function (_) {\n return arguments.length ? (type = typeof _ === \"function\" ? _ : constant(_), symbol) : type;\n };\n symbol.size = function (_) {\n return arguments.length ? (size = typeof _ === \"function\" ? _ : constant(+_), symbol) : size;\n };\n symbol.context = function (_) {\n return arguments.length ? (context = _ == null ? null : _, symbol) : context;\n };\n return symbol;\n }\n function noop() { }\n function point(that, x, y) {\n that._context.bezierCurveTo((2 * that._x0 + that._x1) / 3, (2 * that._y0 + that._y1) / 3, (that._x0 + 2 * that._x1) / 3, (that._y0 + 2 * that._y1) / 3, (that._x0 + 4 * that._x1 + x) / 6, (that._y0 + 4 * that._y1 + y) / 6);\n }\n function Basis(context) {\n this._context = context;\n }\n Basis.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 3: point(this, this._x1, this._y1); // proceed\n case 2:\n this._context.lineTo(this._x1, this._y1);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._context.lineTo((5 * this._x0 + this._x1) / 6, (5 * this._y0 + this._y1) / 6); // proceed\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basis(context) {\n return new Basis(context);\n }\n function BasisClosed(context) {\n this._context = context;\n }\n BasisClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x2, this._y2);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.moveTo((this._x2 + 2 * this._x3) / 3, (this._y2 + 2 * this._y3) / 3);\n this._context.lineTo((this._x3 + 2 * this._x2) / 3, (this._y3 + 2 * this._y2) / 3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x2, this._y2);\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x2 = x, this._y2 = y;\n break;\n case 1:\n this._point = 2;\n this._x3 = x, this._y3 = y;\n break;\n case 2:\n this._point = 3;\n this._x4 = x, this._y4 = y;\n this._context.moveTo((this._x0 + 4 * this._x1 + x) / 6, (this._y0 + 4 * this._y1 + y) / 6);\n break;\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basisClosed(context) {\n return new BasisClosed(context);\n }\n function BasisOpen(context) {\n this._context = context;\n }\n BasisOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n var x0 = (this._x0 + 4 * this._x1 + x) / 6, y0 = (this._y0 + 4 * this._y1 + y) / 6;\n this._line ? this._context.lineTo(x0, y0) : this._context.moveTo(x0, y0);\n break;\n case 3: this._point = 4; // proceed\n default:\n point(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n }\n };\n function basisOpen(context) {\n return new BasisOpen(context);\n }\n function Bundle(context, beta) {\n this._basis = new Basis(context);\n this._beta = beta;\n }\n Bundle.prototype = {\n lineStart: function () {\n this._x = [];\n this._y = [];\n this._basis.lineStart();\n },\n lineEnd: function () {\n var x = this._x, y = this._y, j = x.length - 1;\n if (j > 0) {\n var x0 = x[0], y0 = y[0], dx = x[j] - x0, dy = y[j] - y0, i = -1, t;\n while (++i <= j) {\n t = i / j;\n this._basis.point(this._beta * x[i] + (1 - this._beta) * (x0 + t * dx), this._beta * y[i] + (1 - this._beta) * (y0 + t * dy));\n }\n }\n this._x = this._y = null;\n this._basis.lineEnd();\n },\n point: function (x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n };\n var bundle = (function custom(beta) {\n function bundle(context) {\n return beta === 1 ? new Basis(context) : new Bundle(context, beta);\n }\n bundle.beta = function (beta) {\n return custom(+beta);\n };\n return bundle;\n })(0.85);\n function point$1(that, x, y) {\n that._context.bezierCurveTo(that._x1 + that._k * (that._x2 - that._x0), that._y1 + that._k * (that._y2 - that._y0), that._x2 + that._k * (that._x1 - x), that._y2 + that._k * (that._y1 - y), that._x2, that._y2);\n }\n function Cardinal(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n Cardinal.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x2, this._y2);\n break;\n case 3:\n point$1(this, this._x1, this._y1);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n this._x1 = x, this._y1 = y;\n break;\n case 2: this._point = 3; // proceed\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinal = (function custom(tension) {\n function cardinal(context) {\n return new Cardinal(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function CardinalClosed(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n CardinalClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x3 = x, this._y3 = y;\n break;\n case 1:\n this._point = 2;\n this._context.moveTo(this._x4 = x, this._y4 = y);\n break;\n case 2:\n this._point = 3;\n this._x5 = x, this._y5 = y;\n break;\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinalClosed = (function custom(tension) {\n function cardinal(context) {\n return new CardinalClosed(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function CardinalOpen(context, tension) {\n this._context = context;\n this._k = (1 - tension) / 6;\n }\n CardinalOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);\n break;\n case 3: this._point = 4; // proceed\n default:\n point$1(this, x, y);\n break;\n }\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var cardinalOpen = (function custom(tension) {\n function cardinal(context) {\n return new CardinalOpen(context, tension);\n }\n cardinal.tension = function (tension) {\n return custom(+tension);\n };\n return cardinal;\n })(0);\n function point$2(that, x, y) {\n var x1 = that._x1, y1 = that._y1, x2 = that._x2, y2 = that._y2;\n if (that._l01_a > epsilon) {\n var a = 2 * that._l01_2a + 3 * that._l01_a * that._l12_a + that._l12_2a, n = 3 * that._l01_a * (that._l01_a + that._l12_a);\n x1 = (x1 * a - that._x0 * that._l12_2a + that._x2 * that._l01_2a) / n;\n y1 = (y1 * a - that._y0 * that._l12_2a + that._y2 * that._l01_2a) / n;\n }\n if (that._l23_a > epsilon) {\n var b = 2 * that._l23_2a + 3 * that._l23_a * that._l12_a + that._l12_2a, m = 3 * that._l23_a * (that._l23_a + that._l12_a);\n x2 = (x2 * b + that._x1 * that._l23_2a - x * that._l12_2a) / m;\n y2 = (y2 * b + that._y1 * that._l23_2a - y * that._l12_2a) / m;\n }\n that._context.bezierCurveTo(x1, y1, x2, y2, that._x2, that._y2);\n }\n function CatmullRom(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRom.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x2, this._y2);\n break;\n case 3:\n this.point(this._x2, this._y2);\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2: this._point = 3; // proceed\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRom = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRom(context, alpha) : new Cardinal(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function CatmullRomClosed(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRomClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._x0 = this._x1 = this._x2 = this._x3 = this._x4 = this._x5 =\n this._y0 = this._y1 = this._y2 = this._y3 = this._y4 = this._y5 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 1: {\n this._context.moveTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 2: {\n this._context.lineTo(this._x3, this._y3);\n this._context.closePath();\n break;\n }\n case 3: {\n this.point(this._x3, this._y3);\n this.point(this._x4, this._y4);\n this.point(this._x5, this._y5);\n break;\n }\n }\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n this._x3 = x, this._y3 = y;\n break;\n case 1:\n this._point = 2;\n this._context.moveTo(this._x4 = x, this._y4 = y);\n break;\n case 2:\n this._point = 3;\n this._x5 = x, this._y5 = y;\n break;\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRomClosed = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRomClosed(context, alpha) : new CardinalClosed(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function CatmullRomOpen(context, alpha) {\n this._context = context;\n this._alpha = alpha;\n }\n CatmullRomOpen.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 = this._x2 =\n this._y0 = this._y1 = this._y2 = NaN;\n this._l01_a = this._l12_a = this._l23_a =\n this._l01_2a = this._l12_2a = this._l23_2a =\n this._point = 0;\n },\n lineEnd: function () {\n if (this._line || (this._line !== 0 && this._point === 3))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point) {\n var x23 = this._x2 - x, y23 = this._y2 - y;\n this._l23_a = Math.sqrt(this._l23_2a = Math.pow(x23 * x23 + y23 * y23, this._alpha));\n }\n switch (this._point) {\n case 0:\n this._point = 1;\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n this._line ? this._context.lineTo(this._x2, this._y2) : this._context.moveTo(this._x2, this._y2);\n break;\n case 3: this._point = 4; // proceed\n default:\n point$2(this, x, y);\n break;\n }\n this._l01_a = this._l12_a, this._l12_a = this._l23_a;\n this._l01_2a = this._l12_2a, this._l12_2a = this._l23_2a;\n this._x0 = this._x1, this._x1 = this._x2, this._x2 = x;\n this._y0 = this._y1, this._y1 = this._y2, this._y2 = y;\n }\n };\n var catmullRomOpen = (function custom(alpha) {\n function catmullRom(context) {\n return alpha ? new CatmullRomOpen(context, alpha) : new CardinalOpen(context, 0);\n }\n catmullRom.alpha = function (alpha) {\n return custom(+alpha);\n };\n return catmullRom;\n })(0.5);\n function LinearClosed(context) {\n this._context = context;\n }\n LinearClosed.prototype = {\n areaStart: noop,\n areaEnd: noop,\n lineStart: function () {\n this._point = 0;\n },\n lineEnd: function () {\n if (this._point)\n this._context.closePath();\n },\n point: function (x, y) {\n x = +x, y = +y;\n if (this._point)\n this._context.lineTo(x, y);\n else\n this._point = 1, this._context.moveTo(x, y);\n }\n };\n function linearClosed(context) {\n return new LinearClosed(context);\n }\n function sign(x) {\n return x < 0 ? -1 : 1;\n }\n // Calculate the slopes of the tangents (Hermite-type interpolation) based on\n // the following paper: Steffen, M. 1990. A Simple Method for Monotonic\n // Interpolation in One Dimension. Astronomy and Astrophysics, Vol. 239, NO.\n // NOV(II), P. 443, 1990.\n function slope3(that, x2, y2) {\n var h0 = that._x1 - that._x0, h1 = x2 - that._x1, s0 = (that._y1 - that._y0) / (h0 || h1 < 0 && -0), s1 = (y2 - that._y1) / (h1 || h0 < 0 && -0), p = (s0 * h1 + s1 * h0) / (h0 + h1);\n return (sign(s0) + sign(s1)) * Math.min(Math.abs(s0), Math.abs(s1), 0.5 * Math.abs(p)) || 0;\n }\n // Calculate a one-sided slope.\n function slope2(that, t) {\n var h = that._x1 - that._x0;\n return h ? (3 * (that._y1 - that._y0) / h - t) / 2 : t;\n }\n // According to https://en.wikipedia.org/wiki/Cubic_Hermite_spline#Representations\n // \"you can express cubic Hermite interpolation in terms of cubic Bézier curves\n // with respect to the four values p0, p0 + m0 / 3, p1 - m1 / 3, p1\".\n function point$3(that, t0, t1) {\n var x0 = that._x0, y0 = that._y0, x1 = that._x1, y1 = that._y1, dx = (x1 - x0) / 3;\n that._context.bezierCurveTo(x0 + dx, y0 + dx * t0, x1 - dx, y1 - dx * t1, x1, y1);\n }\n function MonotoneX(context) {\n this._context = context;\n }\n MonotoneX.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x0 = this._x1 =\n this._y0 = this._y1 =\n this._t0 = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n switch (this._point) {\n case 2:\n this._context.lineTo(this._x1, this._y1);\n break;\n case 3:\n point$3(this, this._t0, slope2(this, this._t0));\n break;\n }\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n },\n point: function (x, y) {\n var t1 = NaN;\n x = +x, y = +y;\n if (x === this._x1 && y === this._y1)\n return; // Ignore coincident points.\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1:\n this._point = 2;\n break;\n case 2:\n this._point = 3;\n point$3(this, slope2(this, t1 = slope3(this, x, y)), t1);\n break;\n default:\n point$3(this, this._t0, t1 = slope3(this, x, y));\n break;\n }\n this._x0 = this._x1, this._x1 = x;\n this._y0 = this._y1, this._y1 = y;\n this._t0 = t1;\n }\n };\n function MonotoneY(context) {\n this._context = new ReflectContext(context);\n }\n (MonotoneY.prototype = Object.create(MonotoneX.prototype)).point = function (x, y) {\n MonotoneX.prototype.point.call(this, y, x);\n };\n function ReflectContext(context) {\n this._context = context;\n }\n ReflectContext.prototype = {\n moveTo: function (x, y) { this._context.moveTo(y, x); },\n closePath: function () { this._context.closePath(); },\n lineTo: function (x, y) { this._context.lineTo(y, x); },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) { this._context.bezierCurveTo(y1, x1, y2, x2, y, x); }\n };\n function monotoneX(context) {\n return new MonotoneX(context);\n }\n function monotoneY(context) {\n return new MonotoneY(context);\n }\n function Natural(context) {\n this._context = context;\n }\n Natural.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x = [];\n this._y = [];\n },\n lineEnd: function () {\n var x = this._x, y = this._y, n = x.length;\n if (n) {\n this._line ? this._context.lineTo(x[0], y[0]) : this._context.moveTo(x[0], y[0]);\n if (n === 2) {\n this._context.lineTo(x[1], y[1]);\n }\n else {\n var px = controlPoints(x), py = controlPoints(y);\n for (var i0 = 0, i1 = 1; i1 < n; ++i0, ++i1) {\n this._context.bezierCurveTo(px[0][i0], py[0][i0], px[1][i0], py[1][i0], x[i1], y[i1]);\n }\n }\n }\n if (this._line || (this._line !== 0 && n === 1))\n this._context.closePath();\n this._line = 1 - this._line;\n this._x = this._y = null;\n },\n point: function (x, y) {\n this._x.push(+x);\n this._y.push(+y);\n }\n };\n // See https://www.particleincell.com/2012/bezier-splines/ for derivation.\n function controlPoints(x) {\n var i, n = x.length - 1, m, a = new Array(n), b = new Array(n), r = new Array(n);\n a[0] = 0, b[0] = 2, r[0] = x[0] + 2 * x[1];\n for (i = 1; i < n - 1; ++i)\n a[i] = 1, b[i] = 4, r[i] = 4 * x[i] + 2 * x[i + 1];\n a[n - 1] = 2, b[n - 1] = 7, r[n - 1] = 8 * x[n - 1] + x[n];\n for (i = 1; i < n; ++i)\n m = a[i] / b[i - 1], b[i] -= m, r[i] -= m * r[i - 1];\n a[n - 1] = r[n - 1] / b[n - 1];\n for (i = n - 2; i >= 0; --i)\n a[i] = (r[i] - a[i + 1]) / b[i];\n b[n - 1] = (x[n] + a[n - 1]) / 2;\n for (i = 0; i < n - 1; ++i)\n b[i] = 2 * x[i + 1] - a[i + 1];\n return [a, b];\n }\n function natural(context) {\n return new Natural(context);\n }\n function Step(context, t) {\n this._context = context;\n this._t = t;\n }\n Step.prototype = {\n areaStart: function () {\n this._line = 0;\n },\n areaEnd: function () {\n this._line = NaN;\n },\n lineStart: function () {\n this._x = this._y = NaN;\n this._point = 0;\n },\n lineEnd: function () {\n if (0 < this._t && this._t < 1 && this._point === 2)\n this._context.lineTo(this._x, this._y);\n if (this._line || (this._line !== 0 && this._point === 1))\n this._context.closePath();\n if (this._line >= 0)\n this._t = 1 - this._t, this._line = 1 - this._line;\n },\n point: function (x, y) {\n x = +x, y = +y;\n switch (this._point) {\n case 0:\n this._point = 1;\n this._line ? this._context.lineTo(x, y) : this._context.moveTo(x, y);\n break;\n case 1: this._point = 2; // proceed\n default: {\n if (this._t <= 0) {\n this._context.lineTo(this._x, y);\n this._context.lineTo(x, y);\n }\n else {\n var x1 = this._x * (1 - this._t) + x * this._t;\n this._context.lineTo(x1, this._y);\n this._context.lineTo(x1, y);\n }\n break;\n }\n }\n this._x = x, this._y = y;\n }\n };\n function step(context) {\n return new Step(context, 0.5);\n }\n function stepBefore(context) {\n return new Step(context, 0);\n }\n function stepAfter(context) {\n return new Step(context, 1);\n }\n function none(series, order) {\n if (!((n = series.length) > 1))\n return;\n for (var i = 1, j, s0, s1 = series[order[0]], n, m = s1.length; i < n; ++i) {\n s0 = s1, s1 = series[order[i]];\n for (j = 0; j < m; ++j) {\n s1[j][1] += s1[j][0] = isNaN(s0[j][1]) ? s0[j][0] : s0[j][1];\n }\n }\n }\n function none$1(series) {\n var n = series.length, o = new Array(n);\n while (--n >= 0)\n o[n] = n;\n return o;\n }\n function stackValue(d, key) {\n return d[key];\n }\n function stack() {\n var keys = constant([]), order = none$1, offset = none, value = stackValue;\n function stack(data) {\n var kz = keys.apply(this, arguments), i, m = data.length, n = kz.length, sz = new Array(n), oz;\n for (i = 0; i < n; ++i) {\n for (var ki = kz[i], si = sz[i] = new Array(m), j = 0, sij; j < m; ++j) {\n si[j] = sij = [0, +value(data[j], ki, j, data)];\n sij.data = data[j];\n }\n si.key = ki;\n }\n for (i = 0, oz = order(sz); i < n; ++i) {\n sz[oz[i]].index = i;\n }\n offset(sz, oz);\n return sz;\n }\n stack.keys = function (_) {\n return arguments.length ? (keys = typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : keys;\n };\n stack.value = function (_) {\n return arguments.length ? (value = typeof _ === \"function\" ? _ : constant(+_), stack) : value;\n };\n stack.order = function (_) {\n return arguments.length ? (order = _ == null ? none$1 : typeof _ === \"function\" ? _ : constant(slice.call(_)), stack) : order;\n };\n stack.offset = function (_) {\n return arguments.length ? (offset = _ == null ? none : _, stack) : offset;\n };\n return stack;\n }\n function expand(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var i, n, j = 0, m = series[0].length, y; j < m; ++j) {\n for (y = i = 0; i < n; ++i)\n y += series[i][j][1] || 0;\n if (y)\n for (i = 0; i < n; ++i)\n series[i][j][1] /= y;\n }\n none(series, order);\n }\n function diverging(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var i, j = 0, d, dy, yp, yn, n, m = series[order[0]].length; j < m; ++j) {\n for (yp = yn = 0, i = 0; i < n; ++i) {\n if ((dy = (d = series[order[i]][j])[1] - d[0]) > 0) {\n d[0] = yp, d[1] = yp += dy;\n }\n else if (dy < 0) {\n d[1] = yn, d[0] = yn += dy;\n }\n else {\n d[0] = 0, d[1] = dy;\n }\n }\n }\n }\n function silhouette(series, order) {\n if (!((n = series.length) > 0))\n return;\n for (var j = 0, s0 = series[order[0]], n, m = s0.length; j < m; ++j) {\n for (var i = 0, y = 0; i < n; ++i)\n y += series[i][j][1] || 0;\n s0[j][1] += s0[j][0] = -y / 2;\n }\n none(series, order);\n }\n function wiggle(series, order) {\n if (!((n = series.length) > 0) || !((m = (s0 = series[order[0]]).length) > 0))\n return;\n for (var y = 0, j = 1, s0, m, n; j < m; ++j) {\n for (var i = 0, s1 = 0, s2 = 0; i < n; ++i) {\n var si = series[order[i]], sij0 = si[j][1] || 0, sij1 = si[j - 1][1] || 0, s3 = (sij0 - sij1) / 2;\n for (var k = 0; k < i; ++k) {\n var sk = series[order[k]], skj0 = sk[j][1] || 0, skj1 = sk[j - 1][1] || 0;\n s3 += skj0 - skj1;\n }\n s1 += sij0, s2 += s3 * sij0;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n if (s1)\n y -= s2 / s1;\n }\n s0[j - 1][1] += s0[j - 1][0] = y;\n none(series, order);\n }\n function appearance(series) {\n var peaks = series.map(peak);\n return none$1(series).sort(function (a, b) { return peaks[a] - peaks[b]; });\n }\n function peak(series) {\n var i = -1, j = 0, n = series.length, vi, vj = -Infinity;\n while (++i < n)\n if ((vi = +series[i][1]) > vj)\n vj = vi, j = i;\n return j;\n }\n function ascending(series) {\n var sums = series.map(sum);\n return none$1(series).sort(function (a, b) { return sums[a] - sums[b]; });\n }\n function sum(series) {\n var s = 0, i = -1, n = series.length, v;\n while (++i < n)\n if (v = +series[i][1])\n s += v;\n return s;\n }\n function descending$1(series) {\n return ascending(series).reverse();\n }\n function insideOut(series) {\n var n = series.length, i, j, sums = series.map(sum), order = appearance(series), top = 0, bottom = 0, tops = [], bottoms = [];\n for (i = 0; i < n; ++i) {\n j = order[i];\n if (top < bottom) {\n top += sums[j];\n tops.push(j);\n }\n else {\n bottom += sums[j];\n bottoms.push(j);\n }\n }\n return bottoms.reverse().concat(tops);\n }\n function reverse(series) {\n return none$1(series).reverse();\n }\n exports.arc = arc;\n exports.area = area;\n exports.areaRadial = areaRadial;\n exports.curveBasis = basis;\n exports.curveBasisClosed = basisClosed;\n exports.curveBasisOpen = basisOpen;\n exports.curveBundle = bundle;\n exports.curveCardinal = cardinal;\n exports.curveCardinalClosed = cardinalClosed;\n exports.curveCardinalOpen = cardinalOpen;\n exports.curveCatmullRom = catmullRom;\n exports.curveCatmullRomClosed = catmullRomClosed;\n exports.curveCatmullRomOpen = catmullRomOpen;\n exports.curveLinear = curveLinear;\n exports.curveLinearClosed = linearClosed;\n exports.curveMonotoneX = monotoneX;\n exports.curveMonotoneY = monotoneY;\n exports.curveNatural = natural;\n exports.curveStep = step;\n exports.curveStepAfter = stepAfter;\n exports.curveStepBefore = stepBefore;\n exports.line = line;\n exports.lineRadial = lineRadial$1;\n exports.linkHorizontal = linkHorizontal;\n exports.linkRadial = linkRadial;\n exports.linkVertical = linkVertical;\n exports.pie = pie;\n exports.pointRadial = pointRadial;\n exports.radialArea = areaRadial;\n exports.radialLine = lineRadial$1;\n exports.stack = stack;\n exports.stackOffsetDiverging = diverging;\n exports.stackOffsetExpand = expand;\n exports.stackOffsetNone = none;\n exports.stackOffsetSilhouette = silhouette;\n exports.stackOffsetWiggle = wiggle;\n exports.stackOrderAppearance = appearance;\n exports.stackOrderAscending = ascending;\n exports.stackOrderDescending = descending$1;\n exports.stackOrderInsideOut = insideOut;\n exports.stackOrderNone = none$1;\n exports.stackOrderReverse = reverse;\n exports.symbol = symbol;\n exports.symbolCircle = circle;\n exports.symbolCross = cross;\n exports.symbolDiamond = diamond;\n exports.symbolSquare = square;\n exports.symbolStar = star;\n exports.symbolTriangle = triangle;\n exports.symbolWye = wye;\n exports.symbols = symbols;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "name": "./node_modules/d3-shape/node_modules/d3-path/dist/d3-path.js", + "index": 477, + "index2": 473, + "size": 5217, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "issuerId": "./node_modules/d3-shape/dist/d3-shape.js", + "issuerName": "./node_modules/d3-shape/dist/d3-shape.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/d3-sankey/dist/d3-sankey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "name": "./node_modules/d3-sankey/dist/d3-sankey.js", + "profile": { + "factory": 1598, + "building": 156, + "dependencies": 451 + } + }, + { + "id": "./node_modules/d3-shape/dist/d3-shape.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "name": "./node_modules/d3-shape/dist/d3-shape.js", + "profile": { + "factory": 605, + "building": 428 + } + } + ], + "profile": { + "factory": 460, + "building": 152 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/d3-shape/dist/d3-shape.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-shape/dist/d3-shape.js", + "module": "./node_modules/d3-shape/dist/d3-shape.js", + "moduleName": "./node_modules/d3-shape/dist/d3-shape.js", + "type": "cjs require", + "userRequest": "d3-path", + "loc": "3:84-102" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "// https://d3js.org/d3-path/ v1.0.9 Copyright 2019 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (global = global || self, factory(global.d3 = global.d3 || {}));\n}(this, function (exports) {\n 'use strict';\n var pi = Math.PI, tau = 2 * pi, epsilon = 1e-6, tauEpsilon = tau - epsilon;\n function Path() {\n this._x0 = this._y0 = // start of current subpath\n this._x1 = this._y1 = null; // end of current subpath\n this._ = \"\";\n }\n function path() {\n return new Path;\n }\n Path.prototype = path.prototype = {\n constructor: Path,\n moveTo: function (x, y) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y);\n },\n closePath: function () {\n if (this._x1 !== null) {\n this._x1 = this._x0, this._y1 = this._y0;\n this._ += \"Z\";\n }\n },\n lineTo: function (x, y) {\n this._ += \"L\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n quadraticCurveTo: function (x1, y1, x, y) {\n this._ += \"Q\" + (+x1) + \",\" + (+y1) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n bezierCurveTo: function (x1, y1, x2, y2, x, y) {\n this._ += \"C\" + (+x1) + \",\" + (+y1) + \",\" + (+x2) + \",\" + (+y2) + \",\" + (this._x1 = +x) + \",\" + (this._y1 = +y);\n },\n arcTo: function (x1, y1, x2, y2, r) {\n x1 = +x1, y1 = +y1, x2 = +x2, y2 = +y2, r = +r;\n var x0 = this._x1, y0 = this._y1, x21 = x2 - x1, y21 = y2 - y1, x01 = x0 - x1, y01 = y0 - y1, l01_2 = x01 * x01 + y01 * y01;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x1,y1).\n if (this._x1 === null) {\n this._ += \"M\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Or, is (x1,y1) coincident with (x0,y0)? Do nothing.\n else if (!(l01_2 > epsilon))\n ;\n // Or, are (x0,y0), (x1,y1) and (x2,y2) collinear?\n // Equivalently, is (x1,y1) coincident with (x2,y2)?\n // Or, is the radius zero? Line to (x1,y1).\n else if (!(Math.abs(y01 * x21 - y21 * x01) > epsilon) || !r) {\n this._ += \"L\" + (this._x1 = x1) + \",\" + (this._y1 = y1);\n }\n // Otherwise, draw an arc!\n else {\n var x20 = x2 - x0, y20 = y2 - y0, l21_2 = x21 * x21 + y21 * y21, l20_2 = x20 * x20 + y20 * y20, l21 = Math.sqrt(l21_2), l01 = Math.sqrt(l01_2), l = r * Math.tan((pi - Math.acos((l21_2 + l01_2 - l20_2) / (2 * l21 * l01))) / 2), t01 = l / l01, t21 = l / l21;\n // If the start tangent is not coincident with (x0,y0), line to.\n if (Math.abs(t01 - 1) > epsilon) {\n this._ += \"L\" + (x1 + t01 * x01) + \",\" + (y1 + t01 * y01);\n }\n this._ += \"A\" + r + \",\" + r + \",0,0,\" + (+(y01 * x20 > x01 * y20)) + \",\" + (this._x1 = x1 + t21 * x21) + \",\" + (this._y1 = y1 + t21 * y21);\n }\n },\n arc: function (x, y, r, a0, a1, ccw) {\n x = +x, y = +y, r = +r, ccw = !!ccw;\n var dx = r * Math.cos(a0), dy = r * Math.sin(a0), x0 = x + dx, y0 = y + dy, cw = 1 ^ ccw, da = ccw ? a0 - a1 : a1 - a0;\n // Is the radius negative? Error.\n if (r < 0)\n throw new Error(\"negative radius: \" + r);\n // Is this path empty? Move to (x0,y0).\n if (this._x1 === null) {\n this._ += \"M\" + x0 + \",\" + y0;\n }\n // Or, is (x0,y0) not coincident with the previous point? Line to (x0,y0).\n else if (Math.abs(this._x1 - x0) > epsilon || Math.abs(this._y1 - y0) > epsilon) {\n this._ += \"L\" + x0 + \",\" + y0;\n }\n // Is this arc empty? We’re done.\n if (!r)\n return;\n // Does the angle go the wrong way? Flip the direction.\n if (da < 0)\n da = da % tau + tau;\n // Is this a complete circle? Draw two arcs to complete the circle.\n if (da > tauEpsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (x - dx) + \",\" + (y - dy) + \"A\" + r + \",\" + r + \",0,1,\" + cw + \",\" + (this._x1 = x0) + \",\" + (this._y1 = y0);\n }\n // Is this arc non-empty? Draw an arc!\n else if (da > epsilon) {\n this._ += \"A\" + r + \",\" + r + \",0,\" + (+(da >= pi)) + \",\" + cw + \",\" + (this._x1 = x + r * Math.cos(a1)) + \",\" + (this._y1 = y + r * Math.sin(a1));\n }\n },\n rect: function (x, y, w, h) {\n this._ += \"M\" + (this._x0 = this._x1 = +x) + \",\" + (this._y0 = this._y1 = +y) + \"h\" + (+w) + \"v\" + (+h) + \"h\" + (-w) + \"Z\";\n },\n toString: function () {\n return this._;\n }\n };\n exports.path = path;\n Object.defineProperty(exports, '__esModule', { value: true });\n}));\n" + }, + { + "id": "./node_modules/d3-voronoi/dist/d3-voronoi.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-voronoi/dist/d3-voronoi.js", + "name": "./node_modules/d3-voronoi/dist/d3-voronoi.js", + "index": 479, + "index2": 477, + "size": 30982, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "issuerId": "./src/transform/diagram/voronoi.ts", + "issuerName": "./src/transform/diagram/voronoi.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/voronoi.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "name": "./src/transform/diagram/voronoi.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1825, + "building": 422 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "d3-voronoi", + "loc": "4:37-58" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "// https://d3js.org/d3-voronoi/ v1.1.4 Copyright 2018 Mike Bostock\n(function (global, factory) {\n typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) :\n typeof define === 'function' && define.amd ? define(['exports'], factory) :\n (factory((global.d3 = global.d3 || {})));\n}(this, (function (exports) {\n 'use strict';\n function constant(x) {\n return function () {\n return x;\n };\n }\n function x(d) {\n return d[0];\n }\n function y(d) {\n return d[1];\n }\n function RedBlackTree() {\n this._ = null; // root node\n }\n function RedBlackNode(node) {\n node.U = // parent node\n node.C = // color - true for red, false for black\n node.L = // left node\n node.R = // right node\n node.P = // previous node\n node.N = null; // next node\n }\n RedBlackTree.prototype = {\n constructor: RedBlackTree,\n insert: function (after, node) {\n var parent, grandpa, uncle;\n if (after) {\n node.P = after;\n node.N = after.N;\n if (after.N)\n after.N.P = node;\n after.N = node;\n if (after.R) {\n after = after.R;\n while (after.L)\n after = after.L;\n after.L = node;\n }\n else {\n after.R = node;\n }\n parent = after;\n }\n else if (this._) {\n after = RedBlackFirst(this._);\n node.P = null;\n node.N = after;\n after.P = after.L = node;\n parent = after;\n }\n else {\n node.P = node.N = null;\n this._ = node;\n parent = null;\n }\n node.L = node.R = null;\n node.U = parent;\n node.C = true;\n after = node;\n while (parent && parent.C) {\n grandpa = parent.U;\n if (parent === grandpa.L) {\n uncle = grandpa.R;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n }\n else {\n if (after === parent.R) {\n RedBlackRotateLeft(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateRight(this, grandpa);\n }\n }\n else {\n uncle = grandpa.L;\n if (uncle && uncle.C) {\n parent.C = uncle.C = false;\n grandpa.C = true;\n after = grandpa;\n }\n else {\n if (after === parent.L) {\n RedBlackRotateRight(this, parent);\n after = parent;\n parent = after.U;\n }\n parent.C = false;\n grandpa.C = true;\n RedBlackRotateLeft(this, grandpa);\n }\n }\n parent = after.U;\n }\n this._.C = false;\n },\n remove: function (node) {\n if (node.N)\n node.N.P = node.P;\n if (node.P)\n node.P.N = node.N;\n node.N = node.P = null;\n var parent = node.U, sibling, left = node.L, right = node.R, next, red;\n if (!left)\n next = right;\n else if (!right)\n next = left;\n else\n next = RedBlackFirst(right);\n if (parent) {\n if (parent.L === node)\n parent.L = next;\n else\n parent.R = next;\n }\n else {\n this._ = next;\n }\n if (left && right) {\n red = next.C;\n next.C = node.C;\n next.L = left;\n left.U = next;\n if (next !== right) {\n parent = next.U;\n next.U = node.U;\n node = next.R;\n parent.L = node;\n next.R = right;\n right.U = next;\n }\n else {\n next.U = parent;\n parent = next;\n node = next.R;\n }\n }\n else {\n red = node.C;\n node = next;\n }\n if (node)\n node.U = parent;\n if (red)\n return;\n if (node && node.C) {\n node.C = false;\n return;\n }\n do {\n if (node === this._)\n break;\n if (node === parent.L) {\n sibling = parent.R;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateLeft(this, parent);\n sibling = parent.R;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.R || !sibling.R.C) {\n sibling.L.C = false;\n sibling.C = true;\n RedBlackRotateRight(this, sibling);\n sibling = parent.R;\n }\n sibling.C = parent.C;\n parent.C = sibling.R.C = false;\n RedBlackRotateLeft(this, parent);\n node = this._;\n break;\n }\n }\n else {\n sibling = parent.L;\n if (sibling.C) {\n sibling.C = false;\n parent.C = true;\n RedBlackRotateRight(this, parent);\n sibling = parent.L;\n }\n if ((sibling.L && sibling.L.C)\n || (sibling.R && sibling.R.C)) {\n if (!sibling.L || !sibling.L.C) {\n sibling.R.C = false;\n sibling.C = true;\n RedBlackRotateLeft(this, sibling);\n sibling = parent.L;\n }\n sibling.C = parent.C;\n parent.C = sibling.L.C = false;\n RedBlackRotateRight(this, parent);\n node = this._;\n break;\n }\n }\n sibling.C = true;\n node = parent;\n parent = parent.U;\n } while (!node.C);\n if (node)\n node.C = false;\n }\n };\n function RedBlackRotateLeft(tree, node) {\n var p = node, q = node.R, parent = p.U;\n if (parent) {\n if (parent.L === p)\n parent.L = q;\n else\n parent.R = q;\n }\n else {\n tree._ = q;\n }\n q.U = parent;\n p.U = q;\n p.R = q.L;\n if (p.R)\n p.R.U = p;\n q.L = p;\n }\n function RedBlackRotateRight(tree, node) {\n var p = node, q = node.L, parent = p.U;\n if (parent) {\n if (parent.L === p)\n parent.L = q;\n else\n parent.R = q;\n }\n else {\n tree._ = q;\n }\n q.U = parent;\n p.U = q;\n p.L = q.R;\n if (p.L)\n p.L.U = p;\n q.R = p;\n }\n function RedBlackFirst(node) {\n while (node.L)\n node = node.L;\n return node;\n }\n function createEdge(left, right, v0, v1) {\n var edge = [null, null], index = edges.push(edge) - 1;\n edge.left = left;\n edge.right = right;\n if (v0)\n setEdgeEnd(edge, left, right, v0);\n if (v1)\n setEdgeEnd(edge, right, left, v1);\n cells[left.index].halfedges.push(index);\n cells[right.index].halfedges.push(index);\n return edge;\n }\n function createBorderEdge(left, v0, v1) {\n var edge = [v0, v1];\n edge.left = left;\n return edge;\n }\n function setEdgeEnd(edge, left, right, vertex) {\n if (!edge[0] && !edge[1]) {\n edge[0] = vertex;\n edge.left = left;\n edge.right = right;\n }\n else if (edge.left === right) {\n edge[1] = vertex;\n }\n else {\n edge[0] = vertex;\n }\n }\n // Liang–Barsky line clipping.\n function clipEdge(edge, x0, y0, x1, y1) {\n var a = edge[0], b = edge[1], ax = a[0], ay = a[1], bx = b[0], by = b[1], t0 = 0, t1 = 1, dx = bx - ax, dy = by - ay, r;\n r = x0 - ax;\n if (!dx && r > 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dx > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = x1 - ax;\n if (!dx && r < 0)\n return;\n r /= dx;\n if (dx < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dx > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n r = y0 - ay;\n if (!dy && r > 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n else if (dy > 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n r = y1 - ay;\n if (!dy && r < 0)\n return;\n r /= dy;\n if (dy < 0) {\n if (r > t1)\n return;\n if (r > t0)\n t0 = r;\n }\n else if (dy > 0) {\n if (r < t0)\n return;\n if (r < t1)\n t1 = r;\n }\n if (!(t0 > 0) && !(t1 < 1))\n return true; // TODO Better check?\n if (t0 > 0)\n edge[0] = [ax + t0 * dx, ay + t0 * dy];\n if (t1 < 1)\n edge[1] = [ax + t1 * dx, ay + t1 * dy];\n return true;\n }\n function connectEdge(edge, x0, y0, x1, y1) {\n var v1 = edge[1];\n if (v1)\n return true;\n var v0 = edge[0], left = edge.left, right = edge.right, lx = left[0], ly = left[1], rx = right[0], ry = right[1], fx = (lx + rx) / 2, fy = (ly + ry) / 2, fm, fb;\n if (ry === ly) {\n if (fx < x0 || fx >= x1)\n return;\n if (lx > rx) {\n if (!v0)\n v0 = [fx, y0];\n else if (v0[1] >= y1)\n return;\n v1 = [fx, y1];\n }\n else {\n if (!v0)\n v0 = [fx, y1];\n else if (v0[1] < y0)\n return;\n v1 = [fx, y0];\n }\n }\n else {\n fm = (lx - rx) / (ry - ly);\n fb = fy - fm * fx;\n if (fm < -1 || fm > 1) {\n if (lx > rx) {\n if (!v0)\n v0 = [(y0 - fb) / fm, y0];\n else if (v0[1] >= y1)\n return;\n v1 = [(y1 - fb) / fm, y1];\n }\n else {\n if (!v0)\n v0 = [(y1 - fb) / fm, y1];\n else if (v0[1] < y0)\n return;\n v1 = [(y0 - fb) / fm, y0];\n }\n }\n else {\n if (ly < ry) {\n if (!v0)\n v0 = [x0, fm * x0 + fb];\n else if (v0[0] >= x1)\n return;\n v1 = [x1, fm * x1 + fb];\n }\n else {\n if (!v0)\n v0 = [x1, fm * x1 + fb];\n else if (v0[0] < x0)\n return;\n v1 = [x0, fm * x0 + fb];\n }\n }\n }\n edge[0] = v0;\n edge[1] = v1;\n return true;\n }\n function clipEdges(x0, y0, x1, y1) {\n var i = edges.length, edge;\n while (i--) {\n if (!connectEdge(edge = edges[i], x0, y0, x1, y1)\n || !clipEdge(edge, x0, y0, x1, y1)\n || !(Math.abs(edge[0][0] - edge[1][0]) > epsilon\n || Math.abs(edge[0][1] - edge[1][1]) > epsilon)) {\n delete edges[i];\n }\n }\n }\n function createCell(site) {\n return cells[site.index] = {\n site: site,\n halfedges: []\n };\n }\n function cellHalfedgeAngle(cell, edge) {\n var site = cell.site, va = edge.left, vb = edge.right;\n if (site === vb)\n vb = va, va = site;\n if (vb)\n return Math.atan2(vb[1] - va[1], vb[0] - va[0]);\n if (site === va)\n va = edge[1], vb = edge[0];\n else\n va = edge[0], vb = edge[1];\n return Math.atan2(va[0] - vb[0], vb[1] - va[1]);\n }\n function cellHalfedgeStart(cell, edge) {\n return edge[+(edge.left !== cell.site)];\n }\n function cellHalfedgeEnd(cell, edge) {\n return edge[+(edge.left === cell.site)];\n }\n function sortCellHalfedges() {\n for (var i = 0, n = cells.length, cell, halfedges, j, m; i < n; ++i) {\n if ((cell = cells[i]) && (m = (halfedges = cell.halfedges).length)) {\n var index = new Array(m), array = new Array(m);\n for (j = 0; j < m; ++j)\n index[j] = j, array[j] = cellHalfedgeAngle(cell, edges[halfedges[j]]);\n index.sort(function (i, j) { return array[j] - array[i]; });\n for (j = 0; j < m; ++j)\n array[j] = halfedges[index[j]];\n for (j = 0; j < m; ++j)\n halfedges[j] = array[j];\n }\n }\n }\n function clipCells(x0, y0, x1, y1) {\n var nCells = cells.length, iCell, cell, site, iHalfedge, halfedges, nHalfedges, start, startX, startY, end, endX, endY, cover = true;\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n halfedges = cell.halfedges;\n iHalfedge = halfedges.length;\n // Remove any dangling clipped edges.\n while (iHalfedge--) {\n if (!edges[halfedges[iHalfedge]]) {\n halfedges.splice(iHalfedge, 1);\n }\n }\n // Insert any border edges as necessary.\n iHalfedge = 0, nHalfedges = halfedges.length;\n while (iHalfedge < nHalfedges) {\n end = cellHalfedgeEnd(cell, edges[halfedges[iHalfedge]]), endX = end[0], endY = end[1];\n start = cellHalfedgeStart(cell, edges[halfedges[++iHalfedge % nHalfedges]]), startX = start[0], startY = start[1];\n if (Math.abs(endX - startX) > epsilon || Math.abs(endY - startY) > epsilon) {\n halfedges.splice(iHalfedge, 0, edges.push(createBorderEdge(site, end, Math.abs(endX - x0) < epsilon && y1 - endY > epsilon ? [x0, Math.abs(startX - x0) < epsilon ? startY : y1]\n : Math.abs(endY - y1) < epsilon && x1 - endX > epsilon ? [Math.abs(startY - y1) < epsilon ? startX : x1, y1]\n : Math.abs(endX - x1) < epsilon && endY - y0 > epsilon ? [x1, Math.abs(startX - x1) < epsilon ? startY : y0]\n : Math.abs(endY - y0) < epsilon && endX - x0 > epsilon ? [Math.abs(startY - y0) < epsilon ? startX : x0, y0]\n : null)) - 1);\n ++nHalfedges;\n }\n }\n if (nHalfedges)\n cover = false;\n }\n }\n // If there weren’t any edges, have the closest site cover the extent.\n // It doesn’t matter which corner of the extent we measure!\n if (cover) {\n var dx, dy, d2, dc = Infinity;\n for (iCell = 0, cover = null; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n site = cell.site;\n dx = site[0] - x0;\n dy = site[1] - y0;\n d2 = dx * dx + dy * dy;\n if (d2 < dc)\n dc = d2, cover = cell;\n }\n }\n if (cover) {\n var v00 = [x0, y0], v01 = [x0, y1], v11 = [x1, y1], v10 = [x1, y0];\n cover.halfedges.push(edges.push(createBorderEdge(site = cover.site, v00, v01)) - 1, edges.push(createBorderEdge(site, v01, v11)) - 1, edges.push(createBorderEdge(site, v11, v10)) - 1, edges.push(createBorderEdge(site, v10, v00)) - 1);\n }\n }\n // Lastly delete any cells with no edges; these were entirely clipped.\n for (iCell = 0; iCell < nCells; ++iCell) {\n if (cell = cells[iCell]) {\n if (!cell.halfedges.length) {\n delete cells[iCell];\n }\n }\n }\n }\n var circlePool = [];\n var firstCircle;\n function Circle() {\n RedBlackNode(this);\n this.x =\n this.y =\n this.arc =\n this.site =\n this.cy = null;\n }\n function attachCircle(arc) {\n var lArc = arc.P, rArc = arc.N;\n if (!lArc || !rArc)\n return;\n var lSite = lArc.site, cSite = arc.site, rSite = rArc.site;\n if (lSite === rSite)\n return;\n var bx = cSite[0], by = cSite[1], ax = lSite[0] - bx, ay = lSite[1] - by, cx = rSite[0] - bx, cy = rSite[1] - by;\n var d = 2 * (ax * cy - ay * cx);\n if (d >= -epsilon2)\n return;\n var ha = ax * ax + ay * ay, hc = cx * cx + cy * cy, x = (cy * ha - ay * hc) / d, y = (ax * hc - cx * ha) / d;\n var circle = circlePool.pop() || new Circle;\n circle.arc = arc;\n circle.site = cSite;\n circle.x = x + bx;\n circle.y = (circle.cy = y + by) + Math.sqrt(x * x + y * y); // y bottom\n arc.circle = circle;\n var before = null, node = circles._;\n while (node) {\n if (circle.y < node.y || (circle.y === node.y && circle.x <= node.x)) {\n if (node.L)\n node = node.L;\n else {\n before = node.P;\n break;\n }\n }\n else {\n if (node.R)\n node = node.R;\n else {\n before = node;\n break;\n }\n }\n }\n circles.insert(before, circle);\n if (!before)\n firstCircle = circle;\n }\n function detachCircle(arc) {\n var circle = arc.circle;\n if (circle) {\n if (!circle.P)\n firstCircle = circle.N;\n circles.remove(circle);\n circlePool.push(circle);\n RedBlackNode(circle);\n arc.circle = null;\n }\n }\n var beachPool = [];\n function Beach() {\n RedBlackNode(this);\n this.edge =\n this.site =\n this.circle = null;\n }\n function createBeach(site) {\n var beach = beachPool.pop() || new Beach;\n beach.site = site;\n return beach;\n }\n function detachBeach(beach) {\n detachCircle(beach);\n beaches.remove(beach);\n beachPool.push(beach);\n RedBlackNode(beach);\n }\n function removeBeach(beach) {\n var circle = beach.circle, x = circle.x, y = circle.cy, vertex = [x, y], previous = beach.P, next = beach.N, disappearing = [beach];\n detachBeach(beach);\n var lArc = previous;\n while (lArc.circle\n && Math.abs(x - lArc.circle.x) < epsilon\n && Math.abs(y - lArc.circle.cy) < epsilon) {\n previous = lArc.P;\n disappearing.unshift(lArc);\n detachBeach(lArc);\n lArc = previous;\n }\n disappearing.unshift(lArc);\n detachCircle(lArc);\n var rArc = next;\n while (rArc.circle\n && Math.abs(x - rArc.circle.x) < epsilon\n && Math.abs(y - rArc.circle.cy) < epsilon) {\n next = rArc.N;\n disappearing.push(rArc);\n detachBeach(rArc);\n rArc = next;\n }\n disappearing.push(rArc);\n detachCircle(rArc);\n var nArcs = disappearing.length, iArc;\n for (iArc = 1; iArc < nArcs; ++iArc) {\n rArc = disappearing[iArc];\n lArc = disappearing[iArc - 1];\n setEdgeEnd(rArc.edge, lArc.site, rArc.site, vertex);\n }\n lArc = disappearing[0];\n rArc = disappearing[nArcs - 1];\n rArc.edge = createEdge(lArc.site, rArc.site, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n }\n function addBeach(site) {\n var x = site[0], directrix = site[1], lArc, rArc, dxl, dxr, node = beaches._;\n while (node) {\n dxl = leftBreakPoint(node, directrix) - x;\n if (dxl > epsilon)\n node = node.L;\n else {\n dxr = x - rightBreakPoint(node, directrix);\n if (dxr > epsilon) {\n if (!node.R) {\n lArc = node;\n break;\n }\n node = node.R;\n }\n else {\n if (dxl > -epsilon) {\n lArc = node.P;\n rArc = node;\n }\n else if (dxr > -epsilon) {\n lArc = node;\n rArc = node.N;\n }\n else {\n lArc = rArc = node;\n }\n break;\n }\n }\n }\n createCell(site);\n var newArc = createBeach(site);\n beaches.insert(lArc, newArc);\n if (!lArc && !rArc)\n return;\n if (lArc === rArc) {\n detachCircle(lArc);\n rArc = createBeach(lArc.site);\n beaches.insert(newArc, rArc);\n newArc.edge = rArc.edge = createEdge(lArc.site, newArc.site);\n attachCircle(lArc);\n attachCircle(rArc);\n return;\n }\n if (!rArc) { // && lArc\n newArc.edge = createEdge(lArc.site, newArc.site);\n return;\n }\n // else lArc !== rArc\n detachCircle(lArc);\n detachCircle(rArc);\n var lSite = lArc.site, ax = lSite[0], ay = lSite[1], bx = site[0] - ax, by = site[1] - ay, rSite = rArc.site, cx = rSite[0] - ax, cy = rSite[1] - ay, d = 2 * (bx * cy - by * cx), hb = bx * bx + by * by, hc = cx * cx + cy * cy, vertex = [(cy * hb - by * hc) / d + ax, (bx * hc - cx * hb) / d + ay];\n setEdgeEnd(rArc.edge, lSite, rSite, vertex);\n newArc.edge = createEdge(lSite, site, null, vertex);\n rArc.edge = createEdge(site, rSite, null, vertex);\n attachCircle(lArc);\n attachCircle(rArc);\n }\n function leftBreakPoint(arc, directrix) {\n var site = arc.site, rfocx = site[0], rfocy = site[1], pby2 = rfocy - directrix;\n if (!pby2)\n return rfocx;\n var lArc = arc.P;\n if (!lArc)\n return -Infinity;\n site = lArc.site;\n var lfocx = site[0], lfocy = site[1], plby2 = lfocy - directrix;\n if (!plby2)\n return lfocx;\n var hl = lfocx - rfocx, aby2 = 1 / pby2 - 1 / plby2, b = hl / plby2;\n if (aby2)\n return (-b + Math.sqrt(b * b - 2 * aby2 * (hl * hl / (-2 * plby2) - lfocy + plby2 / 2 + rfocy - pby2 / 2))) / aby2 + rfocx;\n return (rfocx + lfocx) / 2;\n }\n function rightBreakPoint(arc, directrix) {\n var rArc = arc.N;\n if (rArc)\n return leftBreakPoint(rArc, directrix);\n var site = arc.site;\n return site[1] === directrix ? site[0] : Infinity;\n }\n var epsilon = 1e-6;\n var epsilon2 = 1e-12;\n var beaches;\n var cells;\n var circles;\n var edges;\n function triangleArea(a, b, c) {\n return (a[0] - c[0]) * (b[1] - a[1]) - (a[0] - b[0]) * (c[1] - a[1]);\n }\n function lexicographic(a, b) {\n return b[1] - a[1]\n || b[0] - a[0];\n }\n function Diagram(sites, extent) {\n var site = sites.sort(lexicographic).pop(), x, y, circle;\n edges = [];\n cells = new Array(sites.length);\n beaches = new RedBlackTree;\n circles = new RedBlackTree;\n while (true) {\n circle = firstCircle;\n if (site && (!circle || site[1] < circle.y || (site[1] === circle.y && site[0] < circle.x))) {\n if (site[0] !== x || site[1] !== y) {\n addBeach(site);\n x = site[0], y = site[1];\n }\n site = sites.pop();\n }\n else if (circle) {\n removeBeach(circle.arc);\n }\n else {\n break;\n }\n }\n sortCellHalfedges();\n if (extent) {\n var x0 = +extent[0][0], y0 = +extent[0][1], x1 = +extent[1][0], y1 = +extent[1][1];\n clipEdges(x0, y0, x1, y1);\n clipCells(x0, y0, x1, y1);\n }\n this.edges = edges;\n this.cells = cells;\n beaches =\n circles =\n edges =\n cells = null;\n }\n Diagram.prototype = {\n constructor: Diagram,\n polygons: function () {\n var edges = this.edges;\n return this.cells.map(function (cell) {\n var polygon = cell.halfedges.map(function (i) { return cellHalfedgeStart(cell, edges[i]); });\n polygon.data = cell.site.data;\n return polygon;\n });\n },\n triangles: function () {\n var triangles = [], edges = this.edges;\n this.cells.forEach(function (cell, i) {\n if (!(m = (halfedges = cell.halfedges).length))\n return;\n var site = cell.site, halfedges, j = -1, m, s0, e1 = edges[halfedges[m - 1]], s1 = e1.left === site ? e1.right : e1.left;\n while (++j < m) {\n s0 = s1;\n e1 = edges[halfedges[j]];\n s1 = e1.left === site ? e1.right : e1.left;\n if (s0 && s1 && i < s0.index && i < s1.index && triangleArea(site, s0, s1) < 0) {\n triangles.push([site.data, s0.data, s1.data]);\n }\n }\n });\n return triangles;\n },\n links: function () {\n return this.edges.filter(function (edge) {\n return edge.right;\n }).map(function (edge) {\n return {\n source: edge.left.data,\n target: edge.right.data\n };\n });\n },\n find: function (x, y, radius) {\n var that = this, i0, i1 = that._found || 0, n = that.cells.length, cell;\n // Use the previously-found cell, or start with an arbitrary one.\n while (!(cell = that.cells[i1]))\n if (++i1 >= n)\n return null;\n var dx = x - cell.site[0], dy = y - cell.site[1], d2 = dx * dx + dy * dy;\n // Traverse the half-edges to find a closer cell, if any.\n do {\n cell = that.cells[i0 = i1], i1 = null;\n cell.halfedges.forEach(function (e) {\n var edge = that.edges[e], v = edge.left;\n if ((v === cell.site || !v) && !(v = edge.right))\n return;\n var vx = x - v[0], vy = y - v[1], v2 = vx * vx + vy * vy;\n if (v2 < d2)\n d2 = v2, i1 = v.index;\n });\n } while (i1 !== null);\n that._found = i0;\n return radius == null || d2 <= radius * radius ? cell.site : null;\n }\n };\n function voronoi() {\n var x$$1 = x, y$$1 = y, extent = null;\n function voronoi(data) {\n return new Diagram(data.map(function (d, i) {\n var s = [Math.round(x$$1(d, i, data) / epsilon) * epsilon, Math.round(y$$1(d, i, data) / epsilon) * epsilon];\n s.index = i;\n s.data = d;\n return s;\n }), extent);\n }\n voronoi.polygons = function (data) {\n return voronoi(data).polygons();\n };\n voronoi.links = function (data) {\n return voronoi(data).links();\n };\n voronoi.triangles = function (data) {\n return voronoi(data).triangles();\n };\n voronoi.x = function (_) {\n return arguments.length ? (x$$1 = typeof _ === \"function\" ? _ : constant(+_), voronoi) : x$$1;\n };\n voronoi.y = function (_) {\n return arguments.length ? (y$$1 = typeof _ === \"function\" ? _ : constant(+_), voronoi) : y$$1;\n };\n voronoi.extent = function (_) {\n return arguments.length ? (extent = _ == null ? null : [[+_[0][0], +_[0][1]], [+_[1][0], +_[1][1]]], voronoi) : extent && [[extent[0][0], extent[0][1]], [extent[1][0], extent[1][1]]];\n };\n voronoi.size = function (_) {\n return arguments.length ? (extent = _ == null ? null : [[0, 0], [+_[0], +_[1]]], voronoi) : extent && [extent[1][0] - extent[0][0], extent[1][1] - extent[0][1]];\n };\n return voronoi;\n }\n exports.voronoi = voronoi;\n Object.defineProperty(exports, '__esModule', { value: true });\n})));\n" + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "index": 182, + "index2": 470, + "size": 1329, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "issuerId": "./src/transform/diagram/dagre.ts", + "issuerName": "./src/transform/diagram/dagre.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 1881, + "building": 256 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "dagre", + "loc": "9:38-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/*\nCopyright (c) 2012-2014 Chris Pettitt\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in\nall copies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN\nTHE SOFTWARE.\n*/\n\nmodule.exports = {\n graphlib: require(\"./lib/graphlib\"),\n\n layout: require(\"./lib/layout\"),\n debug: require(\"./lib/debug\"),\n util: {\n time: require(\"./lib/util\").time,\n notime: require(\"./lib/util\").notime\n },\n version: require(\"./lib/version\")\n};\n" + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "index": 447, + "index2": 445, + "size": 1242, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./acyclic", + "loc": "4:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar greedyFAS = require(\"./greedy-fas\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\nfunction run(g) {\n var fas = (g.graph().acyclicer === \"greedy\"\n ? greedyFAS(g, weightFn(g))\n : dfsFAS(g));\n _.forEach(fas, function(e) {\n var label = g.edge(e);\n g.removeEdge(e);\n label.forwardName = e.name;\n label.reversed = true;\n g.setEdge(e.w, e.v, label, _.uniqueId(\"rev\"));\n });\n\n function weightFn(g) {\n return function(e) {\n return g.edge(e).weight;\n };\n }\n}\n\nfunction dfsFAS(g) {\n var fas = [];\n var stack = {};\n var visited = {};\n\n function dfs(v) {\n if (_.has(visited, v)) {\n return;\n }\n visited[v] = true;\n stack[v] = true;\n _.forEach(g.outEdges(v), function(e) {\n if (_.has(stack, e.w)) {\n fas.push(e);\n } else {\n dfs(e.w);\n }\n });\n delete stack[v];\n }\n\n _.forEach(g.nodes(), dfs);\n return fas;\n}\n\nfunction undo(g) {\n _.forEach(g.edges(), function(e) {\n var label = g.edge(e);\n if (label.reversed) {\n g.removeEdge(e);\n\n var forwardName = label.forwardName;\n delete label.reversed;\n delete label.forwardName;\n g.setEdge(e.w, e.v, label, forwardName);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/add-border-segments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "name": "./node_modules/dagre/lib/add-border-segments.js", + "index": 458, + "index2": 454, + "size": 993, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./add-border-segments", + "loc": "11:24-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = addBorderSegments;\n\nfunction addBorderSegments(g) {\n function dfs(v) {\n var children = g.children(v);\n var node = g.node(v);\n if (children.length) {\n _.forEach(children, dfs);\n }\n\n if (_.has(node, \"minRank\")) {\n node.borderLeft = [];\n node.borderRight = [];\n for (var rank = node.minRank, maxRank = node.maxRank + 1;\n rank < maxRank;\n ++rank) {\n addBorderNode(g, \"borderLeft\", \"_bl\", v, node, rank);\n addBorderNode(g, \"borderRight\", \"_br\", v, node, rank);\n }\n }\n }\n\n _.forEach(g.children(), dfs);\n}\n\nfunction addBorderNode(g, prop, prefix, sg, sgNode, rank) {\n var label = { width: 0, height: 0, rank: rank, borderType: prop };\n var prev = sgNode[prop][rank - 1];\n var curr = util.addDummyNode(g, \"border\", label, prefix);\n sgNode[prop][rank] = curr;\n g.setParent(curr, sg);\n if (prev) {\n g.setEdge(prev, curr, { weight: 1 });\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/coordinate-system.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/coordinate-system.js", + "name": "./node_modules/dagre/lib/coordinate-system.js", + "index": 459, + "index2": 455, + "size": 1418, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./coordinate-system", + "loc": "12:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = {\n adjust: adjust,\n undo: undo\n};\n\nfunction adjust(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapWidthHeight(g);\n }\n}\n\nfunction undo(g) {\n var rankDir = g.graph().rankdir.toLowerCase();\n if (rankDir === \"bt\" || rankDir === \"rl\") {\n reverseY(g);\n }\n\n if (rankDir === \"lr\" || rankDir === \"rl\") {\n swapXY(g);\n swapWidthHeight(g);\n }\n}\n\nfunction swapWidthHeight(g) {\n _.forEach(g.nodes(), function(v) { swapWidthHeightOne(g.node(v)); });\n _.forEach(g.edges(), function(e) { swapWidthHeightOne(g.edge(e)); });\n}\n\nfunction swapWidthHeightOne(attrs) {\n var w = attrs.width;\n attrs.width = attrs.height;\n attrs.height = w;\n}\n\nfunction reverseY(g) {\n _.forEach(g.nodes(), function(v) { reverseYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, reverseYOne);\n if (_.has(edge, \"y\")) {\n reverseYOne(edge);\n }\n });\n}\n\nfunction reverseYOne(attrs) {\n attrs.y = -attrs.y;\n}\n\nfunction swapXY(g) {\n _.forEach(g.nodes(), function(v) { swapXYOne(g.node(v)); });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, swapXYOne);\n if (_.has(edge, \"x\")) {\n swapXYOne(edge);\n }\n });\n}\n\nfunction swapXYOne(attrs) {\n var x = attrs.x;\n attrs.x = attrs.y;\n attrs.y = x;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/data/list.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/data/list.js", + "name": "./node_modules/dagre/lib/data/list.js", + "index": 449, + "index2": 443, + "size": 1188, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "issuerId": "./node_modules/dagre/lib/greedy-fas.js", + "issuerName": "./node_modules/dagre/lib/greedy-fas.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/greedy-fas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "name": "./node_modules/dagre/lib/greedy-fas.js", + "profile": { + "factory": 445, + "building": 4, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./data/list", + "loc": "3:11-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/*\n * Simple doubly linked list implementation derived from Cormen, et al.,\n * \"Introduction to Algorithms\".\n */\n\nmodule.exports = List;\n\nfunction List() {\n var sentinel = {};\n sentinel._next = sentinel._prev = sentinel;\n this._sentinel = sentinel;\n}\n\nList.prototype.dequeue = function() {\n var sentinel = this._sentinel;\n var entry = sentinel._prev;\n if (entry !== sentinel) {\n unlink(entry);\n return entry;\n }\n};\n\nList.prototype.enqueue = function(entry) {\n var sentinel = this._sentinel;\n if (entry._prev && entry._next) {\n unlink(entry);\n }\n entry._next = sentinel._next;\n sentinel._next._prev = entry;\n sentinel._next = entry;\n entry._prev = sentinel;\n};\n\nList.prototype.toString = function() {\n var strs = [];\n var sentinel = this._sentinel;\n var curr = sentinel._prev;\n while (curr !== sentinel) {\n strs.push(JSON.stringify(curr, filterOutLinks));\n curr = curr._prev;\n }\n return \"[\" + strs.join(\", \") + \"]\";\n};\n\nfunction unlink(entry) {\n entry._prev._next = entry._next;\n entry._next._prev = entry._prev;\n delete entry._next;\n delete entry._prev;\n}\n\nfunction filterOutLinks(k, v) {\n if (k !== \"_next\" && k !== \"_prev\") {\n return v;\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/debug.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "name": "./node_modules/dagre/lib/debug.js", + "index": 471, + "index2": 468, + "size": 775, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/debug", + "loc": "27:9-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n debugOrdering: debugOrdering\n};\n\n/* istanbul ignore next */\nfunction debugOrdering(g) {\n var layerMatrix = util.buildLayerMatrix(g);\n\n var h = new Graph({ compound: true, multigraph: true }).setGraph({});\n\n _.forEach(g.nodes(), function(v) {\n h.setNode(v, { label: v });\n h.setParent(v, \"layer\" + g.node(v).rank);\n });\n\n _.forEach(g.edges(), function(e) {\n h.setEdge(e.v, e.w, {}, e.name);\n });\n\n _.forEach(layerMatrix, function(layer, i) {\n var layerV = \"layer\" + i;\n h.setNode(layerV, { rank: \"same\" });\n _.reduce(layer, function(u, v) {\n h.setEdge(u, v, { style: \"invis\" });\n return v;\n });\n });\n\n return h;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "index": 183, + "index2": 395, + "size": 253, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/graphlib", + "loc": "24:12-37" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "3:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "2:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "16:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "module": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "2:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "9:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "4:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "4:12-34" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "7:15-37" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../graphlib", + "loc": "8:16-38" + }, + { + "moduleId": "./node_modules/dagre/lib/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "module": "./node_modules/dagre/lib/util.js", + "moduleName": "./node_modules/dagre/lib/util.js", + "type": "cjs require", + "userRequest": "./graphlib", + "loc": "6:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "/* global window */\n\nvar graphlib;\n\nif (typeof require === \"function\") {\n try {\n graphlib = require(\"graphlib\");\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!graphlib) {\n graphlib = window.graphlib;\n}\n\nmodule.exports = graphlib;\n" + }, + { + "id": "./node_modules/dagre/lib/greedy-fas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "name": "./node_modules/dagre/lib/greedy-fas.js", + "index": 448, + "index2": 444, + "size": 3370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "issuerId": "./node_modules/dagre/lib/acyclic.js", + "issuerName": "./node_modules/dagre/lib/acyclic.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "name": "./node_modules/dagre/lib/acyclic.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 445, + "building": 4, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "module": "./node_modules/dagre/lib/acyclic.js", + "moduleName": "./node_modules/dagre/lib/acyclic.js", + "type": "cjs require", + "userRequest": "./greedy-fas", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\nvar List = require(\"./data/list\");\n\n/*\n * A greedy heuristic for finding a feedback arc set for a graph. A feedback\n * arc set is a set of edges that can be removed to make a graph acyclic.\n * The algorithm comes from: P. Eades, X. Lin, and W. F. Smyth, \"A fast and\n * effective heuristic for the feedback arc set problem.\" This implementation\n * adjusts that from the paper to allow for weighted edges.\n */\nmodule.exports = greedyFAS;\n\nvar DEFAULT_WEIGHT_FN = _.constant(1);\n\nfunction greedyFAS(g, weightFn) {\n if (g.nodeCount() <= 1) {\n return [];\n }\n var state = buildState(g, weightFn || DEFAULT_WEIGHT_FN);\n var results = doGreedyFAS(state.graph, state.buckets, state.zeroIdx);\n\n // Expand multi-edges\n return _.flatten(_.map(results, function(e) {\n return g.outEdges(e.v, e.w);\n }), true);\n}\n\nfunction doGreedyFAS(g, buckets, zeroIdx) {\n var results = [];\n var sources = buckets[buckets.length - 1];\n var sinks = buckets[0];\n\n var entry;\n while (g.nodeCount()) {\n while ((entry = sinks.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n while ((entry = sources.dequeue())) { removeNode(g, buckets, zeroIdx, entry); }\n if (g.nodeCount()) {\n for (var i = buckets.length - 2; i > 0; --i) {\n entry = buckets[i].dequeue();\n if (entry) {\n results = results.concat(removeNode(g, buckets, zeroIdx, entry, true));\n break;\n }\n }\n }\n }\n\n return results;\n}\n\nfunction removeNode(g, buckets, zeroIdx, entry, collectPredecessors) {\n var results = collectPredecessors ? [] : undefined;\n\n _.forEach(g.inEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var uEntry = g.node(edge.v);\n\n if (collectPredecessors) {\n results.push({ v: edge.v, w: edge.w });\n }\n\n uEntry.out -= weight;\n assignBucket(buckets, zeroIdx, uEntry);\n });\n\n _.forEach(g.outEdges(entry.v), function(edge) {\n var weight = g.edge(edge);\n var w = edge.w;\n var wEntry = g.node(w);\n wEntry[\"in\"] -= weight;\n assignBucket(buckets, zeroIdx, wEntry);\n });\n\n g.removeNode(entry.v);\n\n return results;\n}\n\nfunction buildState(g, weightFn) {\n var fasGraph = new Graph();\n var maxIn = 0;\n var maxOut = 0;\n\n _.forEach(g.nodes(), function(v) {\n fasGraph.setNode(v, { v: v, \"in\": 0, out: 0 });\n });\n\n // Aggregate weights on nodes, but also sum the weights across multi-edges\n // into a single edge for the fasGraph.\n _.forEach(g.edges(), function(e) {\n var prevWeight = fasGraph.edge(e.v, e.w) || 0;\n var weight = weightFn(e);\n var edgeWeight = prevWeight + weight;\n fasGraph.setEdge(e.v, e.w, edgeWeight);\n maxOut = Math.max(maxOut, fasGraph.node(e.v).out += weight);\n maxIn = Math.max(maxIn, fasGraph.node(e.w)[\"in\"] += weight);\n });\n\n var buckets = _.range(maxOut + maxIn + 3).map(function() { return new List(); });\n var zeroIdx = maxIn + 1;\n\n _.forEach(fasGraph.nodes(), function(v) {\n assignBucket(buckets, zeroIdx, fasGraph.node(v));\n });\n\n return { graph: fasGraph, buckets: buckets, zeroIdx: zeroIdx };\n}\n\nfunction assignBucket(buckets, zeroIdx, entry) {\n if (!entry.out) {\n buckets[0].enqueue(entry);\n } else if (!entry[\"in\"]) {\n buckets[buckets.length - 1].enqueue(entry);\n } else {\n buckets[entry.out - entry[\"in\"] + zeroIdx].enqueue(entry);\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "index": 399, + "index2": 467, + "size": 12344, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/layout", + "loc": "26:10-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar acyclic = require(\"./acyclic\");\nvar normalize = require(\"./normalize\");\nvar rank = require(\"./rank\");\nvar normalizeRanks = require(\"./util\").normalizeRanks;\nvar parentDummyChains = require(\"./parent-dummy-chains\");\nvar removeEmptyRanks = require(\"./util\").removeEmptyRanks;\nvar nestingGraph = require(\"./nesting-graph\");\nvar addBorderSegments = require(\"./add-border-segments\");\nvar coordinateSystem = require(\"./coordinate-system\");\nvar order = require(\"./order\");\nvar position = require(\"./position\");\nvar util = require(\"./util\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = layout;\n\nfunction layout(g, opts) {\n var time = opts && opts.debugTiming ? util.time : util.notime;\n time(\"layout\", function() {\n var layoutGraph = \n time(\" buildLayoutGraph\", function() { return buildLayoutGraph(g); });\n time(\" runLayout\", function() { runLayout(layoutGraph, time); });\n time(\" updateInputGraph\", function() { updateInputGraph(g, layoutGraph); });\n });\n}\n\nfunction runLayout(g, time) {\n time(\" makeSpaceForEdgeLabels\", function() { makeSpaceForEdgeLabels(g); });\n time(\" removeSelfEdges\", function() { removeSelfEdges(g); });\n time(\" acyclic\", function() { acyclic.run(g); });\n time(\" nestingGraph.run\", function() { nestingGraph.run(g); });\n time(\" rank\", function() { rank(util.asNonCompoundGraph(g)); });\n time(\" injectEdgeLabelProxies\", function() { injectEdgeLabelProxies(g); });\n time(\" removeEmptyRanks\", function() { removeEmptyRanks(g); });\n time(\" nestingGraph.cleanup\", function() { nestingGraph.cleanup(g); });\n time(\" normalizeRanks\", function() { normalizeRanks(g); });\n time(\" assignRankMinMax\", function() { assignRankMinMax(g); });\n time(\" removeEdgeLabelProxies\", function() { removeEdgeLabelProxies(g); });\n time(\" normalize.run\", function() { normalize.run(g); });\n time(\" parentDummyChains\", function() { parentDummyChains(g); });\n time(\" addBorderSegments\", function() { addBorderSegments(g); });\n time(\" order\", function() { order(g); });\n time(\" insertSelfEdges\", function() { insertSelfEdges(g); });\n time(\" adjustCoordinateSystem\", function() { coordinateSystem.adjust(g); });\n time(\" position\", function() { position(g); });\n time(\" positionSelfEdges\", function() { positionSelfEdges(g); });\n time(\" removeBorderNodes\", function() { removeBorderNodes(g); });\n time(\" normalize.undo\", function() { normalize.undo(g); });\n time(\" fixupEdgeLabelCoords\", function() { fixupEdgeLabelCoords(g); });\n time(\" undoCoordinateSystem\", function() { coordinateSystem.undo(g); });\n time(\" translateGraph\", function() { translateGraph(g); });\n time(\" assignNodeIntersects\", function() { assignNodeIntersects(g); });\n time(\" reversePoints\", function() { reversePointsForReversedEdges(g); });\n time(\" acyclic.undo\", function() { acyclic.undo(g); });\n}\n\n/*\n * Copies final layout information from the layout graph back to the input\n * graph. This process only copies whitelisted attributes from the layout graph\n * to the input graph, so it serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction updateInputGraph(inputGraph, layoutGraph) {\n _.forEach(inputGraph.nodes(), function(v) {\n var inputLabel = inputGraph.node(v);\n var layoutLabel = layoutGraph.node(v);\n\n if (inputLabel) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n\n if (layoutGraph.children(v).length) {\n inputLabel.width = layoutLabel.width;\n inputLabel.height = layoutLabel.height;\n }\n }\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var inputLabel = inputGraph.edge(e);\n var layoutLabel = layoutGraph.edge(e);\n\n inputLabel.points = layoutLabel.points;\n if (_.has(layoutLabel, \"x\")) {\n inputLabel.x = layoutLabel.x;\n inputLabel.y = layoutLabel.y;\n }\n });\n\n inputGraph.graph().width = layoutGraph.graph().width;\n inputGraph.graph().height = layoutGraph.graph().height;\n}\n\nvar graphNumAttrs = [\"nodesep\", \"edgesep\", \"ranksep\", \"marginx\", \"marginy\"];\nvar graphDefaults = { ranksep: 50, edgesep: 20, nodesep: 50, rankdir: \"tb\" };\nvar graphAttrs = [\"acyclicer\", \"ranker\", \"rankdir\", \"align\"];\nvar nodeNumAttrs = [\"width\", \"height\"];\nvar nodeDefaults = { width: 0, height: 0 };\nvar edgeNumAttrs = [\"minlen\", \"weight\", \"width\", \"height\", \"labeloffset\"];\nvar edgeDefaults = {\n minlen: 1, weight: 1, width: 0, height: 0,\n labeloffset: 10, labelpos: \"r\"\n};\nvar edgeAttrs = [\"labelpos\"];\n\n/*\n * Constructs a new graph from the input graph, which can be used for layout.\n * This process copies only whitelisted attributes from the input graph to the\n * layout graph. Thus this function serves as a good place to determine what\n * attributes can influence layout.\n */\nfunction buildLayoutGraph(inputGraph) {\n var g = new Graph({ multigraph: true, compound: true });\n var graph = canonicalize(inputGraph.graph());\n\n g.setGraph(_.merge({},\n graphDefaults,\n selectNumberAttrs(graph, graphNumAttrs),\n _.pick(graph, graphAttrs)));\n\n _.forEach(inputGraph.nodes(), function(v) {\n var node = canonicalize(inputGraph.node(v));\n g.setNode(v, _.defaults(selectNumberAttrs(node, nodeNumAttrs), nodeDefaults));\n g.setParent(v, inputGraph.parent(v));\n });\n\n _.forEach(inputGraph.edges(), function(e) {\n var edge = canonicalize(inputGraph.edge(e));\n g.setEdge(e, _.merge({},\n edgeDefaults,\n selectNumberAttrs(edge, edgeNumAttrs),\n _.pick(edge, edgeAttrs)));\n });\n\n return g;\n}\n\n/*\n * This idea comes from the Gansner paper: to account for edge labels in our\n * layout we split each rank in half by doubling minlen and halving ranksep.\n * Then we can place labels at these mid-points between nodes.\n *\n * We also add some minimal padding to the width to push the label for the edge\n * away from the edge itself a bit.\n */\nfunction makeSpaceForEdgeLabels(g) {\n var graph = g.graph();\n graph.ranksep /= 2;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n edge.minlen *= 2;\n if (edge.labelpos.toLowerCase() !== \"c\") {\n if (graph.rankdir === \"TB\" || graph.rankdir === \"BT\") {\n edge.width += edge.labeloffset;\n } else {\n edge.height += edge.labeloffset;\n }\n }\n });\n}\n\n/*\n * Creates temporary dummy nodes that capture the rank in which each edge's\n * label is going to, if it has one of non-zero width and height. We do this\n * so that we can safely remove empty ranks while preserving balance for the\n * label's position.\n */\nfunction injectEdgeLabelProxies(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.width && edge.height) {\n var v = g.node(e.v);\n var w = g.node(e.w);\n var label = { rank: (w.rank - v.rank) / 2 + v.rank, e: e };\n util.addDummyNode(g, \"edge-proxy\", label, \"_ep\");\n }\n });\n}\n\nfunction assignRankMinMax(g) {\n var maxRank = 0;\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.borderTop) {\n node.minRank = g.node(node.borderTop).rank;\n node.maxRank = g.node(node.borderBottom).rank;\n maxRank = _.max(maxRank, node.maxRank);\n }\n });\n g.graph().maxRank = maxRank;\n}\n\nfunction removeEdgeLabelProxies(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"edge-proxy\") {\n g.edge(node.e).labelRank = node.rank;\n g.removeNode(v);\n }\n });\n}\n\nfunction translateGraph(g) {\n var minX = Number.POSITIVE_INFINITY;\n var maxX = 0;\n var minY = Number.POSITIVE_INFINITY;\n var maxY = 0;\n var graphLabel = g.graph();\n var marginX = graphLabel.marginx || 0;\n var marginY = graphLabel.marginy || 0;\n\n function getExtremes(attrs) {\n var x = attrs.x;\n var y = attrs.y;\n var w = attrs.width;\n var h = attrs.height;\n minX = Math.min(minX, x - w / 2);\n maxX = Math.max(maxX, x + w / 2);\n minY = Math.min(minY, y - h / 2);\n maxY = Math.max(maxY, y + h / 2);\n }\n\n _.forEach(g.nodes(), function(v) { getExtremes(g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n getExtremes(edge);\n }\n });\n\n minX -= marginX;\n minY -= marginY;\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n node.x -= minX;\n node.y -= minY;\n });\n\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n _.forEach(edge.points, function(p) {\n p.x -= minX;\n p.y -= minY;\n });\n if (_.has(edge, \"x\")) { edge.x -= minX; }\n if (_.has(edge, \"y\")) { edge.y -= minY; }\n });\n\n graphLabel.width = maxX - minX + marginX;\n graphLabel.height = maxY - minY + marginY;\n}\n\nfunction assignNodeIntersects(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n var nodeV = g.node(e.v);\n var nodeW = g.node(e.w);\n var p1, p2;\n if (!edge.points) {\n edge.points = [];\n p1 = nodeW;\n p2 = nodeV;\n } else {\n p1 = edge.points[0];\n p2 = edge.points[edge.points.length - 1];\n }\n edge.points.unshift(util.intersectRect(nodeV, p1));\n edge.points.push(util.intersectRect(nodeW, p2));\n });\n}\n\nfunction fixupEdgeLabelCoords(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (_.has(edge, \"x\")) {\n if (edge.labelpos === \"l\" || edge.labelpos === \"r\") {\n edge.width -= edge.labeloffset;\n }\n switch (edge.labelpos) {\n case \"l\": edge.x -= edge.width / 2 + edge.labeloffset; break;\n case \"r\": edge.x += edge.width / 2 + edge.labeloffset; break;\n }\n }\n });\n}\n\nfunction reversePointsForReversedEdges(g) {\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.reversed) {\n edge.points.reverse();\n }\n });\n}\n\nfunction removeBorderNodes(g) {\n _.forEach(g.nodes(), function(v) {\n if (g.children(v).length) {\n var node = g.node(v);\n var t = g.node(node.borderTop);\n var b = g.node(node.borderBottom);\n var l = g.node(_.last(node.borderLeft));\n var r = g.node(_.last(node.borderRight));\n\n node.width = Math.abs(r.x - l.x);\n node.height = Math.abs(b.y - t.y);\n node.x = l.x + node.width / 2;\n node.y = t.y + node.height / 2;\n }\n });\n\n _.forEach(g.nodes(), function(v) {\n if (g.node(v).dummy === \"border\") {\n g.removeNode(v);\n }\n });\n}\n\nfunction removeSelfEdges(g) {\n _.forEach(g.edges(), function(e) {\n if (e.v === e.w) {\n var node = g.node(e.v);\n if (!node.selfEdges) {\n node.selfEdges = [];\n }\n node.selfEdges.push({ e: e, label: g.edge(e) });\n g.removeEdge(e);\n }\n });\n}\n\nfunction insertSelfEdges(g) {\n var layers = util.buildLayerMatrix(g);\n _.forEach(layers, function(layer) {\n var orderShift = 0;\n _.forEach(layer, function(v, i) {\n var node = g.node(v);\n node.order = i + orderShift;\n _.forEach(node.selfEdges, function(selfEdge) {\n util.addDummyNode(g, \"selfedge\", {\n width: selfEdge.label.width,\n height: selfEdge.label.height,\n rank: node.rank,\n order: i + (++orderShift),\n e: selfEdge.e,\n label: selfEdge.label\n }, \"_se\");\n });\n delete node.selfEdges;\n });\n });\n}\n\nfunction positionSelfEdges(g) {\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (node.dummy === \"selfedge\") {\n var selfNode = g.node(node.e.v);\n var x = selfNode.x + selfNode.width / 2;\n var y = selfNode.y;\n var dx = node.x - x;\n var dy = selfNode.height / 2;\n g.setEdge(node.e, node.label);\n g.removeNode(v);\n node.label.points = [\n { x: x + 2 * dx / 3, y: y - dy },\n { x: x + 5 * dx / 6, y: y - dy },\n { x: x + dx , y: y },\n { x: x + 5 * dx / 6, y: y + dy },\n { x: x + 2 * dx / 3, y: y + dy }\n ];\n node.label.x = node.x;\n node.label.y = node.y;\n }\n });\n}\n\nfunction selectNumberAttrs(obj, attrs) {\n return _.mapValues(_.pick(obj, attrs), Number);\n}\n\nfunction canonicalize(attrs) {\n var newAttrs = {};\n _.forEach(attrs, function(v, k) {\n newAttrs[k.toLowerCase()] = v;\n });\n return newAttrs;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "index": 400, + "index2": 442, + "size": 1255, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "issuerId": "./node_modules/dagre/lib/util.js", + "issuerName": "./node_modules/dagre/lib/util.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 6, + "building": 424 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/acyclic.js", + "module": "./node_modules/dagre/lib/acyclic.js", + "moduleName": "./node_modules/dagre/lib/acyclic.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/add-border-segments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "module": "./node_modules/dagre/lib/add-border-segments.js", + "moduleName": "./node_modules/dagre/lib/add-border-segments.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/coordinate-system.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/coordinate-system.js", + "module": "./node_modules/dagre/lib/coordinate-system.js", + "moduleName": "./node_modules/dagre/lib/coordinate-system.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/greedy-fas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/greedy-fas.js", + "module": "./node_modules/dagre/lib/greedy-fas.js", + "moduleName": "./node_modules/dagre/lib/greedy-fas.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/nesting-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "module": "./node_modules/dagre/lib/nesting-graph.js", + "moduleName": "./node_modules/dagre/lib/nesting-graph.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/normalize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "module": "./node_modules/dagre/lib/normalize.js", + "moduleName": "./node_modules/dagre/lib/normalize.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/add-subgraph-constraints.js", + "module": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "moduleName": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/barycenter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/barycenter.js", + "module": "./node_modules/dagre/lib/order/barycenter.js", + "moduleName": "./node_modules/dagre/lib/order/barycenter.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "module": "./node_modules/dagre/lib/order/build-layer-graph.js", + "moduleName": "./node_modules/dagre/lib/order/build-layer-graph.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/cross-count.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/cross-count.js", + "module": "./node_modules/dagre/lib/order/cross-count.js", + "moduleName": "./node_modules/dagre/lib/order/cross-count.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/init-order.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/init-order.js", + "module": "./node_modules/dagre/lib/order/init-order.js", + "moduleName": "./node_modules/dagre/lib/order/init-order.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/resolve-conflicts.js", + "module": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "moduleName": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "module": "./node_modules/dagre/lib/order/sort.js", + "moduleName": "./node_modules/dagre/lib/order/sort.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/parent-dummy-chains.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/parent-dummy-chains.js", + "module": "./node_modules/dagre/lib/parent-dummy-chains.js", + "moduleName": "./node_modules/dagre/lib/parent-dummy-chains.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/util.js", + "module": "./node_modules/dagre/lib/rank/util.js", + "moduleName": "./node_modules/dagre/lib/rank/util.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "3:8-28" + }, + { + "moduleId": "./node_modules/dagre/lib/util.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "module": "./node_modules/dagre/lib/util.js", + "moduleName": "./node_modules/dagre/lib/util.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "5:8-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n cloneDeep: require(\"lodash/cloneDeep\"),\n constant: require(\"lodash/constant\"),\n defaults: require(\"lodash/defaults\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n find: require(\"lodash/find\"),\n flatten: require(\"lodash/flatten\"),\n forEach: require(\"lodash/forEach\"),\n forIn: require(\"lodash/forIn\"),\n has: require(\"lodash/has\"),\n isUndefined: require(\"lodash/isUndefined\"),\n last: require(\"lodash/last\"),\n map: require(\"lodash/map\"),\n mapValues: require(\"lodash/mapValues\"),\n max: require(\"lodash/max\"),\n merge: require(\"lodash/merge\"),\n min: require(\"lodash/min\"),\n minBy: require(\"lodash/minBy\"),\n now: require(\"lodash/now\"),\n pick: require(\"lodash/pick\"),\n range: require(\"lodash/range\"),\n reduce: require(\"lodash/reduce\"),\n sortBy: require(\"lodash/sortBy\"),\n uniqueId: require(\"lodash/uniqueId\"),\n values: require(\"lodash/values\"),\n zipObject: require(\"lodash/zipObject\"),\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" + }, + { + "id": "./node_modules/dagre/lib/nesting-graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "name": "./node_modules/dagre/lib/nesting-graph.js", + "index": 457, + "index2": 453, + "size": 3641, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./nesting-graph", + "loc": "10:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n cleanup: cleanup\n};\n\n/*\n * A nesting graph creates dummy nodes for the tops and bottoms of subgraphs,\n * adds appropriate edges to ensure that all cluster nodes are placed between\n * these boundries, and ensures that the graph is connected.\n *\n * In addition we ensure, through the use of the minlen property, that nodes\n * and subgraph border nodes to not end up on the same rank.\n *\n * Preconditions:\n *\n * 1. Input graph is a DAG\n * 2. Nodes in the input graph has a minlen attribute\n *\n * Postconditions:\n *\n * 1. Input graph is connected.\n * 2. Dummy nodes are added for the tops and bottoms of subgraphs.\n * 3. The minlen attribute for nodes is adjusted to ensure nodes do not\n * get placed on the same rank as subgraph border nodes.\n *\n * The nesting graph idea comes from Sander, \"Layout of Compound Directed\n * Graphs.\"\n */\nfunction run(g) {\n var root = util.addDummyNode(g, \"root\", {}, \"_root\");\n var depths = treeDepths(g);\n var height = _.max(_.values(depths)) - 1; // Note: depths is an Object not an array\n var nodeSep = 2 * height + 1;\n\n g.graph().nestingRoot = root;\n\n // Multiply minlen by nodeSep to align nodes on non-border ranks.\n _.forEach(g.edges(), function(e) { g.edge(e).minlen *= nodeSep; });\n\n // Calculate a weight that is sufficient to keep subgraphs vertically compact\n var weight = sumWeights(g) + 1;\n\n // Create border nodes and link them up\n _.forEach(g.children(), function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n });\n\n // Save the multiplier for node layers for later removal of empty border\n // layers.\n g.graph().nodeRankFactor = nodeSep;\n}\n\nfunction dfs(g, root, nodeSep, weight, height, depths, v) {\n var children = g.children(v);\n if (!children.length) {\n if (v !== root) {\n g.setEdge(root, v, { weight: 0, minlen: nodeSep });\n }\n return;\n }\n\n var top = util.addBorderNode(g, \"_bt\");\n var bottom = util.addBorderNode(g, \"_bb\");\n var label = g.node(v);\n\n g.setParent(top, v);\n label.borderTop = top;\n g.setParent(bottom, v);\n label.borderBottom = bottom;\n\n _.forEach(children, function(child) {\n dfs(g, root, nodeSep, weight, height, depths, child);\n\n var childNode = g.node(child);\n var childTop = childNode.borderTop ? childNode.borderTop : child;\n var childBottom = childNode.borderBottom ? childNode.borderBottom : child;\n var thisWeight = childNode.borderTop ? weight : 2 * weight;\n var minlen = childTop !== childBottom ? 1 : height - depths[v] + 1;\n\n g.setEdge(top, childTop, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n\n g.setEdge(childBottom, bottom, {\n weight: thisWeight,\n minlen: minlen,\n nestingEdge: true\n });\n });\n\n if (!g.parent(v)) {\n g.setEdge(root, top, { weight: 0, minlen: height + depths[v] });\n }\n}\n\nfunction treeDepths(g) {\n var depths = {};\n function dfs(v, depth) {\n var children = g.children(v);\n if (children && children.length) {\n _.forEach(children, function(child) {\n dfs(child, depth + 1);\n });\n }\n depths[v] = depth;\n }\n _.forEach(g.children(), function(v) { dfs(v, 1); });\n return depths;\n}\n\nfunction sumWeights(g) {\n return _.reduce(g.edges(), function(acc, e) {\n return acc + g.edge(e).weight;\n }, 0);\n}\n\nfunction cleanup(g) {\n var graphLabel = g.graph();\n g.removeNode(graphLabel.nestingRoot);\n delete graphLabel.nestingRoot;\n _.forEach(g.edges(), function(e) {\n var edge = g.edge(e);\n if (edge.nestingEdge) {\n g.removeEdge(e);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/normalize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "name": "./node_modules/dagre/lib/normalize.js", + "index": 450, + "index2": 447, + "size": 2279, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./normalize", + "loc": "5:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar util = require(\"./util\");\n\nmodule.exports = {\n run: run,\n undo: undo\n};\n\n/*\n * Breaks any long edges in the graph into short segments that span 1 layer\n * each. This operation is undoable with the denormalize function.\n *\n * Pre-conditions:\n *\n * 1. The input graph is a DAG.\n * 2. Each node in the graph has a \"rank\" property.\n *\n * Post-condition:\n *\n * 1. All edges in the graph have a length of 1.\n * 2. Dummy nodes are added where edges have been split into segments.\n * 3. The graph is augmented with a \"dummyChains\" attribute which contains\n * the first dummy in each chain of dummy nodes produced.\n */\nfunction run(g) {\n g.graph().dummyChains = [];\n _.forEach(g.edges(), function(edge) { normalizeEdge(g, edge); });\n}\n\nfunction normalizeEdge(g, e) {\n var v = e.v;\n var vRank = g.node(v).rank;\n var w = e.w;\n var wRank = g.node(w).rank;\n var name = e.name;\n var edgeLabel = g.edge(e);\n var labelRank = edgeLabel.labelRank;\n\n if (wRank === vRank + 1) return;\n\n g.removeEdge(e);\n\n var dummy, attrs, i;\n for (i = 0, ++vRank; vRank < wRank; ++i, ++vRank) {\n edgeLabel.points = [];\n attrs = {\n width: 0, height: 0,\n edgeLabel: edgeLabel, edgeObj: e,\n rank: vRank\n };\n dummy = util.addDummyNode(g, \"edge\", attrs, \"_d\");\n if (vRank === labelRank) {\n attrs.width = edgeLabel.width;\n attrs.height = edgeLabel.height;\n attrs.dummy = \"edge-label\";\n attrs.labelpos = edgeLabel.labelpos;\n }\n g.setEdge(v, dummy, { weight: edgeLabel.weight }, name);\n if (i === 0) {\n g.graph().dummyChains.push(dummy);\n }\n v = dummy;\n }\n\n g.setEdge(v, w, { weight: edgeLabel.weight }, name);\n}\n\nfunction undo(g) {\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var origLabel = node.edgeLabel;\n var w;\n g.setEdge(node.edgeObj, origLabel);\n while (node.dummy) {\n w = g.successors(v)[0];\n g.removeNode(v);\n origLabel.points.push({ x: node.x, y: node.y });\n if (node.dummy === \"edge-label\") {\n origLabel.x = node.x;\n origLabel.y = node.y;\n origLabel.width = node.width;\n origLabel.height = node.height;\n }\n v = w;\n node = g.node(v);\n }\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/add-subgraph-constraints.js", + "name": "./node_modules/dagre/lib/order/add-subgraph-constraints.js", + "index": 468, + "index2": 463, + "size": 1219, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./add-subgraph-constraints", + "loc": "8:29-66" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = addSubgraphConstraints;\n\nfunction addSubgraphConstraints(g, cg, vs) {\n var prev = {},\n rootPrev;\n\n _.forEach(vs, function(v) {\n var child = g.parent(v),\n parent,\n prevChild;\n while (child) {\n parent = g.parent(child);\n if (parent) {\n prevChild = prev[parent];\n prev[parent] = child;\n } else {\n prevChild = rootPrev;\n rootPrev = child;\n }\n if (prevChild && prevChild !== child) {\n cg.setEdge(prevChild, child);\n return;\n }\n child = parent;\n }\n });\n\n /*\n function dfs(v) {\n var children = v ? g.children(v) : g.children();\n if (children.length) {\n var min = Number.POSITIVE_INFINITY,\n subgraphs = [];\n _.each(children, function(child) {\n var childMin = dfs(child);\n if (g.children(child).length) {\n subgraphs.push({ v: child, order: childMin });\n }\n min = Math.min(min, childMin);\n });\n _.reduce(_.sortBy(subgraphs, \"order\"), function(prev, curr) {\n cg.setEdge(prev.v, curr.v);\n return curr;\n });\n return min;\n }\n return g.node(v).order;\n }\n dfs(undefined);\n */\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/barycenter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/barycenter.js", + "name": "./node_modules/dagre/lib/order/barycenter.js", + "index": 464, + "index2": 458, + "size": 623, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./barycenter", + "loc": "2:17-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = barycenter;\n\nfunction barycenter(g, movable) {\n return _.map(movable, function(v) {\n var inV = g.inEdges(v);\n if (!inV.length) {\n return { v: v };\n } else {\n var result = _.reduce(inV, function(acc, e) {\n var edge = g.edge(e),\n nodeU = g.node(e.v);\n return {\n sum: acc.sum + (edge.weight * nodeU.order),\n weight: acc.weight + edge.weight\n };\n }, { sum: 0, weight: 0 });\n\n return {\n v: v,\n barycenter: result.sum / result.weight,\n weight: result.weight\n };\n }\n });\n}\n\n" + }, + { + "id": "./node_modules/dagre/lib/order/build-layer-graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/build-layer-graph.js", + "name": "./node_modules/dagre/lib/order/build-layer-graph.js", + "index": 467, + "index2": 462, + "size": 2568, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./build-layer-graph", + "loc": "7:22-52" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\n\nmodule.exports = buildLayerGraph;\n\n/*\n * Constructs a graph that can be used to sort a layer of nodes. The graph will\n * contain all base and subgraph nodes from the request layer in their original\n * hierarchy and any edges that are incident on these nodes and are of the type\n * requested by the \"relationship\" parameter.\n *\n * Nodes from the requested rank that do not have parents are assigned a root\n * node in the output graph, which is set in the root graph attribute. This\n * makes it easy to walk the hierarchy of movable nodes during ordering.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG\n * 2. Base nodes in the input graph have a rank attribute\n * 3. Subgraph nodes in the input graph has minRank and maxRank attributes\n * 4. Edges have an assigned weight\n *\n * Post-conditions:\n *\n * 1. Output graph has all nodes in the movable rank with preserved\n * hierarchy.\n * 2. Root nodes in the movable layer are made children of the node\n * indicated by the root attribute of the graph.\n * 3. Non-movable nodes incident on movable nodes, selected by the\n * relationship parameter, are included in the graph (without hierarchy).\n * 4. Edges incident on movable nodes, selected by the relationship\n * parameter, are added to the output graph.\n * 5. The weights for copied edges are aggregated as need, since the output\n * graph is not a multi-graph.\n */\nfunction buildLayerGraph(g, rank, relationship) {\n var root = createRootNode(g),\n result = new Graph({ compound: true }).setGraph({ root: root })\n .setDefaultNodeLabel(function(v) { return g.node(v); });\n\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v),\n parent = g.parent(v);\n\n if (node.rank === rank || node.minRank <= rank && rank <= node.maxRank) {\n result.setNode(v);\n result.setParent(v, parent || root);\n\n // This assumes we have only short edges!\n _.forEach(g[relationship](v), function(e) {\n var u = e.v === v ? e.w : e.v,\n edge = result.edge(u, v),\n weight = !_.isUndefined(edge) ? edge.weight : 0;\n result.setEdge(u, v, { weight: g.edge(e).weight + weight });\n });\n\n if (_.has(node, \"minRank\")) {\n result.setNode(v, {\n borderLeft: node.borderLeft[rank],\n borderRight: node.borderRight[rank]\n });\n }\n }\n });\n\n return result;\n}\n\nfunction createRootNode(g) {\n var v;\n while (g.hasNode((v = _.uniqueId(\"_root\"))));\n return v;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/cross-count.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/cross-count.js", + "name": "./node_modules/dagre/lib/order/cross-count.js", + "index": 462, + "index2": 457, + "size": 1984, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./cross-count", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = crossCount;\n\n/*\n * A function that takes a layering (an array of layers, each with an array of\n * ordererd nodes) and a graph and returns a weighted crossing count.\n *\n * Pre-conditions:\n *\n * 1. Input graph must be simple (not a multigraph), directed, and include\n * only simple edges.\n * 2. Edges in the input graph must have assigned weights.\n *\n * Post-conditions:\n *\n * 1. The graph and layering matrix are left unchanged.\n *\n * This algorithm is derived from Barth, et al., \"Bilayer Cross Counting.\"\n */\nfunction crossCount(g, layering) {\n var cc = 0;\n for (var i = 1; i < layering.length; ++i) {\n cc += twoLayerCrossCount(g, layering[i-1], layering[i]);\n }\n return cc;\n}\n\nfunction twoLayerCrossCount(g, northLayer, southLayer) {\n // Sort all of the edges between the north and south layers by their position\n // in the north layer and then the south. Map these edges to the position of\n // their head in the south layer.\n var southPos = _.zipObject(southLayer,\n _.map(southLayer, function (v, i) { return i; }));\n var southEntries = _.flatten(_.map(northLayer, function(v) {\n return _.sortBy(_.map(g.outEdges(v), function(e) {\n return { pos: southPos[e.w], weight: g.edge(e).weight };\n }), \"pos\");\n }), true);\n\n // Build the accumulator tree\n var firstIndex = 1;\n while (firstIndex < southLayer.length) firstIndex <<= 1;\n var treeSize = 2 * firstIndex - 1;\n firstIndex -= 1;\n var tree = _.map(new Array(treeSize), function() { return 0; });\n\n // Calculate the weighted crossings\n var cc = 0;\n _.forEach(southEntries.forEach(function(entry) {\n var index = entry.pos + firstIndex;\n tree[index] += entry.weight;\n var weightSum = 0;\n while (index > 0) {\n if (index % 2) {\n weightSum += tree[index + 1];\n }\n index = (index - 1) >> 1;\n tree[index] += entry.weight;\n }\n cc += entry.weight * weightSum;\n }));\n\n return cc;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "index": 460, + "index2": 464, + "size": 2161, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./order", + "loc": "13:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar initOrder = require(\"./init-order\");\nvar crossCount = require(\"./cross-count\");\nvar sortSubgraph = require(\"./sort-subgraph\");\nvar buildLayerGraph = require(\"./build-layer-graph\");\nvar addSubgraphConstraints = require(\"./add-subgraph-constraints\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\nmodule.exports = order;\n\n/*\n * Applies heuristics to minimize edge crossings in the graph and sets the best\n * order solution as an order attribute on each node.\n *\n * Pre-conditions:\n *\n * 1. Graph must be DAG\n * 2. Graph nodes must be objects with a \"rank\" attribute\n * 3. Graph edges must have the \"weight\" attribute\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have an \"order\" attribute based on the results of the\n * algorithm.\n */\nfunction order(g) {\n var maxRank = util.maxRank(g),\n downLayerGraphs = buildLayerGraphs(g, _.range(1, maxRank + 1), \"inEdges\"),\n upLayerGraphs = buildLayerGraphs(g, _.range(maxRank - 1, -1, -1), \"outEdges\");\n\n var layering = initOrder(g);\n assignOrder(g, layering);\n\n var bestCC = Number.POSITIVE_INFINITY,\n best;\n\n for (var i = 0, lastBest = 0; lastBest < 4; ++i, ++lastBest) {\n sweepLayerGraphs(i % 2 ? downLayerGraphs : upLayerGraphs, i % 4 >= 2);\n\n layering = util.buildLayerMatrix(g);\n var cc = crossCount(g, layering);\n if (cc < bestCC) {\n lastBest = 0;\n best = _.cloneDeep(layering);\n bestCC = cc;\n }\n }\n\n assignOrder(g, best);\n}\n\nfunction buildLayerGraphs(g, ranks, relationship) {\n return _.map(ranks, function(rank) {\n return buildLayerGraph(g, rank, relationship);\n });\n}\n\nfunction sweepLayerGraphs(layerGraphs, biasRight) {\n var cg = new Graph();\n _.forEach(layerGraphs, function(lg) {\n var root = lg.graph().root;\n var sorted = sortSubgraph(lg, root, cg, biasRight);\n _.forEach(sorted.vs, function(v, i) {\n lg.node(v).order = i;\n });\n addSubgraphConstraints(lg, cg, sorted.vs);\n });\n}\n\nfunction assignOrder(g, layering) {\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, i) {\n g.node(v).order = i;\n });\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/init-order.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/init-order.js", + "name": "./node_modules/dagre/lib/order/init-order.js", + "index": 461, + "index2": 456, + "size": 1073, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./init-order", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = initOrder;\n\n/*\n * Assigns an initial order value for each node by performing a DFS search\n * starting from nodes in the first rank. Nodes are assigned an order in their\n * rank as they are first visited.\n *\n * This approach comes from Gansner, et al., \"A Technique for Drawing Directed\n * Graphs.\"\n *\n * Returns a layering matrix with an array per layer and each layer sorted by\n * the order of its nodes.\n */\nfunction initOrder(g) {\n var visited = {};\n var simpleNodes = _.filter(g.nodes(), function(v) {\n return !g.children(v).length;\n });\n var maxRank = _.max(_.map(simpleNodes, function(v) { return g.node(v).rank; }));\n var layers = _.map(_.range(maxRank + 1), function() { return []; });\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n var node = g.node(v);\n layers[node.rank].push(v);\n _.forEach(g.successors(v), dfs);\n }\n\n var orderedVs = _.sortBy(simpleNodes, function(v) { return g.node(v).rank; });\n _.forEach(orderedVs, dfs);\n\n return layers;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/resolve-conflicts.js", + "name": "./node_modules/dagre/lib/order/resolve-conflicts.js", + "index": 465, + "index2": 459, + "size": 3329, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./resolve-conflicts", + "loc": "3:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = resolveConflicts;\n\n/*\n * Given a list of entries of the form {v, barycenter, weight} and a\n * constraint graph this function will resolve any conflicts between the\n * constraint graph and the barycenters for the entries. If the barycenters for\n * an entry would violate a constraint in the constraint graph then we coalesce\n * the nodes in the conflict into a new node that respects the contraint and\n * aggregates barycenter and weight information.\n *\n * This implementation is based on the description in Forster, \"A Fast and\n * Simple Hueristic for Constrained Two-Level Crossing Reduction,\" thought it\n * differs in some specific details.\n *\n * Pre-conditions:\n *\n * 1. Each entry has the form {v, barycenter, weight}, or if the node has\n * no barycenter, then {v}.\n *\n * Returns:\n *\n * A new list of entries of the form {vs, i, barycenter, weight}. The list\n * `vs` may either be a singleton or it may be an aggregation of nodes\n * ordered such that they do not violate constraints from the constraint\n * graph. The property `i` is the lowest original index of any of the\n * elements in `vs`.\n */\nfunction resolveConflicts(entries, cg) {\n var mappedEntries = {};\n _.forEach(entries, function(entry, i) {\n var tmp = mappedEntries[entry.v] = {\n indegree: 0,\n \"in\": [],\n out: [],\n vs: [entry.v],\n i: i\n };\n if (!_.isUndefined(entry.barycenter)) {\n tmp.barycenter = entry.barycenter;\n tmp.weight = entry.weight;\n }\n });\n\n _.forEach(cg.edges(), function(e) {\n var entryV = mappedEntries[e.v];\n var entryW = mappedEntries[e.w];\n if (!_.isUndefined(entryV) && !_.isUndefined(entryW)) {\n entryW.indegree++;\n entryV.out.push(mappedEntries[e.w]);\n }\n });\n\n var sourceSet = _.filter(mappedEntries, function(entry) {\n return !entry.indegree;\n });\n\n return doResolveConflicts(sourceSet);\n}\n\nfunction doResolveConflicts(sourceSet) {\n var entries = [];\n\n function handleIn(vEntry) {\n return function(uEntry) {\n if (uEntry.merged) {\n return;\n }\n if (_.isUndefined(uEntry.barycenter) ||\n _.isUndefined(vEntry.barycenter) ||\n uEntry.barycenter >= vEntry.barycenter) {\n mergeEntries(vEntry, uEntry);\n }\n };\n }\n\n function handleOut(vEntry) {\n return function(wEntry) {\n wEntry[\"in\"].push(vEntry);\n if (--wEntry.indegree === 0) {\n sourceSet.push(wEntry);\n }\n };\n }\n\n while (sourceSet.length) {\n var entry = sourceSet.pop();\n entries.push(entry);\n _.forEach(entry[\"in\"].reverse(), handleIn(entry));\n _.forEach(entry.out, handleOut(entry));\n }\n\n return _.map(_.filter(entries, function(entry) { return !entry.merged; }),\n function(entry) {\n return _.pick(entry, [\"vs\", \"i\", \"barycenter\", \"weight\"]);\n });\n\n}\n\nfunction mergeEntries(target, source) {\n var sum = 0;\n var weight = 0;\n\n if (target.weight) {\n sum += target.barycenter * target.weight;\n weight += target.weight;\n }\n\n if (source.weight) {\n sum += source.barycenter * source.weight;\n weight += source.weight;\n }\n\n target.vs = source.vs.concat(target.vs);\n target.barycenter = sum / weight;\n target.weight = weight;\n target.i = Math.min(source.i, target.i);\n source.merged = true;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "index": 463, + "index2": 461, + "size": 2144, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "issuerId": "./node_modules/dagre/lib/order/index.js", + "issuerName": "./node_modules/dagre/lib/order/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "./sort-subgraph", + "loc": "6:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"../lodash\");\nvar barycenter = require(\"./barycenter\");\nvar resolveConflicts = require(\"./resolve-conflicts\");\nvar sort = require(\"./sort\");\n\nmodule.exports = sortSubgraph;\n\nfunction sortSubgraph(g, v, cg, biasRight) {\n var movable = g.children(v);\n var node = g.node(v);\n var bl = node ? node.borderLeft : undefined;\n var br = node ? node.borderRight: undefined;\n var subgraphs = {};\n\n if (bl) {\n movable = _.filter(movable, function(w) {\n return w !== bl && w !== br;\n });\n }\n\n var barycenters = barycenter(g, movable);\n _.forEach(barycenters, function(entry) {\n if (g.children(entry.v).length) {\n var subgraphResult = sortSubgraph(g, entry.v, cg, biasRight);\n subgraphs[entry.v] = subgraphResult;\n if (_.has(subgraphResult, \"barycenter\")) {\n mergeBarycenters(entry, subgraphResult);\n }\n }\n });\n\n var entries = resolveConflicts(barycenters, cg);\n expandSubgraphs(entries, subgraphs);\n\n var result = sort(entries, biasRight);\n\n if (bl) {\n result.vs = _.flatten([bl, result.vs, br], true);\n if (g.predecessors(bl).length) {\n var blPred = g.node(g.predecessors(bl)[0]),\n brPred = g.node(g.predecessors(br)[0]);\n if (!_.has(result, \"barycenter\")) {\n result.barycenter = 0;\n result.weight = 0;\n }\n result.barycenter = (result.barycenter * result.weight +\n blPred.order + brPred.order) / (result.weight + 2);\n result.weight += 2;\n }\n }\n\n return result;\n}\n\nfunction expandSubgraphs(entries, subgraphs) {\n _.forEach(entries, function(entry) {\n entry.vs = _.flatten(entry.vs.map(function(v) {\n if (subgraphs[v]) {\n return subgraphs[v].vs;\n }\n return v;\n }), true);\n });\n}\n\nfunction mergeBarycenters(target, other) {\n if (!_.isUndefined(target.barycenter)) {\n target.barycenter = (target.barycenter * target.weight +\n other.barycenter * other.weight) /\n (target.weight + other.weight);\n target.weight += other.weight;\n } else {\n target.barycenter = other.barycenter;\n target.weight = other.weight;\n }\n}\n" + }, + { + "id": "./node_modules/dagre/lib/order/sort.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "name": "./node_modules/dagre/lib/order/sort.js", + "index": 466, + "index2": 460, + "size": 1374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "issuerId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/order/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "name": "./node_modules/dagre/lib/order/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/dagre/lib/order/sort-subgraph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "name": "./node_modules/dagre/lib/order/sort-subgraph.js", + "profile": { + "factory": 9, + "building": 154, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 269, + "building": 5, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort-subgraph.js", + "module": "./node_modules/dagre/lib/order/sort-subgraph.js", + "moduleName": "./node_modules/dagre/lib/order/sort-subgraph.js", + "type": "cjs require", + "userRequest": "./sort", + "loc": "4:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar util = require(\"../util\");\n\nmodule.exports = sort;\n\nfunction sort(entries, biasRight) {\n var parts = util.partition(entries, function(entry) {\n return _.has(entry, \"barycenter\");\n });\n var sortable = parts.lhs,\n unsortable = _.sortBy(parts.rhs, function(entry) { return -entry.i; }),\n vs = [],\n sum = 0,\n weight = 0,\n vsIndex = 0;\n\n sortable.sort(compareWithBias(!!biasRight));\n\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n\n _.forEach(sortable, function (entry) {\n vsIndex += entry.vs.length;\n vs.push(entry.vs);\n sum += entry.barycenter * entry.weight;\n weight += entry.weight;\n vsIndex = consumeUnsortable(vs, unsortable, vsIndex);\n });\n\n var result = { vs: _.flatten(vs, true) };\n if (weight) {\n result.barycenter = sum / weight;\n result.weight = weight;\n }\n return result;\n}\n\nfunction consumeUnsortable(vs, unsortable, index) {\n var last;\n while (unsortable.length && (last = _.last(unsortable)).i <= index) {\n unsortable.pop();\n vs.push(last.vs);\n index++;\n }\n return index;\n}\n\nfunction compareWithBias(bias) {\n return function(entryV, entryW) {\n if (entryV.barycenter < entryW.barycenter) {\n return -1;\n } else if (entryV.barycenter > entryW.barycenter) {\n return 1;\n }\n\n return !bias ? entryV.i - entryW.i : entryW.i - entryV.i;\n };\n}\n" + }, + { + "id": "./node_modules/dagre/lib/parent-dummy-chains.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/parent-dummy-chains.js", + "name": "./node_modules/dagre/lib/parent-dummy-chains.js", + "index": 456, + "index2": 452, + "size": 2017, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./parent-dummy-chains", + "loc": "8:24-56" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "var _ = require(\"./lodash\");\n\nmodule.exports = parentDummyChains;\n\nfunction parentDummyChains(g) {\n var postorderNums = postorder(g);\n\n _.forEach(g.graph().dummyChains, function(v) {\n var node = g.node(v);\n var edgeObj = node.edgeObj;\n var pathData = findPath(g, postorderNums, edgeObj.v, edgeObj.w);\n var path = pathData.path;\n var lca = pathData.lca;\n var pathIdx = 0;\n var pathV = path[pathIdx];\n var ascending = true;\n\n while (v !== edgeObj.w) {\n node = g.node(v);\n\n if (ascending) {\n while ((pathV = path[pathIdx]) !== lca &&\n g.node(pathV).maxRank < node.rank) {\n pathIdx++;\n }\n\n if (pathV === lca) {\n ascending = false;\n }\n }\n\n if (!ascending) {\n while (pathIdx < path.length - 1 &&\n g.node(pathV = path[pathIdx + 1]).minRank <= node.rank) {\n pathIdx++;\n }\n pathV = path[pathIdx];\n }\n\n g.setParent(v, pathV);\n v = g.successors(v)[0];\n }\n });\n}\n\n// Find a path from v to w through the lowest common ancestor (LCA). Return the\n// full path and the LCA.\nfunction findPath(g, postorderNums, v, w) {\n var vPath = [];\n var wPath = [];\n var low = Math.min(postorderNums[v].low, postorderNums[w].low);\n var lim = Math.max(postorderNums[v].lim, postorderNums[w].lim);\n var parent;\n var lca;\n\n // Traverse up from v to find the LCA\n parent = v;\n do {\n parent = g.parent(parent);\n vPath.push(parent);\n } while (parent &&\n (postorderNums[parent].low > low || lim > postorderNums[parent].lim));\n lca = parent;\n\n // Traverse from w to LCA\n parent = w;\n while ((parent = g.parent(parent)) !== lca) {\n wPath.push(parent);\n }\n\n return { path: vPath.concat(wPath.reverse()), lca: lca };\n}\n\nfunction postorder(g) {\n var result = {};\n var lim = 0;\n\n function dfs(v) {\n var low = lim;\n _.forEach(g.children(v), dfs);\n result[v] = { low: low, lim: lim++ };\n }\n _.forEach(g.children(), dfs);\n\n return result;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/position/bk.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "name": "./node_modules/dagre/lib/position/bk.js", + "index": 470, + "index2": 465, + "size": 11912, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "issuerId": "./node_modules/dagre/lib/position/index.js", + "issuerName": "./node_modules/dagre/lib/position/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/position/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "name": "./node_modules/dagre/lib/position/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 154, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "./bk", + "loc": "5:16-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar util = require(\"../util\");\n\n/*\n * This module provides coordinate assignment based on Brandes and Köpf, \"Fast\n * and Simple Horizontal Coordinate Assignment.\"\n */\n\nmodule.exports = {\n positionX: positionX,\n findType1Conflicts: findType1Conflicts,\n findType2Conflicts: findType2Conflicts,\n addConflict: addConflict,\n hasConflict: hasConflict,\n verticalAlignment: verticalAlignment,\n horizontalCompaction: horizontalCompaction,\n alignCoordinates: alignCoordinates,\n findSmallestWidthAlignment: findSmallestWidthAlignment,\n balance: balance\n};\n\n/*\n * Marks all edges in the graph with a type-1 conflict with the \"type1Conflict\"\n * property. A type-1 conflict is one where a non-inner segment crosses an\n * inner segment. An inner segment is an edge with both incident nodes marked\n * with the \"dummy\" property.\n *\n * This algorithm scans layer by layer, starting with the second, for type-1\n * conflicts between the current layer and the previous layer. For each layer\n * it scans the nodes from left to right until it reaches one that is incident\n * on an inner segment. It then scans predecessors to determine if they have\n * edges that cross that inner segment. At the end a final scan is done for all\n * nodes on the current rank to see if they cross the last visited inner\n * segment.\n *\n * This algorithm (safely) assumes that a dummy node will only be incident on a\n * single node in the layers being scanned.\n */\nfunction findType1Conflicts(g, layering) {\n var conflicts = {};\n\n function visitLayer(prevLayer, layer) {\n var\n // last visited node in the previous layer that is incident on an inner\n // segment.\n k0 = 0,\n // Tracks the last node in this layer scanned for crossings with a type-1\n // segment.\n scanPos = 0,\n prevLayerLength = prevLayer.length,\n lastNode = _.last(layer);\n\n _.forEach(layer, function(v, i) {\n var w = findOtherInnerSegmentNode(g, v),\n k1 = w ? g.node(w).order : prevLayerLength;\n\n if (w || v === lastNode) {\n _.forEach(layer.slice(scanPos, i +1), function(scanNode) {\n _.forEach(g.predecessors(scanNode), function(u) {\n var uLabel = g.node(u),\n uPos = uLabel.order;\n if ((uPos < k0 || k1 < uPos) &&\n !(uLabel.dummy && g.node(scanNode).dummy)) {\n addConflict(conflicts, u, scanNode);\n }\n });\n });\n scanPos = i + 1;\n k0 = k1;\n }\n });\n\n return layer;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findType2Conflicts(g, layering) {\n var conflicts = {};\n\n function scan(south, southPos, southEnd, prevNorthBorder, nextNorthBorder) {\n var v;\n _.forEach(_.range(southPos, southEnd), function(i) {\n v = south[i];\n if (g.node(v).dummy) {\n _.forEach(g.predecessors(v), function(u) {\n var uNode = g.node(u);\n if (uNode.dummy &&\n (uNode.order < prevNorthBorder || uNode.order > nextNorthBorder)) {\n addConflict(conflicts, u, v);\n }\n });\n }\n });\n }\n\n\n function visitLayer(north, south) {\n var prevNorthPos = -1,\n nextNorthPos,\n southPos = 0;\n\n _.forEach(south, function(v, southLookahead) {\n if (g.node(v).dummy === \"border\") {\n var predecessors = g.predecessors(v);\n if (predecessors.length) {\n nextNorthPos = g.node(predecessors[0]).order;\n scan(south, southPos, southLookahead, prevNorthPos, nextNorthPos);\n southPos = southLookahead;\n prevNorthPos = nextNorthPos;\n }\n }\n scan(south, southPos, south.length, nextNorthPos, north.length);\n });\n\n return south;\n }\n\n _.reduce(layering, visitLayer);\n return conflicts;\n}\n\nfunction findOtherInnerSegmentNode(g, v) {\n if (g.node(v).dummy) {\n return _.find(g.predecessors(v), function(u) {\n return g.node(u).dummy;\n });\n }\n}\n\nfunction addConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n\n var conflictsV = conflicts[v];\n if (!conflictsV) {\n conflicts[v] = conflictsV = {};\n }\n conflictsV[w] = true;\n}\n\nfunction hasConflict(conflicts, v, w) {\n if (v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return _.has(conflicts[v], w);\n}\n\n/*\n * Try to align nodes into vertical \"blocks\" where possible. This algorithm\n * attempts to align a node with one of its median neighbors. If the edge\n * connecting a neighbor is a type-1 conflict then we ignore that possibility.\n * If a previous node has already formed a block with a node after the node\n * we're trying to form a block with, we also ignore that possibility - our\n * blocks would be split in that scenario.\n */\nfunction verticalAlignment(g, layering, conflicts, neighborFn) {\n var root = {},\n align = {},\n pos = {};\n\n // We cache the position here based on the layering because the graph and\n // layering may be out of sync. The layering matrix is manipulated to\n // generate different extreme alignments.\n _.forEach(layering, function(layer) {\n _.forEach(layer, function(v, order) {\n root[v] = v;\n align[v] = v;\n pos[v] = order;\n });\n });\n\n _.forEach(layering, function(layer) {\n var prevIdx = -1;\n _.forEach(layer, function(v) {\n var ws = neighborFn(v);\n if (ws.length) {\n ws = _.sortBy(ws, function(w) { return pos[w]; });\n var mp = (ws.length - 1) / 2;\n for (var i = Math.floor(mp), il = Math.ceil(mp); i <= il; ++i) {\n var w = ws[i];\n if (align[v] === v &&\n prevIdx < pos[w] &&\n !hasConflict(conflicts, v, w)) {\n align[w] = v;\n align[v] = root[v] = root[w];\n prevIdx = pos[w];\n }\n }\n }\n });\n });\n\n return { root: root, align: align };\n}\n\nfunction horizontalCompaction(g, layering, root, align, reverseSep) {\n // This portion of the algorithm differs from BK due to a number of problems.\n // Instead of their algorithm we construct a new block graph and do two\n // sweeps. The first sweep places blocks with the smallest possible\n // coordinates. The second sweep removes unused space by moving blocks to the\n // greatest coordinates without violating separation.\n var xs = {},\n blockG = buildBlockGraph(g, layering, root, reverseSep),\n borderType = reverseSep ? \"borderLeft\" : \"borderRight\";\n\n function iterate(setXsFunc, nextNodesFunc) {\n var stack = blockG.nodes();\n var elem = stack.pop();\n var visited = {};\n while (elem) {\n if (visited[elem]) {\n setXsFunc(elem);\n } else {\n visited[elem] = true;\n stack.push(elem);\n stack = stack.concat(nextNodesFunc(elem));\n }\n\n elem = stack.pop();\n }\n }\n\n // First pass, assign smallest coordinates\n function pass1(elem) {\n xs[elem] = blockG.inEdges(elem).reduce(function(acc, e) {\n return Math.max(acc, xs[e.v] + blockG.edge(e));\n }, 0);\n }\n\n // Second pass, assign greatest coordinates\n function pass2(elem) {\n var min = blockG.outEdges(elem).reduce(function(acc, e) {\n return Math.min(acc, xs[e.w] - blockG.edge(e));\n }, Number.POSITIVE_INFINITY);\n\n var node = g.node(elem);\n if (min !== Number.POSITIVE_INFINITY && node.borderType !== borderType) {\n xs[elem] = Math.max(xs[elem], min);\n }\n }\n\n iterate(pass1, blockG.predecessors.bind(blockG));\n iterate(pass2, blockG.successors.bind(blockG));\n\n // Assign x coordinates to all nodes\n _.forEach(align, function(v) {\n xs[v] = xs[root[v]];\n });\n\n return xs;\n}\n\n\nfunction buildBlockGraph(g, layering, root, reverseSep) {\n var blockGraph = new Graph(),\n graphLabel = g.graph(),\n sepFn = sep(graphLabel.nodesep, graphLabel.edgesep, reverseSep);\n\n _.forEach(layering, function(layer) {\n var u;\n _.forEach(layer, function(v) {\n var vRoot = root[v];\n blockGraph.setNode(vRoot);\n if (u) {\n var uRoot = root[u],\n prevMax = blockGraph.edge(uRoot, vRoot);\n blockGraph.setEdge(uRoot, vRoot, Math.max(sepFn(g, v, u), prevMax || 0));\n }\n u = v;\n });\n });\n\n return blockGraph;\n}\n\n/*\n * Returns the alignment that has the smallest width of the given alignments.\n */\nfunction findSmallestWidthAlignment(g, xss) {\n return _.minBy(_.values(xss), function (xs) {\n var max = Number.NEGATIVE_INFINITY;\n var min = Number.POSITIVE_INFINITY;\n\n _.forIn(xs, function (x, v) {\n var halfWidth = width(g, v) / 2;\n\n max = Math.max(x + halfWidth, max);\n min = Math.min(x - halfWidth, min);\n });\n\n return max - min;\n });\n}\n\n/*\n * Align the coordinates of each of the layout alignments such that\n * left-biased alignments have their minimum coordinate at the same point as\n * the minimum coordinate of the smallest width alignment and right-biased\n * alignments have their maximum coordinate at the same point as the maximum\n * coordinate of the smallest width alignment.\n */\nfunction alignCoordinates(xss, alignTo) {\n var alignToVals = _.values(alignTo),\n alignToMin = _.min(alignToVals),\n alignToMax = _.max(alignToVals);\n\n _.forEach([\"u\", \"d\"], function(vert) {\n _.forEach([\"l\", \"r\"], function(horiz) {\n var alignment = vert + horiz,\n xs = xss[alignment],\n delta;\n if (xs === alignTo) return;\n\n var xsVals = _.values(xs);\n delta = horiz === \"l\" ? alignToMin - _.min(xsVals) : alignToMax - _.max(xsVals);\n\n if (delta) {\n xss[alignment] = _.mapValues(xs, function(x) { return x + delta; });\n }\n });\n });\n}\n\nfunction balance(xss, align) {\n return _.mapValues(xss.ul, function(ignore, v) {\n if (align) {\n return xss[align.toLowerCase()][v];\n } else {\n var xs = _.sortBy(_.map(xss, v));\n return (xs[1] + xs[2]) / 2;\n }\n });\n}\n\nfunction positionX(g) {\n var layering = util.buildLayerMatrix(g);\n var conflicts = _.merge(\n findType1Conflicts(g, layering),\n findType2Conflicts(g, layering));\n\n var xss = {};\n var adjustedLayering;\n _.forEach([\"u\", \"d\"], function(vert) {\n adjustedLayering = vert === \"u\" ? layering : _.values(layering).reverse();\n _.forEach([\"l\", \"r\"], function(horiz) {\n if (horiz === \"r\") {\n adjustedLayering = _.map(adjustedLayering, function(inner) {\n return _.values(inner).reverse();\n });\n }\n\n var neighborFn = (vert === \"u\" ? g.predecessors : g.successors).bind(g);\n var align = verticalAlignment(g, adjustedLayering, conflicts, neighborFn);\n var xs = horizontalCompaction(g, adjustedLayering,\n align.root, align.align, horiz === \"r\");\n if (horiz === \"r\") {\n xs = _.mapValues(xs, function(x) { return -x; });\n }\n xss[vert + horiz] = xs;\n });\n });\n\n var smallestWidth = findSmallestWidthAlignment(g, xss);\n alignCoordinates(xss, smallestWidth);\n return balance(xss, g.graph().align);\n}\n\nfunction sep(nodeSep, edgeSep, reverseSep) {\n return function(g, v, w) {\n var vLabel = g.node(v);\n var wLabel = g.node(w);\n var sum = 0;\n var delta;\n\n sum += vLabel.width / 2;\n if (_.has(vLabel, \"labelpos\")) {\n switch (vLabel.labelpos.toLowerCase()) {\n case \"l\": delta = -vLabel.width / 2; break;\n case \"r\": delta = vLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n sum += (vLabel.dummy ? edgeSep : nodeSep) / 2;\n sum += (wLabel.dummy ? edgeSep : nodeSep) / 2;\n\n sum += wLabel.width / 2;\n if (_.has(wLabel, \"labelpos\")) {\n switch (wLabel.labelpos.toLowerCase()) {\n case \"l\": delta = wLabel.width / 2; break;\n case \"r\": delta = -wLabel.width / 2; break;\n }\n }\n if (delta) {\n sum += reverseSep ? delta : -delta;\n }\n delta = 0;\n\n return sum;\n };\n}\n\nfunction width(g, v) {\n return g.node(v).width;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/position/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "name": "./node_modules/dagre/lib/position/index.js", + "index": 469, + "index2": 466, + "size": 666, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./position", + "loc": "14:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar util = require(\"../util\");\nvar positionX = require(\"./bk\").positionX;\n\nmodule.exports = position;\n\nfunction position(g) {\n g = util.asNonCompoundGraph(g);\n\n positionY(g);\n _.forEach(positionX(g), function(x, v) {\n g.node(v).x = x;\n });\n}\n\nfunction positionY(g) {\n var layering = util.buildLayerMatrix(g);\n var rankSep = g.graph().ranksep;\n var prevY = 0;\n _.forEach(layering, function(layer) {\n var maxHeight = _.max(_.map(layer, function(v) { return g.node(v).height; }));\n _.forEach(layer, function(v) {\n g.node(v).y = prevY + maxHeight / 2;\n });\n prevY += maxHeight + rankSep;\n });\n}\n\n" + }, + { + "id": "./node_modules/dagre/lib/rank/feasible-tree.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "name": "./node_modules/dagre/lib/rank/feasible-tree.js", + "index": 454, + "index2": 449, + "size": 2218, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./feasible-tree", + "loc": "5:19-45" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./feasible-tree", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar Graph = require(\"../graphlib\").Graph;\nvar slack = require(\"./util\").slack;\n\nmodule.exports = feasibleTree;\n\n/*\n * Constructs a spanning tree with tight edges and adjusted the input node's\n * ranks to achieve this. A tight edge is one that is has a length that matches\n * its \"minlen\" attribute.\n *\n * The basic structure for this function is derived from Gansner, et al., \"A\n * Technique for Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a DAG.\n * 2. Graph must be connected.\n * 3. Graph must have at least one node.\n * 5. Graph nodes must have been previously assigned a \"rank\" property that\n * respects the \"minlen\" property of incident edges.\n * 6. Graph edges must have a \"minlen\" property.\n *\n * Post-conditions:\n *\n * - Graph nodes will have their rank adjusted to ensure that all edges are\n * tight.\n *\n * Returns a tree (undirected graph) that is constructed using only \"tight\"\n * edges.\n */\nfunction feasibleTree(g) {\n var t = new Graph({ directed: false });\n\n // Choose arbitrary node from which to start our tree\n var start = g.nodes()[0];\n var size = g.nodeCount();\n t.setNode(start, {});\n\n var edge, delta;\n while (tightTree(t, g) < size) {\n edge = findMinSlackEdge(t, g);\n delta = t.hasNode(edge.v) ? slack(g, edge) : -slack(g, edge);\n shiftRanks(t, g, delta);\n }\n\n return t;\n}\n\n/*\n * Finds a maximal tree of tight edges and returns the number of nodes in the\n * tree.\n */\nfunction tightTree(t, g) {\n function dfs(v) {\n _.forEach(g.nodeEdges(v), function(e) {\n var edgeV = e.v,\n w = (v === edgeV) ? e.w : edgeV;\n if (!t.hasNode(w) && !slack(g, e)) {\n t.setNode(w, {});\n t.setEdge(v, w, {});\n dfs(w);\n }\n });\n }\n\n _.forEach(t.nodes(), dfs);\n return t.nodeCount();\n}\n\n/*\n * Finds the edge with the smallest slack that is incident on tree and returns\n * it.\n */\nfunction findMinSlackEdge(t, g) {\n return _.minBy(g.edges(), function(e) {\n if (t.hasNode(e.v) !== t.hasNode(e.w)) {\n return slack(g, e);\n }\n });\n}\n\nfunction shiftRanks(t, g, delta) {\n _.forEach(t.nodes(), function(v) {\n g.node(v).rank += delta;\n });\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "index": 452, + "index2": 451, + "size": 1302, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "issuerId": "./node_modules/dagre/lib/layout.js", + "issuerName": "./node_modules/dagre/lib/layout.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./rank", + "loc": "6:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "\"use strict\";\n\nvar rankUtil = require(\"./util\");\nvar longestPath = rankUtil.longestPath;\nvar feasibleTree = require(\"./feasible-tree\");\nvar networkSimplex = require(\"./network-simplex\");\n\nmodule.exports = rank;\n\n/*\n * Assigns a rank to each node in the input graph that respects the \"minlen\"\n * constraint specified on edges between nodes.\n *\n * This basic structure is derived from Gansner, et al., \"A Technique for\n * Drawing Directed Graphs.\"\n *\n * Pre-conditions:\n *\n * 1. Graph must be a connected DAG\n * 2. Graph nodes must be objects\n * 3. Graph edges must have \"weight\" and \"minlen\" attributes\n *\n * Post-conditions:\n *\n * 1. Graph nodes will have a \"rank\" attribute based on the results of the\n * algorithm. Ranks can start at any index (including negative), we'll\n * fix them up later.\n */\nfunction rank(g) {\n switch(g.graph().ranker) {\n case \"network-simplex\": networkSimplexRanker(g); break;\n case \"tight-tree\": tightTreeRanker(g); break;\n case \"longest-path\": longestPathRanker(g); break;\n default: networkSimplexRanker(g);\n }\n}\n\n// A fast and simple ranker, but results are far from optimal.\nvar longestPathRanker = longestPath;\n\nfunction tightTreeRanker(g) {\n longestPath(g);\n feasibleTree(g);\n}\n\nfunction networkSimplexRanker(g) {\n networkSimplex(g);\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/network-simplex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "name": "./node_modules/dagre/lib/rank/network-simplex.js", + "index": 455, + "index2": 450, + "size": 6706, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./network-simplex", + "loc": "6:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\nvar feasibleTree = require(\"./feasible-tree\");\nvar slack = require(\"./util\").slack;\nvar initRank = require(\"./util\").longestPath;\nvar preorder = require(\"../graphlib\").alg.preorder;\nvar postorder = require(\"../graphlib\").alg.postorder;\nvar simplify = require(\"../util\").simplify;\n\nmodule.exports = networkSimplex;\n\n// Expose some internals for testing purposes\nnetworkSimplex.initLowLimValues = initLowLimValues;\nnetworkSimplex.initCutValues = initCutValues;\nnetworkSimplex.calcCutValue = calcCutValue;\nnetworkSimplex.leaveEdge = leaveEdge;\nnetworkSimplex.enterEdge = enterEdge;\nnetworkSimplex.exchangeEdges = exchangeEdges;\n\n/*\n * The network simplex algorithm assigns ranks to each node in the input graph\n * and iteratively improves the ranking to reduce the length of edges.\n *\n * Preconditions:\n *\n * 1. The input graph must be a DAG.\n * 2. All nodes in the graph must have an object value.\n * 3. All edges in the graph must have \"minlen\" and \"weight\" attributes.\n *\n * Postconditions:\n *\n * 1. All nodes in the graph will have an assigned \"rank\" attribute that has\n * been optimized by the network simplex algorithm. Ranks start at 0.\n *\n *\n * A rough sketch of the algorithm is as follows:\n *\n * 1. Assign initial ranks to each node. We use the longest path algorithm,\n * which assigns ranks to the lowest position possible. In general this\n * leads to very wide bottom ranks and unnecessarily long edges.\n * 2. Construct a feasible tight tree. A tight tree is one such that all\n * edges in the tree have no slack (difference between length of edge\n * and minlen for the edge). This by itself greatly improves the assigned\n * rankings by shorting edges.\n * 3. Iteratively find edges that have negative cut values. Generally a\n * negative cut value indicates that the edge could be removed and a new\n * tree edge could be added to produce a more compact graph.\n *\n * Much of the algorithms here are derived from Gansner, et al., \"A Technique\n * for Drawing Directed Graphs.\" The structure of the file roughly follows the\n * structure of the overall algorithm.\n */\nfunction networkSimplex(g) {\n g = simplify(g);\n initRank(g);\n var t = feasibleTree(g);\n initLowLimValues(t);\n initCutValues(t, g);\n\n var e, f;\n while ((e = leaveEdge(t))) {\n f = enterEdge(t, g, e);\n exchangeEdges(t, g, e, f);\n }\n}\n\n/*\n * Initializes cut values for all edges in the tree.\n */\nfunction initCutValues(t, g) {\n var vs = postorder(t, t.nodes());\n vs = vs.slice(0, vs.length - 1);\n _.forEach(vs, function(v) {\n assignCutValue(t, g, v);\n });\n}\n\nfunction assignCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n t.edge(child, parent).cutvalue = calcCutValue(t, g, child);\n}\n\n/*\n * Given the tight tree, its graph, and a child in the graph calculate and\n * return the cut value for the edge between the child and its parent.\n */\nfunction calcCutValue(t, g, child) {\n var childLab = t.node(child);\n var parent = childLab.parent;\n // True if the child is on the tail end of the edge in the directed graph\n var childIsTail = true;\n // The graph's view of the tree edge we're inspecting\n var graphEdge = g.edge(child, parent);\n // The accumulated cut value for the edge between this node and its parent\n var cutValue = 0;\n\n if (!graphEdge) {\n childIsTail = false;\n graphEdge = g.edge(parent, child);\n }\n\n cutValue = graphEdge.weight;\n\n _.forEach(g.nodeEdges(child), function(e) {\n var isOutEdge = e.v === child,\n other = isOutEdge ? e.w : e.v;\n\n if (other !== parent) {\n var pointsToHead = isOutEdge === childIsTail,\n otherWeight = g.edge(e).weight;\n\n cutValue += pointsToHead ? otherWeight : -otherWeight;\n if (isTreeEdge(t, child, other)) {\n var otherCutValue = t.edge(child, other).cutvalue;\n cutValue += pointsToHead ? -otherCutValue : otherCutValue;\n }\n }\n });\n\n return cutValue;\n}\n\nfunction initLowLimValues(tree, root) {\n if (arguments.length < 2) {\n root = tree.nodes()[0];\n }\n dfsAssignLowLim(tree, {}, 1, root);\n}\n\nfunction dfsAssignLowLim(tree, visited, nextLim, v, parent) {\n var low = nextLim;\n var label = tree.node(v);\n\n visited[v] = true;\n _.forEach(tree.neighbors(v), function(w) {\n if (!_.has(visited, w)) {\n nextLim = dfsAssignLowLim(tree, visited, nextLim, w, v);\n }\n });\n\n label.low = low;\n label.lim = nextLim++;\n if (parent) {\n label.parent = parent;\n } else {\n // TODO should be able to remove this when we incrementally update low lim\n delete label.parent;\n }\n\n return nextLim;\n}\n\nfunction leaveEdge(tree) {\n return _.find(tree.edges(), function(e) {\n return tree.edge(e).cutvalue < 0;\n });\n}\n\nfunction enterEdge(t, g, edge) {\n var v = edge.v;\n var w = edge.w;\n\n // For the rest of this function we assume that v is the tail and w is the\n // head, so if we don't have this edge in the graph we should flip it to\n // match the correct orientation.\n if (!g.hasEdge(v, w)) {\n v = edge.w;\n w = edge.v;\n }\n\n var vLabel = t.node(v);\n var wLabel = t.node(w);\n var tailLabel = vLabel;\n var flip = false;\n\n // If the root is in the tail of the edge then we need to flip the logic that\n // checks for the head and tail nodes in the candidates function below.\n if (vLabel.lim > wLabel.lim) {\n tailLabel = wLabel;\n flip = true;\n }\n\n var candidates = _.filter(g.edges(), function(edge) {\n return flip === isDescendant(t, t.node(edge.v), tailLabel) &&\n flip !== isDescendant(t, t.node(edge.w), tailLabel);\n });\n\n return _.minBy(candidates, function(edge) { return slack(g, edge); });\n}\n\nfunction exchangeEdges(t, g, e, f) {\n var v = e.v;\n var w = e.w;\n t.removeEdge(v, w);\n t.setEdge(f.v, f.w, {});\n initLowLimValues(t);\n initCutValues(t, g);\n updateRanks(t, g);\n}\n\nfunction updateRanks(t, g) {\n var root = _.find(t.nodes(), function(v) { return !g.node(v).parent; });\n var vs = preorder(t, root);\n vs = vs.slice(1);\n _.forEach(vs, function(v) {\n var parent = t.node(v).parent,\n edge = g.edge(v, parent),\n flipped = false;\n\n if (!edge) {\n edge = g.edge(parent, v);\n flipped = true;\n }\n\n g.node(v).rank = g.node(parent).rank + (flipped ? edge.minlen : -edge.minlen);\n });\n}\n\n/*\n * Returns true if the edge is in the tree.\n */\nfunction isTreeEdge(tree, u, v) {\n return tree.hasEdge(u, v);\n}\n\n/*\n * Returns true if the specified node is descendant of the root node per the\n * assigned low and lim attributes in the tree.\n */\nfunction isDescendant(tree, vLabel, rootLabel) {\n return rootLabel.low <= vLabel.lim && vLabel.lim <= rootLabel.lim;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/rank/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/util.js", + "name": "./node_modules/dagre/lib/rank/util.js", + "index": 453, + "index2": 448, + "size": 1769, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "issuerId": "./node_modules/dagre/lib/rank/index.js", + "issuerName": "./node_modules/dagre/lib/rank/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/layout.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "name": "./node_modules/dagre/lib/layout.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/rank/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "name": "./node_modules/dagre/lib/rank/index.js", + "profile": { + "factory": 876, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 152, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/feasible-tree.js", + "module": "./node_modules/dagre/lib/rank/feasible-tree.js", + "moduleName": "./node_modules/dagre/lib/rank/feasible-tree.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "5:12-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/index.js", + "module": "./node_modules/dagre/lib/rank/index.js", + "moduleName": "./node_modules/dagre/lib/rank/index.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "3:15-32" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "5:12-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "6:15-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "\"use strict\";\n\nvar _ = require(\"../lodash\");\n\nmodule.exports = {\n longestPath: longestPath,\n slack: slack\n};\n\n/*\n * Initializes ranks for the input graph using the longest path algorithm. This\n * algorithm scales well and is fast in practice, it yields rather poor\n * solutions. Nodes are pushed to the lowest layer possible, leaving the bottom\n * ranks wide and leaving edges longer than necessary. However, due to its\n * speed, this algorithm is good for getting an initial ranking that can be fed\n * into other algorithms.\n *\n * This algorithm does not normalize layers because it will be used by other\n * algorithms in most cases. If using this algorithm directly, be sure to\n * run normalize at the end.\n *\n * Pre-conditions:\n *\n * 1. Input graph is a DAG.\n * 2. Input graph node labels can be assigned properties.\n *\n * Post-conditions:\n *\n * 1. Each node will be assign an (unnormalized) \"rank\" property.\n */\nfunction longestPath(g) {\n var visited = {};\n\n function dfs(v) {\n var label = g.node(v);\n if (_.has(visited, v)) {\n return label.rank;\n }\n visited[v] = true;\n\n var rank = _.min(_.map(g.outEdges(v), function(e) {\n return dfs(e.w) - g.edge(e).minlen;\n }));\n\n if (rank === Number.POSITIVE_INFINITY || // return value of _.map([]) for Lodash 3\n rank === undefined || // return value of _.map([]) for Lodash 4\n rank === null) { // return value of _.map([null])\n rank = 0;\n }\n\n return (label.rank = rank);\n }\n\n _.forEach(g.sources(), dfs);\n}\n\n/*\n * Returns the amount of slack for the given edge. The slack is defined as the\n * difference between the length of the edge and its minimum length.\n */\nfunction slack(g, e) {\n return g.node(e.w).rank - g.node(e.v).rank - g.edge(e).minlen;\n}\n" + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "index": 451, + "index2": 446, + "size": 5785, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/util", + "loc": "29:10-31" + }, + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/util", + "loc": "30:12-33" + }, + { + "moduleId": "./node_modules/dagre/lib/add-border-segments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/add-border-segments.js", + "module": "./node_modules/dagre/lib/add-border-segments.js", + "moduleName": "./node_modules/dagre/lib/add-border-segments.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/debug.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/debug.js", + "module": "./node_modules/dagre/lib/debug.js", + "moduleName": "./node_modules/dagre/lib/debug.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "7:21-38" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "9:23-40" + }, + { + "moduleId": "./node_modules/dagre/lib/layout.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/layout.js", + "module": "./node_modules/dagre/lib/layout.js", + "moduleName": "./node_modules/dagre/lib/layout.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "15:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/nesting-graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/nesting-graph.js", + "module": "./node_modules/dagre/lib/nesting-graph.js", + "moduleName": "./node_modules/dagre/lib/nesting-graph.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/normalize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/normalize.js", + "module": "./node_modules/dagre/lib/normalize.js", + "moduleName": "./node_modules/dagre/lib/normalize.js", + "type": "cjs require", + "userRequest": "./util", + "loc": "4:11-28" + }, + { + "moduleId": "./node_modules/dagre/lib/order/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/index.js", + "module": "./node_modules/dagre/lib/order/index.js", + "moduleName": "./node_modules/dagre/lib/order/index.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "10:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/order/sort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/order/sort.js", + "module": "./node_modules/dagre/lib/order/sort.js", + "moduleName": "./node_modules/dagre/lib/order/sort.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/position/bk.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/bk.js", + "module": "./node_modules/dagre/lib/position/bk.js", + "moduleName": "./node_modules/dagre/lib/position/bk.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "5:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/position/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/position/index.js", + "module": "./node_modules/dagre/lib/position/index.js", + "moduleName": "./node_modules/dagre/lib/position/index.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "4:11-29" + }, + { + "moduleId": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/rank/network-simplex.js", + "module": "./node_modules/dagre/lib/rank/network-simplex.js", + "moduleName": "./node_modules/dagre/lib/rank/network-simplex.js", + "type": "cjs require", + "userRequest": "../util", + "loc": "9:15-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "/* eslint \"no-console\": off */\n\n\"use strict\";\n\nvar _ = require(\"./lodash\");\nvar Graph = require(\"./graphlib\").Graph;\n\nmodule.exports = {\n addDummyNode: addDummyNode,\n simplify: simplify,\n asNonCompoundGraph: asNonCompoundGraph,\n successorWeights: successorWeights,\n predecessorWeights: predecessorWeights,\n intersectRect: intersectRect,\n buildLayerMatrix: buildLayerMatrix,\n normalizeRanks: normalizeRanks,\n removeEmptyRanks: removeEmptyRanks,\n addBorderNode: addBorderNode,\n maxRank: maxRank,\n partition: partition,\n time: time,\n notime: notime\n};\n\n/*\n * Adds a dummy node to the graph and return v.\n */\nfunction addDummyNode(g, type, attrs, name) {\n var v;\n do {\n v = _.uniqueId(name);\n } while (g.hasNode(v));\n\n attrs.dummy = type;\n g.setNode(v, attrs);\n return v;\n}\n\n/*\n * Returns a new graph with only simple edges. Handles aggregation of data\n * associated with multi-edges.\n */\nfunction simplify(g) {\n var simplified = new Graph().setGraph(g.graph());\n _.forEach(g.nodes(), function(v) { simplified.setNode(v, g.node(v)); });\n _.forEach(g.edges(), function(e) {\n var simpleLabel = simplified.edge(e.v, e.w) || { weight: 0, minlen: 1 };\n var label = g.edge(e);\n simplified.setEdge(e.v, e.w, {\n weight: simpleLabel.weight + label.weight,\n minlen: Math.max(simpleLabel.minlen, label.minlen)\n });\n });\n return simplified;\n}\n\nfunction asNonCompoundGraph(g) {\n var simplified = new Graph({ multigraph: g.isMultigraph() }).setGraph(g.graph());\n _.forEach(g.nodes(), function(v) {\n if (!g.children(v).length) {\n simplified.setNode(v, g.node(v));\n }\n });\n _.forEach(g.edges(), function(e) {\n simplified.setEdge(e, g.edge(e));\n });\n return simplified;\n}\n\nfunction successorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var sucs = {};\n _.forEach(g.outEdges(v), function(e) {\n sucs[e.w] = (sucs[e.w] || 0) + g.edge(e).weight;\n });\n return sucs;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\nfunction predecessorWeights(g) {\n var weightMap = _.map(g.nodes(), function(v) {\n var preds = {};\n _.forEach(g.inEdges(v), function(e) {\n preds[e.v] = (preds[e.v] || 0) + g.edge(e).weight;\n });\n return preds;\n });\n return _.zipObject(g.nodes(), weightMap);\n}\n\n/*\n * Finds where a line starting at point ({x, y}) would intersect a rectangle\n * ({x, y, width, height}) if it were pointing at the rectangle's center.\n */\nfunction intersectRect(rect, point) {\n var x = rect.x;\n var y = rect.y;\n\n // Rectangle intersection algorithm from:\n // http://math.stackexchange.com/questions/108113/find-edge-between-two-boxes\n var dx = point.x - x;\n var dy = point.y - y;\n var w = rect.width / 2;\n var h = rect.height / 2;\n\n if (!dx && !dy) {\n throw new Error(\"Not possible to find intersection inside of the rectangle\");\n }\n\n var sx, sy;\n if (Math.abs(dy) * w > Math.abs(dx) * h) {\n // Intersection is top or bottom of rect.\n if (dy < 0) {\n h = -h;\n }\n sx = h * dx / dy;\n sy = h;\n } else {\n // Intersection is left or right of rect.\n if (dx < 0) {\n w = -w;\n }\n sx = w;\n sy = w * dy / dx;\n }\n\n return { x: x + sx, y: y + sy };\n}\n\n/*\n * Given a DAG with each node assigned \"rank\" and \"order\" properties, this\n * function will produce a matrix with the ids of each node.\n */\nfunction buildLayerMatrix(g) {\n var layering = _.map(_.range(maxRank(g) + 1), function() { return []; });\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n var rank = node.rank;\n if (!_.isUndefined(rank)) {\n layering[rank][node.order] = v;\n }\n });\n return layering;\n}\n\n/*\n * Adjusts the ranks for all nodes in the graph such that all nodes v have\n * rank(v) >= 0 and at least one node w has rank(w) = 0.\n */\nfunction normalizeRanks(g) {\n var min = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n _.forEach(g.nodes(), function(v) {\n var node = g.node(v);\n if (_.has(node, \"rank\")) {\n node.rank -= min;\n }\n });\n}\n\nfunction removeEmptyRanks(g) {\n // Ranks may not start at 0, so we need to offset them\n var offset = _.min(_.map(g.nodes(), function(v) { return g.node(v).rank; }));\n\n var layers = [];\n _.forEach(g.nodes(), function(v) {\n var rank = g.node(v).rank - offset;\n if (!layers[rank]) {\n layers[rank] = [];\n }\n layers[rank].push(v);\n });\n\n var delta = 0;\n var nodeRankFactor = g.graph().nodeRankFactor;\n _.forEach(layers, function(vs, i) {\n if (_.isUndefined(vs) && i % nodeRankFactor !== 0) {\n --delta;\n } else if (delta) {\n _.forEach(vs, function(v) { g.node(v).rank += delta; });\n }\n });\n}\n\nfunction addBorderNode(g, prefix, rank, order) {\n var node = {\n width: 0,\n height: 0\n };\n if (arguments.length >= 4) {\n node.rank = rank;\n node.order = order;\n }\n return addDummyNode(g, \"border\", node, prefix);\n}\n\nfunction maxRank(g) {\n return _.max(_.map(g.nodes(), function(v) {\n var rank = g.node(v).rank;\n if (!_.isUndefined(rank)) {\n return rank;\n }\n }));\n}\n\n/*\n * Partition a collection into two groups: `lhs` and `rhs`. If the supplied\n * function returns true for an entry it goes into `lhs`. Otherwise it goes\n * into `rhs.\n */\nfunction partition(collection, fn) {\n var result = { lhs: [], rhs: [] };\n _.forEach(collection, function(value) {\n if (fn(value)) {\n result.lhs.push(value);\n } else {\n result.rhs.push(value);\n }\n });\n return result;\n}\n\n/*\n * Returns a new function that wraps `fn` with a timer. The wrapper logs the\n * time it takes to execute the function.\n */\nfunction time(name, fn) {\n var start = _.now();\n try {\n return fn();\n } finally {\n console.log(name + \" time: \" + (_.now() - start) + \"ms\");\n }\n}\n\nfunction notime(name, fn) {\n return fn();\n}\n" + }, + { + "id": "./node_modules/dagre/lib/version.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/version.js", + "name": "./node_modules/dagre/lib/version.js", + "index": 472, + "index2": 469, + "size": 26, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "issuerId": "./node_modules/dagre/index.js", + "issuerName": "./node_modules/dagre/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + } + ], + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "module": "./node_modules/dagre/index.js", + "moduleName": "./node_modules/dagre/index.js", + "type": "cjs require", + "userRequest": "./lib/version", + "loc": "32:11-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "module.exports = \"0.8.5\";\n" + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "index": 184, + "index2": 394, + "size": 1723, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "issuerId": "./node_modules/dagre/lib/graphlib.js", + "issuerName": "./node_modules/dagre/lib/graphlib.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + } + ], + "profile": { + "factory": 878, + "building": 4 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/graphlib.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "module": "./node_modules/dagre/lib/graphlib.js", + "moduleName": "./node_modules/dagre/lib/graphlib.js", + "type": "cjs require", + "userRequest": "graphlib", + "loc": "7:15-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 4, + "source": "/**\n * Copyright (c) 2014, Chris Pettitt\n * All rights reserved.\n *\n * Redistribution and use in source and binary forms, with or without\n * modification, are permitted provided that the following conditions are met:\n *\n * 1. Redistributions of source code must retain the above copyright notice, this\n * list of conditions and the following disclaimer.\n *\n * 2. Redistributions in binary form must reproduce the above copyright notice,\n * this list of conditions and the following disclaimer in the documentation\n * and/or other materials provided with the distribution.\n *\n * 3. Neither the name of the copyright holder nor the names of its contributors\n * may be used to endorse or promote products derived from this software without\n * specific prior written permission.\n *\n * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\n * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\n * WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE\n * DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE\n * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL\n * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR\n * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER\n * CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,\n * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE\n * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.\n */\n\nvar lib = require(\"./lib\");\n\nmodule.exports = {\n Graph: lib.Graph,\n json: require(\"./lib/json\"),\n alg: require(\"./lib/alg\"),\n version: lib.version\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/components.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/components.js", + "name": "./node_modules/graphlib/lib/alg/components.js", + "index": 386, + "index2": 380, + "size": 447, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./components", + "loc": "2:14-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = components;\n\nfunction components(g) {\n var visited = {};\n var cmpts = [];\n var cmpt;\n\n function dfs(v) {\n if (_.has(visited, v)) return;\n visited[v] = true;\n cmpt.push(v);\n _.each(g.successors(v), dfs);\n _.each(g.predecessors(v), dfs);\n }\n\n _.each(g.nodes(), function(v) {\n cmpt = [];\n dfs(v);\n if (cmpt.length) {\n cmpts.push(cmpt);\n }\n });\n\n return cmpts;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dfs.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dfs.js", + "name": "./node_modules/graphlib/lib/alg/dfs.js", + "index": 396, + "index2": 389, + "size": 1078, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "issuerId": "./node_modules/graphlib/lib/alg/postorder.js", + "issuerName": "./node_modules/graphlib/lib/alg/postorder.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/postorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "name": "./node_modules/graphlib/lib/alg/postorder.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + } + } + ], + "profile": { + "factory": 9, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/postorder.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "module": "./node_modules/graphlib/lib/alg/postorder.js", + "moduleName": "./node_modules/graphlib/lib/alg/postorder.js", + "type": "cjs require", + "userRequest": "./dfs", + "loc": "1:10-26" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/preorder.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/preorder.js", + "module": "./node_modules/graphlib/lib/alg/preorder.js", + "moduleName": "./node_modules/graphlib/lib/alg/preorder.js", + "type": "cjs require", + "userRequest": "./dfs", + "loc": "1:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = dfs;\n\n/*\n * A helper that preforms a pre- or post-order traversal on the input graph\n * and returns the nodes in the order they were visited. If the graph is\n * undirected then this algorithm will navigate using neighbors. If the graph\n * is directed then this algorithm will navigate using successors.\n *\n * Order must be one of \"pre\" or \"post\".\n */\nfunction dfs(g, vs, order) {\n if (!_.isArray(vs)) {\n vs = [vs];\n }\n\n var navigation = (g.isDirected() ? g.successors : g.neighbors).bind(g);\n\n var acc = [];\n var visited = {};\n _.each(vs, function(v) {\n if (!g.hasNode(v)) {\n throw new Error(\"Graph does not have node: \" + v);\n }\n\n doDfs(g, v, order === \"post\", visited, navigation, acc);\n });\n return acc;\n}\n\nfunction doDfs(g, v, postorder, visited, navigation, acc) {\n if (!_.has(visited, v)) {\n visited[v] = true;\n\n if (!postorder) { acc.push(v); }\n _.each(navigation(v), function(w) {\n doDfs(g, w, postorder, visited, navigation, acc);\n });\n if (postorder) { acc.push(v); }\n }\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "index": 389, + "index2": 383, + "size": 262, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./dijkstra-all", + "loc": "4:15-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dijkstra = require(\"./dijkstra\");\nvar _ = require(\"../lodash\");\n\nmodule.exports = dijkstraAll;\n\nfunction dijkstraAll(g, weightFunc, edgeFunc) {\n return _.transform(g.nodes(), function(acc, v) {\n acc[v] = dijkstra(g, v, weightFunc, edgeFunc);\n }, {});\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra.js", + "index": 387, + "index2": 382, + "size": 1357, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "type": "cjs require", + "userRequest": "./dijkstra", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./dijkstra", + "loc": "3:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = dijkstra;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction dijkstra(g, source, weightFn, edgeFn) {\n return runDijkstra(g, String(source),\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runDijkstra(g, source, weightFn, edgeFn) {\n var results = {};\n var pq = new PriorityQueue();\n var v, vEntry;\n\n var updateNeighbors = function(edge) {\n var w = edge.v !== v ? edge.v : edge.w;\n var wEntry = results[w];\n var weight = weightFn(edge);\n var distance = vEntry.distance + weight;\n\n if (weight < 0) {\n throw new Error(\"dijkstra does not allow negative edge weights. \" +\n \"Bad edge: \" + edge + \" Weight: \" + weight);\n }\n\n if (distance < wEntry.distance) {\n wEntry.distance = distance;\n wEntry.predecessor = v;\n pq.decrease(w, distance);\n }\n };\n\n g.nodes().forEach(function(v) {\n var distance = v === source ? 0 : Number.POSITIVE_INFINITY;\n results[v] = { distance: distance };\n pq.add(v, distance);\n });\n\n while (pq.size() > 0) {\n v = pq.removeMin();\n vEntry = results[v];\n if (vEntry.distance === Number.POSITIVE_INFINITY) {\n break;\n }\n\n edgeFn(v).forEach(updateNeighbors);\n }\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/find-cycles.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "name": "./node_modules/graphlib/lib/alg/find-cycles.js", + "index": 390, + "index2": 385, + "size": 256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./find-cycles", + "loc": "5:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar tarjan = require(\"./tarjan\");\n\nmodule.exports = findCycles;\n\nfunction findCycles(g) {\n return _.filter(tarjan(g), function(cmpt) {\n return cmpt.length > 1 || (cmpt.length === 1 && g.hasEdge(cmpt[0], cmpt[0]));\n });\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/floyd-warshall.js", + "name": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "index": 392, + "index2": 386, + "size": 1235, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./floyd-warshall", + "loc": "6:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = floydWarshall;\n\nvar DEFAULT_WEIGHT_FUNC = _.constant(1);\n\nfunction floydWarshall(g, weightFn, edgeFn) {\n return runFloydWarshall(g,\n weightFn || DEFAULT_WEIGHT_FUNC,\n edgeFn || function(v) { return g.outEdges(v); });\n}\n\nfunction runFloydWarshall(g, weightFn, edgeFn) {\n var results = {};\n var nodes = g.nodes();\n\n nodes.forEach(function(v) {\n results[v] = {};\n results[v][v] = { distance: 0 };\n nodes.forEach(function(w) {\n if (v !== w) {\n results[v][w] = { distance: Number.POSITIVE_INFINITY };\n }\n });\n edgeFn(v).forEach(function(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var d = weightFn(edge);\n results[v][w] = { distance: d, predecessor: v };\n });\n });\n\n nodes.forEach(function(k) {\n var rowK = results[k];\n nodes.forEach(function(i) {\n var rowI = results[i];\n nodes.forEach(function(j) {\n var ik = rowI[k];\n var kj = rowK[j];\n var ij = rowI[j];\n var altDistance = ik.distance + kj.distance;\n if (altDistance < ij.distance) {\n ij.distance = altDistance;\n ij.predecessor = kj.predecessor;\n }\n });\n });\n });\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "index": 385, + "index2": 393, + "size": 424, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib/alg", + "loc": "36:7-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "module.exports = {\n components: require(\"./components\"),\n dijkstra: require(\"./dijkstra\"),\n dijkstraAll: require(\"./dijkstra-all\"),\n findCycles: require(\"./find-cycles\"),\n floydWarshall: require(\"./floyd-warshall\"),\n isAcyclic: require(\"./is-acyclic\"),\n postorder: require(\"./postorder\"),\n preorder: require(\"./preorder\"),\n prim: require(\"./prim\"),\n tarjan: require(\"./tarjan\"),\n topsort: require(\"./topsort\")\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/is-acyclic.js", + "name": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "index": 393, + "index2": 388, + "size": 237, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./is-acyclic", + "loc": "7:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var topsort = require(\"./topsort\");\n\nmodule.exports = isAcyclic;\n\nfunction isAcyclic(g) {\n try {\n topsort(g);\n } catch (e) {\n if (e instanceof topsort.CycleException) {\n return false;\n }\n throw e;\n }\n return true;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/postorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/postorder.js", + "name": "./node_modules/graphlib/lib/alg/postorder.js", + "index": 395, + "index2": 390, + "size": 117, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./postorder", + "loc": "8:13-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = postorder;\n\nfunction postorder(g, vs) {\n return dfs(g, vs, \"post\");\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/preorder.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/preorder.js", + "name": "./node_modules/graphlib/lib/alg/preorder.js", + "index": 397, + "index2": 391, + "size": 114, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./preorder", + "loc": "9:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var dfs = require(\"./dfs\");\n\nmodule.exports = preorder;\n\nfunction preorder(g, vs) {\n return dfs(g, vs, \"pre\");\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/prim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "name": "./node_modules/graphlib/lib/alg/prim.js", + "index": 398, + "index2": 392, + "size": 1105, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./prim", + "loc": "10:8-25" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\nvar Graph = require(\"../graph\");\nvar PriorityQueue = require(\"../data/priority-queue\");\n\nmodule.exports = prim;\n\nfunction prim(g, weightFunc) {\n var result = new Graph();\n var parents = {};\n var pq = new PriorityQueue();\n var v;\n\n function updateNeighbors(edge) {\n var w = edge.v === v ? edge.w : edge.v;\n var pri = pq.priority(w);\n if (pri !== undefined) {\n var edgeWeight = weightFunc(edge);\n if (edgeWeight < pri) {\n parents[w] = v;\n pq.decrease(w, edgeWeight);\n }\n }\n }\n\n if (g.nodeCount() === 0) {\n return result;\n }\n\n _.each(g.nodes(), function(v) {\n pq.add(v, Number.POSITIVE_INFINITY);\n result.setNode(v);\n });\n\n // Start from an arbitrary node\n pq.decrease(g.nodes()[0], 0);\n\n var init = false;\n while (pq.size() > 0) {\n v = pq.removeMin();\n if (_.has(parents, v)) {\n result.setEdge(v, parents[v]);\n } else if (init) {\n throw new Error(\"Input graph is not connected: \" + g);\n } else {\n init = true;\n }\n\n g.nodeEdges(v).forEach(updateNeighbors);\n }\n\n return result;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/tarjan.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/tarjan.js", + "name": "./node_modules/graphlib/lib/alg/tarjan.js", + "index": 391, + "index2": 384, + "size": 962, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "module": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", + "type": "cjs require", + "userRequest": "./tarjan", + "loc": "2:13-32" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./tarjan", + "loc": "11:10-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = tarjan;\n\nfunction tarjan(g) {\n var index = 0;\n var stack = [];\n var visited = {}; // node id -> { onStack, lowlink, index }\n var results = [];\n\n function dfs(v) {\n var entry = visited[v] = {\n onStack: true,\n lowlink: index,\n index: index++\n };\n stack.push(v);\n\n g.successors(v).forEach(function(w) {\n if (!_.has(visited, w)) {\n dfs(w);\n entry.lowlink = Math.min(entry.lowlink, visited[w].lowlink);\n } else if (visited[w].onStack) {\n entry.lowlink = Math.min(entry.lowlink, visited[w].index);\n }\n });\n\n if (entry.lowlink === entry.index) {\n var cmpt = [];\n var w;\n do {\n w = stack.pop();\n visited[w].onStack = false;\n cmpt.push(w);\n } while (v !== w);\n results.push(cmpt);\n }\n }\n\n g.nodes().forEach(function(v) {\n if (!_.has(visited, v)) {\n dfs(v);\n }\n });\n\n return results;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/alg/topsort.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/topsort.js", + "name": "./node_modules/graphlib/lib/alg/topsort.js", + "index": 394, + "index2": 387, + "size": 715, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "issuerId": "./node_modules/graphlib/lib/alg/index.js", + "issuerName": "./node_modules/graphlib/lib/alg/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "module": "./node_modules/graphlib/lib/alg/index.js", + "moduleName": "./node_modules/graphlib/lib/alg/index.js", + "type": "cjs require", + "userRequest": "./topsort", + "loc": "12:11-31" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/is-acyclic.js", + "module": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "moduleName": "./node_modules/graphlib/lib/alg/is-acyclic.js", + "type": "cjs require", + "userRequest": "./topsort", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = topsort;\ntopsort.CycleException = CycleException;\n\nfunction topsort(g) {\n var visited = {};\n var stack = {};\n var results = [];\n\n function visit(node) {\n if (_.has(stack, node)) {\n throw new CycleException();\n }\n\n if (!_.has(visited, node)) {\n stack[node] = true;\n visited[node] = true;\n _.each(g.predecessors(node), visit);\n delete stack[node];\n results.push(node);\n }\n }\n\n _.each(g.sinks(), visit);\n\n if (_.size(visited) !== g.nodeCount()) {\n throw new CycleException();\n }\n\n return results;\n}\n\nfunction CycleException() {}\nCycleException.prototype = new Error(); // must be an instance of Error to pass testing" + }, + { + "id": "./node_modules/graphlib/lib/data/priority-queue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/data/priority-queue.js", + "name": "./node_modules/graphlib/lib/data/priority-queue.js", + "index": 388, + "index2": 381, + "size": 4150, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "issuerId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "issuerName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/index.js", + "name": "./node_modules/graphlib/lib/alg/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/alg/dijkstra.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "name": "./node_modules/graphlib/lib/alg/dijkstra.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 9 + } + } + ], + "profile": { + "factory": 10, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "type": "cjs require", + "userRequest": "../data/priority-queue", + "loc": "2:20-53" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../data/priority-queue", + "loc": "3:20-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var _ = require(\"../lodash\");\n\nmodule.exports = PriorityQueue;\n\n/**\n * A min-priority queue data structure. This algorithm is derived from Cormen,\n * et al., \"Introduction to Algorithms\". The basic idea of a min-priority\n * queue is that you can efficiently (in O(1) time) get the smallest key in\n * the queue. Adding and removing elements takes O(log n) time. A key can\n * have its priority decreased in O(log n) time.\n */\nfunction PriorityQueue() {\n this._arr = [];\n this._keyIndices = {};\n}\n\n/**\n * Returns the number of elements in the queue. Takes `O(1)` time.\n */\nPriorityQueue.prototype.size = function() {\n return this._arr.length;\n};\n\n/**\n * Returns the keys that are in the queue. Takes `O(n)` time.\n */\nPriorityQueue.prototype.keys = function() {\n return this._arr.map(function(x) { return x.key; });\n};\n\n/**\n * Returns `true` if **key** is in the queue and `false` if not.\n */\nPriorityQueue.prototype.has = function(key) {\n return _.has(this._keyIndices, key);\n};\n\n/**\n * Returns the priority for **key**. If **key** is not present in the queue\n * then this function returns `undefined`. Takes `O(1)` time.\n *\n * @param {Object} key\n */\nPriorityQueue.prototype.priority = function(key) {\n var index = this._keyIndices[key];\n if (index !== undefined) {\n return this._arr[index].priority;\n }\n};\n\n/**\n * Returns the key for the minimum element in this queue. If the queue is\n * empty this function throws an Error. Takes `O(1)` time.\n */\nPriorityQueue.prototype.min = function() {\n if (this.size() === 0) {\n throw new Error(\"Queue underflow\");\n }\n return this._arr[0].key;\n};\n\n/**\n * Inserts a new key into the priority queue. If the key already exists in\n * the queue this function returns `false`; otherwise it will return `true`.\n * Takes `O(n)` time.\n *\n * @param {Object} key the key to add\n * @param {Number} priority the initial priority for the key\n */\nPriorityQueue.prototype.add = function(key, priority) {\n var keyIndices = this._keyIndices;\n key = String(key);\n if (!_.has(keyIndices, key)) {\n var arr = this._arr;\n var index = arr.length;\n keyIndices[key] = index;\n arr.push({key: key, priority: priority});\n this._decrease(index);\n return true;\n }\n return false;\n};\n\n/**\n * Removes and returns the smallest key in the queue. Takes `O(log n)` time.\n */\nPriorityQueue.prototype.removeMin = function() {\n this._swap(0, this._arr.length - 1);\n var min = this._arr.pop();\n delete this._keyIndices[min.key];\n this._heapify(0);\n return min.key;\n};\n\n/**\n * Decreases the priority for **key** to **priority**. If the new priority is\n * greater than the previous priority, this function will throw an Error.\n *\n * @param {Object} key the key for which to raise priority\n * @param {Number} priority the new priority for the key\n */\nPriorityQueue.prototype.decrease = function(key, priority) {\n var index = this._keyIndices[key];\n if (priority > this._arr[index].priority) {\n throw new Error(\"New priority is greater than current priority. \" +\n \"Key: \" + key + \" Old: \" + this._arr[index].priority + \" New: \" + priority);\n }\n this._arr[index].priority = priority;\n this._decrease(index);\n};\n\nPriorityQueue.prototype._heapify = function(i) {\n var arr = this._arr;\n var l = 2 * i;\n var r = l + 1;\n var largest = i;\n if (l < arr.length) {\n largest = arr[l].priority < arr[largest].priority ? l : largest;\n if (r < arr.length) {\n largest = arr[r].priority < arr[largest].priority ? r : largest;\n }\n if (largest !== i) {\n this._swap(i, largest);\n this._heapify(largest);\n }\n }\n};\n\nPriorityQueue.prototype._decrease = function(index) {\n var arr = this._arr;\n var priority = arr[index].priority;\n var parent;\n while (index !== 0) {\n parent = index >> 1;\n if (arr[parent].priority < priority) {\n break;\n }\n this._swap(index, parent);\n index = parent;\n }\n};\n\nPriorityQueue.prototype._swap = function(i, j) {\n var arr = this._arr;\n var keyIndices = this._keyIndices;\n var origArrI = arr[i];\n var origArrJ = arr[j];\n arr[i] = origArrJ;\n arr[j] = origArrI;\n keyIndices[origArrJ.key] = i;\n keyIndices[origArrI.key] = j;\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/graph.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/graph.js", + "name": "./node_modules/graphlib/lib/graph.js", + "index": 186, + "index2": 376, + "size": 12028, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "issuerId": "./node_modules/graphlib/lib/json.js", + "issuerName": "./node_modules/graphlib/lib/json.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../graph", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/graphlib/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "module": "./node_modules/graphlib/lib/index.js", + "moduleName": "./node_modules/graphlib/lib/index.js", + "type": "cjs require", + "userRequest": "./graph", + "loc": "3:9-27" + }, + { + "moduleId": "./node_modules/graphlib/lib/json.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "module": "./node_modules/graphlib/lib/json.js", + "moduleName": "./node_modules/graphlib/lib/json.js", + "type": "cjs require", + "userRequest": "./graph", + "loc": "2:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "\"use strict\";\n\nvar _ = require(\"./lodash\");\n\nmodule.exports = Graph;\n\nvar DEFAULT_EDGE_NAME = \"\\x00\";\nvar GRAPH_NODE = \"\\x00\";\nvar EDGE_KEY_DELIM = \"\\x01\";\n\n// Implementation notes:\n//\n// * Node id query functions should return string ids for the nodes\n// * Edge id query functions should return an \"edgeObj\", edge object, that is\n// composed of enough information to uniquely identify an edge: {v, w, name}.\n// * Internally we use an \"edgeId\", a stringified form of the edgeObj, to\n// reference edges. This is because we need a performant way to look these\n// edges up and, object properties, which have string keys, are the closest\n// we're going to get to a performant hashtable in JavaScript.\n\nfunction Graph(opts) {\n this._isDirected = _.has(opts, \"directed\") ? opts.directed : true;\n this._isMultigraph = _.has(opts, \"multigraph\") ? opts.multigraph : false;\n this._isCompound = _.has(opts, \"compound\") ? opts.compound : false;\n\n // Label for the graph itself\n this._label = undefined;\n\n // Defaults to be set when creating a new node\n this._defaultNodeLabelFn = _.constant(undefined);\n\n // Defaults to be set when creating a new edge\n this._defaultEdgeLabelFn = _.constant(undefined);\n\n // v -> label\n this._nodes = {};\n\n if (this._isCompound) {\n // v -> parent\n this._parent = {};\n\n // v -> children\n this._children = {};\n this._children[GRAPH_NODE] = {};\n }\n\n // v -> edgeObj\n this._in = {};\n\n // u -> v -> Number\n this._preds = {};\n\n // v -> edgeObj\n this._out = {};\n\n // v -> w -> Number\n this._sucs = {};\n\n // e -> edgeObj\n this._edgeObjs = {};\n\n // e -> label\n this._edgeLabels = {};\n}\n\n/* Number of nodes in the graph. Should only be changed by the implementation. */\nGraph.prototype._nodeCount = 0;\n\n/* Number of edges in the graph. Should only be changed by the implementation. */\nGraph.prototype._edgeCount = 0;\n\n\n/* === Graph functions ========= */\n\nGraph.prototype.isDirected = function() {\n return this._isDirected;\n};\n\nGraph.prototype.isMultigraph = function() {\n return this._isMultigraph;\n};\n\nGraph.prototype.isCompound = function() {\n return this._isCompound;\n};\n\nGraph.prototype.setGraph = function(label) {\n this._label = label;\n return this;\n};\n\nGraph.prototype.graph = function() {\n return this._label;\n};\n\n\n/* === Node functions ========== */\n\nGraph.prototype.setDefaultNodeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultNodeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.nodeCount = function() {\n return this._nodeCount;\n};\n\nGraph.prototype.nodes = function() {\n return _.keys(this._nodes);\n};\n\nGraph.prototype.sources = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._in[v]);\n });\n};\n\nGraph.prototype.sinks = function() {\n var self = this;\n return _.filter(this.nodes(), function(v) {\n return _.isEmpty(self._out[v]);\n });\n};\n\nGraph.prototype.setNodes = function(vs, value) {\n var args = arguments;\n var self = this;\n _.each(vs, function(v) {\n if (args.length > 1) {\n self.setNode(v, value);\n } else {\n self.setNode(v);\n }\n });\n return this;\n};\n\nGraph.prototype.setNode = function(v, value) {\n if (_.has(this._nodes, v)) {\n if (arguments.length > 1) {\n this._nodes[v] = value;\n }\n return this;\n }\n\n this._nodes[v] = arguments.length > 1 ? value : this._defaultNodeLabelFn(v);\n if (this._isCompound) {\n this._parent[v] = GRAPH_NODE;\n this._children[v] = {};\n this._children[GRAPH_NODE][v] = true;\n }\n this._in[v] = {};\n this._preds[v] = {};\n this._out[v] = {};\n this._sucs[v] = {};\n ++this._nodeCount;\n return this;\n};\n\nGraph.prototype.node = function(v) {\n return this._nodes[v];\n};\n\nGraph.prototype.hasNode = function(v) {\n return _.has(this._nodes, v);\n};\n\nGraph.prototype.removeNode = function(v) {\n var self = this;\n if (_.has(this._nodes, v)) {\n var removeEdge = function(e) { self.removeEdge(self._edgeObjs[e]); };\n delete this._nodes[v];\n if (this._isCompound) {\n this._removeFromParentsChildList(v);\n delete this._parent[v];\n _.each(this.children(v), function(child) {\n self.setParent(child);\n });\n delete this._children[v];\n }\n _.each(_.keys(this._in[v]), removeEdge);\n delete this._in[v];\n delete this._preds[v];\n _.each(_.keys(this._out[v]), removeEdge);\n delete this._out[v];\n delete this._sucs[v];\n --this._nodeCount;\n }\n return this;\n};\n\nGraph.prototype.setParent = function(v, parent) {\n if (!this._isCompound) {\n throw new Error(\"Cannot set parent in a non-compound graph\");\n }\n\n if (_.isUndefined(parent)) {\n parent = GRAPH_NODE;\n } else {\n // Coerce parent to string\n parent += \"\";\n for (var ancestor = parent;\n !_.isUndefined(ancestor);\n ancestor = this.parent(ancestor)) {\n if (ancestor === v) {\n throw new Error(\"Setting \" + parent+ \" as parent of \" + v +\n \" would create a cycle\");\n }\n }\n\n this.setNode(parent);\n }\n\n this.setNode(v);\n this._removeFromParentsChildList(v);\n this._parent[v] = parent;\n this._children[parent][v] = true;\n return this;\n};\n\nGraph.prototype._removeFromParentsChildList = function(v) {\n delete this._children[this._parent[v]][v];\n};\n\nGraph.prototype.parent = function(v) {\n if (this._isCompound) {\n var parent = this._parent[v];\n if (parent !== GRAPH_NODE) {\n return parent;\n }\n }\n};\n\nGraph.prototype.children = function(v) {\n if (_.isUndefined(v)) {\n v = GRAPH_NODE;\n }\n\n if (this._isCompound) {\n var children = this._children[v];\n if (children) {\n return _.keys(children);\n }\n } else if (v === GRAPH_NODE) {\n return this.nodes();\n } else if (this.hasNode(v)) {\n return [];\n }\n};\n\nGraph.prototype.predecessors = function(v) {\n var predsV = this._preds[v];\n if (predsV) {\n return _.keys(predsV);\n }\n};\n\nGraph.prototype.successors = function(v) {\n var sucsV = this._sucs[v];\n if (sucsV) {\n return _.keys(sucsV);\n }\n};\n\nGraph.prototype.neighbors = function(v) {\n var preds = this.predecessors(v);\n if (preds) {\n return _.union(preds, this.successors(v));\n }\n};\n\nGraph.prototype.isLeaf = function (v) {\n var neighbors;\n if (this.isDirected()) {\n neighbors = this.successors(v);\n } else {\n neighbors = this.neighbors(v);\n }\n return neighbors.length === 0;\n};\n\nGraph.prototype.filterNodes = function(filter) {\n var copy = new this.constructor({\n directed: this._isDirected,\n multigraph: this._isMultigraph,\n compound: this._isCompound\n });\n\n copy.setGraph(this.graph());\n\n var self = this;\n _.each(this._nodes, function(value, v) {\n if (filter(v)) {\n copy.setNode(v, value);\n }\n });\n\n _.each(this._edgeObjs, function(e) {\n if (copy.hasNode(e.v) && copy.hasNode(e.w)) {\n copy.setEdge(e, self.edge(e));\n }\n });\n\n var parents = {};\n function findParent(v) {\n var parent = self.parent(v);\n if (parent === undefined || copy.hasNode(parent)) {\n parents[v] = parent;\n return parent;\n } else if (parent in parents) {\n return parents[parent];\n } else {\n return findParent(parent);\n }\n }\n\n if (this._isCompound) {\n _.each(copy.nodes(), function(v) {\n copy.setParent(v, findParent(v));\n });\n }\n\n return copy;\n};\n\n/* === Edge functions ========== */\n\nGraph.prototype.setDefaultEdgeLabel = function(newDefault) {\n if (!_.isFunction(newDefault)) {\n newDefault = _.constant(newDefault);\n }\n this._defaultEdgeLabelFn = newDefault;\n return this;\n};\n\nGraph.prototype.edgeCount = function() {\n return this._edgeCount;\n};\n\nGraph.prototype.edges = function() {\n return _.values(this._edgeObjs);\n};\n\nGraph.prototype.setPath = function(vs, value) {\n var self = this;\n var args = arguments;\n _.reduce(vs, function(v, w) {\n if (args.length > 1) {\n self.setEdge(v, w, value);\n } else {\n self.setEdge(v, w);\n }\n return w;\n });\n return this;\n};\n\n/*\n * setEdge(v, w, [value, [name]])\n * setEdge({ v, w, [name] }, [value])\n */\nGraph.prototype.setEdge = function() {\n var v, w, name, value;\n var valueSpecified = false;\n var arg0 = arguments[0];\n\n if (typeof arg0 === \"object\" && arg0 !== null && \"v\" in arg0) {\n v = arg0.v;\n w = arg0.w;\n name = arg0.name;\n if (arguments.length === 2) {\n value = arguments[1];\n valueSpecified = true;\n }\n } else {\n v = arg0;\n w = arguments[1];\n name = arguments[3];\n if (arguments.length > 2) {\n value = arguments[2];\n valueSpecified = true;\n }\n }\n\n v = \"\" + v;\n w = \"\" + w;\n if (!_.isUndefined(name)) {\n name = \"\" + name;\n }\n\n var e = edgeArgsToId(this._isDirected, v, w, name);\n if (_.has(this._edgeLabels, e)) {\n if (valueSpecified) {\n this._edgeLabels[e] = value;\n }\n return this;\n }\n\n if (!_.isUndefined(name) && !this._isMultigraph) {\n throw new Error(\"Cannot set a named edge when isMultigraph = false\");\n }\n\n // It didn't exist, so we need to create it.\n // First ensure the nodes exist.\n this.setNode(v);\n this.setNode(w);\n\n this._edgeLabels[e] = valueSpecified ? value : this._defaultEdgeLabelFn(v, w, name);\n\n var edgeObj = edgeArgsToObj(this._isDirected, v, w, name);\n // Ensure we add undirected edges in a consistent way.\n v = edgeObj.v;\n w = edgeObj.w;\n\n Object.freeze(edgeObj);\n this._edgeObjs[e] = edgeObj;\n incrementOrInitEntry(this._preds[w], v);\n incrementOrInitEntry(this._sucs[v], w);\n this._in[w][e] = edgeObj;\n this._out[v][e] = edgeObj;\n this._edgeCount++;\n return this;\n};\n\nGraph.prototype.edge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return this._edgeLabels[e];\n};\n\nGraph.prototype.hasEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n return _.has(this._edgeLabels, e);\n};\n\nGraph.prototype.removeEdge = function(v, w, name) {\n var e = (arguments.length === 1\n ? edgeObjToId(this._isDirected, arguments[0])\n : edgeArgsToId(this._isDirected, v, w, name));\n var edge = this._edgeObjs[e];\n if (edge) {\n v = edge.v;\n w = edge.w;\n delete this._edgeLabels[e];\n delete this._edgeObjs[e];\n decrementOrRemoveEntry(this._preds[w], v);\n decrementOrRemoveEntry(this._sucs[v], w);\n delete this._in[w][e];\n delete this._out[v][e];\n this._edgeCount--;\n }\n return this;\n};\n\nGraph.prototype.inEdges = function(v, u) {\n var inV = this._in[v];\n if (inV) {\n var edges = _.values(inV);\n if (!u) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.v === u; });\n }\n};\n\nGraph.prototype.outEdges = function(v, w) {\n var outV = this._out[v];\n if (outV) {\n var edges = _.values(outV);\n if (!w) {\n return edges;\n }\n return _.filter(edges, function(edge) { return edge.w === w; });\n }\n};\n\nGraph.prototype.nodeEdges = function(v, w) {\n var inEdges = this.inEdges(v, w);\n if (inEdges) {\n return inEdges.concat(this.outEdges(v, w));\n }\n};\n\nfunction incrementOrInitEntry(map, k) {\n if (map[k]) {\n map[k]++;\n } else {\n map[k] = 1;\n }\n}\n\nfunction decrementOrRemoveEntry(map, k) {\n if (!--map[k]) { delete map[k]; }\n}\n\nfunction edgeArgsToId(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n return v + EDGE_KEY_DELIM + w + EDGE_KEY_DELIM +\n (_.isUndefined(name) ? DEFAULT_EDGE_NAME : name);\n}\n\nfunction edgeArgsToObj(isDirected, v_, w_, name) {\n var v = \"\" + v_;\n var w = \"\" + w_;\n if (!isDirected && v > w) {\n var tmp = v;\n v = w;\n w = tmp;\n }\n var edgeObj = { v: v, w: w };\n if (name) {\n edgeObj.name = name;\n }\n return edgeObj;\n}\n\nfunction edgeObjToId(isDirected, edgeObj) {\n return edgeArgsToId(isDirected, edgeObj.v, edgeObj.w, edgeObj.name);\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "name": "./node_modules/graphlib/lib/index.js", + "index": 185, + "index2": 378, + "size": 123, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib", + "loc": "31:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "// Includes only the \"core\" of graphlib\nmodule.exports = {\n Graph: require(\"./graph\"),\n version: require(\"./version\")\n};\n" + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "index": 384, + "index2": 379, + "size": 1399, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "issuerId": "./node_modules/graphlib/index.js", + "issuerName": "./node_modules/graphlib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + } + ], + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "module": "./node_modules/graphlib/index.js", + "moduleName": "./node_modules/graphlib/index.js", + "type": "cjs require", + "userRequest": "./lib/json", + "loc": "35:8-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var _ = require(\"./lodash\");\nvar Graph = require(\"./graph\");\n\nmodule.exports = {\n write: write,\n read: read\n};\n\nfunction write(g) {\n var json = {\n options: {\n directed: g.isDirected(),\n multigraph: g.isMultigraph(),\n compound: g.isCompound()\n },\n nodes: writeNodes(g),\n edges: writeEdges(g)\n };\n if (!_.isUndefined(g.graph())) {\n json.value = _.clone(g.graph());\n }\n return json;\n}\n\nfunction writeNodes(g) {\n return _.map(g.nodes(), function(v) {\n var nodeValue = g.node(v);\n var parent = g.parent(v);\n var node = { v: v };\n if (!_.isUndefined(nodeValue)) {\n node.value = nodeValue;\n }\n if (!_.isUndefined(parent)) {\n node.parent = parent;\n }\n return node;\n });\n}\n\nfunction writeEdges(g) {\n return _.map(g.edges(), function(e) {\n var edgeValue = g.edge(e);\n var edge = { v: e.v, w: e.w };\n if (!_.isUndefined(e.name)) {\n edge.name = e.name;\n }\n if (!_.isUndefined(edgeValue)) {\n edge.value = edgeValue;\n }\n return edge;\n });\n}\n\nfunction read(json) {\n var g = new Graph(json.options).setGraph(json.value);\n _.each(json.nodes, function(entry) {\n g.setNode(entry.v, entry.value);\n if (entry.parent) {\n g.setParent(entry.v, entry.parent);\n }\n });\n _.each(json.edges, function(entry) {\n g.setEdge({ v: entry.v, w: entry.w, name: entry.name }, entry.value);\n });\n return g;\n}\n" + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "index": 187, + "index2": 375, + "size": 868, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "issuerId": "./node_modules/graphlib/lib/json.js", + "issuerName": "./node_modules/graphlib/lib/json.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/alg/components.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/components.js", + "module": "./node_modules/graphlib/lib/alg/components.js", + "moduleName": "./node_modules/graphlib/lib/alg/components.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dfs.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dfs.js", + "module": "./node_modules/graphlib/lib/alg/dfs.js", + "moduleName": "./node_modules/graphlib/lib/alg/dfs.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra-all.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra-all.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "2:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/dijkstra.js", + "module": "./node_modules/graphlib/lib/alg/dijkstra.js", + "moduleName": "./node_modules/graphlib/lib/alg/dijkstra.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/find-cycles.js", + "module": "./node_modules/graphlib/lib/alg/find-cycles.js", + "moduleName": "./node_modules/graphlib/lib/alg/find-cycles.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/floyd-warshall.js", + "module": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "moduleName": "./node_modules/graphlib/lib/alg/floyd-warshall.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/prim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/prim.js", + "module": "./node_modules/graphlib/lib/alg/prim.js", + "moduleName": "./node_modules/graphlib/lib/alg/prim.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/tarjan.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/tarjan.js", + "module": "./node_modules/graphlib/lib/alg/tarjan.js", + "moduleName": "./node_modules/graphlib/lib/alg/tarjan.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/alg/topsort.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/alg/topsort.js", + "module": "./node_modules/graphlib/lib/alg/topsort.js", + "moduleName": "./node_modules/graphlib/lib/alg/topsort.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/data/priority-queue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/data/priority-queue.js", + "module": "./node_modules/graphlib/lib/data/priority-queue.js", + "moduleName": "./node_modules/graphlib/lib/data/priority-queue.js", + "type": "cjs require", + "userRequest": "../lodash", + "loc": "1:8-28" + }, + { + "moduleId": "./node_modules/graphlib/lib/graph.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/graph.js", + "module": "./node_modules/graphlib/lib/graph.js", + "moduleName": "./node_modules/graphlib/lib/graph.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "3:8-27" + }, + { + "moduleId": "./node_modules/graphlib/lib/json.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "module": "./node_modules/graphlib/lib/json.js", + "moduleName": "./node_modules/graphlib/lib/json.js", + "type": "cjs require", + "userRequest": "./lodash", + "loc": "1:8-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/* global window */\n\nvar lodash;\n\nif (typeof require === \"function\") {\n try {\n lodash = {\n clone: require(\"lodash/clone\"),\n constant: require(\"lodash/constant\"),\n each: require(\"lodash/each\"),\n filter: require(\"lodash/filter\"),\n has: require(\"lodash/has\"),\n isArray: require(\"lodash/isArray\"),\n isEmpty: require(\"lodash/isEmpty\"),\n isFunction: require(\"lodash/isFunction\"),\n isUndefined: require(\"lodash/isUndefined\"),\n keys: require(\"lodash/keys\"),\n map: require(\"lodash/map\"),\n reduce: require(\"lodash/reduce\"),\n size: require(\"lodash/size\"),\n transform: require(\"lodash/transform\"),\n union: require(\"lodash/union\"),\n values: require(\"lodash/values\")\n };\n } catch (e) {\n // continue regardless of error\n }\n}\n\nif (!lodash) {\n lodash = window._;\n}\n\nmodule.exports = lodash;\n" + }, + { + "id": "./node_modules/graphlib/lib/version.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/version.js", + "name": "./node_modules/graphlib/lib/version.js", + "index": 383, + "index2": 377, + "size": 26, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "issuerId": "./node_modules/graphlib/lib/index.js", + "issuerName": "./node_modules/graphlib/lib/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "name": "./node_modules/graphlib/lib/index.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 12, + "building": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/index.js", + "module": "./node_modules/graphlib/lib/index.js", + "moduleName": "./node_modules/graphlib/lib/index.js", + "type": "cjs require", + "userRequest": "./version", + "loc": "4:11-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "module.exports = '2.1.8';\n" + }, + { + "id": "./node_modules/isarray/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/isarray/index.js", + "name": "./node_modules/isarray/index.js", + "index": 141, + "index2": 138, + "size": 120, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "isarray", + "loc": "2:14-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "module.exports = Array.isArray || function (arr) {\n return Object.prototype.toString.call(arr) == '[object Array]';\n};\n" + }, + { + "id": "./node_modules/lodash/_DataView.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "name": "./node_modules/lodash/_DataView.js", + "index": 279, + "index2": 268, + "size": 210, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_DataView", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar DataView = getNative(root, 'DataView');\n\nmodule.exports = DataView;\n" + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "index": 221, + "index2": 213, + "size": 747, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "issuerId": "./node_modules/lodash/_mapCacheClear.js", + "issuerName": "./node_modules/lodash/_mapCacheClear.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_Hash", + "loc": "1:11-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var hashClear = require('./_hashClear'),\n hashDelete = require('./_hashDelete'),\n hashGet = require('./_hashGet'),\n hashHas = require('./_hashHas'),\n hashSet = require('./_hashSet');\n\n/**\n * Creates a hash object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Hash(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `Hash`.\nHash.prototype.clear = hashClear;\nHash.prototype['delete'] = hashDelete;\nHash.prototype.get = hashGet;\nHash.prototype.has = hashHas;\nHash.prototype.set = hashSet;\n\nmodule.exports = Hash;\n" + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "index": 191, + "index2": 187, + "size": 869, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/_stackClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackClear.js", + "module": "./node_modules/lodash/_stackClear.js", + "moduleName": "./node_modules/lodash/_stackClear.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_ListCache", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var listCacheClear = require('./_listCacheClear'),\n listCacheDelete = require('./_listCacheDelete'),\n listCacheGet = require('./_listCacheGet'),\n listCacheHas = require('./_listCacheHas'),\n listCacheSet = require('./_listCacheSet');\n\n/**\n * Creates an list cache object.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction ListCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `ListCache`.\nListCache.prototype.clear = listCacheClear;\nListCache.prototype['delete'] = listCacheDelete;\nListCache.prototype.get = listCacheGet;\nListCache.prototype.has = listCacheHas;\nListCache.prototype.set = listCacheSet;\n\nmodule.exports = ListCache;\n" + }, + { + "id": "./node_modules/lodash/_Map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "name": "./node_modules/lodash/_Map.js", + "index": 204, + "index2": 206, + "size": 195, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "2:10-27" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "module": "./node_modules/lodash/_mapCacheClear.js", + "moduleName": "./node_modules/lodash/_mapCacheClear.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "3:10-27" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_Map", + "loc": "2:10-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Map = getNative(root, 'Map');\n\nmodule.exports = Map;\n" + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "index": 219, + "index2": 221, + "size": 869, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "issuerId": "./node_modules/lodash/_stackSet.js", + "issuerName": "./node_modules/lodash/_stackSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_stackSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "module": "./node_modules/lodash/_stackSet.js", + "moduleName": "./node_modules/lodash/_stackSet.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/memoize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/memoize.js", + "module": "./node_modules/lodash/memoize.js", + "moduleName": "./node_modules/lodash/memoize.js", + "type": "cjs require", + "userRequest": "./_MapCache", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var mapCacheClear = require('./_mapCacheClear'),\n mapCacheDelete = require('./_mapCacheDelete'),\n mapCacheGet = require('./_mapCacheGet'),\n mapCacheHas = require('./_mapCacheHas'),\n mapCacheSet = require('./_mapCacheSet');\n\n/**\n * Creates a map cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction MapCache(entries) {\n var index = -1,\n length = entries == null ? 0 : entries.length;\n\n this.clear();\n while (++index < length) {\n var entry = entries[index];\n this.set(entry[0], entry[1]);\n }\n}\n\n// Add methods to `MapCache`.\nMapCache.prototype.clear = mapCacheClear;\nMapCache.prototype['delete'] = mapCacheDelete;\nMapCache.prototype.get = mapCacheGet;\nMapCache.prototype.has = mapCacheHas;\nMapCache.prototype.set = mapCacheSet;\n\nmodule.exports = MapCache;\n" + }, + { + "id": "./node_modules/lodash/_Promise.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "name": "./node_modules/lodash/_Promise.js", + "index": 280, + "index2": 269, + "size": 207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Promise", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Promise = getNative(root, 'Promise');\n\nmodule.exports = Promise;\n" + }, + { + "id": "./node_modules/lodash/_Set.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "name": "./node_modules/lodash/_Set.js", + "index": 281, + "index2": 270, + "size": 195, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./_Set", + "loc": "1:10-27" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_Set", + "loc": "4:10-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar Set = getNative(root, 'Set');\n\nmodule.exports = Set;\n" + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "index": 315, + "index2": 302, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_SetCache", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_SetCache", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var MapCache = require('./_MapCache'),\n setCacheAdd = require('./_setCacheAdd'),\n setCacheHas = require('./_setCacheHas');\n\n/**\n *\n * Creates an array cache object to store unique values.\n *\n * @private\n * @constructor\n * @param {Array} [values] The values to cache.\n */\nfunction SetCache(values) {\n var index = -1,\n length = values == null ? 0 : values.length;\n\n this.__data__ = new MapCache;\n while (++index < length) {\n this.add(values[index]);\n }\n}\n\n// Add methods to `SetCache`.\nSetCache.prototype.add = SetCache.prototype.push = setCacheAdd;\nSetCache.prototype.has = setCacheHas;\n\nmodule.exports = SetCache;\n" + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "index": 190, + "index2": 223, + "size": 734, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMatch.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "module": "./node_modules/lodash/_baseIsMatch.js", + "moduleName": "./node_modules/lodash/_baseIsMatch.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_Stack", + "loc": "1:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var ListCache = require('./_ListCache'),\n stackClear = require('./_stackClear'),\n stackDelete = require('./_stackDelete'),\n stackGet = require('./_stackGet'),\n stackHas = require('./_stackHas'),\n stackSet = require('./_stackSet');\n\n/**\n * Creates a stack cache object to store key-value pairs.\n *\n * @private\n * @constructor\n * @param {Array} [entries] The key-value pairs to cache.\n */\nfunction Stack(entries) {\n var data = this.__data__ = new ListCache(entries);\n this.size = data.size;\n}\n\n// Add methods to `Stack`.\nStack.prototype.clear = stackClear;\nStack.prototype['delete'] = stackDelete;\nStack.prototype.get = stackGet;\nStack.prototype.has = stackHas;\nStack.prototype.set = stackSet;\n\nmodule.exports = Stack;\n" + }, + { + "id": "./node_modules/lodash/_Symbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Symbol.js", + "name": "./node_modules/lodash/_Symbol.js", + "index": 209, + "index2": 194, + "size": 118, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "issuerId": "./node_modules/lodash/_isFlattenable.js", + "issuerName": "./node_modules/lodash/_isFlattenable.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + }, + { + "id": "./node_modules/lodash/_isFlattenable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "name": "./node_modules/lodash/_isFlattenable.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_cloneSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneSymbol.js", + "module": "./node_modules/lodash/_cloneSymbol.js", + "moduleName": "./node_modules/lodash/_cloneSymbol.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_getRawTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getRawTag.js", + "module": "./node_modules/lodash/_getRawTag.js", + "moduleName": "./node_modules/lodash/_getRawTag.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./_Symbol", + "loc": "1:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Symbol = root.Symbol;\n\nmodule.exports = Symbol;\n" + }, + { + "id": "./node_modules/lodash/_Uint8Array.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Uint8Array.js", + "name": "./node_modules/lodash/_Uint8Array.js", + "index": 286, + "index2": 274, + "size": 130, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "issuerId": "./node_modules/lodash/_cloneArrayBuffer.js", + "issuerName": "./node_modules/lodash/_cloneArrayBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_cloneArrayBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "name": "./node_modules/lodash/_cloneArrayBuffer.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneArrayBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "module": "./node_modules/lodash/_cloneArrayBuffer.js", + "moduleName": "./node_modules/lodash/_cloneArrayBuffer.js", + "type": "cjs require", + "userRequest": "./_Uint8Array", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_Uint8Array", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var root = require('./_root');\n\n/** Built-in value references. */\nvar Uint8Array = root.Uint8Array;\n\nmodule.exports = Uint8Array;\n" + }, + { + "id": "./node_modules/lodash/_WeakMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "name": "./node_modules/lodash/_WeakMap.js", + "index": 282, + "index2": 271, + "size": 207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_WeakMap", + "loc": "5:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getNative = require('./_getNative'),\n root = require('./_root');\n\n/* Built-in method references that are verified to be native. */\nvar WeakMap = getNative(root, 'WeakMap');\n\nmodule.exports = WeakMap;\n" + }, + { + "id": "./node_modules/lodash/_apply.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_apply.js", + "name": "./node_modules/lodash/_apply.js", + "index": 367, + "index2": 356, + "size": 714, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "issuerId": "./node_modules/lodash/_overRest.js", + "issuerName": "./node_modules/lodash/_overRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_overRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "name": "./node_modules/lodash/_overRest.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 12, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_overRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "module": "./node_modules/lodash/_overRest.js", + "moduleName": "./node_modules/lodash/_overRest.js", + "type": "cjs require", + "userRequest": "./_apply", + "loc": "1:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * A faster alternative to `Function#apply`, this function invokes `func`\n * with the `this` binding of `thisArg` and the arguments of `args`.\n *\n * @private\n * @param {Function} func The function to invoke.\n * @param {*} thisArg The `this` binding of `func`.\n * @param {Array} args The arguments to invoke `func` with.\n * @returns {*} Returns the result of `func`.\n */\nfunction apply(func, thisArg, args) {\n switch (args.length) {\n case 0: return func.call(thisArg);\n case 1: return func.call(thisArg, args[0]);\n case 2: return func.call(thisArg, args[0], args[1]);\n case 3: return func.call(thisArg, args[0], args[1], args[2]);\n }\n return func.apply(thisArg, args);\n}\n\nmodule.exports = apply;\n" + }, + { + "id": "./node_modules/lodash/_arrayEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayEach.js", + "name": "./node_modules/lodash/_arrayEach.js", + "index": 234, + "index2": 224, + "size": 537, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "issuerId": "./node_modules/lodash/forEach.js", + "issuerName": "./node_modules/lodash/forEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_arrayEach", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.forEach` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns `array`.\n */\nfunction arrayEach(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (iteratee(array[index], index, array) === false) {\n break;\n }\n }\n return array;\n}\n\nmodule.exports = arrayEach;\n" + }, + { + "id": "./node_modules/lodash/_arrayFilter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayFilter.js", + "name": "./node_modules/lodash/_arrayFilter.js", + "index": 269, + "index2": 257, + "size": 632, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "module": "./node_modules/lodash/_getSymbols.js", + "moduleName": "./node_modules/lodash/_getSymbols.js", + "type": "cjs require", + "userRequest": "./_arrayFilter", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_arrayFilter", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.filter` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction arrayFilter(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length,\n resIndex = 0,\n result = [];\n\n while (++index < length) {\n var value = array[index];\n if (predicate(value, index, array)) {\n result[resIndex++] = value;\n }\n }\n return result;\n}\n\nmodule.exports = arrayFilter;\n" + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "index": 372, + "index2": 366, + "size": 526, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_arrayIncludes", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseIndexOf = require('./_baseIndexOf');\n\n/**\n * A specialized version of `_.includes` for arrays without support for\n * specifying an index to search from.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludes(array, value) {\n var length = array == null ? 0 : array.length;\n return !!length && baseIndexOf(array, value, 0) > -1;\n}\n\nmodule.exports = arrayIncludes;\n" + }, + { + "id": "./node_modules/lodash/_arrayIncludesWith.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludesWith.js", + "name": "./node_modules/lodash/_arrayIncludesWith.js", + "index": 377, + "index2": 367, + "size": 615, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_arrayIncludesWith", + "loc": "3:24-55" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * This function is like `arrayIncludes` except that it accepts a comparator.\n *\n * @private\n * @param {Array} [array] The array to inspect.\n * @param {*} target The value to search for.\n * @param {Function} comparator The comparator invoked per element.\n * @returns {boolean} Returns `true` if `target` is found, else `false`.\n */\nfunction arrayIncludesWith(array, value, comparator) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (comparator(value, array[index])) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arrayIncludesWith;\n" + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "index": 241, + "index2": 243, + "size": 1778, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./_arrayLikeKeys", + "loc": "1:20-47" + }, + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./_arrayLikeKeys", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseTimes = require('./_baseTimes'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isIndex = require('./_isIndex'),\n isTypedArray = require('./isTypedArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Creates an array of the enumerable property names of the array-like `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @param {boolean} inherited Specify returning inherited property names.\n * @returns {Array} Returns the array of property names.\n */\nfunction arrayLikeKeys(value, inherited) {\n var isArr = isArray(value),\n isArg = !isArr && isArguments(value),\n isBuff = !isArr && !isArg && isBuffer(value),\n isType = !isArr && !isArg && !isBuff && isTypedArray(value),\n skipIndexes = isArr || isArg || isBuff || isType,\n result = skipIndexes ? baseTimes(value.length, String) : [],\n length = result.length;\n\n for (var key in value) {\n if ((inherited || hasOwnProperty.call(value, key)) &&\n !(skipIndexes && (\n // Safari 9 has enumerable `arguments.length` in strict mode.\n key == 'length' ||\n // Node.js 0.10 has enumerable non-index properties on buffers.\n (isBuff && (key == 'offset' || key == 'parent')) ||\n // PhantomJS 2 has enumerable non-index properties on typed arrays.\n (isType && (key == 'buffer' || key == 'byteLength' || key == 'byteOffset')) ||\n // Skip index properties.\n isIndex(key, length)\n ))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = arrayLikeKeys;\n" + }, + { + "id": "./node_modules/lodash/_arrayMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayMap.js", + "name": "./node_modules/lodash/_arrayMap.js", + "index": 338, + "index2": 322, + "size": 556, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "issuerId": "./node_modules/lodash/map.js", + "issuerName": "./node_modules/lodash/map.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseValues.js", + "module": "./node_modules/lodash/_baseValues.js", + "moduleName": "./node_modules/lodash/_baseValues.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_arrayMap", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.map` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction arrayMap(array, iteratee) {\n var index = -1,\n length = array == null ? 0 : array.length,\n result = Array(length);\n\n while (++index < length) {\n result[index] = iteratee(array[index], index, array);\n }\n return result;\n}\n\nmodule.exports = arrayMap;\n" + }, + { + "id": "./node_modules/lodash/_arrayPush.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayPush.js", + "name": "./node_modules/lodash/_arrayPush.js", + "index": 273, + "index2": 261, + "size": 437, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "issuerId": "./node_modules/lodash/_baseFlatten.js", + "issuerName": "./node_modules/lodash/_baseFlatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFlatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "module": "./node_modules/lodash/_baseFlatten.js", + "moduleName": "./node_modules/lodash/_baseFlatten.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "module": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_arrayPush", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Appends the elements of `values` to `array`.\n *\n * @private\n * @param {Array} array The array to modify.\n * @param {Array} values The values to append.\n * @returns {Array} Returns `array`.\n */\nfunction arrayPush(array, values) {\n var index = -1,\n length = values.length,\n offset = array.length;\n\n while (++index < length) {\n array[offset + index] = values[index];\n }\n return array;\n}\n\nmodule.exports = arrayPush;\n" + }, + { + "id": "./node_modules/lodash/_arrayReduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayReduce.js", + "name": "./node_modules/lodash/_arrayReduce.js", + "index": 353, + "index2": 344, + "size": 787, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "issuerId": "./node_modules/lodash/reduce.js", + "issuerName": "./node_modules/lodash/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 155, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_arrayReduce", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * A specialized version of `_.reduce` for arrays without support for\n * iteratee shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @param {boolean} [initAccum] Specify using the first element of `array` as\n * the initial value.\n * @returns {*} Returns the accumulated value.\n */\nfunction arrayReduce(array, iteratee, accumulator, initAccum) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n if (initAccum && length) {\n accumulator = array[++index];\n }\n while (++index < length) {\n accumulator = iteratee(accumulator, array[index], index, array);\n }\n return accumulator;\n}\n\nmodule.exports = arrayReduce;\n" + }, + { + "id": "./node_modules/lodash/_arraySome.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arraySome.js", + "name": "./node_modules/lodash/_arraySome.js", + "index": 318, + "index2": 303, + "size": 594, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "issuerId": "./node_modules/lodash/_equalArrays.js", + "issuerName": "./node_modules/lodash/_equalArrays.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_equalArrays.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "name": "./node_modules/lodash/_equalArrays.js", + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 0, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_arraySome", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * A specialized version of `_.some` for arrays without support for iteratee\n * shorthands.\n *\n * @private\n * @param {Array} [array] The array to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {boolean} Returns `true` if any element passes the predicate check,\n * else `false`.\n */\nfunction arraySome(array, predicate) {\n var index = -1,\n length = array == null ? 0 : array.length;\n\n while (++index < length) {\n if (predicate(array[index], index, array)) {\n return true;\n }\n }\n return false;\n}\n\nmodule.exports = arraySome;\n" + }, + { + "id": "./node_modules/lodash/_asciiSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_asciiSize.js", + "name": "./node_modules/lodash/_asciiSize.js", + "index": 358, + "index2": 348, + "size": 271, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_asciiSize", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseProperty = require('./_baseProperty');\n\n/**\n * Gets the size of an ASCII `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nvar asciiSize = baseProperty('length');\n\nmodule.exports = asciiSize;\n" + }, + { + "id": "./node_modules/lodash/_assignMergeValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "name": "./node_modules/lodash/_assignMergeValue.js", + "index": 421, + "index2": 414, + "size": 582, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_assignMergeValue", + "loc": "2:23-53" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_assignMergeValue", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/**\n * This function is like `assignValue` except that it doesn't assign\n * `undefined` values.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignMergeValue(object, key, value) {\n if ((value !== undefined && !eq(object[key], value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignMergeValue;\n" + }, + { + "id": "./node_modules/lodash/_assignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "name": "./node_modules/lodash/_assignValue.js", + "index": 235, + "index2": 227, + "size": 899, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "issuerId": "./node_modules/lodash/zipObject.js", + "issuerName": "./node_modules/lodash/zipObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/_copyObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "module": "./node_modules/lodash/_copyObject.js", + "moduleName": "./node_modules/lodash/_copyObject.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/zipObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "module": "./node_modules/lodash/zipObject.js", + "moduleName": "./node_modules/lodash/zipObject.js", + "type": "cjs require", + "userRequest": "./_assignValue", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n eq = require('./eq');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns `value` to `key` of `object` if the existing value is not equivalent\n * using [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction assignValue(object, key, value) {\n var objValue = object[key];\n if (!(hasOwnProperty.call(object, key) && eq(objValue, value)) ||\n (value === undefined && !(key in object))) {\n baseAssignValue(object, key, value);\n }\n}\n\nmodule.exports = assignValue;\n" + }, + { + "id": "./node_modules/lodash/_assocIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assocIndexOf.js", + "name": "./node_modules/lodash/_assocIndexOf.js", + "index": 194, + "index2": 182, + "size": 487, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "issuerId": "./node_modules/lodash/_listCacheGet.js", + "issuerName": "./node_modules/lodash/_listCacheGet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_listCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "name": "./node_modules/lodash/_listCacheGet.js", + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 3, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_listCacheDelete.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheDelete.js", + "module": "./node_modules/lodash/_listCacheDelete.js", + "moduleName": "./node_modules/lodash/_listCacheDelete.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "module": "./node_modules/lodash/_listCacheGet.js", + "moduleName": "./node_modules/lodash/_listCacheGet.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheHas.js", + "module": "./node_modules/lodash/_listCacheHas.js", + "moduleName": "./node_modules/lodash/_listCacheHas.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_listCacheSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheSet.js", + "module": "./node_modules/lodash/_listCacheSet.js", + "moduleName": "./node_modules/lodash/_listCacheSet.js", + "type": "cjs require", + "userRequest": "./_assocIndexOf", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var eq = require('./eq');\n\n/**\n * Gets the index at which the `key` is found in `array` of key-value pairs.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} key The key to search for.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction assocIndexOf(array, key) {\n var length = array.length;\n while (length--) {\n if (eq(array[length][0], key)) {\n return length;\n }\n }\n return -1;\n}\n\nmodule.exports = assocIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_baseAssign.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "name": "./node_modules/lodash/_baseAssign.js", + "index": 238, + "index2": 250, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_baseAssign", + "loc": "4:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.assign` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssign(object, source) {\n return object && copyObject(source, keys(source), object);\n}\n\nmodule.exports = baseAssign;\n" + }, + { + "id": "./node_modules/lodash/_baseAssignIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "name": "./node_modules/lodash/_baseAssignIn.js", + "index": 261, + "index2": 254, + "size": 482, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_baseAssignIn", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * The base implementation of `_.assignIn` without support for multiple sources\n * or `customizer` functions.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @returns {Object} Returns `object`.\n */\nfunction baseAssignIn(object, source) {\n return object && copyObject(source, keysIn(source), object);\n}\n\nmodule.exports = baseAssignIn;\n" + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "index": 236, + "index2": 226, + "size": 625, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "issuerId": "./node_modules/lodash/mapValues.js", + "issuerName": "./node_modules/lodash/mapValues.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_assignMergeValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "module": "./node_modules/lodash/_assignMergeValue.js", + "moduleName": "./node_modules/lodash/_assignMergeValue.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + }, + { + "moduleId": "./node_modules/lodash/_assignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "module": "./node_modules/lodash/_assignValue.js", + "moduleName": "./node_modules/lodash/_assignValue.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + }, + { + "moduleId": "./node_modules/lodash/_copyObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "module": "./node_modules/lodash/_copyObject.js", + "moduleName": "./node_modules/lodash/_copyObject.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "2:22-51" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseAssignValue", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var defineProperty = require('./_defineProperty');\n\n/**\n * The base implementation of `assignValue` and `assignMergeValue` without\n * value checks.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {string} key The key of the property to assign.\n * @param {*} value The value to assign.\n */\nfunction baseAssignValue(object, key, value) {\n if (key == '__proto__' && defineProperty) {\n defineProperty(object, key, {\n 'configurable': true,\n 'enumerable': true,\n 'value': value,\n 'writable': true\n });\n } else {\n object[key] = value;\n }\n}\n\nmodule.exports = baseAssignValue;\n" + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "index": 189, + "index2": 287, + "size": 5609, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "issuerId": "./node_modules/lodash/cloneDeep.js", + "issuerName": "./node_modules/lodash/cloneDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/clone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/clone.js", + "module": "./node_modules/lodash/clone.js", + "moduleName": "./node_modules/lodash/clone.js", + "type": "cjs require", + "userRequest": "./_baseClone", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/cloneDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "module": "./node_modules/lodash/cloneDeep.js", + "moduleName": "./node_modules/lodash/cloneDeep.js", + "type": "cjs require", + "userRequest": "./_baseClone", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var Stack = require('./_Stack'),\n arrayEach = require('./_arrayEach'),\n assignValue = require('./_assignValue'),\n baseAssign = require('./_baseAssign'),\n baseAssignIn = require('./_baseAssignIn'),\n cloneBuffer = require('./_cloneBuffer'),\n copyArray = require('./_copyArray'),\n copySymbols = require('./_copySymbols'),\n copySymbolsIn = require('./_copySymbolsIn'),\n getAllKeys = require('./_getAllKeys'),\n getAllKeysIn = require('./_getAllKeysIn'),\n getTag = require('./_getTag'),\n initCloneArray = require('./_initCloneArray'),\n initCloneByTag = require('./_initCloneByTag'),\n initCloneObject = require('./_initCloneObject'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isMap = require('./isMap'),\n isObject = require('./isObject'),\n isSet = require('./isSet'),\n keys = require('./keys'),\n keysIn = require('./keysIn');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_FLAT_FLAG = 2,\n CLONE_SYMBOLS_FLAG = 4;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values supported by `_.clone`. */\nvar cloneableTags = {};\ncloneableTags[argsTag] = cloneableTags[arrayTag] =\ncloneableTags[arrayBufferTag] = cloneableTags[dataViewTag] =\ncloneableTags[boolTag] = cloneableTags[dateTag] =\ncloneableTags[float32Tag] = cloneableTags[float64Tag] =\ncloneableTags[int8Tag] = cloneableTags[int16Tag] =\ncloneableTags[int32Tag] = cloneableTags[mapTag] =\ncloneableTags[numberTag] = cloneableTags[objectTag] =\ncloneableTags[regexpTag] = cloneableTags[setTag] =\ncloneableTags[stringTag] = cloneableTags[symbolTag] =\ncloneableTags[uint8Tag] = cloneableTags[uint8ClampedTag] =\ncloneableTags[uint16Tag] = cloneableTags[uint32Tag] = true;\ncloneableTags[errorTag] = cloneableTags[funcTag] =\ncloneableTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.clone` and `_.cloneDeep` which tracks\n * traversed objects.\n *\n * @private\n * @param {*} value The value to clone.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Deep clone\n * 2 - Flatten inherited properties\n * 4 - Clone symbols\n * @param {Function} [customizer] The function to customize cloning.\n * @param {string} [key] The key of `value`.\n * @param {Object} [object] The parent object of `value`.\n * @param {Object} [stack] Tracks traversed objects and their clone counterparts.\n * @returns {*} Returns the cloned value.\n */\nfunction baseClone(value, bitmask, customizer, key, object, stack) {\n var result,\n isDeep = bitmask & CLONE_DEEP_FLAG,\n isFlat = bitmask & CLONE_FLAT_FLAG,\n isFull = bitmask & CLONE_SYMBOLS_FLAG;\n\n if (customizer) {\n result = object ? customizer(value, key, object, stack) : customizer(value);\n }\n if (result !== undefined) {\n return result;\n }\n if (!isObject(value)) {\n return value;\n }\n var isArr = isArray(value);\n if (isArr) {\n result = initCloneArray(value);\n if (!isDeep) {\n return copyArray(value, result);\n }\n } else {\n var tag = getTag(value),\n isFunc = tag == funcTag || tag == genTag;\n\n if (isBuffer(value)) {\n return cloneBuffer(value, isDeep);\n }\n if (tag == objectTag || tag == argsTag || (isFunc && !object)) {\n result = (isFlat || isFunc) ? {} : initCloneObject(value);\n if (!isDeep) {\n return isFlat\n ? copySymbolsIn(value, baseAssignIn(result, value))\n : copySymbols(value, baseAssign(result, value));\n }\n } else {\n if (!cloneableTags[tag]) {\n return object ? value : {};\n }\n result = initCloneByTag(value, tag, isDeep);\n }\n }\n // Check for circular references and return its corresponding clone.\n stack || (stack = new Stack);\n var stacked = stack.get(value);\n if (stacked) {\n return stacked;\n }\n stack.set(value, result);\n\n if (isSet(value)) {\n value.forEach(function(subValue) {\n result.add(baseClone(subValue, bitmask, customizer, subValue, value, stack));\n });\n } else if (isMap(value)) {\n value.forEach(function(subValue, key) {\n result.set(key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n }\n\n var keysFunc = isFull\n ? (isFlat ? getAllKeysIn : getAllKeys)\n : (isFlat ? keysIn : keys);\n\n var props = isArr ? undefined : keysFunc(value);\n arrayEach(props || value, function(subValue, key) {\n if (props) {\n key = subValue;\n subValue = value[key];\n }\n // Recursively populate clone (susceptible to call stack limits).\n assignValue(result, key, baseClone(subValue, bitmask, customizer, key, value, stack));\n });\n return result;\n}\n\nmodule.exports = baseClone;\n" + }, + { + "id": "./node_modules/lodash/_baseCreate.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseCreate.js", + "name": "./node_modules/lodash/_baseCreate.js", + "index": 292, + "index2": 281, + "size": 686, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "issuerId": "./node_modules/lodash/_initCloneObject.js", + "issuerName": "./node_modules/lodash/_initCloneObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_baseCreate", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseCreate", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isObject = require('./isObject');\n\n/** Built-in value references. */\nvar objectCreate = Object.create;\n\n/**\n * The base implementation of `_.create` without support for assigning\n * properties to the created object.\n *\n * @private\n * @param {Object} proto The object to inherit from.\n * @returns {Object} Returns the new object.\n */\nvar baseCreate = (function() {\n function object() {}\n return function(proto) {\n if (!isObject(proto)) {\n return {};\n }\n if (objectCreate) {\n return objectCreate(proto);\n }\n object.prototype = proto;\n var result = new object;\n object.prototype = undefined;\n return result;\n };\n}());\n\nmodule.exports = baseCreate;\n" + }, + { + "id": "./node_modules/lodash/_baseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "name": "./node_modules/lodash/_baseEach.js", + "index": 300, + "index2": 294, + "size": 455, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "issuerId": "./node_modules/lodash/forEach.js", + "issuerName": "./node_modules/lodash/forEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFilter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFilter.js", + "module": "./node_modules/lodash/_baseFilter.js", + "moduleName": "./node_modules/lodash/_baseFilter.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "module": "./node_modules/lodash/_baseMap.js", + "moduleName": "./node_modules/lodash/_baseMap.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseEach", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseForOwn = require('./_baseForOwn'),\n createBaseEach = require('./_createBaseEach');\n\n/**\n * The base implementation of `_.forEach` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n */\nvar baseEach = createBaseEach(baseForOwn);\n\nmodule.exports = baseEach;\n" + }, + { + "id": "./node_modules/lodash/_baseExtremum.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "name": "./node_modules/lodash/_baseExtremum.js", + "index": 417, + "index2": 411, + "size": 897, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseExtremum", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var isSymbol = require('./isSymbol');\n\n/**\n * The base implementation of methods like `_.max` and `_.min` which accepts a\n * `comparator` to determine the extremum value.\n *\n * @private\n * @param {Array} array The array to iterate over.\n * @param {Function} iteratee The iteratee invoked per iteration.\n * @param {Function} comparator The comparator used to compare values.\n * @returns {*} Returns the extremum value.\n */\nfunction baseExtremum(array, iteratee, comparator) {\n var index = -1,\n length = array.length;\n\n while (++index < length) {\n var value = array[index],\n current = iteratee(value);\n\n if (current != null && (computed === undefined\n ? (current === current && !isSymbol(current))\n : comparator(current, computed)\n )) {\n var computed = current,\n result = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseExtremum;\n" + }, + { + "id": "./node_modules/lodash/_baseFilter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFilter.js", + "name": "./node_modules/lodash/_baseFilter.js", + "index": 308, + "index2": 299, + "size": 590, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_baseFilter", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseEach = require('./_baseEach');\n\n/**\n * The base implementation of `_.filter` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} predicate The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n */\nfunction baseFilter(collection, predicate) {\n var result = [];\n baseEach(collection, function(value, index, collection) {\n if (predicate(value, index, collection)) {\n result.push(value);\n }\n });\n return result;\n}\n\nmodule.exports = baseFilter;\n" + }, + { + "id": "./node_modules/lodash/_baseFindIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFindIndex.js", + "name": "./node_modules/lodash/_baseFindIndex.js", + "index": 374, + "index2": 362, + "size": 766, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "issuerId": "./node_modules/lodash/findIndex.js", + "issuerName": "./node_modules/lodash/findIndex.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 266, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_baseFindIndex", + "loc": "1:20-47" + }, + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./_baseFindIndex", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.findIndex` and `_.findLastIndex` without\n * support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} predicate The function invoked per iteration.\n * @param {number} fromIndex The index to search from.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseFindIndex(array, predicate, fromIndex, fromRight) {\n var length = array.length,\n index = fromIndex + (fromRight ? 1 : -1);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (predicate(array[index], index, array)) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = baseFindIndex;\n" + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "index": 363, + "index2": 355, + "size": 1201, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "issuerId": "./node_modules/lodash/flatten.js", + "issuerName": "./node_modules/lodash/flatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/flatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "module": "./node_modules/lodash/flatten.js", + "moduleName": "./node_modules/lodash/flatten.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseFlatten", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayPush = require('./_arrayPush'),\n isFlattenable = require('./_isFlattenable');\n\n/**\n * The base implementation of `_.flatten` with support for restricting flattening.\n *\n * @private\n * @param {Array} array The array to flatten.\n * @param {number} depth The maximum recursion depth.\n * @param {boolean} [predicate=isFlattenable] The function invoked per iteration.\n * @param {boolean} [isStrict] Restrict to values that pass `predicate` checks.\n * @param {Array} [result=[]] The initial result value.\n * @returns {Array} Returns the new flattened array.\n */\nfunction baseFlatten(array, depth, predicate, isStrict, result) {\n var index = -1,\n length = array.length;\n\n predicate || (predicate = isFlattenable);\n result || (result = []);\n\n while (++index < length) {\n var value = array[index];\n if (depth > 0 && predicate(value)) {\n if (depth > 1) {\n // Recursively flatten arrays (susceptible to call stack limits).\n baseFlatten(value, depth - 1, predicate, isStrict, result);\n } else {\n arrayPush(result, value);\n }\n } else if (!isStrict) {\n result[result.length] = value;\n }\n }\n return result;\n}\n\nmodule.exports = baseFlatten;\n" + }, + { + "id": "./node_modules/lodash/_baseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "name": "./node_modules/lodash/_baseFor.js", + "index": 302, + "index2": 291, + "size": 593, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "issuerId": "./node_modules/lodash/forIn.js", + "issuerName": "./node_modules/lodash/forIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseForOwn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "module": "./node_modules/lodash/_baseForOwn.js", + "moduleName": "./node_modules/lodash/_baseForOwn.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "3:14-35" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./_baseFor", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var createBaseFor = require('./_createBaseFor');\n\n/**\n * The base implementation of `baseForOwn` which iterates over `object`\n * properties returned by `keysFunc` and invokes `iteratee` for each property.\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @returns {Object} Returns `object`.\n */\nvar baseFor = createBaseFor();\n\nmodule.exports = baseFor;\n" + }, + { + "id": "./node_modules/lodash/_baseForOwn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "name": "./node_modules/lodash/_baseForOwn.js", + "index": 301, + "index2": 292, + "size": 456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "issuerId": "./node_modules/lodash/mapValues.js", + "issuerName": "./node_modules/lodash/mapValues.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "module": "./node_modules/lodash/_baseEach.js", + "moduleName": "./node_modules/lodash/_baseEach.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseForOwn", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseFor = require('./_baseFor'),\n keys = require('./keys');\n\n/**\n * The base implementation of `_.forOwn` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Object} Returns `object`.\n */\nfunction baseForOwn(object, iteratee) {\n return object && baseFor(object, iteratee, keys);\n}\n\nmodule.exports = baseForOwn;\n" + }, + { + "id": "./node_modules/lodash/_baseGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "name": "./node_modules/lodash/_baseGet.js", + "index": 329, + "index2": 327, + "size": 616, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "2:14-35" + }, + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_basePropertyDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePropertyDeep.js", + "module": "./node_modules/lodash/_basePropertyDeep.js", + "moduleName": "./node_modules/lodash/_basePropertyDeep.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/get.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/get.js", + "module": "./node_modules/lodash/get.js", + "moduleName": "./node_modules/lodash/get.js", + "type": "cjs require", + "userRequest": "./_baseGet", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var castPath = require('./_castPath'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.get` without support for default values.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @returns {*} Returns the resolved value.\n */\nfunction baseGet(object, path) {\n path = castPath(path, object);\n\n var index = 0,\n length = path.length;\n\n while (object != null && index < length) {\n object = object[toKey(path[index++])];\n }\n return (index && index == length) ? object : undefined;\n}\n\nmodule.exports = baseGet;\n" + }, + { + "id": "./node_modules/lodash/_baseGetAllKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "name": "./node_modules/lodash/_baseGetAllKeys.js", + "index": 276, + "index2": 265, + "size": 739, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "issuerId": "./node_modules/lodash/_getAllKeysIn.js", + "issuerName": "./node_modules/lodash/_getAllKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./_baseGetAllKeys", + "loc": "1:21-49" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./_baseGetAllKeys", + "loc": "1:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayPush = require('./_arrayPush'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `getAllKeys` and `getAllKeysIn` which uses\n * `keysFunc` and `symbolsFunc` to get the enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Function} keysFunc The function to get the keys of `object`.\n * @param {Function} symbolsFunc The function to get the symbols of `object`.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction baseGetAllKeys(object, keysFunc, symbolsFunc) {\n var result = keysFunc(object);\n return isArray(object) ? result : arrayPush(result, symbolsFunc(object));\n}\n\nmodule.exports = baseGetAllKeys;\n" + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "index": 208, + "index2": 197, + "size": 792, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "module": "./node_modules/lodash/_baseIsArguments.js", + "moduleName": "./node_modules/lodash/_baseIsArguments.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "6:17-41" + }, + { + "moduleId": "./node_modules/lodash/isFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "module": "./node_modules/lodash/isFunction.js", + "moduleName": "./node_modules/lodash/isFunction.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/isSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "module": "./node_modules/lodash/isSymbol.js", + "moduleName": "./node_modules/lodash/isSymbol.js", + "type": "cjs require", + "userRequest": "./_baseGetTag", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Symbol = require('./_Symbol'),\n getRawTag = require('./_getRawTag'),\n objectToString = require('./_objectToString');\n\n/** `Object#toString` result references. */\nvar nullTag = '[object Null]',\n undefinedTag = '[object Undefined]';\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * The base implementation of `getTag` without fallbacks for buggy environments.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nfunction baseGetTag(value) {\n if (value == null) {\n return value === undefined ? undefinedTag : nullTag;\n }\n return (symToStringTag && symToStringTag in Object(value))\n ? getRawTag(value)\n : objectToString(value);\n}\n\nmodule.exports = baseGetTag;\n" + }, + { + "id": "./node_modules/lodash/_baseGt.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGt.js", + "name": "./node_modules/lodash/_baseGt.js", + "index": 418, + "index2": 412, + "size": 357, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./_baseGt", + "loc": "2:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.gt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is greater than `other`,\n * else `false`.\n */\nfunction baseGt(value, other) {\n return value > other;\n}\n\nmodule.exports = baseGt;\n" + }, + { + "id": "./node_modules/lodash/_baseHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseHas.js", + "name": "./node_modules/lodash/_baseHas.js", + "index": 347, + "index2": 338, + "size": 559, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "issuerId": "./node_modules/lodash/has.js", + "issuerName": "./node_modules/lodash/has.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/has.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "module": "./node_modules/lodash/has.js", + "moduleName": "./node_modules/lodash/has.js", + "type": "cjs require", + "userRequest": "./_baseHas", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.has` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHas(object, key) {\n return object != null && hasOwnProperty.call(object, key);\n}\n\nmodule.exports = baseHas;\n" + }, + { + "id": "./node_modules/lodash/_baseHasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseHasIn.js", + "name": "./node_modules/lodash/_baseHasIn.js", + "index": 341, + "index2": 329, + "size": 374, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "issuerId": "./node_modules/lodash/hasIn.js", + "issuerName": "./node_modules/lodash/hasIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/hasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "name": "./node_modules/lodash/hasIn.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 5, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/hasIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "module": "./node_modules/lodash/hasIn.js", + "moduleName": "./node_modules/lodash/hasIn.js", + "type": "cjs require", + "userRequest": "./_baseHasIn", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.hasIn` without support for deep paths.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {Array|string} key The key to check.\n * @returns {boolean} Returns `true` if `key` exists, else `false`.\n */\nfunction baseHasIn(object, key) {\n return object != null && key in Object(object);\n}\n\nmodule.exports = baseHasIn;\n" + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "index": 373, + "index2": 365, + "size": 659, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "issuerId": "./node_modules/lodash/_arrayIncludes.js", + "issuerName": "./node_modules/lodash/_arrayIncludes.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayIncludes.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "module": "./node_modules/lodash/_arrayIncludes.js", + "moduleName": "./node_modules/lodash/_arrayIncludes.js", + "type": "cjs require", + "userRequest": "./_baseIndexOf", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIsNaN = require('./_baseIsNaN'),\n strictIndexOf = require('./_strictIndexOf');\n\n/**\n * The base implementation of `_.indexOf` without `fromIndex` bounds checks.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction baseIndexOf(array, value, fromIndex) {\n return value === value\n ? strictIndexOf(array, value, fromIndex)\n : baseFindIndex(array, baseIsNaN, fromIndex);\n}\n\nmodule.exports = baseIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_baseIsArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "name": "./node_modules/lodash/_baseIsArguments.js", + "index": 244, + "index2": 231, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "issuerId": "./node_modules/lodash/isArguments.js", + "issuerName": "./node_modules/lodash/isArguments.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "module": "./node_modules/lodash/isArguments.js", + "moduleName": "./node_modules/lodash/isArguments.js", + "type": "cjs require", + "userRequest": "./_baseIsArguments", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]';\n\n/**\n * The base implementation of `_.isArguments`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n */\nfunction baseIsArguments(value) {\n return isObjectLike(value) && baseGetTag(value) == argsTag;\n}\n\nmodule.exports = baseIsArguments;\n" + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "index": 312, + "index2": 311, + "size": 1019, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsMatch.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "module": "./node_modules/lodash/_baseIsMatch.js", + "moduleName": "./node_modules/lodash/_baseIsMatch.js", + "type": "cjs require", + "userRequest": "./_baseIsEqual", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_baseIsEqual", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsEqualDeep = require('./_baseIsEqualDeep'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * The base implementation of `_.isEqual` which supports partial comparisons\n * and tracks traversed objects.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @param {boolean} bitmask The bitmask flags.\n * 1 - Unordered comparison\n * 2 - Partial comparison\n * @param {Function} [customizer] The function to customize comparisons.\n * @param {Object} [stack] Tracks traversed `value` and `other` objects.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n */\nfunction baseIsEqual(value, other, bitmask, customizer, stack) {\n if (value === other) {\n return true;\n }\n if (value == null || other == null || (!isObjectLike(value) && !isObjectLike(other))) {\n return value !== value && other !== other;\n }\n return baseIsEqualDeep(value, other, bitmask, customizer, baseIsEqual, stack);\n}\n\nmodule.exports = baseIsEqual;\n" + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "index": 313, + "index2": 310, + "size": 3010, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "issuerId": "./node_modules/lodash/_baseIsEqual.js", + "issuerName": "./node_modules/lodash/_baseIsEqual.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqual.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "module": "./node_modules/lodash/_baseIsEqual.js", + "moduleName": "./node_modules/lodash/_baseIsEqual.js", + "type": "cjs require", + "userRequest": "./_baseIsEqualDeep", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Stack = require('./_Stack'),\n equalArrays = require('./_equalArrays'),\n equalByTag = require('./_equalByTag'),\n equalObjects = require('./_equalObjects'),\n getTag = require('./_getTag'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isTypedArray = require('./isTypedArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqual` for arrays and objects which performs\n * deep comparisons and tracks traversed objects enabling objects with circular\n * references to be compared.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} [stack] Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction baseIsEqualDeep(object, other, bitmask, customizer, equalFunc, stack) {\n var objIsArr = isArray(object),\n othIsArr = isArray(other),\n objTag = objIsArr ? arrayTag : getTag(object),\n othTag = othIsArr ? arrayTag : getTag(other);\n\n objTag = objTag == argsTag ? objectTag : objTag;\n othTag = othTag == argsTag ? objectTag : othTag;\n\n var objIsObj = objTag == objectTag,\n othIsObj = othTag == objectTag,\n isSameTag = objTag == othTag;\n\n if (isSameTag && isBuffer(object)) {\n if (!isBuffer(other)) {\n return false;\n }\n objIsArr = true;\n objIsObj = false;\n }\n if (isSameTag && !objIsObj) {\n stack || (stack = new Stack);\n return (objIsArr || isTypedArray(object))\n ? equalArrays(object, other, bitmask, customizer, equalFunc, stack)\n : equalByTag(object, other, objTag, bitmask, customizer, equalFunc, stack);\n }\n if (!(bitmask & COMPARE_PARTIAL_FLAG)) {\n var objIsWrapped = objIsObj && hasOwnProperty.call(object, '__wrapped__'),\n othIsWrapped = othIsObj && hasOwnProperty.call(other, '__wrapped__');\n\n if (objIsWrapped || othIsWrapped) {\n var objUnwrapped = objIsWrapped ? object.value() : object,\n othUnwrapped = othIsWrapped ? other.value() : other;\n\n stack || (stack = new Stack);\n return equalFunc(objUnwrapped, othUnwrapped, bitmask, customizer, stack);\n }\n }\n if (!isSameTag) {\n return false;\n }\n stack || (stack = new Stack);\n return equalObjects(object, other, bitmask, customizer, equalFunc, stack);\n}\n\nmodule.exports = baseIsEqualDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseIsMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "name": "./node_modules/lodash/_baseIsMap.js", + "index": 294, + "index2": 283, + "size": 478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "issuerId": "./node_modules/lodash/isMap.js", + "issuerName": "./node_modules/lodash/isMap.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "name": "./node_modules/lodash/isMap.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_baseIsMap", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]';\n\n/**\n * The base implementation of `_.isMap` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n */\nfunction baseIsMap(value) {\n return isObjectLike(value) && getTag(value) == mapTag;\n}\n\nmodule.exports = baseIsMap;\n" + }, + { + "id": "./node_modules/lodash/_baseIsMatch.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMatch.js", + "name": "./node_modules/lodash/_baseIsMatch.js", + "index": 311, + "index2": 312, + "size": 1765, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_baseIsMatch", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Stack = require('./_Stack'),\n baseIsEqual = require('./_baseIsEqual');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.isMatch` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The object to inspect.\n * @param {Object} source The object of property values to match.\n * @param {Array} matchData The property names, values, and compare flags to match.\n * @param {Function} [customizer] The function to customize comparisons.\n * @returns {boolean} Returns `true` if `object` is a match, else `false`.\n */\nfunction baseIsMatch(object, source, matchData, customizer) {\n var index = matchData.length,\n length = index,\n noCustomizer = !customizer;\n\n if (object == null) {\n return !length;\n }\n object = Object(object);\n while (index--) {\n var data = matchData[index];\n if ((noCustomizer && data[2])\n ? data[1] !== object[data[0]]\n : !(data[0] in object)\n ) {\n return false;\n }\n }\n while (++index < length) {\n data = matchData[index];\n var key = data[0],\n objValue = object[key],\n srcValue = data[1];\n\n if (noCustomizer && data[2]) {\n if (objValue === undefined && !(key in object)) {\n return false;\n }\n } else {\n var stack = new Stack;\n if (customizer) {\n var result = customizer(objValue, srcValue, key, object, source, stack);\n }\n if (!(result === undefined\n ? baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG, customizer, stack)\n : result\n )) {\n return false;\n }\n }\n }\n return true;\n}\n\nmodule.exports = baseIsMatch;\n" + }, + { + "id": "./node_modules/lodash/_baseIsNaN.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNaN.js", + "name": "./node_modules/lodash/_baseIsNaN.js", + "index": 375, + "index2": 363, + "size": 296, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "issuerId": "./node_modules/lodash/_baseIndexOf.js", + "issuerName": "./node_modules/lodash/_baseIndexOf.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_baseIsNaN", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * The base implementation of `_.isNaN` without support for number objects.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `NaN`, else `false`.\n */\nfunction baseIsNaN(value) {\n return value !== value;\n}\n\nmodule.exports = baseIsNaN;\n" + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "index": 206, + "index2": 203, + "size": 1417, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "issuerId": "./node_modules/lodash/_getNative.js", + "issuerName": "./node_modules/lodash/_getNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "module": "./node_modules/lodash/_getNative.js", + "moduleName": "./node_modules/lodash/_getNative.js", + "type": "cjs require", + "userRequest": "./_baseIsNative", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var isFunction = require('./isFunction'),\n isMasked = require('./_isMasked'),\n isObject = require('./isObject'),\n toSource = require('./_toSource');\n\n/**\n * Used to match `RegExp`\n * [syntax characters](http://ecma-international.org/ecma-262/7.0/#sec-patterns).\n */\nvar reRegExpChar = /[\\\\^$.*+?()[\\]{}|]/g;\n\n/** Used to detect host constructors (Safari). */\nvar reIsHostCtor = /^\\[object .+?Constructor\\]$/;\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to detect if a method is native. */\nvar reIsNative = RegExp('^' +\n funcToString.call(hasOwnProperty).replace(reRegExpChar, '\\\\$&')\n .replace(/hasOwnProperty|(function).*?(?=\\\\\\()| for .+?(?=\\\\\\])/g, '$1.*?') + '$'\n);\n\n/**\n * The base implementation of `_.isNative` without bad shim checks.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a native function,\n * else `false`.\n */\nfunction baseIsNative(value) {\n if (!isObject(value) || isMasked(value)) {\n return false;\n }\n var pattern = isFunction(value) ? reIsNative : reIsHostCtor;\n return pattern.test(toSource(value));\n}\n\nmodule.exports = baseIsNative;\n" + }, + { + "id": "./node_modules/lodash/_baseIsSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "name": "./node_modules/lodash/_baseIsSet.js", + "index": 296, + "index2": 285, + "size": 478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "issuerId": "./node_modules/lodash/isSet.js", + "issuerName": "./node_modules/lodash/isSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_baseIsSet", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var getTag = require('./_getTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar setTag = '[object Set]';\n\n/**\n * The base implementation of `_.isSet` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n */\nfunction baseIsSet(value) {\n return isObjectLike(value) && getTag(value) == setTag;\n}\n\nmodule.exports = baseIsSet;\n" + }, + { + "id": "./node_modules/lodash/_baseIsTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "name": "./node_modules/lodash/_baseIsTypedArray.js", + "index": 252, + "index2": 239, + "size": 2222, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "issuerId": "./node_modules/lodash/isTypedArray.js", + "issuerName": "./node_modules/lodash/isTypedArray.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + }, + { + "id": "./node_modules/lodash/isTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "name": "./node_modules/lodash/isTypedArray.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 8, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseIsTypedArray", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var baseGetTag = require('./_baseGetTag'),\n isLength = require('./isLength'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar argsTag = '[object Arguments]',\n arrayTag = '[object Array]',\n boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n funcTag = '[object Function]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n objectTag = '[object Object]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n weakMapTag = '[object WeakMap]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/** Used to identify `toStringTag` values of typed arrays. */\nvar typedArrayTags = {};\ntypedArrayTags[float32Tag] = typedArrayTags[float64Tag] =\ntypedArrayTags[int8Tag] = typedArrayTags[int16Tag] =\ntypedArrayTags[int32Tag] = typedArrayTags[uint8Tag] =\ntypedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] =\ntypedArrayTags[uint32Tag] = true;\ntypedArrayTags[argsTag] = typedArrayTags[arrayTag] =\ntypedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] =\ntypedArrayTags[dataViewTag] = typedArrayTags[dateTag] =\ntypedArrayTags[errorTag] = typedArrayTags[funcTag] =\ntypedArrayTags[mapTag] = typedArrayTags[numberTag] =\ntypedArrayTags[objectTag] = typedArrayTags[regexpTag] =\ntypedArrayTags[setTag] = typedArrayTags[stringTag] =\ntypedArrayTags[weakMapTag] = false;\n\n/**\n * The base implementation of `_.isTypedArray` without Node.js optimizations.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n */\nfunction baseIsTypedArray(value) {\n return isObjectLike(value) &&\n isLength(value.length) && !!typedArrayTags[baseGetTag(value)];\n}\n\nmodule.exports = baseIsTypedArray;\n" + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "index": 309, + "index2": 336, + "size": 895, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/mapValues.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "module": "./node_modules/lodash/mapValues.js", + "moduleName": "./node_modules/lodash/mapValues.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_baseIteratee", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseMatches = require('./_baseMatches'),\n baseMatchesProperty = require('./_baseMatchesProperty'),\n identity = require('./identity'),\n isArray = require('./isArray'),\n property = require('./property');\n\n/**\n * The base implementation of `_.iteratee`.\n *\n * @private\n * @param {*} [value=_.identity] The value to convert to an iteratee.\n * @returns {Function} Returns the iteratee.\n */\nfunction baseIteratee(value) {\n // Don't store the `typeof` result in a variable to avoid a JIT bug in Safari 9.\n // See https://bugs.webkit.org/show_bug.cgi?id=156034 for more details.\n if (typeof value == 'function') {\n return value;\n }\n if (value == null) {\n return identity;\n }\n if (typeof value == 'object') {\n return isArray(value)\n ? baseMatchesProperty(value[0], value[1])\n : baseMatches(value);\n }\n return property(value);\n}\n\nmodule.exports = baseIteratee;\n" + }, + { + "id": "./node_modules/lodash/_baseKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "name": "./node_modules/lodash/_baseKeys.js", + "index": 256, + "index2": 247, + "size": 776, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "issuerId": "./node_modules/lodash/keys.js", + "issuerName": "./node_modules/lodash/keys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_baseKeys", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isPrototype = require('./_isPrototype'),\n nativeKeys = require('./_nativeKeys');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keys` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeys(object) {\n if (!isPrototype(object)) {\n return nativeKeys(object);\n }\n var result = [];\n for (var key in Object(object)) {\n if (hasOwnProperty.call(object, key) && key != 'constructor') {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeys;\n" + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "index": 263, + "index2": 252, + "size": 870, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./_baseKeysIn", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isObject = require('./isObject'),\n isPrototype = require('./_isPrototype'),\n nativeKeysIn = require('./_nativeKeysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * The base implementation of `_.keysIn` which doesn't treat sparse arrays as dense.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction baseKeysIn(object) {\n if (!isObject(object)) {\n return nativeKeysIn(object);\n }\n var isProto = isPrototype(object),\n result = [];\n\n for (var key in object) {\n if (!(key == 'constructor' && (isProto || !hasOwnProperty.call(object, key)))) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = baseKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_baseLt.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseLt.js", + "name": "./node_modules/lodash/_baseLt.js", + "index": 428, + "index2": 422, + "size": 354, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "issuerId": "./node_modules/lodash/min.js", + "issuerName": "./node_modules/lodash/min.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "name": "./node_modules/lodash/min.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./_baseLt", + "loc": "2:13-33" + }, + { + "moduleId": "./node_modules/lodash/minBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "module": "./node_modules/lodash/minBy.js", + "moduleName": "./node_modules/lodash/minBy.js", + "type": "cjs require", + "userRequest": "./_baseLt", + "loc": "3:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.lt` which doesn't coerce arguments.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if `value` is less than `other`,\n * else `false`.\n */\nfunction baseLt(value, other) {\n return value < other;\n}\n\nmodule.exports = baseLt;\n" + }, + { + "id": "./node_modules/lodash/_baseMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "name": "./node_modules/lodash/_baseMap.js", + "index": 351, + "index2": 342, + "size": 668, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "issuerId": "./node_modules/lodash/map.js", + "issuerName": "./node_modules/lodash/map.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseMap", + "loc": "4:14-35" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./_baseMap", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseEach = require('./_baseEach'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * The base implementation of `_.map` without support for iteratee shorthands.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n */\nfunction baseMap(collection, iteratee) {\n var index = -1,\n result = isArrayLike(collection) ? Array(collection.length) : [];\n\n baseEach(collection, function(value, key, collection) {\n result[++index] = iteratee(value, key, collection);\n });\n return result;\n}\n\nmodule.exports = baseMap;\n" + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "index": 310, + "index2": 316, + "size": 710, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./_baseMatches", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsMatch = require('./_baseIsMatch'),\n getMatchData = require('./_getMatchData'),\n matchesStrictComparable = require('./_matchesStrictComparable');\n\n/**\n * The base implementation of `_.matches` which doesn't clone `source`.\n *\n * @private\n * @param {Object} source The object of property values to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatches(source) {\n var matchData = getMatchData(source);\n if (matchData.length == 1 && matchData[0][2]) {\n return matchesStrictComparable(matchData[0][0], matchData[0][1]);\n }\n return function(object) {\n return object === source || baseIsMatch(object, source, matchData);\n };\n}\n\nmodule.exports = baseMatches;\n" + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "index": 327, + "index2": 332, + "size": 1129, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./_baseMatchesProperty", + "loc": "2:26-59" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsEqual = require('./_baseIsEqual'),\n get = require('./get'),\n hasIn = require('./hasIn'),\n isKey = require('./_isKey'),\n isStrictComparable = require('./_isStrictComparable'),\n matchesStrictComparable = require('./_matchesStrictComparable'),\n toKey = require('./_toKey');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * The base implementation of `_.matchesProperty` which doesn't clone `srcValue`.\n *\n * @private\n * @param {string} path The path of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction baseMatchesProperty(path, srcValue) {\n if (isKey(path) && isStrictComparable(srcValue)) {\n return matchesStrictComparable(toKey(path), srcValue);\n }\n return function(object) {\n var objValue = get(object, path);\n return (objValue === undefined && objValue === srcValue)\n ? hasIn(object, path)\n : baseIsEqual(srcValue, objValue, COMPARE_PARTIAL_FLAG | COMPARE_UNORDERED_FLAG);\n };\n}\n\nmodule.exports = baseMatchesProperty;\n" + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "index": 420, + "index2": 419, + "size": 1328, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "issuerId": "./node_modules/lodash/merge.js", + "issuerName": "./node_modules/lodash/merge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/merge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "module": "./node_modules/lodash/merge.js", + "moduleName": "./node_modules/lodash/merge.js", + "type": "cjs require", + "userRequest": "./_baseMerge", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var Stack = require('./_Stack'),\n assignMergeValue = require('./_assignMergeValue'),\n baseFor = require('./_baseFor'),\n baseMergeDeep = require('./_baseMergeDeep'),\n isObject = require('./isObject'),\n keysIn = require('./keysIn'),\n safeGet = require('./_safeGet');\n\n/**\n * The base implementation of `_.merge` without support for multiple sources.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} [customizer] The function to customize merged values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMerge(object, source, srcIndex, customizer, stack) {\n if (object === source) {\n return;\n }\n baseFor(source, function(srcValue, key) {\n stack || (stack = new Stack);\n if (isObject(srcValue)) {\n baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);\n }\n else {\n var newValue = customizer\n ? customizer(safeGet(object, key), srcValue, (key + ''), object, source, stack)\n : undefined;\n\n if (newValue === undefined) {\n newValue = srcValue;\n }\n assignMergeValue(object, key, newValue);\n }\n }, keysIn);\n}\n\nmodule.exports = baseMerge;\n" + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "index": 422, + "index2": 418, + "size": 3069, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_baseMergeDeep", + "loc": "4:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var assignMergeValue = require('./_assignMergeValue'),\n cloneBuffer = require('./_cloneBuffer'),\n cloneTypedArray = require('./_cloneTypedArray'),\n copyArray = require('./_copyArray'),\n initCloneObject = require('./_initCloneObject'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLikeObject = require('./isArrayLikeObject'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isPlainObject = require('./isPlainObject'),\n isTypedArray = require('./isTypedArray'),\n safeGet = require('./_safeGet'),\n toPlainObject = require('./toPlainObject');\n\n/**\n * A specialized version of `baseMerge` for arrays and objects which performs\n * deep merges and tracks traversed objects enabling objects with circular\n * references to be merged.\n *\n * @private\n * @param {Object} object The destination object.\n * @param {Object} source The source object.\n * @param {string} key The key of the value to merge.\n * @param {number} srcIndex The index of `source`.\n * @param {Function} mergeFunc The function to merge values.\n * @param {Function} [customizer] The function to customize assigned values.\n * @param {Object} [stack] Tracks traversed source values and their merged\n * counterparts.\n */\nfunction baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {\n var objValue = safeGet(object, key),\n srcValue = safeGet(source, key),\n stacked = stack.get(srcValue);\n\n if (stacked) {\n assignMergeValue(object, key, stacked);\n return;\n }\n var newValue = customizer\n ? customizer(objValue, srcValue, (key + ''), object, source, stack)\n : undefined;\n\n var isCommon = newValue === undefined;\n\n if (isCommon) {\n var isArr = isArray(srcValue),\n isBuff = !isArr && isBuffer(srcValue),\n isTyped = !isArr && !isBuff && isTypedArray(srcValue);\n\n newValue = srcValue;\n if (isArr || isBuff || isTyped) {\n if (isArray(objValue)) {\n newValue = objValue;\n }\n else if (isArrayLikeObject(objValue)) {\n newValue = copyArray(objValue);\n }\n else if (isBuff) {\n isCommon = false;\n newValue = cloneBuffer(srcValue, true);\n }\n else if (isTyped) {\n isCommon = false;\n newValue = cloneTypedArray(srcValue, true);\n }\n else {\n newValue = [];\n }\n }\n else if (isPlainObject(srcValue) || isArguments(srcValue)) {\n newValue = objValue;\n if (isArguments(objValue)) {\n newValue = toPlainObject(objValue);\n }\n else if (!isObject(objValue) || isFunction(objValue)) {\n newValue = initCloneObject(srcValue);\n }\n }\n else {\n isCommon = false;\n }\n }\n if (isCommon) {\n // Recursively merge objects and arrays (susceptible to call stack limits).\n stack.set(srcValue, newValue);\n mergeFunc(newValue, srcValue, srcIndex, customizer, stack);\n stack['delete'](srcValue);\n }\n assignMergeValue(object, key, newValue);\n}\n\nmodule.exports = baseMergeDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "index": 440, + "index2": 437, + "size": 1558, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "issuerId": "./node_modules/lodash/sortBy.js", + "issuerName": "./node_modules/lodash/sortBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseOrderBy", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayMap = require('./_arrayMap'),\n baseGet = require('./_baseGet'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n baseSortBy = require('./_baseSortBy'),\n baseUnary = require('./_baseUnary'),\n compareMultiple = require('./_compareMultiple'),\n identity = require('./identity'),\n isArray = require('./isArray');\n\n/**\n * The base implementation of `_.orderBy` without param guards.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function[]|Object[]|string[]} iteratees The iteratees to sort by.\n * @param {string[]} orders The sort orders of `iteratees`.\n * @returns {Array} Returns the new sorted array.\n */\nfunction baseOrderBy(collection, iteratees, orders) {\n if (iteratees.length) {\n iteratees = arrayMap(iteratees, function(iteratee) {\n if (isArray(iteratee)) {\n return function(value) {\n return baseGet(value, iteratee.length === 1 ? iteratee[0] : iteratee);\n }\n }\n return iteratee;\n });\n } else {\n iteratees = [identity];\n }\n\n var index = -1;\n iteratees = arrayMap(iteratees, baseUnary(baseIteratee));\n\n var result = baseMap(collection, function(value, key, collection) {\n var criteria = arrayMap(iteratees, function(iteratee) {\n return iteratee(value);\n });\n return { 'criteria': criteria, 'index': ++index, 'value': value };\n });\n\n return baseSortBy(result, function(object, other) {\n return compareMultiple(object, other, orders);\n });\n}\n\nmodule.exports = baseOrderBy;\n" + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "index": 432, + "index2": 428, + "size": 501, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "issuerId": "./node_modules/lodash/pick.js", + "issuerName": "./node_modules/lodash/pick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "module": "./node_modules/lodash/pick.js", + "moduleName": "./node_modules/lodash/pick.js", + "type": "cjs require", + "userRequest": "./_basePick", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var basePickBy = require('./_basePickBy'),\n hasIn = require('./hasIn');\n\n/**\n * The base implementation of `_.pick` without support for individual\n * property identifiers.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @returns {Object} Returns the new object.\n */\nfunction basePick(object, paths) {\n return basePickBy(object, paths, function(value, path) {\n return hasIn(object, path);\n });\n}\n\nmodule.exports = basePick;\n" + }, + { + "id": "./node_modules/lodash/_basePickBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "name": "./node_modules/lodash/_basePickBy.js", + "index": 433, + "index2": 427, + "size": 791, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "issuerId": "./node_modules/lodash/_basePick.js", + "issuerName": "./node_modules/lodash/_basePick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_basePick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "module": "./node_modules/lodash/_basePick.js", + "moduleName": "./node_modules/lodash/_basePick.js", + "type": "cjs require", + "userRequest": "./_basePickBy", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGet = require('./_baseGet'),\n baseSet = require('./_baseSet'),\n castPath = require('./_castPath');\n\n/**\n * The base implementation of `_.pickBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Object} object The source object.\n * @param {string[]} paths The property paths to pick.\n * @param {Function} predicate The function invoked per property.\n * @returns {Object} Returns the new object.\n */\nfunction basePickBy(object, paths, predicate) {\n var index = -1,\n length = paths.length,\n result = {};\n\n while (++index < length) {\n var path = paths[index],\n value = baseGet(object, path);\n\n if (predicate(value, path)) {\n baseSet(result, castPath(path, object), value);\n }\n }\n return result;\n}\n\nmodule.exports = basePickBy;\n" + }, + { + "id": "./node_modules/lodash/_baseProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseProperty.js", + "name": "./node_modules/lodash/_baseProperty.js", + "index": 344, + "index2": 333, + "size": 360, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "issuerId": "./node_modules/lodash/property.js", + "issuerName": "./node_modules/lodash/property.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_asciiSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_asciiSize.js", + "module": "./node_modules/lodash/_asciiSize.js", + "moduleName": "./node_modules/lodash/_asciiSize.js", + "type": "cjs require", + "userRequest": "./_baseProperty", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_baseProperty", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.property` without support for deep paths.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction baseProperty(key) {\n return function(object) {\n return object == null ? undefined : object[key];\n };\n}\n\nmodule.exports = baseProperty;\n" + }, + { + "id": "./node_modules/lodash/_basePropertyDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePropertyDeep.js", + "name": "./node_modules/lodash/_basePropertyDeep.js", + "index": 345, + "index2": 334, + "size": 391, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "issuerId": "./node_modules/lodash/property.js", + "issuerName": "./node_modules/lodash/property.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_basePropertyDeep", + "loc": "2:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGet = require('./_baseGet');\n\n/**\n * A specialized version of `baseProperty` which supports deep paths.\n *\n * @private\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n */\nfunction basePropertyDeep(path) {\n return function(object) {\n return baseGet(object, path);\n };\n}\n\nmodule.exports = basePropertyDeep;\n" + }, + { + "id": "./node_modules/lodash/_baseRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRange.js", + "name": "./node_modules/lodash/_baseRange.js", + "index": 438, + "index2": 431, + "size": 850, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "issuerId": "./node_modules/lodash/_createRange.js", + "issuerName": "./node_modules/lodash/_createRange.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 14 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./_baseRange", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeCeil = Math.ceil,\n nativeMax = Math.max;\n\n/**\n * The base implementation of `_.range` and `_.rangeRight` which doesn't\n * coerce arguments.\n *\n * @private\n * @param {number} start The start of the range.\n * @param {number} end The end of the range.\n * @param {number} step The value to increment or decrement by.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Array} Returns the range of numbers.\n */\nfunction baseRange(start, end, step, fromRight) {\n var index = -1,\n length = nativeMax(nativeCeil((end - start) / (step || 1)), 0),\n result = Array(length);\n\n while (length--) {\n result[fromRight ? length : ++index] = start;\n start += step;\n }\n return result;\n}\n\nmodule.exports = baseRange;\n" + }, + { + "id": "./node_modules/lodash/_baseReduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseReduce.js", + "name": "./node_modules/lodash/_baseReduce.js", + "index": 354, + "index2": 345, + "size": 909, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "issuerId": "./node_modules/lodash/reduce.js", + "issuerName": "./node_modules/lodash/reduce.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 155, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./_baseReduce", + "loc": "4:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * The base implementation of `_.reduce` and `_.reduceRight`, without support\n * for iteratee shorthands, which iterates over `collection` using `eachFunc`.\n *\n * @private\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} iteratee The function invoked per iteration.\n * @param {*} accumulator The initial value.\n * @param {boolean} initAccum Specify using the first or last element of\n * `collection` as the initial value.\n * @param {Function} eachFunc The function to iterate over `collection`.\n * @returns {*} Returns the accumulated value.\n */\nfunction baseReduce(collection, iteratee, accumulator, initAccum, eachFunc) {\n eachFunc(collection, function(value, index, collection) {\n accumulator = initAccum\n ? (initAccum = false, value)\n : iteratee(accumulator, value, index, collection);\n });\n return accumulator;\n}\n\nmodule.exports = baseReduce;\n" + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "index": 365, + "index2": 361, + "size": 559, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createAssigner.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "module": "./node_modules/lodash/_createAssigner.js", + "moduleName": "./node_modules/lodash/_createAssigner.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var identity = require('./identity'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * The base implementation of `_.rest` which doesn't validate or coerce arguments.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @returns {Function} Returns the new function.\n */\nfunction baseRest(func, start) {\n return setToString(overRest(func, start, identity), func + '');\n}\n\nmodule.exports = baseRest;\n" + }, + { + "id": "./node_modules/lodash/_baseSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "name": "./node_modules/lodash/_baseSet.js", + "index": 434, + "index2": 426, + "size": 1385, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "issuerId": "./node_modules/lodash/_basePickBy.js", + "issuerName": "./node_modules/lodash/_basePickBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/_basePickBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "name": "./node_modules/lodash/_basePickBy.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 5, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_baseSet", + "loc": "2:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var assignValue = require('./_assignValue'),\n castPath = require('./_castPath'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject'),\n toKey = require('./_toKey');\n\n/**\n * The base implementation of `_.set`.\n *\n * @private\n * @param {Object} object The object to modify.\n * @param {Array|string} path The path of the property to set.\n * @param {*} value The value to set.\n * @param {Function} [customizer] The function to customize path creation.\n * @returns {Object} Returns `object`.\n */\nfunction baseSet(object, path, value, customizer) {\n if (!isObject(object)) {\n return object;\n }\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n lastIndex = length - 1,\n nested = object;\n\n while (nested != null && ++index < length) {\n var key = toKey(path[index]),\n newValue = value;\n\n if (key === '__proto__' || key === 'constructor' || key === 'prototype') {\n return object;\n }\n\n if (index != lastIndex) {\n var objValue = nested[key];\n newValue = customizer ? customizer(objValue, key, nested) : undefined;\n if (newValue === undefined) {\n newValue = isObject(objValue)\n ? objValue\n : (isIndex(path[index + 1]) ? [] : {});\n }\n }\n assignValue(nested, key, newValue);\n nested = nested[key];\n }\n return object;\n}\n\nmodule.exports = baseSet;\n" + }, + { + "id": "./node_modules/lodash/_baseSetToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "name": "./node_modules/lodash/_baseSetToString.js", + "index": 369, + "index2": 358, + "size": 641, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "issuerId": "./node_modules/lodash/_setToString.js", + "issuerName": "./node_modules/lodash/_setToString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_setToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "module": "./node_modules/lodash/_setToString.js", + "moduleName": "./node_modules/lodash/_setToString.js", + "type": "cjs require", + "userRequest": "./_baseSetToString", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var constant = require('./constant'),\n defineProperty = require('./_defineProperty'),\n identity = require('./identity');\n\n/**\n * The base implementation of `setToString` without support for hot loop shorting.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar baseSetToString = !defineProperty ? identity : function(func, string) {\n return defineProperty(func, 'toString', {\n 'configurable': true,\n 'enumerable': false,\n 'value': constant(string),\n 'writable': true\n });\n};\n\nmodule.exports = baseSetToString;\n" + }, + { + "id": "./node_modules/lodash/_baseSortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSortBy.js", + "name": "./node_modules/lodash/_baseSortBy.js", + "index": 441, + "index2": 434, + "size": 543, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseSortBy", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.sortBy` which uses `comparer` to define the\n * sort order of `array` and replaces criteria objects with their corresponding\n * values.\n *\n * @private\n * @param {Array} array The array to sort.\n * @param {Function} comparer The function to define sort order.\n * @returns {Array} Returns `array`.\n */\nfunction baseSortBy(array, comparer) {\n var length = array.length;\n\n array.sort(comparer);\n while (length--) {\n array[length] = array[length].value;\n }\n return array;\n}\n\nmodule.exports = baseSortBy;\n" + }, + { + "id": "./node_modules/lodash/_baseTimes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTimes.js", + "name": "./node_modules/lodash/_baseTimes.js", + "index": 242, + "index2": 229, + "size": 504, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "issuerId": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./_baseTimes", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * The base implementation of `_.times` without support for iteratee shorthands\n * or max array length checks.\n *\n * @private\n * @param {number} n The number of times to invoke `iteratee`.\n * @param {Function} iteratee The function invoked per iteration.\n * @returns {Array} Returns the array of results.\n */\nfunction baseTimes(n, iteratee) {\n var index = -1,\n result = Array(n);\n\n while (++index < n) {\n result[index] = iteratee(index);\n }\n return result;\n}\n\nmodule.exports = baseTimes;\n" + }, + { + "id": "./node_modules/lodash/_baseToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "name": "./node_modules/lodash/_baseToString.js", + "index": 337, + "index2": 323, + "size": 1154, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "issuerId": "./node_modules/lodash/toString.js", + "issuerName": "./node_modules/lodash/toString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/toString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "name": "./node_modules/lodash/toString.js", + "profile": { + "factory": 7, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "module": "./node_modules/lodash/toString.js", + "moduleName": "./node_modules/lodash/toString.js", + "type": "cjs require", + "userRequest": "./_baseToString", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var Symbol = require('./_Symbol'),\n arrayMap = require('./_arrayMap'),\n isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolToString = symbolProto ? symbolProto.toString : undefined;\n\n/**\n * The base implementation of `_.toString` which doesn't convert nullish\n * values to empty strings.\n *\n * @private\n * @param {*} value The value to process.\n * @returns {string} Returns the string.\n */\nfunction baseToString(value) {\n // Exit early for strings to avoid a performance hit in some environments.\n if (typeof value == 'string') {\n return value;\n }\n if (isArray(value)) {\n // Recursively convert values (susceptible to call stack limits).\n return arrayMap(value, baseToString) + '';\n }\n if (isSymbol(value)) {\n return symbolToString ? symbolToString.call(value) : '';\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = baseToString;\n" + }, + { + "id": "./node_modules/lodash/_baseTrim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "name": "./node_modules/lodash/_baseTrim.js", + "index": 410, + "index2": 401, + "size": 444, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "issuerId": "./node_modules/lodash/toNumber.js", + "issuerName": "./node_modules/lodash/toNumber.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./_baseTrim", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var trimmedEndIndex = require('./_trimmedEndIndex');\n\n/** Used to match leading whitespace. */\nvar reTrimStart = /^\\s+/;\n\n/**\n * The base implementation of `_.trim`.\n *\n * @private\n * @param {string} string The string to trim.\n * @returns {string} Returns the trimmed string.\n */\nfunction baseTrim(string) {\n return string\n ? string.slice(0, trimmedEndIndex(string) + 1).replace(reTrimStart, '')\n : string;\n}\n\nmodule.exports = baseTrim;\n" + }, + { + "id": "./node_modules/lodash/_baseUnary.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUnary.js", + "name": "./node_modules/lodash/_baseUnary.js", + "index": 254, + "index2": 240, + "size": 332, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "6:16-39" + }, + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + }, + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_baseUnary", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * The base implementation of `_.unary` without support for storing metadata.\n *\n * @private\n * @param {Function} func The function to cap arguments for.\n * @returns {Function} Returns the new capped function.\n */\nfunction baseUnary(func) {\n return function(value) {\n return func(value);\n };\n}\n\nmodule.exports = baseUnary;\n" + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "index": 371, + "index2": 370, + "size": 1909, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "issuerId": "./node_modules/lodash/union.js", + "issuerName": "./node_modules/lodash/union.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 10, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./_baseUniq", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var SetCache = require('./_SetCache'),\n arrayIncludes = require('./_arrayIncludes'),\n arrayIncludesWith = require('./_arrayIncludesWith'),\n cacheHas = require('./_cacheHas'),\n createSet = require('./_createSet'),\n setToArray = require('./_setToArray');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * The base implementation of `_.uniqBy` without support for iteratee shorthands.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {Function} [iteratee] The iteratee invoked per element.\n * @param {Function} [comparator] The comparator invoked per element.\n * @returns {Array} Returns the new duplicate free array.\n */\nfunction baseUniq(array, iteratee, comparator) {\n var index = -1,\n includes = arrayIncludes,\n length = array.length,\n isCommon = true,\n result = [],\n seen = result;\n\n if (comparator) {\n isCommon = false;\n includes = arrayIncludesWith;\n }\n else if (length >= LARGE_ARRAY_SIZE) {\n var set = iteratee ? null : createSet(array);\n if (set) {\n return setToArray(set);\n }\n isCommon = false;\n includes = cacheHas;\n seen = new SetCache;\n }\n else {\n seen = iteratee ? [] : result;\n }\n outer:\n while (++index < length) {\n var value = array[index],\n computed = iteratee ? iteratee(value) : value;\n\n value = (comparator || value !== 0) ? value : 0;\n if (isCommon && computed === computed) {\n var seenIndex = seen.length;\n while (seenIndex--) {\n if (seen[seenIndex] === computed) {\n continue outer;\n }\n }\n if (iteratee) {\n seen.push(computed);\n }\n result.push(value);\n }\n else if (!includes(seen, computed, comparator)) {\n if (seen !== result) {\n seen.push(computed);\n }\n result.push(value);\n }\n }\n return result;\n}\n\nmodule.exports = baseUniq;\n" + }, + { + "id": "./node_modules/lodash/_baseValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseValues.js", + "name": "./node_modules/lodash/_baseValues.js", + "index": 382, + "index2": 373, + "size": 534, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "issuerId": "./node_modules/lodash/values.js", + "issuerName": "./node_modules/lodash/values.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "module": "./node_modules/lodash/values.js", + "moduleName": "./node_modules/lodash/values.js", + "type": "cjs require", + "userRequest": "./_baseValues", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayMap = require('./_arrayMap');\n\n/**\n * The base implementation of `_.values` and `_.valuesIn` which creates an\n * array of `object` property values corresponding to the property names\n * of `props`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array} props The property names to get values for.\n * @returns {Object} Returns the array of property values.\n */\nfunction baseValues(object, props) {\n return arrayMap(props, function(key) {\n return object[key];\n });\n}\n\nmodule.exports = baseValues;\n" + }, + { + "id": "./node_modules/lodash/_baseZipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseZipObject.js", + "name": "./node_modules/lodash/_baseZipObject.js", + "index": 446, + "index2": 440, + "size": 660, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "issuerId": "./node_modules/lodash/zipObject.js", + "issuerName": "./node_modules/lodash/zipObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/zipObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "module": "./node_modules/lodash/zipObject.js", + "moduleName": "./node_modules/lodash/zipObject.js", + "type": "cjs require", + "userRequest": "./_baseZipObject", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * This base implementation of `_.zipObject` which assigns values using `assignFunc`.\n *\n * @private\n * @param {Array} props The property identifiers.\n * @param {Array} values The property values.\n * @param {Function} assignFunc The function to assign values.\n * @returns {Object} Returns the new object.\n */\nfunction baseZipObject(props, values, assignFunc) {\n var index = -1,\n length = props.length,\n valsLength = values.length,\n result = {};\n\n while (++index < length) {\n var value = index < valsLength ? values[index] : undefined;\n assignFunc(result, props[index], value);\n }\n return result;\n}\n\nmodule.exports = baseZipObject;\n" + }, + { + "id": "./node_modules/lodash/_cacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cacheHas.js", + "name": "./node_modules/lodash/_cacheHas.js", + "index": 319, + "index2": 304, + "size": 337, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_cacheHas", + "loc": "4:15-37" + }, + { + "moduleId": "./node_modules/lodash/_equalArrays.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "module": "./node_modules/lodash/_equalArrays.js", + "moduleName": "./node_modules/lodash/_equalArrays.js", + "type": "cjs require", + "userRequest": "./_cacheHas", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Checks if a `cache` value for `key` exists.\n *\n * @private\n * @param {Object} cache The cache to query.\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction cacheHas(cache, key) {\n return cache.has(key);\n}\n\nmodule.exports = cacheHas;\n" + }, + { + "id": "./node_modules/lodash/_castFunction.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castFunction.js", + "name": "./node_modules/lodash/_castFunction.js", + "index": 305, + "index2": 296, + "size": 326, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "issuerId": "./node_modules/lodash/forIn.js", + "issuerName": "./node_modules/lodash/forIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./_castFunction", + "loc": "3:19-45" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./_castFunction", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var identity = require('./identity');\n\n/**\n * Casts `value` to `identity` if it's not a function.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {Function} Returns cast function.\n */\nfunction castFunction(value) {\n return typeof value == 'function' ? value : identity;\n}\n\nmodule.exports = castFunction;\n" + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "index": 330, + "index2": 325, + "size": 569, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "module": "./node_modules/lodash/_baseGet.js", + "moduleName": "./node_modules/lodash/_baseGet.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "1:15-37" + }, + { + "moduleId": "./node_modules/lodash/_basePickBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePickBy.js", + "module": "./node_modules/lodash/_basePickBy.js", + "moduleName": "./node_modules/lodash/_basePickBy.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_castPath", + "loc": "1:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isArray = require('./isArray'),\n isKey = require('./_isKey'),\n stringToPath = require('./_stringToPath'),\n toString = require('./toString');\n\n/**\n * Casts `value` to a path array if it's not one.\n *\n * @private\n * @param {*} value The value to inspect.\n * @param {Object} [object] The object to query keys on.\n * @returns {Array} Returns the cast property path array.\n */\nfunction castPath(value, object) {\n if (isArray(value)) {\n return value;\n }\n return isKey(value, object) ? [value] : stringToPath(toString(value));\n}\n\nmodule.exports = castPath;\n" + }, + { + "id": "./node_modules/lodash/_cloneArrayBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneArrayBuffer.js", + "name": "./node_modules/lodash/_cloneArrayBuffer.js", + "index": 285, + "index2": 275, + "size": 449, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneDataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneDataView.js", + "module": "./node_modules/lodash/_cloneDataView.js", + "moduleName": "./node_modules/lodash/_cloneDataView.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + }, + { + "moduleId": "./node_modules/lodash/_cloneTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneTypedArray.js", + "module": "./node_modules/lodash/_cloneTypedArray.js", + "moduleName": "./node_modules/lodash/_cloneTypedArray.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + }, + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneArrayBuffer", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Uint8Array = require('./_Uint8Array');\n\n/**\n * Creates a clone of `arrayBuffer`.\n *\n * @private\n * @param {ArrayBuffer} arrayBuffer The array buffer to clone.\n * @returns {ArrayBuffer} Returns the cloned array buffer.\n */\nfunction cloneArrayBuffer(arrayBuffer) {\n var result = new arrayBuffer.constructor(arrayBuffer.byteLength);\n new Uint8Array(result).set(new Uint8Array(arrayBuffer));\n return result;\n}\n\nmodule.exports = cloneArrayBuffer;\n" + }, + { + "id": "./node_modules/lodash/_cloneBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "name": "./node_modules/lodash/_cloneBuffer.js", + "index": 265, + "index2": 255, + "size": 1056, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_cloneBuffer", + "loc": "6:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_cloneBuffer", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var root = require('./_root');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined,\n allocUnsafe = Buffer ? Buffer.allocUnsafe : undefined;\n\n/**\n * Creates a clone of `buffer`.\n *\n * @private\n * @param {Buffer} buffer The buffer to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Buffer} Returns the cloned buffer.\n */\nfunction cloneBuffer(buffer, isDeep) {\n if (isDeep) {\n return buffer.slice();\n }\n var length = buffer.length,\n result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);\n\n buffer.copy(result);\n return result;\n}\n\nmodule.exports = cloneBuffer;\n" + }, + { + "id": "./node_modules/lodash/_cloneDataView.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneDataView.js", + "name": "./node_modules/lodash/_cloneDataView.js", + "index": 287, + "index2": 276, + "size": 507, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneDataView", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `dataView`.\n *\n * @private\n * @param {Object} dataView The data view to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned data view.\n */\nfunction cloneDataView(dataView, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(dataView.buffer) : dataView.buffer;\n return new dataView.constructor(buffer, dataView.byteOffset, dataView.byteLength);\n}\n\nmodule.exports = cloneDataView;\n" + }, + { + "id": "./node_modules/lodash/_cloneRegExp.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneRegExp.js", + "name": "./node_modules/lodash/_cloneRegExp.js", + "index": 288, + "index2": 277, + "size": 439, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneRegExp", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used to match `RegExp` flags from their coerced string values. */\nvar reFlags = /\\w*$/;\n\n/**\n * Creates a clone of `regexp`.\n *\n * @private\n * @param {Object} regexp The regexp to clone.\n * @returns {Object} Returns the cloned regexp.\n */\nfunction cloneRegExp(regexp) {\n var result = new regexp.constructor(regexp.source, reFlags.exec(regexp));\n result.lastIndex = regexp.lastIndex;\n return result;\n}\n\nmodule.exports = cloneRegExp;\n" + }, + { + "id": "./node_modules/lodash/_cloneSymbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneSymbol.js", + "name": "./node_modules/lodash/_cloneSymbol.js", + "index": 289, + "index2": 278, + "size": 524, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneSymbol", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var Symbol = require('./_Symbol');\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * Creates a clone of the `symbol` object.\n *\n * @private\n * @param {Object} symbol The symbol object to clone.\n * @returns {Object} Returns the cloned symbol object.\n */\nfunction cloneSymbol(symbol) {\n return symbolValueOf ? Object(symbolValueOf.call(symbol)) : {};\n}\n\nmodule.exports = cloneSymbol;\n" + }, + { + "id": "./node_modules/lodash/_cloneTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneTypedArray.js", + "name": "./node_modules/lodash/_cloneTypedArray.js", + "index": 290, + "index2": 279, + "size": 527, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "issuerId": "./node_modules/lodash/_initCloneByTag.js", + "issuerName": "./node_modules/lodash/_initCloneByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_cloneTypedArray", + "loc": "3:22-51" + }, + { + "moduleId": "./node_modules/lodash/_initCloneByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "module": "./node_modules/lodash/_initCloneByTag.js", + "moduleName": "./node_modules/lodash/_initCloneByTag.js", + "type": "cjs require", + "userRequest": "./_cloneTypedArray", + "loc": "5:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer');\n\n/**\n * Creates a clone of `typedArray`.\n *\n * @private\n * @param {Object} typedArray The typed array to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the cloned typed array.\n */\nfunction cloneTypedArray(typedArray, isDeep) {\n var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;\n return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);\n}\n\nmodule.exports = cloneTypedArray;\n" + }, + { + "id": "./node_modules/lodash/_compareAscending.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareAscending.js", + "name": "./node_modules/lodash/_compareAscending.js", + "index": 443, + "index2": 435, + "size": 1343, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "issuerId": "./node_modules/lodash/_compareMultiple.js", + "issuerName": "./node_modules/lodash/_compareMultiple.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_compareMultiple.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "name": "./node_modules/lodash/_compareMultiple.js", + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 6, + "building": 10, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_compareMultiple.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "module": "./node_modules/lodash/_compareMultiple.js", + "moduleName": "./node_modules/lodash/_compareMultiple.js", + "type": "cjs require", + "userRequest": "./_compareAscending", + "loc": "1:23-53" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isSymbol = require('./isSymbol');\n\n/**\n * Compares values to sort them in ascending order.\n *\n * @private\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {number} Returns the sort order indicator for `value`.\n */\nfunction compareAscending(value, other) {\n if (value !== other) {\n var valIsDefined = value !== undefined,\n valIsNull = value === null,\n valIsReflexive = value === value,\n valIsSymbol = isSymbol(value);\n\n var othIsDefined = other !== undefined,\n othIsNull = other === null,\n othIsReflexive = other === other,\n othIsSymbol = isSymbol(other);\n\n if ((!othIsNull && !othIsSymbol && !valIsSymbol && value > other) ||\n (valIsSymbol && othIsDefined && othIsReflexive && !othIsNull && !othIsSymbol) ||\n (valIsNull && othIsDefined && othIsReflexive) ||\n (!valIsDefined && othIsReflexive) ||\n !valIsReflexive) {\n return 1;\n }\n if ((!valIsNull && !valIsSymbol && !othIsSymbol && value < other) ||\n (othIsSymbol && valIsDefined && valIsReflexive && !valIsNull && !valIsSymbol) ||\n (othIsNull && valIsDefined && valIsReflexive) ||\n (!othIsDefined && valIsReflexive) ||\n !othIsReflexive) {\n return -1;\n }\n }\n return 0;\n}\n\nmodule.exports = compareAscending;\n" + }, + { + "id": "./node_modules/lodash/_compareMultiple.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareMultiple.js", + "name": "./node_modules/lodash/_compareMultiple.js", + "index": 442, + "index2": 436, + "size": 1599, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "issuerId": "./node_modules/lodash/_baseOrderBy.js", + "issuerName": "./node_modules/lodash/_baseOrderBy.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseOrderBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "name": "./node_modules/lodash/_baseOrderBy.js", + "profile": { + "factory": 156, + "building": 10, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 263, + "building": 13, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./_compareMultiple", + "loc": "7:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var compareAscending = require('./_compareAscending');\n\n/**\n * Used by `_.orderBy` to compare multiple properties of a value to another\n * and stable sort them.\n *\n * If `orders` is unspecified, all values are sorted in ascending order. Otherwise,\n * specify an order of \"desc\" for descending or \"asc\" for ascending sort order\n * of corresponding values.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {boolean[]|string[]} orders The order to sort by for each property.\n * @returns {number} Returns the sort order indicator for `object`.\n */\nfunction compareMultiple(object, other, orders) {\n var index = -1,\n objCriteria = object.criteria,\n othCriteria = other.criteria,\n length = objCriteria.length,\n ordersLength = orders.length;\n\n while (++index < length) {\n var result = compareAscending(objCriteria[index], othCriteria[index]);\n if (result) {\n if (index >= ordersLength) {\n return result;\n }\n var order = orders[index];\n return result * (order == 'desc' ? -1 : 1);\n }\n }\n // Fixes an `Array#sort` bug in the JS engine embedded in Adobe applications\n // that causes it, under certain circumstances, to provide the same value for\n // `object` and `other`. See https://github.com/jashkenas/underscore/pull/1247\n // for more details.\n //\n // This also ensures a stable sort in V8 and other engines.\n // See https://bugs.chromium.org/p/v8/issues/detail?id=90 for more details.\n return object.index - other.index;\n}\n\nmodule.exports = compareMultiple;\n" + }, + { + "id": "./node_modules/lodash/_copyArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyArray.js", + "name": "./node_modules/lodash/_copyArray.js", + "index": 266, + "index2": 256, + "size": 454, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copyArray", + "loc": "7:16-39" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_copyArray", + "loc": "4:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Copies the values of `source` to `array`.\n *\n * @private\n * @param {Array} source The array to copy values from.\n * @param {Array} [array=[]] The array to copy values to.\n * @returns {Array} Returns `array`.\n */\nfunction copyArray(source, array) {\n var index = -1,\n length = source.length;\n\n array || (array = Array(length));\n while (++index < length) {\n array[index] = source[index];\n }\n return array;\n}\n\nmodule.exports = copyArray;\n" + }, + { + "id": "./node_modules/lodash/_copyObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copyObject.js", + "name": "./node_modules/lodash/_copyObject.js", + "index": 239, + "index2": 228, + "size": 1044, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "issuerId": "./node_modules/lodash/_baseAssign.js", + "issuerName": "./node_modules/lodash/_baseAssign.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseAssign.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "name": "./node_modules/lodash/_baseAssign.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssign.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "module": "./node_modules/lodash/_baseAssign.js", + "moduleName": "./node_modules/lodash/_baseAssign.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_baseAssignIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "module": "./node_modules/lodash/_baseAssignIn.js", + "moduleName": "./node_modules/lodash/_baseAssignIn.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_copySymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "module": "./node_modules/lodash/_copySymbols.js", + "moduleName": "./node_modules/lodash/_copySymbols.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_copySymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "module": "./node_modules/lodash/_copySymbolsIn.js", + "moduleName": "./node_modules/lodash/_copySymbolsIn.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/toPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "module": "./node_modules/lodash/toPlainObject.js", + "moduleName": "./node_modules/lodash/toPlainObject.js", + "type": "cjs require", + "userRequest": "./_copyObject", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var assignValue = require('./_assignValue'),\n baseAssignValue = require('./_baseAssignValue');\n\n/**\n * Copies properties of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy properties from.\n * @param {Array} props The property identifiers to copy.\n * @param {Object} [object={}] The object to copy properties to.\n * @param {Function} [customizer] The function to customize copied values.\n * @returns {Object} Returns `object`.\n */\nfunction copyObject(source, props, object, customizer) {\n var isNew = !object;\n object || (object = {});\n\n var index = -1,\n length = props.length;\n\n while (++index < length) {\n var key = props[index];\n\n var newValue = customizer\n ? customizer(object[key], source[key], key, object, source)\n : undefined;\n\n if (newValue === undefined) {\n newValue = source[key];\n }\n if (isNew) {\n baseAssignValue(object, key, newValue);\n } else {\n assignValue(object, key, newValue);\n }\n }\n return object;\n}\n\nmodule.exports = copyObject;\n" + }, + { + "id": "./node_modules/lodash/_copySymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "name": "./node_modules/lodash/_copySymbols.js", + "index": 267, + "index2": 260, + "size": 446, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copySymbols", + "loc": "8:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n getSymbols = require('./_getSymbols');\n\n/**\n * Copies own symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbols(source, object) {\n return copyObject(source, getSymbols(source), object);\n}\n\nmodule.exports = copySymbols;\n" + }, + { + "id": "./node_modules/lodash/_copySymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "name": "./node_modules/lodash/_copySymbolsIn.js", + "index": 271, + "index2": 264, + "size": 470, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_copySymbolsIn", + "loc": "9:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var copyObject = require('./_copyObject'),\n getSymbolsIn = require('./_getSymbolsIn');\n\n/**\n * Copies own and inherited symbols of `source` to `object`.\n *\n * @private\n * @param {Object} source The object to copy symbols from.\n * @param {Object} [object={}] The object to copy symbols to.\n * @returns {Object} Returns `object`.\n */\nfunction copySymbolsIn(source, object) {\n return copyObject(source, getSymbolsIn(source), object);\n}\n\nmodule.exports = copySymbolsIn;\n" + }, + { + "id": "./node_modules/lodash/_coreJsData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_coreJsData.js", + "name": "./node_modules/lodash/_coreJsData.js", + "index": 216, + "index2": 200, + "size": 157, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "issuerId": "./node_modules/lodash/_isMasked.js", + "issuerName": "./node_modules/lodash/_isMasked.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_isMasked.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "name": "./node_modules/lodash/_isMasked.js", + "profile": { + "factory": 2, + "building": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_isMasked.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "module": "./node_modules/lodash/_isMasked.js", + "moduleName": "./node_modules/lodash/_isMasked.js", + "type": "cjs require", + "userRequest": "./_coreJsData", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var root = require('./_root');\n\n/** Used to detect overreaching core-js shims. */\nvar coreJsData = root['__core-js_shared__'];\n\nmodule.exports = coreJsData;\n" + }, + { + "id": "./node_modules/lodash/_createAssigner.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "name": "./node_modules/lodash/_createAssigner.js", + "index": 426, + "index2": 420, + "size": 1042, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "issuerId": "./node_modules/lodash/merge.js", + "issuerName": "./node_modules/lodash/merge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/merge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "module": "./node_modules/lodash/merge.js", + "moduleName": "./node_modules/lodash/merge.js", + "type": "cjs require", + "userRequest": "./_createAssigner", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates a function like `_.assign`.\n *\n * @private\n * @param {Function} assigner The function to assign values.\n * @returns {Function} Returns the new assigner function.\n */\nfunction createAssigner(assigner) {\n return baseRest(function(object, sources) {\n var index = -1,\n length = sources.length,\n customizer = length > 1 ? sources[length - 1] : undefined,\n guard = length > 2 ? sources[2] : undefined;\n\n customizer = (assigner.length > 3 && typeof customizer == 'function')\n ? (length--, customizer)\n : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n customizer = length < 3 ? undefined : customizer;\n length = 1;\n }\n object = Object(object);\n while (++index < length) {\n var source = sources[index];\n if (source) {\n assigner(object, source, index, customizer);\n }\n }\n return object;\n });\n}\n\nmodule.exports = createAssigner;\n" + }, + { + "id": "./node_modules/lodash/_createBaseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseEach.js", + "name": "./node_modules/lodash/_createBaseEach.js", + "index": 304, + "index2": 293, + "size": 886, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "issuerId": "./node_modules/lodash/_baseEach.js", + "issuerName": "./node_modules/lodash/_baseEach.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "name": "./node_modules/lodash/_baseEach.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseEach.js", + "module": "./node_modules/lodash/_baseEach.js", + "moduleName": "./node_modules/lodash/_baseEach.js", + "type": "cjs require", + "userRequest": "./_createBaseEach", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isArrayLike = require('./isArrayLike');\n\n/**\n * Creates a `baseEach` or `baseEachRight` function.\n *\n * @private\n * @param {Function} eachFunc The function to iterate over a collection.\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseEach(eachFunc, fromRight) {\n return function(collection, iteratee) {\n if (collection == null) {\n return collection;\n }\n if (!isArrayLike(collection)) {\n return eachFunc(collection, iteratee);\n }\n var length = collection.length,\n index = fromRight ? length : -1,\n iterable = Object(collection);\n\n while ((fromRight ? index-- : ++index < length)) {\n if (iteratee(iterable[index], index, iterable) === false) {\n break;\n }\n }\n return collection;\n };\n}\n\nmodule.exports = createBaseEach;\n" + }, + { + "id": "./node_modules/lodash/_createBaseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseFor.js", + "name": "./node_modules/lodash/_createBaseFor.js", + "index": 303, + "index2": 290, + "size": 648, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "issuerId": "./node_modules/lodash/_baseFor.js", + "issuerName": "./node_modules/lodash/_baseFor.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFor.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "name": "./node_modules/lodash/_baseFor.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFor.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFor.js", + "module": "./node_modules/lodash/_baseFor.js", + "moduleName": "./node_modules/lodash/_baseFor.js", + "type": "cjs require", + "userRequest": "./_createBaseFor", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Creates a base function for methods like `_.forIn` and `_.forOwn`.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new base function.\n */\nfunction createBaseFor(fromRight) {\n return function(object, iteratee, keysFunc) {\n var index = -1,\n iterable = Object(object),\n props = keysFunc(object),\n length = props.length;\n\n while (length--) {\n var key = props[fromRight ? length : ++index];\n if (iteratee(iterable[key], key, iterable) === false) {\n break;\n }\n }\n return object;\n };\n}\n\nmodule.exports = createBaseFor;\n" + }, + { + "id": "./node_modules/lodash/_createFind.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "name": "./node_modules/lodash/_createFind.js", + "index": 405, + "index2": 399, + "size": 853, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "issuerId": "./node_modules/lodash/find.js", + "issuerName": "./node_modules/lodash/find.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "module": "./node_modules/lodash/find.js", + "moduleName": "./node_modules/lodash/find.js", + "type": "cjs require", + "userRequest": "./_createFind", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseIteratee = require('./_baseIteratee'),\n isArrayLike = require('./isArrayLike'),\n keys = require('./keys');\n\n/**\n * Creates a `_.find` or `_.findLast` function.\n *\n * @private\n * @param {Function} findIndexFunc The function to find the collection index.\n * @returns {Function} Returns the new find function.\n */\nfunction createFind(findIndexFunc) {\n return function(collection, predicate, fromIndex) {\n var iterable = Object(collection);\n if (!isArrayLike(collection)) {\n var iteratee = baseIteratee(predicate, 3);\n collection = keys(collection);\n predicate = function(key) { return iteratee(iterable[key], key, iterable); };\n }\n var index = findIndexFunc(collection, predicate, fromIndex);\n return index > -1 ? iterable[iteratee ? collection[index] : index] : undefined;\n };\n}\n\nmodule.exports = createFind;\n" + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "index": 437, + "index2": 432, + "size": 864, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "issuerId": "./node_modules/lodash/range.js", + "issuerName": "./node_modules/lodash/range.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/range.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "module": "./node_modules/lodash/range.js", + "moduleName": "./node_modules/lodash/range.js", + "type": "cjs require", + "userRequest": "./_createRange", + "loc": "1:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseRange = require('./_baseRange'),\n isIterateeCall = require('./_isIterateeCall'),\n toFinite = require('./toFinite');\n\n/**\n * Creates a `_.range` or `_.rangeRight` function.\n *\n * @private\n * @param {boolean} [fromRight] Specify iterating from right to left.\n * @returns {Function} Returns the new range function.\n */\nfunction createRange(fromRight) {\n return function(start, end, step) {\n if (step && typeof step != 'number' && isIterateeCall(start, end, step)) {\n end = step = undefined;\n }\n // Ensure the sign of `-0` is preserved.\n start = toFinite(start);\n if (end === undefined) {\n end = start;\n start = 0;\n } else {\n end = toFinite(end);\n }\n step = step === undefined ? (start < end ? 1 : -1) : toFinite(step);\n return baseRange(start, end, step, fromRight);\n };\n}\n\nmodule.exports = createRange;\n" + }, + { + "id": "./node_modules/lodash/_createSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "name": "./node_modules/lodash/_createSet.js", + "index": 378, + "index2": 369, + "size": 501, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_createSet", + "loc": "5:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Set = require('./_Set'),\n noop = require('./noop'),\n setToArray = require('./_setToArray');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Creates a set object of `values`.\n *\n * @private\n * @param {Array} values The values to add to the set.\n * @returns {Object} Returns the new set.\n */\nvar createSet = !(Set && (1 / setToArray(new Set([,-0]))[1]) == INFINITY) ? noop : function(values) {\n return new Set(values);\n};\n\nmodule.exports = createSet;\n" + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "index": 237, + "index2": 225, + "size": 233, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "issuerId": "./node_modules/lodash/_baseAssignValue.js", + "issuerName": "./node_modules/lodash/_baseAssignValue.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "module": "./node_modules/lodash/_baseAssignValue.js", + "moduleName": "./node_modules/lodash/_baseAssignValue.js", + "type": "cjs require", + "userRequest": "./_defineProperty", + "loc": "1:21-49" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./_defineProperty", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var getNative = require('./_getNative');\n\nvar defineProperty = (function() {\n try {\n var func = getNative(Object, 'defineProperty');\n func({}, '', {});\n return func;\n } catch (e) {}\n}());\n\nmodule.exports = defineProperty;\n" + }, + { + "id": "./node_modules/lodash/_equalArrays.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalArrays.js", + "name": "./node_modules/lodash/_equalArrays.js", + "index": 314, + "index2": 305, + "size": 2662, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalArrays", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_equalArrays", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var SetCache = require('./_SetCache'),\n arraySome = require('./_arraySome'),\n cacheHas = require('./_cacheHas');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/**\n * A specialized version of `baseIsEqualDeep` for arrays with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Array} array The array to compare.\n * @param {Array} other The other array to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `array` and `other` objects.\n * @returns {boolean} Returns `true` if the arrays are equivalent, else `false`.\n */\nfunction equalArrays(array, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n arrLength = array.length,\n othLength = other.length;\n\n if (arrLength != othLength && !(isPartial && othLength > arrLength)) {\n return false;\n }\n // Check that cyclic values are equal.\n var arrStacked = stack.get(array);\n var othStacked = stack.get(other);\n if (arrStacked && othStacked) {\n return arrStacked == other && othStacked == array;\n }\n var index = -1,\n result = true,\n seen = (bitmask & COMPARE_UNORDERED_FLAG) ? new SetCache : undefined;\n\n stack.set(array, other);\n stack.set(other, array);\n\n // Ignore non-index properties.\n while (++index < arrLength) {\n var arrValue = array[index],\n othValue = other[index];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, arrValue, index, other, array, stack)\n : customizer(arrValue, othValue, index, array, other, stack);\n }\n if (compared !== undefined) {\n if (compared) {\n continue;\n }\n result = false;\n break;\n }\n // Recursively compare arrays (susceptible to call stack limits).\n if (seen) {\n if (!arraySome(other, function(othValue, othIndex) {\n if (!cacheHas(seen, othIndex) &&\n (arrValue === othValue || equalFunc(arrValue, othValue, bitmask, customizer, stack))) {\n return seen.push(othIndex);\n }\n })) {\n result = false;\n break;\n }\n } else if (!(\n arrValue === othValue ||\n equalFunc(arrValue, othValue, bitmask, customizer, stack)\n )) {\n result = false;\n break;\n }\n }\n stack['delete'](array);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalArrays;\n" + }, + { + "id": "./node_modules/lodash/_equalByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "name": "./node_modules/lodash/_equalByTag.js", + "index": 320, + "index2": 308, + "size": 3746, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalByTag", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var Symbol = require('./_Symbol'),\n Uint8Array = require('./_Uint8Array'),\n eq = require('./eq'),\n equalArrays = require('./_equalArrays'),\n mapToArray = require('./_mapToArray'),\n setToArray = require('./_setToArray');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1,\n COMPARE_UNORDERED_FLAG = 2;\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n errorTag = '[object Error]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]';\n\n/** Used to convert symbols to primitives and strings. */\nvar symbolProto = Symbol ? Symbol.prototype : undefined,\n symbolValueOf = symbolProto ? symbolProto.valueOf : undefined;\n\n/**\n * A specialized version of `baseIsEqualDeep` for comparing objects of\n * the same `toStringTag`.\n *\n * **Note:** This function only supports comparing values with tags of\n * `Boolean`, `Date`, `Error`, `Number`, `RegExp`, or `String`.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {string} tag The `toStringTag` of the objects to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalByTag(object, other, tag, bitmask, customizer, equalFunc, stack) {\n switch (tag) {\n case dataViewTag:\n if ((object.byteLength != other.byteLength) ||\n (object.byteOffset != other.byteOffset)) {\n return false;\n }\n object = object.buffer;\n other = other.buffer;\n\n case arrayBufferTag:\n if ((object.byteLength != other.byteLength) ||\n !equalFunc(new Uint8Array(object), new Uint8Array(other))) {\n return false;\n }\n return true;\n\n case boolTag:\n case dateTag:\n case numberTag:\n // Coerce booleans to `1` or `0` and dates to milliseconds.\n // Invalid dates are coerced to `NaN`.\n return eq(+object, +other);\n\n case errorTag:\n return object.name == other.name && object.message == other.message;\n\n case regexpTag:\n case stringTag:\n // Coerce regexes to strings and treat strings, primitives and objects,\n // as equal. See http://www.ecma-international.org/ecma-262/7.0/#sec-regexp.prototype.tostring\n // for more details.\n return object == (other + '');\n\n case mapTag:\n var convert = mapToArray;\n\n case setTag:\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG;\n convert || (convert = setToArray);\n\n if (object.size != other.size && !isPartial) {\n return false;\n }\n // Assume cyclic values are equal.\n var stacked = stack.get(object);\n if (stacked) {\n return stacked == other;\n }\n bitmask |= COMPARE_UNORDERED_FLAG;\n\n // Recursively compare objects (susceptible to call stack limits).\n stack.set(object, other);\n var result = equalArrays(convert(object), convert(other), bitmask, customizer, equalFunc, stack);\n stack['delete'](object);\n return result;\n\n case symbolTag:\n if (symbolValueOf) {\n return symbolValueOf.call(object) == symbolValueOf.call(other);\n }\n }\n return false;\n}\n\nmodule.exports = equalByTag;\n" + }, + { + "id": "./node_modules/lodash/_equalObjects.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalObjects.js", + "name": "./node_modules/lodash/_equalObjects.js", + "index": 323, + "index2": 309, + "size": 2971, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "issuerId": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerName": "./node_modules/lodash/_baseIsEqualDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_equalObjects", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getAllKeys = require('./_getAllKeys');\n\n/** Used to compose bitmasks for value comparisons. */\nvar COMPARE_PARTIAL_FLAG = 1;\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * A specialized version of `baseIsEqualDeep` for objects with support for\n * partial deep comparisons.\n *\n * @private\n * @param {Object} object The object to compare.\n * @param {Object} other The other object to compare.\n * @param {number} bitmask The bitmask flags. See `baseIsEqual` for more details.\n * @param {Function} customizer The function to customize comparisons.\n * @param {Function} equalFunc The function to determine equivalents of values.\n * @param {Object} stack Tracks traversed `object` and `other` objects.\n * @returns {boolean} Returns `true` if the objects are equivalent, else `false`.\n */\nfunction equalObjects(object, other, bitmask, customizer, equalFunc, stack) {\n var isPartial = bitmask & COMPARE_PARTIAL_FLAG,\n objProps = getAllKeys(object),\n objLength = objProps.length,\n othProps = getAllKeys(other),\n othLength = othProps.length;\n\n if (objLength != othLength && !isPartial) {\n return false;\n }\n var index = objLength;\n while (index--) {\n var key = objProps[index];\n if (!(isPartial ? key in other : hasOwnProperty.call(other, key))) {\n return false;\n }\n }\n // Check that cyclic values are equal.\n var objStacked = stack.get(object);\n var othStacked = stack.get(other);\n if (objStacked && othStacked) {\n return objStacked == other && othStacked == object;\n }\n var result = true;\n stack.set(object, other);\n stack.set(other, object);\n\n var skipCtor = isPartial;\n while (++index < objLength) {\n key = objProps[index];\n var objValue = object[key],\n othValue = other[key];\n\n if (customizer) {\n var compared = isPartial\n ? customizer(othValue, objValue, key, other, object, stack)\n : customizer(objValue, othValue, key, object, other, stack);\n }\n // Recursively compare objects (susceptible to call stack limits).\n if (!(compared === undefined\n ? (objValue === othValue || equalFunc(objValue, othValue, bitmask, customizer, stack))\n : compared\n )) {\n result = false;\n break;\n }\n skipCtor || (skipCtor = key == 'constructor');\n }\n if (result && !skipCtor) {\n var objCtor = object.constructor,\n othCtor = other.constructor;\n\n // Non `Object` object instances with different constructors are not equal.\n if (objCtor != othCtor &&\n ('constructor' in object && 'constructor' in other) &&\n !(typeof objCtor == 'function' && objCtor instanceof objCtor &&\n typeof othCtor == 'function' && othCtor instanceof othCtor)) {\n result = false;\n }\n }\n stack['delete'](object);\n stack['delete'](other);\n return result;\n}\n\nmodule.exports = equalObjects;\n" + }, + { + "id": "./node_modules/lodash/_flatRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "name": "./node_modules/lodash/_flatRest.js", + "index": 435, + "index2": 429, + "size": 457, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "issuerId": "./node_modules/lodash/pick.js", + "issuerName": "./node_modules/lodash/pick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/pick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "module": "./node_modules/lodash/pick.js", + "moduleName": "./node_modules/lodash/pick.js", + "type": "cjs require", + "userRequest": "./_flatRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var flatten = require('./flatten'),\n overRest = require('./_overRest'),\n setToString = require('./_setToString');\n\n/**\n * A specialized version of `baseRest` which flattens the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @returns {Function} Returns the new function.\n */\nfunction flatRest(func) {\n return setToString(overRest(func, undefined, flatten), func + '');\n}\n\nmodule.exports = flatRest;\n" + }, + { + "id": "./node_modules/lodash/_freeGlobal.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_freeGlobal.js", + "name": "./node_modules/lodash/_freeGlobal.js", + "index": 211, + "index2": 192, + "size": 173, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "issuerId": "./node_modules/lodash/_root.js", + "issuerName": "./node_modules/lodash/_root.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_root.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "name": "./node_modules/lodash/_root.js", + "profile": { + "factory": 7, + "building": 157 + } + } + ], + "profile": { + "factory": 264, + "building": 12, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_nodeUtil.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "module": "./node_modules/lodash/_nodeUtil.js", + "moduleName": "./node_modules/lodash/_nodeUtil.js", + "type": "cjs require", + "userRequest": "./_freeGlobal", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_root.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "module": "./node_modules/lodash/_root.js", + "moduleName": "./node_modules/lodash/_root.js", + "type": "cjs require", + "userRequest": "./_freeGlobal", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Detect free variable `global` from Node.js. */\nvar freeGlobal = typeof global == 'object' && global && global.Object === Object && global;\n\nmodule.exports = freeGlobal;\n" + }, + { + "id": "./node_modules/lodash/_getAllKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "name": "./node_modules/lodash/_getAllKeys.js", + "index": 275, + "index2": 266, + "size": 455, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getAllKeys", + "loc": "10:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalObjects.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalObjects.js", + "module": "./node_modules/lodash/_equalObjects.js", + "moduleName": "./node_modules/lodash/_equalObjects.js", + "type": "cjs require", + "userRequest": "./_getAllKeys", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbols = require('./_getSymbols'),\n keys = require('./keys');\n\n/**\n * Creates an array of own enumerable property names and symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeys(object) {\n return baseGetAllKeys(object, keys, getSymbols);\n}\n\nmodule.exports = getAllKeys;\n" + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "index": 277, + "index2": 267, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getAllKeysIn", + "loc": "11:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetAllKeys = require('./_baseGetAllKeys'),\n getSymbolsIn = require('./_getSymbolsIn'),\n keysIn = require('./keysIn');\n\n/**\n * Creates an array of own and inherited enumerable property names and\n * symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names and symbols.\n */\nfunction getAllKeysIn(object) {\n return baseGetAllKeys(object, keysIn, getSymbolsIn);\n}\n\nmodule.exports = getAllKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_getMapData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "name": "./node_modules/lodash/_getMapData.js", + "index": 229, + "index2": 216, + "size": 400, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "issuerId": "./node_modules/lodash/_mapCacheGet.js", + "issuerName": "./node_modules/lodash/_mapCacheGet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_mapCacheDelete.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheDelete.js", + "module": "./node_modules/lodash/_mapCacheDelete.js", + "moduleName": "./node_modules/lodash/_mapCacheDelete.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "module": "./node_modules/lodash/_mapCacheGet.js", + "moduleName": "./node_modules/lodash/_mapCacheGet.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheHas.js", + "module": "./node_modules/lodash/_mapCacheHas.js", + "moduleName": "./node_modules/lodash/_mapCacheHas.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + }, + { + "moduleId": "./node_modules/lodash/_mapCacheSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheSet.js", + "module": "./node_modules/lodash/_mapCacheSet.js", + "moduleName": "./node_modules/lodash/_mapCacheSet.js", + "type": "cjs require", + "userRequest": "./_getMapData", + "loc": "1:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "var isKeyable = require('./_isKeyable');\n\n/**\n * Gets the data for `map`.\n *\n * @private\n * @param {Object} map The map to query.\n * @param {string} key The reference key.\n * @returns {*} Returns the map data.\n */\nfunction getMapData(map, key) {\n var data = map.__data__;\n return isKeyable(key)\n ? data[typeof key == 'string' ? 'string' : 'hash']\n : data.map;\n}\n\nmodule.exports = getMapData;\n" + }, + { + "id": "./node_modules/lodash/_getMatchData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "name": "./node_modules/lodash/_getMatchData.js", + "index": 324, + "index2": 314, + "size": 573, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_getMatchData", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isStrictComparable = require('./_isStrictComparable'),\n keys = require('./keys');\n\n/**\n * Gets the property names, values, and compare flags of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the match data of `object`.\n */\nfunction getMatchData(object) {\n var result = keys(object),\n length = result.length;\n\n while (length--) {\n var key = result[length],\n value = object[key];\n\n result[length] = [key, value, isStrictComparable(value)];\n }\n return result;\n}\n\nmodule.exports = getMatchData;\n" + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "index": 205, + "index2": 205, + "size": 483, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "issuerId": "./node_modules/lodash/_defineProperty.js", + "issuerName": "./node_modules/lodash/_defineProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + } + ], + "profile": { + "factory": 8, + "building": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_DataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "module": "./node_modules/lodash/_DataView.js", + "moduleName": "./node_modules/lodash/_DataView.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "module": "./node_modules/lodash/_Map.js", + "moduleName": "./node_modules/lodash/_Map.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Promise.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "module": "./node_modules/lodash/_Promise.js", + "moduleName": "./node_modules/lodash/_Promise.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_Set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "module": "./node_modules/lodash/_Set.js", + "moduleName": "./node_modules/lodash/_Set.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_WeakMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "module": "./node_modules/lodash/_WeakMap.js", + "moduleName": "./node_modules/lodash/_WeakMap.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_defineProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "module": "./node_modules/lodash/_defineProperty.js", + "moduleName": "./node_modules/lodash/_defineProperty.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + }, + { + "moduleId": "./node_modules/lodash/_nativeCreate.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeCreate.js", + "module": "./node_modules/lodash/_nativeCreate.js", + "moduleName": "./node_modules/lodash/_nativeCreate.js", + "type": "cjs require", + "userRequest": "./_getNative", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsNative = require('./_baseIsNative'),\n getValue = require('./_getValue');\n\n/**\n * Gets the native function at `key` of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the method to get.\n * @returns {*} Returns the function if it's native, else `undefined`.\n */\nfunction getNative(object, key) {\n var value = getValue(object, key);\n return baseIsNative(value) ? value : undefined;\n}\n\nmodule.exports = getNative;\n" + }, + { + "id": "./node_modules/lodash/_getPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "name": "./node_modules/lodash/_getPrototype.js", + "index": 274, + "index2": 262, + "size": 163, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "issuerId": "./node_modules/lodash/_initCloneObject.js", + "issuerName": "./node_modules/lodash/_initCloneObject.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./_getPrototype", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var overArg = require('./_overArg');\n\n/** Built-in value references. */\nvar getPrototype = overArg(Object.getPrototypeOf, Object);\n\nmodule.exports = getPrototype;\n" + }, + { + "id": "./node_modules/lodash/_getRawTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getRawTag.js", + "name": "./node_modules/lodash/_getRawTag.js", + "index": 212, + "index2": 195, + "size": 1139, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "issuerId": "./node_modules/lodash/_baseGetTag.js", + "issuerName": "./node_modules/lodash/_baseGetTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_getRawTag", + "loc": "2:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var Symbol = require('./_Symbol');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/** Built-in value references. */\nvar symToStringTag = Symbol ? Symbol.toStringTag : undefined;\n\n/**\n * A specialized version of `baseGetTag` which ignores `Symbol.toStringTag` values.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the raw `toStringTag`.\n */\nfunction getRawTag(value) {\n var isOwn = hasOwnProperty.call(value, symToStringTag),\n tag = value[symToStringTag];\n\n try {\n value[symToStringTag] = undefined;\n var unmasked = true;\n } catch (e) {}\n\n var result = nativeObjectToString.call(value);\n if (unmasked) {\n if (isOwn) {\n value[symToStringTag] = tag;\n } else {\n delete value[symToStringTag];\n }\n }\n return result;\n}\n\nmodule.exports = getRawTag;\n" + }, + { + "id": "./node_modules/lodash/_getSymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "name": "./node_modules/lodash/_getSymbols.js", + "index": 268, + "index2": 259, + "size": 886, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "issuerId": "./node_modules/lodash/_copySymbols.js", + "issuerName": "./node_modules/lodash/_copySymbols.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_copySymbols.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "name": "./node_modules/lodash/_copySymbols.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 7, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_copySymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbols.js", + "module": "./node_modules/lodash/_copySymbols.js", + "moduleName": "./node_modules/lodash/_copySymbols.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "2:17-41" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getSymbols", + "loc": "3:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayFilter = require('./_arrayFilter'),\n stubArray = require('./stubArray');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbols = !nativeGetSymbols ? stubArray : function(object) {\n if (object == null) {\n return [];\n }\n object = Object(object);\n return arrayFilter(nativeGetSymbols(object), function(symbol) {\n return propertyIsEnumerable.call(object, symbol);\n });\n};\n\nmodule.exports = getSymbols;\n" + }, + { + "id": "./node_modules/lodash/_getSymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "name": "./node_modules/lodash/_getSymbolsIn.js", + "index": 272, + "index2": 263, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "issuerId": "./node_modules/lodash/_getAllKeysIn.js", + "issuerName": "./node_modules/lodash/_getAllKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_copySymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_copySymbolsIn.js", + "module": "./node_modules/lodash/_copySymbolsIn.js", + "moduleName": "./node_modules/lodash/_copySymbolsIn.js", + "type": "cjs require", + "userRequest": "./_getSymbolsIn", + "loc": "2:19-45" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./_getSymbolsIn", + "loc": "2:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var arrayPush = require('./_arrayPush'),\n getPrototype = require('./_getPrototype'),\n getSymbols = require('./_getSymbols'),\n stubArray = require('./stubArray');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeGetSymbols = Object.getOwnPropertySymbols;\n\n/**\n * Creates an array of the own and inherited enumerable symbols of `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of symbols.\n */\nvar getSymbolsIn = !nativeGetSymbols ? stubArray : function(object) {\n var result = [];\n while (object) {\n arrayPush(result, getSymbols(object));\n object = getPrototype(object);\n }\n return result;\n};\n\nmodule.exports = getSymbolsIn;\n" + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "index": 278, + "index2": 272, + "size": 1838, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "12:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "5:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "module": "./node_modules/lodash/_baseIsMap.js", + "moduleName": "./node_modules/lodash/_baseIsMap.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/_baseIsSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "module": "./node_modules/lodash/_baseIsSet.js", + "moduleName": "./node_modules/lodash/_baseIsSet.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "1:13-33" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "2:13-33" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_getTag", + "loc": "2:13-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var DataView = require('./_DataView'),\n Map = require('./_Map'),\n Promise = require('./_Promise'),\n Set = require('./_Set'),\n WeakMap = require('./_WeakMap'),\n baseGetTag = require('./_baseGetTag'),\n toSource = require('./_toSource');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n objectTag = '[object Object]',\n promiseTag = '[object Promise]',\n setTag = '[object Set]',\n weakMapTag = '[object WeakMap]';\n\nvar dataViewTag = '[object DataView]';\n\n/** Used to detect maps, sets, and weakmaps. */\nvar dataViewCtorString = toSource(DataView),\n mapCtorString = toSource(Map),\n promiseCtorString = toSource(Promise),\n setCtorString = toSource(Set),\n weakMapCtorString = toSource(WeakMap);\n\n/**\n * Gets the `toStringTag` of `value`.\n *\n * @private\n * @param {*} value The value to query.\n * @returns {string} Returns the `toStringTag`.\n */\nvar getTag = baseGetTag;\n\n// Fallback for data views, maps, sets, and weak maps in IE 11 and promises in Node.js < 6.\nif ((DataView && getTag(new DataView(new ArrayBuffer(1))) != dataViewTag) ||\n (Map && getTag(new Map) != mapTag) ||\n (Promise && getTag(Promise.resolve()) != promiseTag) ||\n (Set && getTag(new Set) != setTag) ||\n (WeakMap && getTag(new WeakMap) != weakMapTag)) {\n getTag = function(value) {\n var result = baseGetTag(value),\n Ctor = result == objectTag ? value.constructor : undefined,\n ctorString = Ctor ? toSource(Ctor) : '';\n\n if (ctorString) {\n switch (ctorString) {\n case dataViewCtorString: return dataViewTag;\n case mapCtorString: return mapTag;\n case promiseCtorString: return promiseTag;\n case setCtorString: return setTag;\n case weakMapCtorString: return weakMapTag;\n }\n }\n return result;\n };\n}\n\nmodule.exports = getTag;\n" + }, + { + "id": "./node_modules/lodash/_getValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getValue.js", + "name": "./node_modules/lodash/_getValue.js", + "index": 218, + "index2": 204, + "size": 325, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "issuerId": "./node_modules/lodash/_getNative.js", + "issuerName": "./node_modules/lodash/_getNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "module": "./node_modules/lodash/_getNative.js", + "moduleName": "./node_modules/lodash/_getNative.js", + "type": "cjs require", + "userRequest": "./_getValue", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Gets the value at `key` of `object`.\n *\n * @private\n * @param {Object} [object] The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction getValue(object, key) {\n return object == null ? undefined : object[key];\n}\n\nmodule.exports = getValue;\n" + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "index": 342, + "index2": 330, + "size": 1085, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "issuerId": "./node_modules/lodash/has.js", + "issuerName": "./node_modules/lodash/has.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/has.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "module": "./node_modules/lodash/has.js", + "moduleName": "./node_modules/lodash/has.js", + "type": "cjs require", + "userRequest": "./_hasPath", + "loc": "2:14-35" + }, + { + "moduleId": "./node_modules/lodash/hasIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "module": "./node_modules/lodash/hasIn.js", + "moduleName": "./node_modules/lodash/hasIn.js", + "type": "cjs require", + "userRequest": "./_hasPath", + "loc": "2:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var castPath = require('./_castPath'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isIndex = require('./_isIndex'),\n isLength = require('./isLength'),\n toKey = require('./_toKey');\n\n/**\n * Checks if `path` exists on `object`.\n *\n * @private\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @param {Function} hasFunc The function to check properties.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n */\nfunction hasPath(object, path, hasFunc) {\n path = castPath(path, object);\n\n var index = -1,\n length = path.length,\n result = false;\n\n while (++index < length) {\n var key = toKey(path[index]);\n if (!(result = object != null && hasFunc(object, key))) {\n break;\n }\n object = object[key];\n }\n if (result || ++index != length) {\n return result;\n }\n length = object == null ? 0 : object.length;\n return !!length && isLength(length) && isIndex(key, length) &&\n (isArray(object) || isArguments(object));\n}\n\nmodule.exports = hasPath;\n" + }, + { + "id": "./node_modules/lodash/_hasUnicode.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasUnicode.js", + "name": "./node_modules/lodash/_hasUnicode.js", + "index": 359, + "index2": 349, + "size": 949, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_hasUnicode", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsZWJ = '\\\\u200d';\n\n/** Used to detect strings with [zero-width joiners or code points from the astral planes](http://eev.ee/blog/2015/09/12/dark-corners-of-unicode/). */\nvar reHasUnicode = RegExp('[' + rsZWJ + rsAstralRange + rsComboRange + rsVarRange + ']');\n\n/**\n * Checks if `string` contains Unicode symbols.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {boolean} Returns `true` if a symbol is found, else `false`.\n */\nfunction hasUnicode(string) {\n return reHasUnicode.test(string);\n}\n\nmodule.exports = hasUnicode;\n" + }, + { + "id": "./node_modules/lodash/_hashClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "name": "./node_modules/lodash/_hashClear.js", + "index": 222, + "index2": 208, + "size": 281, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashClear", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/**\n * Removes all key-value entries from the hash.\n *\n * @private\n * @name clear\n * @memberOf Hash\n */\nfunction hashClear() {\n this.__data__ = nativeCreate ? nativeCreate(null) : {};\n this.size = 0;\n}\n\nmodule.exports = hashClear;\n" + }, + { + "id": "./node_modules/lodash/_hashDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashDelete.js", + "name": "./node_modules/lodash/_hashDelete.js", + "index": 224, + "index2": 209, + "size": 445, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashDelete", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "/**\n * Removes `key` and its value from the hash.\n *\n * @private\n * @name delete\n * @memberOf Hash\n * @param {Object} hash The hash to modify.\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction hashDelete(key) {\n var result = this.has(key) && delete this.__data__[key];\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = hashDelete;\n" + }, + { + "id": "./node_modules/lodash/_hashGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashGet.js", + "name": "./node_modules/lodash/_hashGet.js", + "index": 225, + "index2": 210, + "size": 772, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashGet", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Gets the hash value for `key`.\n *\n * @private\n * @name get\n * @memberOf Hash\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction hashGet(key) {\n var data = this.__data__;\n if (nativeCreate) {\n var result = data[key];\n return result === HASH_UNDEFINED ? undefined : result;\n }\n return hasOwnProperty.call(data, key) ? data[key] : undefined;\n}\n\nmodule.exports = hashGet;\n" + }, + { + "id": "./node_modules/lodash/_hashHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashHas.js", + "name": "./node_modules/lodash/_hashHas.js", + "index": 226, + "index2": 211, + "size": 626, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashHas", + "loc": "4:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if a hash value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Hash\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction hashHas(key) {\n var data = this.__data__;\n return nativeCreate ? (data[key] !== undefined) : hasOwnProperty.call(data, key);\n}\n\nmodule.exports = hashHas;\n" + }, + { + "id": "./node_modules/lodash/_hashSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashSet.js", + "name": "./node_modules/lodash/_hashSet.js", + "index": 227, + "index2": 212, + "size": 598, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "issuerId": "./node_modules/lodash/_Hash.js", + "issuerName": "./node_modules/lodash/_Hash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Hash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "module": "./node_modules/lodash/_Hash.js", + "moduleName": "./node_modules/lodash/_Hash.js", + "type": "cjs require", + "userRequest": "./_hashSet", + "loc": "5:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "var nativeCreate = require('./_nativeCreate');\n\n/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Sets the hash `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Hash\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the hash instance.\n */\nfunction hashSet(key, value) {\n var data = this.__data__;\n this.size += this.has(key) ? 0 : 1;\n data[key] = (nativeCreate && value === undefined) ? HASH_UNDEFINED : value;\n return this;\n}\n\nmodule.exports = hashSet;\n" + }, + { + "id": "./node_modules/lodash/_initCloneArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneArray.js", + "name": "./node_modules/lodash/_initCloneArray.js", + "index": 283, + "index2": 273, + "size": 692, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneArray", + "loc": "13:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Initializes an array clone.\n *\n * @private\n * @param {Array} array The array to clone.\n * @returns {Array} Returns the initialized clone.\n */\nfunction initCloneArray(array) {\n var length = array.length,\n result = new array.constructor(length);\n\n // Add properties assigned by `RegExp#exec`.\n if (length && typeof array[0] == 'string' && hasOwnProperty.call(array, 'index')) {\n result.index = array.index;\n result.input = array.input;\n }\n return result;\n}\n\nmodule.exports = initCloneArray;\n" + }, + { + "id": "./node_modules/lodash/_initCloneByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneByTag.js", + "name": "./node_modules/lodash/_initCloneByTag.js", + "index": 284, + "index2": 280, + "size": 2261, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneByTag", + "loc": "14:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var cloneArrayBuffer = require('./_cloneArrayBuffer'),\n cloneDataView = require('./_cloneDataView'),\n cloneRegExp = require('./_cloneRegExp'),\n cloneSymbol = require('./_cloneSymbol'),\n cloneTypedArray = require('./_cloneTypedArray');\n\n/** `Object#toString` result references. */\nvar boolTag = '[object Boolean]',\n dateTag = '[object Date]',\n mapTag = '[object Map]',\n numberTag = '[object Number]',\n regexpTag = '[object RegExp]',\n setTag = '[object Set]',\n stringTag = '[object String]',\n symbolTag = '[object Symbol]';\n\nvar arrayBufferTag = '[object ArrayBuffer]',\n dataViewTag = '[object DataView]',\n float32Tag = '[object Float32Array]',\n float64Tag = '[object Float64Array]',\n int8Tag = '[object Int8Array]',\n int16Tag = '[object Int16Array]',\n int32Tag = '[object Int32Array]',\n uint8Tag = '[object Uint8Array]',\n uint8ClampedTag = '[object Uint8ClampedArray]',\n uint16Tag = '[object Uint16Array]',\n uint32Tag = '[object Uint32Array]';\n\n/**\n * Initializes an object clone based on its `toStringTag`.\n *\n * **Note:** This function only supports cloning values with tags of\n * `Boolean`, `Date`, `Error`, `Map`, `Number`, `RegExp`, `Set`, or `String`.\n *\n * @private\n * @param {Object} object The object to clone.\n * @param {string} tag The `toStringTag` of the object to clone.\n * @param {boolean} [isDeep] Specify a deep clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneByTag(object, tag, isDeep) {\n var Ctor = object.constructor;\n switch (tag) {\n case arrayBufferTag:\n return cloneArrayBuffer(object);\n\n case boolTag:\n case dateTag:\n return new Ctor(+object);\n\n case dataViewTag:\n return cloneDataView(object, isDeep);\n\n case float32Tag: case float64Tag:\n case int8Tag: case int16Tag: case int32Tag:\n case uint8Tag: case uint8ClampedTag: case uint16Tag: case uint32Tag:\n return cloneTypedArray(object, isDeep);\n\n case mapTag:\n return new Ctor;\n\n case numberTag:\n case stringTag:\n return new Ctor(object);\n\n case regexpTag:\n return cloneRegExp(object);\n\n case setTag:\n return new Ctor;\n\n case symbolTag:\n return cloneSymbol(object);\n }\n}\n\nmodule.exports = initCloneByTag;\n" + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "index": 291, + "index2": 282, + "size": 486, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./_initCloneObject", + "loc": "15:22-51" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_initCloneObject", + "loc": "5:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseCreate = require('./_baseCreate'),\n getPrototype = require('./_getPrototype'),\n isPrototype = require('./_isPrototype');\n\n/**\n * Initializes an object clone.\n *\n * @private\n * @param {Object} object The object to clone.\n * @returns {Object} Returns the initialized clone.\n */\nfunction initCloneObject(object) {\n return (typeof object.constructor == 'function' && !isPrototype(object))\n ? baseCreate(getPrototype(object))\n : {};\n}\n\nmodule.exports = initCloneObject;\n" + }, + { + "id": "./node_modules/lodash/_isFlattenable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "name": "./node_modules/lodash/_isFlattenable.js", + "index": 364, + "index2": 354, + "size": 608, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "issuerId": "./node_modules/lodash/_baseFlatten.js", + "issuerName": "./node_modules/lodash/_baseFlatten.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseFlatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "name": "./node_modules/lodash/_baseFlatten.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseFlatten.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseFlatten.js", + "module": "./node_modules/lodash/_baseFlatten.js", + "moduleName": "./node_modules/lodash/_baseFlatten.js", + "type": "cjs require", + "userRequest": "./_isFlattenable", + "loc": "2:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var Symbol = require('./_Symbol'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray');\n\n/** Built-in value references. */\nvar spreadableSymbol = Symbol ? Symbol.isConcatSpreadable : undefined;\n\n/**\n * Checks if `value` is a flattenable `arguments` object or array.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is flattenable, else `false`.\n */\nfunction isFlattenable(value) {\n return isArray(value) || isArguments(value) ||\n !!(spreadableSymbol && value && value[spreadableSymbol]);\n}\n\nmodule.exports = isFlattenable;\n" + }, + { + "id": "./node_modules/lodash/_isIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIndex.js", + "name": "./node_modules/lodash/_isIndex.js", + "index": 250, + "index2": 237, + "size": 759, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "issuerId": "./node_modules/lodash/_isIterateeCall.js", + "issuerName": "./node_modules/lodash/_isIterateeCall.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "5:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "3:14-35" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "4:14-35" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./_isIndex", + "loc": "3:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/** Used to detect unsigned integer values. */\nvar reIsUint = /^(?:0|[1-9]\\d*)$/;\n\n/**\n * Checks if `value` is a valid array-like index.\n *\n * @private\n * @param {*} value The value to check.\n * @param {number} [length=MAX_SAFE_INTEGER] The upper bounds of a valid index.\n * @returns {boolean} Returns `true` if `value` is a valid index, else `false`.\n */\nfunction isIndex(value, length) {\n var type = typeof value;\n length = length == null ? MAX_SAFE_INTEGER : length;\n\n return !!length &&\n (type == 'number' ||\n (type != 'symbol' && reIsUint.test(value))) &&\n (value > -1 && value % 1 == 0 && value < length);\n}\n\nmodule.exports = isIndex;\n" + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "index": 403, + "index2": 397, + "size": 877, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createAssigner.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createAssigner.js", + "module": "./node_modules/lodash/_createAssigner.js", + "moduleName": "./node_modules/lodash/_createAssigner.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "2:21-49" + }, + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "2:21-49" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "3:21-49" + }, + { + "moduleId": "./node_modules/lodash/sortBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "module": "./node_modules/lodash/sortBy.js", + "moduleName": "./node_modules/lodash/sortBy.js", + "type": "cjs require", + "userRequest": "./_isIterateeCall", + "loc": "4:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var eq = require('./eq'),\n isArrayLike = require('./isArrayLike'),\n isIndex = require('./_isIndex'),\n isObject = require('./isObject');\n\n/**\n * Checks if the given arguments are from an iteratee call.\n *\n * @private\n * @param {*} value The potential iteratee value argument.\n * @param {*} index The potential iteratee index or key argument.\n * @param {*} object The potential iteratee object argument.\n * @returns {boolean} Returns `true` if the arguments are from an iteratee call,\n * else `false`.\n */\nfunction isIterateeCall(value, index, object) {\n if (!isObject(object)) {\n return false;\n }\n var type = typeof index;\n if (type == 'number'\n ? (isArrayLike(object) && isIndex(index, object.length))\n : (type == 'string' && index in object)\n ) {\n return eq(object[index], value);\n }\n return false;\n}\n\nmodule.exports = isIterateeCall;\n" + }, + { + "id": "./node_modules/lodash/_isKey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "name": "./node_modules/lodash/_isKey.js", + "index": 331, + "index2": 318, + "size": 880, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "4:12-31" + }, + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_isKey", + "loc": "3:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isArray = require('./isArray'),\n isSymbol = require('./isSymbol');\n\n/** Used to match property names within property paths. */\nvar reIsDeepProp = /\\.|\\[(?:[^[\\]]*|([\"'])(?:(?!\\1)[^\\\\]|\\\\.)*?\\1)\\]/,\n reIsPlainProp = /^\\w*$/;\n\n/**\n * Checks if `value` is a property name and not a property path.\n *\n * @private\n * @param {*} value The value to check.\n * @param {Object} [object] The object to query keys on.\n * @returns {boolean} Returns `true` if `value` is a property name, else `false`.\n */\nfunction isKey(value, object) {\n if (isArray(value)) {\n return false;\n }\n var type = typeof value;\n if (type == 'number' || type == 'symbol' || type == 'boolean' ||\n value == null || isSymbol(value)) {\n return true;\n }\n return reIsPlainProp.test(value) || !reIsDeepProp.test(value) ||\n (object != null && value in Object(object));\n}\n\nmodule.exports = isKey;\n" + }, + { + "id": "./node_modules/lodash/_isKeyable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKeyable.js", + "name": "./node_modules/lodash/_isKeyable.js", + "index": 230, + "index2": 215, + "size": 430, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "issuerId": "./node_modules/lodash/_getMapData.js", + "issuerName": "./node_modules/lodash/_getMapData.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_getMapData.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "name": "./node_modules/lodash/_getMapData.js", + "profile": { + "factory": 1, + "building": 1 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getMapData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMapData.js", + "module": "./node_modules/lodash/_getMapData.js", + "moduleName": "./node_modules/lodash/_getMapData.js", + "type": "cjs require", + "userRequest": "./_isKeyable", + "loc": "1:16-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 12, + "source": "/**\n * Checks if `value` is suitable for use as unique object key.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is suitable, else `false`.\n */\nfunction isKeyable(value) {\n var type = typeof value;\n return (type == 'string' || type == 'number' || type == 'symbol' || type == 'boolean')\n ? (value !== '__proto__')\n : (value === null);\n}\n\nmodule.exports = isKeyable;\n" + }, + { + "id": "./node_modules/lodash/_isMasked.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isMasked.js", + "name": "./node_modules/lodash/_isMasked.js", + "index": 215, + "index2": 201, + "size": 564, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "issuerId": "./node_modules/lodash/_baseIsNative.js", + "issuerName": "./node_modules/lodash/_baseIsNative.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseAssignValue.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignValue.js", + "name": "./node_modules/lodash/_baseAssignValue.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_defineProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_defineProperty.js", + "name": "./node_modules/lodash/_defineProperty.js", + "profile": { + "factory": 266, + "building": 11 + } + }, + { + "id": "./node_modules/lodash/_getNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getNative.js", + "name": "./node_modules/lodash/_getNative.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_baseIsNative.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "name": "./node_modules/lodash/_baseIsNative.js", + "profile": { + "factory": 4, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 2, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./_isMasked", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var coreJsData = require('./_coreJsData');\n\n/** Used to detect methods masquerading as native. */\nvar maskSrcKey = (function() {\n var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || '');\n return uid ? ('Symbol(src)_1.' + uid) : '';\n}());\n\n/**\n * Checks if `func` has its source masked.\n *\n * @private\n * @param {Function} func The function to check.\n * @returns {boolean} Returns `true` if `func` is masked, else `false`.\n */\nfunction isMasked(func) {\n return !!maskSrcKey && (maskSrcKey in func);\n}\n\nmodule.exports = isMasked;\n" + }, + { + "id": "./node_modules/lodash/_isPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isPrototype.js", + "name": "./node_modules/lodash/_isPrototype.js", + "index": 257, + "index2": 244, + "size": 480, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "issuerId": "./node_modules/lodash/_baseKeysIn.js", + "issuerName": "./node_modules/lodash/_baseKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "module": "./node_modules/lodash/_baseKeys.js", + "moduleName": "./node_modules/lodash/_baseKeys.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "1:18-43" + }, + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "2:18-43" + }, + { + "moduleId": "./node_modules/lodash/_initCloneObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "module": "./node_modules/lodash/_initCloneObject.js", + "moduleName": "./node_modules/lodash/_initCloneObject.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./_isPrototype", + "loc": "7:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Checks if `value` is likely a prototype object.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a prototype, else `false`.\n */\nfunction isPrototype(value) {\n var Ctor = value && value.constructor,\n proto = (typeof Ctor == 'function' && Ctor.prototype) || objectProto;\n\n return value === proto;\n}\n\nmodule.exports = isPrototype;\n" + }, + { + "id": "./node_modules/lodash/_isStrictComparable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isStrictComparable.js", + "name": "./node_modules/lodash/_isStrictComparable.js", + "index": 325, + "index2": 313, + "size": 414, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_isStrictComparable", + "loc": "5:25-57" + }, + { + "moduleId": "./node_modules/lodash/_getMatchData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "module": "./node_modules/lodash/_getMatchData.js", + "moduleName": "./node_modules/lodash/_getMatchData.js", + "type": "cjs require", + "userRequest": "./_isStrictComparable", + "loc": "1:25-57" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isObject = require('./isObject');\n\n/**\n * Checks if `value` is suitable for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` if suitable for strict\n * equality comparisons, else `false`.\n */\nfunction isStrictComparable(value) {\n return value === value && !isObject(value);\n}\n\nmodule.exports = isStrictComparable;\n" + }, + { + "id": "./node_modules/lodash/_listCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheClear.js", + "name": "./node_modules/lodash/_listCacheClear.js", + "index": 192, + "index2": 180, + "size": 218, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheClear", + "loc": "1:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Removes all key-value entries from the list cache.\n *\n * @private\n * @name clear\n * @memberOf ListCache\n */\nfunction listCacheClear() {\n this.__data__ = [];\n this.size = 0;\n}\n\nmodule.exports = listCacheClear;\n" + }, + { + "id": "./node_modules/lodash/_listCacheDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheDelete.js", + "name": "./node_modules/lodash/_listCacheDelete.js", + "index": 193, + "index2": 183, + "size": 775, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheDelete", + "loc": "2:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/** Used for built-in method references. */\nvar arrayProto = Array.prototype;\n\n/** Built-in value references. */\nvar splice = arrayProto.splice;\n\n/**\n * Removes `key` and its value from the list cache.\n *\n * @private\n * @name delete\n * @memberOf ListCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction listCacheDelete(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n return false;\n }\n var lastIndex = data.length - 1;\n if (index == lastIndex) {\n data.pop();\n } else {\n splice.call(data, index, 1);\n }\n --this.size;\n return true;\n}\n\nmodule.exports = listCacheDelete;\n" + }, + { + "id": "./node_modules/lodash/_listCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheGet.js", + "name": "./node_modules/lodash/_listCacheGet.js", + "index": 196, + "index2": 184, + "size": 420, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheGet", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Gets the list cache value for `key`.\n *\n * @private\n * @name get\n * @memberOf ListCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction listCacheGet(key) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n return index < 0 ? undefined : data[index][1];\n}\n\nmodule.exports = listCacheGet;\n" + }, + { + "id": "./node_modules/lodash/_listCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheHas.js", + "name": "./node_modules/lodash/_listCacheHas.js", + "index": 197, + "index2": 185, + "size": 403, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheHas", + "loc": "4:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Checks if a list cache value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf ListCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction listCacheHas(key) {\n return assocIndexOf(this.__data__, key) > -1;\n}\n\nmodule.exports = listCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_listCacheSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_listCacheSet.js", + "name": "./node_modules/lodash/_listCacheSet.js", + "index": 198, + "index2": 186, + "size": 553, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "issuerId": "./node_modules/lodash/_ListCache.js", + "issuerName": "./node_modules/lodash/_ListCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_ListCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "name": "./node_modules/lodash/_ListCache.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 3, + "dependencies": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_ListCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_ListCache.js", + "module": "./node_modules/lodash/_ListCache.js", + "moduleName": "./node_modules/lodash/_ListCache.js", + "type": "cjs require", + "userRequest": "./_listCacheSet", + "loc": "5:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var assocIndexOf = require('./_assocIndexOf');\n\n/**\n * Sets the list cache `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf ListCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the list cache instance.\n */\nfunction listCacheSet(key, value) {\n var data = this.__data__,\n index = assocIndexOf(data, key);\n\n if (index < 0) {\n ++this.size;\n data.push([key, value]);\n } else {\n data[index][1] = value;\n }\n return this;\n}\n\nmodule.exports = listCacheSet;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "index": 220, + "index2": 214, + "size": 393, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheClear", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var Hash = require('./_Hash'),\n ListCache = require('./_ListCache'),\n Map = require('./_Map');\n\n/**\n * Removes all key-value entries from the map.\n *\n * @private\n * @name clear\n * @memberOf MapCache\n */\nfunction mapCacheClear() {\n this.size = 0;\n this.__data__ = {\n 'hash': new Hash,\n 'map': new (Map || ListCache),\n 'string': new Hash\n };\n}\n\nmodule.exports = mapCacheClear;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheDelete.js", + "name": "./node_modules/lodash/_mapCacheDelete.js", + "index": 228, + "index2": 217, + "size": 450, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheDelete", + "loc": "2:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Removes `key` and its value from the map.\n *\n * @private\n * @name delete\n * @memberOf MapCache\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction mapCacheDelete(key) {\n var result = getMapData(this, key)['delete'](key);\n this.size -= result ? 1 : 0;\n return result;\n}\n\nmodule.exports = mapCacheDelete;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheGet.js", + "name": "./node_modules/lodash/_mapCacheGet.js", + "index": 231, + "index2": 218, + "size": 330, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheGet", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Gets the map value for `key`.\n *\n * @private\n * @name get\n * @memberOf MapCache\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction mapCacheGet(key) {\n return getMapData(this, key).get(key);\n}\n\nmodule.exports = mapCacheGet;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheHas.js", + "name": "./node_modules/lodash/_mapCacheHas.js", + "index": 232, + "index2": 219, + "size": 382, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheHas", + "loc": "4:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Checks if a map value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf MapCache\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction mapCacheHas(key) {\n return getMapData(this, key).has(key);\n}\n\nmodule.exports = mapCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_mapCacheSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheSet.js", + "name": "./node_modules/lodash/_mapCacheSet.js", + "index": 233, + "index2": 220, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "issuerId": "./node_modules/lodash/_MapCache.js", + "issuerName": "./node_modules/lodash/_MapCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + } + ], + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_MapCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "module": "./node_modules/lodash/_MapCache.js", + "moduleName": "./node_modules/lodash/_MapCache.js", + "type": "cjs require", + "userRequest": "./_mapCacheSet", + "loc": "5:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var getMapData = require('./_getMapData');\n\n/**\n * Sets the map `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf MapCache\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the map cache instance.\n */\nfunction mapCacheSet(key, value) {\n var data = getMapData(this, key),\n size = data.size;\n\n data.set(key, value);\n this.size += data.size == size ? 0 : 1;\n return this;\n}\n\nmodule.exports = mapCacheSet;\n" + }, + { + "id": "./node_modules/lodash/_mapToArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapToArray.js", + "name": "./node_modules/lodash/_mapToArray.js", + "index": 321, + "index2": 306, + "size": 363, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "issuerId": "./node_modules/lodash/_equalByTag.js", + "issuerName": "./node_modules/lodash/_equalByTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqual.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "name": "./node_modules/lodash/_baseIsEqual.js", + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseIsEqualDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "name": "./node_modules/lodash/_baseIsEqualDeep.js", + "profile": { + "factory": 6, + "building": 3, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_equalByTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "name": "./node_modules/lodash/_equalByTag.js", + "profile": { + "factory": 1, + "building": 3, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_mapToArray", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * Converts `map` to its key-value pairs.\n *\n * @private\n * @param {Object} map The map to convert.\n * @returns {Array} Returns the key-value pairs.\n */\nfunction mapToArray(map) {\n var index = -1,\n result = Array(map.size);\n\n map.forEach(function(value, key) {\n result[++index] = [key, value];\n });\n return result;\n}\n\nmodule.exports = mapToArray;\n" + }, + { + "id": "./node_modules/lodash/_matchesStrictComparable.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_matchesStrictComparable.js", + "name": "./node_modules/lodash/_matchesStrictComparable.js", + "index": 326, + "index2": 315, + "size": 574, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "issuerId": "./node_modules/lodash/_baseMatches.js", + "issuerName": "./node_modules/lodash/_baseMatches.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatches.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "name": "./node_modules/lodash/_baseMatches.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatches.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatches.js", + "module": "./node_modules/lodash/_baseMatches.js", + "moduleName": "./node_modules/lodash/_baseMatches.js", + "type": "cjs require", + "userRequest": "./_matchesStrictComparable", + "loc": "3:30-67" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_matchesStrictComparable", + "loc": "6:30-67" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * A specialized version of `matchesProperty` for source values suitable\n * for strict equality comparisons, i.e. `===`.\n *\n * @private\n * @param {string} key The key of the property to get.\n * @param {*} srcValue The value to match.\n * @returns {Function} Returns the new spec function.\n */\nfunction matchesStrictComparable(key, srcValue) {\n return function(object) {\n if (object == null) {\n return false;\n }\n return object[key] === srcValue &&\n (srcValue !== undefined || (key in Object(object)));\n };\n}\n\nmodule.exports = matchesStrictComparable;\n" + }, + { + "id": "./node_modules/lodash/_memoizeCapped.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "name": "./node_modules/lodash/_memoizeCapped.js", + "index": 334, + "index2": 320, + "size": 633, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "issuerId": "./node_modules/lodash/_stringToPath.js", + "issuerName": "./node_modules/lodash/_stringToPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "profile": { + "factory": 8, + "building": 9 + } + } + ], + "profile": { + "factory": 4, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringToPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "module": "./node_modules/lodash/_stringToPath.js", + "moduleName": "./node_modules/lodash/_stringToPath.js", + "type": "cjs require", + "userRequest": "./_memoizeCapped", + "loc": "1:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "var memoize = require('./memoize');\n\n/** Used as the maximum memoize cache size. */\nvar MAX_MEMOIZE_SIZE = 500;\n\n/**\n * A specialized version of `_.memoize` which clears the memoized function's\n * cache when it exceeds `MAX_MEMOIZE_SIZE`.\n *\n * @private\n * @param {Function} func The function to have its output memoized.\n * @returns {Function} Returns the new memoized function.\n */\nfunction memoizeCapped(func) {\n var result = memoize(func, function(key) {\n if (cache.size === MAX_MEMOIZE_SIZE) {\n cache.clear();\n }\n return key;\n });\n\n var cache = result.cache;\n return result;\n}\n\nmodule.exports = memoizeCapped;\n" + }, + { + "id": "./node_modules/lodash/_nativeCreate.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeCreate.js", + "name": "./node_modules/lodash/_nativeCreate.js", + "index": 223, + "index2": 207, + "size": 187, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "issuerId": "./node_modules/lodash/_hashClear.js", + "issuerName": "./node_modules/lodash/_hashClear.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_MapCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_MapCache.js", + "name": "./node_modules/lodash/_MapCache.js", + "profile": { + "factory": 8, + "building": 2 + } + }, + { + "id": "./node_modules/lodash/_mapCacheClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_mapCacheClear.js", + "name": "./node_modules/lodash/_mapCacheClear.js", + "profile": { + "factory": 2, + "building": 2, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_Hash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Hash.js", + "name": "./node_modules/lodash/_Hash.js", + "profile": { + "factory": 1, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_hashClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "name": "./node_modules/lodash/_hashClear.js", + "profile": { + "factory": 1, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 0, + "building": 0, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_hashClear.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashClear.js", + "module": "./node_modules/lodash/_hashClear.js", + "moduleName": "./node_modules/lodash/_hashClear.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashGet.js", + "module": "./node_modules/lodash/_hashGet.js", + "moduleName": "./node_modules/lodash/_hashGet.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashHas.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashHas.js", + "module": "./node_modules/lodash/_hashHas.js", + "moduleName": "./node_modules/lodash/_hashHas.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + }, + { + "moduleId": "./node_modules/lodash/_hashSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hashSet.js", + "module": "./node_modules/lodash/_hashSet.js", + "moduleName": "./node_modules/lodash/_hashSet.js", + "type": "cjs require", + "userRequest": "./_nativeCreate", + "loc": "1:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 13, + "source": "var getNative = require('./_getNative');\n\n/* Built-in method references that are verified to be native. */\nvar nativeCreate = getNative(Object, 'create');\n\nmodule.exports = nativeCreate;\n" + }, + { + "id": "./node_modules/lodash/_nativeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeys.js", + "name": "./node_modules/lodash/_nativeKeys.js", + "index": 258, + "index2": 246, + "size": 204, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "issuerId": "./node_modules/lodash/_baseKeys.js", + "issuerName": "./node_modules/lodash/_baseKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + }, + { + "id": "./node_modules/lodash/_baseKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "name": "./node_modules/lodash/_baseKeys.js", + "profile": { + "factory": 262, + "building": 14, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 6, + "building": 10, + "dependencies": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeys.js", + "module": "./node_modules/lodash/_baseKeys.js", + "moduleName": "./node_modules/lodash/_baseKeys.js", + "type": "cjs require", + "userRequest": "./_nativeKeys", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var overArg = require('./_overArg');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeKeys = overArg(Object.keys, Object);\n\nmodule.exports = nativeKeys;\n" + }, + { + "id": "./node_modules/lodash/_nativeKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeysIn.js", + "name": "./node_modules/lodash/_nativeKeysIn.js", + "index": 264, + "index2": 251, + "size": 490, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "issuerId": "./node_modules/lodash/_baseKeysIn.js", + "issuerName": "./node_modules/lodash/_baseKeysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_baseKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "name": "./node_modules/lodash/_baseKeysIn.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./_nativeKeysIn", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * This function is like\n * [`Object.keys`](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * except that it includes inherited enumerable properties.\n *\n * @private\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n */\nfunction nativeKeysIn(object) {\n var result = [];\n if (object != null) {\n for (var key in Object(object)) {\n result.push(key);\n }\n }\n return result;\n}\n\nmodule.exports = nativeKeysIn;\n" + }, + { + "id": "./node_modules/lodash/_nodeUtil.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "name": "./node_modules/lodash/_nodeUtil.js", + "index": 255, + "index2": 241, + "size": 995, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "issuerId": "./node_modules/lodash/isSet.js", + "issuerName": "./node_modules/lodash/isSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "module": "./node_modules/lodash/isMap.js", + "moduleName": "./node_modules/lodash/isMap.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/isSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "module": "./node_modules/lodash/isSet.js", + "moduleName": "./node_modules/lodash/isSet.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + }, + { + "moduleId": "./node_modules/lodash/isTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "module": "./node_modules/lodash/isTypedArray.js", + "moduleName": "./node_modules/lodash/isTypedArray.js", + "type": "cjs require", + "userRequest": "./_nodeUtil", + "loc": "3:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Detect free variable `process` from Node.js. */\nvar freeProcess = moduleExports && freeGlobal.process;\n\n/** Used to access faster Node.js helpers. */\nvar nodeUtil = (function() {\n try {\n // Use `util.types` for Node.js 10+.\n var types = freeModule && freeModule.require && freeModule.require('util').types;\n\n if (types) {\n return types;\n }\n\n // Legacy `process.binding('util')` for Node.js < 10.\n return freeProcess && freeProcess.binding && freeProcess.binding('util');\n } catch (e) {}\n}());\n\nmodule.exports = nodeUtil;\n" + }, + { + "id": "./node_modules/lodash/_objectToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_objectToString.js", + "name": "./node_modules/lodash/_objectToString.js", + "index": 213, + "index2": 196, + "size": 565, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "issuerId": "./node_modules/lodash/_baseGetTag.js", + "issuerName": "./node_modules/lodash/_baseGetTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_baseGetTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "name": "./node_modules/lodash/_baseGetTag.js", + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGetTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetTag.js", + "module": "./node_modules/lodash/_baseGetTag.js", + "moduleName": "./node_modules/lodash/_baseGetTag.js", + "type": "cjs require", + "userRequest": "./_objectToString", + "loc": "3:21-49" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/**\n * Used to resolve the\n * [`toStringTag`](http://ecma-international.org/ecma-262/7.0/#sec-object.prototype.tostring)\n * of values.\n */\nvar nativeObjectToString = objectProto.toString;\n\n/**\n * Converts `value` to a string using `Object.prototype.toString`.\n *\n * @private\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n */\nfunction objectToString(value) {\n return nativeObjectToString.call(value);\n}\n\nmodule.exports = objectToString;\n" + }, + { + "id": "./node_modules/lodash/_overArg.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overArg.js", + "name": "./node_modules/lodash/_overArg.js", + "index": 259, + "index2": 245, + "size": 382, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "issuerId": "./node_modules/lodash/_getPrototype.js", + "issuerName": "./node_modules/lodash/_getPrototype.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_initCloneObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_initCloneObject.js", + "name": "./node_modules/lodash/_initCloneObject.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_getPrototype.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "name": "./node_modules/lodash/_getPrototype.js", + "profile": { + "factory": 11, + "building": 7, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 7, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getPrototype.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getPrototype.js", + "module": "./node_modules/lodash/_getPrototype.js", + "moduleName": "./node_modules/lodash/_getPrototype.js", + "type": "cjs require", + "userRequest": "./_overArg", + "loc": "1:14-35" + }, + { + "moduleId": "./node_modules/lodash/_nativeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nativeKeys.js", + "module": "./node_modules/lodash/_nativeKeys.js", + "moduleName": "./node_modules/lodash/_nativeKeys.js", + "type": "cjs require", + "userRequest": "./_overArg", + "loc": "1:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Creates a unary function that invokes `func` with its argument transformed.\n *\n * @private\n * @param {Function} func The function to wrap.\n * @param {Function} transform The argument transform.\n * @returns {Function} Returns the new function.\n */\nfunction overArg(func, transform) {\n return function(arg) {\n return func(transform(arg));\n };\n}\n\nmodule.exports = overArg;\n" + }, + { + "id": "./node_modules/lodash/_overRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_overRest.js", + "name": "./node_modules/lodash/_overRest.js", + "index": 366, + "index2": 357, + "size": 1096, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "issuerId": "./node_modules/lodash/_baseRest.js", + "issuerName": "./node_modules/lodash/_baseRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./_overRest", + "loc": "2:15-37" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./_overRest", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var apply = require('./_apply');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * A specialized version of `baseRest` which transforms the rest array.\n *\n * @private\n * @param {Function} func The function to apply a rest parameter to.\n * @param {number} [start=func.length-1] The start position of the rest parameter.\n * @param {Function} transform The rest array transform.\n * @returns {Function} Returns the new function.\n */\nfunction overRest(func, start, transform) {\n start = nativeMax(start === undefined ? (func.length - 1) : start, 0);\n return function() {\n var args = arguments,\n index = -1,\n length = nativeMax(args.length - start, 0),\n array = Array(length);\n\n while (++index < length) {\n array[index] = args[start + index];\n }\n index = -1;\n var otherArgs = Array(start + 1);\n while (++index < start) {\n otherArgs[index] = args[index];\n }\n otherArgs[start] = transform(array);\n return apply(func, this, otherArgs);\n };\n}\n\nmodule.exports = overRest;\n" + }, + { + "id": "./node_modules/lodash/_root.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_root.js", + "name": "./node_modules/lodash/_root.js", + "index": 210, + "index2": 193, + "size": 300, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "issuerId": "./node_modules/lodash/now.js", + "issuerName": "./node_modules/lodash/now.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 157 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_DataView.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_DataView.js", + "module": "./node_modules/lodash/_DataView.js", + "moduleName": "./node_modules/lodash/_DataView.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Map.js", + "module": "./node_modules/lodash/_Map.js", + "moduleName": "./node_modules/lodash/_Map.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Promise.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Promise.js", + "module": "./node_modules/lodash/_Promise.js", + "moduleName": "./node_modules/lodash/_Promise.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Set.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Set.js", + "module": "./node_modules/lodash/_Set.js", + "moduleName": "./node_modules/lodash/_Set.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Symbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Symbol.js", + "module": "./node_modules/lodash/_Symbol.js", + "moduleName": "./node_modules/lodash/_Symbol.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_Uint8Array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Uint8Array.js", + "module": "./node_modules/lodash/_Uint8Array.js", + "moduleName": "./node_modules/lodash/_Uint8Array.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_WeakMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_WeakMap.js", + "module": "./node_modules/lodash/_WeakMap.js", + "moduleName": "./node_modules/lodash/_WeakMap.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "2:11-29" + }, + { + "moduleId": "./node_modules/lodash/_cloneBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "module": "./node_modules/lodash/_cloneBuffer.js", + "moduleName": "./node_modules/lodash/_cloneBuffer.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/_coreJsData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_coreJsData.js", + "module": "./node_modules/lodash/_coreJsData.js", + "moduleName": "./node_modules/lodash/_coreJsData.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + }, + { + "moduleId": "./node_modules/lodash/now.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "module": "./node_modules/lodash/now.js", + "moduleName": "./node_modules/lodash/now.js", + "type": "cjs require", + "userRequest": "./_root", + "loc": "1:11-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var freeGlobal = require('./_freeGlobal');\n\n/** Detect free variable `self`. */\nvar freeSelf = typeof self == 'object' && self && self.Object === Object && self;\n\n/** Used as a reference to the global object. */\nvar root = freeGlobal || freeSelf || Function('return this')();\n\nmodule.exports = root;\n" + }, + { + "id": "./node_modules/lodash/_safeGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_safeGet.js", + "name": "./node_modules/lodash/_safeGet.js", + "index": 424, + "index2": 416, + "size": 456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "issuerId": "./node_modules/lodash/_baseMerge.js", + "issuerName": "./node_modules/lodash/_baseMerge.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + } + ], + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./_safeGet", + "loc": "7:14-35" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./_safeGet", + "loc": "14:14-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Gets the value at `key`, unless `key` is \"__proto__\" or \"constructor\".\n *\n * @private\n * @param {Object} object The object to query.\n * @param {string} key The key of the property to get.\n * @returns {*} Returns the property value.\n */\nfunction safeGet(object, key) {\n if (key === 'constructor' && typeof object[key] === 'function') {\n return;\n }\n\n if (key == '__proto__') {\n return;\n }\n\n return object[key];\n}\n\nmodule.exports = safeGet;\n" + }, + { + "id": "./node_modules/lodash/_setCacheAdd.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setCacheAdd.js", + "name": "./node_modules/lodash/_setCacheAdd.js", + "index": 316, + "index2": 300, + "size": 424, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "issuerId": "./node_modules/lodash/_SetCache.js", + "issuerName": "./node_modules/lodash/_SetCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 3, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_setCacheAdd", + "loc": "2:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/** Used to stand-in for `undefined` hash values. */\nvar HASH_UNDEFINED = '__lodash_hash_undefined__';\n\n/**\n * Adds `value` to the array cache.\n *\n * @private\n * @name add\n * @memberOf SetCache\n * @alias push\n * @param {*} value The value to cache.\n * @returns {Object} Returns the cache instance.\n */\nfunction setCacheAdd(value) {\n this.__data__.set(value, HASH_UNDEFINED);\n return this;\n}\n\nmodule.exports = setCacheAdd;\n" + }, + { + "id": "./node_modules/lodash/_setCacheHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setCacheHas.js", + "name": "./node_modules/lodash/_setCacheHas.js", + "index": 317, + "index2": 301, + "size": 316, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "issuerId": "./node_modules/lodash/_SetCache.js", + "issuerName": "./node_modules/lodash/_SetCache.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_SetCache.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "name": "./node_modules/lodash/_SetCache.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 3, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_SetCache.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_SetCache.js", + "module": "./node_modules/lodash/_SetCache.js", + "moduleName": "./node_modules/lodash/_SetCache.js", + "type": "cjs require", + "userRequest": "./_setCacheHas", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/**\n * Checks if `value` is in the array cache.\n *\n * @private\n * @name has\n * @memberOf SetCache\n * @param {*} value The value to search for.\n * @returns {number} Returns `true` if `value` is found, else `false`.\n */\nfunction setCacheHas(value) {\n return this.__data__.has(value);\n}\n\nmodule.exports = setCacheHas;\n" + }, + { + "id": "./node_modules/lodash/_setToArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToArray.js", + "name": "./node_modules/lodash/_setToArray.js", + "index": 322, + "index2": 307, + "size": 345, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "issuerId": "./node_modules/lodash/_baseUniq.js", + "issuerName": "./node_modules/lodash/_baseUniq.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseUniq.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "module": "./node_modules/lodash/_baseUniq.js", + "moduleName": "./node_modules/lodash/_baseUniq.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "6:17-41" + }, + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "3:17-41" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./_setToArray", + "loc": "6:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * Converts `set` to an array of its values.\n *\n * @private\n * @param {Object} set The set to convert.\n * @returns {Array} Returns the values.\n */\nfunction setToArray(set) {\n var index = -1,\n result = Array(set.size);\n\n set.forEach(function(value) {\n result[++index] = value;\n });\n return result;\n}\n\nmodule.exports = setToArray;\n" + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "index": 368, + "index2": 360, + "size": 392, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "issuerId": "./node_modules/lodash/_baseRest.js", + "issuerName": "./node_modules/lodash/_baseRest.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./_setToString", + "loc": "3:18-43" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./_setToString", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseSetToString = require('./_baseSetToString'),\n shortOut = require('./_shortOut');\n\n/**\n * Sets the `toString` method of `func` to return `string`.\n *\n * @private\n * @param {Function} func The function to modify.\n * @param {Function} string The `toString` result.\n * @returns {Function} Returns `func`.\n */\nvar setToString = shortOut(baseSetToString);\n\nmodule.exports = setToString;\n" + }, + { + "id": "./node_modules/lodash/_shortOut.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_shortOut.js", + "name": "./node_modules/lodash/_shortOut.js", + "index": 370, + "index2": 359, + "size": 941, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "issuerId": "./node_modules/lodash/_setToString.js", + "issuerName": "./node_modules/lodash/_setToString.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseRest.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "name": "./node_modules/lodash/_baseRest.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_setToString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "name": "./node_modules/lodash/_setToString.js", + "profile": { + "factory": 267, + "building": 8 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_setToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_setToString.js", + "module": "./node_modules/lodash/_setToString.js", + "moduleName": "./node_modules/lodash/_setToString.js", + "type": "cjs require", + "userRequest": "./_shortOut", + "loc": "2:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used to detect hot functions by number of calls within a span of milliseconds. */\nvar HOT_COUNT = 800,\n HOT_SPAN = 16;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeNow = Date.now;\n\n/**\n * Creates a function that'll short out and invoke `identity` instead\n * of `func` when it's called `HOT_COUNT` or more times in `HOT_SPAN`\n * milliseconds.\n *\n * @private\n * @param {Function} func The function to restrict.\n * @returns {Function} Returns the new shortable function.\n */\nfunction shortOut(func) {\n var count = 0,\n lastCalled = 0;\n\n return function() {\n var stamp = nativeNow(),\n remaining = HOT_SPAN - (stamp - lastCalled);\n\n lastCalled = stamp;\n if (remaining > 0) {\n if (++count >= HOT_COUNT) {\n return arguments[0];\n }\n } else {\n count = 0;\n }\n return func.apply(undefined, arguments);\n };\n}\n\nmodule.exports = shortOut;\n" + }, + { + "id": "./node_modules/lodash/_stackClear.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackClear.js", + "name": "./node_modules/lodash/_stackClear.js", + "index": 199, + "index2": 188, + "size": 254, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackClear", + "loc": "2:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var ListCache = require('./_ListCache');\n\n/**\n * Removes all key-value entries from the stack.\n *\n * @private\n * @name clear\n * @memberOf Stack\n */\nfunction stackClear() {\n this.__data__ = new ListCache;\n this.size = 0;\n}\n\nmodule.exports = stackClear;\n" + }, + { + "id": "./node_modules/lodash/_stackDelete.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackDelete.js", + "name": "./node_modules/lodash/_stackDelete.js", + "index": 200, + "index2": 189, + "size": 405, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackDelete", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Removes `key` and its value from the stack.\n *\n * @private\n * @name delete\n * @memberOf Stack\n * @param {string} key The key of the value to remove.\n * @returns {boolean} Returns `true` if the entry was removed, else `false`.\n */\nfunction stackDelete(key) {\n var data = this.__data__,\n result = data['delete'](key);\n\n this.size = data.size;\n return result;\n}\n\nmodule.exports = stackDelete;\n" + }, + { + "id": "./node_modules/lodash/_stackGet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackGet.js", + "name": "./node_modules/lodash/_stackGet.js", + "index": 201, + "index2": 190, + "size": 271, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackGet", + "loc": "4:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Gets the stack value for `key`.\n *\n * @private\n * @name get\n * @memberOf Stack\n * @param {string} key The key of the value to get.\n * @returns {*} Returns the entry value.\n */\nfunction stackGet(key) {\n return this.__data__.get(key);\n}\n\nmodule.exports = stackGet;\n" + }, + { + "id": "./node_modules/lodash/_stackHas.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackHas.js", + "name": "./node_modules/lodash/_stackHas.js", + "index": 202, + "index2": 191, + "size": 323, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackHas", + "loc": "5:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Checks if a stack value for `key` exists.\n *\n * @private\n * @name has\n * @memberOf Stack\n * @param {string} key The key of the entry to check.\n * @returns {boolean} Returns `true` if an entry for `key` exists, else `false`.\n */\nfunction stackHas(key) {\n return this.__data__.has(key);\n}\n\nmodule.exports = stackHas;\n" + }, + { + "id": "./node_modules/lodash/_stackSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stackSet.js", + "name": "./node_modules/lodash/_stackSet.js", + "index": 203, + "index2": 222, + "size": 853, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "issuerId": "./node_modules/lodash/_Stack.js", + "issuerName": "./node_modules/lodash/_Stack.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_Stack.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "name": "./node_modules/lodash/_Stack.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 13, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_Stack.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_Stack.js", + "module": "./node_modules/lodash/_Stack.js", + "moduleName": "./node_modules/lodash/_Stack.js", + "type": "cjs require", + "userRequest": "./_stackSet", + "loc": "6:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var ListCache = require('./_ListCache'),\n Map = require('./_Map'),\n MapCache = require('./_MapCache');\n\n/** Used as the size to enable large array optimizations. */\nvar LARGE_ARRAY_SIZE = 200;\n\n/**\n * Sets the stack `key` to `value`.\n *\n * @private\n * @name set\n * @memberOf Stack\n * @param {string} key The key of the value to set.\n * @param {*} value The value to set.\n * @returns {Object} Returns the stack cache instance.\n */\nfunction stackSet(key, value) {\n var data = this.__data__;\n if (data instanceof ListCache) {\n var pairs = data.__data__;\n if (!Map || (pairs.length < LARGE_ARRAY_SIZE - 1)) {\n pairs.push([key, value]);\n this.size = ++data.size;\n return this;\n }\n data = this.__data__ = new MapCache(pairs);\n }\n data.set(key, value);\n this.size = data.size;\n return this;\n}\n\nmodule.exports = stackSet;\n" + }, + { + "id": "./node_modules/lodash/_strictIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_strictIndexOf.js", + "name": "./node_modules/lodash/_strictIndexOf.js", + "index": 376, + "index2": 364, + "size": 600, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "issuerId": "./node_modules/lodash/_baseIndexOf.js", + "issuerName": "./node_modules/lodash/_baseIndexOf.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_arrayIncludes.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayIncludes.js", + "name": "./node_modules/lodash/_arrayIncludes.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + }, + { + "id": "./node_modules/lodash/_baseIndexOf.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "name": "./node_modules/lodash/_baseIndexOf.js", + "profile": { + "factory": 2, + "building": 1, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 1, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIndexOf.js", + "module": "./node_modules/lodash/_baseIndexOf.js", + "moduleName": "./node_modules/lodash/_baseIndexOf.js", + "type": "cjs require", + "userRequest": "./_strictIndexOf", + "loc": "3:20-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 11, + "source": "/**\n * A specialized version of `_.indexOf` which performs strict equality\n * comparisons of values, i.e. `===`.\n *\n * @private\n * @param {Array} array The array to inspect.\n * @param {*} value The value to search for.\n * @param {number} fromIndex The index to search from.\n * @returns {number} Returns the index of the matched value, else `-1`.\n */\nfunction strictIndexOf(array, value, fromIndex) {\n var index = fromIndex - 1,\n length = array.length;\n\n while (++index < length) {\n if (array[index] === value) {\n return index;\n }\n }\n return -1;\n}\n\nmodule.exports = strictIndexOf;\n" + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "index": 357, + "index2": 351, + "size": 432, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "issuerId": "./node_modules/lodash/size.js", + "issuerName": "./node_modules/lodash/size.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./_stringSize", + "loc": "5:17-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var asciiSize = require('./_asciiSize'),\n hasUnicode = require('./_hasUnicode'),\n unicodeSize = require('./_unicodeSize');\n\n/**\n * Gets the number of symbols in `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the string size.\n */\nfunction stringSize(string) {\n return hasUnicode(string)\n ? unicodeSize(string)\n : asciiSize(string);\n}\n\nmodule.exports = stringSize;\n" + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "index": 333, + "index2": 321, + "size": 840, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "issuerId": "./node_modules/lodash/_castPath.js", + "issuerName": "./node_modules/lodash/_castPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 9 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./_stringToPath", + "loc": "3:19-45" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var memoizeCapped = require('./_memoizeCapped');\n\n/** Used to match property names within property paths. */\nvar rePropName = /[^.[\\]]+|\\[(?:(-?\\d+(?:\\.\\d+)?)|([\"'])((?:(?!\\2)[^\\\\]|\\\\.)*?)\\2)\\]|(?=(?:\\.|\\[\\])(?:\\.|\\[\\]|$))/g;\n\n/** Used to match backslashes in property paths. */\nvar reEscapeChar = /\\\\(\\\\)?/g;\n\n/**\n * Converts `string` to a property path array.\n *\n * @private\n * @param {string} string The string to convert.\n * @returns {Array} Returns the property path array.\n */\nvar stringToPath = memoizeCapped(function(string) {\n var result = [];\n if (string.charCodeAt(0) === 46 /* . */) {\n result.push('');\n }\n string.replace(rePropName, function(match, number, quote, subString) {\n result.push(quote ? subString.replace(reEscapeChar, '$1') : (number || match));\n });\n return result;\n});\n\nmodule.exports = stringToPath;\n" + }, + { + "id": "./node_modules/lodash/_toKey.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toKey.js", + "name": "./node_modules/lodash/_toKey.js", + "index": 339, + "index2": 326, + "size": 523, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseGet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGet.js", + "module": "./node_modules/lodash/_baseGet.js", + "moduleName": "./node_modules/lodash/_baseGet.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "2:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "7:12-31" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "5:12-31" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "6:12-31" + }, + { + "moduleId": "./node_modules/lodash/property.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "module": "./node_modules/lodash/property.js", + "moduleName": "./node_modules/lodash/property.js", + "type": "cjs require", + "userRequest": "./_toKey", + "loc": "4:12-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0;\n\n/**\n * Converts `value` to a string key if it's not a string or symbol.\n *\n * @private\n * @param {*} value The value to inspect.\n * @returns {string|symbol} Returns the key.\n */\nfunction toKey(value) {\n if (typeof value == 'string' || isSymbol(value)) {\n return value;\n }\n var result = (value + '');\n return (result == '0' && (1 / value) == -INFINITY) ? '-0' : result;\n}\n\nmodule.exports = toKey;\n" + }, + { + "id": "./node_modules/lodash/_toSource.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toSource.js", + "name": "./node_modules/lodash/_toSource.js", + "index": 217, + "index2": 202, + "size": 556, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "issuerId": "./node_modules/lodash/_getTag.js", + "issuerName": "./node_modules/lodash/_getTag.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getTag.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "name": "./node_modules/lodash/_getTag.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 11, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./_toSource", + "loc": "4:15-37" + }, + { + "moduleId": "./node_modules/lodash/_getTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getTag.js", + "module": "./node_modules/lodash/_getTag.js", + "moduleName": "./node_modules/lodash/_getTag.js", + "type": "cjs require", + "userRequest": "./_toSource", + "loc": "7:15-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/** Used for built-in method references. */\nvar funcProto = Function.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/**\n * Converts `func` to its source code.\n *\n * @private\n * @param {Function} func The function to convert.\n * @returns {string} Returns the source code.\n */\nfunction toSource(func) {\n if (func != null) {\n try {\n return funcToString.call(func);\n } catch (e) {}\n try {\n return (func + '');\n } catch (e) {}\n }\n return '';\n}\n\nmodule.exports = toSource;\n" + }, + { + "id": "./node_modules/lodash/_trimmedEndIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_trimmedEndIndex.js", + "name": "./node_modules/lodash/_trimmedEndIndex.js", + "index": 411, + "index2": 400, + "size": 515, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "issuerId": "./node_modules/lodash/_baseTrim.js", + "issuerName": "./node_modules/lodash/_baseTrim.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseTrim.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "name": "./node_modules/lodash/_baseTrim.js", + "profile": { + "factory": 1, + "building": 3 + } + } + ], + "profile": { + "factory": 1, + "building": 3 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseTrim.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseTrim.js", + "module": "./node_modules/lodash/_baseTrim.js", + "moduleName": "./node_modules/lodash/_baseTrim.js", + "type": "cjs require", + "userRequest": "./_trimmedEndIndex", + "loc": "1:22-51" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/** Used to match a single whitespace character. */\nvar reWhitespace = /\\s/;\n\n/**\n * Used by `_.trim` and `_.trimEnd` to get the index of the last non-whitespace\n * character of `string`.\n *\n * @private\n * @param {string} string The string to inspect.\n * @returns {number} Returns the index of the last non-whitespace character.\n */\nfunction trimmedEndIndex(string) {\n var index = string.length;\n\n while (index-- && reWhitespace.test(string.charAt(index))) {}\n return index;\n}\n\nmodule.exports = trimmedEndIndex;\n" + }, + { + "id": "./node_modules/lodash/_unicodeSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_unicodeSize.js", + "name": "./node_modules/lodash/_unicodeSize.js", + "index": 360, + "index2": 350, + "size": 1642, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "issuerId": "./node_modules/lodash/_stringSize.js", + "issuerName": "./node_modules/lodash/_stringSize.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_stringSize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "name": "./node_modules/lodash/_stringSize.js", + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 4, + "building": 1, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_stringSize.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringSize.js", + "module": "./node_modules/lodash/_stringSize.js", + "moduleName": "./node_modules/lodash/_stringSize.js", + "type": "cjs require", + "userRequest": "./_unicodeSize", + "loc": "3:18-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/** Used to compose unicode character classes. */\nvar rsAstralRange = '\\\\ud800-\\\\udfff',\n rsComboMarksRange = '\\\\u0300-\\\\u036f',\n reComboHalfMarksRange = '\\\\ufe20-\\\\ufe2f',\n rsComboSymbolsRange = '\\\\u20d0-\\\\u20ff',\n rsComboRange = rsComboMarksRange + reComboHalfMarksRange + rsComboSymbolsRange,\n rsVarRange = '\\\\ufe0e\\\\ufe0f';\n\n/** Used to compose unicode capture groups. */\nvar rsAstral = '[' + rsAstralRange + ']',\n rsCombo = '[' + rsComboRange + ']',\n rsFitz = '\\\\ud83c[\\\\udffb-\\\\udfff]',\n rsModifier = '(?:' + rsCombo + '|' + rsFitz + ')',\n rsNonAstral = '[^' + rsAstralRange + ']',\n rsRegional = '(?:\\\\ud83c[\\\\udde6-\\\\uddff]){2}',\n rsSurrPair = '[\\\\ud800-\\\\udbff][\\\\udc00-\\\\udfff]',\n rsZWJ = '\\\\u200d';\n\n/** Used to compose unicode regexes. */\nvar reOptMod = rsModifier + '?',\n rsOptVar = '[' + rsVarRange + ']?',\n rsOptJoin = '(?:' + rsZWJ + '(?:' + [rsNonAstral, rsRegional, rsSurrPair].join('|') + ')' + rsOptVar + reOptMod + ')*',\n rsSeq = rsOptVar + reOptMod + rsOptJoin,\n rsSymbol = '(?:' + [rsNonAstral + rsCombo + '?', rsCombo, rsRegional, rsSurrPair, rsAstral].join('|') + ')';\n\n/** Used to match [string symbols](https://mathiasbynens.be/notes/javascript-unicode). */\nvar reUnicode = RegExp(rsFitz + '(?=' + rsFitz + ')|' + rsSymbol + rsSeq, 'g');\n\n/**\n * Gets the size of a Unicode `string`.\n *\n * @private\n * @param {string} string The string inspect.\n * @returns {number} Returns the string size.\n */\nfunction unicodeSize(string) {\n var result = reUnicode.lastIndex = 0;\n while (reUnicode.test(string)) {\n ++result;\n }\n return result;\n}\n\nmodule.exports = unicodeSize;\n" + }, + { + "id": "./node_modules/lodash/clone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/clone.js", + "name": "./node_modules/lodash/clone.js", + "index": 188, + "index2": 288, + "size": 1065, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/clone", + "loc": "8:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * Creates a shallow clone of `value`.\n *\n * **Note:** This method is loosely based on the\n * [structured clone algorithm](https://mdn.io/Structured_clone_algorithm)\n * and supports cloning arrays, array buffers, booleans, date objects, maps,\n * numbers, `Object` objects, regexes, sets, strings, symbols, and typed\n * arrays. The own enumerable properties of `arguments` objects are cloned\n * as plain objects. An empty object is returned for uncloneable values such\n * as error objects, functions, DOM nodes, and WeakMaps.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to clone.\n * @returns {*} Returns the cloned value.\n * @see _.cloneDeep\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var shallow = _.clone(objects);\n * console.log(shallow[0] === objects[0]);\n * // => true\n */\nfunction clone(value) {\n return baseClone(value, CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = clone;\n" + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "index": 401, + "index2": 396, + "size": 679, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/cloneDeep", + "loc": "8:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseClone = require('./_baseClone');\n\n/** Used to compose bitmasks for cloning. */\nvar CLONE_DEEP_FLAG = 1,\n CLONE_SYMBOLS_FLAG = 4;\n\n/**\n * This method is like `_.clone` except that it recursively clones `value`.\n *\n * @static\n * @memberOf _\n * @since 1.0.0\n * @category Lang\n * @param {*} value The value to recursively clone.\n * @returns {*} Returns the deep cloned value.\n * @see _.clone\n * @example\n *\n * var objects = [{ 'a': 1 }, { 'b': 2 }];\n *\n * var deep = _.cloneDeep(objects);\n * console.log(deep[0] === objects[0]);\n * // => false\n */\nfunction cloneDeep(value) {\n return baseClone(value, CLONE_DEEP_FLAG | CLONE_SYMBOLS_FLAG);\n}\n\nmodule.exports = cloneDeep;\n" + }, + { + "id": "./node_modules/lodash/constant.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/constant.js", + "name": "./node_modules/lodash/constant.js", + "index": 297, + "index2": 289, + "size": 528, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/constant", + "loc": "9:16-42" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/constant", + "loc": "9:16-42" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./constant", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Creates a function that returns `value`.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {*} value The value to return from the new function.\n * @returns {Function} Returns the new constant function.\n * @example\n *\n * var objects = _.times(2, _.constant({ 'a': 1 }));\n *\n * console.log(objects);\n * // => [{ 'a': 1 }, { 'a': 1 }]\n *\n * console.log(objects[0] === objects[1]);\n * // => true\n */\nfunction constant(value) {\n return function() {\n return value;\n };\n}\n\nmodule.exports = constant;\n" + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "index": 402, + "index2": 398, + "size": 1754, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/defaults", + "loc": "10:16-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseRest = require('./_baseRest'),\n eq = require('./eq'),\n isIterateeCall = require('./_isIterateeCall'),\n keysIn = require('./keysIn');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Assigns own and inherited enumerable string keyed properties of source\n * objects to the destination object for all destination properties that\n * resolve to `undefined`. Source objects are applied from left to right.\n * Once a property is set, additional values of the same property are ignored.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @see _.defaultsDeep\n * @example\n *\n * _.defaults({ 'a': 1 }, { 'b': 2 }, { 'a': 3 });\n * // => { 'a': 1, 'b': 2 }\n */\nvar defaults = baseRest(function(object, sources) {\n object = Object(object);\n\n var index = -1;\n var length = sources.length;\n var guard = length > 2 ? sources[2] : undefined;\n\n if (guard && isIterateeCall(sources[0], sources[1], guard)) {\n length = 1;\n }\n\n while (++index < length) {\n var source = sources[index];\n var props = keysIn(source);\n var propsIndex = -1;\n var propsLength = props.length;\n\n while (++propsIndex < propsLength) {\n var key = props[propsIndex];\n var value = object[key];\n\n if (value === undefined ||\n (eq(value, objectProto[key]) && !hasOwnProperty.call(object, key))) {\n object[key] = source[key];\n }\n }\n }\n\n return object;\n});\n\nmodule.exports = defaults;\n" + }, + { + "id": "./node_modules/lodash/each.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/each.js", + "name": "./node_modules/lodash/each.js", + "index": 298, + "index2": 298, + "size": 39, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/each", + "loc": "11:12-34" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/each", + "loc": "10:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "module.exports = require('./forEach');\n" + }, + { + "id": "./node_modules/lodash/eq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/eq.js", + "name": "./node_modules/lodash/eq.js", + "index": 195, + "index2": 181, + "size": 799, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_assignMergeValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignMergeValue.js", + "module": "./node_modules/lodash/_assignMergeValue.js", + "moduleName": "./node_modules/lodash/_assignMergeValue.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + }, + { + "moduleId": "./node_modules/lodash/_assignValue.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assignValue.js", + "module": "./node_modules/lodash/_assignValue.js", + "moduleName": "./node_modules/lodash/_assignValue.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + }, + { + "moduleId": "./node_modules/lodash/_assocIndexOf.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_assocIndexOf.js", + "module": "./node_modules/lodash/_assocIndexOf.js", + "moduleName": "./node_modules/lodash/_assocIndexOf.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "1:9-24" + }, + { + "moduleId": "./node_modules/lodash/_equalByTag.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_equalByTag.js", + "module": "./node_modules/lodash/_equalByTag.js", + "moduleName": "./node_modules/lodash/_equalByTag.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "3:9-24" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "1:9-24" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./eq", + "loc": "2:9-24" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * Performs a\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * comparison between two values to determine if they are equivalent.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to compare.\n * @param {*} other The other value to compare.\n * @returns {boolean} Returns `true` if the values are equivalent, else `false`.\n * @example\n *\n * var object = { 'a': 1 };\n * var other = { 'a': 1 };\n *\n * _.eq(object, object);\n * // => true\n *\n * _.eq(object, other);\n * // => false\n *\n * _.eq('a', 'a');\n * // => true\n *\n * _.eq('a', Object('a'));\n * // => false\n *\n * _.eq(NaN, NaN);\n * // => true\n */\nfunction eq(value, other) {\n return value === other || (value !== value && other !== other);\n}\n\nmodule.exports = eq;\n" + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "index": 307, + "index2": 337, + "size": 1683, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/filter", + "loc": "12:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/filter", + "loc": "11:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayFilter = require('./_arrayFilter'),\n baseFilter = require('./_baseFilter'),\n baseIteratee = require('./_baseIteratee'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection`, returning an array of all elements\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * **Note:** Unlike `_.remove`, this method returns a new array.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new filtered array.\n * @see _.reject\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false }\n * ];\n *\n * _.filter(users, function(o) { return !o.active; });\n * // => objects for ['fred']\n *\n * // The `_.matches` iteratee shorthand.\n * _.filter(users, { 'age': 36, 'active': true });\n * // => objects for ['barney']\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.filter(users, ['active', false]);\n * // => objects for ['fred']\n *\n * // The `_.property` iteratee shorthand.\n * _.filter(users, 'active');\n * // => objects for ['barney']\n *\n * // Combining several predicates using `_.overEvery` or `_.overSome`.\n * _.filter(users, _.overSome([{ 'age': 36 }, ['age', 40]]));\n * // => objects for ['fred', 'barney']\n */\nfunction filter(collection, predicate) {\n var func = isArray(collection) ? arrayFilter : baseFilter;\n return func(collection, baseIteratee(predicate, 3));\n}\n\nmodule.exports = filter;\n" + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "index": 404, + "index2": 406, + "size": 1304, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/find", + "loc": "13:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var createFind = require('./_createFind'),\n findIndex = require('./findIndex');\n\n/**\n * Iterates over elements of `collection`, returning the first element\n * `predicate` returns truthy for. The predicate is invoked with three\n * arguments: (value, index|key, collection).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {*} Returns the matched element, else `undefined`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'age': 36, 'active': true },\n * { 'user': 'fred', 'age': 40, 'active': false },\n * { 'user': 'pebbles', 'age': 1, 'active': true }\n * ];\n *\n * _.find(users, function(o) { return o.age < 40; });\n * // => object for 'barney'\n *\n * // The `_.matches` iteratee shorthand.\n * _.find(users, { 'age': 1, 'active': true });\n * // => object for 'pebbles'\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.find(users, ['active', false]);\n * // => object for 'fred'\n *\n * // The `_.property` iteratee shorthand.\n * _.find(users, 'active');\n * // => object for 'barney'\n */\nvar find = createFind(findIndex);\n\nmodule.exports = find;\n" + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "index": 406, + "index2": 405, + "size": 1654, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "issuerId": "./node_modules/lodash/find.js", + "issuerName": "./node_modules/lodash/find.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/find.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "module": "./node_modules/lodash/find.js", + "moduleName": "./node_modules/lodash/find.js", + "type": "cjs require", + "userRequest": "./findIndex", + "loc": "2:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseFindIndex = require('./_baseFindIndex'),\n baseIteratee = require('./_baseIteratee'),\n toInteger = require('./toInteger');\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeMax = Math.max;\n\n/**\n * This method is like `_.find` except that it returns the index of the first\n * element `predicate` returns truthy for instead of the element itself.\n *\n * @static\n * @memberOf _\n * @since 1.1.0\n * @category Array\n * @param {Array} array The array to inspect.\n * @param {Function} [predicate=_.identity] The function invoked per iteration.\n * @param {number} [fromIndex=0] The index to search from.\n * @returns {number} Returns the index of the found element, else `-1`.\n * @example\n *\n * var users = [\n * { 'user': 'barney', 'active': false },\n * { 'user': 'fred', 'active': false },\n * { 'user': 'pebbles', 'active': true }\n * ];\n *\n * _.findIndex(users, function(o) { return o.user == 'barney'; });\n * // => 0\n *\n * // The `_.matches` iteratee shorthand.\n * _.findIndex(users, { 'user': 'fred', 'active': false });\n * // => 1\n *\n * // The `_.matchesProperty` iteratee shorthand.\n * _.findIndex(users, ['active', false]);\n * // => 0\n *\n * // The `_.property` iteratee shorthand.\n * _.findIndex(users, 'active');\n * // => 2\n */\nfunction findIndex(array, predicate, fromIndex) {\n var length = array == null ? 0 : array.length;\n if (!length) {\n return -1;\n }\n var index = fromIndex == null ? 0 : toInteger(fromIndex);\n if (index < 0) {\n index = nativeMax(length + index, 0);\n }\n return baseFindIndex(array, baseIteratee(predicate, 3), index);\n}\n\nmodule.exports = findIndex;\n" + }, + { + "id": "./node_modules/lodash/flatten.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/flatten.js", + "name": "./node_modules/lodash/flatten.js", + "index": 412, + "index2": 407, + "size": 489, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/flatten", + "loc": "14:15-40" + }, + { + "moduleId": "./node_modules/lodash/_flatRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_flatRest.js", + "module": "./node_modules/lodash/_flatRest.js", + "moduleName": "./node_modules/lodash/_flatRest.js", + "type": "cjs require", + "userRequest": "./flatten", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFlatten = require('./_baseFlatten');\n\n/**\n * Flattens `array` a single level deep.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to flatten.\n * @returns {Array} Returns the new flattened array.\n * @example\n *\n * _.flatten([1, [2, [3, [4]], 5]]);\n * // => [1, 2, [3, [4]], 5]\n */\nfunction flatten(array) {\n var length = array == null ? 0 : array.length;\n return length ? baseFlatten(array, 1) : [];\n}\n\nmodule.exports = flatten;\n" + }, + { + "id": "./node_modules/lodash/forEach.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "name": "./node_modules/lodash/forEach.js", + "index": 299, + "index2": 297, + "size": 1355, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/forEach", + "loc": "15:15-40" + }, + { + "moduleId": "./node_modules/lodash/each.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/each.js", + "module": "./node_modules/lodash/each.js", + "moduleName": "./node_modules/lodash/each.js", + "type": "cjs require", + "userRequest": "./forEach", + "loc": "1:17-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayEach = require('./_arrayEach'),\n baseEach = require('./_baseEach'),\n castFunction = require('./_castFunction'),\n isArray = require('./isArray');\n\n/**\n * Iterates over elements of `collection` and invokes `iteratee` for each element.\n * The iteratee is invoked with three arguments: (value, index|key, collection).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * **Note:** As with other \"Collections\" methods, objects with a \"length\"\n * property are iterated like arrays. To avoid this behavior use `_.forIn`\n * or `_.forOwn` for object iteration.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @alias each\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array|Object} Returns `collection`.\n * @see _.forEachRight\n * @example\n *\n * _.forEach([1, 2], function(value) {\n * console.log(value);\n * });\n * // => Logs `1` then `2`.\n *\n * _.forEach({ 'a': 1, 'b': 2 }, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a' then 'b' (iteration order is not guaranteed).\n */\nfunction forEach(collection, iteratee) {\n var func = isArray(collection) ? arrayEach : baseEach;\n return func(collection, castFunction(iteratee));\n}\n\nmodule.exports = forEach;\n" + }, + { + "id": "./node_modules/lodash/forIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "name": "./node_modules/lodash/forIn.js", + "index": 413, + "index2": 408, + "size": 1065, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/forIn", + "loc": "16:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFor = require('./_baseFor'),\n castFunction = require('./_castFunction'),\n keysIn = require('./keysIn');\n\n/**\n * Iterates over own and inherited enumerable string keyed properties of an\n * object and invokes `iteratee` for each property. The iteratee is invoked\n * with three arguments: (value, key, object). Iteratee functions may exit\n * iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 0.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns `object`.\n * @see _.forInRight\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.forIn(new Foo, function(value, key) {\n * console.log(key);\n * });\n * // => Logs 'a', 'b', then 'c' (iteration order is not guaranteed).\n */\nfunction forIn(object, iteratee) {\n return object == null\n ? object\n : baseFor(object, castFunction(iteratee), keysIn);\n}\n\nmodule.exports = forIn;\n" + }, + { + "id": "./node_modules/lodash/get.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/get.js", + "name": "./node_modules/lodash/get.js", + "index": 328, + "index2": 328, + "size": 884, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "issuerId": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerName": "./node_modules/lodash/_baseMatchesProperty.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseMatchesProperty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "name": "./node_modules/lodash/_baseMatchesProperty.js", + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 9, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./get", + "loc": "2:10-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGet = require('./_baseGet');\n\n/**\n * Gets the value at `path` of `object`. If the resolved value is\n * `undefined`, the `defaultValue` is returned in its place.\n *\n * @static\n * @memberOf _\n * @since 3.7.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path of the property to get.\n * @param {*} [defaultValue] The value returned for `undefined` resolved values.\n * @returns {*} Returns the resolved value.\n * @example\n *\n * var object = { 'a': [{ 'b': { 'c': 3 } }] };\n *\n * _.get(object, 'a[0].b.c');\n * // => 3\n *\n * _.get(object, ['a', '0', 'b', 'c']);\n * // => 3\n *\n * _.get(object, 'a.b.c', 'default');\n * // => 'default'\n */\nfunction get(object, path, defaultValue) {\n var result = object == null ? undefined : baseGet(object, path);\n return result === undefined ? defaultValue : result;\n}\n\nmodule.exports = get;\n" + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "index": 346, + "index2": 339, + "size": 757, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/has", + "loc": "17:12-33" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/has", + "loc": "12:12-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseHas = require('./_baseHas'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct property of `object`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = { 'a': { 'b': 2 } };\n * var other = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.has(object, 'a');\n * // => true\n *\n * _.has(object, 'a.b');\n * // => true\n *\n * _.has(object, ['a', 'b']);\n * // => true\n *\n * _.has(other, 'a');\n * // => false\n */\nfunction has(object, path) {\n return object != null && hasPath(object, path, baseHas);\n}\n\nmodule.exports = has;\n" + }, + { + "id": "./node_modules/lodash/hasIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/hasIn.js", + "name": "./node_modules/lodash/hasIn.js", + "index": 340, + "index2": 331, + "size": 753, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "issuerId": "./node_modules/lodash/_basePick.js", + "issuerName": "./node_modules/lodash/_basePick.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_basePick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "name": "./node_modules/lodash/_basePick.js", + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + } + } + ], + "profile": { + "factory": 262, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMatchesProperty.js", + "module": "./node_modules/lodash/_baseMatchesProperty.js", + "moduleName": "./node_modules/lodash/_baseMatchesProperty.js", + "type": "cjs require", + "userRequest": "./hasIn", + "loc": "3:12-30" + }, + { + "moduleId": "./node_modules/lodash/_basePick.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_basePick.js", + "module": "./node_modules/lodash/_basePick.js", + "moduleName": "./node_modules/lodash/_basePick.js", + "type": "cjs require", + "userRequest": "./hasIn", + "loc": "2:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseHasIn = require('./_baseHasIn'),\n hasPath = require('./_hasPath');\n\n/**\n * Checks if `path` is a direct or inherited property of `object`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @param {Array|string} path The path to check.\n * @returns {boolean} Returns `true` if `path` exists, else `false`.\n * @example\n *\n * var object = _.create({ 'a': _.create({ 'b': 2 }) });\n *\n * _.hasIn(object, 'a');\n * // => true\n *\n * _.hasIn(object, 'a.b');\n * // => true\n *\n * _.hasIn(object, ['a', 'b']);\n * // => true\n *\n * _.hasIn(object, 'b');\n * // => false\n */\nfunction hasIn(object, path) {\n return object != null && hasPath(object, path, baseHasIn);\n}\n\nmodule.exports = hasIn;\n" + }, + { + "id": "./node_modules/lodash/identity.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/identity.js", + "name": "./node_modules/lodash/identity.js", + "index": 306, + "index2": 295, + "size": 370, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "issuerId": "./node_modules/lodash/max.js", + "issuerName": "./node_modules/lodash/max.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "8:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseRest.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseRest.js", + "module": "./node_modules/lodash/_baseRest.js", + "moduleName": "./node_modules/lodash/_baseRest.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseSetToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSetToString.js", + "module": "./node_modules/lodash/_baseSetToString.js", + "moduleName": "./node_modules/lodash/_baseSetToString.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_castFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castFunction.js", + "module": "./node_modules/lodash/_castFunction.js", + "moduleName": "./node_modules/lodash/_castFunction.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/max.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "module": "./node_modules/lodash/max.js", + "moduleName": "./node_modules/lodash/max.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/min.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "module": "./node_modules/lodash/min.js", + "moduleName": "./node_modules/lodash/min.js", + "type": "cjs require", + "userRequest": "./identity", + "loc": "3:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * This method returns the first argument it receives.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {*} value Any value.\n * @returns {*} Returns `value`.\n * @example\n *\n * var object = { 'a': 1 };\n *\n * console.log(_.identity(object) === object);\n * // => true\n */\nfunction identity(value) {\n return value;\n}\n\nmodule.exports = identity;\n" + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "index": 243, + "index2": 232, + "size": 1026, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "6:18-42" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArguments", + "loc": "3:18-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsArguments = require('./_baseIsArguments'),\n isObjectLike = require('./isObjectLike');\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Built-in value references. */\nvar propertyIsEnumerable = objectProto.propertyIsEnumerable;\n\n/**\n * Checks if `value` is likely an `arguments` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an `arguments` object,\n * else `false`.\n * @example\n *\n * _.isArguments(function() { return arguments; }());\n * // => true\n *\n * _.isArguments([1, 2, 3]);\n * // => false\n */\nvar isArguments = baseIsArguments(function() { return arguments; }()) ? baseIsArguments : function(value) {\n return isObjectLike(value) && hasOwnProperty.call(value, 'callee') &&\n !propertyIsEnumerable.call(value, 'callee');\n};\n\nmodule.exports = isArguments;\n" + }, + { + "id": "./node_modules/lodash/isArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArray.js", + "name": "./node_modules/lodash/isArray.js", + "index": 246, + "index2": 233, + "size": 488, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "issuerId": "./node_modules/lodash/filter.js", + "issuerName": "./node_modules/lodash/filter.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isArray", + "loc": "13:15-40" + }, + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "16:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseGetAllKeys.js", + "module": "./node_modules/lodash/_baseGetAllKeys.js", + "moduleName": "./node_modules/lodash/_baseGetAllKeys.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "2:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "6:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "7:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseOrderBy.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseOrderBy.js", + "module": "./node_modules/lodash/_baseOrderBy.js", + "moduleName": "./node_modules/lodash/_baseOrderBy.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "9:14-34" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "1:14-34" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_isFlattenable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isFlattenable.js", + "module": "./node_modules/lodash/_isFlattenable.js", + "moduleName": "./node_modules/lodash/_isFlattenable.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "3:14-34" + }, + { + "moduleId": "./node_modules/lodash/_isKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "module": "./node_modules/lodash/_isKey.js", + "moduleName": "./node_modules/lodash/_isKey.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "1:14-34" + }, + { + "moduleId": "./node_modules/lodash/filter.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "module": "./node_modules/lodash/filter.js", + "moduleName": "./node_modules/lodash/filter.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/forEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forEach.js", + "module": "./node_modules/lodash/forEach.js", + "moduleName": "./node_modules/lodash/forEach.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "2:14-34" + }, + { + "moduleId": "./node_modules/lodash/map.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "module": "./node_modules/lodash/map.js", + "moduleName": "./node_modules/lodash/map.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "4:14-34" + }, + { + "moduleId": "./node_modules/lodash/reduce.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "module": "./node_modules/lodash/reduce.js", + "moduleName": "./node_modules/lodash/reduce.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "5:14-34" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isArray", + "loc": "6:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "/**\n * Checks if `value` is classified as an `Array` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array, else `false`.\n * @example\n *\n * _.isArray([1, 2, 3]);\n * // => true\n *\n * _.isArray(document.body.children);\n * // => false\n *\n * _.isArray('abc');\n * // => false\n *\n * _.isArray(_.noop);\n * // => false\n */\nvar isArray = Array.isArray;\n\nmodule.exports = isArray;\n" + }, + { + "id": "./node_modules/lodash/isArrayLike.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "name": "./node_modules/lodash/isArrayLike.js", + "index": 260, + "index2": 248, + "size": 830, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "issuerId": "./node_modules/lodash/keysIn.js", + "issuerName": "./node_modules/lodash/keysIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMap.js", + "module": "./node_modules/lodash/_baseMap.js", + "moduleName": "./node_modules/lodash/_baseMap.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_createBaseEach.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createBaseEach.js", + "module": "./node_modules/lodash/_createBaseEach.js", + "moduleName": "./node_modules/lodash/_createBaseEach.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "1:18-42" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "2:18-42" + }, + { + "moduleId": "./node_modules/lodash/isArrayLikeObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "module": "./node_modules/lodash/isArrayLikeObject.js", + "moduleName": "./node_modules/lodash/isArrayLikeObject.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "1:18-42" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "5:18-42" + }, + { + "moduleId": "./node_modules/lodash/keys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "module": "./node_modules/lodash/keys.js", + "moduleName": "./node_modules/lodash/keys.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + }, + { + "moduleId": "./node_modules/lodash/keysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "module": "./node_modules/lodash/keysIn.js", + "moduleName": "./node_modules/lodash/keysIn.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + }, + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./isArrayLike", + "loc": "3:18-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var isFunction = require('./isFunction'),\n isLength = require('./isLength');\n\n/**\n * Checks if `value` is array-like. A value is considered array-like if it's\n * not a function and has a `value.length` that's an integer greater than or\n * equal to `0` and less than or equal to `Number.MAX_SAFE_INTEGER`.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is array-like, else `false`.\n * @example\n *\n * _.isArrayLike([1, 2, 3]);\n * // => true\n *\n * _.isArrayLike(document.body.children);\n * // => true\n *\n * _.isArrayLike('abc');\n * // => true\n *\n * _.isArrayLike(_.noop);\n * // => false\n */\nfunction isArrayLike(value) {\n return value != null && isLength(value.length) && !isFunction(value);\n}\n\nmodule.exports = isArrayLike;\n" + }, + { + "id": "./node_modules/lodash/isArrayLikeObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "name": "./node_modules/lodash/isArrayLikeObject.js", + "index": 380, + "index2": 371, + "size": 742, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isArrayLikeObject", + "loc": "8:24-54" + }, + { + "moduleId": "./node_modules/lodash/union.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "module": "./node_modules/lodash/union.js", + "moduleName": "./node_modules/lodash/union.js", + "type": "cjs require", + "userRequest": "./isArrayLikeObject", + "loc": "4:24-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var isArrayLike = require('./isArrayLike'),\n isObjectLike = require('./isObjectLike');\n\n/**\n * This method is like `_.isArrayLike` except that it also checks if `value`\n * is an object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an array-like object,\n * else `false`.\n * @example\n *\n * _.isArrayLikeObject([1, 2, 3]);\n * // => true\n *\n * _.isArrayLikeObject(document.body.children);\n * // => true\n *\n * _.isArrayLikeObject('abc');\n * // => false\n *\n * _.isArrayLikeObject(_.noop);\n * // => false\n */\nfunction isArrayLikeObject(value) {\n return isObjectLike(value) && isArrayLike(value);\n}\n\nmodule.exports = isArrayLikeObject;\n" + }, + { + "id": "./node_modules/lodash/isBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "name": "./node_modules/lodash/isBuffer.js", + "index": 247, + "index2": 236, + "size": 1114, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "17:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "7:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "9:15-36" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "6:15-36" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isBuffer", + "loc": "7:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var root = require('./_root'),\n stubFalse = require('./stubFalse');\n\n/** Detect free variable `exports`. */\nvar freeExports = typeof exports == 'object' && exports && !exports.nodeType && exports;\n\n/** Detect free variable `module`. */\nvar freeModule = freeExports && typeof module == 'object' && module && !module.nodeType && module;\n\n/** Detect the popular CommonJS extension `module.exports`. */\nvar moduleExports = freeModule && freeModule.exports === freeExports;\n\n/** Built-in value references. */\nvar Buffer = moduleExports ? root.Buffer : undefined;\n\n/* Built-in method references for those with the same name as other `lodash` methods. */\nvar nativeIsBuffer = Buffer ? Buffer.isBuffer : undefined;\n\n/**\n * Checks if `value` is a buffer.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a buffer, else `false`.\n * @example\n *\n * _.isBuffer(new Buffer(2));\n * // => true\n *\n * _.isBuffer(new Uint8Array(2));\n * // => false\n */\nvar isBuffer = nativeIsBuffer || stubFalse;\n\nmodule.exports = isBuffer;\n" + }, + { + "id": "./node_modules/lodash/isEmpty.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "name": "./node_modules/lodash/isEmpty.js", + "index": 348, + "index2": 340, + "size": 2000, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isEmpty", + "loc": "14:15-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArguments = require('./isArguments'),\n isArray = require('./isArray'),\n isArrayLike = require('./isArrayLike'),\n isBuffer = require('./isBuffer'),\n isPrototype = require('./_isPrototype'),\n isTypedArray = require('./isTypedArray');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/** Used for built-in method references. */\nvar objectProto = Object.prototype;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/**\n * Checks if `value` is an empty object, collection, map, or set.\n *\n * Objects are considered empty if they have no own enumerable string keyed\n * properties.\n *\n * Array-like values such as `arguments` objects, arrays, buffers, strings, or\n * jQuery-like collections are considered empty if they have a `length` of `0`.\n * Similarly, maps and sets are considered empty if they have a `size` of `0`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is empty, else `false`.\n * @example\n *\n * _.isEmpty(null);\n * // => true\n *\n * _.isEmpty(true);\n * // => true\n *\n * _.isEmpty(1);\n * // => true\n *\n * _.isEmpty([1, 2, 3]);\n * // => false\n *\n * _.isEmpty({ 'a': 1 });\n * // => false\n */\nfunction isEmpty(value) {\n if (value == null) {\n return true;\n }\n if (isArrayLike(value) &&\n (isArray(value) || typeof value == 'string' || typeof value.splice == 'function' ||\n isBuffer(value) || isTypedArray(value) || isArguments(value))) {\n return !value.length;\n }\n var tag = getTag(value);\n if (tag == mapTag || tag == setTag) {\n return !value.size;\n }\n if (isPrototype(value)) {\n return !baseKeys(value).length;\n }\n for (var key in value) {\n if (hasOwnProperty.call(value, key)) {\n return false;\n }\n }\n return true;\n}\n\nmodule.exports = isEmpty;\n" + }, + { + "id": "./node_modules/lodash/isFunction.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "name": "./node_modules/lodash/isFunction.js", + "index": 207, + "index2": 199, + "size": 993, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isFunction", + "loc": "15:18-46" + }, + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "1:17-40" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "10:17-40" + }, + { + "moduleId": "./node_modules/lodash/isArrayLike.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "module": "./node_modules/lodash/isArrayLike.js", + "moduleName": "./node_modules/lodash/isArrayLike.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "1:17-40" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isFunction", + "loc": "8:17-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObject = require('./isObject');\n\n/** `Object#toString` result references. */\nvar asyncTag = '[object AsyncFunction]',\n funcTag = '[object Function]',\n genTag = '[object GeneratorFunction]',\n proxyTag = '[object Proxy]';\n\n/**\n * Checks if `value` is classified as a `Function` object.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a function, else `false`.\n * @example\n *\n * _.isFunction(_);\n * // => true\n *\n * _.isFunction(/abc/);\n * // => false\n */\nfunction isFunction(value) {\n if (!isObject(value)) {\n return false;\n }\n // The use of `Object#toString` avoids issues with the `typeof` operator\n // in Safari 9 which returns 'object' for typed arrays and other constructors.\n var tag = baseGetTag(value);\n return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;\n}\n\nmodule.exports = isFunction;\n" + }, + { + "id": "./node_modules/lodash/isLength.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isLength.js", + "name": "./node_modules/lodash/isLength.js", + "index": 253, + "index2": 238, + "size": 802, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "issuerId": "./node_modules/lodash/_hasPath.js", + "issuerName": "./node_modules/lodash/_hasPath.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/_hasPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "module": "./node_modules/lodash/_hasPath.js", + "moduleName": "./node_modules/lodash/_hasPath.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "5:15-36" + }, + { + "moduleId": "./node_modules/lodash/isArrayLike.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLike.js", + "module": "./node_modules/lodash/isArrayLike.js", + "moduleName": "./node_modules/lodash/isArrayLike.js", + "type": "cjs require", + "userRequest": "./isLength", + "loc": "2:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/** Used as references for various `Number` constants. */\nvar MAX_SAFE_INTEGER = 9007199254740991;\n\n/**\n * Checks if `value` is a valid array-like length.\n *\n * **Note:** This method is loosely based on\n * [`ToLength`](http://ecma-international.org/ecma-262/7.0/#sec-tolength).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a valid length, else `false`.\n * @example\n *\n * _.isLength(3);\n * // => true\n *\n * _.isLength(Number.MIN_VALUE);\n * // => false\n *\n * _.isLength(Infinity);\n * // => false\n *\n * _.isLength('3');\n * // => false\n */\nfunction isLength(value) {\n return typeof value == 'number' &&\n value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;\n}\n\nmodule.exports = isLength;\n" + }, + { + "id": "./node_modules/lodash/isMap.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isMap.js", + "name": "./node_modules/lodash/isMap.js", + "index": 293, + "index2": 284, + "size": 613, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isMap", + "loc": "18:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsMap = require('./_baseIsMap'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsMap = nodeUtil && nodeUtil.isMap;\n\n/**\n * Checks if `value` is classified as a `Map` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a map, else `false`.\n * @example\n *\n * _.isMap(new Map);\n * // => true\n *\n * _.isMap(new WeakMap);\n * // => false\n */\nvar isMap = nodeIsMap ? baseUnary(nodeIsMap) : baseIsMap;\n\nmodule.exports = isMap;\n" + }, + { + "id": "./node_modules/lodash/isObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isObject.js", + "name": "./node_modules/lodash/isObject.js", + "index": 214, + "index2": 198, + "size": 733, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "issuerId": "./node_modules/lodash/_isIterateeCall.js", + "issuerName": "./node_modules/lodash/_isIterateeCall.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_isIterateeCall.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "name": "./node_modules/lodash/_isIterateeCall.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "19:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseCreate.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseCreate.js", + "module": "./node_modules/lodash/_baseCreate.js", + "moduleName": "./node_modules/lodash/_baseCreate.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseIsNative.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsNative.js", + "module": "./node_modules/lodash/_baseIsNative.js", + "moduleName": "./node_modules/lodash/_baseIsNative.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseKeysIn.js", + "module": "./node_modules/lodash/_baseKeysIn.js", + "moduleName": "./node_modules/lodash/_baseKeysIn.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "5:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "11:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseSet.js", + "module": "./node_modules/lodash/_baseSet.js", + "moduleName": "./node_modules/lodash/_baseSet.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isIterateeCall.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isIterateeCall.js", + "module": "./node_modules/lodash/_isIterateeCall.js", + "moduleName": "./node_modules/lodash/_isIterateeCall.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isStrictComparable.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isStrictComparable.js", + "module": "./node_modules/lodash/_isStrictComparable.js", + "moduleName": "./node_modules/lodash/_isStrictComparable.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/isFunction.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isFunction.js", + "module": "./node_modules/lodash/isFunction.js", + "moduleName": "./node_modules/lodash/isFunction.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isObject", + "loc": "9:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "/**\n * Checks if `value` is the\n * [language type](http://www.ecma-international.org/ecma-262/7.0/#sec-ecmascript-language-types)\n * of `Object`. (e.g. arrays, functions, objects, regexes, `new Number(0)`, and `new String('')`)\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is an object, else `false`.\n * @example\n *\n * _.isObject({});\n * // => true\n *\n * _.isObject([1, 2, 3]);\n * // => true\n *\n * _.isObject(_.noop);\n * // => true\n *\n * _.isObject(null);\n * // => false\n */\nfunction isObject(value) {\n var type = typeof value;\n return value != null && (type == 'object' || type == 'function');\n}\n\nmodule.exports = isObject;\n" + }, + { + "id": "./node_modules/lodash/isObjectLike.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isObjectLike.js", + "name": "./node_modules/lodash/isObjectLike.js", + "index": 245, + "index2": 230, + "size": 614, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "issuerId": "./node_modules/lodash/isArguments.js", + "issuerName": "./node_modules/lodash/isArguments.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/isArguments.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "name": "./node_modules/lodash/isArguments.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 9, + "building": 8, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIsArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsArguments.js", + "module": "./node_modules/lodash/_baseIsArguments.js", + "moduleName": "./node_modules/lodash/_baseIsArguments.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqual.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqual.js", + "module": "./node_modules/lodash/_baseIsEqual.js", + "moduleName": "./node_modules/lodash/_baseIsEqual.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsMap.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsMap.js", + "module": "./node_modules/lodash/_baseIsMap.js", + "moduleName": "./node_modules/lodash/_baseIsMap.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsSet.js", + "module": "./node_modules/lodash/_baseIsSet.js", + "moduleName": "./node_modules/lodash/_baseIsSet.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsTypedArray.js", + "module": "./node_modules/lodash/_baseIsTypedArray.js", + "moduleName": "./node_modules/lodash/_baseIsTypedArray.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isArguments.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArguments.js", + "module": "./node_modules/lodash/isArguments.js", + "moduleName": "./node_modules/lodash/isArguments.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/isArrayLikeObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isArrayLikeObject.js", + "module": "./node_modules/lodash/isArrayLikeObject.js", + "moduleName": "./node_modules/lodash/isArrayLikeObject.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + }, + { + "moduleId": "./node_modules/lodash/isPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "module": "./node_modules/lodash/isPlainObject.js", + "moduleName": "./node_modules/lodash/isPlainObject.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "module": "./node_modules/lodash/isString.js", + "moduleName": "./node_modules/lodash/isString.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "3:19-44" + }, + { + "moduleId": "./node_modules/lodash/isSymbol.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "module": "./node_modules/lodash/isSymbol.js", + "moduleName": "./node_modules/lodash/isSymbol.js", + "type": "cjs require", + "userRequest": "./isObjectLike", + "loc": "2:19-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * Checks if `value` is object-like. A value is object-like if it's not `null`\n * and has a `typeof` result of \"object\".\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is object-like, else `false`.\n * @example\n *\n * _.isObjectLike({});\n * // => true\n *\n * _.isObjectLike([1, 2, 3]);\n * // => true\n *\n * _.isObjectLike(_.noop);\n * // => false\n *\n * _.isObjectLike(null);\n * // => false\n */\nfunction isObjectLike(value) {\n return value != null && typeof value == 'object';\n}\n\nmodule.exports = isObjectLike;\n" + }, + { + "id": "./node_modules/lodash/isPlainObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isPlainObject.js", + "name": "./node_modules/lodash/isPlainObject.js", + "index": 423, + "index2": 415, + "size": 1650, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isPlainObject", + "loc": "12:20-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n getPrototype = require('./_getPrototype'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar objectTag = '[object Object]';\n\n/** Used for built-in method references. */\nvar funcProto = Function.prototype,\n objectProto = Object.prototype;\n\n/** Used to resolve the decompiled source of functions. */\nvar funcToString = funcProto.toString;\n\n/** Used to check objects for own properties. */\nvar hasOwnProperty = objectProto.hasOwnProperty;\n\n/** Used to infer the `Object` constructor. */\nvar objectCtorString = funcToString.call(Object);\n\n/**\n * Checks if `value` is a plain object, that is, an object created by the\n * `Object` constructor or one with a `[[Prototype]]` of `null`.\n *\n * @static\n * @memberOf _\n * @since 0.8.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a plain object, else `false`.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * }\n *\n * _.isPlainObject(new Foo);\n * // => false\n *\n * _.isPlainObject([1, 2, 3]);\n * // => false\n *\n * _.isPlainObject({ 'x': 0, 'y': 0 });\n * // => true\n *\n * _.isPlainObject(Object.create(null));\n * // => true\n */\nfunction isPlainObject(value) {\n if (!isObjectLike(value) || baseGetTag(value) != objectTag) {\n return false;\n }\n var proto = getPrototype(value);\n if (proto === null) {\n return true;\n }\n var Ctor = hasOwnProperty.call(proto, 'constructor') && proto.constructor;\n return typeof Ctor == 'function' && Ctor instanceof Ctor &&\n funcToString.call(Ctor) == objectCtorString;\n}\n\nmodule.exports = isPlainObject;\n" + }, + { + "id": "./node_modules/lodash/isSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSet.js", + "name": "./node_modules/lodash/isSet.js", + "index": 295, + "index2": 286, + "size": 613, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "issuerId": "./node_modules/lodash/_baseClone.js", + "issuerName": "./node_modules/lodash/_baseClone.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + } + ], + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./isSet", + "loc": "20:12-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseIsSet = require('./_baseIsSet'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsSet = nodeUtil && nodeUtil.isSet;\n\n/**\n * Checks if `value` is classified as a `Set` object.\n *\n * @static\n * @memberOf _\n * @since 4.3.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a set, else `false`.\n * @example\n *\n * _.isSet(new Set);\n * // => true\n *\n * _.isSet(new WeakSet);\n * // => false\n */\nvar isSet = nodeIsSet ? baseUnary(nodeIsSet) : baseIsSet;\n\nmodule.exports = isSet;\n" + }, + { + "id": "./node_modules/lodash/isString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isString.js", + "name": "./node_modules/lodash/isString.js", + "index": 356, + "index2": 347, + "size": 723, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "issuerId": "./node_modules/lodash/size.js", + "issuerName": "./node_modules/lodash/size.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 11, + "building": 1, + "dependencies": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/size.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "module": "./node_modules/lodash/size.js", + "moduleName": "./node_modules/lodash/size.js", + "type": "cjs require", + "userRequest": "./isString", + "loc": "4:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseGetTag = require('./_baseGetTag'),\n isArray = require('./isArray'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar stringTag = '[object String]';\n\n/**\n * Checks if `value` is classified as a `String` primitive or object.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a string, else `false`.\n * @example\n *\n * _.isString('abc');\n * // => true\n *\n * _.isString(1);\n * // => false\n */\nfunction isString(value) {\n return typeof value == 'string' ||\n (!isArray(value) && isObjectLike(value) && baseGetTag(value) == stringTag);\n}\n\nmodule.exports = isString;\n" + }, + { + "id": "./node_modules/lodash/isSymbol.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isSymbol.js", + "name": "./node_modules/lodash/isSymbol.js", + "index": 332, + "index2": 317, + "size": 682, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "issuerId": "./node_modules/lodash/_baseExtremum.js", + "issuerName": "./node_modules/lodash/_baseExtremum.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseExtremum.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "name": "./node_modules/lodash/_baseExtremum.js", + "profile": { + "factory": 8, + "building": 156 + } + } + ], + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseExtremum.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseExtremum.js", + "module": "./node_modules/lodash/_baseExtremum.js", + "moduleName": "./node_modules/lodash/_baseExtremum.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_baseToString.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseToString.js", + "module": "./node_modules/lodash/_baseToString.js", + "moduleName": "./node_modules/lodash/_baseToString.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/_compareAscending.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_compareAscending.js", + "module": "./node_modules/lodash/_compareAscending.js", + "moduleName": "./node_modules/lodash/_compareAscending.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/_isKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_isKey.js", + "module": "./node_modules/lodash/_isKey.js", + "moduleName": "./node_modules/lodash/_isKey.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "2:15-36" + }, + { + "moduleId": "./node_modules/lodash/_toKey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_toKey.js", + "module": "./node_modules/lodash/_toKey.js", + "moduleName": "./node_modules/lodash/_toKey.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "1:15-36" + }, + { + "moduleId": "./node_modules/lodash/toNumber.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "module": "./node_modules/lodash/toNumber.js", + "moduleName": "./node_modules/lodash/toNumber.js", + "type": "cjs require", + "userRequest": "./isSymbol", + "loc": "3:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseGetTag = require('./_baseGetTag'),\n isObjectLike = require('./isObjectLike');\n\n/** `Object#toString` result references. */\nvar symbolTag = '[object Symbol]';\n\n/**\n * Checks if `value` is classified as a `Symbol` primitive or object.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a symbol, else `false`.\n * @example\n *\n * _.isSymbol(Symbol.iterator);\n * // => true\n *\n * _.isSymbol('abc');\n * // => false\n */\nfunction isSymbol(value) {\n return typeof value == 'symbol' ||\n (isObjectLike(value) && baseGetTag(value) == symbolTag);\n}\n\nmodule.exports = isSymbol;\n" + }, + { + "id": "./node_modules/lodash/isTypedArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isTypedArray.js", + "name": "./node_modules/lodash/isTypedArray.js", + "index": 251, + "index2": 242, + "size": 695, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "issuerId": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerName": "./node_modules/lodash/_arrayLikeKeys.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_arrayLikeKeys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "name": "./node_modules/lodash/_arrayLikeKeys.js", + "profile": { + "factory": 267, + "building": 7, + "dependencies": 10 + } + } + ], + "profile": { + "factory": 12, + "building": 7, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_arrayLikeKeys.js", + "module": "./node_modules/lodash/_arrayLikeKeys.js", + "moduleName": "./node_modules/lodash/_arrayLikeKeys.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "6:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIsEqualDeep.js", + "module": "./node_modules/lodash/_baseIsEqualDeep.js", + "moduleName": "./node_modules/lodash/_baseIsEqualDeep.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "8:19-44" + }, + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "13:19-44" + }, + { + "moduleId": "./node_modules/lodash/isEmpty.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isEmpty.js", + "module": "./node_modules/lodash/isEmpty.js", + "moduleName": "./node_modules/lodash/isEmpty.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "8:19-44" + }, + { + "moduleId": "./node_modules/lodash/transform.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "module": "./node_modules/lodash/transform.js", + "moduleName": "./node_modules/lodash/transform.js", + "type": "cjs require", + "userRequest": "./isTypedArray", + "loc": "10:19-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseIsTypedArray = require('./_baseIsTypedArray'),\n baseUnary = require('./_baseUnary'),\n nodeUtil = require('./_nodeUtil');\n\n/* Node.js helper references. */\nvar nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;\n\n/**\n * Checks if `value` is classified as a typed array.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is a typed array, else `false`.\n * @example\n *\n * _.isTypedArray(new Uint8Array);\n * // => true\n *\n * _.isTypedArray([]);\n * // => false\n */\nvar isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;\n\nmodule.exports = isTypedArray;\n" + }, + { + "id": "./node_modules/lodash/isUndefined.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isUndefined.js", + "name": "./node_modules/lodash/isUndefined.js", + "index": 349, + "index2": 341, + "size": 416, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isUndefined", + "loc": "18:19-48" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/isUndefined", + "loc": "16:19-48" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Checks if `value` is `undefined`.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Lang\n * @param {*} value The value to check.\n * @returns {boolean} Returns `true` if `value` is `undefined`, else `false`.\n * @example\n *\n * _.isUndefined(void 0);\n * // => true\n *\n * _.isUndefined(null);\n * // => false\n */\nfunction isUndefined(value) {\n return value === undefined;\n}\n\nmodule.exports = isUndefined;\n" + }, + { + "id": "./node_modules/lodash/keys.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keys.js", + "name": "./node_modules/lodash/keys.js", + "index": 240, + "index2": 249, + "size": 884, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "issuerId": "./node_modules/lodash/values.js", + "issuerName": "./node_modules/lodash/values.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 159, + "dependencies": 261 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/keys", + "loc": "17:12-34" + }, + { + "moduleId": "./node_modules/lodash/_baseAssign.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssign.js", + "module": "./node_modules/lodash/_baseAssign.js", + "moduleName": "./node_modules/lodash/_baseAssign.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "21:11-28" + }, + { + "moduleId": "./node_modules/lodash/_baseForOwn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseForOwn.js", + "module": "./node_modules/lodash/_baseForOwn.js", + "moduleName": "./node_modules/lodash/_baseForOwn.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/_createFind.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createFind.js", + "module": "./node_modules/lodash/_createFind.js", + "moduleName": "./node_modules/lodash/_createFind.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "3:11-28" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeys.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeys.js", + "module": "./node_modules/lodash/_getAllKeys.js", + "moduleName": "./node_modules/lodash/_getAllKeys.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "3:11-28" + }, + { + "moduleId": "./node_modules/lodash/_getMatchData.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getMatchData.js", + "module": "./node_modules/lodash/_getMatchData.js", + "moduleName": "./node_modules/lodash/_getMatchData.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + }, + { + "moduleId": "./node_modules/lodash/values.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "module": "./node_modules/lodash/values.js", + "moduleName": "./node_modules/lodash/values.js", + "type": "cjs require", + "userRequest": "./keys", + "loc": "2:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeys = require('./_baseKeys'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects. See the\n * [ES spec](http://ecma-international.org/ecma-262/7.0/#sec-object.keys)\n * for more details.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keys(new Foo);\n * // => ['a', 'b'] (iteration order is not guaranteed)\n *\n * _.keys('hi');\n * // => ['0', '1']\n */\nfunction keys(object) {\n return isArrayLike(object) ? arrayLikeKeys(object) : baseKeys(object);\n}\n\nmodule.exports = keys;\n" + }, + { + "id": "./node_modules/lodash/keysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/keysIn.js", + "name": "./node_modules/lodash/keysIn.js", + "index": 262, + "index2": 253, + "size": 778, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "issuerId": "./node_modules/lodash/defaults.js", + "issuerName": "./node_modules/lodash/defaults.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/defaults.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "name": "./node_modules/lodash/defaults.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseAssignIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseAssignIn.js", + "module": "./node_modules/lodash/_baseAssignIn.js", + "moduleName": "./node_modules/lodash/_baseAssignIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "2:13-32" + }, + { + "moduleId": "./node_modules/lodash/_baseClone.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "module": "./node_modules/lodash/_baseClone.js", + "moduleName": "./node_modules/lodash/_baseClone.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "22:13-32" + }, + { + "moduleId": "./node_modules/lodash/_baseMerge.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "module": "./node_modules/lodash/_baseMerge.js", + "moduleName": "./node_modules/lodash/_baseMerge.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "6:13-32" + }, + { + "moduleId": "./node_modules/lodash/_getAllKeysIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "module": "./node_modules/lodash/_getAllKeysIn.js", + "moduleName": "./node_modules/lodash/_getAllKeysIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "3:13-32" + }, + { + "moduleId": "./node_modules/lodash/defaults.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/defaults.js", + "module": "./node_modules/lodash/defaults.js", + "moduleName": "./node_modules/lodash/defaults.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "4:13-32" + }, + { + "moduleId": "./node_modules/lodash/forIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/forIn.js", + "module": "./node_modules/lodash/forIn.js", + "moduleName": "./node_modules/lodash/forIn.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "3:13-32" + }, + { + "moduleId": "./node_modules/lodash/toPlainObject.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "module": "./node_modules/lodash/toPlainObject.js", + "moduleName": "./node_modules/lodash/toPlainObject.js", + "type": "cjs require", + "userRequest": "./keysIn", + "loc": "2:13-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var arrayLikeKeys = require('./_arrayLikeKeys'),\n baseKeysIn = require('./_baseKeysIn'),\n isArrayLike = require('./isArrayLike');\n\n/**\n * Creates an array of the own and inherited enumerable property names of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property names.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.keysIn(new Foo);\n * // => ['a', 'b', 'c'] (iteration order is not guaranteed)\n */\nfunction keysIn(object) {\n return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);\n}\n\nmodule.exports = keysIn;\n" + }, + { + "id": "./node_modules/lodash/last.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/last.js", + "name": "./node_modules/lodash/last.js", + "index": 414, + "index2": 409, + "size": 401, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/last", + "loc": "19:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "/**\n * Gets the last element of `array`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {Array} array The array to query.\n * @returns {*} Returns the last element of `array`.\n * @example\n *\n * _.last([1, 2, 3]);\n * // => 3\n */\nfunction last(array) {\n var length = array == null ? 0 : array.length;\n return length ? array[length - 1] : undefined;\n}\n\nmodule.exports = last;\n" + }, + { + "id": "./node_modules/lodash/map.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/map.js", + "name": "./node_modules/lodash/map.js", + "index": 350, + "index2": 343, + "size": 1621, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/map", + "loc": "20:11-32" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/map", + "loc": "18:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayMap = require('./_arrayMap'),\n baseIteratee = require('./_baseIteratee'),\n baseMap = require('./_baseMap'),\n isArray = require('./isArray');\n\n/**\n * Creates an array of values by running each element in `collection` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.every`, `_.filter`, `_.map`, `_.mapValues`, `_.reject`, and `_.some`.\n *\n * The guarded methods are:\n * `ary`, `chunk`, `curry`, `curryRight`, `drop`, `dropRight`, `every`,\n * `fill`, `invert`, `parseInt`, `random`, `range`, `rangeRight`, `repeat`,\n * `sampleSize`, `slice`, `some`, `sortBy`, `split`, `take`, `takeRight`,\n * `template`, `trim`, `trimEnd`, `trimStart`, and `words`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Array} Returns the new mapped array.\n * @example\n *\n * function square(n) {\n * return n * n;\n * }\n *\n * _.map([4, 8], square);\n * // => [16, 64]\n *\n * _.map({ 'a': 4, 'b': 8 }, square);\n * // => [16, 64] (iteration order is not guaranteed)\n *\n * var users = [\n * { 'user': 'barney' },\n * { 'user': 'fred' }\n * ];\n *\n * // The `_.property` iteratee shorthand.\n * _.map(users, 'user');\n * // => ['barney', 'fred']\n */\nfunction map(collection, iteratee) {\n var func = isArray(collection) ? arrayMap : baseMap;\n return func(collection, baseIteratee(iteratee, 3));\n}\n\nmodule.exports = map;\n" + }, + { + "id": "./node_modules/lodash/mapValues.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/mapValues.js", + "name": "./node_modules/lodash/mapValues.js", + "index": 415, + "index2": 410, + "size": 1338, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/mapValues", + "loc": "21:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseAssignValue = require('./_baseAssignValue'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee');\n\n/**\n * Creates an object with the same keys as `object` and values generated\n * by running each own enumerable string keyed property of `object` thru\n * `iteratee`. The iteratee is invoked with three arguments:\n * (value, key, object).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @returns {Object} Returns the new mapped object.\n * @see _.mapKeys\n * @example\n *\n * var users = {\n * 'fred': { 'user': 'fred', 'age': 40 },\n * 'pebbles': { 'user': 'pebbles', 'age': 1 }\n * };\n *\n * _.mapValues(users, function(o) { return o.age; });\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n *\n * // The `_.property` iteratee shorthand.\n * _.mapValues(users, 'age');\n * // => { 'fred': 40, 'pebbles': 1 } (iteration order is not guaranteed)\n */\nfunction mapValues(object, iteratee) {\n var result = {};\n iteratee = baseIteratee(iteratee, 3);\n\n baseForOwn(object, function(value, key, object) {\n baseAssignValue(result, key, iteratee(value, key, object));\n });\n return result;\n}\n\nmodule.exports = mapValues;\n" + }, + { + "id": "./node_modules/lodash/max.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/max.js", + "name": "./node_modules/lodash/max.js", + "index": 416, + "index2": 413, + "size": 614, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/max", + "loc": "22:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseGt = require('./_baseGt'),\n identity = require('./identity');\n\n/**\n * Computes the maximum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the maximum value.\n * @example\n *\n * _.max([4, 2, 8, 6]);\n * // => 8\n *\n * _.max([]);\n * // => undefined\n */\nfunction max(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseGt)\n : undefined;\n}\n\nmodule.exports = max;\n" + }, + { + "id": "./node_modules/lodash/memoize.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/memoize.js", + "name": "./node_modules/lodash/memoize.js", + "index": 335, + "index2": 319, + "size": 2224, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "issuerId": "./node_modules/lodash/_memoizeCapped.js", + "issuerName": "./node_modules/lodash/_memoizeCapped.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/has.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/has.js", + "name": "./node_modules/lodash/has.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_hasPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_hasPath.js", + "name": "./node_modules/lodash/_hasPath.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + }, + { + "id": "./node_modules/lodash/_castPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "name": "./node_modules/lodash/_castPath.js", + "profile": { + "factory": 265, + "building": 12, + "dependencies": 7 + } + }, + { + "id": "./node_modules/lodash/_stringToPath.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_stringToPath.js", + "name": "./node_modules/lodash/_stringToPath.js", + "profile": { + "factory": 8, + "building": 9 + } + }, + { + "id": "./node_modules/lodash/_memoizeCapped.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "name": "./node_modules/lodash/_memoizeCapped.js", + "profile": { + "factory": 4, + "building": 3 + } + } + ], + "profile": { + "factory": 1, + "building": 2, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_memoizeCapped.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_memoizeCapped.js", + "module": "./node_modules/lodash/_memoizeCapped.js", + "moduleName": "./node_modules/lodash/_memoizeCapped.js", + "type": "cjs require", + "userRequest": "./memoize", + "loc": "1:14-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "var MapCache = require('./_MapCache');\n\n/** Error message constants. */\nvar FUNC_ERROR_TEXT = 'Expected a function';\n\n/**\n * Creates a function that memoizes the result of `func`. If `resolver` is\n * provided, it determines the cache key for storing the result based on the\n * arguments provided to the memoized function. By default, the first argument\n * provided to the memoized function is used as the map cache key. The `func`\n * is invoked with the `this` binding of the memoized function.\n *\n * **Note:** The cache is exposed as the `cache` property on the memoized\n * function. Its creation may be customized by replacing the `_.memoize.Cache`\n * constructor with one whose instances implement the\n * [`Map`](http://ecma-international.org/ecma-262/7.0/#sec-properties-of-the-map-prototype-object)\n * method interface of `clear`, `delete`, `get`, `has`, and `set`.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Function\n * @param {Function} func The function to have its output memoized.\n * @param {Function} [resolver] The function to resolve the cache key.\n * @returns {Function} Returns the new memoized function.\n * @example\n *\n * var object = { 'a': 1, 'b': 2 };\n * var other = { 'c': 3, 'd': 4 };\n *\n * var values = _.memoize(_.values);\n * values(object);\n * // => [1, 2]\n *\n * values(other);\n * // => [3, 4]\n *\n * object.a = 2;\n * values(object);\n * // => [1, 2]\n *\n * // Modify the result cache.\n * values.cache.set(object, ['a', 'b']);\n * values(object);\n * // => ['a', 'b']\n *\n * // Replace `_.memoize.Cache`.\n * _.memoize.Cache = WeakMap;\n */\nfunction memoize(func, resolver) {\n if (typeof func != 'function' || (resolver != null && typeof resolver != 'function')) {\n throw new TypeError(FUNC_ERROR_TEXT);\n }\n var memoized = function() {\n var args = arguments,\n key = resolver ? resolver.apply(this, args) : args[0],\n cache = memoized.cache;\n\n if (cache.has(key)) {\n return cache.get(key);\n }\n var result = func.apply(this, args);\n memoized.cache = cache.set(key, result) || cache;\n return result;\n };\n memoized.cache = new (memoize.Cache || MapCache);\n return memoized;\n}\n\n// Expose `MapCache`.\nmemoize.Cache = MapCache;\n\nmodule.exports = memoize;\n" + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "index": 419, + "index2": 421, + "size": 1220, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/merge", + "loc": "23:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseMerge = require('./_baseMerge'),\n createAssigner = require('./_createAssigner');\n\n/**\n * This method is like `_.assign` except that it recursively merges own and\n * inherited enumerable string keyed properties of source objects into the\n * destination object. Source properties that resolve to `undefined` are\n * skipped if a destination value exists. Array and plain object properties\n * are merged recursively. Other objects and value types are overridden by\n * assignment. Source objects are applied from left to right. Subsequent\n * sources overwrite property assignments of previous sources.\n *\n * **Note:** This method mutates `object`.\n *\n * @static\n * @memberOf _\n * @since 0.5.0\n * @category Object\n * @param {Object} object The destination object.\n * @param {...Object} [sources] The source objects.\n * @returns {Object} Returns `object`.\n * @example\n *\n * var object = {\n * 'a': [{ 'b': 2 }, { 'd': 4 }]\n * };\n *\n * var other = {\n * 'a': [{ 'c': 3 }, { 'e': 5 }]\n * };\n *\n * _.merge(object, other);\n * // => { 'a': [{ 'b': 2, 'c': 3 }, { 'd': 4, 'e': 5 }] }\n */\nvar merge = createAssigner(function(object, source, srcIndex) {\n baseMerge(object, source, srcIndex);\n});\n\nmodule.exports = merge;\n" + }, + { + "id": "./node_modules/lodash/min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/min.js", + "name": "./node_modules/lodash/min.js", + "index": 427, + "index2": 423, + "size": 614, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/min", + "loc": "24:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseLt = require('./_baseLt'),\n identity = require('./identity');\n\n/**\n * Computes the minimum value of `array`. If `array` is empty or falsey,\n * `undefined` is returned.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Math\n * @param {Array} array The array to iterate over.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * _.min([4, 2, 8, 6]);\n * // => 2\n *\n * _.min([]);\n * // => undefined\n */\nfunction min(array) {\n return (array && array.length)\n ? baseExtremum(array, identity, baseLt)\n : undefined;\n}\n\nmodule.exports = min;\n" + }, + { + "id": "./node_modules/lodash/minBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/minBy.js", + "name": "./node_modules/lodash/minBy.js", + "index": 429, + "index2": 424, + "size": 991, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/minBy", + "loc": "25:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseExtremum = require('./_baseExtremum'),\n baseIteratee = require('./_baseIteratee'),\n baseLt = require('./_baseLt');\n\n/**\n * This method is like `_.min` except that it accepts `iteratee` which is\n * invoked for each element in `array` to generate the criterion by which\n * the value is ranked. The iteratee is invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Math\n * @param {Array} array The array to iterate over.\n * @param {Function} [iteratee=_.identity] The iteratee invoked per element.\n * @returns {*} Returns the minimum value.\n * @example\n *\n * var objects = [{ 'n': 1 }, { 'n': 2 }];\n *\n * _.minBy(objects, function(o) { return o.n; });\n * // => { 'n': 1 }\n *\n * // The `_.property` iteratee shorthand.\n * _.minBy(objects, 'n');\n * // => { 'n': 1 }\n */\nfunction minBy(array, iteratee) {\n return (array && array.length)\n ? baseExtremum(array, baseIteratee(iteratee, 2), baseLt)\n : undefined;\n}\n\nmodule.exports = minBy;\n" + }, + { + "id": "./node_modules/lodash/noop.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/noop.js", + "name": "./node_modules/lodash/noop.js", + "index": 379, + "index2": 368, + "size": 250, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "issuerId": "./node_modules/lodash/_createSet.js", + "issuerName": "./node_modules/lodash/_createSet.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/_baseUniq.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseUniq.js", + "name": "./node_modules/lodash/_baseUniq.js", + "profile": { + "factory": 10, + "building": 1 + } + }, + { + "id": "./node_modules/lodash/_createSet.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "name": "./node_modules/lodash/_createSet.js", + "profile": { + "factory": 4, + "building": 1, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 2, + "building": 1 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createSet.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createSet.js", + "module": "./node_modules/lodash/_createSet.js", + "moduleName": "./node_modules/lodash/_createSet.js", + "type": "cjs require", + "userRequest": "./noop", + "loc": "2:11-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 10, + "source": "/**\n * This method returns `undefined`.\n *\n * @static\n * @memberOf _\n * @since 2.3.0\n * @category Util\n * @example\n *\n * _.times(2, _.noop);\n * // => [undefined, undefined]\n */\nfunction noop() {\n // No operation performed.\n}\n\nmodule.exports = noop;\n" + }, + { + "id": "./node_modules/lodash/now.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/now.js", + "name": "./node_modules/lodash/now.js", + "index": 430, + "index2": 425, + "size": 520, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/now", + "loc": "26:11-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var root = require('./_root');\n\n/**\n * Gets the timestamp of the number of milliseconds that have elapsed since\n * the Unix epoch (1 January 1970 00:00:00 UTC).\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Date\n * @returns {number} Returns the timestamp.\n * @example\n *\n * _.defer(function(stamp) {\n * console.log(_.now() - stamp);\n * }, _.now());\n * // => Logs the number of milliseconds it took for the deferred invocation.\n */\nvar now = function() {\n return root.Date.now();\n};\n\nmodule.exports = now;\n" + }, + { + "id": "./node_modules/lodash/pick.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/pick.js", + "name": "./node_modules/lodash/pick.js", + "index": 431, + "index2": 430, + "size": 629, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/pick", + "loc": "27:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var basePick = require('./_basePick'),\n flatRest = require('./_flatRest');\n\n/**\n * Creates an object composed of the picked `object` properties.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The source object.\n * @param {...(string|string[])} [paths] The property paths to pick.\n * @returns {Object} Returns the new object.\n * @example\n *\n * var object = { 'a': 1, 'b': '2', 'c': 3 };\n *\n * _.pick(object, ['a', 'c']);\n * // => { 'a': 1, 'c': 3 }\n */\nvar pick = flatRest(function(object, paths) {\n return object == null ? {} : basePick(object, paths);\n});\n\nmodule.exports = pick;\n" + }, + { + "id": "./node_modules/lodash/property.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/property.js", + "name": "./node_modules/lodash/property.js", + "index": 343, + "index2": 335, + "size": 793, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "issuerId": "./node_modules/lodash/_baseIteratee.js", + "issuerName": "./node_modules/lodash/_baseIteratee.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/filter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/filter.js", + "name": "./node_modules/lodash/filter.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseIteratee.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "name": "./node_modules/lodash/_baseIteratee.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 266, + "building": 11, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseIteratee.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseIteratee.js", + "module": "./node_modules/lodash/_baseIteratee.js", + "moduleName": "./node_modules/lodash/_baseIteratee.js", + "type": "cjs require", + "userRequest": "./property", + "loc": "5:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseProperty = require('./_baseProperty'),\n basePropertyDeep = require('./_basePropertyDeep'),\n isKey = require('./_isKey'),\n toKey = require('./_toKey');\n\n/**\n * Creates a function that returns the value at `path` of a given object.\n *\n * @static\n * @memberOf _\n * @since 2.4.0\n * @category Util\n * @param {Array|string} path The path of the property to get.\n * @returns {Function} Returns the new accessor function.\n * @example\n *\n * var objects = [\n * { 'a': { 'b': 2 } },\n * { 'a': { 'b': 1 } }\n * ];\n *\n * _.map(objects, _.property('a.b'));\n * // => [2, 1]\n *\n * _.map(_.sortBy(objects, _.property(['a', 'b'])), 'a.b');\n * // => [1, 2]\n */\nfunction property(path) {\n return isKey(path) ? baseProperty(toKey(path)) : basePropertyDeep(path);\n}\n\nmodule.exports = property;\n" + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "index": 436, + "index2": 433, + "size": 1151, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/range", + "loc": "28:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var createRange = require('./_createRange');\n\n/**\n * Creates an array of numbers (positive and/or negative) progressing from\n * `start` up to, but not including, `end`. A step of `-1` is used if a negative\n * `start` is specified without an `end` or `step`. If `end` is not specified,\n * it's set to `start` with `start` then set to `0`.\n *\n * **Note:** JavaScript follows the IEEE-754 standard for resolving\n * floating-point values which can produce unexpected results.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {number} [start=0] The start of the range.\n * @param {number} end The end of the range.\n * @param {number} [step=1] The value to increment or decrement by.\n * @returns {Array} Returns the range of numbers.\n * @see _.inRange, _.rangeRight\n * @example\n *\n * _.range(4);\n * // => [0, 1, 2, 3]\n *\n * _.range(-4);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 5);\n * // => [1, 2, 3, 4]\n *\n * _.range(0, 20, 5);\n * // => [0, 5, 10, 15]\n *\n * _.range(0, -4, -1);\n * // => [0, -1, -2, -3]\n *\n * _.range(1, 4, 0);\n * // => [1, 1, 1]\n *\n * _.range(0);\n * // => []\n */\nvar range = createRange();\n\nmodule.exports = range;\n" + }, + { + "id": "./node_modules/lodash/reduce.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/reduce.js", + "name": "./node_modules/lodash/reduce.js", + "index": 352, + "index2": 346, + "size": 1806, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/reduce", + "loc": "29:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/reduce", + "loc": "19:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var arrayReduce = require('./_arrayReduce'),\n baseEach = require('./_baseEach'),\n baseIteratee = require('./_baseIteratee'),\n baseReduce = require('./_baseReduce'),\n isArray = require('./isArray');\n\n/**\n * Reduces `collection` to a value which is the accumulated result of running\n * each element in `collection` thru `iteratee`, where each successive\n * invocation is supplied the return value of the previous. If `accumulator`\n * is not given, the first element of `collection` is used as the initial\n * value. The iteratee is invoked with four arguments:\n * (accumulator, value, index|key, collection).\n *\n * Many lodash methods are guarded to work as iteratees for methods like\n * `_.reduce`, `_.reduceRight`, and `_.transform`.\n *\n * The guarded methods are:\n * `assign`, `defaults`, `defaultsDeep`, `includes`, `merge`, `orderBy`,\n * and `sortBy`\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The initial value.\n * @returns {*} Returns the accumulated value.\n * @see _.reduceRight\n * @example\n *\n * _.reduce([1, 2], function(sum, n) {\n * return sum + n;\n * }, 0);\n * // => 3\n *\n * _.reduce({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * return result;\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] } (iteration order is not guaranteed)\n */\nfunction reduce(collection, iteratee, accumulator) {\n var func = isArray(collection) ? arrayReduce : baseReduce,\n initAccum = arguments.length < 3;\n\n return func(collection, baseIteratee(iteratee, 4), accumulator, initAccum, baseEach);\n}\n\nmodule.exports = reduce;\n" + }, + { + "id": "./node_modules/lodash/size.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/size.js", + "name": "./node_modules/lodash/size.js", + "index": 355, + "index2": 352, + "size": 1137, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/size", + "loc": "20:12-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseKeys = require('./_baseKeys'),\n getTag = require('./_getTag'),\n isArrayLike = require('./isArrayLike'),\n isString = require('./isString'),\n stringSize = require('./_stringSize');\n\n/** `Object#toString` result references. */\nvar mapTag = '[object Map]',\n setTag = '[object Set]';\n\n/**\n * Gets the size of `collection` by returning its length for array-like\n * values or the number of own enumerable string keyed properties for objects.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object|string} collection The collection to inspect.\n * @returns {number} Returns the collection size.\n * @example\n *\n * _.size([1, 2, 3]);\n * // => 3\n *\n * _.size({ 'a': 1, 'b': 2 });\n * // => 2\n *\n * _.size('pebbles');\n * // => 7\n */\nfunction size(collection) {\n if (collection == null) {\n return 0;\n }\n if (isArrayLike(collection)) {\n return isString(collection) ? stringSize(collection) : collection.length;\n }\n var tag = getTag(collection);\n if (tag == mapTag || tag == setTag) {\n return collection.size;\n }\n return baseKeys(collection).length;\n}\n\nmodule.exports = size;\n" + }, + { + "id": "./node_modules/lodash/sortBy.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/sortBy.js", + "name": "./node_modules/lodash/sortBy.js", + "index": 439, + "index2": 438, + "size": 1668, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/sortBy", + "loc": "30:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseFlatten = require('./_baseFlatten'),\n baseOrderBy = require('./_baseOrderBy'),\n baseRest = require('./_baseRest'),\n isIterateeCall = require('./_isIterateeCall');\n\n/**\n * Creates an array of elements, sorted in ascending order by the results of\n * running each element in a collection thru each iteratee. This method\n * performs a stable sort, that is, it preserves the original sort order of\n * equal elements. The iteratees are invoked with one argument: (value).\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Collection\n * @param {Array|Object} collection The collection to iterate over.\n * @param {...(Function|Function[])} [iteratees=[_.identity]]\n * The iteratees to sort by.\n * @returns {Array} Returns the new sorted array.\n * @example\n *\n * var users = [\n * { 'user': 'fred', 'age': 48 },\n * { 'user': 'barney', 'age': 36 },\n * { 'user': 'fred', 'age': 30 },\n * { 'user': 'barney', 'age': 34 }\n * ];\n *\n * _.sortBy(users, [function(o) { return o.user; }]);\n * // => objects for [['barney', 36], ['barney', 34], ['fred', 48], ['fred', 30]]\n *\n * _.sortBy(users, ['user', 'age']);\n * // => objects for [['barney', 34], ['barney', 36], ['fred', 30], ['fred', 48]]\n */\nvar sortBy = baseRest(function(collection, iteratees) {\n if (collection == null) {\n return [];\n }\n var length = iteratees.length;\n if (length > 1 && isIterateeCall(collection, iteratees[0], iteratees[1])) {\n iteratees = [];\n } else if (length > 2 && isIterateeCall(iteratees[0], iteratees[1], iteratees[2])) {\n iteratees = [iteratees[0]];\n }\n return baseOrderBy(collection, baseFlatten(iteratees, 1), []);\n});\n\nmodule.exports = sortBy;\n" + }, + { + "id": "./node_modules/lodash/stubArray.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/stubArray.js", + "name": "./node_modules/lodash/stubArray.js", + "index": 270, + "index2": 258, + "size": 390, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "issuerId": "./node_modules/lodash/_getSymbolsIn.js", + "issuerName": "./node_modules/lodash/_getSymbolsIn.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_getAllKeysIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getAllKeysIn.js", + "name": "./node_modules/lodash/_getAllKeysIn.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + }, + { + "id": "./node_modules/lodash/_getSymbolsIn.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "name": "./node_modules/lodash/_getSymbolsIn.js", + "profile": { + "factory": 12, + "building": 7, + "dependencies": 1 + } + } + ], + "profile": { + "factory": 8, + "building": 2 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_getSymbols.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbols.js", + "module": "./node_modules/lodash/_getSymbols.js", + "moduleName": "./node_modules/lodash/_getSymbols.js", + "type": "cjs require", + "userRequest": "./stubArray", + "loc": "2:16-38" + }, + { + "moduleId": "./node_modules/lodash/_getSymbolsIn.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_getSymbolsIn.js", + "module": "./node_modules/lodash/_getSymbolsIn.js", + "moduleName": "./node_modules/lodash/_getSymbolsIn.js", + "type": "cjs require", + "userRequest": "./stubArray", + "loc": "4:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 9, + "source": "/**\n * This method returns a new empty array.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {Array} Returns the new empty array.\n * @example\n *\n * var arrays = _.times(2, _.stubArray);\n *\n * console.log(arrays);\n * // => [[], []]\n *\n * console.log(arrays[0] === arrays[1]);\n * // => false\n */\nfunction stubArray() {\n return [];\n}\n\nmodule.exports = stubArray;\n" + }, + { + "id": "./node_modules/lodash/stubFalse.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/stubFalse.js", + "name": "./node_modules/lodash/stubFalse.js", + "index": 249, + "index2": 235, + "size": 280, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "issuerId": "./node_modules/lodash/isBuffer.js", + "issuerName": "./node_modules/lodash/isBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/isBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "name": "./node_modules/lodash/isBuffer.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "./stubFalse", + "loc": "2:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "/**\n * This method returns `false`.\n *\n * @static\n * @memberOf _\n * @since 4.13.0\n * @category Util\n * @returns {boolean} Returns `false`.\n * @example\n *\n * _.times(2, _.stubFalse);\n * // => [false, false]\n */\nfunction stubFalse() {\n return false;\n}\n\nmodule.exports = stubFalse;\n" + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "index": 408, + "index2": 403, + "size": 868, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "issuerId": "./node_modules/lodash/_createRange.js", + "issuerName": "./node_modules/lodash/_createRange.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + } + ], + "profile": { + "factory": 265, + "building": 14 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_createRange.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "module": "./node_modules/lodash/_createRange.js", + "moduleName": "./node_modules/lodash/_createRange.js", + "type": "cjs require", + "userRequest": "./toFinite", + "loc": "3:15-36" + }, + { + "moduleId": "./node_modules/lodash/toInteger.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toInteger.js", + "module": "./node_modules/lodash/toInteger.js", + "moduleName": "./node_modules/lodash/toInteger.js", + "type": "cjs require", + "userRequest": "./toFinite", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var toNumber = require('./toNumber');\n\n/** Used as references for various `Number` constants. */\nvar INFINITY = 1 / 0,\n MAX_INTEGER = 1.7976931348623157e+308;\n\n/**\n * Converts `value` to a finite number.\n *\n * @static\n * @memberOf _\n * @since 4.12.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted number.\n * @example\n *\n * _.toFinite(3.2);\n * // => 3.2\n *\n * _.toFinite(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toFinite(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toFinite('3.2');\n * // => 3.2\n */\nfunction toFinite(value) {\n if (!value) {\n return value === 0 ? value : 0;\n }\n value = toNumber(value);\n if (value === INFINITY || value === -INFINITY) {\n var sign = (value < 0 ? -1 : 1);\n return sign * MAX_INTEGER;\n }\n return value === value ? value : 0;\n}\n\nmodule.exports = toFinite;\n" + }, + { + "id": "./node_modules/lodash/toInteger.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toInteger.js", + "name": "./node_modules/lodash/toInteger.js", + "index": 407, + "index2": 404, + "size": 760, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "issuerId": "./node_modules/lodash/findIndex.js", + "issuerName": "./node_modules/lodash/findIndex.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/find.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/find.js", + "name": "./node_modules/lodash/find.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/findIndex.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "name": "./node_modules/lodash/findIndex.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 265 + } + } + ], + "profile": { + "factory": 266, + "building": 14, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/findIndex.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/findIndex.js", + "module": "./node_modules/lodash/findIndex.js", + "moduleName": "./node_modules/lodash/findIndex.js", + "type": "cjs require", + "userRequest": "./toInteger", + "loc": "3:16-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var toFinite = require('./toFinite');\n\n/**\n * Converts `value` to an integer.\n *\n * **Note:** This method is loosely based on\n * [`ToInteger`](http://www.ecma-international.org/ecma-262/7.0/#sec-tointeger).\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {number} Returns the converted integer.\n * @example\n *\n * _.toInteger(3.2);\n * // => 3\n *\n * _.toInteger(Number.MIN_VALUE);\n * // => 0\n *\n * _.toInteger(Infinity);\n * // => 1.7976931348623157e+308\n *\n * _.toInteger('3.2');\n * // => 3\n */\nfunction toInteger(value) {\n var result = toFinite(value),\n remainder = result % 1;\n\n return result === result ? (remainder ? result - remainder : result) : 0;\n}\n\nmodule.exports = toInteger;\n" + }, + { + "id": "./node_modules/lodash/toNumber.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toNumber.js", + "name": "./node_modules/lodash/toNumber.js", + "index": 409, + "index2": 402, + "size": 1519, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "issuerId": "./node_modules/lodash/toFinite.js", + "issuerName": "./node_modules/lodash/toFinite.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/range.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/range.js", + "name": "./node_modules/lodash/range.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_createRange.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_createRange.js", + "name": "./node_modules/lodash/_createRange.js", + "profile": { + "factory": 7, + "building": 156, + "dependencies": 0 + } + }, + { + "id": "./node_modules/lodash/toFinite.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "name": "./node_modules/lodash/toFinite.js", + "profile": { + "factory": 265, + "building": 14 + } + } + ], + "profile": { + "factory": 5, + "building": 12, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/toFinite.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/toFinite.js", + "module": "./node_modules/lodash/toFinite.js", + "moduleName": "./node_modules/lodash/toFinite.js", + "type": "cjs require", + "userRequest": "./toNumber", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var baseTrim = require('./_baseTrim'),\n isObject = require('./isObject'),\n isSymbol = require('./isSymbol');\n\n/** Used as references for various `Number` constants. */\nvar NAN = 0 / 0;\n\n/** Used to detect bad signed hexadecimal string values. */\nvar reIsBadHex = /^[-+]0x[0-9a-f]+$/i;\n\n/** Used to detect binary string values. */\nvar reIsBinary = /^0b[01]+$/i;\n\n/** Used to detect octal string values. */\nvar reIsOctal = /^0o[0-7]+$/i;\n\n/** Built-in method references without a dependency on `root`. */\nvar freeParseInt = parseInt;\n\n/**\n * Converts `value` to a number.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to process.\n * @returns {number} Returns the number.\n * @example\n *\n * _.toNumber(3.2);\n * // => 3.2\n *\n * _.toNumber(Number.MIN_VALUE);\n * // => 5e-324\n *\n * _.toNumber(Infinity);\n * // => Infinity\n *\n * _.toNumber('3.2');\n * // => 3.2\n */\nfunction toNumber(value) {\n if (typeof value == 'number') {\n return value;\n }\n if (isSymbol(value)) {\n return NAN;\n }\n if (isObject(value)) {\n var other = typeof value.valueOf == 'function' ? value.valueOf() : value;\n value = isObject(other) ? (other + '') : other;\n }\n if (typeof value != 'string') {\n return value === 0 ? value : +value;\n }\n value = baseTrim(value);\n var isBinary = reIsBinary.test(value);\n return (isBinary || reIsOctal.test(value))\n ? freeParseInt(value.slice(2), isBinary ? 2 : 8)\n : (reIsBadHex.test(value) ? NAN : +value);\n}\n\nmodule.exports = toNumber;\n" + }, + { + "id": "./node_modules/lodash/toPlainObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toPlainObject.js", + "name": "./node_modules/lodash/toPlainObject.js", + "index": 425, + "index2": 417, + "size": 744, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "issuerId": "./node_modules/lodash/_baseMergeDeep.js", + "issuerName": "./node_modules/lodash/_baseMergeDeep.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/merge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/merge.js", + "name": "./node_modules/lodash/merge.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseMerge.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMerge.js", + "name": "./node_modules/lodash/_baseMerge.js", + "profile": { + "factory": 8, + "building": 156, + "dependencies": 264 + } + }, + { + "id": "./node_modules/lodash/_baseMergeDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "name": "./node_modules/lodash/_baseMergeDeep.js", + "profile": { + "factory": 265, + "building": 11, + "dependencies": 7 + } + } + ], + "profile": { + "factory": 8, + "building": 11, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_baseMergeDeep.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseMergeDeep.js", + "module": "./node_modules/lodash/_baseMergeDeep.js", + "moduleName": "./node_modules/lodash/_baseMergeDeep.js", + "type": "cjs require", + "userRequest": "./toPlainObject", + "loc": "15:20-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "var copyObject = require('./_copyObject'),\n keysIn = require('./keysIn');\n\n/**\n * Converts `value` to a plain object flattening inherited enumerable string\n * keyed properties of `value` to own properties of the plain object.\n *\n * @static\n * @memberOf _\n * @since 3.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {Object} Returns the converted plain object.\n * @example\n *\n * function Foo() {\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.assign({ 'a': 1 }, new Foo);\n * // => { 'a': 1, 'b': 2 }\n *\n * _.assign({ 'a': 1 }, _.toPlainObject(new Foo));\n * // => { 'a': 1, 'b': 2, 'c': 3 }\n */\nfunction toPlainObject(value) {\n return copyObject(value, keysIn(value));\n}\n\nmodule.exports = toPlainObject;\n" + }, + { + "id": "./node_modules/lodash/toString.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/toString.js", + "name": "./node_modules/lodash/toString.js", + "index": 336, + "index2": 324, + "size": 580, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "issuerId": "./node_modules/lodash/uniqueId.js", + "issuerName": "./node_modules/lodash/uniqueId.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + } + ], + "profile": { + "factory": 7, + "building": 156 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_castPath.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_castPath.js", + "module": "./node_modules/lodash/_castPath.js", + "moduleName": "./node_modules/lodash/_castPath.js", + "type": "cjs require", + "userRequest": "./toString", + "loc": "4:15-36" + }, + { + "moduleId": "./node_modules/lodash/uniqueId.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "module": "./node_modules/lodash/uniqueId.js", + "moduleName": "./node_modules/lodash/uniqueId.js", + "type": "cjs require", + "userRequest": "./toString", + "loc": "1:15-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 6, + "source": "var baseToString = require('./_baseToString');\n\n/**\n * Converts `value` to a string. An empty string is returned for `null`\n * and `undefined` values. The sign of `-0` is preserved.\n *\n * @static\n * @memberOf _\n * @since 4.0.0\n * @category Lang\n * @param {*} value The value to convert.\n * @returns {string} Returns the converted string.\n * @example\n *\n * _.toString(null);\n * // => ''\n *\n * _.toString(-0);\n * // => '-0'\n *\n * _.toString([1, 2, 3]);\n * // => '1,2,3'\n */\nfunction toString(value) {\n return value == null ? '' : baseToString(value);\n}\n\nmodule.exports = toString;\n" + }, + { + "id": "./node_modules/lodash/transform.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/transform.js", + "name": "./node_modules/lodash/transform.js", + "index": 361, + "index2": 353, + "size": 2280, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/transform", + "loc": "21:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var arrayEach = require('./_arrayEach'),\n baseCreate = require('./_baseCreate'),\n baseForOwn = require('./_baseForOwn'),\n baseIteratee = require('./_baseIteratee'),\n getPrototype = require('./_getPrototype'),\n isArray = require('./isArray'),\n isBuffer = require('./isBuffer'),\n isFunction = require('./isFunction'),\n isObject = require('./isObject'),\n isTypedArray = require('./isTypedArray');\n\n/**\n * An alternative to `_.reduce`; this method transforms `object` to a new\n * `accumulator` object which is the result of running each of its own\n * enumerable string keyed properties thru `iteratee`, with each invocation\n * potentially mutating the `accumulator` object. If `accumulator` is not\n * provided, a new object with the same `[[Prototype]]` will be used. The\n * iteratee is invoked with four arguments: (accumulator, value, key, object).\n * Iteratee functions may exit iteration early by explicitly returning `false`.\n *\n * @static\n * @memberOf _\n * @since 1.3.0\n * @category Object\n * @param {Object} object The object to iterate over.\n * @param {Function} [iteratee=_.identity] The function invoked per iteration.\n * @param {*} [accumulator] The custom accumulator value.\n * @returns {*} Returns the accumulated value.\n * @example\n *\n * _.transform([2, 3, 4], function(result, n) {\n * result.push(n *= n);\n * return n % 2 == 0;\n * }, []);\n * // => [4, 9]\n *\n * _.transform({ 'a': 1, 'b': 2, 'c': 1 }, function(result, value, key) {\n * (result[value] || (result[value] = [])).push(key);\n * }, {});\n * // => { '1': ['a', 'c'], '2': ['b'] }\n */\nfunction transform(object, iteratee, accumulator) {\n var isArr = isArray(object),\n isArrLike = isArr || isBuffer(object) || isTypedArray(object);\n\n iteratee = baseIteratee(iteratee, 4);\n if (accumulator == null) {\n var Ctor = object && object.constructor;\n if (isArrLike) {\n accumulator = isArr ? new Ctor : [];\n }\n else if (isObject(object)) {\n accumulator = isFunction(Ctor) ? baseCreate(getPrototype(object)) : {};\n }\n else {\n accumulator = {};\n }\n }\n (isArrLike ? arrayEach : baseForOwn)(object, function(value, index, object) {\n return iteratee(accumulator, value, index, object);\n });\n return accumulator;\n}\n\nmodule.exports = transform;\n" + }, + { + "id": "./node_modules/lodash/union.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/union.js", + "name": "./node_modules/lodash/union.js", + "index": 362, + "index2": 372, + "size": 749, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "issuerId": "./node_modules/graphlib/lib/lodash.js", + "issuerName": "./node_modules/graphlib/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/graphlib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/graphlib.js", + "name": "./node_modules/dagre/lib/graphlib.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/graphlib/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/index.js", + "name": "./node_modules/graphlib/index.js", + "profile": { + "factory": 878, + "building": 4 + } + }, + { + "id": "./node_modules/graphlib/lib/json.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/json.js", + "name": "./node_modules/graphlib/lib/json.js", + "profile": { + "factory": 430, + "building": 6, + "dependencies": 0 + } + }, + { + "id": "./node_modules/graphlib/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "name": "./node_modules/graphlib/lib/lodash.js", + "profile": { + "factory": 268, + "building": 6, + "dependencies": 3 + } + } + ], + "profile": { + "factory": 14, + "building": 6, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/union", + "loc": "22:13-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 7, + "source": "var baseFlatten = require('./_baseFlatten'),\n baseRest = require('./_baseRest'),\n baseUniq = require('./_baseUniq'),\n isArrayLikeObject = require('./isArrayLikeObject');\n\n/**\n * Creates an array of unique values, in order, from all given arrays using\n * [`SameValueZero`](http://ecma-international.org/ecma-262/7.0/#sec-samevaluezero)\n * for equality comparisons.\n *\n * @static\n * @memberOf _\n * @since 0.1.0\n * @category Array\n * @param {...Array} [arrays] The arrays to inspect.\n * @returns {Array} Returns the new array of combined values.\n * @example\n *\n * _.union([2], [1, 2]);\n * // => [2, 1]\n */\nvar union = baseRest(function(arrays) {\n return baseUniq(baseFlatten(arrays, 1, isArrayLikeObject, true));\n});\n\nmodule.exports = union;\n" + }, + { + "id": "./node_modules/lodash/uniqueId.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/uniqueId.js", + "name": "./node_modules/lodash/uniqueId.js", + "index": 444, + "index2": 439, + "size": 562, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/uniqueId", + "loc": "31:16-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var toString = require('./toString');\n\n/** Used to generate unique IDs. */\nvar idCounter = 0;\n\n/**\n * Generates a unique ID. If `prefix` is given, the ID is appended to it.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Util\n * @param {string} [prefix=''] The value to prefix the ID with.\n * @returns {string} Returns the unique ID.\n * @example\n *\n * _.uniqueId('contact_');\n * // => 'contact_104'\n *\n * _.uniqueId();\n * // => '105'\n */\nfunction uniqueId(prefix) {\n var id = ++idCounter;\n return toString(prefix) + id;\n}\n\nmodule.exports = uniqueId;\n" + }, + { + "id": "./node_modules/lodash/values.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/values.js", + "name": "./node_modules/lodash/values.js", + "index": 381, + "index2": 374, + "size": 733, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/values", + "loc": "32:14-38" + }, + { + "moduleId": "./node_modules/graphlib/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/graphlib/lib/lodash.js", + "module": "./node_modules/graphlib/lib/lodash.js", + "moduleName": "./node_modules/graphlib/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/values", + "loc": "23:14-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var baseValues = require('./_baseValues'),\n keys = require('./keys');\n\n/**\n * Creates an array of the own enumerable string keyed property values of `object`.\n *\n * **Note:** Non-object values are coerced to objects.\n *\n * @static\n * @since 0.1.0\n * @memberOf _\n * @category Object\n * @param {Object} object The object to query.\n * @returns {Array} Returns the array of property values.\n * @example\n *\n * function Foo() {\n * this.a = 1;\n * this.b = 2;\n * }\n *\n * Foo.prototype.c = 3;\n *\n * _.values(new Foo);\n * // => [1, 2] (iteration order is not guaranteed)\n *\n * _.values('hi');\n * // => ['h', 'i']\n */\nfunction values(object) {\n return object == null ? [] : baseValues(object, keys(object));\n}\n\nmodule.exports = values;\n" + }, + { + "id": "./node_modules/lodash/zipObject.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/zipObject.js", + "name": "./node_modules/lodash/zipObject.js", + "index": 445, + "index2": 441, + "size": 664, + "cacheable": true, + "built": true, + "optional": true, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "issuerId": "./node_modules/dagre/lib/lodash.js", + "issuerName": "./node_modules/dagre/lib/lodash.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + } + ], + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/dagre/lib/lodash.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "module": "./node_modules/dagre/lib/lodash.js", + "moduleName": "./node_modules/dagre/lib/lodash.js", + "type": "cjs require", + "userRequest": "lodash/zipObject", + "loc": "33:17-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 5, + "source": "var assignValue = require('./_assignValue'),\n baseZipObject = require('./_baseZipObject');\n\n/**\n * This method is like `_.fromPairs` except that it accepts two arrays,\n * one of property identifiers and one of corresponding values.\n *\n * @static\n * @memberOf _\n * @since 0.4.0\n * @category Array\n * @param {Array} [props=[]] The property identifiers.\n * @param {Array} [values=[]] The property values.\n * @returns {Object} Returns the new object.\n * @example\n *\n * _.zipObject(['a', 'b'], [1, 2]);\n * // => { 'a': 1, 'b': 2 }\n */\nfunction zipObject(props, values) {\n return baseZipObject(props || [], values || [], assignValue);\n}\n\nmodule.exports = zipObject;\n" + }, + { + "id": "./node_modules/parse-svg-path/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/parse-svg-path/index.js", + "name": "./node_modules/parse-svg-path/index.js", + "index": 140, + "index2": 137, + "size": 1204, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "issuerId": "./node_modules/point-at-length/index.js", + "issuerName": "./node_modules/point-at-length/index.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "profile": { + "factory": 495, + "building": 32 + } + } + ], + "profile": { + "factory": 1973, + "building": 153 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/point-at-length/index.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "module": "./node_modules/point-at-length/index.js", + "moduleName": "./node_modules/point-at-length/index.js", + "type": "cjs require", + "userRequest": "parse-svg-path", + "loc": "1:12-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\nmodule.exports = parse\n\n/**\n * expected argument lengths\n * @type {Object}\n */\n\nvar length = {a: 7, c: 6, h: 1, l: 2, m: 2, q: 4, s: 4, t: 2, v: 1, z: 0}\n\n/**\n * segment pattern\n * @type {RegExp}\n */\n\nvar segment = /([astvzqmhlc])([^astvzqmhlc]*)/ig\n\n/**\n * parse an svg path data string. Generates an Array\n * of commands where each command is an Array of the\n * form `[command, arg1, arg2, ...]`\n *\n * @param {String} path\n * @return {Array}\n */\n\nfunction parse(path) {\n\tvar data = []\n\tpath.replace(segment, function(_, command, args){\n\t\tvar type = command.toLowerCase()\n\t\targs = parseValues(args)\n\n\t\t// overloaded moveTo\n\t\tif (type == 'm' && args.length > 2) {\n\t\t\tdata.push([command].concat(args.splice(0, 2)))\n\t\t\ttype = 'l'\n\t\t\tcommand = command == 'm' ? 'l' : 'L'\n\t\t}\n\n\t\twhile (true) {\n\t\t\tif (args.length == length[type]) {\n\t\t\t\targs.unshift(command)\n\t\t\t\treturn data.push(args)\n\t\t\t}\n\t\t\tif (args.length < length[type]) throw new Error('malformed path data')\n\t\t\tdata.push([command].concat(args.splice(0, length[type])))\n\t\t}\n\t})\n\treturn data\n}\n\nvar number = /-?[0-9]*\\.?[0-9]+(?:e[-+]?\\d+)?/ig\n\nfunction parseValues(args) {\n\tvar numbers = args.match(number)\n\treturn numbers ? numbers.map(Number) : []\n}\n" + }, + { + "id": "./node_modules/point-at-length/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/point-at-length/index.js", + "name": "./node_modules/point-at-length/index.js", + "index": 139, + "index2": 140, + "size": 6344, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "issuerId": "./src/connector/geojson.ts", + "issuerName": "./src/connector/geojson.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 495, + "building": 32 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "point-at-length", + "loc": "4:48-74" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "point-at-length", + "loc": "6:48-74" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "var parse = require('parse-svg-path');\r\nvar isarray = require('isarray');\r\nvar abs = require('abs-svg-path');\r\n\r\nmodule.exports = Points;\r\n\r\nfunction Points (path) {\r\n if (!(this instanceof Points)) return new Points(path);\r\n this._path = isarray(path) ? path : parse(path);\r\n this._path = abs(this._path);\r\n this._path = zvhToL(this._path);\r\n this._path = longhand(this._path);\r\n}\r\n\r\nPoints.prototype.at = function (pos, opts) {\r\n return this._walk(pos, opts).pos;\r\n};\r\n\r\nPoints.prototype.length = function () {\r\n return this._walk(null).length;\r\n};\r\n\r\nPoints.prototype._walk = function (pos, opts) {\r\n var cur = [ 0, 0 ];\r\n var prev = [ 0, 0, 0 ];\r\n var p0 = [ 0, 0 ];\r\n var len = 0;\r\n\r\n for (var i = 0; i < this._path.length; i++) {\r\n var p = this._path[i];\r\n if (p[0] === 'M') {\r\n cur[0] = p[1];\r\n cur[1] = p[2];\r\n if (pos === 0) {\r\n return { length: len, pos: cur };\r\n }\r\n }\r\n else if (p[0] === 'C') {\r\n prev[0] = p0[0] = cur[0];\r\n prev[1] = p0[1] = cur[1];\r\n prev[2] = len;\r\n\r\n var n = 100;\r\n for (var j = 0; j <= n; j++) {\r\n var t = j / n;\r\n var x = xof_C(p, t);\r\n var y = yof_C(p, t);\r\n len += dist(cur[0], cur[1], x, y);\r\n\r\n cur[0] = x;\r\n cur[1] = y;\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n else if (p[0] === 'Q') {\r\n prev[0] = p0[0] = cur[0];\r\n prev[1] = p0[1] = cur[1];\r\n prev[2] = len;\r\n\r\n var n = 100;\r\n for (var j = 0; j <= n; j++) {\r\n var t = j / n;\r\n var x = xof_Q(p, t);\r\n var y = yof_Q(p, t);\r\n len += dist(cur[0], cur[1], x, y);\r\n\r\n cur[0] = x;\r\n cur[1] = y;\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n else if (p[0] === 'L') {\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n\r\n len += dist(cur[0], cur[1], p[1], p[2]);\r\n cur[0] = p[1];\r\n cur[1] = p[2];\r\n\r\n if (typeof pos === 'number' && len >= pos) {\r\n var dv = (len - pos) / (len - prev[2]);\r\n var npos = [\r\n cur[0] * (1 - dv) + prev[0] * dv,\r\n cur[1] * (1 - dv) + prev[1] * dv\r\n ];\r\n return { length: len, pos: npos };\r\n }\r\n prev[0] = cur[0];\r\n prev[1] = cur[1];\r\n prev[2] = len;\r\n }\r\n }\r\n\r\n return { length: len, pos: cur };\r\n function xof_C (p, t) {\r\n return Math.pow((1-t), 3) * p0[0]\r\n + 3 * Math.pow((1-t), 2) * t * p[1]\r\n + 3 * (1-t) * Math.pow(t, 2) * p[3]\r\n + Math.pow(t, 3) * p[5]\r\n ;\r\n }\r\n function yof_C (p, t) {\r\n return Math.pow((1-t), 3) * p0[1]\r\n + 3 * Math.pow((1-t), 2) * t * p[2]\r\n + 3 * (1-t) * Math.pow(t, 2) * p[4]\r\n + Math.pow(t, 3) * p[6]\r\n ;\r\n }\r\n\r\n function xof_Q (p, t) {\r\n return Math.pow((1-t), 2) * p0[0]\r\n + 2 * (1-t) * t * p[1]\r\n + Math.pow(t, 2) * p[3]\r\n ;\r\n }\r\n function yof_Q (p, t) {\r\n return Math.pow((1-t), 2) * p0[1]\r\n + 2 * (1-t) * t * p[2]\r\n + Math.pow(t, 2) * p[4]\r\n ;\r\n }\r\n};\r\n\r\nfunction dist (ax, ay, bx, by) {\r\n var x = ax - bx;\r\n var y = ay - by;\r\n return Math.sqrt(x*x + y*y);\r\n}\r\n\r\n// Expand shorthand curve commands to full versions; mutates the path in place for efficiency\r\n// Requires commands have already been converted to absolute versions\r\nfunction longhand(path){\r\n var prev,x1=0,y1=0;\r\n var conversion = { S:{to:'C',x:3}, T:{to:'Q',x:1} };\r\n for(var i=0, len=path.length; i>} data - Pairs of observed x-y values\n * @param {Array>} results - Pairs of observed predicted x-y values\n *\n * @return {number} - The r^2 value, or NaN if one cannot be calculated.\n */\n function determinationCoefficient(data, results) {\n var predictions = [];\n var observations = [];\n\n data.forEach(function (d, i) {\n if (d[1] !== null) {\n observations.push(d);\n predictions.push(results[i]);\n }\n });\n\n var sum = observations.reduce(function (a, observation) {\n return a + observation[1];\n }, 0);\n var mean = sum / observations.length;\n\n var ssyy = observations.reduce(function (a, observation) {\n var difference = observation[1] - mean;\n return a + difference * difference;\n }, 0);\n\n var sse = observations.reduce(function (accum, observation, index) {\n var prediction = predictions[index];\n var residual = observation[1] - prediction[1];\n return accum + residual * residual;\n }, 0);\n\n return 1 - sse / ssyy;\n }\n\n /**\n * Determine the solution of a system of linear equations A * x = b using\n * Gaussian elimination.\n *\n * @param {Array>} input - A 2-d matrix of data in row-major form [ A | b ]\n * @param {number} order - How many degrees to solve for\n *\n * @return {Array} - Vector of normalized solution coefficients matrix (x)\n */\n function gaussianElimination(input, order) {\n var matrix = input;\n var n = input.length - 1;\n var coefficients = [order];\n\n for (var i = 0; i < n; i++) {\n var maxrow = i;\n for (var j = i + 1; j < n; j++) {\n if (Math.abs(matrix[i][j]) > Math.abs(matrix[i][maxrow])) {\n maxrow = j;\n }\n }\n\n for (var k = i; k < n + 1; k++) {\n var tmp = matrix[k][i];\n matrix[k][i] = matrix[k][maxrow];\n matrix[k][maxrow] = tmp;\n }\n\n for (var _j = i + 1; _j < n; _j++) {\n for (var _k = n; _k >= i; _k--) {\n matrix[_k][_j] -= matrix[_k][i] * matrix[i][_j] / matrix[i][i];\n }\n }\n }\n\n for (var _j2 = n - 1; _j2 >= 0; _j2--) {\n var total = 0;\n for (var _k2 = _j2 + 1; _k2 < n; _k2++) {\n total += matrix[_k2][_j2] * coefficients[_k2];\n }\n\n coefficients[_j2] = (matrix[n][_j2] - total) / matrix[_j2][_j2];\n }\n\n return coefficients;\n }\n\n /**\n * Round a number to a precision, specificed in number of decimal places\n *\n * @param {number} number - The number to round\n * @param {number} precision - The number of decimal places to round to:\n * > 0 means decimals, < 0 means powers of 10\n *\n *\n * @return {numbr} - The number, rounded\n */\n function round(number, precision) {\n var factor = Math.pow(10, precision);\n return Math.round(number * factor) / factor;\n }\n\n /**\n * The set of all fitting methods\n *\n * @namespace\n */\n var methods = {\n linear: function linear(data, options) {\n var sum = [0, 0, 0, 0, 0];\n var len = 0;\n\n for (var n = 0; n < data.length; n++) {\n if (data[n][1] !== null) {\n len++;\n sum[0] += data[n][0];\n sum[1] += data[n][1];\n sum[2] += data[n][0] * data[n][0];\n sum[3] += data[n][0] * data[n][1];\n sum[4] += data[n][1] * data[n][1];\n }\n }\n\n var run = len * sum[2] - sum[0] * sum[0];\n var rise = len * sum[3] - sum[0] * sum[1];\n var gradient = run === 0 ? 0 : round(rise / run, options.precision);\n var intercept = round(sum[1] / len - gradient * sum[0] / len, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(gradient * x + intercept, options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [gradient, intercept],\n r2: round(determinationCoefficient(data, points), options.precision),\n string: intercept === 0 ? 'y = ' + gradient + 'x' : 'y = ' + gradient + 'x + ' + intercept\n };\n },\n exponential: function exponential(data, options) {\n var sum = [0, 0, 0, 0, 0, 0];\n\n for (var n = 0; n < data.length; n++) {\n if (data[n][1] !== null) {\n sum[0] += data[n][0];\n sum[1] += data[n][1];\n sum[2] += data[n][0] * data[n][0] * data[n][1];\n sum[3] += data[n][1] * Math.log(data[n][1]);\n sum[4] += data[n][0] * data[n][1] * Math.log(data[n][1]);\n sum[5] += data[n][0] * data[n][1];\n }\n }\n\n var denominator = sum[1] * sum[2] - sum[5] * sum[5];\n var a = Math.exp((sum[2] * sum[3] - sum[5] * sum[4]) / denominator);\n var b = (sum[1] * sum[4] - sum[5] * sum[3]) / denominator;\n var coeffA = round(a, options.precision);\n var coeffB = round(b, options.precision);\n var predict = function predict(x) {\n return [round(x, options.precision), round(coeffA * Math.exp(coeffB * x), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + 'e^(' + coeffB + 'x)',\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n logarithmic: function logarithmic(data, options) {\n var sum = [0, 0, 0, 0];\n var len = data.length;\n\n for (var n = 0; n < len; n++) {\n if (data[n][1] !== null) {\n sum[0] += Math.log(data[n][0]);\n sum[1] += data[n][1] * Math.log(data[n][0]);\n sum[2] += data[n][1];\n sum[3] += Math.pow(Math.log(data[n][0]), 2);\n }\n }\n\n var a = (len * sum[1] - sum[2] * sum[0]) / (len * sum[3] - sum[0] * sum[0]);\n var coeffB = round(a, options.precision);\n var coeffA = round((sum[2] - coeffB * sum[0]) / len, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(round(coeffA + coeffB * Math.log(x), options.precision), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + ' + ' + coeffB + ' ln(x)',\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n power: function power(data, options) {\n var sum = [0, 0, 0, 0, 0];\n var len = data.length;\n\n for (var n = 0; n < len; n++) {\n if (data[n][1] !== null) {\n sum[0] += Math.log(data[n][0]);\n sum[1] += Math.log(data[n][1]) * Math.log(data[n][0]);\n sum[2] += Math.log(data[n][1]);\n sum[3] += Math.pow(Math.log(data[n][0]), 2);\n }\n }\n\n var b = (len * sum[1] - sum[0] * sum[2]) / (len * sum[3] - Math.pow(sum[0], 2));\n var a = (sum[2] - b * sum[0]) / len;\n var coeffA = round(Math.exp(a), options.precision);\n var coeffB = round(b, options.precision);\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(round(coeffA * Math.pow(x, coeffB), options.precision), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n return {\n points: points,\n predict: predict,\n equation: [coeffA, coeffB],\n string: 'y = ' + coeffA + 'x^' + coeffB,\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n },\n polynomial: function polynomial(data, options) {\n var lhs = [];\n var rhs = [];\n var a = 0;\n var b = 0;\n var len = data.length;\n var k = options.order + 1;\n\n for (var i = 0; i < k; i++) {\n for (var l = 0; l < len; l++) {\n if (data[l][1] !== null) {\n a += Math.pow(data[l][0], i) * data[l][1];\n }\n }\n\n lhs.push(a);\n a = 0;\n\n var c = [];\n for (var j = 0; j < k; j++) {\n for (var _l = 0; _l < len; _l++) {\n if (data[_l][1] !== null) {\n b += Math.pow(data[_l][0], i + j);\n }\n }\n c.push(b);\n b = 0;\n }\n rhs.push(c);\n }\n rhs.push(lhs);\n\n var coefficients = gaussianElimination(rhs, k).map(function (v) {\n return round(v, options.precision);\n });\n\n var predict = function predict(x) {\n return [round(x, options.precision), round(coefficients.reduce(function (sum, coeff, power) {\n return sum + coeff * Math.pow(x, power);\n }, 0), options.precision)];\n };\n\n var points = data.map(function (point) {\n return predict(point[0]);\n });\n\n var string = 'y = ';\n for (var _i = coefficients.length - 1; _i >= 0; _i--) {\n if (_i > 1) {\n string += coefficients[_i] + 'x^' + _i + ' + ';\n } else if (_i === 1) {\n string += coefficients[_i] + 'x + ';\n } else {\n string += coefficients[_i];\n }\n }\n\n return {\n string: string,\n points: points,\n predict: predict,\n equation: [].concat(_toConsumableArray(coefficients)).reverse(),\n r2: round(determinationCoefficient(data, points), options.precision)\n };\n }\n };\n\n function createWrapper() {\n var reduce = function reduce(accumulator, name) {\n return _extends({\n _round: round\n }, accumulator, _defineProperty({}, name, function (data, supplied) {\n return methods[name](data, _extends({}, DEFAULT_OPTIONS, supplied));\n }));\n };\n\n return Object.keys(methods).reduce(reduce, {});\n }\n\n module.exports = createWrapper();\n});\n" + }, + { + "id": "./node_modules/simple-statistics/dist/simple-statistics.min.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/simple-statistics/dist/simple-statistics.min.js", + "name": "./node_modules/simple-statistics/dist/simple-statistics.min.js", + "index": 130, + "index2": 128, + "size": 19861, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "4:44-72" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "6:44-72" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:44-72" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "14:26-54" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "11:26-54" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "5:26-54" + }, + { + "moduleId": "./src/util/bandwidth.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/bandwidth.ts", + "module": "./src/util/bandwidth.ts", + "moduleName": "./src/util/bandwidth.ts", + "type": "cjs require", + "userRequest": "simple-statistics", + "loc": "4:26-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "!function(t,r){\"object\"==typeof exports&&\"undefined\"!=typeof module?r(exports):\"function\"==typeof define&&define.amd?define([\"exports\"],r):r(t.ss={})}(this,function(t){\"use strict\";function r(t){if(0===t.length)return 0;for(var r,n=t[0],e=0,a=1;a=Math.abs(t[a])?e+=n-r+t[a]:e+=t[a]-r+n,n=r;return n+e}function g(t){if(0===t.length)throw new Error(\"mean requires at least one data point\");return r(t)/t.length}function n(t,r){var n,e,a=g(t),o=0;if(2===r)for(e=0;er&&(r=t[n]);return r}function i(t,r){var n=t.length*r;if(0===t.length)throw new Error(\"quantile requires at least one data point.\");if(r<0||1f&&p(t,n,e);sf;)l--}t[n]===f?p(t,n,l):p(t,++l,e),l<=r&&(n=l+1),r<=l&&(e=l-1)}}function p(t,r,n){var e=t[r];t[r]=t[n],t[n]=e}function s(t,r){var n=t.slice();if(Array.isArray(r)){!function(t,r){for(var n=[0],e=0;et[t.length-1])return 1;var n=function(t,r){var n=0,e=0,a=t.length;for(;e>>1]?a=n:e=-~n;return e}(t,r);if(t[n]!==r)return n/t.length;n++;var e=function(t,r){var n=0,e=0,a=t.length;for(;e=t[n=e+a>>>1]?e=-~n:a=n;return e}(t,r);if(e===n)return n/t.length;var a=e-n+1;return a*(e+n)/2/a/t.length}function m(t){var r=s(t,.75),n=s(t,.25);if(\"number\"==typeof r&&\"number\"==typeof n)return r-n}function d(t){return+s(t,.5)}function b(t){for(var r=d(t),n=[],e=0;e=e[n][u]);--g)(s=x(h,u,o,i)+e[n-1][h-1])n&&(n=t[e]),t[e]t.length)throw new Error(\"cannot generate more classes than there are data values\");var n=f(t);if(1===y(n))return[n];var e=S(r,n.length),a=S(r,n.length);!function(t,r,n){for(var e,a=r[0].length,o=t[Math.floor(a/2)],i=[],u=[],h=0;h=Math.abs(a)&&(c+=1);else if(\"greater\"===n)for(h=0;h<=e;h++)o[h]>=a&&(c+=1);else for(h=0;h<=e;h++)o[h]<=a&&(c+=1);return c/e},t.bisect=function(t,r,n,e,a){if(\"function\"!=typeof t)throw new TypeError(\"func must be a function\");for(var o=0;o x1) x1 = p[0];\n if (p[1] < y0) y0 = p[1];\n if (p[1] > y1) y1 = p[1];\n }\n\n function bboxGeometry(o) {\n switch (o.type) {\n case \"GeometryCollection\": o.geometries.forEach(bboxGeometry); break;\n case \"Point\": bboxPoint(o.coordinates); break;\n case \"MultiPoint\": o.coordinates.forEach(bboxPoint); break;\n }\n }\n\n topology.arcs.forEach(function(arc) {\n var i = -1, n = arc.length, p;\n while (++i < n) {\n p = t(arc[i], i);\n if (p[0] < x0) x0 = p[0];\n if (p[0] > x1) x1 = p[0];\n if (p[1] < y0) y0 = p[1];\n if (p[1] > y1) y1 = p[1];\n }\n });\n\n for (key in topology.objects) {\n bboxGeometry(topology.objects[key]);\n }\n\n return [x0, y0, x1, y1];\n}\n\nfunction reverse(array, n) {\n var t, j = array.length, i = j - n;\n while (i < --j) t = array[i], array[i++] = array[j], array[j] = t;\n}\n\nfunction feature(topology, o) {\n if (typeof o === \"string\") o = topology.objects[o];\n return o.type === \"GeometryCollection\"\n ? {type: \"FeatureCollection\", features: o.geometries.map(function(o) { return feature$1(topology, o); })}\n : feature$1(topology, o);\n}\n\nfunction feature$1(topology, o) {\n var id = o.id,\n bbox = o.bbox,\n properties = o.properties == null ? {} : o.properties,\n geometry = object(topology, o);\n return id == null && bbox == null ? {type: \"Feature\", properties: properties, geometry: geometry}\n : bbox == null ? {type: \"Feature\", id: id, properties: properties, geometry: geometry}\n : {type: \"Feature\", id: id, bbox: bbox, properties: properties, geometry: geometry};\n}\n\nfunction object(topology, o) {\n var transformPoint = transform(topology.transform),\n arcs = topology.arcs;\n\n function arc(i, points) {\n if (points.length) points.pop();\n for (var a = arcs[i < 0 ? ~i : i], k = 0, n = a.length; k < n; ++k) {\n points.push(transformPoint(a[k], k));\n }\n if (i < 0) reverse(points, n);\n }\n\n function point(p) {\n return transformPoint(p);\n }\n\n function line(arcs) {\n var points = [];\n for (var i = 0, n = arcs.length; i < n; ++i) arc(arcs[i], points);\n if (points.length < 2) points.push(points[0]); // This should never happen per the specification.\n return points;\n }\n\n function ring(arcs) {\n var points = line(arcs);\n while (points.length < 4) points.push(points[0]); // This may happen if an arc has only two points.\n return points;\n }\n\n function polygon(arcs) {\n return arcs.map(ring);\n }\n\n function geometry(o) {\n var type = o.type, coordinates;\n switch (type) {\n case \"GeometryCollection\": return {type: type, geometries: o.geometries.map(geometry)};\n case \"Point\": coordinates = point(o.coordinates); break;\n case \"MultiPoint\": coordinates = o.coordinates.map(point); break;\n case \"LineString\": coordinates = line(o.arcs); break;\n case \"MultiLineString\": coordinates = o.arcs.map(line); break;\n case \"Polygon\": coordinates = polygon(o.arcs); break;\n case \"MultiPolygon\": coordinates = o.arcs.map(polygon); break;\n default: return null;\n }\n return {type: type, coordinates: coordinates};\n }\n\n return geometry(o);\n}\n\nfunction stitch(topology, arcs) {\n var stitchedArcs = {},\n fragmentByStart = {},\n fragmentByEnd = {},\n fragments = [],\n emptyIndex = -1;\n\n // Stitch empty arcs first, since they may be subsumed by other arcs.\n arcs.forEach(function(i, j) {\n var arc = topology.arcs[i < 0 ? ~i : i], t;\n if (arc.length < 3 && !arc[1][0] && !arc[1][1]) {\n t = arcs[++emptyIndex], arcs[emptyIndex] = i, arcs[j] = t;\n }\n });\n\n arcs.forEach(function(i) {\n var e = ends(i),\n start = e[0],\n end = e[1],\n f, g;\n\n if (f = fragmentByEnd[start]) {\n delete fragmentByEnd[f.end];\n f.push(i);\n f.end = end;\n if (g = fragmentByStart[end]) {\n delete fragmentByStart[g.start];\n var fg = g === f ? f : f.concat(g);\n fragmentByStart[fg.start = f.start] = fragmentByEnd[fg.end = g.end] = fg;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else if (f = fragmentByStart[end]) {\n delete fragmentByStart[f.start];\n f.unshift(i);\n f.start = start;\n if (g = fragmentByEnd[start]) {\n delete fragmentByEnd[g.end];\n var gf = g === f ? f : g.concat(f);\n fragmentByStart[gf.start = g.start] = fragmentByEnd[gf.end = f.end] = gf;\n } else {\n fragmentByStart[f.start] = fragmentByEnd[f.end] = f;\n }\n } else {\n f = [i];\n fragmentByStart[f.start = start] = fragmentByEnd[f.end = end] = f;\n }\n });\n\n function ends(i) {\n var arc = topology.arcs[i < 0 ? ~i : i], p0 = arc[0], p1;\n if (topology.transform) p1 = [0, 0], arc.forEach(function(dp) { p1[0] += dp[0], p1[1] += dp[1]; });\n else p1 = arc[arc.length - 1];\n return i < 0 ? [p1, p0] : [p0, p1];\n }\n\n function flush(fragmentByEnd, fragmentByStart) {\n for (var k in fragmentByEnd) {\n var f = fragmentByEnd[k];\n delete fragmentByStart[f.start];\n delete f.start;\n delete f.end;\n f.forEach(function(i) { stitchedArcs[i < 0 ? ~i : i] = 1; });\n fragments.push(f);\n }\n }\n\n flush(fragmentByEnd, fragmentByStart);\n flush(fragmentByStart, fragmentByEnd);\n arcs.forEach(function(i) { if (!stitchedArcs[i < 0 ? ~i : i]) fragments.push([i]); });\n\n return fragments;\n}\n\nfunction mesh(topology) {\n return object(topology, meshArcs.apply(this, arguments));\n}\n\nfunction meshArcs(topology, object, filter) {\n var arcs, i, n;\n if (arguments.length > 1) arcs = extractArcs(topology, object, filter);\n else for (i = 0, arcs = new Array(n = topology.arcs.length); i < n; ++i) arcs[i] = i;\n return {type: \"MultiLineString\", arcs: stitch(topology, arcs)};\n}\n\nfunction extractArcs(topology, object, filter) {\n var arcs = [],\n geomsByArc = [],\n geom;\n\n function extract0(i) {\n var j = i < 0 ? ~i : i;\n (geomsByArc[j] || (geomsByArc[j] = [])).push({i: i, g: geom});\n }\n\n function extract1(arcs) {\n arcs.forEach(extract0);\n }\n\n function extract2(arcs) {\n arcs.forEach(extract1);\n }\n\n function extract3(arcs) {\n arcs.forEach(extract2);\n }\n\n function geometry(o) {\n switch (geom = o, o.type) {\n case \"GeometryCollection\": o.geometries.forEach(geometry); break;\n case \"LineString\": extract1(o.arcs); break;\n case \"MultiLineString\": case \"Polygon\": extract2(o.arcs); break;\n case \"MultiPolygon\": extract3(o.arcs); break;\n }\n }\n\n geometry(object);\n\n geomsByArc.forEach(filter == null\n ? function(geoms) { arcs.push(geoms[0].i); }\n : function(geoms) { if (filter(geoms[0].g, geoms[geoms.length - 1].g)) arcs.push(geoms[0].i); });\n\n return arcs;\n}\n\nfunction planarRingArea(ring) {\n var i = -1, n = ring.length, a, b = ring[n - 1], area = 0;\n while (++i < n) a = b, b = ring[i], area += a[0] * b[1] - a[1] * b[0];\n return Math.abs(area); // Note: doubled area!\n}\n\nfunction merge(topology) {\n return object(topology, mergeArcs.apply(this, arguments));\n}\n\nfunction mergeArcs(topology, objects) {\n var polygonsByArc = {},\n polygons = [],\n groups = [];\n\n objects.forEach(geometry);\n\n function geometry(o) {\n switch (o.type) {\n case \"GeometryCollection\": o.geometries.forEach(geometry); break;\n case \"Polygon\": extract(o.arcs); break;\n case \"MultiPolygon\": o.arcs.forEach(extract); break;\n }\n }\n\n function extract(polygon) {\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n (polygonsByArc[arc = arc < 0 ? ~arc : arc] || (polygonsByArc[arc] = [])).push(polygon);\n });\n });\n polygons.push(polygon);\n }\n\n function area(ring) {\n return planarRingArea(object(topology, {type: \"Polygon\", arcs: [ring]}).coordinates[0]);\n }\n\n polygons.forEach(function(polygon) {\n if (!polygon._) {\n var group = [],\n neighbors = [polygon];\n polygon._ = 1;\n groups.push(group);\n while (polygon = neighbors.pop()) {\n group.push(polygon);\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n polygonsByArc[arc < 0 ? ~arc : arc].forEach(function(polygon) {\n if (!polygon._) {\n polygon._ = 1;\n neighbors.push(polygon);\n }\n });\n });\n });\n }\n }\n });\n\n polygons.forEach(function(polygon) {\n delete polygon._;\n });\n\n return {\n type: \"MultiPolygon\",\n arcs: groups.map(function(polygons) {\n var arcs = [], n;\n\n // Extract the exterior (unique) arcs.\n polygons.forEach(function(polygon) {\n polygon.forEach(function(ring) {\n ring.forEach(function(arc) {\n if (polygonsByArc[arc < 0 ? ~arc : arc].length < 2) {\n arcs.push(arc);\n }\n });\n });\n });\n\n // Stitch the arcs into one or more rings.\n arcs = stitch(topology, arcs);\n\n // If more than one ring is returned,\n // at most one of these rings can be the exterior;\n // choose the one with the greatest absolute area.\n if ((n = arcs.length) > 1) {\n for (var i = 1, k = area(arcs[0]), ki, t; i < n; ++i) {\n if ((ki = area(arcs[i])) > k) {\n t = arcs[0], arcs[0] = arcs[i], arcs[i] = t, k = ki;\n }\n }\n }\n\n return arcs;\n }).filter(function(arcs) {\n return arcs.length > 0;\n })\n };\n}\n\nfunction bisect(a, x) {\n var lo = 0, hi = a.length;\n while (lo < hi) {\n var mid = lo + hi >>> 1;\n if (a[mid] < x) lo = mid + 1;\n else hi = mid;\n }\n return lo;\n}\n\nfunction neighbors(objects) {\n var indexesByArc = {}, // arc index -> array of object indexes\n neighbors = objects.map(function() { return []; });\n\n function line(arcs, i) {\n arcs.forEach(function(a) {\n if (a < 0) a = ~a;\n var o = indexesByArc[a];\n if (o) o.push(i);\n else indexesByArc[a] = [i];\n });\n }\n\n function polygon(arcs, i) {\n arcs.forEach(function(arc) { line(arc, i); });\n }\n\n function geometry(o, i) {\n if (o.type === \"GeometryCollection\") o.geometries.forEach(function(o) { geometry(o, i); });\n else if (o.type in geometryType) geometryType[o.type](o.arcs, i);\n }\n\n var geometryType = {\n LineString: line,\n MultiLineString: polygon,\n Polygon: polygon,\n MultiPolygon: function(arcs, i) { arcs.forEach(function(arc) { polygon(arc, i); }); }\n };\n\n objects.forEach(geometry);\n\n for (var i in indexesByArc) {\n for (var indexes = indexesByArc[i], m = indexes.length, j = 0; j < m; ++j) {\n for (var k = j + 1; k < m; ++k) {\n var ij = indexes[j], ik = indexes[k], n;\n if ((n = neighbors[ij])[i = bisect(n, ik)] !== ik) n.splice(i, 0, ik);\n if ((n = neighbors[ik])[i = bisect(n, ij)] !== ij) n.splice(i, 0, ij);\n }\n }\n }\n\n return neighbors;\n}\n\nfunction untransform(transform) {\n if (transform == null) return identity;\n var x0,\n y0,\n kx = transform.scale[0],\n ky = transform.scale[1],\n dx = transform.translate[0],\n dy = transform.translate[1];\n return function(input, i) {\n if (!i) x0 = y0 = 0;\n var j = 2,\n n = input.length,\n output = new Array(n),\n x1 = Math.round((input[0] - dx) / kx),\n y1 = Math.round((input[1] - dy) / ky);\n output[0] = x1 - x0, x0 = x1;\n output[1] = y1 - y0, y0 = y1;\n while (j < n) output[j] = input[j], ++j;\n return output;\n };\n}\n\nfunction quantize(topology, transform) {\n if (topology.transform) throw new Error(\"already quantized\");\n\n if (!transform || !transform.scale) {\n if (!((n = Math.floor(transform)) >= 2)) throw new Error(\"n must be ≥2\");\n box = topology.bbox || bbox(topology);\n var x0 = box[0], y0 = box[1], x1 = box[2], y1 = box[3], n;\n transform = {scale: [x1 - x0 ? (x1 - x0) / (n - 1) : 1, y1 - y0 ? (y1 - y0) / (n - 1) : 1], translate: [x0, y0]};\n } else {\n box = topology.bbox;\n }\n\n var t = untransform(transform), box, key, inputs = topology.objects, outputs = {};\n\n function quantizePoint(point) {\n return t(point);\n }\n\n function quantizeGeometry(input) {\n var output;\n switch (input.type) {\n case \"GeometryCollection\": output = {type: \"GeometryCollection\", geometries: input.geometries.map(quantizeGeometry)}; break;\n case \"Point\": output = {type: \"Point\", coordinates: quantizePoint(input.coordinates)}; break;\n case \"MultiPoint\": output = {type: \"MultiPoint\", coordinates: input.coordinates.map(quantizePoint)}; break;\n default: return input;\n }\n if (input.id != null) output.id = input.id;\n if (input.bbox != null) output.bbox = input.bbox;\n if (input.properties != null) output.properties = input.properties;\n return output;\n }\n\n function quantizeArc(input) {\n var i = 0, j = 1, n = input.length, p, output = new Array(n); // pessimistic\n output[0] = t(input[0], 0);\n while (++i < n) if ((p = t(input[i], i))[0] || p[1]) output[j++] = p; // non-coincident points\n if (j === 1) output[j++] = [0, 0]; // an arc must have at least two points\n output.length = j;\n return output;\n }\n\n for (key in inputs) outputs[key] = quantizeGeometry(inputs[key]);\n\n return {\n type: \"Topology\",\n bbox: box,\n transform: transform,\n objects: outputs,\n arcs: topology.arcs.map(quantizeArc)\n };\n}\n\nexports.bbox = bbox;\nexports.feature = feature;\nexports.merge = merge;\nexports.mergeArcs = mergeArcs;\nexports.mesh = mesh;\nexports.meshArcs = meshArcs;\nexports.neighbors = neighbors;\nexports.quantize = quantize;\nexports.transform = transform;\nexports.untransform = untransform;\n\nObject.defineProperty(exports, '__esModule', { value: true });\n\n}));\n" + }, + { + "id": "./node_modules/tslib/tslib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "index": 2, + "index2": 1, + "size": 20563, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/@antv/util/lib/measure-text-width.js", + "module": "./node_modules/@antv/util/lib/measure-text-width.js", + "moduleName": "./node_modules/@antv/util/lib/measure-text-width.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/d3-composite-projections.js", + "module": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "moduleName": "./node_modules/d3-composite-projections/d3-composite-projections.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "module": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "moduleName": "./node_modules/d3-composite-projections/node_modules/d3-array/dist/d3-array.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/node_modules/d3-sankey/dist/d3-sankey.js", + "module": "./node_modules/d3-sankey/dist/d3-sankey.js", + "moduleName": "./node_modules/d3-sankey/dist/d3-sankey.js", + "type": "cjs require", + "userRequest": "tslib", + "loc": "1:14-30" + }, + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "7:14-30" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/get-geo-projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "module": "./src/util/get-geo-projection.ts", + "moduleName": "./src/util/get-geo-projection.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/get-series-values.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-series-values.ts", + "module": "./src/util/get-series-values.ts", + "moduleName": "./src/util/get-series-values.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "3:14-30" + }, + { + "moduleId": "./src/util/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/tag-cloud.ts", + "module": "./src/util/tag-cloud.ts", + "moduleName": "./src/util/tag-cloud.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "9:14-30" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "tslib", + "loc": "4:14-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n/* global global, define, Symbol, Reflect, Promise, SuppressedError */\r\nvar __extends;\r\nvar __assign;\r\nvar __rest;\r\nvar __decorate;\r\nvar __param;\r\nvar __esDecorate;\r\nvar __runInitializers;\r\nvar __propKey;\r\nvar __setFunctionName;\r\nvar __metadata;\r\nvar __awaiter;\r\nvar __generator;\r\nvar __exportStar;\r\nvar __values;\r\nvar __read;\r\nvar __spread;\r\nvar __spreadArrays;\r\nvar __spreadArray;\r\nvar __await;\r\nvar __asyncGenerator;\r\nvar __asyncDelegator;\r\nvar __asyncValues;\r\nvar __makeTemplateObject;\r\nvar __importStar;\r\nvar __importDefault;\r\nvar __classPrivateFieldGet;\r\nvar __classPrivateFieldSet;\r\nvar __classPrivateFieldIn;\r\nvar __createBinding;\r\nvar __addDisposableResource;\r\nvar __disposeResources;\r\n(function (factory) {\r\n var root = typeof global === \"object\" ? global : typeof self === \"object\" ? self : typeof this === \"object\" ? this : {};\r\n if (typeof define === \"function\" && define.amd) {\r\n define(\"tslib\", [\"exports\"], function (exports) { factory(createExporter(root, createExporter(exports))); });\r\n }\r\n else if (typeof module === \"object\" && typeof module.exports === \"object\") {\r\n factory(createExporter(root, createExporter(module.exports)));\r\n }\r\n else {\r\n factory(createExporter(root));\r\n }\r\n function createExporter(exports, previous) {\r\n if (exports !== root) {\r\n if (typeof Object.create === \"function\") {\r\n Object.defineProperty(exports, \"__esModule\", { value: true });\r\n }\r\n else {\r\n exports.__esModule = true;\r\n }\r\n }\r\n return function (id, v) { return exports[id] = previous ? previous(id, v) : v; };\r\n }\r\n})\r\n(function (exporter) {\r\n var extendStatics = Object.setPrototypeOf ||\r\n ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) ||\r\n function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; };\r\n\r\n __extends = function (d, b) {\r\n if (typeof b !== \"function\" && b !== null)\r\n throw new TypeError(\"Class extends value \" + String(b) + \" is not a constructor or null\");\r\n extendStatics(d, b);\r\n function __() { this.constructor = d; }\r\n d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());\r\n };\r\n\r\n __assign = Object.assign || function (t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n\r\n __rest = function (s, e) {\r\n var t = {};\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)\r\n t[p] = s[p];\r\n if (s != null && typeof Object.getOwnPropertySymbols === \"function\")\r\n for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\r\n if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))\r\n t[p[i]] = s[p[i]];\r\n }\r\n return t;\r\n };\r\n\r\n __decorate = function (decorators, target, key, desc) {\r\n var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;\r\n if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);\r\n else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\r\n return c > 3 && r && Object.defineProperty(target, key, r), r;\r\n };\r\n\r\n __param = function (paramIndex, decorator) {\r\n return function (target, key) { decorator(target, key, paramIndex); }\r\n };\r\n\r\n __esDecorate = function (ctor, descriptorIn, decorators, contextIn, initializers, extraInitializers) {\r\n function accept(f) { if (f !== void 0 && typeof f !== \"function\") throw new TypeError(\"Function expected\"); return f; }\r\n var kind = contextIn.kind, key = kind === \"getter\" ? \"get\" : kind === \"setter\" ? \"set\" : \"value\";\r\n var target = !descriptorIn && ctor ? contextIn[\"static\"] ? ctor : ctor.prototype : null;\r\n var descriptor = descriptorIn || (target ? Object.getOwnPropertyDescriptor(target, contextIn.name) : {});\r\n var _, done = false;\r\n for (var i = decorators.length - 1; i >= 0; i--) {\r\n var context = {};\r\n for (var p in contextIn) context[p] = p === \"access\" ? {} : contextIn[p];\r\n for (var p in contextIn.access) context.access[p] = contextIn.access[p];\r\n context.addInitializer = function (f) { if (done) throw new TypeError(\"Cannot add initializers after decoration has completed\"); extraInitializers.push(accept(f || null)); };\r\n var result = (0, decorators[i])(kind === \"accessor\" ? { get: descriptor.get, set: descriptor.set } : descriptor[key], context);\r\n if (kind === \"accessor\") {\r\n if (result === void 0) continue;\r\n if (result === null || typeof result !== \"object\") throw new TypeError(\"Object expected\");\r\n if (_ = accept(result.get)) descriptor.get = _;\r\n if (_ = accept(result.set)) descriptor.set = _;\r\n if (_ = accept(result.init)) initializers.unshift(_);\r\n }\r\n else if (_ = accept(result)) {\r\n if (kind === \"field\") initializers.unshift(_);\r\n else descriptor[key] = _;\r\n }\r\n }\r\n if (target) Object.defineProperty(target, contextIn.name, descriptor);\r\n done = true;\r\n };\r\n\r\n __runInitializers = function (thisArg, initializers, value) {\r\n var useValue = arguments.length > 2;\r\n for (var i = 0; i < initializers.length; i++) {\r\n value = useValue ? initializers[i].call(thisArg, value) : initializers[i].call(thisArg);\r\n }\r\n return useValue ? value : void 0;\r\n };\r\n\r\n __propKey = function (x) {\r\n return typeof x === \"symbol\" ? x : \"\".concat(x);\r\n };\r\n\r\n __setFunctionName = function (f, name, prefix) {\r\n if (typeof name === \"symbol\") name = name.description ? \"[\".concat(name.description, \"]\") : \"\";\r\n return Object.defineProperty(f, \"name\", { configurable: true, value: prefix ? \"\".concat(prefix, \" \", name) : name });\r\n };\r\n\r\n __metadata = function (metadataKey, metadataValue) {\r\n if (typeof Reflect === \"object\" && typeof Reflect.metadata === \"function\") return Reflect.metadata(metadataKey, metadataValue);\r\n };\r\n\r\n __awaiter = function (thisArg, _arguments, P, generator) {\r\n function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }\r\n return new (P || (P = Promise))(function (resolve, reject) {\r\n function fulfilled(value) { try { step(generator.next(value)); } catch (e) { reject(e); } }\r\n function rejected(value) { try { step(generator[\"throw\"](value)); } catch (e) { reject(e); } }\r\n function step(result) { result.done ? resolve(result.value) : adopt(result.value).then(fulfilled, rejected); }\r\n step((generator = generator.apply(thisArg, _arguments || [])).next());\r\n });\r\n };\r\n\r\n __generator = function (thisArg, body) {\r\n var _ = { label: 0, sent: function() { if (t[0] & 1) throw t[1]; return t[1]; }, trys: [], ops: [] }, f, y, t, g;\r\n return g = { next: verb(0), \"throw\": verb(1), \"return\": verb(2) }, typeof Symbol === \"function\" && (g[Symbol.iterator] = function() { return this; }), g;\r\n function verb(n) { return function (v) { return step([n, v]); }; }\r\n function step(op) {\r\n if (f) throw new TypeError(\"Generator is already executing.\");\r\n while (g && (g = 0, op[0] && (_ = 0)), _) try {\r\n if (f = 1, y && (t = op[0] & 2 ? y[\"return\"] : op[0] ? y[\"throw\"] || ((t = y[\"return\"]) && t.call(y), 0) : y.next) && !(t = t.call(y, op[1])).done) return t;\r\n if (y = 0, t) op = [op[0] & 2, t.value];\r\n switch (op[0]) {\r\n case 0: case 1: t = op; break;\r\n case 4: _.label++; return { value: op[1], done: false };\r\n case 5: _.label++; y = op[1]; op = [0]; continue;\r\n case 7: op = _.ops.pop(); _.trys.pop(); continue;\r\n default:\r\n if (!(t = _.trys, t = t.length > 0 && t[t.length - 1]) && (op[0] === 6 || op[0] === 2)) { _ = 0; continue; }\r\n if (op[0] === 3 && (!t || (op[1] > t[0] && op[1] < t[3]))) { _.label = op[1]; break; }\r\n if (op[0] === 6 && _.label < t[1]) { _.label = t[1]; t = op; break; }\r\n if (t && _.label < t[2]) { _.label = t[2]; _.ops.push(op); break; }\r\n if (t[2]) _.ops.pop();\r\n _.trys.pop(); continue;\r\n }\r\n op = body.call(thisArg, _);\r\n } catch (e) { op = [6, e]; y = 0; } finally { f = t = 0; }\r\n if (op[0] & 5) throw op[1]; return { value: op[0] ? op[1] : void 0, done: true };\r\n }\r\n };\r\n\r\n __exportStar = function(m, o) {\r\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(o, p)) __createBinding(o, m, p);\r\n };\r\n\r\n __createBinding = Object.create ? (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n var desc = Object.getOwnPropertyDescriptor(m, k);\r\n if (!desc || (\"get\" in desc ? !m.__esModule : desc.writable || desc.configurable)) {\r\n desc = { enumerable: true, get: function() { return m[k]; } };\r\n }\r\n Object.defineProperty(o, k2, desc);\r\n }) : (function(o, m, k, k2) {\r\n if (k2 === undefined) k2 = k;\r\n o[k2] = m[k];\r\n });\r\n\r\n __values = function (o) {\r\n var s = typeof Symbol === \"function\" && Symbol.iterator, m = s && o[s], i = 0;\r\n if (m) return m.call(o);\r\n if (o && typeof o.length === \"number\") return {\r\n next: function () {\r\n if (o && i >= o.length) o = void 0;\r\n return { value: o && o[i++], done: !o };\r\n }\r\n };\r\n throw new TypeError(s ? \"Object is not iterable.\" : \"Symbol.iterator is not defined.\");\r\n };\r\n\r\n __read = function (o, n) {\r\n var m = typeof Symbol === \"function\" && o[Symbol.iterator];\r\n if (!m) return o;\r\n var i = m.call(o), r, ar = [], e;\r\n try {\r\n while ((n === void 0 || n-- > 0) && !(r = i.next()).done) ar.push(r.value);\r\n }\r\n catch (error) { e = { error: error }; }\r\n finally {\r\n try {\r\n if (r && !r.done && (m = i[\"return\"])) m.call(i);\r\n }\r\n finally { if (e) throw e.error; }\r\n }\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spread = function () {\r\n for (var ar = [], i = 0; i < arguments.length; i++)\r\n ar = ar.concat(__read(arguments[i]));\r\n return ar;\r\n };\r\n\r\n /** @deprecated */\r\n __spreadArrays = function () {\r\n for (var s = 0, i = 0, il = arguments.length; i < il; i++) s += arguments[i].length;\r\n for (var r = Array(s), k = 0, i = 0; i < il; i++)\r\n for (var a = arguments[i], j = 0, jl = a.length; j < jl; j++, k++)\r\n r[k] = a[j];\r\n return r;\r\n };\r\n\r\n __spreadArray = function (to, from, pack) {\r\n if (pack || arguments.length === 2) for (var i = 0, l = from.length, ar; i < l; i++) {\r\n if (ar || !(i in from)) {\r\n if (!ar) ar = Array.prototype.slice.call(from, 0, i);\r\n ar[i] = from[i];\r\n }\r\n }\r\n return to.concat(ar || Array.prototype.slice.call(from));\r\n };\r\n\r\n __await = function (v) {\r\n return this instanceof __await ? (this.v = v, this) : new __await(v);\r\n };\r\n\r\n __asyncGenerator = function (thisArg, _arguments, generator) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var g = generator.apply(thisArg, _arguments || []), i, q = [];\r\n return i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i;\r\n function verb(n) { if (g[n]) i[n] = function (v) { return new Promise(function (a, b) { q.push([n, v, a, b]) > 1 || resume(n, v); }); }; }\r\n function resume(n, v) { try { step(g[n](v)); } catch (e) { settle(q[0][3], e); } }\r\n function step(r) { r.value instanceof __await ? Promise.resolve(r.value.v).then(fulfill, reject) : settle(q[0][2], r); }\r\n function fulfill(value) { resume(\"next\", value); }\r\n function reject(value) { resume(\"throw\", value); }\r\n function settle(f, v) { if (f(v), q.shift(), q.length) resume(q[0][0], q[0][1]); }\r\n };\r\n\r\n __asyncDelegator = function (o) {\r\n var i, p;\r\n return i = {}, verb(\"next\"), verb(\"throw\", function (e) { throw e; }), verb(\"return\"), i[Symbol.iterator] = function () { return this; }, i;\r\n function verb(n, f) { i[n] = o[n] ? function (v) { return (p = !p) ? { value: __await(o[n](v)), done: false } : f ? f(v) : v; } : f; }\r\n };\r\n\r\n __asyncValues = function (o) {\r\n if (!Symbol.asyncIterator) throw new TypeError(\"Symbol.asyncIterator is not defined.\");\r\n var m = o[Symbol.asyncIterator], i;\r\n return m ? m.call(o) : (o = typeof __values === \"function\" ? __values(o) : o[Symbol.iterator](), i = {}, verb(\"next\"), verb(\"throw\"), verb(\"return\"), i[Symbol.asyncIterator] = function () { return this; }, i);\r\n function verb(n) { i[n] = o[n] && function (v) { return new Promise(function (resolve, reject) { v = o[n](v), settle(resolve, reject, v.done, v.value); }); }; }\r\n function settle(resolve, reject, d, v) { Promise.resolve(v).then(function(v) { resolve({ value: v, done: d }); }, reject); }\r\n };\r\n\r\n __makeTemplateObject = function (cooked, raw) {\r\n if (Object.defineProperty) { Object.defineProperty(cooked, \"raw\", { value: raw }); } else { cooked.raw = raw; }\r\n return cooked;\r\n };\r\n\r\n var __setModuleDefault = Object.create ? (function(o, v) {\r\n Object.defineProperty(o, \"default\", { enumerable: true, value: v });\r\n }) : function(o, v) {\r\n o[\"default\"] = v;\r\n };\r\n\r\n __importStar = function (mod) {\r\n if (mod && mod.__esModule) return mod;\r\n var result = {};\r\n if (mod != null) for (var k in mod) if (k !== \"default\" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);\r\n __setModuleDefault(result, mod);\r\n return result;\r\n };\r\n\r\n __importDefault = function (mod) {\r\n return (mod && mod.__esModule) ? mod : { \"default\": mod };\r\n };\r\n\r\n __classPrivateFieldGet = function (receiver, state, kind, f) {\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a getter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot read private member from an object whose class did not declare it\");\r\n return kind === \"m\" ? f : kind === \"a\" ? f.call(receiver) : f ? f.value : state.get(receiver);\r\n };\r\n\r\n __classPrivateFieldSet = function (receiver, state, value, kind, f) {\r\n if (kind === \"m\") throw new TypeError(\"Private method is not writable\");\r\n if (kind === \"a\" && !f) throw new TypeError(\"Private accessor was defined without a setter\");\r\n if (typeof state === \"function\" ? receiver !== state || !f : !state.has(receiver)) throw new TypeError(\"Cannot write private member to an object whose class did not declare it\");\r\n return (kind === \"a\" ? f.call(receiver, value) : f ? f.value = value : state.set(receiver, value)), value;\r\n };\r\n\r\n __classPrivateFieldIn = function (state, receiver) {\r\n if (receiver === null || (typeof receiver !== \"object\" && typeof receiver !== \"function\")) throw new TypeError(\"Cannot use 'in' operator on non-object\");\r\n return typeof state === \"function\" ? receiver === state : state.has(receiver);\r\n };\r\n\r\n __addDisposableResource = function (env, value, async) {\r\n if (value !== null && value !== void 0) {\r\n if (typeof value !== \"object\" && typeof value !== \"function\") throw new TypeError(\"Object expected.\");\r\n var dispose;\r\n if (async) {\r\n if (!Symbol.asyncDispose) throw new TypeError(\"Symbol.asyncDispose is not defined.\");\r\n dispose = value[Symbol.asyncDispose];\r\n }\r\n if (dispose === void 0) {\r\n if (!Symbol.dispose) throw new TypeError(\"Symbol.dispose is not defined.\");\r\n dispose = value[Symbol.dispose];\r\n }\r\n if (typeof dispose !== \"function\") throw new TypeError(\"Object not disposable.\");\r\n env.stack.push({ value: value, dispose: dispose, async: async });\r\n }\r\n else if (async) {\r\n env.stack.push({ async: true });\r\n }\r\n return value;\r\n };\r\n\r\n var _SuppressedError = typeof SuppressedError === \"function\" ? SuppressedError : function (error, suppressed, message) {\r\n var e = new Error(message);\r\n return e.name = \"SuppressedError\", e.error = error, e.suppressed = suppressed, e;\r\n };\r\n\r\n __disposeResources = function (env) {\r\n function fail(e) {\r\n env.error = env.hasError ? new _SuppressedError(e, env.error, \"An error was suppressed during disposal.\") : e;\r\n env.hasError = true;\r\n }\r\n function next() {\r\n while (env.stack.length) {\r\n var rec = env.stack.pop();\r\n try {\r\n var result = rec.dispose && rec.dispose.call(rec.value);\r\n if (rec.async) return Promise.resolve(result).then(next, function(e) { fail(e); return next(); });\r\n }\r\n catch (e) {\r\n fail(e);\r\n }\r\n }\r\n if (env.hasError) throw env.error;\r\n }\r\n return next();\r\n };\r\n\r\n exporter(\"__extends\", __extends);\r\n exporter(\"__assign\", __assign);\r\n exporter(\"__rest\", __rest);\r\n exporter(\"__decorate\", __decorate);\r\n exporter(\"__param\", __param);\r\n exporter(\"__esDecorate\", __esDecorate);\r\n exporter(\"__runInitializers\", __runInitializers);\r\n exporter(\"__propKey\", __propKey);\r\n exporter(\"__setFunctionName\", __setFunctionName);\r\n exporter(\"__metadata\", __metadata);\r\n exporter(\"__awaiter\", __awaiter);\r\n exporter(\"__generator\", __generator);\r\n exporter(\"__exportStar\", __exportStar);\r\n exporter(\"__createBinding\", __createBinding);\r\n exporter(\"__values\", __values);\r\n exporter(\"__read\", __read);\r\n exporter(\"__spread\", __spread);\r\n exporter(\"__spreadArrays\", __spreadArrays);\r\n exporter(\"__spreadArray\", __spreadArray);\r\n exporter(\"__await\", __await);\r\n exporter(\"__asyncGenerator\", __asyncGenerator);\r\n exporter(\"__asyncDelegator\", __asyncDelegator);\r\n exporter(\"__asyncValues\", __asyncValues);\r\n exporter(\"__makeTemplateObject\", __makeTemplateObject);\r\n exporter(\"__importStar\", __importStar);\r\n exporter(\"__importDefault\", __importDefault);\r\n exporter(\"__classPrivateFieldGet\", __classPrivateFieldGet);\r\n exporter(\"__classPrivateFieldSet\", __classPrivateFieldSet);\r\n exporter(\"__classPrivateFieldIn\", __classPrivateFieldIn);\r\n exporter(\"__addDisposableResource\", __addDisposableResource);\r\n exporter(\"__disposeResources\", __disposeResources);\r\n});\r\n" + }, + { + "id": "./node_modules/webpack/buildin/global.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/webpack/buildin/global.js", + "name": "(webpack)/buildin/global.js", + "index": 3, + "index2": 0, + "size": 472, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "issuerId": "./node_modules/tslib/tslib.js", + "issuerName": "./node_modules/tslib/tslib.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/tslib/tslib.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "name": "./node_modules/tslib/tslib.js", + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + } + } + ], + "profile": { + "factory": 1543, + "building": 12 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_freeGlobal.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_freeGlobal.js", + "module": "./node_modules/lodash/_freeGlobal.js", + "moduleName": "./node_modules/lodash/_freeGlobal.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/tslib/tslib.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/tslib/tslib.js", + "module": "./node_modules/tslib/tslib.js", + "moduleName": "./node_modules/tslib/tslib.js", + "type": "cjs require", + "userRequest": "global", + "loc": "1:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "var g;\n\n// This works in non-strict mode\ng = (function() {\n\treturn this;\n})();\n\ntry {\n\t// This works if eval is allowed (see CSP)\n\tg = g || new Function(\"return this\")();\n} catch (e) {\n\t// This works if the window reference is available\n\tif (typeof window === \"object\") g = window;\n}\n\n// g can still be undefined, but nothing to do about it...\n// We return undefined, instead of nothing here, so it's\n// easier to handle this case. if(!global) { ...}\n\nmodule.exports = g;\n" + }, + { + "id": "./node_modules/webpack/buildin/module.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/webpack/buildin/module.js", + "name": "(webpack)/buildin/module.js", + "index": 248, + "index2": 234, + "size": 497, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "issuerId": "./node_modules/lodash/_cloneBuffer.js", + "issuerName": "./node_modules/lodash/_cloneBuffer.js", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./node_modules/dagre/index.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/index.js", + "name": "./node_modules/dagre/index.js", + "profile": { + "factory": 1881, + "building": 256 + } + }, + { + "id": "./node_modules/dagre/lib/util.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/util.js", + "name": "./node_modules/dagre/lib/util.js", + "profile": { + "factory": 172, + "building": 156, + "dependencies": 5 + } + }, + { + "id": "./node_modules/dagre/lib/lodash.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/dagre/lib/lodash.js", + "name": "./node_modules/dagre/lib/lodash.js", + "profile": { + "factory": 6, + "building": 424 + } + }, + { + "id": "./node_modules/lodash/cloneDeep.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/cloneDeep.js", + "name": "./node_modules/lodash/cloneDeep.js", + "profile": { + "factory": 449, + "building": 8, + "dependencies": 8 + } + }, + { + "id": "./node_modules/lodash/_baseClone.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_baseClone.js", + "name": "./node_modules/lodash/_baseClone.js", + "profile": { + "factory": 8, + "building": 155, + "dependencies": 267 + } + }, + { + "id": "./node_modules/lodash/_cloneBuffer.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "name": "./node_modules/lodash/_cloneBuffer.js", + "profile": { + "factory": 267, + "building": 11, + "dependencies": 11 + } + } + ], + "profile": { + "factory": 9, + "building": 6 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./node_modules/lodash/_cloneBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_cloneBuffer.js", + "module": "./node_modules/lodash/_cloneBuffer.js", + "moduleName": "./node_modules/lodash/_cloneBuffer.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/lodash/_nodeUtil.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/_nodeUtil.js", + "module": "./node_modules/lodash/_nodeUtil.js", + "moduleName": "./node_modules/lodash/_nodeUtil.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + }, + { + "moduleId": "./node_modules/lodash/isBuffer.js", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/lodash/isBuffer.js", + "module": "./node_modules/lodash/isBuffer.js", + "moduleName": "./node_modules/lodash/isBuffer.js", + "type": "cjs require", + "userRequest": "module", + "loc": "1:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 8, + "source": "module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n" + }, + { + "id": "./node_modules/wolfy87-eventemitter/EventEmitter.js", + "identifier": "/Users/valar/workspace/data-set/node_modules/wolfy87-eventemitter/EventEmitter.js", + "name": "./node_modules/wolfy87-eventemitter/EventEmitter.js", + "index": 119, + "index2": 116, + "size": 18855, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "issuerId": "./src/data-set.ts", + "issuerName": "./src/data-set.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/data-set.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "name": "./src/data-set.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 560, + "building": 31 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "wolfy87-eventemitter", + "loc": "9:53-84" + }, + { + "moduleId": "./src/view.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "module": "./src/view.ts", + "moduleName": "./src/view.ts", + "type": "cjs require", + "userRequest": "wolfy87-eventemitter", + "loc": "5:53-84" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "/*!\n * EventEmitter v5.2.9 - git.io/ee\n * Unlicense - http://unlicense.org/\n * Oliver Caldwell - https://oli.me.uk/\n * @preserve\n */\n\n;(function (exports) {\n 'use strict';\n\n /**\n * Class for managing events.\n * Can be extended to provide event functionality in other classes.\n *\n * @class EventEmitter Manages event registering and emitting.\n */\n function EventEmitter() {}\n\n // Shortcuts to improve speed and size\n var proto = EventEmitter.prototype;\n var originalGlobalValue = exports.EventEmitter;\n\n /**\n * Finds the index of the listener for the event in its storage array.\n *\n * @param {Function[]} listeners Array of listeners to search through.\n * @param {Function} listener Method to look for.\n * @return {Number} Index of the specified listener, -1 if not found\n * @api private\n */\n function indexOfListener(listeners, listener) {\n var i = listeners.length;\n while (i--) {\n if (listeners[i].listener === listener) {\n return i;\n }\n }\n\n return -1;\n }\n\n /**\n * Alias a method while keeping the context correct, to allow for overwriting of target method.\n *\n * @param {String} name The name of the target method.\n * @return {Function} The aliased method\n * @api private\n */\n function alias(name) {\n return function aliasClosure() {\n return this[name].apply(this, arguments);\n };\n }\n\n /**\n * Returns the listener array for the specified event.\n * Will initialise the event object and listener arrays if required.\n * Will return an object if you use a regex search. The object contains keys for each matched event. So /ba[rz]/ might return an object containing bar and baz. But only if you have either defined them with defineEvent or added some listeners to them.\n * Each property in the object response is an array of listener functions.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Function[]|Object} All listener functions for the event.\n */\n proto.getListeners = function getListeners(evt) {\n var events = this._getEvents();\n var response;\n var key;\n\n // Return a concatenated array of all matching events if\n // the selector is a regular expression.\n if (evt instanceof RegExp) {\n response = {};\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n response[key] = events[key];\n }\n }\n }\n else {\n response = events[evt] || (events[evt] = []);\n }\n\n return response;\n };\n\n /**\n * Takes a list of listener objects and flattens it into a list of listener functions.\n *\n * @param {Object[]} listeners Raw listener objects.\n * @return {Function[]} Just the listener functions.\n */\n proto.flattenListeners = function flattenListeners(listeners) {\n var flatListeners = [];\n var i;\n\n for (i = 0; i < listeners.length; i += 1) {\n flatListeners.push(listeners[i].listener);\n }\n\n return flatListeners;\n };\n\n /**\n * Fetches the requested listeners via getListeners but will always return the results inside an object. This is mainly for internal use but others may find it useful.\n *\n * @param {String|RegExp} evt Name of the event to return the listeners from.\n * @return {Object} All listener functions for an event in an object.\n */\n proto.getListenersAsObject = function getListenersAsObject(evt) {\n var listeners = this.getListeners(evt);\n var response;\n\n if (listeners instanceof Array) {\n response = {};\n response[evt] = listeners;\n }\n\n return response || listeners;\n };\n\n function isValidListener (listener) {\n if (typeof listener === 'function' || listener instanceof RegExp) {\n return true\n } else if (listener && typeof listener === 'object') {\n return isValidListener(listener.listener)\n } else {\n return false\n }\n }\n\n /**\n * Adds a listener function to the specified event.\n * The listener will not be added if it is a duplicate.\n * If the listener returns true then it will be removed after it is called.\n * If you pass a regular expression as the event name then the listener will be added to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListener = function addListener(evt, listener) {\n if (!isValidListener(listener)) {\n throw new TypeError('listener must be a function');\n }\n\n var listeners = this.getListenersAsObject(evt);\n var listenerIsWrapped = typeof listener === 'object';\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key) && indexOfListener(listeners[key], listener) === -1) {\n listeners[key].push(listenerIsWrapped ? listener : {\n listener: listener,\n once: false\n });\n }\n }\n\n return this;\n };\n\n /**\n * Alias of addListener\n */\n proto.on = alias('addListener');\n\n /**\n * Semi-alias of addListener. It will add a listener that will be\n * automatically removed after its first execution.\n *\n * @param {String|RegExp} evt Name of the event to attach the listener to.\n * @param {Function} listener Method to be called when the event is emitted. If the function returns true then it will be removed after calling.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addOnceListener = function addOnceListener(evt, listener) {\n return this.addListener(evt, {\n listener: listener,\n once: true\n });\n };\n\n /**\n * Alias of addOnceListener.\n */\n proto.once = alias('addOnceListener');\n\n /**\n * Defines an event name. This is required if you want to use a regex to add a listener to multiple events at once. If you don't do this then how do you expect it to know what event to add to? Should it just add to every possible match for a regex? No. That is scary and bad.\n * You need to tell it what event names should be matched by a regex.\n *\n * @param {String} evt Name of the event to create.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvent = function defineEvent(evt) {\n this.getListeners(evt);\n return this;\n };\n\n /**\n * Uses defineEvent to define multiple events.\n *\n * @param {String[]} evts An array of event names to define.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.defineEvents = function defineEvents(evts) {\n for (var i = 0; i < evts.length; i += 1) {\n this.defineEvent(evts[i]);\n }\n return this;\n };\n\n /**\n * Removes a listener function from the specified event.\n * When passed a regular expression as the event name, it will remove the listener from all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to remove the listener from.\n * @param {Function} listener Method to remove from the event.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListener = function removeListener(evt, listener) {\n var listeners = this.getListenersAsObject(evt);\n var index;\n var key;\n\n for (key in listeners) {\n if (listeners.hasOwnProperty(key)) {\n index = indexOfListener(listeners[key], listener);\n\n if (index !== -1) {\n listeners[key].splice(index, 1);\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of removeListener\n */\n proto.off = alias('removeListener');\n\n /**\n * Adds listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can add to multiple events at once. The object should contain key value pairs of events and listeners or listener arrays. You can also pass it an event name and an array of listeners to be added.\n * You can also pass it a regular expression to add the array of listeners to all events that match it.\n * Yeah, this function does quite a bit. That's probably a bad thing.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add to multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.addListeners = function addListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(false, evt, listeners);\n };\n\n /**\n * Removes listeners in bulk using the manipulateListeners method.\n * If you pass an object as the first argument you can remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be removed.\n * You can also pass it a regular expression to remove the listeners from all events that match it.\n *\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeListeners = function removeListeners(evt, listeners) {\n // Pass through to manipulateListeners\n return this.manipulateListeners(true, evt, listeners);\n };\n\n /**\n * Edits listeners in bulk. The addListeners and removeListeners methods both use this to do their job. You should really use those instead, this is a little lower level.\n * The first argument will determine if the listeners are removed (true) or added (false).\n * If you pass an object as the second argument you can add/remove from multiple events at once. The object should contain key value pairs of events and listeners or listener arrays.\n * You can also pass it an event name and an array of listeners to be added/removed.\n * You can also pass it a regular expression to manipulate the listeners of all events that match it.\n *\n * @param {Boolean} remove True if you want to remove listeners, false if you want to add.\n * @param {String|Object|RegExp} evt An event name if you will pass an array of listeners next. An object if you wish to add/remove from multiple events at once.\n * @param {Function[]} [listeners] An optional array of listener functions to add/remove.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.manipulateListeners = function manipulateListeners(remove, evt, listeners) {\n var i;\n var value;\n var single = remove ? this.removeListener : this.addListener;\n var multiple = remove ? this.removeListeners : this.addListeners;\n\n // If evt is an object then pass each of its properties to this method\n if (typeof evt === 'object' && !(evt instanceof RegExp)) {\n for (i in evt) {\n if (evt.hasOwnProperty(i) && (value = evt[i])) {\n // Pass the single listener straight through to the singular method\n if (typeof value === 'function') {\n single.call(this, i, value);\n }\n else {\n // Otherwise pass back to the multiple function\n multiple.call(this, i, value);\n }\n }\n }\n }\n else {\n // So evt must be a string\n // And listeners must be an array of listeners\n // Loop over it and pass each one to the multiple method\n i = listeners.length;\n while (i--) {\n single.call(this, evt, listeners[i]);\n }\n }\n\n return this;\n };\n\n /**\n * Removes all listeners from a specified event.\n * If you do not specify an event then all listeners will be removed.\n * That means every event will be emptied.\n * You can also pass a regex to remove all events that match it.\n *\n * @param {String|RegExp} [evt] Optional name of the event to remove all listeners for. Will remove from every event if not passed.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.removeEvent = function removeEvent(evt) {\n var type = typeof evt;\n var events = this._getEvents();\n var key;\n\n // Remove different things depending on the state of evt\n if (type === 'string') {\n // Remove all listeners for the specified event\n delete events[evt];\n }\n else if (evt instanceof RegExp) {\n // Remove all events matching the regex.\n for (key in events) {\n if (events.hasOwnProperty(key) && evt.test(key)) {\n delete events[key];\n }\n }\n }\n else {\n // Remove all listeners in all events\n delete this._events;\n }\n\n return this;\n };\n\n /**\n * Alias of removeEvent.\n *\n * Added to mirror the node API.\n */\n proto.removeAllListeners = alias('removeEvent');\n\n /**\n * Emits an event of your choice.\n * When emitted, every listener attached to that event will be executed.\n * If you pass the optional argument array then those arguments will be passed to every listener upon execution.\n * Because it uses `apply`, your array of arguments will be passed as if you wrote them out separately.\n * So they will not arrive within the array on the other side, they will be separate.\n * You can also pass a regular expression to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {Array} [args] Optional array of arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emitEvent = function emitEvent(evt, args) {\n var listenersMap = this.getListenersAsObject(evt);\n var listeners;\n var listener;\n var i;\n var key;\n var response;\n\n for (key in listenersMap) {\n if (listenersMap.hasOwnProperty(key)) {\n listeners = listenersMap[key].slice(0);\n\n for (i = 0; i < listeners.length; i++) {\n // If the listener returns true then it shall be removed from the event\n // The function is executed either with a basic call or an apply if there is an args array\n listener = listeners[i];\n\n if (listener.once === true) {\n this.removeListener(evt, listener.listener);\n }\n\n response = listener.listener.apply(this, args || []);\n\n if (response === this._getOnceReturnValue()) {\n this.removeListener(evt, listener.listener);\n }\n }\n }\n }\n\n return this;\n };\n\n /**\n * Alias of emitEvent\n */\n proto.trigger = alias('emitEvent');\n\n /**\n * Subtly different from emitEvent in that it will pass its arguments on to the listeners, as opposed to taking a single array of arguments to pass on.\n * As with emitEvent, you can pass a regex in place of the event name to emit to all events that match it.\n *\n * @param {String|RegExp} evt Name of the event to emit and execute listeners for.\n * @param {...*} Optional additional arguments to be passed to each listener.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.emit = function emit(evt) {\n var args = Array.prototype.slice.call(arguments, 1);\n return this.emitEvent(evt, args);\n };\n\n /**\n * Sets the current value to check against when executing listeners. If a\n * listeners return value matches the one set here then it will be removed\n * after execution. This value defaults to true.\n *\n * @param {*} value The new value to check for when executing listeners.\n * @return {Object} Current instance of EventEmitter for chaining.\n */\n proto.setOnceReturnValue = function setOnceReturnValue(value) {\n this._onceReturnValue = value;\n return this;\n };\n\n /**\n * Fetches the current value to check against when executing listeners. If\n * the listeners return value matches this one then it should be removed\n * automatically. It will return true by default.\n *\n * @return {*|Boolean} The current value to check for or the default, true.\n * @api private\n */\n proto._getOnceReturnValue = function _getOnceReturnValue() {\n if (this.hasOwnProperty('_onceReturnValue')) {\n return this._onceReturnValue;\n }\n else {\n return true;\n }\n };\n\n /**\n * Fetches the events object and creates one if required.\n *\n * @return {Object} The events storage object.\n * @api private\n */\n proto._getEvents = function _getEvents() {\n return this._events || (this._events = {});\n };\n\n /**\n * Reverts the global {@link EventEmitter} to its previous value and returns a reference to this version.\n *\n * @return {Function} Non conflicting EventEmitter class.\n */\n EventEmitter.noConflict = function noConflict() {\n exports.EventEmitter = originalGlobalValue;\n return EventEmitter;\n };\n\n // Expose the class either via AMD, CommonJS or the global object\n if (typeof define === 'function' && define.amd) {\n define(function () {\n return EventEmitter;\n });\n }\n else if (typeof module === 'object' && module.exports){\n module.exports = EventEmitter;\n }\n else {\n exports.EventEmitter = EventEmitter;\n }\n}(typeof window !== 'undefined' ? window : this || {}));\n" + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "index": 1, + "index2": 123, + "size": 3104, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/geo", + "loc": "3:0-20" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar d3_geo_projection_1 = require(\"d3-geo-projection\");\nvar view_1 = require(\"../view\");\nvar get_geo_projection_1 = tslib_1.__importDefault(require(\"../util/get-geo-projection\"));\nvar api = {\n // geo maintain\n geoArea: function (feature) {\n return (0, d3_geo_1.geoArea)(feature);\n },\n geoAreaByName: function (name) {\n return (0, d3_geo_1.geoArea)(this.geoFeatureByName(name));\n },\n geoCentroid: function (feature) {\n return (0, d3_geo_1.geoCentroid)(feature);\n },\n geoCentroidByName: function (name) {\n return (0, d3_geo_1.geoCentroid)(this.geoFeatureByName(name));\n },\n geoDistance: function (p1, p2) {\n return (0, d3_geo_1.geoDistance)(p1, p2);\n },\n geoLength: function (feature) {\n return (0, d3_geo_1.geoLength)(feature);\n },\n geoLengthByName: function (name) {\n return (0, d3_geo_1.geoLength)(this.geoFeatureByName(name));\n },\n geoContains: function (feature, position /* [longitude, latitude] */) {\n return (0, d3_geo_1.geoContains)(feature, position);\n },\n geoFeatureByName: function (name) {\n var rows = this.rows;\n var result;\n rows.some(function (feature) {\n if (feature.name === name) {\n result = feature;\n return true;\n }\n return false;\n });\n return result;\n },\n geoFeatureByPosition: function (position) {\n var rows = this.rows;\n var result;\n rows.some(function (feature) {\n if ((0, d3_geo_1.geoContains)(feature, position)) {\n result = feature;\n return true;\n }\n return false;\n });\n return result;\n },\n geoNameByPosition: function (position) {\n var feature = this.geoFeatureByPosition(position);\n if (feature) {\n return feature.name;\n }\n },\n // projection\n // export getGeoProjection for custom used.\n getGeoProjection: get_geo_projection_1.default,\n geoProject: function (feature, projection, exportRaw) {\n projection = (0, get_geo_projection_1.default)(projection, exportRaw);\n return (0, d3_geo_projection_1.geoProject)(feature, projection);\n },\n geoProjectByName: function (name, projection, exportRaw) {\n projection = (0, get_geo_projection_1.default)(projection, exportRaw);\n return (0, d3_geo_projection_1.geoProject)(this.geoFeatureByName(name), projection);\n },\n geoProjectPosition: function (position, projection, exportRaw) {\n var func = (0, get_geo_projection_1.default)(projection, exportRaw);\n return func(position);\n },\n geoProjectInvert: function (position /* [x, y] */, projection, exportRaw) {\n var func = (0, get_geo_projection_1.default)(projection, exportRaw);\n return func.invert(position);\n },\n};\n(0, util_1.assign)(view_1.View.prototype, api);\n" + }, + { + "id": "./src/api/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "name": "./src/api/hierarchy.ts", + "index": 125, + "index2": 124, + "size": 1259, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/hierarchy", + "loc": "4:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar view_1 = require(\"../view\");\n(0, util_1.assign)(view_1.View.prototype, {\n getAllNodes: function () {\n var nodes = [];\n var root = this.root;\n if (root && root.each) {\n // d3-hierarchy\n root.each(function (node) {\n nodes.push(node);\n });\n }\n else if (root && root.eachNode) {\n // @antv/hierarchy\n root.eachNode(function (node) {\n nodes.push(node);\n });\n }\n return nodes;\n },\n getAllLinks: function () {\n var links = [];\n var nodes = [this.root];\n var node;\n while ((node = nodes.pop())) {\n var children = node.children;\n if (children) {\n children.forEach(function (child) {\n links.push({\n source: node,\n target: child,\n });\n nodes.push(child);\n });\n }\n }\n return links;\n },\n});\n(0, util_1.assign)(view_1.View.prototype, {\n getAllEdges: view_1.View.prototype.getAllLinks,\n});\n" + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "index": 126, + "index2": 127, + "size": 829, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/partition", + "loc": "5:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar view_1 = require(\"../view\");\n(0, util_1.assign)(view_1.View.prototype, {\n partition: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n return (0, partition_1.default)(this.rows, group_by, order_by);\n },\n group: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n var groups = this.partition(group_by, order_by);\n return (0, util_1.values)(groups);\n },\n groups: function (group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n return this.group(group_by, order_by);\n },\n});\n" + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "index": 129, + "index2": 131, + "size": 1674, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./api/statistics", + "loc": "6:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar util_1 = require(\"@antv/util\");\nvar view_1 = require(\"../view\");\nvar p_by_fraction_1 = tslib_1.__importDefault(require(\"../util/p-by-fraction\"));\nvar constants_1 = tslib_1.__importDefault(require(\"../constants\"));\nvar STATISTICS_METHODS = constants_1.default.STATISTICS_METHODS;\nfunction getColumnValues(view, column) {\n var values = view.getColumn(column);\n if ((0, util_1.isArray)(values) && (0, util_1.isArray)(values[0])) {\n values = (0, util_1.flattenDeep)(values);\n }\n return values;\n}\n// statistics\nSTATISTICS_METHODS.forEach(function (method) {\n // @ts-ignore;\n view_1.View.prototype[method] = function (column) {\n // @ts-ignore\n return simpleStatistics[method](getColumnValues(this, column));\n };\n});\nvar quantile = simpleStatistics.quantile;\n(0, util_1.assign)(view_1.View.prototype, {\n average: view_1.View.prototype.mean,\n quantile: function (column, p) {\n return quantile(getColumnValues(this, column), p);\n },\n quantiles: function (column, pArr) {\n var columnArr = getColumnValues(this, column);\n return pArr.map(function (p) { return quantile(columnArr, p); });\n },\n quantilesByFraction: function (column, fraction) {\n return this.quantiles(column, (0, p_by_fraction_1.default)(fraction));\n },\n range: function (column) {\n return [this.min(column), this.max(column)];\n },\n extent: function (column) {\n // alias\n return this.range(column);\n },\n});\n" + }, + { + "id": "./src/connector/default.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "name": "./src/connector/default.ts", + "index": 133, + "index2": 133, + "size": 486, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/default", + "loc": "8:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../data-set\");\ndata_set_1.DataSet.registerConnector('default', function (data, dataSet) {\n var view;\n if ((0, util_1.isString)(data)) {\n view = dataSet.getView(data);\n }\n else {\n view = data;\n }\n if (!view) {\n throw new TypeError('Invalid dataView');\n }\n return (0, util_1.deepMix)([], view.rows);\n});\n" + }, + { + "id": "./src/connector/dsv.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "name": "./src/connector/dsv.ts", + "index": 135, + "index2": 135, + "size": 741, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/dsv", + "loc": "9:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_dsv_1 = require(\"d3-dsv\");\nvar data_set_1 = require(\"../data-set\");\ndata_set_1.DataSet.registerConnector('dsv', function (str, options) {\n if (options === void 0) { options = {}; }\n var delimiter = options.delimiter || ',';\n if (!(0, util_1.isString)(delimiter)) {\n throw new TypeError('Invalid delimiter: must be a string!');\n }\n return (0, d3_dsv_1.dsvFormat)(delimiter).parse(str);\n});\ndata_set_1.DataSet.registerConnector('csv', function (str) {\n return (0, d3_dsv_1.csvParse)(str);\n});\ndata_set_1.DataSet.registerConnector('tsv', function (str) {\n return (0, d3_dsv_1.tsvParse)(str);\n});\n" + }, + { + "id": "./src/connector/geo-graticule.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "name": "./src/connector/geo-graticule.ts", + "index": 137, + "index2": 136, + "size": 530, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/geo-graticule", + "loc": "10:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar d3_geo_1 = require(\"d3-geo\");\nvar data_set_1 = require(\"../data-set\");\nfunction connector(_options, dataView) {\n dataView.dataType = 'geo-graticule';\n var data = (0, d3_geo_1.geoGraticule)().lines();\n data.map(function (row, index) {\n row.index = \"\".concat(index);\n return row;\n });\n dataView.rows = data;\n return data;\n}\nexports.default = connector;\ndata_set_1.DataSet.registerConnector('geo-graticule', connector);\n" + }, + { + "id": "./src/connector/geojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "name": "./src/connector/geojson.ts", + "index": 138, + "index2": 141, + "size": 1413, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "./geojson", + "loc": "6:40-60" + }, + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/geojson", + "loc": "11:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar point_at_length_1 = tslib_1.__importDefault(require(\"point-at-length\"));\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar data_set_1 = require(\"../data-set\");\nvar geoPathGenerator = (0, d3_geo_1.geoPath)();\nfunction GeoJSONConnector(data, _options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.GEO;\n var features = (0, util_1.deepMix)([], data.features);\n // pre-process\n features.forEach(function (feature) {\n feature.name = feature.properties.name;\n feature.longitude = [];\n feature.latitude = [];\n var pathData = (feature.pathData = geoPathGenerator(feature));\n var points = (0, point_at_length_1.default)(pathData);\n points._path.forEach(function (point) {\n feature.longitude.push(point[1]);\n feature.latitude.push(point[2]);\n });\n var centroid = geoPathGenerator.centroid(feature);\n feature.centroidX = centroid[0];\n feature.centroidY = centroid[1];\n });\n // dataView.origin = features;\n return features;\n}\ndata_set_1.DataSet.registerConnector('geo', GeoJSONConnector);\ndata_set_1.DataSet.registerConnector('geojson', GeoJSONConnector);\ndata_set_1.DataSet.registerConnector('GeoJSON', GeoJSONConnector);\nexports.default = GeoJSONConnector;\n" + }, + { + "id": "./src/connector/graph.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "name": "./src/connector/graph.ts", + "index": 143, + "index2": 142, + "size": 1145, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/graph", + "loc": "12:0-28" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../data-set\");\nvar DEFAULT_OPTIONS = {\n nodes: function (d) {\n // optional\n return d.nodes;\n },\n edges: function (d) {\n // optional\n return d.edges;\n },\n};\nfunction connector(data, options, dataView) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n dataView.dataType = data_set_1.DataSet.CONSTANTS.GRAPH;\n var nodes = options.nodes, edges = options.edges;\n if (nodes && !(0, util_1.isFunction)(nodes)) {\n throw new TypeError('Invalid nodes: must be a function!');\n }\n if (edges && !(0, util_1.isFunction)(edges)) {\n throw new TypeError('Invalid edges: must be a function!');\n }\n // @ts-ignore\n dataView.rows = dataView.graph = {\n // @ts-ignore\n nodes: nodes(data),\n edges: edges(data),\n };\n (0, util_1.assign)(dataView, dataView.graph);\n return dataView.rows;\n}\ndata_set_1.DataSet.registerConnector('graph', connector);\ndata_set_1.DataSet.registerConnector('diagram', connector);\n" + }, + { + "id": "./src/connector/hexjson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "name": "./src/connector/hexjson.ts", + "index": 144, + "index2": 144, + "size": 1406, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/hexjson", + "loc": "13:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_hexjson_1 = require(\"d3-hexjson\");\nvar data_set_1 = require(\"../data-set\");\nvar DEFAULT_OPTIONS = {\n width: 1,\n height: 1,\n};\nfunction processRow(row) {\n row.cx = row.x;\n row.cy = row.y;\n row.x = [];\n row.y = [];\n row.vertices.forEach(function (v) {\n row.x.push(v.x + row.cx);\n row.y.push(v.y + row.cy);\n });\n return row;\n}\nfunction HexJSONConnector(data, options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.HEX;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var width = options.width, height = options.height;\n var HexJSON = (0, util_1.deepMix)([], data);\n dataView._HexJSON = HexJSON;\n var grid = (dataView._GridHexJSON = (0, d3_hexjson_1.getGridForHexJSON)(HexJSON));\n var rows = (dataView.rows = (0, d3_hexjson_1.renderHexJSON)(HexJSON, width, height).map(processRow));\n dataView._gridRows = (0, d3_hexjson_1.renderHexJSON)(grid, width, height).map(processRow);\n return rows;\n}\ndata_set_1.DataSet.registerConnector('hex', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('hexjson', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('hex-json', HexJSONConnector);\ndata_set_1.DataSet.registerConnector('HexJSON', HexJSONConnector);\nexports.default = HexJSONConnector;\n" + }, + { + "id": "./src/connector/hierarchy.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "name": "./src/connector/hierarchy.ts", + "index": 146, + "index2": 146, + "size": 862, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/hierarchy", + "loc": "14:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar d3_hierarchy_1 = require(\"d3-hierarchy\");\nvar data_set_1 = require(\"../data-set\");\nfunction connector(data, options, dataView) {\n dataView.dataType = data_set_1.DataSet.CONSTANTS.HIERARCHY;\n var children = options && options.children ? options.children : null;\n if (children && !(0, util_1.isFunction)(children)) {\n throw new TypeError('Invalid children: must be a function!');\n }\n if (!options.pureData) {\n // @ts-ignore\n dataView.rows = dataView.root = (0, d3_hierarchy_1.hierarchy)(data, children);\n }\n else {\n dataView.rows = dataView.root = data;\n }\n return data;\n}\ndata_set_1.DataSet.registerConnector('hierarchy', connector);\ndata_set_1.DataSet.registerConnector('tree', connector);\n" + }, + { + "id": "./src/connector/topojson.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "name": "./src/connector/topojson.ts", + "index": 148, + "index2": 148, + "size": 784, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./connector/topojson", + "loc": "15:0-31" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar topojson_client_1 = require(\"topojson-client\");\nvar geojson_1 = tslib_1.__importDefault(require(\"./geojson\"));\nvar data_set_1 = require(\"../data-set\");\nfunction TopoJSONConnector(data, options, dataView) {\n var object = options.object;\n if (!(0, util_1.isString)(object)) {\n throw new TypeError('Invalid object: must be a string!');\n }\n var geoData = (0, topojson_client_1.feature)(data, data.objects[object]);\n return (0, geojson_1.default)(geoData, undefined, dataView);\n}\ndata_set_1.DataSet.registerConnector('topojson', TopoJSONConnector);\ndata_set_1.DataSet.registerConnector('TopoJSON', TopoJSONConnector);\n" + }, + { + "id": "./src/constants.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/constants.ts", + "name": "./src/constants.ts", + "index": 132, + "index2": 130, + "size": 471, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../constants", + "loc": "8:42-65" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "./constants", + "loc": "11:42-64" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = {\n HIERARCHY: 'hierarchy',\n GEO: 'geo',\n HEX: 'hex',\n GRAPH: 'graph',\n TABLE: 'table',\n GEO_GRATICULE: 'geo-graticule',\n STATISTICS_METHODS: [\n 'max',\n 'mean', // alias: average\n 'median',\n 'min',\n 'mode',\n 'product',\n 'standardDeviation',\n 'sum',\n 'sumSimple',\n 'variance',\n ],\n};\n" + }, + { + "id": "./src/data-set.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "name": "./src/data-set.ts", + "index": 134, + "index2": 132, + "size": 4582, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/connector/default.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/default.ts", + "module": "./src/connector/default.ts", + "moduleName": "./src/connector/default.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/dsv.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/dsv.ts", + "module": "./src/connector/dsv.ts", + "moduleName": "./src/connector/dsv.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/geo-graticule.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geo-graticule.ts", + "module": "./src/connector/geo-graticule.ts", + "moduleName": "./src/connector/geo-graticule.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/geojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/geojson.ts", + "module": "./src/connector/geojson.ts", + "moduleName": "./src/connector/geojson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + }, + { + "moduleId": "./src/connector/graph.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/graph.ts", + "module": "./src/connector/graph.ts", + "moduleName": "./src/connector/graph.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "4:17-39" + }, + { + "moduleId": "./src/connector/hexjson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hexjson.ts", + "module": "./src/connector/hexjson.ts", + "moduleName": "./src/connector/hexjson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/hierarchy.ts", + "module": "./src/connector/hierarchy.ts", + "moduleName": "./src/connector/hierarchy.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "5:17-39" + }, + { + "moduleId": "./src/connector/topojson.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/connector/topojson.ts", + "module": "./src/connector/topojson.ts", + "moduleName": "./src/connector/topojson.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + }, + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./data-set", + "loc": "70:17-38" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "8:17-39" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "8:17-42" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/diagram/arc.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "module": "./src/transform/diagram/arc.ts", + "moduleName": "./src/transform/diagram/arc.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "8:17-42" + }, + { + "moduleId": "./src/transform/diagram/dagre.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "module": "./src/transform/diagram/dagre.ts", + "moduleName": "./src/transform/diagram/dagre.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/diagram/sankey.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "module": "./src/transform/diagram/sankey.ts", + "moduleName": "./src/transform/diagram/sankey.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "9:17-42" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "4:17-42" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "7:17-42" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "4:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/compact-box.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "module": "./src/transform/hierarchy/compact-box.ts", + "moduleName": "./src/transform/hierarchy/compact-box.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/dendrogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "module": "./src/transform/hierarchy/dendrogram.ts", + "moduleName": "./src/transform/hierarchy/dendrogram.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/indented.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "module": "./src/transform/hierarchy/indented.ts", + "moduleName": "./src/transform/hierarchy/indented.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "5:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "6:17-42" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../data-set", + "loc": "10:17-42" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../data-set", + "loc": "7:17-39" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\n/**\n * @jest-environment jsdom\n */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.DataSet = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar wolfy87_eventemitter_1 = tslib_1.__importDefault(require(\"wolfy87-eventemitter\"));\nvar view_1 = require(\"./view\");\nvar constants_1 = tslib_1.__importDefault(require(\"./constants\"));\n/**\n * 数据集\n * @public\n */\nvar DataSet = /** @class */ (function (_super) {\n tslib_1.__extends(DataSet, _super);\n /**\n * @param initialProps - 初始状态\n */\n function DataSet(initialProps) {\n if (initialProps === void 0) { initialProps = { state: {} }; }\n var _this = _super.call(this) || this;\n /**\n * 否是 DataSet\n */\n _this.isDataSet = true;\n _this._onChangeTimer = null;\n /**\n * 所有挂在数据集上的数据视图(key-value 对)\n */\n _this.views = {};\n /**\n * 存储数据集上的状态量(key-value 对)\n */\n _this.state = {};\n // assign(me, initialProps);\n _this.state = initialProps.state;\n return _this;\n }\n /**\n * 注册一个数据连接函数,注册后所有数据视图都可以使用 name 来引用这个数据连接函数,从而接入某种数据源。\n * @param name - 类型\n * @param connector - 解析逻辑\n */\n DataSet.registerConnector = function (name, connector) {\n DataSet.connectors[name] = connector;\n };\n DataSet.getConnector = function (name) {\n return DataSet.connectors[name] || DataSet.connectors.default;\n };\n /**\n * 注册一个数据处理函数,注册后所有数据视图都可以使用 name 来引用这个数据处理函数,从而进行某种数据处理\n * @param name - transform 类型\n * @param transform - transform逻辑\n */\n DataSet.registerTransform = function (name, transform) {\n DataSet.transforms[name] = transform;\n };\n DataSet.getTransform = function (name) {\n return DataSet.transforms[name] || DataSet.transforms.default;\n };\n DataSet.prototype._getUniqueViewName = function () {\n var name = (0, util_1.uniqueId)('view_');\n while (this.views[name]) {\n name = (0, util_1.uniqueId)('view_');\n }\n return name;\n };\n DataSet.prototype.createView = function (name, options) {\n if ((0, util_1.isNil)(name)) {\n name = this._getUniqueViewName();\n }\n if ((0, util_1.isObject)(name)) {\n options = name;\n name = this._getUniqueViewName();\n }\n if (this.views[name]) {\n throw new Error(\"data view exists: \".concat(name));\n }\n var view = new view_1.View(this, options);\n this.views[name] = view;\n return view;\n };\n /**\n * 返回 name 对应的数据视图实例\n * @param name - name\n */\n DataSet.prototype.getView = function (name) {\n return this.views[name];\n };\n /**\n * 设置 name 对应的数据视图实例为 dv\n * @param name - 名称\n * @param view - data view\n */\n DataSet.prototype.setView = function (name, view) {\n this.views[name] = view;\n };\n /**\n * 设置状态量 name 的值为 value\n * @param name - 状态名\n * @param value - 值\n */\n DataSet.prototype.setState = function (name, value) {\n var _this = this;\n this.state[name] = value;\n if (this._onChangeTimer) {\n window.clearTimeout(this._onChangeTimer);\n this._onChangeTimer = null;\n }\n this._onChangeTimer = window.setTimeout(function () {\n _this.emit('statechange', name, value);\n }, 16); // execute after one frame\n };\n /**\n * 常量,譬如 DataSet.CONSTANTS.HIERARCHY 是树形结构的名称\n */\n DataSet.CONSTANTS = constants_1.default;\n /**\n * 注册的 Connector(key-value 对)\n */\n DataSet.connectors = {};\n /**\n * 已注册的 Transform(key-value 对)\n */\n DataSet.transforms = {};\n DataSet.DataSet = DataSet;\n DataSet.DataView = view_1.View; // alias\n DataSet.View = view_1.View;\n DataSet.version = '____DATASET_VERSION____';\n return DataSet;\n}(wolfy87_eventemitter_1.default));\nexports.DataSet = DataSet;\n// @ts-ignore\n(0, util_1.assign)(DataSet, constants_1.default);\n// @ts-ignore\n(0, util_1.assign)(DataSet.prototype, {\n view: DataSet.prototype.createView, // alias\n});\nview_1.View.DataSet = DataSet;\n" + }, + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "index": 0, + "index2": 493, + "size": 2123, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": null, + "issuerId": null, + "issuerName": null, + "issuerPath": null, + "profile": { + "factory": 9, + "building": 1395 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": null, + "moduleIdentifier": null, + "module": null, + "moduleName": null, + "type": "single entry", + "userRequest": "./src/index.ts", + "loc": "data-set" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 0, + "source": "\"use strict\";\n// extra APIs\nrequire(\"./api/geo\");\nrequire(\"./api/hierarchy\");\nrequire(\"./api/partition\");\nrequire(\"./api/statistics\");\n// connectors\nrequire(\"./connector/default\");\nrequire(\"./connector/dsv\");\nrequire(\"./connector/geo-graticule\");\nrequire(\"./connector/geojson\");\nrequire(\"./connector/graph\");\nrequire(\"./connector/hexjson\");\nrequire(\"./connector/hierarchy\");\nrequire(\"./connector/topojson\");\n// transforms\n// static\nrequire(\"./transform/default\");\nrequire(\"./transform/filter\");\nrequire(\"./transform/fold\");\nrequire(\"./transform/map\");\nrequire(\"./transform/partition\");\nrequire(\"./transform/percent\");\nrequire(\"./transform/pick\");\nrequire(\"./transform/proportion\");\nrequire(\"./transform/rename\");\nrequire(\"./transform/reverse\");\nrequire(\"./transform/sort\");\nrequire(\"./transform/sort-by\");\nrequire(\"./transform/subset\");\n// imputation\nrequire(\"./transform/fill-rows\");\nrequire(\"./transform/impute\");\n// statistics\nrequire(\"./transform/aggregate\");\n// regression\nrequire(\"./transform/regression\");\n// KDE\nrequire(\"./transform/kde\");\n// binning\nrequire(\"./transform/bin/hexagon\");\nrequire(\"./transform/bin/histogram\");\nrequire(\"./transform/bin/quantile\");\nrequire(\"./transform/bin/rectangle\");\n// geo\nrequire(\"./transform/geo/centroid\");\nrequire(\"./transform/geo/projection\");\nrequire(\"./transform/geo/region\");\n// diagram\nrequire(\"./transform/diagram/arc\");\nrequire(\"./transform/diagram/dagre\");\nrequire(\"./transform/diagram/sankey\");\nrequire(\"./transform/diagram/voronoi\");\n// hierarchy\nrequire(\"./transform/hierarchy/cluster\");\nrequire(\"./transform/hierarchy/compact-box\");\nrequire(\"./transform/hierarchy/dendrogram\");\nrequire(\"./transform/hierarchy/indented\");\nrequire(\"./transform/hierarchy/pack\");\nrequire(\"./transform/hierarchy/partition\");\nrequire(\"./transform/hierarchy/tree\");\nrequire(\"./transform/hierarchy/treemap\");\n// tag cloud\nrequire(\"./transform/tag-cloud\");\n// waffle\nrequire(\"./transform/waffle\");\n// kernel smoothing\nrequire(\"./transform/kernel-smooth/density\");\nrequire(\"./transform/kernel-smooth/regression\");\nvar data_set_1 = require(\"./data-set\");\nmodule.exports = data_set_1.DataSet;\n" + }, + { + "id": "./src/transform/aggregate.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "name": "./src/transform/aggregate.ts", + "index": 166, + "index2": 165, + "size": 3018, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/aggregate", + "loc": "35:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.aggregates = void 0;\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar data_set_1 = require(\"../data-set\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: [],\n fields: [],\n groupBy: [],\n operations: [],\n};\nvar DEFAULT_OPERATION = 'count';\nvar aggregates = {\n count: function (data) {\n return data.length;\n },\n distinct: function (data, field) {\n var values = (0, util_1.uniq)(data.map(function (row) { return row[field]; }));\n return values.length;\n },\n};\nexports.aggregates = aggregates;\ndata_set_1.DataSet.CONSTANTS.STATISTICS_METHODS.forEach(function (method) {\n aggregates[method] = function (data, field) {\n var values = data.map(function (row) { return row[field]; });\n if ((0, util_1.isArray)(values) && (0, util_1.isArray)(values[0])) {\n values = (0, util_1.flattenDeep)(values);\n }\n // @ts-ignore\n return simpleStatistics[method](values);\n };\n});\naggregates.average = aggregates.mean;\nfunction aggregateTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields)) {\n throw new TypeError('Invalid fields: it must be an array with one or more strings!');\n }\n var outputNames = options.as || [];\n if ((0, util_1.isString)(outputNames)) {\n outputNames = [outputNames];\n }\n var operations = options.operations;\n if ((0, util_1.isString)(operations)) {\n operations = [operations];\n }\n var DEFAULT_OPERATIONS = [DEFAULT_OPERATION];\n if (!(0, util_1.isArray)(operations) || !operations.length) {\n console.warn('operations is not defined, will use [ \"count\" ] directly.');\n operations = DEFAULT_OPERATIONS;\n outputNames = operations;\n }\n if (!(operations.length === 1 && operations[0] === DEFAULT_OPERATION)) {\n if (operations.length !== fields.length) {\n throw new TypeError(\"Invalid operations: it's length must be the same as fields!\");\n }\n if (outputNames.length !== fields.length) {\n throw new TypeError(\"Invalid as: it's length must be the same as fields!\");\n }\n }\n var groups = (0, partition_1.default)(dataView.rows, options.groupBy);\n var results = [];\n (0, util_1.forIn)(groups, function (group) {\n var result = group[0];\n operations.forEach(function (operation, i) {\n var outputName = outputNames[i];\n var field = fields[i];\n result[outputName] = aggregates[operation](group, field);\n });\n results.push(result);\n });\n dataView.rows = results;\n}\nexports.default = aggregateTransform;\n" + }, + { + "id": "./src/transform/bin/hexagon.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "name": "./src/transform/bin/hexagon.ts", + "index": 173, + "index2": 172, + "size": 6026, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/hexagon", + "loc": "41:0-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'count'],\n bins: [30, 30], // Numeric vector giving number of bins in both horizontal and vertical directions\n offset: [0, 0],\n sizeByCount: false, // calculate bin size by binning count\n // fields: ['field0', 'field1'], // required\n // binWidth: [ 30, 30 ], // Numeric vector giving bin width in both horizontal and vertical directions. Overrides bins if both set.\n};\nvar SQRT3 = Math.sqrt(3);\nvar THIRD_PI = Math.PI / 3;\nvar ANGLES = [0, THIRD_PI, 2 * THIRD_PI, 3 * THIRD_PI, 4 * THIRD_PI, 5 * THIRD_PI];\nfunction distance(x0, y0, x1, y1) {\n return Math.sqrt((x0 - x1) * (x0 - x1) + (y0 - y1) * (y0 - y1));\n}\nfunction nearestBinsCenters(value, scale, offset) {\n var temp = value - offset;\n scale = scale / 2;\n var div = Math.floor(temp / scale);\n var rounded = scale * (div + (Math.abs(div % 2) === 1 ? 1 : 0));\n var roundedScaled = scale * (div + (Math.abs(div % 2) === 1 ? 0 : 1));\n return [rounded + offset, roundedScaled + offset];\n}\nfunction generateBins(points, binWidth, offset) {\n if (binWidth === void 0) { binWidth = [1, 1]; }\n if (offset === void 0) { offset = [0, 0]; }\n // processing aligned data\n var bins = {};\n var _a = tslib_1.__read(binWidth, 2), binWidthX = _a[0], binWidthY = _a[1];\n var _b = tslib_1.__read(offset, 2), offsetX = _b[0], offsetY = _b[1];\n points.forEach(function (point) {\n var _a, _b;\n var _c = tslib_1.__read(point, 2), x = _c[0], y = _c[1];\n // step3.1: nearest two centers\n var _d = tslib_1.__read(nearestBinsCenters(x, binWidthX, offsetX), 2), xRounded = _d[0], xRoundedScaled = _d[1];\n var _e = tslib_1.__read(nearestBinsCenters(y, binWidthY, offsetY), 2), yRounded = _e[0], yRoundedScaled = _e[1];\n // step3.2: compare distances\n var d1 = distance(x, y, xRounded, yRounded);\n var d2 = distance(x, y, xRoundedScaled, yRoundedScaled);\n var binKey;\n var binX;\n var binY;\n if (d1 < d2) {\n binKey = \"x\".concat(xRounded, \"y\").concat(yRounded);\n _a = tslib_1.__read([xRounded, yRounded], 2), binX = _a[0], binY = _a[1];\n }\n else {\n binKey = \"x\".concat(xRoundedScaled, \"y\").concat(yRoundedScaled);\n _b = tslib_1.__read([xRoundedScaled, yRoundedScaled], 2), binX = _b[0], binY = _b[1];\n }\n bins[binKey] = bins[binKey] || {\n x: binX,\n y: binY,\n count: 0,\n };\n bins[binKey].count++;\n });\n return bins;\n}\nfunction transform(dataView, options) {\n // step1: get binWidth, etc.\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('Invalid fields: it must be an array with 2 strings!');\n }\n var _a = tslib_1.__read(fields, 2), fieldX = _a[0], fieldY = _a[1];\n var rangeFieldX = dataView.range(fieldX);\n var rangeFieldY = dataView.range(fieldY);\n var widthX = rangeFieldX[1] - rangeFieldX[0];\n var widthY = rangeFieldY[1] - rangeFieldY[0];\n var binWidth = options.binWidth || [];\n if (binWidth.length !== 2) {\n var _b = tslib_1.__read(options.bins, 2), binsX = _b[0], binsY = _b[1];\n if (binsX <= 0 || binsY <= 0) {\n throw new TypeError('Invalid bins: must be an array with two positive numbers (e.g. [ 30, 30 ])!');\n }\n binWidth = [widthX / binsX, widthY / binsY];\n }\n // step2: align scale (squash Y)\n /*\n * binWidthX / binWidthY should be Math.sqrt3 / 1.5\n * -: binWidthX |: binWidthY\n * 3\n * |\n * 4 | 2\n * |\n * |\n * 5----------------1\n *\n * 0\n */\n var _c = tslib_1.__read(options.offset, 2), offsetX = _c[0], offsetY = _c[1];\n var yScale = (3 * binWidth[0]) / (SQRT3 * binWidth[1]);\n // const yScale = binWidth[0] / (SQRT3 * binWidth[1]);\n var points = dataView.rows.map(function (row) { return [row[fieldX], yScale * row[fieldY]]; });\n // step3: binning\n var bins = generateBins(points, [binWidth[0], yScale * binWidth[1]], [offsetX, yScale * offsetY]);\n // step4: restore scale (for Y)\n var _d = tslib_1.__read(options.as, 3), asX = _d[0], asY = _d[1], asCount = _d[2];\n if (!asX || !asY || !asCount) {\n throw new TypeError('Invalid as: it must be an array with three elements (e.g. [ \"x\", \"y\", \"count\" ])!');\n }\n var radius = binWidth[0] / SQRT3;\n var hexagonPoints = ANGLES.map(function (angle) { return [Math.sin(angle) * radius, -Math.cos(angle) * radius]; });\n var result = [];\n var maxCount = 0;\n if (options.sizeByCount) {\n (0, util_1.forIn)(bins, function (bin) {\n if (bin.count > maxCount) {\n maxCount = bin.count;\n }\n });\n }\n (0, util_1.forIn)(bins, function (bin) {\n var x = bin.x, y = bin.y, count = bin.count;\n var row = {};\n row[asCount] = count;\n if (options.sizeByCount) {\n row[asX] = hexagonPoints.map(function (p) { return x + (bin.count / maxCount) * p[0]; });\n row[asY] = hexagonPoints.map(function (p) { return (y + (bin.count / maxCount) * p[1]) / yScale; });\n }\n else {\n row[asX] = hexagonPoints.map(function (p) { return x + p[0]; });\n row[asY] = hexagonPoints.map(function (p) { return (y + p[1]) / yScale; });\n }\n result.push(row);\n });\n dataView.rows = result;\n}\ndata_set_1.DataSet.registerTransform('bin.hexagon', transform);\ndata_set_1.DataSet.registerTransform('bin.hex', transform);\ndata_set_1.DataSet.registerTransform('hexbin', transform);\n" + }, + { + "id": "./src/transform/bin/histogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "name": "./src/transform/bin/histogram.ts", + "index": 174, + "index2": 173, + "size": 2835, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/histogram", + "loc": "42:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../../util/partition\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'count'],\n bins: undefined,\n offset: 0,\n groupBy: [],\n // field: '', // required\n // binWidth: 10, // override bins\n};\nfunction nearestBin(value, scale, offset) {\n var temp = value - offset;\n var div = Math.floor(temp / scale);\n return [div * scale + offset, (div + 1) * scale + offset];\n}\n/** Sturges formula */\nfunction sturges(dataLength) {\n return Math.ceil(Math.log(dataLength) / Math.LN2) + 1;\n}\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n if (dataView.rows.length === 0) {\n return;\n }\n var range = dataView.range(field);\n var width = range[1] - range[0];\n var binWidth = options.binWidth;\n var bins = options.bins;\n if (!binWidth && bins) {\n if (bins <= 0) {\n throw new TypeError('Invalid bins: it must be a positive number!');\n }\n binWidth = width / bins;\n }\n if (!binWidth && !bins) {\n var binNumber = sturges(dataView.rows.length);\n binWidth = width / binNumber;\n }\n var offset = options.offset % binWidth;\n // grouping\n var rows = [];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dataView.rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var bins = {};\n var column = group.map(function (row) { return row[field]; });\n column.forEach(function (value) {\n var _a = tslib_1.__read(nearestBin(value, binWidth, offset), 2), x0 = _a[0], x1 = _a[1];\n var binKey = \"\".concat(x0, \"-\").concat(x1);\n bins[binKey] = bins[binKey] || {\n x0: x0,\n x1: x1,\n count: 0,\n };\n bins[binKey].count++;\n });\n var _a = tslib_1.__read(options.as, 2), asX = _a[0], asCount = _a[1];\n if (!asX || !asCount) {\n throw new TypeError('Invalid as: it must be an array with 2 elements (e.g. [ \"x\", \"count\" ])!');\n }\n var meta = (0, util_1.pick)(group[0], groupBy);\n (0, util_1.forIn)(bins, function (bin) {\n var row = (0, util_1.assign)({}, meta);\n row[asX] = [bin.x0, bin.x1];\n row[asCount] = bin.count;\n rows.push(row);\n });\n });\n dataView.rows = rows;\n}\ndata_set_1.DataSet.registerTransform('bin.histogram', transform);\ndata_set_1.DataSet.registerTransform('bin.dot', transform);\n" + }, + { + "id": "./src/transform/bin/quantile.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "name": "./src/transform/bin/quantile.ts", + "index": 175, + "index2": 174, + "size": 1825, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/quantile", + "loc": "43:0-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../../util/partition\"));\nvar p_by_fraction_1 = tslib_1.__importDefault(require(\"../../util/p-by-fraction\"));\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: '_bin',\n groupBy: [], // optional\n fraction: 4, // default\n // p: [0.5, 0.3], // array of p parameter\n // field: 'y', // required\n};\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var as = options.as;\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: it must be a string (e.g. \"_bin\")!');\n }\n var pArray = options.p;\n var fraction = options.fraction;\n if (!(0, util_1.isArray)(pArray) || pArray.length === 0) {\n pArray = (0, p_by_fraction_1.default)(fraction);\n }\n var rows = dataView.rows;\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(rows, groupBy);\n var result = [];\n (0, util_1.forIn)(groups, function (group) {\n // const resultRow = pick(group[0], groupBy);\n var resultRow = group[0];\n var binningColumn = group.map(function (row) { return row[field]; });\n var quantiles = pArray.map(function (p) { return (0, simple_statistics_1.quantile)(binningColumn, p); });\n resultRow[as] = quantiles;\n result.push(resultRow);\n });\n dataView.rows = result;\n}\nregisterTransform('bin.quantile', transform);\n" + }, + { + "id": "./src/transform/bin/rectangle.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "name": "./src/transform/bin/rectangle.ts", + "index": 176, + "index2": 175, + "size": 4148, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/bin/rectangle", + "loc": "44:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'count'],\n bins: [30, 30], // Numeric vector giving number of bins in both horizontal and vertical directions\n offset: [0, 0],\n sizeByCount: false, // calculate bin size by binning count\n // fields: ['field0', 'field1'], // required\n // binWidth: [ 30, 30 ], // Numeric vector giving bin width in both horizontal and vertical directions. Overrides bins if both set.\n};\nfunction nearestBin(value, scale, offset) {\n var temp = value - offset;\n var div = Math.floor(temp / scale);\n return [div * scale + offset, (div + 1) * scale + offset];\n}\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var _a = tslib_1.__read((0, option_parser_1.getFields)(options), 2), fieldX = _a[0], fieldY = _a[1];\n if (!fieldX || !fieldY) {\n throw new TypeError('Invalid fields: must be an array with 2 strings!');\n }\n var rangeFieldX = dataView.range(fieldX);\n var rangeFieldY = dataView.range(fieldY);\n var widthX = rangeFieldX[1] - rangeFieldX[0];\n var widthY = rangeFieldY[1] - rangeFieldY[0];\n var binWidth = options.binWidth || [];\n if (binWidth.length !== 2) {\n var _b = tslib_1.__read(options.bins, 2), binsX = _b[0], binsY = _b[1];\n if (binsX <= 0 || binsY <= 0) {\n throw new TypeError('Invalid bins: must be an array with 2 positive numbers (e.g. [ 30, 30 ])!');\n }\n binWidth = [widthX / binsX, widthY / binsY];\n }\n var points = dataView.rows.map(function (row) { return [row[fieldX], row[fieldY]]; });\n var bins = {};\n var _c = tslib_1.__read(options.offset, 2), offsetX = _c[0], offsetY = _c[1];\n points.forEach(function (point) {\n var _a = tslib_1.__read(nearestBin(point[0], binWidth[0], offsetX), 2), x0 = _a[0], x1 = _a[1];\n var _b = tslib_1.__read(nearestBin(point[1], binWidth[1], offsetY), 2), y0 = _b[0], y1 = _b[1];\n var binKey = \"\".concat(x0, \"-\").concat(x1, \"-\").concat(y0, \"-\").concat(y1);\n bins[binKey] = bins[binKey] || {\n x0: x0,\n x1: x1,\n y0: y0,\n y1: y1,\n count: 0,\n };\n bins[binKey].count++;\n });\n var rows = [];\n var _d = tslib_1.__read(options.as, 3), asX = _d[0], asY = _d[1], asCount = _d[2];\n if (!asX || !asY || !asCount) {\n throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"count\" ])!');\n }\n /* points\n * 3---2\n * | |\n * 0---1\n */\n if (!options.sizeByCount) {\n (0, util_1.forIn)(bins, function (bin) {\n var row = {};\n row[asX] = [bin.x0, bin.x1, bin.x1, bin.x0];\n row[asY] = [bin.y0, bin.y0, bin.y1, bin.y1];\n row[asCount] = bin.count;\n rows.push(row);\n });\n }\n else {\n var maxCount_1 = 0;\n (0, util_1.forIn)(bins, function (bin) {\n if (bin.count > maxCount_1) {\n maxCount_1 = bin.count;\n }\n });\n (0, util_1.forIn)(bins, function (bin) {\n var x0 = bin.x0, x1 = bin.x1, y0 = bin.y0, y1 = bin.y1, count = bin.count;\n var scale = count / maxCount_1;\n var _a = tslib_1.__read([(x0 + x1) / 2, (y0 + y1) / 2], 2), cx = _a[0], cy = _a[1];\n var rx = ((x1 - x0) * scale) / 2;\n var ry = ((y1 - y0) * scale) / 2;\n var x01 = cx - rx;\n var x11 = cx + rx;\n var y01 = cy - ry;\n var y11 = cy + ry;\n var row = {};\n row[asX] = [x01, x11, x11, x01];\n row[asY] = [y01, y01, y11, y11];\n row[asCount] = count;\n rows.push(row);\n });\n }\n dataView.rows = rows;\n}\nregisterTransform('bin.rectangle', transform);\nregisterTransform('bin.rect', transform);\n" + }, + { + "id": "./src/transform/default.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/default.ts", + "name": "./src/transform/default.ts", + "index": 150, + "index2": 149, + "size": 182, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/default", + "loc": "18:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar defaultTransform = function (dataView) {\n return dataView;\n};\nexports.default = defaultTransform;\n" + }, + { + "id": "./src/transform/diagram/arc.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/arc.ts", + "name": "./src/transform/diagram/arc.ts", + "index": 180, + "index2": 179, + "size": 6767, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/arc", + "loc": "50:0-34" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * for Arc Diagram (edges without weight) / Chord Diagram (edges with source and target weight)\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {\n y: 0,\n thickness: 0.05, // thickness of the node, (0, 1)\n weight: false,\n marginRatio: 0.1, // margin ratio, [0, 1)\n id: function (node) { return node.id; },\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n sourceWeight: function (edge) { return edge.value || 1; },\n targetWeight: function (edge) { return edge.value || 1; },\n sortBy: null, // optional, id | weight | frequency | {function}\n};\nfunction _nodesFromEdges(edges, options, map) {\n if (map === void 0) { map = {}; }\n edges.forEach(function (edge) {\n var sId = options.edgeSource(edge);\n var tId = options.edgeTarget(edge);\n if (!map[sId]) {\n map[sId] = {\n id: sId,\n };\n }\n if (!map[tId]) {\n map[tId] = {\n id: tId,\n };\n }\n });\n return (0, util_1.values)(map);\n}\nfunction _processGraph(nodeById, edges, options) {\n (0, util_1.forIn)(nodeById, function (node, id) {\n // in edges, out edges\n node.inEdges = edges.filter(function (edge) { return \"\".concat(options.target(edge)) === \"\".concat(id); });\n node.outEdges = edges.filter(function (edge) { return \"\".concat(options.source(edge)) === \"\".concat(id); });\n // frequency\n node.edges = node.outEdges.concat(node.inEdges);\n node.frequency = node.edges.length;\n // weight\n node.value = 0;\n node.inEdges.forEach(function (edge) {\n node.value += options.targetWeight(edge);\n });\n node.outEdges.forEach(function (edge) {\n node.value += options.sourceWeight(edge);\n });\n });\n}\nfunction _sortNodes(nodes, options) {\n var sortMethods = {\n weight: function (a, b) { return b.value - a.value; },\n frequency: function (a, b) { return b.frequency - a.frequency; },\n id: function (a, b) { return \"\".concat(options.id(a)).localeCompare(\"\".concat(options.id(b))); },\n };\n var method = sortMethods[options.sortBy];\n if (!method && (0, util_1.isFunction)(options.sortBy)) {\n method = options.sortBy;\n }\n if (method) {\n nodes.sort(method);\n }\n}\nfunction _layoutNodes(nodes, options) {\n var len = nodes.length;\n if (!len) {\n throw new TypeError(\"Invalid nodes: it's empty!\");\n }\n if (options.weight) {\n var marginRatio_1 = options.marginRatio;\n if (marginRatio_1 < 0 || marginRatio_1 >= 1) {\n throw new TypeError('Invalid marginRatio: it must be in range [0, 1)!');\n }\n var margin_1 = marginRatio_1 / (2 * len);\n var thickness_1 = options.thickness;\n if (thickness_1 <= 0 || thickness_1 >= 1) {\n throw new TypeError('Invalid thickness: it must be in range (0, 1)!');\n }\n var totalValue_1 = 0;\n nodes.forEach(function (node) {\n totalValue_1 += node.value;\n });\n nodes.forEach(function (node) {\n node.weight = node.value / totalValue_1;\n node.width = node.weight * (1 - marginRatio_1);\n node.height = thickness_1;\n });\n nodes.forEach(function (node, index) {\n // x\n var deltaX = 0;\n for (var i = index - 1; i >= 0; i--) {\n deltaX += nodes[i].width + 2 * margin_1;\n }\n var minX = (node.minX = margin_1 + deltaX);\n var maxX = (node.maxX = node.minX + node.width);\n var minY = (node.minY = options.y - thickness_1 / 2);\n var maxY = (node.maxY = minY + thickness_1);\n node.x = [minX, maxX, maxX, minX];\n node.y = [minY, minY, maxY, maxY];\n /* points\n * 3---2\n * | |\n * 0---1\n */\n // node.x = minX + 0.5 * node.width;\n // node.y = options.y;\n });\n }\n else {\n var deltaX_1 = 1 / len;\n nodes.forEach(function (node, index) {\n node.x = (index + 0.5) * deltaX_1;\n node.y = options.y;\n });\n }\n}\nfunction _locatingEdges(nodeById, edges, options) {\n if (options.weight) {\n var valueById_1 = {};\n (0, util_1.forIn)(nodeById, function (node, id) {\n valueById_1[id] = node.value;\n });\n edges.forEach(function (edge) {\n var sId = options.source(edge);\n var tId = options.target(edge);\n var sNode = nodeById[sId];\n var tNode = nodeById[tId];\n if (sNode && tNode) {\n var sValue = valueById_1[sId];\n var currentSValue = options.sourceWeight(edge);\n var sStart = sNode.minX + ((sNode.value - sValue) / sNode.value) * sNode.width;\n var sEnd = sStart + (currentSValue / sNode.value) * sNode.width;\n valueById_1[sId] -= currentSValue;\n var tValue = valueById_1[tId];\n var currentTValue = options.targetWeight(edge);\n var tStart = tNode.minX + ((tNode.value - tValue) / tNode.value) * tNode.width;\n var tEnd = tStart + (currentTValue / tNode.value) * tNode.width;\n valueById_1[tId] -= currentTValue;\n var y = options.y;\n edge.x = [sStart, sEnd, tStart, tEnd];\n edge.y = [y, y, y, y];\n }\n });\n }\n else {\n edges.forEach(function (edge) {\n var sNode = nodeById[options.source(edge)];\n var tNode = nodeById[options.target(edge)];\n if (sNode && tNode) {\n edge.x = [sNode.x, tNode.x];\n edge.y = [sNode.y, tNode.y];\n }\n });\n }\n}\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var nodeById = {};\n var nodes = dv.nodes;\n var edges = dv.edges;\n if (!(0, util_1.isArray)(nodes) || nodes.length === 0) {\n nodes = _nodesFromEdges(edges, options, nodeById);\n }\n nodes.forEach(function (node) {\n var id = options.id(node);\n nodeById[id] = node;\n });\n _processGraph(nodeById, edges, options);\n _sortNodes(nodes, options);\n _layoutNodes(nodes, options);\n _locatingEdges(nodeById, edges, options);\n dv.nodes = nodes;\n dv.edges = edges;\n}\ndata_set_1.DataSet.registerTransform('diagram.arc', transform);\ndata_set_1.DataSet.registerTransform('arc', transform);\n" + }, + { + "id": "./src/transform/diagram/dagre.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/dagre.ts", + "name": "./src/transform/diagram/dagre.ts", + "index": 181, + "index2": 471, + "size": 2207, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/dagre", + "loc": "51:0-36" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * for DAG\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar dagre_1 = tslib_1.__importDefault(require(\"dagre\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {\n // nodeId: node => node.index,\n rankdir: 'TB',\n align: 'TB',\n nodesep: 50,\n edgesep: 10,\n ranksep: 50,\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n};\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var g = new dagre_1.default.graphlib.Graph();\n // Set an object for the graph label\n g.setGraph({});\n // Default to assigning a new object as a label for each new edge.\n g.setDefaultEdgeLabel(function () {\n return {};\n });\n dv.nodes.forEach(function (node) {\n var nodeId = options.nodeId ? options.nodeId(node) : node.id;\n if (!node.height && !node.width) {\n node.height = node.width = options.edgesep;\n }\n g.setNode(nodeId, node);\n });\n dv.edges.forEach(function (edge) {\n g.setEdge(options.source(edge), options.target(edge));\n });\n dagre_1.default.layout(g);\n var nodes = [];\n var edges = [];\n g.nodes().forEach(function (node) {\n var n = g.node(node);\n var x = n.x, y = n.y, height = n.height, width = n.width;\n /* points\n * 3---2\n * | |\n * 0---1\n */\n // @ts-ignore\n n.x = [x - width / 2, x + width / 2, x + width / 2, x - width / 2];\n // @ts-ignore\n n.y = [y + height / 2, y + height / 2, y - height / 2, y - height / 2];\n nodes.push(n);\n });\n g.edges().forEach(function (edge) {\n var points = g.edge(edge).points;\n var e = {};\n e.x = points.map(function (p) { return p.x; });\n e.y = points.map(function (p) { return p.y; });\n edges.push(e);\n });\n dv.nodes = nodes;\n dv.edges = edges;\n}\ndata_set_1.DataSet.registerTransform('diagram.dagre', transform);\ndata_set_1.DataSet.registerTransform('dagre', transform);\n" + }, + { + "id": "./src/transform/diagram/sankey.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/sankey.ts", + "name": "./src/transform/diagram/sankey.ts", + "index": 473, + "index2": 476, + "size": 2366, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/sankey", + "loc": "52:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * for Sankey Diagram\n * graph data required (nodes, edges)\n */\nvar util_1 = require(\"@antv/util\");\nvar d3_sankey_1 = require(\"d3-sankey\");\nvar data_set_1 = require(\"../../data-set\");\nvar ALIGN_METHOD = {\n sankeyLeft: d3_sankey_1.sankeyLeft,\n sankeyRight: d3_sankey_1.sankeyRight,\n sankeyCenter: d3_sankey_1.sankeyCenter,\n sankeyJustify: d3_sankey_1.sankeyJustify,\n};\nvar DEFAULT_OPTIONS = {\n // nodeId: node => node.index,\n value: function (node) { return node.value; },\n source: function (edge) { return edge.source; },\n target: function (edge) { return edge.target; },\n nodeAlign: 'sankeyJustify',\n nodeWidth: 0.02,\n nodePadding: 0.02,\n sort: undefined,\n};\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var nodeAlign = null;\n if ((0, util_1.isString)(options.nodeAlign)) {\n nodeAlign = ALIGN_METHOD[options.nodeAlign];\n }\n else if ((0, util_1.isFunction)(options.nodeAlign)) {\n nodeAlign = options.nodeAlign;\n }\n var sankeyProcessor = (0, d3_sankey_1.sankey)()\n .nodeSort(options.sort)\n .links(function (d) { return d.edges; })\n .nodeWidth(options.nodeWidth)\n .nodePadding(options.nodePadding)\n .extent([\n [0, 0],\n [1, 1],\n ]);\n if ((0, util_1.isFunction)(options.nodeId)) {\n sankeyProcessor.nodeId(options.nodeId);\n }\n if (nodeAlign) {\n sankeyProcessor.nodeAlign(nodeAlign);\n }\n // TODO:\n // @ts-ignore\n sankeyProcessor(dv);\n // post process (x, y), etc.\n dv.nodes.forEach(function (node) {\n var x0 = node.x0, x1 = node.x1, y0 = node.y0, y1 = node.y1;\n /* points\n * 3---2\n * | |\n * 0---1\n */\n node.x = [x0, x1, x1, x0];\n node.y = [y0, y0, y1, y1];\n });\n dv.edges.forEach(function (edge) {\n var source = edge.source, target = edge.target;\n var sx = source.x1;\n var tx = target.x0;\n edge.x = [sx, sx, tx, tx];\n var offset = edge.width / 2;\n edge.y = [edge.y0 + offset, edge.y0 - offset, edge.y1 + offset, edge.y1 - offset];\n });\n}\ndata_set_1.DataSet.registerTransform('diagram.sankey', transform);\ndata_set_1.DataSet.registerTransform('sankey', transform);\n" + }, + { + "id": "./src/transform/diagram/voronoi.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "name": "./src/transform/diagram/voronoi.ts", + "index": 478, + "index2": 478, + "size": 1856, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/diagram/voronoi", + "loc": "53:0-38" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Voronoi = tslib_1.__importStar(require(\"d3-voronoi\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // fields: [ 'x', 'y' ] // field x and field y, required\n // extend: [[x0, y0], [x1, y1]], // optional\n // size: [width, height], // optional\n as: ['_x', '_y'],\n};\nfunction transform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: must be an array with two strings!');\n }\n var xField = as[0];\n var yField = as[1];\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('Invalid fields: must be an array with two strings!');\n }\n var x = fields[0];\n var y = fields[1];\n var rows = dataView.rows;\n var data = rows.map(function (row) { return [row[x], row[y]]; });\n var voronoi = d3Voronoi.voronoi();\n if (options.extend) {\n voronoi.extent(options.extend);\n }\n if (options.size) {\n voronoi.size(options.size);\n }\n var polygons = voronoi(data).polygons();\n rows.forEach(function (row, i) {\n var polygon = polygons[i].filter(function (point) { return !!point; }); // some points are null\n row[xField] = polygon.map(function (point) { return point[0]; });\n row[yField] = polygon.map(function (point) { return point[1]; });\n });\n}\nregisterTransform('diagram.voronoi', transform);\nregisterTransform('voronoi', transform);\n" + }, + { + "id": "./src/transform/fill-rows.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "name": "./src/transform/fill-rows.ts", + "index": 164, + "index2": 163, + "size": 3658, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/fill-rows", + "loc": "32:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar DEFAULT_OPTIONS = {\n fillBy: 'group', // group | order\n groupBy: [],\n orderBy: [],\n};\nfunction arrayDifference(arr1, arr2) {\n // arrayDifference([1, 1, 1, 2], [1, 2]) => [1, 1]\n var shadow = arr1.map(function (item) { return item; }); // shadow copy\n arr2.forEach(function (item) {\n var index = shadow.indexOf(item);\n if (index > -1) {\n shadow.splice(index, 1);\n }\n });\n return shadow;\n}\nfunction fillRowsTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var rows = dataView.rows;\n var groupBy = options.groupBy;\n var orderBy = options.orderBy;\n var groups = (0, partition_1.default)(rows, groupBy, orderBy);\n var maxLength = 0;\n var referenceGroup = [];\n (0, util_1.forIn)(groups, function (group) {\n if (group.length > maxLength) {\n maxLength = group.length;\n referenceGroup = group;\n }\n });\n var referenceOrderByKeys = [];\n var referenceRowByOrderByKey = {};\n referenceGroup.forEach(function (row) {\n var key = orderBy.map(function (col) { return row[col]; }).join('-');\n referenceOrderByKeys.push(key);\n referenceRowByOrderByKey[key] = row;\n });\n if (options.fillBy === 'order') {\n var first_1 = referenceGroup[0];\n var allOrderByKeys_1 = [];\n var rowByOrderByKey_1 = {};\n rows.forEach(function (row) {\n var key = orderBy.map(function (col) { return row[col]; }).join('-');\n if (allOrderByKeys_1.indexOf(key) === -1) {\n allOrderByKeys_1.push(key);\n rowByOrderByKey_1[key] = row;\n }\n });\n var _missingOrderByKeys = arrayDifference(allOrderByKeys_1, referenceOrderByKeys);\n _missingOrderByKeys.forEach(function (key) {\n var row = {};\n groupBy.forEach(function (col) {\n row[col] = first_1[col];\n });\n orderBy.forEach(function (col) {\n row[col] = rowByOrderByKey_1[key][col];\n });\n rows.push(row);\n referenceGroup.push(row);\n referenceOrderByKeys.push(key);\n referenceRowByOrderByKey[key] = row;\n });\n maxLength = referenceGroup.length;\n }\n (0, util_1.forIn)(groups, function (group) {\n if (group !== referenceGroup && group.length < maxLength) {\n var first_2 = group[0];\n // missing orderBy keys\n var orderByKeys_1 = [];\n group.forEach(function (row) {\n orderByKeys_1.push(orderBy.map(function (col) { return row[col]; }).join('-'));\n });\n var missingOrderByKeys = arrayDifference(referenceOrderByKeys, orderByKeys_1);\n missingOrderByKeys.some(function (key, i) {\n if (i >= maxLength - group.length) {\n // group length overflow\n return true;\n }\n var referenceRow = referenceRowByOrderByKey[key];\n var row = {};\n groupBy.forEach(function (col) {\n row[col] = first_2[col];\n });\n orderBy.forEach(function (col) {\n row[col] = referenceRow[col];\n });\n rows.push(row);\n return false;\n });\n }\n });\n}\nexports.default = fillRowsTransform;\n" + }, + { + "id": "./src/transform/filter.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/filter.ts", + "name": "./src/transform/filter.ts", + "index": 151, + "index2": 150, + "size": 299, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/filter", + "loc": "19:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction defaultCallback(row) {\n return !!row;\n}\nvar filterTransform = function (dataView, options) {\n dataView.rows = dataView.rows.filter(options.callback || defaultCallback);\n};\nexports.default = filterTransform;\n" + }, + { + "id": "./src/transform/fold.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "name": "./src/transform/fold.ts", + "index": 152, + "index2": 152, + "size": 1214, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/fold", + "loc": "20:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: [],\n key: 'key',\n retains: [],\n value: 'value',\n};\nvar foldTransform = function (dataView, options) {\n var columns = dataView.getColumnNames();\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (fields.length === 0) {\n console.warn('warning: option fields is not specified, will fold all columns.');\n fields = columns;\n }\n var key = options.key;\n var value = options.value;\n var retains = options.retains;\n if (!retains || retains.length === 0) {\n retains = (0, util_1.difference)(columns, fields);\n }\n var resultRows = [];\n dataView.rows.forEach(function (row) {\n fields.forEach(function (field) {\n var resultRow = (0, util_1.pick)(row, retains);\n resultRow[key] = field;\n resultRow[value] = row[field];\n resultRows.push(resultRow);\n });\n });\n dataView.rows = resultRows;\n};\nexports.default = foldTransform;\n" + }, + { + "id": "./src/transform/geo/centroid.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "name": "./src/transform/geo/centroid.ts", + "index": 177, + "index2": 176, + "size": 1697, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/centroid", + "loc": "46:0-35" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'name', // required\n // geoView: view, // required\n // geoDataView: view, // alias\n as: ['_centroid_x', '_centroid_y'],\n};\nfunction transform(view, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n // @ts-ignore\n var geoView = options.geoView || options.geoDataView; // alias\n if ((0, util_1.isString)(geoView) && view.dataSet) {\n geoView = view.dataSet.getView(geoView);\n }\n if (!geoView || geoView.dataType !== 'geo') {\n throw new TypeError('Invalid geoView: must be a DataView of GEO dataType!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"cX\", \"cY\" ])!');\n }\n var centroidX = as[0];\n var centroidY = as[1];\n view.rows.forEach(function (row) {\n var feature = geoView.geoFeatureByName(row[field]);\n if (feature) {\n if (geoView._projectedAs) {\n row[centroidX] = feature[geoView._projectedAs[2]];\n row[centroidY] = feature[geoView._projectedAs[3]];\n }\n else {\n row[centroidX] = feature.centroidX;\n row[centroidY] = feature.centroidY;\n }\n }\n });\n}\nregisterTransform('geo.centroid', transform);\n" + }, + { + "id": "./src/transform/geo/projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "name": "./src/transform/geo/projection.ts", + "index": 178, + "index2": 177, + "size": 2209, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/projection", + "loc": "47:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3_geo_1 = require(\"d3-geo\");\nvar point_at_length_1 = tslib_1.__importDefault(require(\"point-at-length\"));\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar get_geo_projection_1 = tslib_1.__importDefault(require(\"../../util/get-geo-projection\"));\nvar DEFAULT_OPTIONS = {\n // projection: '', // default to null\n as: ['_x', '_y', '_centroid_x', '_centroid_y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== 'geo' && dataView.dataType !== 'geo-graticule') {\n throw new TypeError('Invalid dataView: this transform is for Geo data only!');\n }\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var projection = options.projection;\n if (!projection) {\n throw new TypeError('Invalid projection!');\n }\n projection = (0, get_geo_projection_1.default)(projection);\n // @ts-ignore;\n var geoPathGenerator = (0, d3_geo_1.geoPath)(projection);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 4) {\n throw new TypeError('Invalid as: it must be an array with 4 strings (e.g. [ \"x\", \"y\", \"cX\", \"cY\" ])!');\n }\n dataView._projectedAs = as;\n var _a = tslib_1.__read(as, 4), lonField = _a[0], latField = _a[1], centroidX = _a[2], centroidY = _a[3];\n dataView.rows.forEach(function (row) {\n row[lonField] = [];\n row[latField] = [];\n var pathData = geoPathGenerator(row);\n if (pathData) {\n // TODO projection returns null\n var points = (0, point_at_length_1.default)(pathData);\n points._path.forEach(function (point) {\n row[lonField].push(point[1]);\n row[latField].push(point[2]);\n });\n var centroid = geoPathGenerator.centroid(row);\n row[centroidX] = centroid[0];\n row[centroidY] = centroid[1];\n }\n });\n dataView.rows = dataView.rows.filter(function (row) { return row[lonField].length !== 0; });\n}\nregisterTransform('geo.projection', transform);\n" + }, + { + "id": "./src/transform/geo/region.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "name": "./src/transform/geo/region.ts", + "index": 179, + "index2": 178, + "size": 1652, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/geo/region", + "loc": "48:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar registerTransform = data_set_1.DataSet.registerTransform;\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'name', // required\n // geoView: view, // required\n // geoDataView: view, // alias\n as: ['_x', '_y'],\n};\nfunction transform(view, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n // @ts-ignore\n var geoView = options.geoView || options.geoDataView; // alias\n if ((0, util_1.isString)(geoView)) {\n geoView = view.dataSet.getView(geoView);\n }\n if (!geoView || geoView.dataType !== 'geo') {\n throw new TypeError('Invalid geoView: must be a DataView of GEO dataType!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var lonField = as[0];\n var latField = as[1];\n view.rows.forEach(function (row) {\n var feature = geoView.geoFeatureByName(row[field]);\n if (feature) {\n if (geoView._projectedAs) {\n row[lonField] = feature[geoView._projectedAs[0]];\n row[latField] = feature[geoView._projectedAs[1]];\n }\n else {\n row[lonField] = feature.longitude;\n row[latField] = feature.latitude;\n }\n }\n });\n}\nregisterTransform('geo.region', transform);\n" + }, + { + "id": "./src/transform/hierarchy/cluster.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "name": "./src/transform/hierarchy/cluster.ts", + "index": 480, + "index2": 479, + "size": 1737, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/cluster", + "loc": "55:0-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n nodeSize: null,\n separation: null,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY || !dataView.root) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field = undefined;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var clusterLayout = d3Hierarchy.cluster();\n clusterLayout.size(options.size);\n if (options.nodeSize) {\n clusterLayout.nodeSize(options.nodeSize);\n }\n if (options.separation) {\n clusterLayout.separation(options.separation);\n }\n clusterLayout(root);\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.cluster', transform);\ndata_set_1.DataSet.registerTransform('dendrogram', transform);\n" + }, + { + "id": "./src/transform/hierarchy/compact-box.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/compact-box.ts", + "name": "./src/transform/hierarchy/compact-box.ts", + "index": 481, + "index2": 481, + "size": 904, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/compact-box", + "loc": "56:0-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.compactBox(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.compact-box', transform);\ndata_set_1.DataSet.registerTransform('compact-box-tree', transform);\ndata_set_1.DataSet.registerTransform('non-layered-tidy-tree', transform);\ndata_set_1.DataSet.registerTransform('mindmap-logical', transform);\n" + }, + { + "id": "./src/transform/hierarchy/dendrogram.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/dendrogram.ts", + "name": "./src/transform/hierarchy/dendrogram.ts", + "index": 483, + "index2": 482, + "size": 755, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/dendrogram", + "loc": "57:0-43" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.dendrogram(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.dendrogram', transform);\ndata_set_1.DataSet.registerTransform('dendrogram', transform);\n" + }, + { + "id": "./src/transform/hierarchy/indented.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/indented.ts", + "name": "./src/transform/hierarchy/indented.ts", + "index": 484, + "index2": 483, + "size": 754, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/indented", + "loc": "58:0-41" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar hierarchy_1 = tslib_1.__importDefault(require(\"@antv/hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar DEFAULT_OPTIONS = {};\nfunction transform(dataView, options) {\n var root = dataView.root;\n options = Object.assign({}, DEFAULT_OPTIONS, options);\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n dataView.root = hierarchy_1.default.indented(root, options);\n}\ndata_set_1.DataSet.registerTransform('hierarchy.indented', transform);\ndata_set_1.DataSet.registerTransform('indented-tree', transform);\n" + }, + { + "id": "./src/transform/hierarchy/pack.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "name": "./src/transform/hierarchy/pack.ts", + "index": 485, + "index2": 484, + "size": 1760, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/pack", + "loc": "59:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n padding: 0,\n as: ['x', 'y', 'r'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 3) {\n throw new TypeError('Invalid as: it must be an array with 3 strings (e.g. [ \"x\", \"y\", \"r\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; }).sort(function (a, b) { return b[field] - a[field]; });\n }\n var packLayout = d3Hierarchy.pack();\n packLayout.size(options.size);\n if (options.padding) {\n packLayout.padding(options.padding);\n }\n packLayout(root);\n var x = as[0];\n var y = as[1];\n var r = as[2];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n node[r] = node.r;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.pack', transform);\ndata_set_1.DataSet.registerTransform('hierarchy.circle-packing', transform);\ndata_set_1.DataSet.registerTransform('circle-packing', transform);\n" + }, + { + "id": "./src/transform/hierarchy/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "name": "./src/transform/hierarchy/partition.ts", + "index": 486, + "index2": 485, + "size": 1953, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/partition", + "loc": "60:0-42" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n round: false,\n // ratio: 1.618033988749895, // golden ratio\n padding: 0,\n sort: true,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var partitionLayout = d3Hierarchy.partition();\n partitionLayout\n .size(options.size)\n .round(options.round)\n .padding(options.padding);\n partitionLayout(root);\n /*\n * points:\n * 3 2\n * 0 1\n */\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = [node.x0, node.x1, node.x1, node.x0];\n node[y] = [node.y1, node.y1, node.y0, node.y0];\n ['x0', 'x1', 'y0', 'y1'].forEach(function (prop) {\n if (as.indexOf(prop) === -1) {\n delete node[prop];\n }\n });\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.partition', transform);\ndata_set_1.DataSet.registerTransform('adjacency', transform);\n" + }, + { + "id": "./src/transform/hierarchy/tree.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "name": "./src/transform/hierarchy/tree.ts", + "index": 487, + "index2": 486, + "size": 1680, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/tree", + "loc": "61:0-37" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n size: [1, 1], // width, height\n nodeSize: null,\n separation: null,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var treeLayout = d3Hierarchy.tree();\n treeLayout.size(options.size);\n if (options.nodeSize) {\n treeLayout.nodeSize(options.nodeSize);\n }\n if (options.separation) {\n treeLayout.separation(options.separation);\n }\n treeLayout(root);\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = node.x;\n node[y] = node.y;\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.tree', transform);\ndata_set_1.DataSet.registerTransform('tree', transform);\n" + }, + { + "id": "./src/transform/hierarchy/treemap.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "name": "./src/transform/hierarchy/treemap.ts", + "index": 488, + "index2": 487, + "size": 2477, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/hierarchy/treemap", + "loc": "62:0-40" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar d3Hierarchy = tslib_1.__importStar(require(\"d3-hierarchy\"));\nvar util_1 = require(\"@antv/util\");\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n field: 'value',\n tile: 'treemapSquarify', // treemapBinary, treemapDice, treemapSlice, treemapSliceDice, treemapSquarify, treemapResquarify\n size: [1, 1], // width, height\n round: false,\n // ratio: 1.618033988749895, // golden ratio\n padding: 0,\n paddingInner: 0,\n paddingOuter: 0,\n paddingTop: 0,\n paddingRight: 0,\n paddingBottom: 0,\n paddingLeft: 0,\n as: ['x', 'y'],\n};\nfunction transform(dataView, options) {\n if (dataView.dataType !== data_set_1.DataSet.CONSTANTS.HIERARCHY) {\n throw new TypeError('Invalid DataView: This transform is for Hierarchy data only!');\n }\n var root = dataView.root;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 2) {\n throw new TypeError('Invalid as: it must be an array with 2 strings (e.g. [ \"x\", \"y\" ])!');\n }\n var field;\n try {\n field = (0, option_parser_1.getField)(options);\n }\n catch (e) {\n console.warn(e);\n }\n if (field) {\n root.sum(function (d) { return d[field]; });\n }\n var treemapLayout = d3Hierarchy.treemap();\n treemapLayout\n .tile(d3Hierarchy[options.tile])\n .size(options.size)\n .round(options.round)\n .padding(options.padding)\n .paddingInner(options.paddingInner)\n .paddingOuter(options.paddingOuter)\n .paddingTop(options.paddingTop)\n .paddingRight(options.paddingRight)\n .paddingBottom(options.paddingBottom)\n .paddingLeft(options.paddingLeft);\n treemapLayout(root);\n /*\n * points:\n * 3 2\n * 0 1\n */\n var x = as[0];\n var y = as[1];\n root.each(function (node) {\n node[x] = [node.x0, node.x1, node.x1, node.x0];\n node[y] = [node.y1, node.y1, node.y0, node.y0];\n ['x0', 'x1', 'y0', 'y1'].forEach(function (prop) {\n if (as.indexOf(prop) === -1) {\n delete node[prop];\n }\n });\n });\n}\ndata_set_1.DataSet.registerTransform('hierarchy.treemap', transform);\ndata_set_1.DataSet.registerTransform('treemap', transform);\n" + }, + { + "id": "./src/transform/impute.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "name": "./src/transform/impute.ts", + "index": 165, + "index2": 164, + "size": 2378, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/impute", + "loc": "33:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simpleStatistics = tslib_1.__importStar(require(\"simple-statistics\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: '', // required\n // method: 'value', // required\n // value: 10, // required if (method === 'value')\n groupBy: [],\n};\nfunction notUndefinedValues(values) {\n return values.filter(function (value) { return !(0, util_1.isUndefined)(value); });\n}\nvar STATISTICS_METHODS = ['mean', 'median', 'max', 'min'];\nvar imputations = {};\nSTATISTICS_METHODS.forEach(function (method) {\n // @ts-ignore\n imputations[method] = function (row, values) { return simpleStatistics[method](values); };\n});\nimputations.value = function (_row, _values, value) { return value; };\nfunction imputeTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var method = options.method;\n if (!method) {\n throw new TypeError('Invalid method!');\n }\n if (method === 'value' && !(0, util_1.has)(options, 'value')) {\n throw new TypeError('Invalid value: it is nil.');\n }\n var column = notUndefinedValues(dataView.getColumn(field));\n var groups = (0, partition_1.default)(dataView.rows, options.groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var fieldValues = notUndefinedValues(group.map(function (row) { return row[field]; }));\n if (fieldValues.length === 0) {\n fieldValues = column;\n }\n group.forEach(function (row) {\n if ((0, util_1.isUndefined)(row[field])) {\n if ((0, util_1.isFunction)(method)) {\n row[field] = method(row, fieldValues, options.value, group);\n }\n else if ((0, util_1.isString)(method)) {\n row[field] = imputations[method](row, fieldValues, options.value);\n }\n else {\n throw new TypeError(\"Invalid method: must be a function or one of \".concat(STATISTICS_METHODS.join(', ')));\n }\n }\n });\n });\n}\nexports.default = imputeTransform;\n" + }, + { + "id": "./src/transform/kde.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "name": "./src/transform/kde.ts", + "index": 171, + "index2": 171, + "size": 4230, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 4, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kde", + "loc": "39:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.BANDWIDTH_METHODS = exports.KERNEL_METHODS = void 0;\nvar tslib_1 = require(\"tslib\");\n/*\n * kernel density estimation\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../util/kernel\"));\nvar bandwidth = tslib_1.__importStar(require(\"../util/bandwidth\"));\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar DEFAULT_OPTIONS = {\n minSize: 0.01,\n as: ['key', 'y', 'size'],\n // fields: [ 'y1', 'y2' ], // required, one or more fields\n extent: [], // extent to execute regression function, default: [ [ min(x), max(x) ], [ min(y), max(y) ] ]\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n bandwidth: 'nrd', // bandwidth method to execute kernel function // nrd, silverman or a fixed bandwidth value\n step: 0,\n groupBy: [],\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\nexports.KERNEL_METHODS = KERNEL_METHODS;\nvar BANDWIDTH_METHODS = (0, util_1.keys)(bandwidth);\nexports.BANDWIDTH_METHODS = BANDWIDTH_METHODS;\nfunction kdeTransform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length < 1) {\n throw new TypeError('invalid fields: must be an array of at least 1 strings!');\n }\n var as = options.as;\n if (!(0, util_1.isArray)(as) || as.length !== 3) {\n throw new TypeError('invalid as: must be an array of 3 strings!');\n }\n var method = options.method;\n if ((0, util_1.isString)(method)) {\n if (KERNEL_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n method = kernel_1.default[method];\n }\n if (!(0, util_1.isFunction)(method)) {\n throw new TypeError('invalid method: kernel method must be a function!');\n }\n var extent = options.extent;\n if (!(0, util_1.isArray)(extent) || extent.length === 0) {\n var rangeArr_1 = [];\n (0, util_1.each)(fields, function (field) {\n var range = dv.range(field);\n rangeArr_1 = rangeArr_1.concat(range);\n });\n extent = [Math.min.apply(Math, tslib_1.__spreadArray([], tslib_1.__read(rangeArr_1), false)), Math.max.apply(Math, tslib_1.__spreadArray([], tslib_1.__read(rangeArr_1), false))];\n }\n var bw = options.bandwidth;\n if ((0, util_1.isString)(bw) && bandwidth[bw]) {\n bw = bandwidth[bw](dv.getColumn(fields[0]));\n }\n else if ((0, util_1.isFunction)(bw)) {\n bw = bw(dv.getColumn(fields[0]));\n }\n else if (!(0, util_1.isNumber)(bw) || bw <= 0) {\n bw = bandwidth.nrd(dv.getColumn(fields[0]));\n }\n var seriesValues = (0, get_series_values_1.default)(extent, options.step ? options.step : bw);\n var result = [];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dv.rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var probalityDensityFunctionByField = {};\n (0, util_1.each)(fields, function (field) {\n var row = (0, util_1.pick)(group[0], groupBy);\n probalityDensityFunctionByField[field] = (0, simple_statistics_1.kernelDensityEstimation)(group.map(function (item) { return item[field]; }), method, bw);\n var _a = tslib_1.__read(as, 3), key = _a[0], y = _a[1], size = _a[2];\n row[key] = field;\n row[y] = [];\n row[size] = [];\n (0, util_1.each)(seriesValues, function (yValue) {\n var sizeValue = probalityDensityFunctionByField[field](yValue);\n if (sizeValue >= options.minSize) {\n row[y].push(yValue);\n row[size].push(sizeValue);\n }\n });\n result.push(row);\n });\n });\n dv.rows = result;\n}\nexports.default = kdeTransform;\n" + }, + { + "id": "./src/transform/kernel-smooth/density.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "name": "./src/transform/kernel-smooth/density.ts", + "index": 492, + "index2": 491, + "size": 3740, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kernel-smooth/density", + "loc": "68:0-44" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../../util/kernel\"));\nvar data_set_1 = require(\"../../data-set\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar bandwidth_1 = require(\"../../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y', 'z'],\n // fields: [ 'x', 'y' ], // required, one or two fields\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n // extent: [], // extent to execute regression function, default: [ [ min(x), max(x) ], [ min(y), max(y) ] ]\n // bandwidth: [], // bandWidth to execute kernel function\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\nfunction transform(dv, options) {\n var _a, _b;\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('invalid fields: must be an array of 2 strings!');\n }\n var _c = tslib_1.__read(options.as, 3), asX = _c[0], asY = _c[1], asZ = _c[2];\n if (!(0, util_1.isString)(asX) || !(0, util_1.isString)(asY) || !(0, util_1.isString)(asZ)) {\n throw new TypeError('invalid as: must be an array of 3 strings!');\n }\n var method;\n if ((0, util_1.isString)(options.method)) {\n if (KERNEL_METHODS.indexOf(options.method) === -1) {\n throw new TypeError(\"invalid method: \".concat(options.method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n method = kernel_1.default[options.method];\n }\n var _d = tslib_1.__read(fields, 2), xField = _d[0], yField = _d[1];\n var extent = options.extent, bandwidth = options.bandwidth;\n var extentX;\n var extentY;\n if (extent && Array.isArray(extent) && Array.isArray(extent[0]) && Array.isArray(extent[1])) {\n _a = tslib_1.__read(extent, 2), extentX = _a[0], extentY = _a[1];\n }\n else {\n extentX = dv.range(xField);\n extentY = dv.range(yField);\n }\n var bwX, bwY;\n if (bandwidth &&\n Array.isArray(bandwidth) &&\n bandwidth.slice(0, 2).every(util_1.isNumber) &&\n bandwidth.slice(0, 2).every(function (item) { return item > 0; })) {\n _b = tslib_1.__read(bandwidth, 2), bwX = _b[0], bwY = _b[1];\n }\n else {\n bwX = (0, bandwidth_1.silverman)(dv.getColumn(xField));\n bwY = (0, bandwidth_1.silverman)(dv.getColumn(yField));\n }\n var seriesValuesX = (0, get_series_values_1.default)(extentX, bwX);\n var seriesValuesY = (0, get_series_values_1.default)(extentY, bwY);\n var count = dv.rows.length;\n var result = [];\n for (var i = 0; i < seriesValuesX.length; i++) {\n for (var j = 0; j < seriesValuesY.length; j++) {\n var sum = 0;\n var x = seriesValuesX[i];\n var y = seriesValuesY[j];\n for (var k = 0; k < count; k++) {\n sum += method((x - dv.rows[k][xField]) / bwX) * method((y - dv.rows[k][yField]) / bwY);\n }\n var z = (1 / (count * bwX * bwY)) * sum;\n var row = {};\n row[asX] = x;\n row[asY] = y;\n row[asZ] = z;\n result.push(row);\n }\n }\n dv.rows = result;\n}\ndata_set_1.DataSet.registerTransform('kernel-smooth.density', transform);\ndata_set_1.DataSet.registerTransform('kernel.density', transform);\nexports.default = {\n KERNEL_METHODS: KERNEL_METHODS,\n};\n" + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "index": 493, + "index2": 492, + "size": 4293, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/kernel-smooth/regression", + "loc": "69:0-47" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\n/*\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js\n */\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../../util/get-series-values\"));\nvar kernel_1 = tslib_1.__importDefault(require(\"../../util/kernel\"));\nvar data_set_1 = require(\"../../data-set\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar option_parser_1 = require(\"../../util/option-parser\");\nvar bandwidth_1 = require(\"../../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y'],\n // fields: [ 'x', 'y' ], // required, one or two fields\n method: 'gaussian', // kernel method: should be one of keys(kernel)\n // extent: [], // extent to execute regression function, default: [ min(x), max(x) ]\n // bandwidth: 0.5 // bandWidth to execute kernel function\n};\nvar KERNEL_METHODS = (0, util_1.keys)(kernel_1.default);\n// calculates weight for i-th obs\nfunction weight(kernel, bandwidth, x_0, x_i) {\n var arg = (x_i - x_0) / bandwidth;\n return kernel(arg);\n}\n// calculates weight for i-th obs when p > 1\n// function weight_vectors(kernel, bandwidth, x_0, x_i) {\n// const arg = enclideanDistance(x_i, x_0) / bandwidth;\n// return kernel(arg);\n// }\nfunction vectorize(fun) {\n return function (x) {\n if (!(0, util_1.isArray)(x)) {\n return fun(x);\n }\n return x.map(function (x) {\n return fun(x);\n });\n };\n}\nfunction transform(dv, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || !(fields.length === 1 || fields.length === 2)) {\n throw new TypeError('invalid fields: must be an array of 1 or 2 strings!');\n }\n var _a = tslib_1.__read(options.as, 2), asX = _a[0], asY = _a[1];\n if (!(0, util_1.isString)(asX) || !(0, util_1.isString)(asY)) {\n throw new TypeError('invalid as: must be an array of 2 strings!');\n }\n var func;\n var method = options.method;\n if ((0, util_1.isString)(method)) {\n if (KERNEL_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(KERNEL_METHODS.join(', ')));\n }\n func = kernel_1.default[method];\n }\n var _b = tslib_1.__read(fields, 2), xField = _b[0], yField = _b[1];\n var xs = dv.getColumn(xField);\n var extent = options.extent;\n if (extent || !(0, util_1.isArray)(extent)) {\n extent = dv.range(xField);\n }\n var bandwidth = options.bandwidth;\n if (!bandwidth || !(0, util_1.isNumber)(bandwidth) || bandwidth <= 0) {\n bandwidth = (0, bandwidth_1.silverman)(xs);\n }\n var seriesValues = (0, get_series_values_1.default)(extent, bandwidth);\n var xCount = xs.length;\n var weightFunc = weight.bind(null, func, bandwidth);\n var kernelSmoother;\n if ((0, util_1.isNil)(yField)) {\n // KDE\n kernelSmoother = vectorize(function (x) {\n var weights = xs.map(function (x_i) { return weightFunc(x, x_i); });\n var num = (0, simple_statistics_1.sum)(weights);\n var denom = xCount * bandwidth;\n if (!num || !denom)\n return 0;\n return num / denom;\n });\n }\n else {\n // kernel regression smoothing\n var ys_1 = dv.getColumn(yField);\n kernelSmoother = vectorize(function (x) {\n var weights = xs.map(function (x_i) { return weightFunc(x, x_i); });\n var num = (0, simple_statistics_1.sum)(weights.map(function (w, i) { return w * ys_1[i]; }));\n var denom = (0, simple_statistics_1.sum)(weights);\n if (!num || !denom)\n return 0;\n return num / denom;\n });\n }\n var result = seriesValues.map(function (x) {\n var row = {};\n row[asX] = x;\n row[asY] = kernelSmoother(x);\n return row;\n });\n dv.rows = result;\n}\ndata_set_1.DataSet.registerTransform('kernel-smooth.regression', transform);\ndata_set_1.DataSet.registerTransform('kernel.regression', transform);\nexports.default = {\n KERNEL_METHODS: KERNEL_METHODS,\n};\n" + }, + { + "id": "./src/transform/map.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/map.ts", + "name": "./src/transform/map.ts", + "index": 154, + "index2": 153, + "size": 288, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/map", + "loc": "21:0-26" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nfunction defaultCallback(row) {\n return row;\n}\nvar mapTransform = function (dataView, options) {\n dataView.rows = dataView.rows.map(options.callback || defaultCallback);\n};\nexports.default = mapTransform;\n" + }, + { + "id": "./src/transform/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "name": "./src/transform/partition.ts", + "index": 155, + "index2": 154, + "size": 609, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/partition", + "loc": "22:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar DEFAULT_OPTIONS = {\n groupBy: [], // optional\n orderBy: [],\n};\nvar partitionTransform = function (dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n // TODO: rows 是否都只能是数组\n // @ts-ignore;\n dataView.rows = (0, partition_1.default)(dataView.rows, options.groupBy, options.orderBy);\n};\nexports.default = partitionTransform;\n" + }, + { + "id": "./src/transform/percent.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "name": "./src/transform/percent.ts", + "index": 156, + "index2": 155, + "size": 2256, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/percent", + "loc": "23:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'y', // required\n // dimension: 'x', // required\n groupBy: [], // optional\n as: '_percent',\n};\nfunction percentTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var dimension = options.dimension, groupBy = options.groupBy;\n var as = options.as;\n if (!(0, util_1.isString)(dimension)) {\n throw new TypeError('Invalid dimension: must be a string!');\n }\n if ((0, util_1.isArray)(as)) {\n console.warn('Invalid as: must be a string, will use the first element of the array specified.');\n as = as[0];\n }\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: must be a string!');\n }\n var rows = dataView.rows;\n var result = [];\n var groups = (0, partition_1.default)(rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var totalSum = (0, simple_statistics_1.sum)(group.map(function (row) { return row[field]; }));\n var innerGroups = (0, partition_1.default)(group, [dimension]);\n (0, util_1.forIn)(innerGroups, function (innerGroup) {\n var innerSum = (0, simple_statistics_1.sum)(innerGroup.map(function (row) { return row[field]; }));\n // const resultRow = pick(innerGroup[0], union(groupBy, [ dimension ]));\n var resultRow = innerGroup[0];\n // FIXME in case dimension and field is the same\n var dimensionValue = resultRow[dimension];\n resultRow[field] = innerSum;\n resultRow[dimension] = dimensionValue;\n if (totalSum === 0) {\n resultRow[as] = 0;\n }\n else {\n resultRow[as] = innerSum / totalSum;\n }\n result.push(resultRow);\n });\n });\n dataView.rows = result;\n}\nexports.default = percentTransform;\n" + }, + { + "id": "./src/transform/pick.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "name": "./src/transform/pick.ts", + "index": 157, + "index2": 156, + "size": 440, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/pick", + "loc": "24:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar pickTransform = function (dataView, options) {\n var columns = (0, option_parser_1.getFields)(options, dataView.getColumnNames());\n dataView.rows = dataView.rows.map(function (row) { return (0, util_1.pick)(row, columns); });\n};\nexports.default = pickTransform;\n" + }, + { + "id": "./src/transform/proportion.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "name": "./src/transform/proportion.ts", + "index": 158, + "index2": 157, + "size": 1975, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/proportion", + "loc": "25:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n // field: 'y', // required\n // dimension: 'x', // required\n groupBy: [], // optional\n as: '_proportion',\n};\nfunction proportionTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var field = (0, option_parser_1.getField)(options);\n var dimension = options.dimension;\n var groupBy = options.groupBy;\n var as = options.as;\n if (!(0, util_1.isString)(dimension)) {\n throw new TypeError('Invalid dimension: must be a string!');\n }\n if ((0, util_1.isArray)(as)) {\n console.warn('Invalid as: must be a string, will use the first element of the array specified.');\n as = as[0];\n }\n if (!(0, util_1.isString)(as)) {\n throw new TypeError('Invalid as: must be a string!');\n }\n var rows = dataView.rows;\n var result = [];\n var groups = (0, partition_1.default)(rows, groupBy);\n (0, util_1.forIn)(groups, function (group) {\n var totalCount = group.length;\n var innerGroups = (0, partition_1.default)(group, [dimension]);\n (0, util_1.forIn)(innerGroups, function (innerGroup) {\n var innerCount = innerGroup.length;\n // const resultRow = pick(innerGroup[0], union(groupBy, [ dimension ]));\n var resultRow = innerGroup[0];\n // FIXME in case dimension and field is the same\n var dimensionValue = resultRow[dimension];\n resultRow[field] = innerCount;\n resultRow[dimension] = dimensionValue;\n resultRow[as] = innerCount / totalCount;\n result.push(resultRow);\n });\n });\n dataView.rows = result;\n}\nexports.default = proportionTransform;\n" + }, + { + "id": "./src/transform/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "name": "./src/transform/regression.ts", + "index": 167, + "index2": 169, + "size": 2673, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/regression", + "loc": "37:0-33" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.REGRESSION_METHODS = void 0;\nvar tslib_1 = require(\"tslib\");\nvar regression_1 = tslib_1.__importDefault(require(\"regression\"));\nvar util_1 = require(\"@antv/util\");\nvar get_series_values_1 = tslib_1.__importDefault(require(\"../util/get-series-values\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar bandwidth_1 = require(\"../util/bandwidth\");\nvar DEFAULT_OPTIONS = {\n as: ['x', 'y'],\n // fields: [ 'x', 'y' ], // required two fields\n method: 'linear', // regression method: linear, exponential, logarithmic, power, polynomial\n // extent: [], // extent to execute regression function, default: [ min(x), max(x) ]\n // bandwidth: 1, // bandWidth to execute regression function\n order: 2, // order of the polynomial curve\n precision: 2, // the number of significant figures the output is rounded to\n};\nvar REGRESSION_METHODS = ['linear', 'exponential', 'logarithmic', 'power', 'polynomial'];\nexports.REGRESSION_METHODS = REGRESSION_METHODS;\nfunction regressionTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n if (!(0, util_1.isArray)(fields) || fields.length !== 2) {\n throw new TypeError('invalid fields: must be an array of 2 strings.');\n }\n var _a = tslib_1.__read(fields, 2), xField = _a[0], yField = _a[1];\n var method = options.method;\n if (REGRESSION_METHODS.indexOf(method) === -1) {\n throw new TypeError(\"invalid method: \".concat(method, \". Must be one of \").concat(REGRESSION_METHODS.join(', ')));\n }\n var points = dataView.rows.map(function (row) { return [row[xField], row[yField]]; });\n var regressionResult = regression_1.default[method](points, options);\n var extent = options.extent;\n if (!(0, util_1.isArray)(extent) || extent.length !== 2) {\n extent = dataView.range(xField);\n }\n var bandwidth = options.bandwidth;\n if (!(0, util_1.isNumber)(bandwidth) || bandwidth <= 0) {\n bandwidth = (0, bandwidth_1.silverman)(dataView.getColumn(xField));\n }\n var valuesToPredict = (0, get_series_values_1.default)(extent, bandwidth);\n var result = [];\n var _b = tslib_1.__read(options.as, 2), asX = _b[0], asY = _b[1];\n valuesToPredict.forEach(function (value) {\n var row = {};\n var _a = tslib_1.__read(regressionResult.predict(value), 2), x = _a[0], y = _a[1];\n row[asX] = x;\n row[asY] = y;\n if (isFinite(y)) {\n result.push(row);\n }\n });\n dataView.rows = result;\n}\nexports.default = regressionTransform;\n" + }, + { + "id": "./src/transform/rename.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/rename.ts", + "name": "./src/transform/rename.ts", + "index": 159, + "index2": 158, + "size": 714, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/rename", + "loc": "26:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nfunction renameTransform(dataView, options) {\n var map = options.map || {};\n var cleanMap = {};\n if ((0, util_1.isPlainObject)(map)) {\n (0, util_1.forIn)(map, function (value, key) {\n if ((0, util_1.isString)(value) && (0, util_1.isString)(key)) {\n cleanMap[key] = value;\n }\n });\n }\n dataView.rows.forEach(function (row) {\n (0, util_1.forIn)(cleanMap, function (newKey, key) {\n var temp = row[key];\n delete row[key];\n row[newKey] = temp;\n });\n });\n}\nexports.default = renameTransform;\n" + }, + { + "id": "./src/transform/reverse.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/reverse.ts", + "name": "./src/transform/reverse.ts", + "index": 160, + "index2": 159, + "size": 190, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/reverse", + "loc": "27:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar reverseTransform = function (dataView) {\n dataView.rows.reverse();\n};\nexports.default = reverseTransform;\n" + }, + { + "id": "./src/transform/sort-by.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "name": "./src/transform/sort-by.ts", + "index": 162, + "index2": 161, + "size": 934, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/sort-by", + "loc": "29:0-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nvar option_parser_1 = require(\"../util/option-parser\");\n/*\n * options: {\n * type: 'sort-by',\n * fields: [],\n * order: 'ASC' // 'DESC'\n * }\n */\nvar VALID_ORDERS = ['ASC', 'DESC'];\nfunction sortByTransform(dataView, options) {\n var fields = (0, option_parser_1.getFields)(options, [dataView.getColumnName(0)]);\n if (!(0, util_1.isArray)(fields)) {\n throw new TypeError('Invalid fields: must be an array with strings!');\n }\n dataView.rows = (0, util_1.sortBy)(dataView.rows, fields);\n var order = options.order;\n if (order && VALID_ORDERS.indexOf(order) === -1) {\n throw new TypeError(\"Invalid order: \".concat(order, \" must be one of \").concat(VALID_ORDERS.join(', ')));\n }\n else if (order === 'DESC') {\n dataView.rows.reverse();\n }\n}\nexports.default = sortByTransform;\n" + }, + { + "id": "./src/transform/sort.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort.ts", + "name": "./src/transform/sort.ts", + "index": 161, + "index2": 160, + "size": 317, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/sort", + "loc": "28:0-27" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar sortTransform = function (dataView, options) {\n var columnName = dataView.getColumnName(0);\n dataView.rows.sort(options.callback || (function (a, b) { return a[columnName] - b[columnName]; }));\n};\nexports.default = sortTransform;\n" + }, + { + "id": "./src/transform/subset.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/subset.ts", + "name": "./src/transform/subset.ts", + "index": 163, + "index2": 162, + "size": 498, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 1, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/subset", + "loc": "30:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar option_parser_1 = require(\"../util/option-parser\");\nvar subsetTransform = function (dataView, options) {\n var startIndex = options.startRowIndex || 0;\n var endIndex = options.endRowIndex || dataView.rows.length - 1;\n var columns = (0, option_parser_1.getFields)(options, dataView.getColumnNames());\n dataView.rows = dataView.getSubset(startIndex, endIndex, columns);\n};\nexports.default = subsetTransform;\n" + }, + { + "id": "./src/transform/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "name": "./src/transform/tag-cloud.ts", + "index": 489, + "index2": 489, + "size": 2755, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/tag-cloud", + "loc": "64:0-32" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar tag_cloud_1 = tslib_1.__importDefault(require(\"../util/tag-cloud\"));\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: ['text', 'value'], // fields to keep\n font: function () { return 'serif'; },\n padding: 1,\n size: [500, 500],\n spiral: 'archimedean', // 'archimedean' || 'rectangular' || {function}\n // timeInterval: Infinity // max execute time\n timeInterval: 500, // max execute time\n // imageMask: '', // instance of Image, must be loaded\n};\nfunction tagCloudTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var layout = (0, tag_cloud_1.default)();\n // 当宽或者高为 0 时,容不下任何一个词语,\n // 所以最后的数据应该是一个空数组。\n if (!options.size[0] || !options.size[1]) {\n dataView.rows = [];\n dataView._tagCloud = layout;\n return;\n }\n ['font', 'fontSize', 'fontWeight', 'padding', 'rotate', 'size', 'spiral', 'timeInterval'].forEach(function (key) {\n // @ts-ignore\n if (options[key]) {\n // @ts-ignore\n layout[key](options[key]);\n }\n });\n var fields = (0, option_parser_1.getFields)(options);\n var _a = tslib_1.__read(fields, 2), text = _a[0], value = _a[1];\n if (!(0, util_1.isString)(text) || !(0, util_1.isString)(value)) {\n throw new TypeError('Invalid fields: must be an array with 2 strings (e.g. [ \"text\", \"value\" ])!');\n }\n var words = dataView.rows.map(function (row) {\n row.text = row[text];\n row.value = row[value];\n return row;\n });\n layout.words(words);\n if (options.imageMask) {\n layout.createMask(options.imageMask);\n }\n // 这里的 result 和 layout 指向同一个对象\n var result = layout.start();\n var tags = result._tags;\n var bounds = result._bounds || [\n { x: 0, y: 0 },\n { x: options.size[0], y: options.size[1] },\n ];\n tags.forEach(function (tag) {\n tag.x += options.size[0] / 2;\n tag.y += options.size[1] / 2;\n });\n var _b = tslib_1.__read(options.size, 2), w = _b[0], h = _b[1];\n var hasImage = result.hasImage;\n tags.push({\n text: '',\n value: 0,\n x: hasImage ? 0 : bounds[0].x,\n y: hasImage ? 0 : bounds[0].y,\n opacity: 0,\n });\n tags.push({\n text: '',\n value: 0,\n x: hasImage ? w : bounds[1].x,\n y: hasImage ? h : bounds[1].y,\n opacity: 0,\n });\n dataView.rows = tags;\n dataView._tagCloud = result;\n}\nexports.default = tagCloudTransform;\n" + }, + { + "id": "./src/transform/waffle.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "name": "./src/transform/waffle.ts", + "index": 491, + "index2": 490, + "size": 3073, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "issuerId": "./src/index.ts", + "issuerName": "./src/index.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + } + ], + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/index.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "module": "./src/index.ts", + "moduleName": "./src/index.ts", + "type": "cjs require", + "userRequest": "./transform/waffle", + "loc": "66:0-29" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 1, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_statistics_1 = require(\"simple-statistics\");\nvar partition_1 = tslib_1.__importDefault(require(\"../util/partition\"));\nvar data_set_1 = require(\"../data-set\");\nvar option_parser_1 = require(\"../util/option-parser\");\nvar DEFAULT_OPTIONS = {\n fields: ['name', 'value'], // fields\n rows: 5,\n size: [1, 1],\n scale: 1,\n groupBy: [],\n maxCount: 1000,\n gapRatio: 0.1,\n as: ['x', 'y'],\n};\nfunction waffleTransform(dataView, options) {\n options = (0, util_1.assign)({}, DEFAULT_OPTIONS, options);\n var fields = (0, option_parser_1.getFields)(options);\n var _a = tslib_1.__read(fields, 2), nameField = _a[0], valueField = _a[1];\n var _b = tslib_1.__read(options.as, 2), asX = _b[0], asY = _b[1];\n var groupBy = options.groupBy;\n var groups = (0, partition_1.default)(dataView.rows, groupBy);\n var groupKeys = (0, util_1.keys)(groups);\n var _c = tslib_1.__read(options.size, 2), width = _c[0], height = _c[1];\n var maxCount = options.maxCount;\n var groupCount = groupKeys.length;\n var partHeight = height / groupCount;\n var rows = options.rows;\n var gapRatio = options.gapRatio;\n var result = [];\n var scale = options.scale;\n var currentGroupIndex = 0;\n var wStep = 0;\n // getting suitable scale and width step\n (0, util_1.forIn)(groups, function (group) {\n var totalValue = (0, simple_statistics_1.sum)((0, util_1.map)(group, function (row) { return row[valueField]; }));\n var cols = Math.ceil((totalValue * scale) / rows);\n if (totalValue * scale > maxCount) {\n scale = maxCount / totalValue;\n cols = Math.ceil((totalValue * scale) / rows);\n }\n wStep = width / cols;\n });\n // distributing values into grid\n (0, util_1.forIn)(groups, function (group) {\n var heightRange = [currentGroupIndex * partHeight, (currentGroupIndex + 1) * partHeight];\n var h = heightRange[1] - heightRange[0];\n var hStep = (h * (1 - gapRatio)) / rows;\n var currentCol = 0;\n var currentRow = 0;\n (0, util_1.each)(group, function (row) {\n var value = row[valueField];\n var count = Math.round(value * scale);\n for (var i = 0; i < count; i++) {\n if (currentRow === rows) {\n currentRow = 0;\n currentCol++;\n }\n var resultRow = (0, util_1.pick)(row, [nameField, valueField].concat(groupBy));\n resultRow[asX] = currentCol * wStep + wStep / 2;\n resultRow[asY] = currentRow * hStep + hStep / 2 + heightRange[0];\n resultRow._wStep = wStep;\n resultRow._hStep = hStep;\n currentRow++;\n result.push(resultRow);\n }\n });\n currentGroupIndex += 1;\n });\n dataView.rows = result;\n}\ndata_set_1.DataSet.registerTransform('waffle', waffleTransform);\n" + }, + { + "id": "./src/util/bandwidth.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/bandwidth.ts", + "name": "./src/util/bandwidth.ts", + "index": 170, + "index2": 168, + "size": 702, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/bandwidth", + "loc": "11:37-65" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/bandwidth", + "loc": "12:18-49" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/bandwidth", + "loc": "13:18-49" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/bandwidth", + "loc": "9:18-46" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.nrd = exports.silverman = void 0;\nvar simple_statistics_1 = require(\"simple-statistics\");\nfunction silverman(arr) {\n var stdev = (0, simple_statistics_1.standardDeviation)(arr);\n var num = 4 * Math.pow(stdev, 5);\n var denom = 3 * arr.length;\n return Math.pow(num / denom, 0.2);\n}\nexports.silverman = silverman;\nfunction nrd(arr) {\n var s = (0, simple_statistics_1.standardDeviation)(arr);\n var iqr = (0, simple_statistics_1.interquartileRange)(arr);\n if (typeof iqr === 'number') {\n s = Math.min(s, iqr / 1.34);\n }\n return 1.06 * s * Math.pow(arr.length, -0.2);\n}\nexports.nrd = nrd;\n" + }, + { + "id": "./src/util/get-geo-projection.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-geo-projection.ts", + "name": "./src/util/get-geo-projection.ts", + "index": 120, + "index2": 122, + "size": 1308, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "issuerId": "./src/api/geo.ts", + "issuerName": "./src/api/geo.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/geo.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "name": "./src/api/geo.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 455, + "building": 877, + "dependencies": 1127 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "../util/get-geo-projection", + "loc": "8:51-88" + }, + { + "moduleId": "./src/transform/geo/projection.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/projection.ts", + "module": "./src/transform/geo/projection.ts", + "moduleName": "./src/transform/geo/projection.ts", + "type": "cjs require", + "userRequest": "../../util/get-geo-projection", + "loc": "9:51-91" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar d3Geo = tslib_1.__importStar(require(\"d3-geo\"));\nvar d3GeoProjection = tslib_1.__importStar(require(\"d3-geo-projection\"));\nvar d3CompositeProjection = tslib_1.__importStar(require(\"d3-composite-projections\"));\n/*\n * getGeoProjection\n *\n * @param {string|function} projection projection name or projection function\n * @param {boolean} [exportRaw = false] - whether return the raw projection or not\n * */\nexports.default = (function (projection, exportRaw) {\n if (exportRaw === void 0) { exportRaw = false; }\n if ((0, util_1.isFunction)(projection)) {\n return exportRaw ? projection : projection();\n }\n if ((0, util_1.isString)(projection)) {\n // @ts-ignore\n if (d3Geo[projection]) {\n // @ts-ignore\n return exportRaw ? d3Geo[projection] : d3Geo[projection]();\n }\n if (d3GeoProjection[projection]) {\n return exportRaw ? d3GeoProjection[projection] : d3GeoProjection[projection]();\n }\n if (d3CompositeProjection[projection]) {\n return exportRaw ? d3CompositeProjection[projection] : d3CompositeProjection[projection]();\n }\n }\n return null;\n});\n" + }, + { + "id": "./src/util/get-series-values.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/get-series-values.ts", + "name": "./src/util/get-series-values.ts", + "index": 169, + "index2": 167, + "size": 414, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/get-series-values", + "loc": "9:50-86" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/get-series-values", + "loc": "8:50-89" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/get-series-values", + "loc": "8:50-89" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/get-series-values", + "loc": "7:50-86" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nexports.default = (function (extent, bw) {\n var bandwidth = bw || 1;\n var _a = tslib_1.__read(extent, 2), min = _a[0], max = _a[1];\n var values = [];\n var tmp = min;\n while (tmp < max) {\n values.push(tmp);\n tmp += bandwidth;\n }\n values.push(max);\n return values;\n});\n" + }, + { + "id": "./src/util/kernel.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/kernel.ts", + "name": "./src/util/kernel.ts", + "index": 172, + "index2": 170, + "size": 1456, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "issuerId": "./src/transform/kernel-smooth/regression.ts", + "issuerName": "./src/transform/kernel-smooth/regression.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/kernel-smooth/regression.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "name": "./src/transform/kernel-smooth/regression.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 188, + "building": 18, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/kernel", + "loc": "10:39-64" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/kernel", + "loc": "9:39-67" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/kernel", + "loc": "9:39-67" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\n/*\n * @reference: https://github.com/jasondavies/science.js/blob/master/src/stats/kernel.js\n * @reference: https://github.com/Planeshifter/kernel-smooth/blob/master/lib/index.js#L16\n */\nfunction uniform(u) {\n return Math.abs(u) <= 1 ? 0.5 : 0;\n}\nfunction tricubed(u) {\n var abs = 1 - Math.pow(Math.abs(u), 3);\n return Math.pow(abs, 3);\n}\nexports.default = {\n boxcar: uniform,\n cosine: function (u) {\n if (Math.abs(u) <= 1) {\n return (Math.PI / 4) * Math.cos((Math.PI / 2) * u);\n }\n return 0;\n },\n epanechnikov: function (u) {\n return Math.abs(u) < 1 ? 0.75 * (1 - u * u) : 0;\n },\n gaussian: function (u) {\n // return 1 / Math.sqrt(2 * Math.PI) * Math.exp(-0.5 * u * u);\n return 0.3989422804 * Math.exp(-0.5 * u * u);\n },\n quartic: function (u) {\n if (Math.abs(u) < 1) {\n var tmp = 1 - u * u;\n return (15 / 16) * tmp * tmp;\n }\n return 0;\n },\n triangular: function (u) {\n var abs = Math.abs(u);\n return abs < 1 ? 1 - abs : 0;\n },\n tricube: function (u) {\n return Math.abs(u) < 1 ? (70 / 81) * tricubed(u) : 0;\n },\n triweight: function (u) {\n if (Math.abs(u) < 1) {\n var tmp = 1 - u * u;\n return (35 / 32) * tmp * tmp * tmp;\n }\n return 0;\n },\n uniform: uniform,\n};\n" + }, + { + "id": "./src/util/option-parser.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/option-parser.ts", + "name": "./src/util/option-parser.ts", + "index": 153, + "index2": 151, + "size": 1719, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "issuerId": "./src/transform/fold.ts", + "issuerName": "./src/transform/fold.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/fold.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "name": "./src/transform/fold.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 501, + "building": 39, + "dependencies": 113 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "9:22-54" + }, + { + "moduleId": "./src/transform/bin/hexagon.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/hexagon.ts", + "module": "./src/transform/bin/hexagon.ts", + "moduleName": "./src/transform/bin/hexagon.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "10:22-57" + }, + { + "moduleId": "./src/transform/bin/rectangle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/rectangle.ts", + "module": "./src/transform/bin/rectangle.ts", + "moduleName": "./src/transform/bin/rectangle.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/diagram/voronoi.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/diagram/voronoi.ts", + "module": "./src/transform/diagram/voronoi.ts", + "moduleName": "./src/transform/diagram/voronoi.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "8:22-57" + }, + { + "moduleId": "./src/transform/fold.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fold.ts", + "module": "./src/transform/fold.ts", + "moduleName": "./src/transform/fold.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/geo/centroid.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/centroid.ts", + "module": "./src/transform/geo/centroid.ts", + "moduleName": "./src/transform/geo/centroid.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/geo/region.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/geo/region.ts", + "module": "./src/transform/geo/region.ts", + "moduleName": "./src/transform/geo/region.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "6:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/cluster.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/cluster.ts", + "module": "./src/transform/hierarchy/cluster.ts", + "moduleName": "./src/transform/hierarchy/cluster.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/pack.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/pack.ts", + "module": "./src/transform/hierarchy/pack.ts", + "moduleName": "./src/transform/hierarchy/pack.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/partition.ts", + "module": "./src/transform/hierarchy/partition.ts", + "moduleName": "./src/transform/hierarchy/partition.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/tree.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/tree.ts", + "module": "./src/transform/hierarchy/tree.ts", + "moduleName": "./src/transform/hierarchy/tree.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/hierarchy/treemap.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/hierarchy/treemap.ts", + "module": "./src/transform/hierarchy/treemap.ts", + "moduleName": "./src/transform/hierarchy/treemap.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "7:22-57" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "7:22-54" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "13:22-54" + }, + { + "moduleId": "./src/transform/kernel-smooth/density.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/density.ts", + "module": "./src/transform/kernel-smooth/density.ts", + "moduleName": "./src/transform/kernel-smooth/density.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "11:22-57" + }, + { + "moduleId": "./src/transform/kernel-smooth/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kernel-smooth/regression.ts", + "module": "./src/transform/kernel-smooth/regression.ts", + "moduleName": "./src/transform/kernel-smooth/regression.ts", + "type": "cjs require", + "userRequest": "../../util/option-parser", + "loc": "12:22-57" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "7:22-54" + }, + { + "moduleId": "./src/transform/pick.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/pick.ts", + "module": "./src/transform/pick.ts", + "moduleName": "./src/transform/pick.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "6:22-54" + }, + { + "moduleId": "./src/transform/regression.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/regression.ts", + "module": "./src/transform/regression.ts", + "moduleName": "./src/transform/regression.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "8:22-54" + }, + { + "moduleId": "./src/transform/sort-by.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/sort-by.ts", + "module": "./src/transform/sort-by.ts", + "moduleName": "./src/transform/sort-by.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "4:22-54" + }, + { + "moduleId": "./src/transform/subset.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/subset.ts", + "module": "./src/transform/subset.ts", + "moduleName": "./src/transform/subset.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "3:22-54" + }, + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "6:22-54" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../util/option-parser", + "loc": "8:22-54" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.getFields = exports.getField = void 0;\nvar util_1 = require(\"@antv/util\");\nvar INVALID_FIELD_ERR_MSG = 'Invalid field: it must be a string!';\nvar INVALID_FIELDS_ERR_MSG = 'Invalid fields: it must be an array!';\nfunction getField(options, defaultField) {\n var field = options.field, fields = options.fields;\n if ((0, util_1.isString)(field)) {\n return field;\n }\n if ((0, util_1.isArray)(field)) {\n console.warn(INVALID_FIELD_ERR_MSG);\n return field[0];\n }\n console.warn(\"\".concat(INVALID_FIELD_ERR_MSG, \" will try to get fields instead.\"));\n if ((0, util_1.isString)(fields)) {\n return fields;\n }\n if ((0, util_1.isArray)(fields) && fields.length) {\n return fields[0];\n }\n if (defaultField) {\n return defaultField;\n }\n throw new TypeError(INVALID_FIELD_ERR_MSG);\n}\nexports.getField = getField;\nfunction getFields(options, defaultFields) {\n var field = options.field, fields = options.fields;\n if ((0, util_1.isArray)(fields)) {\n return fields;\n }\n if ((0, util_1.isString)(fields)) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return [fields];\n }\n console.warn(\"\".concat(INVALID_FIELDS_ERR_MSG, \" will try to get field instead.\"));\n if ((0, util_1.isString)(field)) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return [field];\n }\n if ((0, util_1.isArray)(field) && field.length) {\n console.warn(INVALID_FIELDS_ERR_MSG);\n return field;\n }\n if (defaultFields) {\n return defaultFields;\n }\n throw new TypeError(INVALID_FIELDS_ERR_MSG);\n}\nexports.getFields = getFields;\n" + }, + { + "id": "./src/util/p-by-fraction.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/p-by-fraction.ts", + "name": "./src/util/p-by-fraction.ts", + "index": 131, + "index2": 129, + "size": 259, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../util/p-by-fraction", + "loc": "7:46-78" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/p-by-fraction", + "loc": "7:46-81" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.default = (function (fraction) {\n var step = 1 / fraction;\n var pArr = [];\n for (var i = 0; i <= 1; i = i + step) {\n pArr.push(i);\n }\n return pArr;\n});\n" + }, + { + "id": "./src/util/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "name": "./src/util/partition.ts", + "index": 127, + "index2": 126, + "size": 1089, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "issuerId": "./src/api/partition.ts", + "issuerName": "./src/api/partition.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 611, + "building": 61, + "dependencies": 90 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/aggregate.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/aggregate.ts", + "module": "./src/transform/aggregate.ts", + "moduleName": "./src/transform/aggregate.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "7:42-70" + }, + { + "moduleId": "./src/transform/bin/histogram.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/histogram.ts", + "module": "./src/transform/bin/histogram.ts", + "moduleName": "./src/transform/bin/histogram.ts", + "type": "cjs require", + "userRequest": "../../util/partition", + "loc": "5:42-73" + }, + { + "moduleId": "./src/transform/bin/quantile.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/bin/quantile.ts", + "module": "./src/transform/bin/quantile.ts", + "moduleName": "./src/transform/bin/quantile.ts", + "type": "cjs require", + "userRequest": "../../util/partition", + "loc": "6:42-73" + }, + { + "moduleId": "./src/transform/fill-rows.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/fill-rows.ts", + "module": "./src/transform/fill-rows.ts", + "moduleName": "./src/transform/fill-rows.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/impute.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/impute.ts", + "module": "./src/transform/impute.ts", + "moduleName": "./src/transform/impute.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + }, + { + "moduleId": "./src/transform/kde.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/kde.ts", + "module": "./src/transform/kde.ts", + "moduleName": "./src/transform/kde.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "12:42-70" + }, + { + "moduleId": "./src/transform/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/partition.ts", + "module": "./src/transform/partition.ts", + "moduleName": "./src/transform/partition.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/percent.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/percent.ts", + "module": "./src/transform/percent.ts", + "moduleName": "./src/transform/percent.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + }, + { + "moduleId": "./src/transform/proportion.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/proportion.ts", + "module": "./src/transform/proportion.ts", + "moduleName": "./src/transform/proportion.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "5:42-70" + }, + { + "moduleId": "./src/transform/waffle.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/waffle.ts", + "module": "./src/transform/waffle.ts", + "moduleName": "./src/transform/waffle.ts", + "type": "cjs require", + "userRequest": "../util/partition", + "loc": "6:42-70" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar util_1 = require(\"@antv/util\");\nvar simple_sort_by_1 = tslib_1.__importDefault(require(\"./simple-sort-by\"));\nexports.default = (function (rows, group_by, order_by) {\n if (order_by === void 0) { order_by = []; }\n var newRows = rows;\n if (order_by && order_by.length) {\n newRows = (0, simple_sort_by_1.default)(rows, order_by);\n }\n var groupingFn;\n if ((0, util_1.isFunction)(group_by)) {\n groupingFn = group_by;\n }\n else if ((0, util_1.isArray)(group_by)) {\n groupingFn = function (row) { return \"_\".concat(group_by.map(function (col) { return row[col]; }).join('-')); };\n // NOTE: Object.keys({'b': 'b', '2': '2', '1': '1', 'a': 'a'}) => [ '1', '2', 'b', 'a' ]\n // that is why we have to add a prefix\n }\n else if ((0, util_1.isString)(group_by)) {\n groupingFn = function (row) { return \"_\".concat(row[group_by]); };\n }\n var groups = (0, util_1.groupBy)(newRows, groupingFn);\n return groups;\n});\n" + }, + { + "id": "./src/util/simple-sort-by.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/simple-sort-by.ts", + "name": "./src/util/simple-sort-by.ts", + "index": 128, + "index2": 125, + "size": 1010, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "issuerId": "./src/util/partition.ts", + "issuerName": "./src/util/partition.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "name": "./src/api/partition.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + }, + { + "id": "./src/util/partition.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "name": "./src/util/partition.ts", + "profile": { + "factory": 611, + "building": 61, + "dependencies": 90 + } + } + ], + "profile": { + "factory": 101, + "building": 1382, + "dependencies": 0 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/util/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/partition.ts", + "module": "./src/util/partition.ts", + "moduleName": "./src/util/partition.ts", + "type": "cjs require", + "userRequest": "./simple-sort-by", + "loc": "5:47-74" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 3, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar util_1 = require(\"@antv/util\");\nfunction sortBy(arr, keys) {\n if (keys === void 0) { keys = []; }\n var comparer = undefined;\n if ((0, util_1.isFunction)(keys)) {\n comparer = keys;\n }\n else if ((0, util_1.isArray)(keys)) {\n comparer = function (a, b) {\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n if (a[key] < b[key]) {\n return -1;\n }\n if (a[key] > b[key]) {\n return 1;\n }\n }\n return 0;\n };\n }\n else if ((0, util_1.isString)(keys)) {\n comparer = function (a, b) {\n if (a[keys] < b[keys]) {\n return -1;\n }\n if (a[keys] > b[keys]) {\n return 1;\n }\n return 0;\n };\n }\n return arr.sort(comparer);\n}\nexports.default = sortBy;\n" + }, + { + "id": "./src/util/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/util/tag-cloud.ts", + "name": "./src/util/tag-cloud.ts", + "index": 490, + "index2": 488, + "size": 12938, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "issuerId": "./src/transform/tag-cloud.ts", + "issuerName": "./src/transform/tag-cloud.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/transform/tag-cloud.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "name": "./src/transform/tag-cloud.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 401, + "building": 135, + "dependencies": 12 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/transform/tag-cloud.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/transform/tag-cloud.ts", + "module": "./src/transform/tag-cloud.ts", + "moduleName": "./src/transform/tag-cloud.ts", + "type": "cjs require", + "userRequest": "../util/tag-cloud", + "loc": "5:42-70" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\n/*\n * Synchronous version of d3-cloud\n */\n// Word cloud layout by Jason Davies, https://www.jasondavies.com/wordcloud/\n// Algorithm due to Jonathan Feinberg, http://static.mrfeinberg.com/bv_ch03.pdf\n/* eslint-disable no-return-assign, no-cond-assign */\nObject.defineProperty(exports, \"__esModule\", { value: true });\nvar tslib_1 = require(\"tslib\");\nvar cloudRadians = Math.PI / 180, cw = (1 << 11) >> 5, ch = 1 << 11;\nfunction cloudText(d) {\n return d.text;\n}\nfunction cloudFont() {\n return 'serif';\n}\nfunction cloudFontNormal() {\n return 'normal';\n}\nfunction cloudFontSize(d) {\n return d.value;\n}\nfunction cloudRotate() {\n return ~~(Math.random() * 2) * 90;\n}\nfunction cloudPadding() {\n return 1;\n}\n// Fetches a monochrome sprite bitmap for the specified text.\n// Load in batches for speed.\nfunction cloudSprite(contextAndRatio, d, data, di) {\n if (d.sprite)\n return;\n var c = contextAndRatio.context, ratio = contextAndRatio.ratio;\n c.clearRect(0, 0, (cw << 5) / ratio, ch / ratio);\n var x = 0, y = 0, maxh = 0;\n var n = data.length;\n --di;\n while (++di < n) {\n d = data[di];\n c.save();\n c.font = d.style + ' ' + d.weight + ' ' + ~~((d.size + 1) / ratio) + 'px ' + d.font;\n var w = c.measureText(d.text + 'm').width * ratio, h = d.size << 1;\n if (d.rotate) {\n var sr = Math.sin(d.rotate * cloudRadians), cr = Math.cos(d.rotate * cloudRadians), wcr = w * cr, wsr = w * sr, hcr = h * cr, hsr = h * sr;\n w = ((Math.max(Math.abs(wcr + hsr), Math.abs(wcr - hsr)) + 0x1f) >> 5) << 5;\n h = ~~Math.max(Math.abs(wsr + hcr), Math.abs(wsr - hcr));\n }\n else {\n w = ((w + 0x1f) >> 5) << 5;\n }\n if (h > maxh)\n maxh = h;\n if (x + w >= cw << 5) {\n x = 0;\n y += maxh;\n maxh = 0;\n }\n if (y + h >= ch)\n break;\n c.translate((x + (w >> 1)) / ratio, (y + (h >> 1)) / ratio);\n if (d.rotate)\n c.rotate(d.rotate * cloudRadians);\n c.fillText(d.text, 0, 0);\n if (d.padding) {\n c.lineWidth = 2 * d.padding;\n c.strokeText(d.text, 0, 0);\n }\n c.restore();\n d.width = w;\n d.height = h;\n d.xoff = x;\n d.yoff = y;\n d.x1 = w >> 1;\n d.y1 = h >> 1;\n d.x0 = -d.x1;\n d.y0 = -d.y1;\n d.hasText = true;\n x += w;\n }\n var pixels = c.getImageData(0, 0, (cw << 5) / ratio, ch / ratio).data, sprite = [];\n while (--di >= 0) {\n d = data[di];\n if (!d.hasText)\n continue;\n var w = d.width, w32 = w >> 5;\n var h = d.y1 - d.y0;\n // Zero the buffer\n for (var i = 0; i < h * w32; i++)\n sprite[i] = 0;\n x = d.xoff;\n if (x == null)\n return;\n y = d.yoff;\n var seen = 0, seenRow = -1;\n for (var j = 0; j < h; j++) {\n for (var i = 0; i < w; i++) {\n var k = w32 * j + (i >> 5), m = pixels[((y + j) * (cw << 5) + (x + i)) << 2] ? 1 << (31 - (i % 32)) : 0;\n sprite[k] |= m;\n seen |= m;\n }\n if (seen)\n seenRow = j;\n else {\n d.y0++;\n h--;\n j--;\n y++;\n }\n }\n d.y1 = d.y0 + seenRow;\n d.sprite = sprite.slice(0, (d.y1 - d.y0) * w32);\n }\n}\n// Use mask-based collision detection.\nfunction cloudCollide(tag, board, sw) {\n sw >>= 5;\n var sprite = tag.sprite, w = tag.width >> 5, lx = tag.x - (w << 4), sx = lx & 0x7f, msx = 32 - sx, h = tag.y1 - tag.y0;\n var x = (tag.y + tag.y0) * sw + (lx >> 5), last;\n for (var j = 0; j < h; j++) {\n last = 0;\n for (var i = 0; i <= w; i++) {\n if (((last << msx) | (i < w ? (last = sprite[j * w + i]) >>> sx : 0)) & board[x + i])\n return true;\n }\n x += sw;\n }\n return false;\n}\nfunction cloudBounds(bounds, d) {\n var b0 = bounds[0], b1 = bounds[1];\n if (d.x + d.x0 < b0.x)\n b0.x = d.x + d.x0;\n if (d.y + d.y0 < b0.y)\n b0.y = d.y + d.y0;\n if (d.x + d.x1 > b1.x)\n b1.x = d.x + d.x1;\n if (d.y + d.y1 > b1.y)\n b1.y = d.y + d.y1;\n}\nfunction collideRects(a, b) {\n return a.x + a.x1 > b[0].x && a.x + a.x0 < b[1].x && a.y + a.y1 > b[0].y && a.y + a.y0 < b[1].y;\n}\nfunction archimedeanSpiral(size) {\n var e = size[0] / size[1];\n return function (t) {\n return [e * (t *= 0.1) * Math.cos(t), t * Math.sin(t)];\n };\n}\nfunction rectangularSpiral(size) {\n var dy = 4, dx = (dy * size[0]) / size[1];\n var x = 0, y = 0;\n return function (t) {\n var sign = t < 0 ? -1 : 1;\n // See triangular numbers: T_n = n * (n + 1) / 2.\n switch ((Math.sqrt(1 + 4 * sign * t) - sign) & 3) {\n case 0:\n x += dx;\n break;\n case 1:\n y += dy;\n break;\n case 2:\n x -= dx;\n break;\n default:\n y -= dy;\n break;\n }\n return [x, y];\n };\n}\n// TODO reuse arrays?\nfunction zeroArray(n) {\n var a = [];\n var i = -1;\n while (++i < n)\n a[i] = 0;\n return a;\n}\nfunction cloudCanvas() {\n return document.createElement('canvas');\n}\nfunction functor(d) {\n return typeof d === 'function'\n ? d\n : function () {\n return d;\n };\n}\nvar spirals = {\n archimedean: archimedeanSpiral,\n rectangular: rectangularSpiral,\n};\nfunction default_1() {\n var size = [256, 256], text = cloudText, font = cloudFont, fontSize = cloudFontSize, fontStyle = cloudFontNormal, fontWeight = cloudFontNormal, rotate = cloudRotate, padding = cloudPadding, spiral = archimedeanSpiral, words = [], timeInterval = Infinity, random = Math.random, canvas = cloudCanvas;\n var cloud = {};\n cloud.canvas = function (_) {\n return arguments.length ? ((canvas = functor(_)), cloud) : canvas;\n };\n cloud.start = function () {\n var _a = tslib_1.__read(size, 2), width = _a[0], height = _a[1];\n var contextAndRatio = getContext(canvas()), board = cloud.board ? cloud.board : zeroArray((size[0] >> 5) * size[1]), n = words.length, tags = [], data = words\n .map(function (d, i) {\n d.text = text.call(this, d, i);\n d.font = font.call(this, d, i);\n d.style = fontStyle.call(this, d, i);\n d.weight = fontWeight.call(this, d, i);\n d.rotate = rotate.call(this, d, i);\n d.size = ~~fontSize.call(this, d, i);\n d.padding = padding.call(this, d, i);\n return d;\n })\n .sort(function (a, b) {\n return b.size - a.size;\n });\n var i = -1, bounds = !cloud.board\n ? null\n : [\n {\n x: 0,\n y: 0,\n },\n {\n x: width,\n y: height,\n },\n ];\n step();\n function step() {\n var start = Date.now();\n while (Date.now() - start < timeInterval && ++i < n) {\n var d = data[i];\n d.x = (width * (random() + 0.5)) >> 1;\n d.y = (height * (random() + 0.5)) >> 1;\n cloudSprite(contextAndRatio, d, data, i);\n if (d.hasText && place(board, d, bounds)) {\n tags.push(d);\n if (bounds) {\n if (!cloud.hasImage) {\n // update bounds if image mask not set\n cloudBounds(bounds, d);\n }\n }\n else {\n bounds = [\n { x: d.x + d.x0, y: d.y + d.y0 },\n { x: d.x + d.x1, y: d.y + d.y1 },\n ];\n }\n // Temporary hack\n d.x -= size[0] >> 1;\n d.y -= size[1] >> 1;\n }\n }\n cloud._tags = tags;\n cloud._bounds = bounds;\n }\n return cloud;\n };\n function getContext(canvas) {\n canvas.width = canvas.height = 1;\n var ratio = Math.sqrt(canvas.getContext('2d').getImageData(0, 0, 1, 1).data.length >> 2);\n canvas.width = (cw << 5) / ratio;\n canvas.height = ch / ratio;\n var context = canvas.getContext('2d');\n context.fillStyle = context.strokeStyle = 'red';\n context.textAlign = 'center';\n return { context: context, ratio: ratio };\n }\n function place(board, tag, bounds) {\n // const perimeter = [{ x: 0, y: 0 }, { x: size[0], y: size[1] }],\n var startX = tag.x, startY = tag.y, maxDelta = Math.sqrt(size[0] * size[0] + size[1] * size[1]), s = spiral(size), dt = random() < 0.5 ? 1 : -1;\n var dxdy, t = -dt, dx, dy;\n while ((dxdy = s((t += dt)))) {\n dx = ~~dxdy[0];\n dy = ~~dxdy[1];\n if (Math.min(Math.abs(dx), Math.abs(dy)) >= maxDelta)\n break;\n tag.x = startX + dx;\n tag.y = startY + dy;\n if (tag.x + tag.x0 < 0 || tag.y + tag.y0 < 0 || tag.x + tag.x1 > size[0] || tag.y + tag.y1 > size[1])\n continue;\n // TODO only check for collisions within current bounds.\n if (!bounds || !cloudCollide(tag, board, size[0])) {\n if (!bounds || collideRects(tag, bounds)) {\n var sprite = tag.sprite, w = tag.width >> 5, sw = size[0] >> 5, lx = tag.x - (w << 4), sx = lx & 0x7f, msx = 32 - sx, h = tag.y1 - tag.y0;\n var last = void 0, x = (tag.y + tag.y0) * sw + (lx >> 5);\n for (var j = 0; j < h; j++) {\n last = 0;\n for (var i = 0; i <= w; i++) {\n board[x + i] |= (last << msx) | (i < w ? (last = sprite[j * w + i]) >>> sx : 0);\n }\n x += sw;\n }\n delete tag.sprite;\n return true;\n }\n }\n }\n return false;\n }\n cloud.createMask = function (img) {\n var can = document.createElement('canvas');\n var _a = tslib_1.__read(size, 2), width = _a[0], height = _a[1];\n // 当 width 或 height 为 0 时,调用 cxt.getImageData 会报错\n if (!width || !height) {\n return;\n }\n var w32 = width >> 5;\n var board = zeroArray((width >> 5) * height);\n can.width = width;\n can.height = height;\n var cxt = can.getContext('2d');\n cxt.drawImage(img, 0, 0, img.width, img.height, 0, 0, width, height);\n var imageData = cxt.getImageData(0, 0, width, height).data;\n for (var j = 0; j < height; j++) {\n for (var i = 0; i < width; i++) {\n var k = w32 * j + (i >> 5);\n var tmp = (j * width + i) << 2;\n var flag = imageData[tmp] >= 250 && imageData[tmp + 1] >= 250 && imageData[tmp + 2] >= 250;\n var m = flag ? 1 << (31 - (i % 32)) : 0;\n board[k] |= m;\n }\n }\n cloud.board = board;\n cloud.hasImage = true;\n };\n cloud.timeInterval = function (_) {\n return arguments.length ? ((timeInterval = _ == null ? Infinity : _), cloud) : timeInterval;\n };\n cloud.words = function (_) {\n return arguments.length ? ((words = _), cloud) : words;\n };\n cloud.size = function (_) {\n return arguments.length ? ((size = [+_[0], +_[1]]), cloud) : size;\n };\n cloud.font = function (_) {\n return arguments.length ? ((font = functor(_)), cloud) : font;\n };\n cloud.fontStyle = function (_) {\n return arguments.length ? ((fontStyle = functor(_)), cloud) : fontStyle;\n };\n cloud.fontWeight = function (_) {\n return arguments.length ? ((fontWeight = functor(_)), cloud) : fontWeight;\n };\n cloud.rotate = function (_) {\n return arguments.length ? ((rotate = functor(_)), cloud) : rotate;\n };\n cloud.text = function (_) {\n return arguments.length ? ((text = functor(_)), cloud) : text;\n };\n cloud.spiral = function (_) {\n return arguments.length ? ((spiral = spirals[_] || _), cloud) : spiral;\n };\n cloud.fontSize = function (_) {\n return arguments.length ? ((fontSize = functor(_)), cloud) : fontSize;\n };\n cloud.padding = function (_) {\n return arguments.length ? ((padding = functor(_)), cloud) : padding;\n };\n cloud.random = function (_) {\n return arguments.length ? ((random = _), cloud) : random;\n };\n return cloud;\n}\nexports.default = default_1;\n" + }, + { + "id": "./src/view.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/view.ts", + "name": "./src/view.ts", + "index": 118, + "index2": 117, + "size": 7478, + "cacheable": true, + "built": true, + "optional": false, + "prefetched": false, + "chunks": [ + "data-set" + ], + "issuer": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "issuerId": "./src/api/statistics.ts", + "issuerName": "./src/api/statistics.ts", + "issuerPath": [ + { + "id": "./src/index.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/index.ts", + "name": "./src/index.ts", + "profile": { + "factory": 9, + "building": 1395 + } + }, + { + "id": "./src/api/statistics.ts", + "identifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "name": "./src/api/statistics.ts", + "profile": { + "factory": 11, + "building": 509, + "dependencies": 1637 + } + } + ], + "profile": { + "factory": 625, + "building": 38, + "dependencies": 1567 + }, + "failed": false, + "errors": 0, + "warnings": 0, + "assets": [], + "reasons": [ + { + "moduleId": "./src/api/geo.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/geo.ts", + "module": "./src/api/geo.ts", + "moduleName": "./src/api/geo.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "7:13-31" + }, + { + "moduleId": "./src/api/hierarchy.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/hierarchy.ts", + "module": "./src/api/hierarchy.ts", + "moduleName": "./src/api/hierarchy.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "4:13-31" + }, + { + "moduleId": "./src/api/partition.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/partition.ts", + "module": "./src/api/partition.ts", + "moduleName": "./src/api/partition.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "6:13-31" + }, + { + "moduleId": "./src/api/statistics.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/api/statistics.ts", + "module": "./src/api/statistics.ts", + "moduleName": "./src/api/statistics.ts", + "type": "cjs require", + "userRequest": "../view", + "loc": "6:13-31" + }, + { + "moduleId": "./src/data-set.ts", + "moduleIdentifier": "/Users/valar/workspace/data-set/node_modules/ts-loader/index.js!/Users/valar/workspace/data-set/src/data-set.ts", + "module": "./src/data-set.ts", + "moduleName": "./src/data-set.ts", + "type": "cjs require", + "userRequest": "./view", + "loc": "10:13-30" + } + ], + "providedExports": null, + "optimizationBailout": [], + "depth": 2, + "source": "\"use strict\";\nObject.defineProperty(exports, \"__esModule\", { value: true });\nexports.View = void 0;\nvar tslib_1 = require(\"tslib\");\nvar wolfy87_eventemitter_1 = tslib_1.__importDefault(require(\"wolfy87-eventemitter\"));\nvar util_1 = require(\"@antv/util\");\nfunction cloneOptions(options) {\n var result = {};\n (0, util_1.forIn)(options, function (value, key) {\n if ((0, util_1.isObject)(value) && value.isView) {\n result[key] = value;\n }\n else if ((0, util_1.isArray)(value)) {\n result[key] = value.concat([]);\n }\n else if ((0, util_1.isPlainObject)(value)) {\n result[key] = (0, util_1.clone)(value);\n }\n else {\n result[key] = value;\n }\n });\n return result;\n}\n/**\n * 数据视图\n * @public\n */\nvar View = /** @class */ (function (_super) {\n tslib_1.__extends(View, _super);\n function View(dataSet, options) {\n var _this = _super.call(this) || this;\n /**\n * 是否是View\n */\n _this.isView = true;\n /**\n * 是否是View\n */\n _this.isDataView = true; // alias\n /**\n *\n */\n _this.watchingStates = null;\n /**\n * 数据视图类型\n */\n _this.dataType = 'table';\n /**\n * 已应用的 transform\n */\n _this.transforms = [];\n /**\n * 原始数据\n */\n _this.origin = [];\n /**\n * 存储处理后的数据\n */\n _this.rows = [];\n if (dataSet && dataSet.isDataSet) {\n _this.dataSet = dataSet;\n }\n else {\n _this.dataSet = null;\n options = dataSet;\n }\n _this.loose = !_this.dataSet;\n // TODO:\n // assign(me, options);\n if (options) {\n _this.watchingStates = options.watchingStates;\n }\n if (!_this.loose) {\n var watchingStates_1 = _this.watchingStates;\n dataSet.on('statechange', function (name) {\n if ((0, util_1.isArray)(watchingStates_1)) {\n if (watchingStates_1.indexOf(name) > -1) {\n _this._reExecute();\n }\n }\n else {\n _this._reExecute();\n }\n });\n }\n return _this;\n }\n View.prototype._parseStateExpression = function (expr) {\n var dataSet = this.dataSet;\n if (dataSet === null)\n return undefined;\n var matched = /^\\$state\\.(\\w+)/.exec(expr);\n if (matched) {\n return dataSet.state[matched[1]];\n }\n return expr;\n };\n View.prototype._preparseOptions = function (options) {\n var _this = this;\n var optionsCloned = cloneOptions(options);\n if (this.loose) {\n return optionsCloned;\n }\n (0, util_1.forIn)(optionsCloned, function (value, key) {\n if ((0, util_1.isString)(value) && /^\\$state\\./.test(value)) {\n optionsCloned[key] = _this._parseStateExpression(value);\n }\n });\n return optionsCloned;\n };\n // connectors\n View.prototype._prepareSource = function (source, options) {\n // warning me.origin is protected\n this._source = { source: source, options: options };\n if (!options) {\n if (source instanceof View || (0, util_1.isString)(source)) {\n this.origin = View.DataSet.getConnector('default')(source, this.dataSet);\n }\n else if ((0, util_1.isArray)(source)) {\n // TODO branch: if source is like ['dataview1', 'dataview2']\n this.origin = source;\n }\n else if ((0, util_1.isObject)(source) && source.type) {\n var opts = this._preparseOptions(source); // connector without source\n this.origin = View.DataSet.getConnector(opts.type)(opts, this);\n }\n else {\n throw new TypeError('Invalid source');\n }\n }\n else {\n var opts = this._preparseOptions(options);\n this.origin = View.DataSet.getConnector(opts.type)(source, opts, this);\n }\n this.rows = (0, util_1.deepMix)([], this.origin);\n return this;\n };\n View.prototype.source = function (source, options) {\n this._prepareSource(source, options)._reExecuteTransforms();\n this.trigger('change', []);\n return this;\n };\n /**\n * 执行数据处理数据。执行完这个函数后,transform 会被存储\n * @param options - 某种类型的transform\n */\n View.prototype.transform = function (options) {\n if (options && options.type) {\n this.transforms.push(options);\n this._executeTransform(options);\n }\n return this;\n };\n View.prototype._executeTransform = function (options) {\n options = this._preparseOptions(options);\n var transform = View.DataSet.getTransform(options.type);\n transform(this, options);\n };\n View.prototype._reExecuteTransforms = function () {\n var _this = this;\n this.transforms.forEach(function (options) {\n _this._executeTransform(options);\n });\n };\n View.prototype.addRow = function (row) {\n this.rows.push(row);\n };\n View.prototype.removeRow = function (index) {\n this.rows.splice(index, 1);\n };\n View.prototype.updateRow = function (index, newRow) {\n (0, util_1.assign)(this.rows[index], newRow);\n };\n View.prototype.findRows = function (query) {\n return this.rows.filter(function (row) { return (0, util_1.isMatch)(row, query); });\n };\n View.prototype.findRow = function (query) {\n return (0, util_1.find)(this.rows, query);\n };\n // columns\n View.prototype.getColumnNames = function () {\n var firstRow = this.rows[0];\n if (firstRow) {\n return (0, util_1.keys)(firstRow);\n }\n return [];\n };\n View.prototype.getColumnName = function (index) {\n return this.getColumnNames()[index];\n };\n View.prototype.getColumnIndex = function (columnName) {\n var columnNames = this.getColumnNames();\n return columnNames.indexOf(columnName);\n };\n View.prototype.getColumn = function (columnName) {\n return this.rows.map(function (row) { return row[columnName]; });\n };\n View.prototype.getColumnData = function (columnName) {\n return this.getColumn(columnName);\n };\n // data process\n View.prototype.getSubset = function (startRowIndex, endRowIndex, columnNames) {\n var subset = [];\n for (var i = startRowIndex; i <= endRowIndex; i++) {\n subset.push((0, util_1.pick)(this.rows[i], columnNames));\n }\n return subset;\n };\n View.prototype.toString = function (prettyPrint) {\n if (prettyPrint === void 0) { prettyPrint = false; }\n if (prettyPrint) {\n return JSON.stringify(this.rows, null, 2);\n }\n return JSON.stringify(this.rows);\n };\n View.prototype._reExecute = function () {\n var _a = this._source, source = _a.source, options = _a.options;\n this._prepareSource(source, options);\n this._reExecuteTransforms();\n this.trigger('change', []);\n };\n return View;\n}(wolfy87_eventemitter_1.default));\nexports.View = View;\n" + } + ], + "filteredModules": 0, + "logging": { + "webpack.buildChunkGraph.visitModules": { + "entries": [], + "filteredEntries": 2, + "debug": false + } + }, + "children": [] +} diff --git a/test/bugs/98-spec.ts b/test/bugs/98.test.ts similarity index 91% rename from test/bugs/98-spec.ts rename to test/bugs/98.test.ts index 0d97d75..4b9e17f 100644 --- a/test/bugs/98-spec.ts +++ b/test/bugs/98.test.ts @@ -1,4 +1,7 @@ -import { expect } from 'chai'; +/** + * @jest-environment jsdom + */ + import DataSet from '../../src'; import { View } from '../../src/view'; @@ -24,6 +27,6 @@ describe('no error when size is [0, 0]', () => { size: [0, 0], imageMask: new Image(), }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/bugs/geo-max-call-stack-spec.ts b/test/bugs/geo-max-call-stack.test.ts similarity index 91% rename from test/bugs/geo-max-call-stack-spec.ts rename to test/bugs/geo-max-call-stack.test.ts index 9fe7488..6ab07d4 100644 --- a/test/bugs/geo-max-call-stack-spec.ts +++ b/test/bugs/geo-max-call-stack.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../src/'; import ChinaGEO from '../fixtures/china-geo.json'; import Provinces from '../fixtures/china-provinces.json'; @@ -18,6 +17,6 @@ describe('max call stack when cloning options', () => { geoDataView: chinaMap, as: ['longitude', 'lantitude'], }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/unit/api/geo-spec.ts b/test/unit/api/geo.test.ts similarity index 53% rename from test/unit/api/geo-spec.ts rename to test/unit/api/geo.test.ts index e902845..7146b17 100644 --- a/test/unit/api/geo-spec.ts +++ b/test/unit/api/geo.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import * as d3GeoProjection from 'd3-geo-projection'; import DataSet from '../../../src'; import geoWorld from '../../fixtures/countries-geo.json'; @@ -14,65 +13,65 @@ describe('View API: geo', () => { const name1 = feature1.name; it('geoArea(feature)', () => { - expect(dv.geoArea(feature0)).to.equal(0.016075045020474882); - expect(dv.geoArea(geoWorld)).to.equal(16.19442017652553); + expect(dv.geoArea(feature0)).toEqual(0.016075045020474882); + expect(dv.geoArea(geoWorld)).toEqual(16.19442017652553); }); it('geoAreaByName(name)', () => { - expect(dv.geoAreaByName(name0)).to.equal(0.016075045020474882); + expect(dv.geoAreaByName(name0)).toEqual(0.016075045020474882); }); it('geoCentroid(feature)', () => { - expect(dv.geoCentroid(feature0)).to.eql([66.00365046020929, 33.840347839442174]); - expect(dv.geoCentroid(geoWorld)).to.eql([28.413918613244718, 44.84875775550983]); + expect(dv.geoCentroid(feature0)).toEqual([66.00365046020929, 33.840347839442174]); + expect(dv.geoCentroid(geoWorld)).toEqual([28.413918613244718, 44.84875775550983]); }); it('geoCentroidByName(name)', () => { - expect(dv.geoCentroidByName(name0)).to.eql([66.00365046020929, 33.840347839442174]); + expect(dv.geoCentroidByName(name0)).toEqual([66.00365046020929, 33.840347839442174]); }); it('geoDistance(p1, p2)', () => { - expect(dv.geoDistance([118 + 24 / 60, 33 + 57 / 60], [73 + 47 / 60, 40 + 38 / 60])).to.equal(0.6235846454638789); + expect(dv.geoDistance([118 + 24 / 60, 33 + 57 / 60], [73 + 47 / 60, 40 + 38 / 60])).toEqual(0.6235846454638789); }); it('geoLength(feature)', () => { - expect(dv.geoLength(feature0)).to.equal(0.6920658293451696); + expect(dv.geoLength(feature0)).toEqual(0.6920658293451696); }); it('geoLengthByName(name)', () => { - expect(dv.geoLengthByName(name0)).to.equal(0.6920658293451696); + expect(dv.geoLengthByName(name0)).toEqual(0.6920658293451696); }); it('geoContains(feature, position)', () => { - expect(dv.geoContains(feature0, dv.geoCentroid(feature0))).to.be.true; - expect(dv.geoContains(feature0, dv.geoCentroid(feature1))).to.be.false; + expect(dv.geoContains(feature0, dv.geoCentroid(feature0))).toBe(true); + expect(dv.geoContains(feature0, dv.geoCentroid(feature1))).toBe(false); }); it('geoFeatureByName(name)', () => { - expect(dv.geoFeatureByName(name0)).to.eql(feature0); - expect(dv.geoFeatureByName(name1)).to.eql(feature1); + expect(dv.geoFeatureByName(name0)).toEqual(feature0); + expect(dv.geoFeatureByName(name1)).toEqual(feature1); }); it('geoFeatureByPosition(position)', () => { - expect(dv.geoFeatureByPosition(dv.geoCentroid(feature0))).to.equal(feature0); - expect(dv.geoFeatureByPosition(dv.geoCentroid(feature1))).to.equal(feature1); + expect(dv.geoFeatureByPosition(dv.geoCentroid(feature0))).toEqual(feature0); + expect(dv.geoFeatureByPosition(dv.geoCentroid(feature1))).toEqual(feature1); }); it('geoNameByPosition(position)', () => { - expect(dv.geoNameByPosition(dv.geoCentroid(feature0))).to.equal(name0); - expect(dv.geoNameByPosition(dv.geoCentroid(feature1))).to.equal(name1); + expect(dv.geoNameByPosition(dv.geoCentroid(feature0))).toEqual(name0); + expect(dv.geoNameByPosition(dv.geoCentroid(feature1))).toEqual(name1); }); // projection it('geoProject(feature, projection)', () => { - expect(dv.geoProject(feature0, 'geoAiry')).to.eql(d3GeoProjection.geoProject(feature0, d3GeoProjection.geoAiry())); + expect(dv.geoProject(feature0, 'geoAiry')).toEqual(d3GeoProjection.geoProject(feature0, d3GeoProjection.geoAiry())); }); it('geoProjectByName(name, projection)', () => { - expect(dv.geoProjectByName(name0, 'geoAiry')).to.eql( + expect(dv.geoProjectByName(name0, 'geoAiry')).toEqual( d3GeoProjection.geoProject(feature0, d3GeoProjection.geoAiry()) ); }); it('geoProjectPosition(position, projection)', () => { - expect(dv.geoProjectPosition([0, 0], 'geoAiry')).to.eql(d3GeoProjection.geoAiry()([0, 0])); + expect(dv.geoProjectPosition([0, 0], 'geoAiry')).toEqual(d3GeoProjection.geoAiry()([0, 0])); }); it('geoProjectInvert(point, projection)', () => { - expect(dv.geoProjectInvert([300, 300], 'geoAiry')).to.eql(d3GeoProjection.geoAiry().invert([300, 300])); + expect(dv.geoProjectInvert([300, 300], 'geoAiry')).toEqual(d3GeoProjection.geoAiry().invert([300, 300])); }); }); diff --git a/test/unit/api/hierarchy-spec.ts b/test/unit/api/hierarchy.test.ts similarity index 72% rename from test/unit/api/hierarchy-spec.ts rename to test/unit/api/hierarchy.test.ts index eedafeb..e66a895 100644 --- a/test/unit/api/hierarchy-spec.ts +++ b/test/unit/api/hierarchy.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import flare from '../../fixtures/flare.json'; @@ -11,9 +10,9 @@ describe('View API: hierarchy', () => { }); it('getAllNodes()', () => { - expect(dv.getAllNodes().length).to.equal(252); + expect(dv.getAllNodes().length).toEqual(252); }); it('getAllLinks()', () => { - expect(dv.getAllLinks().length).to.equal(251); + expect(dv.getAllLinks().length).toEqual(251); }); }); diff --git a/test/unit/api/statistics-spec.ts b/test/unit/api/statistics-spec.ts deleted file mode 100644 index c5c2883..0000000 --- a/test/unit/api/statistics-spec.ts +++ /dev/null @@ -1,58 +0,0 @@ -import { map, flattenDeep } from 'lodash'; -import { max, mean, median, min, mode, quantile, standardDeviation, sum, variance } from 'simple-statistics'; -import { expect } from 'chai'; -import DataSet from '../../../src'; -import populationChina from '../../fixtures/population-china.json'; - -describe('View API: statistics', () => { - // statistics - it('statistics methods', () => { - const dv = new DataSet.View().source(populationChina); - dv.transform({ - type: 'map', - callback(row) { - row.year = parseInt(row.year, 10); - return row; - }, - }); - const years = dv.getColumn('year'); - expect(dv.max('year')).to.equal(max(years)); - expect(dv.min('year')).to.equal(min(years)); - expect(dv.mean('year')).to.equal(mean(years)); - expect(dv.average('year')).to.equal(mean(years)); - expect(dv.median('year')).to.equal(median(years)); - expect(dv.mode('year')).to.equal(mode(years)); - expect(dv.quantile('year', 0.5)).to.equal(quantile(years, 0.5)); - expect(dv.quantiles('year', [0, 0.1, 0.5])).to.eql(map([0, 0.1, 0.5], (p) => quantile(years, p))); - expect(dv.quantilesByFraction('year', 4)).to.eql(map([0, 0.25, 0.5, 0.75, 1], (p) => quantile(years, p))); - expect(dv.standardDeviation('year')).to.equal(standardDeviation(years)); - expect(dv.sum('year')).to.equal(sum(years)); - expect(dv.variance('year')).to.equal(variance(years)); - expect(dv.range('year')).to.eql([min(years), max(years)]); - }); - - it('statistics methods on fields of array', () => { - const data = []; - for (let i = 1; i <= 10; i++) { - // 1~10 - data.push({ - a: [i, i + 10, [-i, i * i, [-i * i, 1 / i]]], - }); - } - const dv = new DataSet.View().source(data); - const values = flattenDeep(dv.getColumn('a')); - expect(dv.max('a')).to.equal(max(values)); - expect(dv.min('a')).to.equal(min(values)); - expect(dv.mean('a')).to.equal(mean(values)); - expect(dv.average('a')).to.equal(mean(values)); - expect(dv.median('a')).to.equal(median(values)); - expect(dv.mode('a')).to.equal(mode(values)); - expect(dv.quantile('a', 0.5)).to.equal(quantile(values, 0.5)); - expect(dv.quantiles('a', [0, 0.1, 0.5])).to.eql(map([0, 0.1, 0.5], (p) => quantile(values, p))); - expect(dv.quantilesByFraction('a', 4)).to.eql(map([0, 0.25, 0.5, 0.75, 1], (p) => quantile(values, p))); - expect(dv.standardDeviation('a')).to.equal(standardDeviation(values)); - expect(dv.sum('a')).to.equal(sum(values)); - expect(dv.variance('a')).to.equal(variance(values)); - expect(dv.range('a')).to.eql([min(values), max(values)]); - }); -}); diff --git a/test/unit/api/statistics.test.ts b/test/unit/api/statistics.test.ts new file mode 100644 index 0000000..c8e3250 --- /dev/null +++ b/test/unit/api/statistics.test.ts @@ -0,0 +1,57 @@ +import { map, flattenDeep } from 'lodash'; +import { max, mean, median, min, mode, quantile, standardDeviation, sum, variance } from 'simple-statistics'; +import DataSet from '../../../src'; +import populationChina from '../../fixtures/population-china.json'; + +describe('View API: statistics', () => { + // statistics + it('statistics methods', () => { + const dv = new DataSet.View().source(populationChina); + dv.transform({ + type: 'map', + callback(row) { + row.year = parseInt(row.year, 10); + return row; + }, + }); + const years = dv.getColumn('year'); + expect(dv.max('year')).toEqual(max(years)); + expect(dv.min('year')).toEqual(min(years)); + expect(dv.mean('year')).toEqual(mean(years)); + expect(dv.average('year')).toEqual(mean(years)); + expect(dv.median('year')).toEqual(median(years)); + expect(dv.mode('year')).toEqual(mode(years)); + expect(dv.quantile('year', 0.5)).toEqual(quantile(years, 0.5)); + expect(dv.quantiles('year', [0, 0.1, 0.5])).toEqual(map([0, 0.1, 0.5], (p) => quantile(years, p))); + expect(dv.quantilesByFraction('year', 4)).toEqual(map([0, 0.25, 0.5, 0.75, 1], (p) => quantile(years, p))); + expect(dv.standardDeviation('year')).toEqual(standardDeviation(years)); + expect(dv.sum('year')).toEqual(sum(years)); + expect(dv.variance('year')).toEqual(variance(years)); + expect(dv.range('year')).toEqual([min(years), max(years)]); + }); + + it('statistics methods on fields of array', () => { + const data = []; + for (let i = 1; i <= 10; i++) { + // 1~10 + data.push({ + a: [i, i + 10, [-i, i * i, [-i * i, 1 / i]]], + }); + } + const dv = new DataSet.View().source(data); + const values = flattenDeep(dv.getColumn('a')); + expect(dv.max('a')).toEqual(max(values)); + expect(dv.min('a')).toEqual(min(values)); + expect(dv.mean('a')).toEqual(mean(values)); + expect(dv.average('a')).toEqual(mean(values)); + expect(dv.median('a')).toEqual(median(values)); + expect(dv.mode('a')).toEqual(mode(values)); + expect(dv.quantile('a', 0.5)).toEqual(quantile(values, 0.5)); + expect(dv.quantiles('a', [0, 0.1, 0.5])).toEqual(map([0, 0.1, 0.5], (p) => quantile(values, p))); + expect(dv.quantilesByFraction('a', 4)).toEqual(map([0, 0.25, 0.5, 0.75, 1], (p) => quantile(values, p))); + expect(dv.standardDeviation('a')).toEqual(standardDeviation(values)); + expect(dv.sum('a')).toEqual(sum(values)); + expect(dv.variance('a')).toEqual(variance(values)); + expect(dv.range('a')).toEqual([min(values), max(values)]); + }); +}); diff --git a/test/unit/connector/default-spec.ts b/test/unit/connector/default.test.ts similarity index 58% rename from test/unit/connector/default-spec.ts rename to test/unit/connector/default.test.ts index 531a500..7ca6f24 100644 --- a/test/unit/connector/default-spec.ts +++ b/test/unit/connector/default.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getConnector } = DataSet; @@ -11,18 +10,18 @@ describe('View.source(): default', () => { ]); it('api', () => { - expect(getConnector('default')).to.be.a('function'); + expect(typeof getConnector('default')).toBe('function'); }); it('View instance', () => { const testView2 = ds.createView('test2').source(testView); - expect(testView2.origin).to.eql(testView.rows); - expect(testView2.origin === testView.rows).to.equal(false); + expect(testView2.origin).toEqual(testView.rows); + expect(testView2.origin === testView.rows).toEqual(false); }); it('string', () => { const testView3 = ds.createView('test3').source('test'); - expect(testView3.origin).to.eql(testView.rows); - expect(testView3.origin === testView.rows).to.equal(false); + expect(testView3.origin).toEqual(testView.rows); + expect(testView3.origin === testView.rows).toEqual(false); }); }); diff --git a/test/unit/connector/dsv-spec.ts b/test/unit/connector/dsv.test.ts similarity index 72% rename from test/unit/connector/dsv-spec.ts rename to test/unit/connector/dsv.test.ts index d5c0414..78ed812 100644 --- a/test/unit/connector/dsv-spec.ts +++ b/test/unit/connector/dsv.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getConnector } = DataSet; import readFileSync from '../../support/util'; @@ -21,9 +20,9 @@ describe('View.source(): dsv', () => { }); it('api', () => { - expect(getConnector('dsv')).to.be.a('function'); - expect(getConnector('csv')).to.be.a('function'); - expect(getConnector('tsv')).to.be.a('function'); + expect(typeof getConnector('dsv')).toBe('function'); + expect(typeof getConnector('csv')).toBe('function'); + expect(typeof getConnector('tsv')).toBe('function'); }); it('dsv', () => { @@ -31,28 +30,28 @@ describe('View.source(): dsv', () => { type: 'dsv', delimiter: '|', }); - expect(dv.origin).to.eql(data); + expect([...dv.origin]).toMatchObject(data); }); it('csv', () => { dv.source(source.csv, { type: 'csv', }); - expect(dv.origin).to.eql(data); + expect([...dv.origin]).toMatchObject(data); dv.source(source.csv2, { type: 'csv', }); - expect(dv.origin).to.eql(data2); + expect([...dv.origin]).toMatchObject(data2); }); it('tsv', () => { dv.source(source.tsv, { type: 'tsv', }); - expect(dv.origin).to.eql(data); + expect([...dv.origin]).toMatchObject(data); dv.source(source.tsv2, { type: 'tsv', }); - expect(dv.origin).to.eql(data2); + expect([...dv.origin]).toMatchObject(data2); }); }); diff --git a/test/unit/connector/geo-graticule-spec.ts b/test/unit/connector/geo-graticule.test.ts similarity index 77% rename from test/unit/connector/geo-graticule-spec.ts rename to test/unit/connector/geo-graticule.test.ts index 1965801..53da732 100644 --- a/test/unit/connector/geo-graticule-spec.ts +++ b/test/unit/connector/geo-graticule.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; const { getConnector } = DataSet; @@ -11,7 +10,7 @@ describe('View.source(): geo-graticule', () => { }); it('api', () => { - expect(getConnector('geo-graticule')).to.be.a('function'); + expect(typeof getConnector('geo-graticule')).toBe('function'); }); it('default', () => { @@ -19,6 +18,6 @@ describe('View.source(): geo-graticule', () => { dv.source({ type: 'geo-graticule', }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/unit/connector/geojson-spec.ts b/test/unit/connector/geojson.test.ts similarity index 67% rename from test/unit/connector/geojson-spec.ts rename to test/unit/connector/geojson.test.ts index 45d1e4b..cdac164 100644 --- a/test/unit/connector/geojson-spec.ts +++ b/test/unit/connector/geojson.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getConnector } = DataSet; import geoWorld from '../../fixtures/countries-geo.json'; @@ -12,9 +11,9 @@ describe('View.source(): geojson', () => { }); it('api', () => { - expect(getConnector('geo')).to.be.a('function'); - expect(getConnector('geojson')).to.be.a('function'); - expect(getConnector('GeoJSON')).to.be.a('function'); + expect(typeof getConnector('geo')).toBe('function'); + expect(typeof getConnector('geojson')).toBe('function'); + expect(typeof getConnector('GeoJSON')).toBe('function'); }); it('default', () => { @@ -22,6 +21,6 @@ describe('View.source(): geojson', () => { dv.source(geoWorld, { type: 'geo', }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/unit/connector/hierarchy-spec.ts b/test/unit/connector/hierarchy.test.ts similarity index 72% rename from test/unit/connector/hierarchy-spec.ts rename to test/unit/connector/hierarchy.test.ts index cf51757..8a40664 100644 --- a/test/unit/connector/hierarchy-spec.ts +++ b/test/unit/connector/hierarchy.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getConnector } = DataSet; import flare from '../../fixtures/flare.json'; @@ -12,8 +11,8 @@ describe('View.source(): hierarchy', () => { }); it('api', () => { - expect(getConnector('hierarchy')).to.be.a('function'); - expect(getConnector('tree')).to.be.a('function'); + expect(typeof getConnector('hierarchy')).toBe('function'); + expect(typeof getConnector('tree')).toBe('function'); }); it('default', () => { @@ -21,6 +20,6 @@ describe('View.source(): hierarchy', () => { dv.source(flare, { type: 'hierarchy', }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/unit/connector/topojson-spec.ts b/test/unit/connector/topojson.test.ts similarity index 74% rename from test/unit/connector/topojson-spec.ts rename to test/unit/connector/topojson.test.ts index 629f4d7..a070ffb 100644 --- a/test/unit/connector/topojson-spec.ts +++ b/test/unit/connector/topojson.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getConnector } = DataSet; import topoUS from '../../fixtures/us-topo.json'; @@ -12,21 +11,21 @@ describe('View.source(): topojson', () => { }); it('api', () => { - expect(getConnector('topojson')).to.be.a('function'); - expect(getConnector('TopoJSON')).to.be.a('function'); + expect(typeof getConnector('topojson')).toBe('function'); + expect(typeof getConnector('TopoJSON')).toBe('function'); }); it('default', () => { expect(() => { // @ts-ignore dv.source(topoUS, { type: 'topojson' }); - }).to.throw(); + }).toThrow(); expect(() => { dv.source(topoUS, { type: 'topojson', object: 'states', }); - }).to.not.throw(); + }).not.toThrow(); }); }); diff --git a/test/unit/data-set-spec.ts b/test/unit/data-set.test.ts similarity index 69% rename from test/unit/data-set-spec.ts rename to test/unit/data-set.test.ts index b8d7c8a..9c0e434 100644 --- a/test/unit/data-set-spec.ts +++ b/test/unit/data-set.test.ts @@ -1,42 +1,45 @@ +/** + * @jest-environment jsdom + */ + import { forIn, keys } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../src'; describe('DataSet', () => { it('Constructor', () => { - expect(DataSet).to.be.a('function'); - expect(new DataSet()).to.be.an('object'); + expect(typeof DataSet).toBe('function'); + expect(typeof new DataSet()).toBe('object'); }); it('init with state', () => { // init with state const ds0 = new DataSet(); - expect(ds0.state).to.eql({}); + expect(ds0.state).toEqual({}); const ds1 = new DataSet({ state: { foo: 'bar', }, }); - expect(ds1.state.foo).to.equal('bar'); + expect(ds1.state.foo).toEqual('bar'); }); it('createView(name)', () => { const ds = new DataSet(); ds.createView('test'); - expect(keys(ds.views).length).to.equal(1); + expect(keys(ds.views).length).toEqual(1); ds.createView(); - expect(keys(ds.views).length).to.equal(2); + expect(keys(ds.views).length).toEqual(2); expect(() => { ds.createView('test'); - }).to.throw(); + }).toThrow(); }); it('setView(name, view)', () => { const ds = new DataSet(); const dv = ds.createView('test1'); ds.setView('test2', dv); - expect(ds.getView('test2')).to.equal(ds.getView('test1')); + expect(ds.getView('test2')).toEqual(ds.getView('test1')); }); it('setState(name, value)', () => { @@ -53,11 +56,10 @@ describe('DataSet', () => { forIn(newState, (value, key) => { ds.setState(key, value); }); - expect(ds.state).to.not.equal(newState); - expect(ds.state).to.eql(newState); - expect(count).to.equal(0); + expect(ds.state).toEqual(newState); + expect(count).toEqual(0); setTimeout(() => { - expect(count).to.equal(1); + expect(count).toEqual(1); }, 16); }); @@ -72,9 +74,9 @@ describe('DataSet', () => { }); ds.setState('hello', 'world'); ds.setState('foo', 'bar'); - expect(emittedCount).to.equal(0); + expect(emittedCount).toEqual(0); setTimeout(() => { - expect(emittedCount).to.equal(1); + expect(emittedCount).toEqual(1); }, 16); }); }); diff --git a/test/unit/index-spec.ts b/test/unit/index-spec.ts deleted file mode 100644 index d5f058b..0000000 --- a/test/unit/index-spec.ts +++ /dev/null @@ -1,9 +0,0 @@ -import { expect } from 'chai'; -import DataSet from '../../src'; - -describe('index', () => { - it('DataSet', () => { - expect('DataSet').to.be.a('string'); - expect(DataSet).to.be.a('function'); - }); -}); diff --git a/test/unit/index.test.ts b/test/unit/index.test.ts new file mode 100644 index 0000000..3d882f6 --- /dev/null +++ b/test/unit/index.test.ts @@ -0,0 +1,12 @@ +/** + * @jest-environment jsdom + */ + +import DataSet from '../../src'; + +describe('index', () => { + it('DataSet', () => { + expect(typeof 'DataSet').toBe('string'); + expect(typeof DataSet).toBe('function'); + }); +}); diff --git a/test/unit/transform/aggregate-spec.ts b/test/unit/transform/aggregate.test.ts similarity index 79% rename from test/unit/transform/aggregate-spec.ts rename to test/unit/transform/aggregate.test.ts index 633fedb..9615ed4 100644 --- a/test/unit/transform/aggregate-spec.ts +++ b/test/unit/transform/aggregate.test.ts @@ -1,14 +1,17 @@ import * as simpleStatistics from 'simple-statistics'; import { each, forIn, groupBy, map, uniq } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; -const { getTransform } = DataSet; -const { VALID_AGGREGATES } = require('../../../src/transform/aggregate').default; +import { keys } from '@antv/util'; import top2000 from '../../fixtures/top2000.json'; import { View } from '../../../src/view'; +import { aggregates, aggregateTransform } from '../../../src/transform/aggregate'; +const { getTransform } = DataSet; describe('View.transform(): aggregate', () => { + const VALID_AGGREGATES = keys(aggregates); const data = []; + DataSet.registerTransform('aggregate', aggregateTransform); + DataSet.registerTransform('summary', aggregateTransform); for (let i = 1; i <= 10; i++) { // 1~10 const b = i % 2; @@ -19,20 +22,21 @@ describe('View.transform(): aggregate', () => { } const ds = new DataSet(); let dv: View; + beforeEach(() => { dv = ds.createView().source(data); }); it('api', () => { - expect(getTransform('aggregate')).to.be.a('function'); + expect(typeof getTransform('aggregate')).toBe('function'); }); it('default: count', () => { dv.transform({ type: 'aggregate', }); - expect(dv.rows.length).to.equal(1); - expect(dv.rows[0].count).to.equal(10); + expect(dv.rows.length).toEqual(1); + expect(dv.rows[0].count).toEqual(10); }); it('all', () => { @@ -64,7 +68,7 @@ describe('View.transform(): aggregate', () => { }); return result; }); - expect(dv.rows).to.eql(results); + expect(dv.rows).toEqual(results); }); }); @@ -81,18 +85,19 @@ describe('View.transform(): aggregate: performance of partition', () => { }); const t3 = Date.now(); it('deepClone should be done in less than 500ms', () => { - expect(t2 - t1 < 1000).to.equal(true); + expect(t2 - t1 < 1000).toEqual(true); }); it('partition should be done in less than 500ms', () => { - expect(t3 - t2 < 1000).to.equal(true); + expect(t3 - t2 < 1000).toEqual(true); }); it('it should be done in less than 1000ms in total', () => { - expect(t3 - t1 < 2000).to.equal(true); + expect(t3 - t1 < 2000).toEqual(true); }); }); describe('View.transform(): aggregate: fields of array', () => { const data = []; + for (let i = 1; i <= 10; i++) { // 1~10 data.push({ @@ -100,14 +105,16 @@ describe('View.transform(): aggregate: fields of array', () => { }); } const dv = new DataSet.View().source(data); + dv.transform({ type: 'aggregate', fields: ['a', 'a'], operations: ['max', 'min'], as: ['max', 'min'], }); + it('counting fields of arrays', () => { - expect(dv.rows[0].max).to.equal(20); - expect(dv.rows[0].min).to.equal(1); + expect(dv.rows[0].max).toEqual(20); + expect(dv.rows[0].min).toEqual(1); }); }); diff --git a/test/unit/transform/bin/hexagon-spec.ts b/test/unit/transform/bin/hexagon.test.ts similarity index 57% rename from test/unit/transform/bin/hexagon-spec.ts rename to test/unit/transform/bin/hexagon.test.ts index 709192a..8112352 100644 --- a/test/unit/transform/bin/hexagon-spec.ts +++ b/test/unit/transform/bin/hexagon.test.ts @@ -1,9 +1,12 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; +import { hexagonTransform } from '../../../../src/transform/bin/hexagon'; import { View } from '../../../../src/view'; const { getTransform } = DataSet; describe('View.transform(): bin.hexagon', () => { + DataSet.registerTransform('bin.hexagon', hexagonTransform); + DataSet.registerTransform('bin.hex', hexagonTransform); + DataSet.registerTransform('hexbin', hexagonTransform); const data = []; for (let i = 0; i <= 10; i++) { data.push({ @@ -18,12 +21,12 @@ describe('View.transform(): bin.hexagon', () => { }); it('api', () => { - expect(getTransform('bin.hexagon')).to.be.a('function'); - expect(getTransform('bin.hex')).to.be.a('function'); - expect(getTransform('hexbin')).to.be.a('function'); + expect(typeof getTransform('bin.hexagon')).toBe('function'); + expect(typeof getTransform('bin.hex')).toBe('function'); + expect(typeof getTransform('hexbin')).toBe('function'); expect( getTransform('bin.hexagon') === getTransform('bin.hex') && getTransform('bin.hexagon') === getTransform('hexbin') - ).to.equal(true); + ).toEqual(true); }); it('default', () => { @@ -31,8 +34,8 @@ describe('View.transform(): bin.hexagon', () => { type: 'bin.hexagon', fields: ['a', 'b'], }); - expect(dv.rows[0].x.length).to.equal(6); - expect(dv.rows[0].y.length).to.equal(6); + expect(dv.rows[0].x.length).toEqual(6); + expect(dv.rows[0].y.length).toEqual(6); }); it('bins', () => { @@ -41,6 +44,6 @@ describe('View.transform(): bin.hexagon', () => { fields: ['a', 'b'], bins: [2, 2], }); - expect(dv.rows.length).to.equal(5); + expect(dv.rows.length).toEqual(5); }); }); diff --git a/test/unit/transform/bin/histogram-spec.ts b/test/unit/transform/bin/histogram.test.ts similarity index 69% rename from test/unit/transform/bin/histogram-spec.ts rename to test/unit/transform/bin/histogram.test.ts index 59de2c1..5222ce5 100644 --- a/test/unit/transform/bin/histogram-spec.ts +++ b/test/unit/transform/bin/histogram.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; import { View } from '../../../../src/view'; const { getTransform } = DataSet; @@ -17,8 +16,8 @@ describe('View.transform(): bin.histogram', () => { }); it('api', () => { - expect(getTransform('bin.histogram')).to.be.a('function'); - expect(getTransform('bin.dot')).to.be.a('function'); + expect(typeof getTransform('bin.histogram')).toBe('function'); + expect(typeof getTransform('bin.dot')).toBe('function'); }); /** 改为Sturges formula 更符合数学的意义*/ it('default', () => { @@ -29,7 +28,7 @@ describe('View.transform(): bin.histogram', () => { const firstRow = dv.rows[0]; const binNumber = Math.ceil(Math.log(data.length) / Math.LN2) + 1; // binWidth = width / binNumber; - expect(firstRow.x[1] - firstRow.x[0]).to.equal(100 / binNumber); + expect(firstRow.x[1] - firstRow.x[0]).toEqual(100 / binNumber); }); it('bins', () => { @@ -38,8 +37,8 @@ describe('View.transform(): bin.histogram', () => { field: 'a', bins: 10, }); - expect(dv.rows[0]).to.eql({ x: [0, 10], count: 10 }); - expect(dv.rows[10]).to.eql({ x: [100, 110], count: 1 }); + expect(dv.rows[0]).toEqual({ x: [0, 10], count: 10 }); + expect(dv.rows[10]).toEqual({ x: [100, 110], count: 1 }); }); it('binWidth', () => { @@ -48,8 +47,8 @@ describe('View.transform(): bin.histogram', () => { field: 'a', binWidth: 10, }); - expect(dv.rows[0]).to.eql({ x: [0, 10], count: 10 }); - expect(dv.rows[10]).to.eql({ x: [100, 110], count: 1 }); + expect(dv.rows[0]).toEqual({ x: [0, 10], count: 10 }); + expect(dv.rows[10]).toEqual({ x: [100, 110], count: 1 }); }); it('binWidth', () => { @@ -59,11 +58,11 @@ describe('View.transform(): bin.histogram', () => { type: 'bin.histogram', field: 'a', }); - }).to.not.throw(); + }).not.toThrow(); emptyDv.transform({ type: 'bin.histogram', field: 'a', }); - expect(emptyDv.rows.length).to.equal(0); + expect(emptyDv.rows.length).toEqual(0); }); }); diff --git a/test/unit/transform/bin/quantile-spec.ts b/test/unit/transform/bin/quantile.test.ts similarity index 79% rename from test/unit/transform/bin/quantile-spec.ts rename to test/unit/transform/bin/quantile.test.ts index dd90410..3faee4a 100644 --- a/test/unit/transform/bin/quantile-spec.ts +++ b/test/unit/transform/bin/quantile.test.ts @@ -1,5 +1,4 @@ import { clone } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../../src'; import { View } from '../../../../src/view'; const { getTransform } = DataSet; @@ -22,12 +21,12 @@ describe('View.transform(): bin.quantile', () => { }); it('api', () => { - expect(getTransform('bin.quantile')).to.be.a('function'); + expect(typeof getTransform('bin.quantile')).toBe('function'); expect(() => { dv.transform({ type: 'bin.quantile', }); - }).to.throw(); + }).toThrow(); }); it('fields', () => { @@ -36,7 +35,7 @@ describe('View.transform(): bin.quantile', () => { field: 'z', }); const rows = dv.rows; - expect(rows[0]._bin.length).to.equal(5); + expect(rows[0]._bin.length).toEqual(5); }); it('as', () => { @@ -46,7 +45,7 @@ describe('View.transform(): bin.quantile', () => { as: '_z', }); const rows = dv.rows; - expect(rows[0]._z.length).to.equal(5); + expect(rows[0]._z.length).toEqual(5); }); it('grouBy', () => { @@ -57,7 +56,7 @@ describe('View.transform(): bin.quantile', () => { as: '_z', }); const rows = dv.rows; - expect(rows.length).to.equal(4); - expect(rows[0]._z.length).to.equal(5); + expect(rows.length).toEqual(4); + expect(rows[0]._z.length).toEqual(5); }); }); diff --git a/test/unit/transform/bin/rectangle-spec.ts b/test/unit/transform/bin/rectangle.test.ts similarity index 66% rename from test/unit/transform/bin/rectangle-spec.ts rename to test/unit/transform/bin/rectangle.test.ts index bfe0100..35c0409 100644 --- a/test/unit/transform/bin/rectangle-spec.ts +++ b/test/unit/transform/bin/rectangle.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; import { View } from '../../../../src/view'; const { getTransform } = DataSet; @@ -18,8 +17,8 @@ describe('View.transform(): bin.rectangle', () => { }); it('api', () => { - expect(getTransform('bin.rectangle')).to.be.a('function'); - expect(getTransform('bin.rect')).to.be.a('function'); + expect(typeof getTransform('bin.rectangle')).toBe('function'); + expect(typeof getTransform('bin.rect')).toBe('function'); }); it('default', () => { @@ -27,8 +26,8 @@ describe('View.transform(): bin.rectangle', () => { type: 'bin.rectangle', fields: ['a', 'b'], }); - expect(dv.rows.length).to.equal(31); - expect(dv.rows[30].count).to.equal(1); + expect(dv.rows.length).toEqual(31); + expect(dv.rows[30].count).toEqual(1); }); it('bins', () => { @@ -37,8 +36,8 @@ describe('View.transform(): bin.rectangle', () => { fields: ['a', 'b'], bins: [20, 20], }); - expect(dv.rows.length).to.equal(21); - expect(dv.rows[20].count).to.equal(1); + expect(dv.rows.length).toEqual(21); + expect(dv.rows[20].count).toEqual(1); }); it('binWidth', () => { @@ -47,7 +46,7 @@ describe('View.transform(): bin.rectangle', () => { fields: ['a', 'b'], binWidth: [20, 20], }); - expect(dv.rows.length).to.equal(6); - expect(dv.rows[5].count).to.equal(1); + expect(dv.rows.length).toEqual(6); + expect(dv.rows[5].count).toEqual(1); }); }); diff --git a/test/unit/transform/default-spec.ts b/test/unit/transform/default.test.ts similarity index 53% rename from test/unit/transform/default-spec.ts rename to test/unit/transform/default.test.ts index a869fc3..372c908 100644 --- a/test/unit/transform/default-spec.ts +++ b/test/unit/transform/default.test.ts @@ -1,24 +1,25 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { defaultTransform } from '../../../src/transform/default'; describe('View.transform(): default', () => { const ds = new DataSet(); let dv: View; + DataSet.registerTransform('default', defaultTransform); beforeEach(() => { dv = ds.createView().source(populationChina); }); it('api', () => { - expect(getTransform()).to.be.a('function'); - expect(getTransform('default')).to.be.a('function'); - expect(getTransform('this-transform-is-not-exists-xxx')).to.be.a('function'); + expect(typeof getTransform()).toBe('function'); + expect(typeof getTransform('default')).toBe('function'); + expect(typeof getTransform('this-transform-is-not-exists-xxx')).toBe('function'); }); it('default', () => { dv.transform(); - expect(dv.rows).to.eql(populationChina); + expect(dv.rows).toEqual(populationChina); }); }); diff --git a/test/unit/transform/diagram/voronoi-spec.ts b/test/unit/transform/diagram/voronoi.test.ts similarity index 73% rename from test/unit/transform/diagram/voronoi-spec.ts rename to test/unit/transform/diagram/voronoi.test.ts index 6725962..23a93ea 100644 --- a/test/unit/transform/diagram/voronoi-spec.ts +++ b/test/unit/transform/diagram/voronoi.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; import { View } from '../../../../src/view'; const { getTransform } = DataSet; @@ -18,8 +17,8 @@ describe('View.transform(): diagram.voronoi', () => { }); it('api', () => { - expect(getTransform('diagram.voronoi')).to.be.a('function'); - expect(getTransform('voronoi')).to.be.a('function'); + expect(typeof getTransform('diagram.voronoi')).toBe('function'); + expect(typeof getTransform('voronoi')).toBe('function'); }); it('default', () => { @@ -28,14 +27,14 @@ describe('View.transform(): diagram.voronoi', () => { type: 'diagram.voronoi', as: ['_x', '_y'], }); - }).to.throw(); + }).toThrow(); expect(() => { dv.transform({ type: 'diagram.voronoi', fields: ['x', 'y'], as: ['_x', '_y', 'extra'], }); - }).to.throw(); + }).toThrow(); }); it('voronoi', () => { @@ -46,8 +45,8 @@ describe('View.transform(): diagram.voronoi', () => { }); const rows = dv.rows; const firstRow = rows[0]; - expect(firstRow._x).to.be.an('array'); - expect(firstRow._y).to.be.an('array'); - expect(firstRow._x.length).to.equal(firstRow._y.length); + expect(Array.isArray(firstRow._x)).toBe(true); + expect(Array.isArray(firstRow._y)).toBe(true); + expect(firstRow._x.length).toEqual(firstRow._y.length); }); }); diff --git a/test/unit/transform/fill-rows-spec.ts b/test/unit/transform/fill-rows.test.ts similarity index 71% rename from test/unit/transform/fill-rows-spec.ts rename to test/unit/transform/fill-rows.test.ts index 3863a6e..8e816ab 100644 --- a/test/unit/transform/fill-rows-spec.ts +++ b/test/unit/transform/fill-rows.test.ts @@ -1,6 +1,6 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; +import { fillRowsTransform } from '../../../src/transform/fill-rows'; const { getTransform } = DataSet; describe('View.transform(): fill-rows', () => { @@ -16,21 +16,22 @@ describe('View.transform(): fill-rows', () => { const originLength = data.length; const ds = new DataSet(); let dv: View; - + DataSet.registerTransform('fill-rows', fillRowsTransform); + DataSet.registerTransform('fillRows', fillRowsTransform); beforeEach(() => { dv = ds.createView().source(data); }); it('api', () => { - expect(getTransform('fill-rows')).to.be.a('function'); - expect(getTransform('fillRows')).to.be.a('function'); + expect(typeof getTransform('fill-rows')).toBe('function'); + expect(typeof getTransform('fillRows')).toBe('function'); }); it('default', () => { dv.transform({ type: 'fill-rows', }); - expect(dv.rows.length).to.equal(originLength); + expect(dv.rows.length).toEqual(originLength); }); it('groupBy', () => { @@ -39,8 +40,8 @@ describe('View.transform(): fill-rows', () => { groupBy: ['x'], }); const rows = dv.rows; - expect(rows.length).to.equal(originLength + 1); - expect(rows[originLength]).to.eql({ + expect(rows.length).toEqual(originLength + 1); + expect(rows[originLength]).toEqual({ x: 3, }); }); @@ -50,7 +51,7 @@ describe('View.transform(): fill-rows', () => { type: 'fill-rows', orderBy: ['c'], }); - expect(dv.rows.length).to.equal(originLength); + expect(dv.rows.length).toEqual(originLength); }); it('groupBy and orderBy', () => { @@ -60,8 +61,8 @@ describe('View.transform(): fill-rows', () => { orderBy: ['c'], }); const rows = dv.rows; - expect(rows.length).to.equal(originLength + 1); - expect(rows[originLength]).to.eql({ + expect(rows.length).toEqual(originLength + 1); + expect(rows[originLength]).toEqual({ x: 3, c: 1, }); @@ -87,6 +88,6 @@ describe('View.transform(): fill-rows: fillBy order', () => { }); it('fillBy order', () => { const rows = dv.rows; - expect(rows.length).to.equal(18); + expect(rows.length).toEqual(18); }); }); diff --git a/test/unit/transform/filter-spec.ts b/test/unit/transform/filter.test.ts similarity index 63% rename from test/unit/transform/filter-spec.ts rename to test/unit/transform/filter.test.ts index cdbe944..f7853a8 100644 --- a/test/unit/transform/filter-spec.ts +++ b/test/unit/transform/filter.test.ts @@ -1,25 +1,23 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; -const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { filterTransform } from '../../../src/transform/filter'; -describe('View.transform(): filter', () => { +describe('transform:filter', () => { const ds = new DataSet(); let dv: View; + DataSet.registerTransform('filter', filterTransform); beforeEach(() => { dv = ds.createView().source(populationChina); }); - it('api', () => { - expect(getTransform('filter')).to.be.a('function'); + expect(typeof DataSet.getTransform('filter')).toBe('function'); }); - it('default', () => { dv.transform({ type: 'filter', }); - expect(dv.rows.length).to.equal(dv.origin.length); + expect(dv.rows.length).toEqual(dv.origin.length); }); it('callback', () => { @@ -29,16 +27,16 @@ describe('View.transform(): filter', () => { return row.year > '2002'; // origin data range: [2002, 2015] }, }); - expect(dv.rows.length).to.equal(dv.origin.length - 1); + expect(dv.rows.length).toEqual(dv.origin.length - 1); }); - it('empty condiction', () => { + test('empty condiction', () => { dv.transform({ type: 'filter', callback(row) { return row.year > '2100'; // origin data range: [2002, 2015] }, }); - expect(dv.rows.length).to.equal(0); + expect(dv.rows.length).toEqual(0); }); }); diff --git a/test/unit/transform/fold-spec.ts b/test/unit/transform/fold.test.ts similarity index 75% rename from test/unit/transform/fold-spec.ts rename to test/unit/transform/fold.test.ts index 6c4d42f..0d1a3f3 100644 --- a/test/unit/transform/fold-spec.ts +++ b/test/unit/transform/fold.test.ts @@ -1,7 +1,7 @@ import { assign, difference, keys, pick } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; +import { foldTransform } from '../../../src/transform/fold'; const { getTransform } = DataSet; describe('View.transform(): fold', () => { @@ -14,21 +14,23 @@ describe('View.transform(): fold', () => { const row1 = data[1]; const dataKeys = keys(row0); const ds = new DataSet(); + + DataSet.registerTransform('fold', foldTransform); let dv: View; beforeEach(() => { dv = ds.createView().source(data); }); it('api', () => { - expect(getTransform('fold')).to.be.a('function'); + expect(typeof getTransform('fold')).toBe('function'); }); it('default', () => { dv.transform({ type: 'fold', }); - expect(dv.rows.length).to.equal(8); - expect(keys(dv.rows[0])).to.eql(['key', 'value']); + expect(dv.rows.length).toEqual(8); + expect(keys(dv.rows[0])).toEqual(['key', 'value']); }); it('key and value', () => { @@ -37,8 +39,8 @@ describe('View.transform(): fold', () => { key: 'type', value: 'typeValue', }); - expect(dv.rows.length).to.equal(8); - expect(keys(dv.rows[0])).to.eql(['type', 'typeValue']); + expect(dv.rows.length).toEqual(8); + expect(keys(dv.rows[0])).toEqual(['type', 'typeValue']); }); it('empty fields', () => { @@ -46,7 +48,7 @@ describe('View.transform(): fold', () => { type: 'fold', fields: [], }); - expect(dv.rows.length).to.equal(8); + expect(dv.rows.length).toEqual(8); }); it('one field', () => { @@ -55,8 +57,8 @@ describe('View.transform(): fold', () => { type: 'fold', fields, }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql( + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual( assign( { key: 'a', @@ -65,7 +67,7 @@ describe('View.transform(): fold', () => { pick(row0, difference(dataKeys, fields)) ) ); - expect(dv.rows[1]).to.eql( + expect(dv.rows[1]).toEqual( assign( { key: 'a', @@ -82,8 +84,8 @@ describe('View.transform(): fold', () => { type: 'fold', fields, }); - expect(dv.rows.length).to.equal(4); - expect(dv.rows[0]).to.eql( + expect(dv.rows.length).toEqual(4); + expect(dv.rows[0]).toEqual( assign( { key: 'b', @@ -92,7 +94,7 @@ describe('View.transform(): fold', () => { pick(row0, difference(dataKeys, fields)) ) ); - expect(dv.rows[1]).to.eql( + expect(dv.rows[1]).toEqual( assign( { key: 'c', @@ -101,7 +103,7 @@ describe('View.transform(): fold', () => { pick(row0, difference(dataKeys, fields)) ) ); - expect(dv.rows[2]).to.eql( + expect(dv.rows[2]).toEqual( assign( { key: 'b', @@ -110,7 +112,7 @@ describe('View.transform(): fold', () => { pick(row1, difference(dataKeys, fields)) ) ); - expect(dv.rows[3]).to.eql( + expect(dv.rows[3]).toEqual( assign( { key: 'c', @@ -129,8 +131,8 @@ describe('View.transform(): fold', () => { fields, retains, }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql( + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual( assign( { key: 'a', @@ -139,7 +141,7 @@ describe('View.transform(): fold', () => { pick(row0, retains) ) ); - expect(dv.rows[1]).to.eql( + expect(dv.rows[1]).toEqual( assign( { key: 'a', diff --git a/test/unit/transform/geo/centroid-spec.ts b/test/unit/transform/geo/centroid.test.ts similarity index 78% rename from test/unit/transform/geo/centroid-spec.ts rename to test/unit/transform/geo/centroid.test.ts index 61910ad..fcb5c7a 100644 --- a/test/unit/transform/geo/centroid-spec.ts +++ b/test/unit/transform/geo/centroid.test.ts @@ -1,5 +1,4 @@ import { isNumber } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../../src'; const { getTransform } = DataSet; import geoWorld from '../../../fixtures/countries-geo.json'; @@ -27,7 +26,7 @@ describe('View.transform(): geo.centroid', () => { }); it('api', () => { - expect(getTransform('geo.centroid')).to.be.a('function'); + expect(typeof getTransform('geo.centroid')).toBe('function'); }); it('default', () => { @@ -35,13 +34,13 @@ describe('View.transform(): geo.centroid', () => { dv.transform({ type: 'geo.centroid', }); - }).to.throw(); + }).toThrow(); expect(() => { dv.transform({ type: 'geo.centroid', geoView: 'geo', }); - }).to.throw(); + }).toThrow(); }); it('geo.centroid', () => { @@ -51,8 +50,8 @@ describe('View.transform(): geo.centroid', () => { geoView: 'geo', }); const rows = dv.rows; - expect(isNumber(rows[0]._centroid_x)).to.be.true; - expect(isNumber(rows[0]._centroid_y)).to.be.true; + expect(isNumber(rows[0]._centroid_x)).toBe(true); + expect(isNumber(rows[0]._centroid_y)).toBe(true); }); // projected @@ -70,7 +69,7 @@ describe('View.transform(): geo.centroid', () => { }); const firstRow = dv.rows[0]; const feature = geoView.geoFeatureByName(firstRow.name); - expect(firstRow._centroid_x).to.equal(feature._centroid_x); - expect(firstRow._centroid_y).to.equal(feature._centroid_y); + expect(firstRow._centroid_x).toEqual(feature._centroid_x); + expect(firstRow._centroid_y).toEqual(feature._centroid_y); }); }); diff --git a/test/unit/transform/geo/projection-spec.ts b/test/unit/transform/geo/projection.test.ts similarity index 77% rename from test/unit/transform/geo/projection-spec.ts rename to test/unit/transform/geo/projection.test.ts index 87c45e4..fb66d5e 100644 --- a/test/unit/transform/geo/projection-spec.ts +++ b/test/unit/transform/geo/projection.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; const { getTransform } = DataSet; import geoWorld from '../../../fixtures/countries-geo.json'; @@ -12,7 +11,7 @@ describe('View.transform(): geo.projection', () => { }); it('api', () => { - expect(getTransform('geo.projection')).to.be.a('function'); + expect(typeof getTransform('geo.projection')).toBe('function'); }); it('default', () => { @@ -22,7 +21,7 @@ describe('View.transform(): geo.projection', () => { projection: 'geoAiry', as: ['x', 'y', 'centroidX', 'centroidY'], }); - }).to.throw(); + }).toThrow(); expect(() => { dv.source(geoWorld, { type: 'geo', @@ -30,7 +29,7 @@ describe('View.transform(): geo.projection', () => { type: 'geo.projection', as: ['x', 'y', 'centroidX', 'centroidY'], }); - }).to.throw(); + }).toThrow(); }); it('geo', () => { @@ -43,9 +42,9 @@ describe('View.transform(): geo.projection', () => { }); const features = dv.rows; const feature = features[0]; - expect(feature.x).to.exist; - expect(feature.y).to.exist; - expect(feature.centroidX).to.exist; - expect(feature.centroidY).to.exist; + expect(feature).toHaveProperty('x'); + expect(feature).toHaveProperty('y'); + expect(feature).toHaveProperty('centroidX'); + expect(feature).toHaveProperty('centroidY'); }); }); diff --git a/test/unit/transform/geo/region-spec.ts b/test/unit/transform/geo/region.test.ts similarity index 81% rename from test/unit/transform/geo/region-spec.ts rename to test/unit/transform/geo/region.test.ts index 29a6e70..7847423 100644 --- a/test/unit/transform/geo/region-spec.ts +++ b/test/unit/transform/geo/region.test.ts @@ -1,5 +1,4 @@ import { isArray } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../../src'; const { getTransform } = DataSet; import geoWorld from '../../../fixtures/countries-geo.json'; @@ -27,7 +26,7 @@ describe('View.transform(): geo.region', () => { }); it('api', () => { - expect(getTransform('geo.region')).to.be.a('function'); + expect(typeof getTransform('geo.region')).toBe('function'); }); it('default', () => { @@ -35,13 +34,13 @@ describe('View.transform(): geo.region', () => { dv.transform({ type: 'geo.region', }); - }).to.throw(); + }).toThrow(); expect(() => { dv.transform({ type: 'geo.region', geoView: 'geo', }); - }).to.throw(); + }).toThrow(); }); it('geo.region', () => { @@ -51,8 +50,8 @@ describe('View.transform(): geo.region', () => { geoView: 'geo', }); const rows = dv.rows; - expect(isArray(rows[0]._x)).to.be.true; - expect(isArray(rows[0]._y)).to.be.true; + expect(isArray(rows[0]._x)).toBe(true); + expect(isArray(rows[0]._y)).toBe(true); }); // projected @@ -70,7 +69,7 @@ describe('View.transform(): geo.region', () => { }); const firstRow = dv.rows[0]; const feature = geoView.geoFeatureByName(firstRow.name); - expect(firstRow._x).to.equal(feature._x); - expect(firstRow._y).to.equal(feature._y); + expect(firstRow._x).toEqual(feature._x); + expect(firstRow._y).toEqual(feature._y); }); }); diff --git a/test/unit/transform/hierarchy/compact-box-spec.ts b/test/unit/transform/hierarchy/compact-box.test.ts similarity index 68% rename from test/unit/transform/hierarchy/compact-box-spec.ts rename to test/unit/transform/hierarchy/compact-box.test.ts index 3a9d1dc..c201dac 100644 --- a/test/unit/transform/hierarchy/compact-box-spec.ts +++ b/test/unit/transform/hierarchy/compact-box.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; import flare from '../../../fixtures/flare.json'; import { View } from '../../../../src/view'; @@ -12,10 +11,10 @@ describe('View.transform(): hierarchy.compact-box', () => { }); it('api', () => { - expect(getTransform('hierarchy.compact-box')).to.be.a('function'); - expect(getTransform('compact-box-tree')).to.be.a('function'); - expect(getTransform('non-layered-tidy-tree')).to.be.a('function'); - expect(getTransform('mindmap-logical')).to.be.a('function'); + expect(typeof getTransform('hierarchy.compact-box')).toBe('function'); + expect(typeof getTransform('compact-box-tree')).toBe('function'); + expect(typeof getTransform('non-layered-tidy-tree')).toBe('function'); + expect(typeof getTransform('mindmap-logical')).toBe('function'); }); it('default', () => { @@ -23,14 +22,14 @@ describe('View.transform(): hierarchy.compact-box', () => { dv.transform({ type: 'hierarchy.compact-box', }); - }).to.throw(); + }).toThrow(); expect(() => { dv.source(flare, { type: 'hierarchy', }).transform({ type: 'hierarchy.compact-box', }); - }).to.not.throw(); + }).not.toThrow(); }); it('default layout', () => { @@ -40,10 +39,10 @@ describe('View.transform(): hierarchy.compact-box', () => { type: 'hierarchy.compact-box', }); const root = dv.root; - expect(root.x).to.be.a('number'); - expect(root.y).to.be.a('number'); - expect(root.width).to.be.a('number'); - expect(root.height).to.be.a('number'); + expect(typeof root.x).toBe('number'); + expect(typeof root.y).toBe('number'); + expect(typeof root.width).toBe('number'); + expect(typeof root.height).toBe('number'); }); it('mindmap horizontal layout', () => { @@ -55,8 +54,8 @@ describe('View.transform(): hierarchy.compact-box', () => { }); const root = dv.root; const children = root.children; - expect(children[0].side).to.equal('right'); - expect(children[children.length - 1].side).to.equal('left'); + expect(children[0].side).toEqual('right'); + expect(children[children.length - 1].side).toEqual('left'); }); it('mindmap horizontal layout: getSide', () => { @@ -74,9 +73,9 @@ describe('View.transform(): hierarchy.compact-box', () => { }); const root = dv.root; const children = root.children; - expect(children[0].side).to.equal('right'); + expect(children[0].side).toEqual('right'); for (let i = 1; i < children.length; i++) { - expect(children[i].side).to.equal('left'); + expect(children[i].side).toEqual('left'); } }); }); diff --git a/test/unit/transform/hierarchy/treemap-spec.ts b/test/unit/transform/hierarchy/treemap.test.ts similarity index 71% rename from test/unit/transform/hierarchy/treemap-spec.ts rename to test/unit/transform/hierarchy/treemap.test.ts index a678610..143ff71 100644 --- a/test/unit/transform/hierarchy/treemap-spec.ts +++ b/test/unit/transform/hierarchy/treemap.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import DataSet from '../../../../src'; const { getTransform } = DataSet; import flare from '../../../fixtures/flare.json'; @@ -12,8 +11,8 @@ describe('View.transform(): hierarchy.treemap', () => { }); it('api', () => { - expect(getTransform('hierarchy.treemap')).to.be.a('function'); - expect(getTransform('treemap')).to.be.a('function'); + expect(typeof getTransform('hierarchy.treemap')).toBe('function'); + expect(typeof getTransform('treemap')).toBe('function'); }); it('default', () => { @@ -22,7 +21,7 @@ describe('View.transform(): hierarchy.treemap', () => { type: 'hierarchy.treemap', as: ['x', 'y'], }); - }).to.throw(); + }).toThrow(); expect(() => { dv.source(flare, { type: 'hierarchy', @@ -30,7 +29,7 @@ describe('View.transform(): hierarchy.treemap', () => { type: 'hierarchy.treemap', as: ['x', 'y', 'extra'], }); - }).to.throw(); + }).toThrow(); }); it('treemap', () => { @@ -41,10 +40,10 @@ describe('View.transform(): hierarchy.treemap', () => { as: ['x', 'y'], }); const root = dv.root; - expect(root.x).to.be.an('array'); - expect(root.y).to.be.an('array'); - expect(root.x.length).to.equal(4); - expect(root.y.length).to.equal(4); + expect(Array.isArray(root.x)).toBe(true); + expect(Array.isArray(root.y)).toBe(true); + expect(root.x.length).toEqual(4); + expect(root.y.length).toEqual(4); // console.log(root) }); }); diff --git a/test/unit/transform/impute-spec.ts b/test/unit/transform/impute.test.ts similarity index 69% rename from test/unit/transform/impute-spec.ts rename to test/unit/transform/impute.test.ts index 5d270d4..3dc1bcd 100644 --- a/test/unit/transform/impute-spec.ts +++ b/test/unit/transform/impute.test.ts @@ -1,6 +1,6 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; +import { imputeTransform } from '../../../src/transform/impute'; const { getTransform } = DataSet; describe('View.transform(): impute', () => { @@ -17,6 +17,7 @@ describe('View.transform(): impute', () => { { x: 2, y: null }, { x: 2 }, ]; + DataSet.registerTransform('impute', imputeTransform); // const length = data.length; const ds = new DataSet(); let dv: View; @@ -26,14 +27,14 @@ describe('View.transform(): impute', () => { }); it('api', () => { - expect(getTransform('impute')).to.be.a('function'); + expect(typeof getTransform('impute')).toBe('function'); }); it('default', () => { expect(() => { // @ts-ignore dv.transform({ type: 'impute' }); - }).to.throw(); + }).toThrow(); }); it('value', () => { @@ -45,9 +46,9 @@ describe('View.transform(): impute', () => { value: 10, }); const rows = dv.rows; - expect(rows[3].y).to.equal(10); - expect(rows[7].y).to.equal(10); - expect(rows[9].y).to.equal(null); + expect(rows[3].y).toEqual(10); + expect(rows[7].y).toEqual(10); + expect(rows[9].y).toEqual(null); }); it('max', () => { @@ -58,9 +59,9 @@ describe('View.transform(): impute', () => { type: 'impute', }); const rows = dv.rows; - expect(rows[3].y).to.equal(3); - expect(rows[7].y).to.equal(9); - expect(rows[9].y).to.equal(null); + expect(rows[3].y).toEqual(3); + expect(rows[7].y).toEqual(9); + expect(rows[9].y).toEqual(null); }); it('not grouping', () => { @@ -70,9 +71,9 @@ describe('View.transform(): impute', () => { type: 'impute', }); const rows = dv.rows; - expect(rows[3].y).to.equal(9); - expect(rows[7].y).to.equal(9); - expect(rows[9].y).to.equal(null); + expect(rows[3].y).toEqual(9); + expect(rows[7].y).toEqual(9); + expect(rows[9].y).toEqual(null); }); it('groupBy & orderBy', () => { @@ -86,8 +87,8 @@ describe('View.transform(): impute', () => { type: 'impute', }); const rows = dv.rows; - expect(rows[3].y).to.equal(3); - expect(rows[7].y).to.equal(9); - expect(rows[9].y).to.equal(null); + expect(rows[3].y).toEqual(3); + expect(rows[7].y).toEqual(9); + expect(rows[9].y).toEqual(null); }); }); diff --git a/test/unit/transform/kde-spec.ts b/test/unit/transform/kde.test.ts similarity index 66% rename from test/unit/transform/kde-spec.ts rename to test/unit/transform/kde.test.ts index 07b9680..3c301fc 100644 --- a/test/unit/transform/kde-spec.ts +++ b/test/unit/transform/kde.test.ts @@ -1,10 +1,13 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import iris from '../../fixtures/iris-en.json'; import { View } from '../../../src/view'; +import { kdeTransform } from '../../../src/transform/kde'; describe('View.transform(): KDE', () => { + DataSet.registerTransform('kernel-density-estimation', kdeTransform); + DataSet.registerTransform('kde', kdeTransform); + DataSet.registerTransform('KDE', kdeTransform); const ds = new DataSet(); let dv: View; const fields = ['petalWidth', 'petalLength', 'sepalWidth', 'sepalLength']; @@ -14,9 +17,9 @@ describe('View.transform(): KDE', () => { }); it('api', () => { - expect(getTransform('KDE')).to.be.a('function'); - expect(getTransform('kde')).to.be.a('function'); - expect(getTransform('kernel-density-estimation')).to.be.a('function'); + expect(typeof getTransform('KDE')).toBe('function'); + expect(typeof getTransform('kde')).toBe('function'); + expect(typeof getTransform('kernel-density-estimation')).toBe('function'); }); it('default', () => { @@ -24,7 +27,7 @@ describe('View.transform(): KDE', () => { dv.transform({ type: 'KDE', }); - }).to.throw(); + }).toThrow(); }); it('value', () => { @@ -33,7 +36,7 @@ describe('View.transform(): KDE', () => { fields, }); const rows = dv.rows; - expect(rows.length).to.equal(4); + expect(rows.length).toEqual(4); }); it('groupBy', () => { @@ -43,7 +46,7 @@ describe('View.transform(): KDE', () => { groupBy: ['species'], }); const rows = dv.rows; - expect(rows.length).to.equal(12); + expect(rows.length).toEqual(12); }); it('step', () => { @@ -55,7 +58,7 @@ describe('View.transform(): KDE', () => { as: ['x', 'y', 'size'], }); dv.rows.forEach((row) => { - expect(row.y.length <= (8 - 0) / 1 + 1).to.equal(true); + expect(row.y.length <= (8 - 0) / 1 + 1).toEqual(true); }); }); @@ -68,7 +71,7 @@ describe('View.transform(): KDE', () => { as: ['x', 'y', 'size'], }); dv.rows.forEach((row) => { - expect(row.y.length <= (6 - 2) / 1 + 1).to.equal(true); + expect(row.y.length <= (6 - 2) / 1 + 1).toEqual(true); }); }); @@ -80,7 +83,7 @@ describe('View.transform(): KDE', () => { }); dv.rows.forEach((row) => { row.size.forEach((size) => { - expect(size >= 0.1).to.equal(true); + expect(size >= 0.1).toEqual(true); }); }); }); diff --git a/test/unit/transform/map-spec.ts b/test/unit/transform/map.test.ts similarity index 68% rename from test/unit/transform/map-spec.ts rename to test/unit/transform/map.test.ts index 25b456a..c950bfe 100644 --- a/test/unit/transform/map-spec.ts +++ b/test/unit/transform/map.test.ts @@ -1,11 +1,12 @@ -import { map } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { mapTransform } from '../../../src/transform/map'; +import { map } from 'lodash'; describe('View.transform(): map', () => { + DataSet.registerTransform('map', mapTransform); const ds = new DataSet(); let dv: View; @@ -14,14 +15,14 @@ describe('View.transform(): map', () => { }); it('api', () => { - expect(getTransform('map')).to.be.a('function'); + expect(typeof getTransform('map')).toBe('function'); }); it('default', () => { dv.transform({ type: 'map', }); - expect(dv.rows.length).to.equal(populationChina.length); + expect(dv.rows.length).toEqual(populationChina.length); }); it('callback', () => { @@ -31,6 +32,6 @@ describe('View.transform(): map', () => { return row.year; // origin data range: [2002, 2015] }, }); - expect(dv.rows).to.eql(map(populationChina, (row) => row.year)); + expect(dv.rows).toEqual(map(populationChina, (row) => row.year)); }); }); diff --git a/test/unit/transform/percent-spec.ts b/test/unit/transform/percent.test.ts similarity index 77% rename from test/unit/transform/percent-spec.ts rename to test/unit/transform/percent.test.ts index a6897e4..29f5a7b 100644 --- a/test/unit/transform/percent-spec.ts +++ b/test/unit/transform/percent.test.ts @@ -1,9 +1,10 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; +import { percentTransform } from '../../../src/transform/percent'; import { View } from '../../../src/view'; const { getTransform } = DataSet; describe('View.transform(): percent', () => { + DataSet.registerTransform('percent', percentTransform); const data = [ { x: 1, y: 1, z: 1, extra: 'test' }, { x: 2, y: 1, z: 2, extra: 'test' }, @@ -22,11 +23,11 @@ describe('View.transform(): percent', () => { }); it('api', () => { - expect(getTransform('percent')).to.be.a('function'); + expect(typeof getTransform('percent')).toBe('function'); expect(() => { // @ts-ignore dv.transform({ type: 'percent' }); - }).to.throw(); + }).toThrow(); }); it('default', () => { @@ -35,8 +36,8 @@ describe('View.transform(): percent', () => { field: 'z', dimension: 'y', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 10, @@ -52,8 +53,8 @@ describe('View.transform(): percent', () => { dimension: 'y', as: '_z', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 10, @@ -70,8 +71,8 @@ describe('View.transform(): percent', () => { groupBy: ['x'], as: '_z', }); - expect(dv.rows.length).to.equal(8); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(8); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 1, @@ -87,8 +88,8 @@ describe('View.transform(): percent', () => { dimension: 'y', as: '_y', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 1, diff --git a/test/unit/transform/pick-spec.ts b/test/unit/transform/pick.test.ts similarity index 66% rename from test/unit/transform/pick-spec.ts rename to test/unit/transform/pick.test.ts index 13820b9..5546cba 100644 --- a/test/unit/transform/pick-spec.ts +++ b/test/unit/transform/pick.test.ts @@ -1,11 +1,12 @@ import { map, pick } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { pickTransform } from '../../../src/transform/pick'; describe('View.transform(): pick', () => { + DataSet.registerTransform('pick', pickTransform); const ds = new DataSet(); let dv: View; beforeEach(() => { @@ -13,14 +14,14 @@ describe('View.transform(): pick', () => { }); it('api', () => { - expect(getTransform('pick')).to.be.a('function'); + expect(typeof getTransform('pick')).toBe('function'); }); it('default', () => { dv.transform({ type: 'pick', }); - expect(dv.rows).to.eql(populationChina); + expect(dv.rows).toEqual(populationChina); }); it('fields', () => { @@ -28,6 +29,6 @@ describe('View.transform(): pick', () => { type: 'pick', fields: ['year'], }); - expect(dv.rows).to.eql(map(populationChina, (row) => pick(row, ['year']))); + expect(dv.rows).toEqual(map(populationChina, (row) => pick(row, ['year']))); }); }); diff --git a/test/unit/transform/proportion-spec.ts b/test/unit/transform/proportion.test.ts similarity index 74% rename from test/unit/transform/proportion-spec.ts rename to test/unit/transform/proportion.test.ts index 3c8904b..9b6f10c 100644 --- a/test/unit/transform/proportion-spec.ts +++ b/test/unit/transform/proportion.test.ts @@ -1,9 +1,11 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; +import { proportionTransform } from '../../../src/transform/proportion'; const { getTransform } = DataSet; describe('View.transform(): proportion', () => { + DataSet.registerTransform('proportion', proportionTransform); + const ds = new DataSet(); const data = [ { x: 1, y: 1, z: 1 }, @@ -12,6 +14,7 @@ describe('View.transform(): proportion', () => { { x: 4, y: 1, z: 4 }, { x: 1, y: 2, z: 5 }, { x: 2, y: 2, z: 6 }, + { x: 3, y: 2, z: 7 }, { x: 4, y: 2, z: 8 }, ]; @@ -22,11 +25,11 @@ describe('View.transform(): proportion', () => { }); it('api', () => { - expect(getTransform('proportion')).to.be.a('function'); + expect(typeof getTransform('proportion')).toBe('function'); expect(() => { // @ts-ignore dv.transform({ type: 'proportion' }); - }).to.throw(); + }).toThrow(); }); it('default', () => { @@ -35,8 +38,8 @@ describe('View.transform(): proportion', () => { field: 'z', dimension: 'y', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 4, @@ -51,8 +54,8 @@ describe('View.transform(): proportion', () => { dimension: 'y', as: '_z', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 4, @@ -68,8 +71,8 @@ describe('View.transform(): proportion', () => { groupBy: ['x'], as: '_z', }); - expect(dv.rows.length).to.equal(8); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(8); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 1, @@ -84,8 +87,8 @@ describe('View.transform(): proportion', () => { dimension: 'y', as: '_y', }); - expect(dv.rows.length).to.equal(2); - expect(dv.rows[0]).to.eql({ + expect(dv.rows.length).toEqual(2); + expect(dv.rows[0]).toEqual({ x: 1, y: 1, z: 1, diff --git a/test/unit/transform/regression-spec.ts b/test/unit/transform/regression.test.ts similarity index 72% rename from test/unit/transform/regression-spec.ts rename to test/unit/transform/regression.test.ts index 144cb69..872aa58 100644 --- a/test/unit/transform/regression-spec.ts +++ b/test/unit/transform/regression.test.ts @@ -1,13 +1,14 @@ // const regression = require('regression'); import { each } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; -import re from '../../../src/transform/regression'; + import { View } from '../../../src/view'; -const { REGRESSION_METHODS } = re; +import { REGRESSION_METHODS, regressionTransform } from '../../../src/transform/regression'; describe('View.transform(): regression', () => { + DataSet.registerTransform('regression', regressionTransform); + const data = []; for (let i = 1; i <= 10; i++) { // 1~10 @@ -24,7 +25,7 @@ describe('View.transform(): regression', () => { }); it('api', () => { - expect(getTransform('regression')).to.be.a('function'); + expect(typeof getTransform('regression')).toBe('function'); }); it('default: linear', () => { @@ -32,7 +33,7 @@ describe('View.transform(): regression', () => { type: 'regression', fields: ['a', 'b'], }); - expect(dv.rows.length).to.equal(6); + expect(dv.rows.length).toEqual(6); }); each(REGRESSION_METHODS, (method) => { @@ -41,7 +42,7 @@ describe('View.transform(): regression', () => { type: 'regression', fields: ['a', 'b'], }); - expect(dv.rows.length).to.equal(6); + expect(dv.rows.length).toEqual(6); }); }); }); diff --git a/test/unit/transform/rename-spec.ts b/test/unit/transform/rename.test.ts similarity index 52% rename from test/unit/transform/rename-spec.ts rename to test/unit/transform/rename.test.ts index a72f92c..f3a8d79 100644 --- a/test/unit/transform/rename-spec.ts +++ b/test/unit/transform/rename.test.ts @@ -1,9 +1,12 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; import { View } from '../../../src/view'; +import { renameTransform } from '../../../src/transform/rename'; const { getTransform } = DataSet; describe('View.transform(): rename', () => { + DataSet.registerTransform('rename', renameTransform); + DataSet.registerTransform('rename-fields', renameTransform); + const data = [{ a: 1, b: 2 }]; const ds = new DataSet(); let dv: View; @@ -12,16 +15,16 @@ describe('View.transform(): rename', () => { }); it('api', () => { - expect(getTransform('rename')).to.be.a('function'); - expect(getTransform('rename-fields')).to.be.a('function'); - expect(getTransform('rename-fields')).to.equal(getTransform('rename')); + expect(typeof getTransform('rename')).toBe('function'); + expect(typeof getTransform('rename-fields')).toBe('function'); + expect(getTransform('rename-fields')).toEqual(getTransform('rename')); }); it('default', () => { dv.transform({ type: 'rename', }); - expect(dv.rows).to.eql(data); + expect(dv.rows).toEqual(data); }); it('map', () => { @@ -31,6 +34,6 @@ describe('View.transform(): rename', () => { a: 'c', }, }); - expect(dv.rows).to.eql([{ c: 1, b: 2 }]); + expect(dv.rows).toEqual([{ c: 1, b: 2 }]); }); }); diff --git a/test/unit/transform/reverse-spec.ts b/test/unit/transform/reverse.test.ts similarity index 67% rename from test/unit/transform/reverse-spec.ts rename to test/unit/transform/reverse.test.ts index e89d147..a8c30f7 100644 --- a/test/unit/transform/reverse-spec.ts +++ b/test/unit/transform/reverse.test.ts @@ -1,11 +1,13 @@ import { reverse } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { reverseTransform } from '../../../src/transform/reverse'; describe('View.transform(): reverse', () => { + DataSet.registerTransform('reverse', reverseTransform); + const ds = new DataSet(); let dv: View; @@ -14,13 +16,13 @@ describe('View.transform(): reverse', () => { }); it('api', () => { - expect(getTransform('reverse')).to.be.a('function'); + expect(typeof getTransform('reverse')).toBe('function'); }); it('default', () => { dv.transform({ type: 'reverse', }); - expect(dv.rows).to.eql(reverse(populationChina)); + expect(dv.rows).toEqual(reverse(populationChina)); }); }); diff --git a/test/unit/transform/sort-by-spec.ts b/test/unit/transform/sort-by.test.ts similarity index 62% rename from test/unit/transform/sort-by-spec.ts rename to test/unit/transform/sort-by.test.ts index a9e0340..cab679b 100644 --- a/test/unit/transform/sort-by-spec.ts +++ b/test/unit/transform/sort-by.test.ts @@ -1,15 +1,17 @@ import { reverse, sortBy } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { sortByTransform } from '../../../src/transform/sort-by'; const data = populationChina.concat({ year: '2001', population: '1274530000', }); describe('View.transform(): sort-by', () => { + DataSet.registerTransform('sort-by', sortByTransform); + DataSet.registerTransform('sortBy', sortByTransform); const ds = new DataSet(); let dv: View; @@ -18,15 +20,15 @@ describe('View.transform(): sort-by', () => { }); it('api', () => { - expect(getTransform('sort-by')).to.be.a('function'); - expect(getTransform('sortBy')).to.be.a('function'); + expect(typeof getTransform('sort-by')).toBe('function'); + expect(typeof getTransform('sortBy')).toBe('function'); }); it('default', () => { dv.transform({ type: 'sort-by', }); - expect(dv.rows).to.eql(data.sort((a, b) => a.year - b.year)); + expect(dv.rows).toEqual(data.sort((a, b) => Number(a.year) - Number(b.year))); }); it('specify columns', () => { @@ -34,7 +36,7 @@ describe('View.transform(): sort-by', () => { type: 'sort-by', fields: ['year'], }); - expect(dv.rows).to.eql(sortBy(data, ['year'])); + expect(dv.rows).toEqual(sortBy(data, ['year'])); }); it('specify order', () => { @@ -43,6 +45,6 @@ describe('View.transform(): sort-by', () => { fields: ['year'], order: 'DESC', }); - expect(dv.rows).to.eql(reverse(sortBy(data, ['year']))); + expect(dv.rows).toEqual(reverse(sortBy(data, ['year']))); }); }); diff --git a/test/unit/transform/sort-spec.ts b/test/unit/transform/sort.test.ts similarity index 69% rename from test/unit/transform/sort-spec.ts rename to test/unit/transform/sort.test.ts index e25d07c..c67918d 100644 --- a/test/unit/transform/sort-spec.ts +++ b/test/unit/transform/sort.test.ts @@ -1,15 +1,17 @@ import { sortBy } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { sortTransform } from '../../../src/transform/sort'; const data = populationChina.concat({ year: '2001', population: '1274530000', }); describe('View.transform(): sort', () => { + DataSet.registerTransform('sort', sortTransform); + const ds = new DataSet(); let dv: View; @@ -18,14 +20,14 @@ describe('View.transform(): sort', () => { }); it('api', () => { - expect(getTransform('sort')).to.be.a('function'); + expect(typeof getTransform('sort')).toBe('function'); }); it('default', () => { dv.transform({ type: 'sort', }); - expect(dv.rows).to.eql(data.sort((a, b) => a.year - b.year)); + expect(dv.rows).toEqual(data.sort((a, b) => Number(a.year) - Number(b.year))); }); it('callback', () => { @@ -35,6 +37,6 @@ describe('View.transform(): sort', () => { return a.year - b.year; }, }); - expect(dv.rows).to.eql(sortBy(data, ['year'])); + expect(dv.rows).toEqual(sortBy(data, ['year'])); }); }); diff --git a/test/unit/transform/subset-spec.ts b/test/unit/transform/subset.test.ts similarity index 60% rename from test/unit/transform/subset-spec.ts rename to test/unit/transform/subset.test.ts index 142480c..eea4610 100644 --- a/test/unit/transform/subset-spec.ts +++ b/test/unit/transform/subset.test.ts @@ -1,10 +1,12 @@ -import { expect } from 'chai'; import DataSet from '../../../src'; const { getTransform } = DataSet; import populationChina from '../../fixtures/population-china.json'; import { View } from '../../../src/view'; +import { subsetTransform } from '../../../src/transform/subset'; describe('View.transform(): subset', () => { + DataSet.registerTransform('subset', subsetTransform); + const ds = new DataSet(); let dv: View; beforeEach(() => { @@ -12,14 +14,14 @@ describe('View.transform(): subset', () => { }); it('api', () => { - expect(getTransform('subset')).to.be.a('function'); + expect(typeof getTransform('subset')).toBe('function'); }); it('default', () => { dv.transform({ type: 'subset', }); - expect(dv.rows).to.eql(populationChina); + expect(dv.rows).toEqual(populationChina); }); it('only specify endRowIndex', () => { @@ -27,8 +29,8 @@ describe('View.transform(): subset', () => { type: 'subset', endRowIndex: 2, }); - expect(dv.rows.length).to.equal(3); - expect(dv.getColumnNames().length).to.equal(2); + expect(dv.rows.length).toEqual(3); + expect(dv.getColumnNames().length).toEqual(2); }); it('only specify startRowIndex', () => { @@ -36,8 +38,8 @@ describe('View.transform(): subset', () => { type: 'subset', startRowIndex: 1, }); - expect(dv.rows.length).to.equal(populationChina.length - 1); - expect(dv.getColumnNames().length).to.equal(2); + expect(dv.rows.length).toEqual(populationChina.length - 1); + expect(dv.getColumnNames().length).toEqual(2); }); it('only specify columns', () => { @@ -45,8 +47,8 @@ describe('View.transform(): subset', () => { type: 'subset', fields: ['year'], }); - expect(dv.rows.length).to.equal(populationChina.length); - expect(dv.getColumnNames().length).to.equal(1); + expect(dv.rows.length).toEqual(populationChina.length); + expect(dv.getColumnNames().length).toEqual(1); }); it('specify all options', () => { @@ -56,7 +58,7 @@ describe('View.transform(): subset', () => { endRowIndex: 2, fields: ['year'], }); - expect(dv.rows.length).to.equal(2); - expect(dv.getColumnNames().length).to.equal(1); + expect(dv.rows.length).toEqual(2); + expect(dv.getColumnNames().length).toEqual(1); }); }); diff --git a/test/unit/transform/tag-cloud-spec.ts b/test/unit/transform/tag-cloud.test.ts similarity index 58% rename from test/unit/transform/tag-cloud-spec.ts rename to test/unit/transform/tag-cloud.test.ts index a0f8f05..f5792f0 100644 --- a/test/unit/transform/tag-cloud-spec.ts +++ b/test/unit/transform/tag-cloud.test.ts @@ -1,10 +1,16 @@ -import { expect } from 'chai'; +/** + * @jest-environment jsdom + */ + import DataSet from '../../../src'; -import { DataItem } from '../../../src/transform/tag-cloud'; +import { DataItem, tagCloudTransform } from '../../../src/transform/tag-cloud'; import { View } from '../../../src/view'; const { getTransform } = DataSet; describe('View.transform(): tag-cloud', () => { + DataSet.registerTransform('tag-cloud', tagCloudTransform); + DataSet.registerTransform('word-cloud', tagCloudTransform); + const ds = new DataSet(); let dv: View; beforeEach(() => { @@ -20,9 +26,9 @@ describe('View.transform(): tag-cloud', () => { }); it('api', () => { - expect(getTransform('tag-cloud')).to.be.a('function'); - expect(getTransform('word-cloud')).to.be.a('function'); - expect(getTransform('word-cloud') === getTransform('tag-cloud')).to.equal(true); + expect(typeof getTransform('tag-cloud')).toBe('function'); + expect(typeof getTransform('word-cloud')).toBe('function'); + expect(getTransform('word-cloud') === getTransform('tag-cloud')).toEqual(true); }); it('default', () => { @@ -31,18 +37,18 @@ describe('View.transform(): tag-cloud', () => { }); const firstRow = dv.rows[0]; // expect(dv.rows.length).to.equal(dv.origin.length); - expect(firstRow.hasText).to.equal(true); - expect(firstRow.x).to.be.a('number'); - expect(firstRow.y).to.be.a('number'); - expect(firstRow.text).to.be.a('string'); - expect(firstRow.size).to.be.a('number'); - expect(firstRow.font).to.be.a('string'); + expect(firstRow.hasText).toEqual(true); + expect(typeof firstRow.x).toBe('number'); + expect(typeof firstRow.y).toBe('number'); + expect(typeof firstRow.text).toBe('string'); + expect(typeof firstRow.size).toBe('number'); + expect(typeof firstRow.font).toBe('string'); }); it('callback', () => { const common = (row: DataItem) => { - expect(row.text).to.be.a('string'); - expect(row.value).to.be.a('number'); + expect(typeof row.text).toBe('string'); + expect(typeof row.value).toBe('number'); }; const font = (row: DataItem) => { common(row); @@ -65,10 +71,10 @@ describe('View.transform(): tag-cloud', () => { return 33; }; const spiral = (size: [number, number]) => { - expect(size.length).to.equal(2); + expect(size.length).toEqual(2); const e = size[0] / size[1]; return function(t: number) { - expect(t).to.be.a('number'); + expect(typeof t).toBe('number'); return [e * (t *= 0.1) * Math.cos(t), t * Math.sin(t)]; }; }; @@ -83,15 +89,15 @@ describe('View.transform(): tag-cloud', () => { spiral, }); const firstRow = dv.rows[0]; - expect(firstRow.hasText).to.equal(true); - expect(firstRow.x).to.be.a('number'); - expect(firstRow.y).to.be.a('number'); - expect(firstRow.text).to.be.a('string'); - expect(firstRow.font).to.equal('font-test'); - expect(firstRow.weight).to.equal('fontWeight-test'); - expect(firstRow.size).to.equal(11); - expect(firstRow.rotate).to.equal(22); - expect(firstRow.padding).to.equal(33); + expect(firstRow.hasText).toEqual(true); + expect(typeof firstRow.x).toBe('number'); + expect(typeof firstRow.y).toBe('number'); + expect(typeof firstRow.text).toBe('string'); + expect(firstRow.font).toEqual('font-test'); + expect(firstRow.weight).toEqual('fontWeight-test'); + expect(firstRow.size).toEqual(11); + expect(firstRow.rotate).toEqual(22); + expect(firstRow.padding).toEqual(33); }); it('size', () => { @@ -100,6 +106,6 @@ describe('View.transform(): tag-cloud', () => { size: [0, 0], // 当宽或者高为 0 时,容不下任何一个词语 }); - expect(dv.rows.length).to.equal(0); + expect(dv.rows.length).toEqual(0); }); }); diff --git a/test/unit/util/get-geo-projection-spec.ts b/test/unit/util/get-geo-projection.test.ts similarity index 52% rename from test/unit/util/get-geo-projection-spec.ts rename to test/unit/util/get-geo-projection.test.ts index 5dc479d..97d5397 100644 --- a/test/unit/util/get-geo-projection-spec.ts +++ b/test/unit/util/get-geo-projection.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import * as d3Geo from 'd3-geo'; import * as d3GeoProjection from 'd3-geo-projection'; import * as d3CompositeProjection from 'd3-composite-projections'; @@ -6,17 +5,17 @@ import getGeoProjection from '../../../src/util/get-geo-projection'; describe('util: getGeoProjection(rows, groupBy, orderBy)', () => { it('api', () => { - expect(getGeoProjection).to.be.a('function'); + expect(typeof getGeoProjection).toBe('function'); }); it('default', () => { - expect(getGeoProjection()).to.be.a('null'); - expect(getGeoProjection(() => 'test')).to.be.a('string'); - expect(getGeoProjection('geoAzimuthalEqualArea')).to.be.a('function'); - expect(getGeoProjection('geoAzimuthalEqualArea')([0, 0])).to.eql(d3Geo.geoAzimuthalEqualArea()([0, 0])); - expect(getGeoProjection('geoAiry')([0, 0])).to.eql(d3GeoProjection.geoAiry()([0, 0])); - expect(getGeoProjection('geoAlbersUsaTerritories')).to.be.a('function'); - expect(getGeoProjection('geoAlbersUsaTerritories')([0, 0])).to.eql( + expect(getGeoProjection()).toBe(null); + expect(typeof getGeoProjection(() => 'test')).toBe('string'); + expect(typeof getGeoProjection('geoAzimuthalEqualArea')).toBe('function'); + expect(getGeoProjection('geoAzimuthalEqualArea')([0, 0])).toEqual(d3Geo.geoAzimuthalEqualArea()([0, 0])); + expect(getGeoProjection('geoAiry')([0, 0])).toEqual(d3GeoProjection.geoAiry()([0, 0])); + expect(typeof getGeoProjection('geoAlbersUsaTerritories')).toBe('function'); + expect(getGeoProjection('geoAlbersUsaTerritories')([0, 0])).toEqual( d3CompositeProjection.geoAlbersUsaTerritories()([0, 0]) ); }); diff --git a/test/unit/util/kernel-spec.ts b/test/unit/util/kernel-spec.ts deleted file mode 100644 index bdbea95..0000000 --- a/test/unit/util/kernel-spec.ts +++ /dev/null @@ -1,96 +0,0 @@ -import * as _ from 'lodash'; -import { expect } from 'chai'; -const kernel = require('../../../src/util/kernel').default; - -describe('util: kernel functions', () => { - const u0 = 0; - const u1 = 1; - const u1_2 = 1 / 2; - const u2 = 2; - - it('api', () => { - expect(_.keys(kernel)).to.eql([ - 'boxcar', - 'cosine', - 'epanechnikov', - 'gaussian', - 'quartic', - 'triangular', - 'tricube', - 'triweight', - 'uniform', - ]); - }); - - const uniform = kernel.boxcar; - it('kernel.uniform(u)', () => { - expect(uniform).to.be.a('function'); - expect(uniform(u0)).to.equal(0.5); - expect(uniform(u1)).to.equal(0.5); - expect(uniform(u1_2)).to.equal(0.5); - expect(uniform(u2)).to.equal(0); - }); - - const cosine = kernel.cosine; - it('kernel.cosine(u)', () => { - expect(cosine).to.be.a('function'); - expect(cosine(u0)).not.to.equal(0); - expect(cosine(u1)).not.to.equal(0); - expect(cosine(u1_2)).not.to.equal(0); - expect(cosine(u2)).to.equal(0); - }); - - const epanechnikov = kernel.epanechnikov; - it('kernel.epanechnikov(u)', () => { - expect(epanechnikov).to.be.a('function'); - expect(epanechnikov(u0)).not.to.equal(0); - expect(epanechnikov(u1)).to.equal(0); - expect(epanechnikov(u1_2)).not.to.equal(0); - expect(epanechnikov(u2)).to.equal(0); - }); - - const gaussian = kernel.gaussian; - it('kernel.gaussian(u)', () => { - expect(gaussian).to.be.a('function'); - expect(gaussian(u0)).not.to.equal(0); - expect(gaussian(u1)).not.to.equal(0); - expect(gaussian(u1_2)).not.to.equal(0); - expect(gaussian(u2)).not.to.equal(0); - }); - - const quartic = kernel.quartic; - it('kernel.quartic(u)', () => { - expect(quartic).to.be.a('function'); - expect(quartic(u0)).not.to.equal(0); - expect(quartic(u1)).to.equal(0); - expect(quartic(u1_2)).not.to.equal(0); - expect(quartic(u2)).to.equal(0); - }); - - const triangular = kernel.triangular; - it('kernel.triangular(u)', () => { - expect(triangular).to.be.a('function'); - expect(triangular(u0)).not.to.equal(0); - expect(triangular(u1)).to.equal(0); - expect(triangular(u1_2)).not.to.equal(0); - expect(triangular(u2)).to.equal(0); - }); - - const tricube = kernel.tricube; - it('kernel.tricube(u)', () => { - expect(tricube).to.be.a('function'); - expect(tricube(u0)).not.to.equal(0); - expect(tricube(u1)).to.equal(0); - expect(tricube(u1_2)).not.to.equal(0); - expect(tricube(u2)).to.equal(0); - }); - - const triweight = kernel.triweight; - it('kernel.triweight(u)', () => { - expect(triweight).to.be.a('function'); - expect(triweight(u0)).not.to.equal(0); - expect(triweight(u1)).to.equal(0); - expect(triweight(u1_2)).not.to.equal(0); - expect(triweight(u2)).to.equal(0); - }); -}); diff --git a/test/unit/util/kernel.test.ts b/test/unit/util/kernel.test.ts new file mode 100644 index 0000000..cb582fc --- /dev/null +++ b/test/unit/util/kernel.test.ts @@ -0,0 +1,96 @@ +import * as _ from 'lodash'; + +const kernel = require('../../../src/util/kernel').default; + +describe('util: kernel functions', () => { + const u0 = 0; + const u1 = 1; + const u1_2 = 1 / 2; + const u2 = 2; + + it('api', () => { + expect(_.keys(kernel)).toEqual([ + 'boxcar', + 'cosine', + 'epanechnikov', + 'gaussian', + 'quartic', + 'triangular', + 'tricube', + 'triweight', + 'uniform', + ]); + }); + + const uniform = kernel.boxcar; + it('kernel.uniform(u)', () => { + expect(typeof uniform).toBe('function'); + expect(uniform(u0)).toEqual(0.5); + expect(uniform(u1)).toEqual(0.5); + expect(uniform(u1_2)).toEqual(0.5); + expect(uniform(u2)).toEqual(0); + }); + + const cosine = kernel.cosine; + it('kernel.cosine(u)', () => { + expect(typeof cosine).toBe('function'); + expect(cosine(u0)).not.toEqual(0); + expect(cosine(u1)).not.toEqual(0); + expect(cosine(u1_2)).not.toEqual(0); + expect(cosine(u2)).toEqual(0); + }); + + const epanechnikov = kernel.epanechnikov; + it('kernel.epanechnikov(u)', () => { + expect(typeof epanechnikov).toBe('function'); + expect(epanechnikov(u0)).not.toEqual(0); + expect(epanechnikov(u1)).toEqual(0); + expect(epanechnikov(u1_2)).not.toEqual(0); + expect(epanechnikov(u2)).toEqual(0); + }); + + const gaussian = kernel.gaussian; + it('kernel.gaussian(u)', () => { + expect(typeof gaussian).toBe('function'); + expect(gaussian(u0)).not.toEqual(0); + expect(gaussian(u1)).not.toEqual(0); + expect(gaussian(u1_2)).not.toEqual(0); + expect(gaussian(u2)).not.toEqual(0); + }); + + const quartic = kernel.quartic; + it('kernel.quartic(u)', () => { + expect(typeof quartic).toBe('function'); + expect(quartic(u0)).not.toEqual(0); + expect(quartic(u1)).toEqual(0); + expect(quartic(u1_2)).not.toEqual(0); + expect(quartic(u2)).toEqual(0); + }); + + const triangular = kernel.triangular; + it('kernel.triangular(u)', () => { + expect(typeof triangular).toBe('function'); + expect(triangular(u0)).not.toEqual(0); + expect(triangular(u1)).toEqual(0); + expect(triangular(u1_2)).not.toEqual(0); + expect(triangular(u2)).toEqual(0); + }); + + const tricube = kernel.tricube; + it('kernel.tricube(u)', () => { + expect(typeof tricube).toBe('function'); + expect(tricube(u0)).not.toEqual(0); + expect(tricube(u1)).toEqual(0); + expect(tricube(u1_2)).not.toEqual(0); + expect(tricube(u2)).toEqual(0); + }); + + const triweight = kernel.triweight; + it('kernel.triweight(u)', () => { + expect(typeof triweight).toBe('function'); + expect(triweight(u0)).not.toEqual(0); + expect(triweight(u1)).toEqual(0); + expect(triweight(u1_2)).not.toEqual(0); + expect(triweight(u2)).toEqual(0); + }); +}); diff --git a/test/unit/util/p-by-fraction-spec.ts b/test/unit/util/p-by-fraction-spec.ts deleted file mode 100644 index e69de29..0000000 diff --git a/test/unit/util/partition-spec.ts b/test/unit/util/partition.test.ts similarity index 81% rename from test/unit/util/partition-spec.ts rename to test/unit/util/partition.test.ts index 5f80248..9eb9373 100644 --- a/test/unit/util/partition-spec.ts +++ b/test/unit/util/partition.test.ts @@ -1,4 +1,3 @@ -import { expect } from 'chai'; import { cloneDeep, orderBy, sortBy } from 'lodash'; import partition from '../../../src/util/partition'; import simpleSortBy from '../../../src/util/simple-sort-by'; @@ -11,13 +10,13 @@ describe('util: partition(rows, groupBy, orderBy)', () => { { x: 1, y: 43, c: 0 }, ]; it('api', () => { - expect(partition).to.be.a('function'); + expect(typeof partition).toBe('function'); }); it('groupBy', () => { const groups = partition(data, ['c'], ['x']); - expect(groups._0.length).to.equal(2); - expect(groups._1.length).to.equal(1); + expect(groups._0.length).toEqual(2); + expect(groups._1.length).toEqual(1); }); xit('performance', (done) => { @@ -33,8 +32,8 @@ describe('util: partition(rows, groupBy, orderBy)', () => { const t2 = Date.now(); simpleSortBy(top2000Cloned2, ['release', 'title']); const t3 = Date.now(); - expect(t3 - t2 < t2 - t1).to.equal(true); - expect(t3 - t2 < t1 - t0).to.equal(true); + expect(t3 - t2 < t2 - t1).toEqual(true); + expect(t3 - t2 < t1 - t0).toEqual(true); // console.log(t3 - t2, t2 - t1, t1 - t0); done(); }); diff --git a/test/unit/view-spec.ts b/test/unit/view.test.ts similarity index 63% rename from test/unit/view-spec.ts rename to test/unit/view.test.ts index 9c217bb..6916106 100644 --- a/test/unit/view-spec.ts +++ b/test/unit/view.test.ts @@ -1,5 +1,4 @@ import { indexOf, isNil, keys, map } from 'lodash'; -import { expect } from 'chai'; import DataSet from '../../src'; import populationChina from '../fixtures/population-china.json'; import { View } from '../../src/view'; @@ -18,72 +17,72 @@ describe('View', () => { // constructor it('Constructor', () => { - expect(DataSet.View).to.be.a('function'); - expect(dv).to.be.an('object'); + expect(typeof DataSet.View).toBe('function'); + expect(typeof dv).toBe('object'); }); // rows it('addRow(row)', () => { dv.addRow(mockRow); - expect(dv.rows.length).to.equal(dv.origin.length + 1); + expect(dv.rows.length).toEqual(dv.origin.length + 1); }); it('removeRow(index)', () => { dv.removeRow(0); - expect(dv.rows.length).to.equal(dv.origin.length - 1); + expect(dv.rows.length).toEqual(dv.origin.length - 1); }); it('updateRow(index, newRow)', () => { dv.updateRow(0, mockRow); - expect(dv.rows[0]).to.eql(mockRow); + expect(dv.rows[0]).toEqual(mockRow); }); it('findRows(query)', () => { dv.addRow(mockRow); const rows = dv.findRows({ year: '2016', }); - expect(rows[0]).to.equal(mockRow); + expect(rows[0]).toEqual(mockRow); const rows2 = dv.findRows({ year: '2020', }); - expect(rows2.length).to.equal(0); + expect(rows2.length).toEqual(0); }); it('findRow(query)', () => { dv.addRow(mockRow); const row = dv.findRow({ year: '2016', }); - expect(row).to.equal(mockRow); + expect(row).toEqual(mockRow); const row2 = dv.findRow({ year: '2020', }); - expect(isNil(row2)).to.be.true; + expect(isNil(row2)).toBe(true); }); // columns it('getColumnNames()', () => { - expect(dv.getColumnNames()).to.eql(columnNames); + expect(dv.getColumnNames()).toEqual(columnNames); }); it('getColumnName(index)', () => { - expect(dv.getColumnName(0)).to.equal(columnNames[0]); + expect(dv.getColumnName(0)).toEqual(columnNames[0]); }); it('getColumnIndex(columnName)', () => { - expect(dv.getColumnIndex('year')).to.equal(indexOf(columnNames, 'year')); + expect(dv.getColumnIndex('year')).toEqual(indexOf(columnNames, 'year')); }); it('getColumn(columnName)', () => { - expect(dv.getColumn('year')).to.eql(map(populationChina, (row) => row.year)); + expect(dv.getColumn('year')).toEqual(map(populationChina, (row) => row.year)); }); it('getColumnData(columnName)', () => { - expect(dv.getColumnData('year')).to.eql(map(populationChina, (row) => row.year)); + expect(dv.getColumnData('year')).toEqual(map(populationChina, (row) => row.year)); }); // data process it('getSubset(startRowIndex, endRowIndex, columnNames)', () => { dv.addRow(mockRow); const len = dv.rows.length; - expect(dv.getSubset(len - 1, len - 1, columnNames)).to.eql([mockRow]); + expect(dv.getSubset(len - 1, len - 1, columnNames)).toEqual([mockRow]); }); it('toString(prettyPrint)', () => { - expect(dv.toString()).to.equal(JSON.stringify(populationChina)); - expect(dv.toString(true)).to.equal(JSON.stringify(populationChina, null, 2)); + expect(dv.toString()).toEqual(JSON.stringify(populationChina)); + expect(dv.toString(true)).toEqual(JSON.stringify(populationChina, null, 2)); }); // loose mode @@ -91,7 +90,7 @@ describe('View', () => { expect(() => { new DataSet.View(); new DataSet.View({}); - }).to.not.throw(); + }).not.toThrow(); const dv = new DataSet.View().source(populationChina).transform({ type: 'map', @@ -100,14 +99,14 @@ describe('View', () => { return row; }, }); - expect(dv.rows[0].loose).to.equal(true); + expect(dv.rows[0].loose).toEqual(true); }); it('source', (done) => { const dv = new DataSet.View(); dv.source(populationChina); dv.on('change', () => { - expect(!!dv.rows.length).to.equal(true); + expect(!!dv.rows.length).toEqual(true); done(); }); dv.source(populationChina); diff --git a/tsconfig.json b/tsconfig.json index 74e69f5..5146422 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,7 +1,7 @@ { "compilerOptions": { "target": "es5", - "module": "commonjs", + "module": "CommonJS", "lib": ["dom", "es2017"], "experimentalDecorators": true, "emitDecoratorMetadata": true, @@ -14,7 +14,8 @@ "noUnusedLocals": true, "noUnusedParameters": true, "noImplicitReturns": true, - "moduleResolution": "node" + "moduleResolution": "node", + "resolveJsonModule":true }, "include": ["./src"] } diff --git a/tsup.config.ts b/tsup.config.ts new file mode 100644 index 0000000..a4c36cb --- /dev/null +++ b/tsup.config.ts @@ -0,0 +1,30 @@ +import { defineConfig } from 'tsup'; +import { globSync } from 'glob'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; + +export default defineConfig({ + entry: { + index: 'src/index.ts', + ...Object.fromEntries( + globSync('src/transform/**/*.ts').map((file) => { + return [ + // 这里将删除 `src/` 以及每个文件的扩展名。 + // 因此,例如 src/nested/foo.js 会变成 nested/foo + path.relative('src', file.slice(0, file.length - path.extname(file).length)), + // 这里可以将相对路径扩展为绝对路径,例如 + // src/nested/foo 会变成 /project/src/nested/foo.js + fileURLToPath(new URL(file, import.meta.url)), + ]; + }) + ), + }, + + format: ['esm', 'cjs'], + outDir: 'build', + clean: true, + treeshake: true, + dts: true, + external: ['lodash'], + noExternal: ['dagre', 'wolfy87-eventemitter', 'd3-sankey', 'simple-statistics', 'd3-voronoi'], +}); diff --git a/webpack.config.js b/webpack.config.js index cbfc52f..2c7d4b9 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -1,5 +1,6 @@ const resolve = require('path').resolve; const pkg = require('./package.json'); +const BundleAnalyzerPlugin = require('webpack-bundle-analyzer').BundleAnalyzerPlugin; module.exports = { devtool: 'cheap-source-map', @@ -11,6 +12,7 @@ module.exports = { extensions: ['.js', '.ts', '.json'], mainFields: ['browser', 'main', 'module'], }, + // plugins: [new BundleAnalyzerPlugin()], output: { filename: '[name].js', library: 'DataSet', @@ -27,7 +29,7 @@ module.exports = { return /d3-.*/.test(path); }, ], - loader: 'awesome-typescript-loader', + loader: 'ts-loader', }, { test: /data\-set\.js$/,